Re: [PATCH v1] EDAC/bluefield_edac: Use ARM SMC for EMI access

From: Borislav Petkov
Date: Fri Sep 01 2023 - 03:38:28 EST


On Thu, Aug 31, 2023 at 04:31:23AM +0000, Shravan Ramani wrote:
> SMC is needed by the driver to access certain HW blocks/registers which
> can be accessed only from secure state. Whether a certain block requires
> these secure calls or not is encoded in the ACPI table entry and passed
> on to the driver.

This sounds like a good start towards explaining why this patch is
needed. Here's an example commit message structure:

1. Prepare the context for the explanation briefly.

2. Explain the problem at hand.

3. "It happens because of <...>"

4. "Fix it by doing X"

5. "(Potentially do Y)."

For more detailed info, see
Documentation/process/submitting-patches.rst, Section "2) Describe your
changes".

Do not talk about what your patch does - that should (hopefully) be
visible from the diff itself. Rather, talk about *why* you're doing what
you're doing.

--
Regards/Gruss,
Boris.

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