From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH 1/4] spi: bcm63xx: convert to the pump message infrastructure Date: Fri, 27 Apr 2012 11:16:03 -0600 Message-ID: <20120427171603.80F823E0B4D@localhost> References: <1334929056-1598-1-git-send-email-florian@openwrt.org> <1334929056-1598-2-git-send-email-florian@openwrt.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Florian Fainelli To: Florian Fainelli Return-path: In-Reply-To: <1334929056-1598-2-git-send-email-florian-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Fri, 20 Apr 2012 15:37:33 +0200, Florian Fainelli wrote: > This patch converts the bcm63xx SPI driver to use the SPI infrastructure > pump message queue. Since we were previously sleeping in the SPI > driver's transfer() function (which is not allowed) this is now fixed as well. > > To complete that conversion a certain number of changes have been made: > - the transfer len is split into multiple hardware transfers in case its > size is bigger than the hardware FIFO size > - the FIFO refill is no longer done in the interrupt context, which was a > bad idea leading to quick interrupt handler re-entrancy > > Tested-by: Tanguy Bouzeloc > Signed-off-by: Florian Fainelli Applied, thanks. g. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/