Re: [PATCH v7 03/14] x86/cet/ibt: Add IBT legacy code bitmap setup function

2019-06-11 Thread Florian Weimer
* Dave Hansen: > My assumption has always been that these large, potentially sparse > hardware tables *must* be mmap()'d with MAP_NORESERVE specified. That > should keep them from being problematic with respect to overcommit. MAP_NORESERVE pages still count towards the commit limit. The flag on

Re: [PATCH v7 03/14] x86/cet/ibt: Add IBT legacy code bitmap setup function

2019-06-11 Thread Pavel Machek
On Mon 2019-06-10 08:47:45, Yu-cheng Yu wrote: > On Sat, 2019-06-08 at 22:52 +0200, Pavel Machek wrote: > > Hi! > > > > > > I've no idea what the kernel should do; since you failed to answer the > > > > question what happens when you point this to garbage. > > > > > > > > Does it then fault or wh

RE: [PATCH V14 1/5] dt-bindings: fsl: scu: add thermal binding

2019-06-11 Thread Aisheng Dong
> From: anson.hu...@nxp.com [mailto:anson.hu...@nxp.com] > Sent: Monday, June 10, 2019 10:53 AM > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system > controller, the system controller is in charge of system power, clock and > thermal sensors etc. management, Linux kernel has to

Re: [PATCH v7 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-06-11 Thread Dave Martin
On Mon, Jun 10, 2019 at 07:24:43PM +0200, Florian Weimer wrote: > * Yu-cheng Yu: > > > To me, looking at PT_GNU_PROPERTY and not trying to support anything is a > > logical choice. And it breaks only a limited set of toolchains. > > > > I will simplify the parser and leave this patch as-is for an

RE: [PATCH V14 2/5] thermal: of-thermal: add API for getting sensor ID from DT

2019-06-11 Thread Aisheng Dong
Hi Anson, The implementation looks good to me. A few minor comments on the doc: > From: anson.hu...@nxp.com [mailto:anson.hu...@nxp.com] > Sent: Monday, June 10, 2019 10:53 AM > > On some platforms like i.MX8QXP, the thermal driver needs a real HW sensor > ID from DT thermal zone, the HW sensor

RE: [PATCH V14 2/5] thermal: of-thermal: add API for getting sensor ID from DT

2019-06-11 Thread Anson Huang
Hi, Aisheng > -Original Message- > From: Aisheng Dong > Sent: Tuesday, June 11, 2019 7:47 PM > To: Anson Huang ; robh...@kernel.org; > mark.rutl...@arm.com; cor...@lwn.net; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > catalin.mari...@arm.com;

Re: [PATCH v12 03/13] dt-bindings: Add doc for the Ingenic TCU drivers

2019-06-11 Thread Rob Herring
On Sat, May 25, 2019 at 1:13 PM Paul Cercueil wrote: > > > > Le ven. 24 mai 2019 à 22:21, Rob Herring a écrit : > > On Tue, May 21, 2019 at 04:51:31PM +0200, Paul Cercueil wrote: > >> Add documentation about how to properly use the Ingenic TCU > >> (Timer/Counter Unit) drivers from devicetree.

Re: [PATCH v7 25/27] mm/mmap: Add Shadow stack pages to memory accounting

2019-06-11 Thread Dave Hansen
On 6/6/19 1:06 PM, Yu-cheng Yu wrote: > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -1703,6 +1703,9 @@ static inline int accountable_mapping(struct file > *file, vm_flags_t vm_flags) > if (file && is_file_hugepages(file)) > return 0; > > + if (arch_copy_pte_mapping(vm_flags))

Re: [PATCH v7 25/27] mm/mmap: Add Shadow stack pages to memory accounting

2019-06-11 Thread Yu-cheng Yu
On Tue, 2019-06-11 at 10:55 -0700, Dave Hansen wrote: > On 6/6/19 1:06 PM, Yu-cheng Yu wrote: > > --- a/mm/mmap.c > > +++ b/mm/mmap.c > > @@ -1703,6 +1703,9 @@ static inline int accountable_mapping(struct file > > *file, vm_flags_t vm_flags) > > if (file && is_file_hugepages(file)) > >

Re: [PATCH v7 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-06-11 Thread Yu-cheng Yu
On Tue, 2019-06-11 at 12:41 +0100, Dave Martin wrote: > On Mon, Jun 10, 2019 at 07:24:43PM +0200, Florian Weimer wrote: > > * Yu-cheng Yu: > > > > > To me, looking at PT_GNU_PROPERTY and not trying to support anything is a > > > logical choice. And it breaks only a limited set of toolchains. > >

[PATCH] sphinx.rst: Add note about code snippets embedded in the text

2019-06-11 Thread André Almeida
There's a paragraph that explains how to create fixed width text block, but it doesn't explains how to create fixed width text inline, although this feature is really used through the documentation. Fix that adding a quick note about it. Signed-off-by: André Almeida --- Documentation/doc-guide/s

RE: [PATCH V14 2/5] thermal: of-thermal: add API for getting sensor ID from DT

2019-06-11 Thread Aisheng Dong
Hi Eduardo & Rui, > From: Anson Huang > Sent: Tuesday, June 11, 2019 8:37 PM > > > From: Aisheng Dong > > Sent: Tuesday, June 11, 2019 7:47 PM > > Subject: RE: [PATCH V14 2/5] thermal: of-thermal: add API for getting > > sensor ID from DT > > > > Hi Anson, > > > > The implementation looks good to