devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
@ 2025-02-07 15:17 Caleb Connolly
  2025-02-07 20:20 ` Konrad Dybcio
  0 siblings, 1 reply; 8+ messages in thread
From: Caleb Connolly @ 2025-02-07 15:17 UTC (permalink / raw)
  To: Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski,
	Rob Herring
  Cc: Dr. Git, Caleb Connolly, devicetree, linux-arm-msm

From: "Dr. Git" <drgitx@gmail.com>

Rather than manually define the guard pages, use the
"qcom,use-guard-pages" property for rmtfs.

Signed-off-by: "Dr. Git" <drgitx@gmail.com>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 .../boot/dts/qcom/sdm845-oneplus-common.dtsi   | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index 46e25c53829a..6a2acbec68ba 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -70,33 +70,21 @@ key-vol-up {
 		};
 	};
 
 	reserved-memory {
-		/*
-		 * The rmtfs_mem needs to be guarded due to "XPU limitations"
-		 * it is otherwise possible for an allocation adjacent to the
-		 * rmtfs_mem region to trigger an XPU violation, causing a crash.
-		 */
-		rmtfs_lower_guard: rmtfs-lower-guard@f5b00000 {
-			no-map;
-			reg = <0 0xf5b00000 0 0x1000>;
-		};
 		/*
 		 * The rmtfs memory region in downstream is 'dynamically allocated'
 		 * but given the same address every time. Hard code it as this address is
 		 * where the modem firmware expects it to be.
 		 */
-		rmtfs_mem: rmtfs-mem@f5b01000 {
+		rmtfs_mem: rmtfs-mem@f5b00000 {
 			compatible = "qcom,rmtfs-mem";
-			reg = <0 0xf5b01000 0 0x200000>;
+			reg = <0 0xf5b00000 0 0x202000>;
 			no-map;
 
 			qcom,client-id = <1>;
 			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
-		};
-		rmtfs_upper_guard: rmtfs-upper-guard@f5d01000 {
-			no-map;
-			reg = <0 0xf5d01000 0 0x1000>;
+			qcom,use-guard-pages;
 		};
 
 		/*
 		 * It seems like reserving the old rmtfs_mem region is also needed to prevent
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-07 15:17 [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages Caleb Connolly
@ 2025-02-07 20:20 ` Konrad Dybcio
  2025-02-07 23:49   ` Caleb Connolly
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Konrad Dybcio @ 2025-02-07 20:20 UTC (permalink / raw)
  To: Caleb Connolly, Bjorn Andersson, Conor Dooley, Konrad Dybcio,
	Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm

On 7.02.2025 4:17 PM, Caleb Connolly wrote:
> From: "Dr. Git" <drgitx@gmail.com>
> 
> Rather than manually define the guard pages, use the
> "qcom,use-guard-pages" property for rmtfs.
> 
> Signed-off-by: "Dr. Git" <drgitx@gmail.com>

I'm not sure this ID is acceptable

> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---

The patch looks good otherwise

Konrad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-07 20:20 ` Konrad Dybcio
@ 2025-02-07 23:49   ` Caleb Connolly
  2025-02-10 18:14     ` Konrad Dybcio
  2025-02-11  7:12   ` Krzysztof Kozlowski
       [not found]   ` <CAC-n0DynNGkEm7Z8Epv9fU6D6iSzAo7hzhykmKLa4byHYbDxDg@mail.gmail.com>
  2 siblings, 1 reply; 8+ messages in thread
From: Caleb Connolly @ 2025-02-07 23:49 UTC (permalink / raw)
  To: Konrad Dybcio, Bjorn Andersson, Conor Dooley, Konrad Dybcio,
	Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm

(resending from not a mobile client, oops)

On 2/7/25 21:20, Konrad Dybcio wrote:
> On 7.02.2025 4:17 PM, Caleb Connolly wrote:
>> From: "Dr. Git" <drgitx@gmail.com>
>>
>> Rather than manually define the guard pages, use the
>> "qcom,use-guard-pages" property for rmtfs.
>>
>> Signed-off-by: "Dr. Git" <drgitx@gmail.com>
> 
> I'm not sure this ID is acceptable


Linus & Greg explicitly allowed for aliases previously. Patches by 
"Asahi Lina" and others have been merged.

