From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1372726396.17904.1.camel@concordia> Subject: Re: [PATCHv4 02/11] pci: use weak functions for MSI arch-specific functions From: Michael Ellerman To: Thomas Petazzoni Date: Tue, 02 Jul 2013 10:53:16 +1000 In-Reply-To: <1372686136-1370-3-git-send-email-thomas.petazzoni@free-electrons.com> References: <1372686136-1370-1-git-send-email-thomas.petazzoni@free-electrons.com> <1372686136-1370-3-git-send-email-thomas.petazzoni@free-electrons.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Lior Amsalem , Andrew Lunn , linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linux-pci@vger.kernel.org, Heiko Carstens , Bjorn Helgaas , Thierry Reding , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, linux-s390@vger.kernel.org, Russell King , x86@kernel.org, Ingo Molnar , Ezequiel Garcia , Fenghua Yu , Jason Cooper , Rob Herring , Chris Metcalf , Gregory Clement , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Tony Luck , Ralf Baechle , Maen Suleiman , Martin Schwidefsky , linux390@de.ibm.com, linuxppc-dev@lists.ozlabs.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2013-07-01 at 15:42 +0200, Thomas Petazzoni wrote: > Until now, the MSI architecture-specific functions could be overloaded > using a fairly complex set of #define and compile-time > conditionals. In order to prepare for the introduction of the msi_chip > infrastructure, it is desirable to switch all those functions to use > the 'weak' mechanism. This commit converts all the architectures that > were overidding those MSI functions to use the new strategy. The MSI code used to use weak functions, until we discovered they were being miscompiled on some toolchains (11df1f0). I assume these days we're confident they work correctly. cheers