Skip to contentSkip to conversation

ARM: mm: Enable PXN when running non-LPAE kernel on LPAE

PATCH New Ben Hutchings 2 participants 3 messages Dec 28, 2015 – Dec 29, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 ARM: mm: Enable PXN when running non-LPAE kernel on LPAE

Quoted 30 lines · Jungseung Lee

2015-05-11 23:36 GMT+09:00 Catalin Marinas <[email protected]>:

Quoted 28 lines · Jungseung Lee
Quoted 12 lines

Hi, Ben.

2014-12-25 2:20 GMT+09:00 Catalin Marinas :

Quoted 9 lines · Ben Hutchings
Quoted 8 lines

The VMSA field of MMFR0 (bottom 4 bits) is incremented for each added feature.??PXN is supported if the value is >= 4 and LPAE is supported if it is >= 5.

In case a kernel with CONFIG_ARM_LPAE disabled is used on a processor that supports LPAE, we can still use PXN in short descriptors.??So check for >= 4 not == 4.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Cc Jungseung Lee <[email protected]>
Cc Catalin Marinas <[email protected]>

Is this patch handled?

If it's not in mainline already, than it probably isn't handled.

Quoted 2 lines

or you can send it to Russell's patch system:
http://www.arm.linux.org.uk/developer/patches/

Check mainline first, otherwise please submit it.

Quoted 9 lines
Quoted 2 lines

--
Catalin

Hi, Ben

It looks still not submitted yet. Could you send it to Russell's patch system?
http://www.arm.linux.org.uk/developer/patches/

I've never needed to use a web-based system to submit kernel patches before, and I'm not going to start now. ?Someone else can re-submit this if they want it.

Ben.

Signature · 9 lines
Ben Hutchings
I'm not a reverse psychological virus.  Please don't copy me into your sig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151228/813ab5a0/attachment.sig>
#2 lore raw

PATCH 1/1 ARM: mm: Enable PXN when running non-LPAE kernel on LPAE

Quoted 36 lines · Ben Hutchings
Quoted 35 lines · Jungseung Lee

2015-05-11 23:36 GMT+09:00 Catalin Marinas <[email protected]>:

Quoted 23 lines · Jungseung Lee
Quoted 12 lines

Hi, Ben.

2014-12-25 2:20 GMT+09:00 Catalin Marinas :

Quoted 9 lines · Ben Hutchings
Quoted 8 lines

The VMSA field of MMFR0 (bottom 4 bits) is incremented for each added feature. PXN is supported if the value is >= 4 and LPAE is supported if it is >= 5.

In case a kernel with CONFIG_ARM_LPAE disabled is used on a processor that supports LPAE, we can still use PXN in short descriptors. So check for >= 4 not == 4.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Cc Jungseung Lee <[email protected]>
Cc Catalin Marinas <[email protected]>

Is this patch handled?

If it's not in mainline already, than it probably isn't handled.

Quoted 8 lines
Quoted 2 lines

or you can send it to Russell's patch system:
http://www.arm.linux.org.uk/developer/patches/

Check mainline first, otherwise please submit it.

--
Catalin

Hi, Ben

Quoted 7 lines
Quoted 4 lines

It looks still not submitted yet. Could you send it to Russell's patch system?
http://www.arm.linux.org.uk/developer/patches/

I've never needed to use a web-based system to submit kernel patches before, and I'm not going to start now. Someone else can re-submit

You don't have to... I just quote Catalin's recipe [1]

Quoted 15 lines

You can send patches as usual to patches at arm.linux.org.uk, just add
KernelVersion: v3.?? after the --- line in your patch (maybe this could be automate as well but I didn't bother).

For series, because the arrival order is not guaranteed, I use the git alias below to trick it into sleeping 60s between patches:

ksend-rmk-patch = !git send-email --annotate --no-thread --suppress-cc=all --to-cmd='sleep 60 && echo patches at arm.linux.org.uk "#"'

For stgit, I have a dedicated template:

From: %(sender)s
To: patches at arm.linux.org.uk
Subject: %(prefix)s%(shortdescr)s

Quoted 6 lines

%(longdescr)s
PATCH FOLLOWS
KernelVersion:%(version)s
%(diff)s

And there is always git pull request that Russell is happy with.

Does it work for you?

[1] https://lkml.org/lkml/2014/8/22/228

Happy NY
Vladimir

Quoted 11 lines

this if they want it.

Ben.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

PATCH 1/1 ARM: mm: Enable PXN when running non-LPAE kernel on LPAE

Quoted 1 line · Vladimir Murzin

On 28/12/15 22:23, Ben Hutchings wrote:

[...]

Quoted 25 lines
Quoted 2 lines

I've never needed to use a web-based system to submit kernel patches before, and I'm not going to start now.??Someone else can re-submit

You don't have to... I just quote Catalin's recipe [1]

Quoted 20 lines

You can send patches as usual to patches at arm.linux.org.uk, just add
KernelVersion: v3.?? after the --- line in your patch (maybe this could be automate as well but I didn't bother).

For series, because the arrival order is not guaranteed, I use the git alias below to trick it into sleeping 60s between patches:

ksend-rmk-patch = !git send-email --annotate --no-thread --suppress-cc=all --to-cmd='sleep 60 && echo patches at arm.linux.org.uk "#"'

For stgit, I have a dedicated template:

From: %(sender)s
To: patches at arm.linux.org.uk
Subject: %(prefix)s%(shortdescr)s

%(longdescr)s
PATCH FOLLOWS
KernelVersion:%(version)s
%(diff)s

Quoted 5 lines
Quoted 1 line

And there is always git pull request that Russell is happy with.

Does it work for you?

[1] https://lkml.org/lkml/2014/8/22/228

Thanks. Jungseung Lee has already re-submitted this patch, though.

Ben.

Signature · 10 lines
Ben Hutchings
If God had intended Man to program,
we'd have been born with serial I/O ports.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151229/015636b9/attachment.sig>