Ive spoken with the author several time about this in the previous years 
and they aren't interested in publicising their legal name. So the only 
alternative here is that plagiarise these patches which I didn't write, 
or i have to carry them forever downstream...

Kind regards,
> 
>> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
>> ---
> 
> The patch looks good otherwise
> 
> Konrad
> 

-- 
Caleb (they/them)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-07 23:49   ` Caleb Connolly
@ 2025-02-10 18:14     ` Konrad Dybcio
  2025-02-10 20:05       ` Caleb Connolly
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Dybcio @ 2025-02-10 18:14 UTC (permalink / raw)
  To: Caleb Connolly, Konrad Dybcio, Bjorn Andersson, Conor Dooley,
	Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm

On 8.02.2025 12:49 AM, Caleb Connolly wrote:
> (resending from not a mobile client, oops)
> 
> On 2/7/25 21:20, Konrad Dybcio wrote:
>> On 7.02.2025 4:17 PM, Caleb Connolly wrote:
>>> From: "Dr. Git" <drgitx@gmail.com>
>>>
>>> Rather than manually define the guard pages, use the
>>> "qcom,use-guard-pages" property for rmtfs.
>>>
>>> Signed-off-by: "Dr. Git" <drgitx@gmail.com>
>>
>> I'm not sure this ID is acceptable
> 
> 
> Linus & Greg explicitly allowed for aliases previously. Patches by "Asahi Lina" and others have been merged.

Correct, however the trust is put into the maintainer. Marcan et al. accepted
patches by ""Asahi Lina"", as they had enough confidence to put their name
behind said contributor not being e.g. on the sanctioned lists.

Konrad

> Ive spoken with the author several time about this in the previous years and they aren't interested in publicising their legal name. So the only alternative here is that plagiarise these patches which I didn't write, or i have to carry them forever downstream...



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-10 18:14     ` Konrad Dybcio
@ 2025-02-10 20:05       ` Caleb Connolly
  2025-02-11 16:36         ` Arnd Bergmann
  0 siblings, 1 reply; 8+ messages in thread
From: Caleb Connolly @ 2025-02-10 20:05 UTC (permalink / raw)
  To: Konrad Dybcio, Bjorn Andersson, Conor Dooley, Konrad Dybcio,
	Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm



On 2/10/25 18:14, Konrad Dybcio wrote:
> On 8.02.2025 12:49 AM, Caleb Connolly wrote:
>> (resending from not a mobile client, oops)
>>
>> On 2/7/25 21:20, Konrad Dybcio wrote:
>>> On 7.02.2025 4:17 PM, Caleb Connolly wrote:
>>>> From: "Dr. Git" <drgitx@gmail.com>
>>>>
>>>> Rather than manually define the guard pages, use the
>>>> "qcom,use-guard-pages" property for rmtfs.
>>>>
>>>> Signed-off-by: "Dr. Git" <drgitx@gmail.com>
>>>
>>> I'm not sure this ID is acceptable
>>
>>
>> Linus & Greg explicitly allowed for aliases previously. Patches by "Asahi Lina" and others have been merged.
> 
> Correct, however the trust is put into the maintainer. Marcan et al. accepted
> patches by ""Asahi Lina"", as they had enough confidence to put their name
> behind said contributor not being e.g. on the sanctioned lists.

Right, well please let me know your decision and how you'd like to 
proceed if this patch is unacceptable.

Kind regards,
> 
> Konrad
> 
>> Ive spoken with the author several time about this in the previous years and they aren't interested in publicising their legal name. So the only alternative here is that plagiarise these patches which I didn't write, or i have to carry them forever downstream...
> 
> 

-- 
Caleb (they/them)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-07 20:20 ` Konrad Dybcio
  2025-02-07 23:49   ` Caleb Connolly
@ 2025-02-11  7:12   ` Krzysztof Kozlowski
       [not found]   ` <CAC-n0DynNGkEm7Z8Epv9fU6D6iSzAo7hzhykmKLa4byHYbDxDg@mail.gmail.com>
  2 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-11  7:12 UTC (permalink / raw)
  To: Konrad Dybcio, Caleb Connolly, Bjorn Andersson, Conor Dooley,
	Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm

