Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 06:21 PM, Leif Lindholm wrote: > On Sat, Jan 17, 2015 at 03:12:13PM -0500, Jon Masters wrote: >> Hi Catalin, all, >> >> I would like to ensure that the SMBIOS data provided by firmware is >> always readable from userspace on AArch64, through /dev/mem. > > No, we need to ensure /dev/m

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Leif Lindholm
On Sat, Jan 17, 2015 at 03:12:13PM -0500, Jon Masters wrote: > Hi Catalin, all, > > I would like to ensure that the SMBIOS data provided by firmware is > always readable from userspace on AArch64, through /dev/mem. No, we need to ensure /dev/mem can be completely disabled on any system that ever

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 05:52 PM, Jon Masters wrote: > Hi Olof, > > On 01/17/2015 04:10 PM, Olof Johansson wrote: >> Hi, >> >> On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters wrote: >>> Hi Catalin, all, >>> >>> I would like to ensure that the SMBIOS data provided by firmware is >>> always readable from users

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
Hi Olof, On 01/17/2015 04:10 PM, Olof Johansson wrote: > Hi, > > On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters wrote: >> Hi Catalin, all, >> >> I would like to ensure that the SMBIOS data provided by firmware is >> always readable from userspace on AArch64, through /dev/mem. > > Seems like this

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Olof Johansson
Hi, On Sat, Jan 17, 2015 at 12:12 PM, Jon Masters wrote: > Hi Catalin, all, > > I would like to ensure that the SMBIOS data provided by firmware is > always readable from userspace on AArch64, through /dev/mem. Seems like this would be a good opportunity for cleanup and fixing userspace to use /

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
On 01/17/2015 03:59 PM, Ard Biesheuvel wrote: > On 17 January 2015 at 20:12, Jon Masters wrote: >> Hi Catalin, all, >> >> I would like to ensure that the SMBIOS data provided by firmware is >> always readable from userspace on AArch64, through /dev/mem. >> > > This has been on our radar for a whi

Re: SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Ard Biesheuvel
On 17 January 2015 at 20:12, Jon Masters wrote: > Hi Catalin, all, > > I would like to ensure that the SMBIOS data provided by firmware is > always readable from userspace on AArch64, through /dev/mem. > This has been on our radar for a while > When building a kernel with CONFIG_STRICT_DEVMEM, a

SMBIOS/DMI data under CONFIG_STRICT_DEVMEM

2015-01-17 Thread Jon Masters
Hi Catalin, all, I would like to ensure that the SMBIOS data provided by firmware is always readable from userspace on AArch64, through /dev/mem. When building a kernel with CONFIG_STRICT_DEVMEM, arm64 follows broadly x86 with the exception of an assumption surrounding the low range of memory (wh