[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170406100451.ompmztbte7qi75x6@pd.tnic>
Date: Thu, 6 Apr 2017 12:04:52 +0200
From: Borislav Petkov <bp@...en8.de>
To: thor.thayer@...ux.intel.com
Cc: mchehab@...nel.org, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, thor.thayer@...ux.intel.com.com
Subject: Re: [PATCHv3] EDAC, altera: Fix peripheral warnings for Cyclone5
On Wed, Apr 05, 2017 at 01:01:02PM -0500, thor.thayer@...ux.intel.com wrote:
> From: Thor Thayer <thor.thayer@...ux.intel.com>
>
> The peripherals EDACs only exist on the Arria10 SoCFPGA. The Cyclone5
> initialization has EDAC warnings when the peripherals aren't found
> in the device tree. Fix by checking for Arria10 in the init functions.
>
> Signed-off-by: Thor Thayer <thor.thayer@...ux.intel.com>
> ---
> v2 Change valid_model() return value from int to bool
> Change valid_model() name to is_a10_model() for clarity.
> Simplify expression - remove check for non-zero
> v3 Use a simpler of_machine_is_compatible() expression.
> Rename is_a10_model() to socfpga_is_a10().
> ---
> drivers/edac/altera_edac.c | 22 ++++++++++++++++++----
> 1 file changed, 18 insertions(+), 4 deletions(-)
Applied, thanks.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Powered by blists - more mailing lists