lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250713182933.GDaHP7DdAhX-8OoaP-@fat_crate.local>
Date: Sun, 13 Jul 2025 20:29:33 +0200
From: Borislav Petkov <bp@...en8.de>
To: Shubhrajyoti Datta <shubhrajyoti.datta@....com>
Cc: linux-edac@...r.kernel.org, git@....com, shubhrajyoti.datta@...il.com,
	Michal Simek <michal.simek@....com>,
	Tony Luck <tony.luck@...el.com>, James Morse <james.morse@....com>,
	Mauro Carvalho Chehab <mchehab@...nel.org>,
	Robert Richter <rric@...nel.org>,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] EDAC/synopsys: Clear the ECC counters at init

On Sun, Jul 13, 2025 at 10:37:53AM +0530, Shubhrajyoti Datta wrote:
> Clear ECC error and counter registers during initialization/ probe
> to avoid reporting stale errors that may have occurred before EDAC
> registration.
> 
> Key changes
> - Introduced a unified `get_ecc_state()` function that handles ECC state detection
>   and register clearing for both Zynq and ZynqMP platforms.
> - Removed platform-specific `get_ecc_state` function pointers from the platform
>   data structures.
> - Added a new `platform` enum field to `synps_platform_data` to identify the
>   target hardware platform.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@....com>
> ---
> 
> Changes in v2:
> - Update the commit message
> - Add the zynq reset changes
> - remove the function pointer
> - Use a plat field instead of the quirk
> 
>  drivers/edac/synopsys_edac.c | 96 +++++++++++++++++-------------------
>  1 file changed, 45 insertions(+), 51 deletions(-)

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