On 07/02/2025 21:20, Konrad Dybcio wrote:
> On 7.02.2025 4:17 PM, Caleb Connolly wrote:
>> From: "Dr. Git" <drgitx@gmail.com>
>>
>> Rather than manually define the guard pages, use the
>> "qcom,use-guard-pages" property for rmtfs.
>>
>> Signed-off-by: "Dr. Git" <drgitx@gmail.com>
> 
> I'm not sure this ID is acceptable

It is not. We do not take anonymous contributions.

This has to be known identity, you can achieve this by having your key
signed and present in kernel keyring.


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
       [not found]   ` <CAC-n0DynNGkEm7Z8Epv9fU6D6iSzAo7hzhykmKLa4byHYbDxDg@mail.gmail.com>
@ 2025-02-11  7:13     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-11  7:13 UTC (permalink / raw)
  To: Caleb Connolly, Konrad Dybcio
  Cc: Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski,
	Rob Herring, Dr. Git, devicetree, linux-arm-msm

On 07/02/2025 21:24, Caleb Connolly wrote:
> Linus & Greg explicitly allowed for aliases previously. Patches by "Asahi
> Lina" and others have been merged.

That's not alias but anonymous contribution. This was never accepted.

> 
> Ive spoken with the author several time about this in the previous years
> and they aren't interested in publicising their legal name. So the only
> alternative here is that plagiarise these patches which I didn't write, or
> i have to carry them forever downstream...

Or get known identity verified.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages
  2025-02-10 20:05       ` Caleb Connolly
@ 2025-02-11 16:36         ` Arnd Bergmann
  0 siblings, 0 replies; 8+ messages in thread
From: Arnd Bergmann @ 2025-02-11 16:36 UTC (permalink / raw)
  To: Caleb Connolly, Konrad Dybcio, Bjorn Andersson, Conor Dooley,
	Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
  Cc: Dr. Git, devicetree, linux-arm-msm

On Mon, Feb 10, 2025, at 21:05, Caleb Connolly wrote:
> On 2/10/25 18:14, Konrad Dybcio wrote:
>> On 8.02.2025 12:49 AM, Caleb Connolly wrote:
>>> (resending from not a mobile client, oops)
>>>
>>> On 2/7/25 21:20, Konrad Dybcio wrote:
>>>> On 7.02.2025 4:17 PM, Caleb Connolly wrote:
>>>>> From: "Dr. Git" <drgitx@gmail.com>
>>>>>
>>>>> Rather than manually define the guard pages, use the
>>>>> "qcom,use-guard-pages" property for rmtfs.
>>>>>
>>>>> Signed-off-by: "Dr. Git" <drgitx@gmail.com>
>>>>
>>>> I'm not sure this ID is acceptable
>>>
>>>
>>> Linus & Greg explicitly allowed for aliases previously. Patches by "Asahi Lina" and others have been merged.
>> 
>> Correct, however the trust is put into the maintainer. Marcan et al. accepted
>> patches by ""Asahi Lina"", as they had enough confidence to put their name
>> behind said contributor not being e.g. on the sanctioned lists.
>
> Right, well please let me know your decision and how you'd like to 
> proceed if this patch is unacceptable.

This is clearly a grey area, but since you are familiar with the
patch author, and are have added your S-o-B, I don't mind taking
the patch through the SoC tree with that S-o-B chain, even if I
would not personally apply a patch from the same author without
additional information.

I would suggest that Konrad should follows the same rules
here, but of course they are free to make their own decisions.

     Arnd

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-11 16:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-07 15:17 [PATCH] arm64: dts: qcom: sdm845-oneplus: use guard pages Caleb Connolly
2025-02-07 20:20 ` Konrad Dybcio
2025-02-07 23:49   ` Caleb Connolly
2025-02-10 18:14     ` Konrad Dybcio
2025-02-10 20:05       ` Caleb Connolly
2025-02-11 16:36         ` Arnd Bergmann
2025-02-11  7:12   ` Krzysztof Kozlowski
     [not found]   ` <CAC-n0DynNGkEm7Z8Epv9fU6D6iSzAo7hzhykmKLa4byHYbDxDg@mail.gmail.com>
2025-02-11  7:13     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).