Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1617827
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv3] EDAC, altera: Fix peripheral warnings for Cyclone5 |
| Date | 2017-04-06 12:10 +0200 |
| Message-ID | <ttcwy-79y-15@gated-at.bofh.it> (permalink) |
| References | <tsXnQ-5KM-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 05, 2017 at 01:01:02PM -0500, thor.thayer@linux.intel.com wrote:
> From: Thor Thayer <thor.thayer@linux.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@linux.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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCHv3] EDAC, altera: Fix peripheral warnings for Cyclone5 thor.thayer@linux.intel.com - 2017-04-05 20:00 +0200 Re: [PATCHv3] EDAC, altera: Fix peripheral warnings for Cyclone5 Borislav Petkov <bp@alien8.de> - 2017-04-06 12:10 +0200
csiph-web