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]
Date:   Tue, 20 Sep 2022 17:59:43 +0200
From:   Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To:     Viorel Suman <viorel.suman@....nxp.com>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        NXP Linux Team <linux-imx@....com>,
        Viorel Suman <viorel.suman@....com>,
        Shenwei Wang <shenwei.wang@....com>,
        devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] dt-bindings: firmware: imx: sync with SCFW kit v1.13.0

On 19/09/2022 20:06, Viorel Suman wrote:
43
>>>  #define IMX_SC_R_SECVIO			44
>>>  #define IMX_SC_R_DC_1_VIDEO0		45
>>>  #define IMX_SC_R_DC_1_VIDEO1		46
>>>  #define IMX_SC_R_DC_1_FRAC0		47
>>> +#define IMX_SC_R_V2X			48
>>>  #define IMX_SC_R_DC_1			49
>>> +#define IMX_SC_R_UNUSED14		50
>>>  #define IMX_SC_R_DC_1_PLL_0		51
>>>  #define IMX_SC_R_DC_1_PLL_1		52
>>>  #define IMX_SC_R_SPI_0			53
>>> @@ -151,10 +154,10 @@
>>>  #define IMX_SC_R_DMA_1_CH29		137
>>>  #define IMX_SC_R_DMA_1_CH30		138
>>>  #define IMX_SC_R_DMA_1_CH31		139
>>> -#define IMX_SC_R_UNUSED1		140
>>
>> This one disappears...
> 
> Hi Krzysztof,
> 
> Right, it was renamed in the subsequent SCFW kit
> versions to IMX_SC_R_V2X_PID0, thus - this patch
> rename it in include/dt-bindings/firmware/imx/rsrc.h
> file in order to have this file and SCFW kit defines
> synchronized.
> 
> IMX_SC_R_UNUSED1 is not referenced somehow in kernel,
> thus - no compilation issues if renamed to IMX_SC_R_V2X_PID0,
> IMHO it does not make sense to me to add the related
> backward compatibility define like below:
> 
> #define IMX_SC_R_UNUSED1 IMX_SC_R_V2X_PID0

The bindings are used by other people (other Linux kernel forks) and by
other projects (like bootloaders and other operating systems). This is
why once set, we do not change them, with some exceptions.

Best regards,
Krzysztof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