From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 1/3] ARM: Generalize fncpy implementation Date: Fri, 16 Jun 2017 01:35:24 -0700 Message-ID: <20170616083524.GJ3730@atomide.com> References: <20170615232117.29727-1-f.fainelli@gmail.com> <20170615232117.29727-2-f.fainelli@gmail.com> <577f22f3-ff16-05a0-8204-39e86d47dd9f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <577f22f3-ff16-05a0-8204-39e86d47dd9f@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Florian Fainelli Cc: linux-arm-kernel@lists.infradead.org, Russell King , Catalin Marinas , Will Deacon , Arnd Bergmann , Greg Kroah-Hartman , open list , "open list:GENERIC INCLUDE/ASM HEADER FILES" , Dave Gerlach , Keerthy J , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo List-Id: linux-arch.vger.kernel.org * Florian Fainelli [170615 16:27]: > On 06/15/2017 04:21 PM, Florian Fainelli wrote: > > ARM's fncpy implementation is actually suitable for a large number of > > platforms since the only assumption it makes is just the function's > > alignment (8 bytes) which also happens to fulfil other architectures, > > including but not limited to ARM64. Yeah I'm all for it. Maybe mention in the next version that this helps with making SoC specific PM code into just regular Linux device drivers. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muru.com ([72.249.23.125]:53922 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbdFPIf3 (ORCPT ); Fri, 16 Jun 2017 04:35:29 -0400 Date: Fri, 16 Jun 2017 01:35:24 -0700 From: Tony Lindgren Subject: Re: [PATCH 1/3] ARM: Generalize fncpy implementation Message-ID: <20170616083524.GJ3730@atomide.com> References: <20170615232117.29727-1-f.fainelli@gmail.com> <20170615232117.29727-2-f.fainelli@gmail.com> <577f22f3-ff16-05a0-8204-39e86d47dd9f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <577f22f3-ff16-05a0-8204-39e86d47dd9f@gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Florian Fainelli Cc: linux-arm-kernel@lists.infradead.org, Russell King , Catalin Marinas , Will Deacon , Arnd Bergmann , Greg Kroah-Hartman , open list , "open list:GENERIC INCLUDE/ASM HEADER FILES" , Dave Gerlach , Keerthy J , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo Message-ID: <20170616083524.s8FYprjIwD2endZHatfZEiPX3AuNFXytnpqqOf881Hg@z> * Florian Fainelli [170615 16:27]: > On 06/15/2017 04:21 PM, Florian Fainelli wrote: > > ARM's fncpy implementation is actually suitable for a large number of > > platforms since the only assumption it makes is just the function's > > alignment (8 bytes) which also happens to fulfil other architectures, > > including but not limited to ARM64. Yeah I'm all for it. Maybe mention in the next version that this helps with making SoC specific PM code into just regular Linux device drivers. Regards, Tony