Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Russell King - ARM Linux
On Thu, Oct 25, 2018 at 10:53:12AM -0700, Florian Fainelli wrote: > Something like this below? It does not have to be an alternative > solution, I would find it useful for perf to make sure the vectors page > is present in the virtual address space by having an explicit test. perf > maintains,

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Russell King - ARM Linux
On Thu, Oct 25, 2018 at 10:53:12AM -0700, Florian Fainelli wrote: > Something like this below? It does not have to be an alternative > solution, I would find it useful for perf to make sure the vectors page > is present in the virtual address space by having an explicit test. perf > maintains,

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/25/18 10:32 AM, Russell King - ARM Linux wrote: > On Thu, Oct 25, 2018 at 10:19:54AM -0700, Florian Fainelli wrote: >> On 10/24/18 7:10 PM, Andrew Lunn wrote: >>> On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: perf on ARM requires CONFIG_KUSER_HELPERS to be turned on

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/25/18 10:32 AM, Russell King - ARM Linux wrote: > On Thu, Oct 25, 2018 at 10:19:54AM -0700, Florian Fainelli wrote: >> On 10/24/18 7:10 PM, Andrew Lunn wrote: >>> On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: perf on ARM requires CONFIG_KUSER_HELPERS to be turned on

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Russell King - ARM Linux
On Thu, Oct 25, 2018 at 10:19:54AM -0700, Florian Fainelli wrote: > On 10/24/18 7:10 PM, Andrew Lunn wrote: > > On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: > >> perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some > >> independance with respect to the ARM

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Russell King - ARM Linux
On Thu, Oct 25, 2018 at 10:19:54AM -0700, Florian Fainelli wrote: > On 10/24/18 7:10 PM, Andrew Lunn wrote: > > On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: > >> perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some > >> independance with respect to the ARM

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/24/18 7:10 PM, Andrew Lunn wrote: > On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: >> perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some >> independance with respect to the ARM CPU being used. Add a test which >> tries to locate the [vectors] page,

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/24/18 7:10 PM, Andrew Lunn wrote: > On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: >> perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some >> independance with respect to the ARM CPU being used. Add a test which >> tries to locate the [vectors] page,

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-24 Thread Andrew Lunn
On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: > perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some > independance with respect to the ARM CPU being used. Add a test which > tries to locate the [vectors] page, created when CONFIG_KUSER_HELPERS is > turned on

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-24 Thread Andrew Lunn
On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: > perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some > independance with respect to the ARM CPU being used. Add a test which > tries to locate the [vectors] page, created when CONFIG_KUSER_HELPERS is > turned on