[PATCH 24/45] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++--

[PATCH 24/45] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Tejun Heo
Hello, On Tue, Dec 19, 2017 at 10:25:12AM -0800, Shakeel Butt wrote: > Making the runtime environment, an invariant is very critical to make > the management of a job easier whose instances run on different > clusters across the world. Some clusters might have different type of > swaps installed

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Tejun Heo
Hello, On Tue, Dec 19, 2017 at 10:25:12AM -0800, Shakeel Butt wrote: > Making the runtime environment, an invariant is very critical to make > the management of a job easier whose instances run on different > clusters across the world. Some clusters might have different type of > swaps installed

[PATCH v3 1/3] kallsyms: don't leak address when symbol not found

2017-12-19 Thread Tobin C. Harding
Currently if kallsyms_lookup() fails to find the symbol then the address is printed. This potentially leaks sensitive information but is useful for debugging. We would like to stop the leak but keep the current behaviour when needed for debugging. To achieve this we can add a command-line

[PATCH v3 1/3] kallsyms: don't leak address when symbol not found

2017-12-19 Thread Tobin C. Harding
Currently if kallsyms_lookup() fails to find the symbol then the address is printed. This potentially leaks sensitive information but is useful for debugging. We would like to stop the leak but keep the current behaviour when needed for debugging. To achieve this we can add a command-line

[PATCH v3 0/3] kallsyms: don't leak address

2017-12-19 Thread Tobin C. Harding
This set plugs a kernel address leak that occurs if kallsyms symbol look up fails. This set was prompted by a leaking address found using scripts/leaking_addresses.pl on a PowerPC machine in the wild. $ perl scripts/leaking_addresses.pl [address sanitized] ...

[PATCH v3 2/3] vsprintf: print if symbol not found

2017-12-19 Thread Tobin C. Harding
Depends on: commit 40eee173a35e ("kallsyms: don't leak address when symbol not found") Currently vsprintf for specifiers %p[SsB] relies on the behaviour of kallsyms (sprint_symbol()) and prints the actual address if a symbol is not found. Previous patch changes this behaviour so that

[PATCH v3 0/3] kallsyms: don't leak address

2017-12-19 Thread Tobin C. Harding
This set plugs a kernel address leak that occurs if kallsyms symbol look up fails. This set was prompted by a leaking address found using scripts/leaking_addresses.pl on a PowerPC machine in the wild. $ perl scripts/leaking_addresses.pl [address sanitized] ...

[PATCH v3 2/3] vsprintf: print if symbol not found

2017-12-19 Thread Tobin C. Harding
Depends on: commit 40eee173a35e ("kallsyms: don't leak address when symbol not found") Currently vsprintf for specifiers %p[SsB] relies on the behaviour of kallsyms (sprint_symbol()) and prints the actual address if a symbol is not found. Previous patch changes this behaviour so that

[PATCH 23/45] ARM: dts: at91: at91sam9rlek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rlek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts

[PATCH v3 3/3] trace: print address if symbol not found

2017-12-19 Thread Tobin C. Harding
Fixes behaviour modified by: commit 40eee173a35e ("kallsyms: don't leak address when symbol not found") Previous patch changed behaviour of kallsyms function sprint_symbol() to return an error code instead of printing the address if a symbol was not found. Ftrace relies on the original behaviour.

[PATCH 23/45] ARM: dts: at91: at91sam9rlek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rlek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts index

[PATCH v3 3/3] trace: print address if symbol not found

2017-12-19 Thread Tobin C. Harding
Fixes behaviour modified by: commit 40eee173a35e ("kallsyms: don't leak address when symbol not found") Previous patch changed behaviour of kallsyms function sprint_symbol() to return an error code instead of printing the address if a symbol was not found. Ftrace relies on the original behaviour.

[PATCH 21/45] ARM: dts: at91: pm9g45: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/pm9g45.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts index

[PATCH 21/45] ARM: dts: at91: pm9g45: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/pm9g45.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts index be5177221cbb..927d00cab014 100644 ---

Re: [PATCH v2] arch: define weak abort

2017-12-19 Thread Vineet Gupta
On 12/12/2017 02:49 PM, Sudip Mukherjee wrote: gcc toggle -fisolate-erroneous-paths-dereference (default at -O2 onwards) isolates faulty code paths such as null pointer access, divide by zero etc. If gcc port doesnt implement __builtin_trap, an abort() is generated which causes kernel link

Re: [PATCH v2] arch: define weak abort

2017-12-19 Thread Vineet Gupta
On 12/12/2017 02:49 PM, Sudip Mukherjee wrote: gcc toggle -fisolate-erroneous-paths-dereference (default at -O2 onwards) isolates faulty code paths such as null pointer access, divide by zero etc. If gcc port doesnt implement __builtin_trap, an abort() is generated which causes kernel link

[PATCH 26/45] ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5.dtsi | 8 ++-- 1

[PATCH] pinctrl: mvebu: Delete an error message for a failed memory allocation in mvebu_pinctrl_probe()

2017-12-19 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 19 Dec 2017 22:30:36 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 26/45] ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH] pinctrl: mvebu: Delete an error message for a failed memory allocation in mvebu_pinctrl_probe()

2017-12-19 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 19 Dec 2017 22:30:36 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/mvebu/pinctrl-mvebu.c | 5 ++--- 1 file changed, 2

[PATCH 34/45] ARM: dts: at91: kizbox2: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox2.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 34/45] ARM: dts: at91: kizbox2: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox2.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-kizbox2.dts b/arch/arm/boot/dts/at91-kizbox2.dts index

[PATCH 35/45] ARM: dts: at91: sama5d3xek_cmp: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm_cmp.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm_cmp.dtsi

[PATCH 35/45] ARM: dts: at91: sama5d3xek_cmp: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm_cmp.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm_cmp.dtsi b/arch/arm/boot/dts/sama5d3xcm_cmp.dtsi index

[PATCH 32/45] ARM: dts: at91: sama5d3xek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi

[PATCH 32/45] ARM: dts: at91: sama5d3xek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index 9506daf5efb6..3311a882458b

[PATCH 33/45] ARM: dts: at91: sama5d3 Xplained: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 12 1 file changed, 12 insertions(+)

[PATCH 33/45] ARM: dts: at91: sama5d3 Xplained: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts

[PATCH 37/45] ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 8 ++-- 1

[PATCH 37/45] ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 38/45] ARM: dts: at91: sama5d4: Add TCB2

2017-12-19 Thread Alexandre Belloni
The third TC block is missing from the dtsi. It has no output pins but can still be used for timers as the IRQ is wired. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 38/45] ARM: dts: at91: sama5d4: Add TCB2

2017-12-19 Thread Alexandre Belloni
The third TC block is missing from the dtsi. It has no output pins but can still be used for timers as the IRQ is wired. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi

[PATCH 36/45] ARM: dts: at91: linea/tse850-3: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Peter Rosin Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-linea.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 36/45] ARM: dts: at91: linea/tse850-3: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Peter Rosin Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-linea.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-linea.dtsi b/arch/arm/boot/dts/at91-linea.dtsi index

Re: BUG: bad usercopy in memdup_user

2017-12-19 Thread Linus Torvalds
On Tue, Dec 19, 2017 at 5:22 AM, Matthew Wilcox wrote: > > Could we have a way to know that the printed address is hashed and not just > a pointer getting completely scrogged? Perhaps prefix it with ... a hash! > So this line would look like: The problem with that is that

Re: BUG: bad usercopy in memdup_user

2017-12-19 Thread Linus Torvalds
On Tue, Dec 19, 2017 at 5:22 AM, Matthew Wilcox wrote: > > Could we have a way to know that the printed address is hashed and not just > a pointer getting completely scrogged? Perhaps prefix it with ... a hash! > So this line would look like: The problem with that is that it will break tools

[PATCH 39/45] ARM: dts: at91: sama5d4ek: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts

[PATCH 39/45] ARM: dts: at91: sama5d4ek: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-19 Thread Lukasz Majewski
Hi Arnd, > Hi! > > On Mon Dec 18 12:55:40 2017 Arnd Bergmann wrote: > > > GCC 7.2 is working > > > > Ah wait, this is still for ep93xx, which is always at least armv4t, > > right? So it won't have a problem with the armv4 deprecation > > anyway, even > > Correct. Maybe a

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-19 Thread Lukasz Majewski
Hi Arnd, > Hi! > > On Mon Dec 18 12:55:40 2017 Arnd Bergmann wrote: > > > GCC 7.2 is working > > > > Ah wait, this is still for ep93xx, which is always at least armv4t, > > right? So it won't have a problem with the armv4 deprecation > > anyway, even > > Correct. Maybe a bit off topic

Re: [PATCH v9 29/51] mm/mprotect, powerpc/mm/pkeys, x86/mm/pkeys: Add sysfs interface

2017-12-19 Thread Benjamin Herrenschmidt
On Mon, 2017-12-18 at 14:28 -0800, Dave Hansen wrote: > > We do not have generic support for something like that on ppc. > > The kernel looks at the device tree to determine what hardware features > > are available. But does not have mechanism to tell the hardware to track > > which of its

Re: [PATCH v9 29/51] mm/mprotect, powerpc/mm/pkeys, x86/mm/pkeys: Add sysfs interface

2017-12-19 Thread Benjamin Herrenschmidt
On Mon, 2017-12-18 at 14:28 -0800, Dave Hansen wrote: > > We do not have generic support for something like that on ppc. > > The kernel looks at the device tree to determine what hardware features > > are available. But does not have mechanism to tell the hardware to track > > which of its

[PATCH 40/45] ARM: dts: at91: sama5d4 Xplained: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use for timers. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 1 file changed, 12 insertions(+)

Re: [PATCH 02/25] arm: at91/sama: dts: Remove leading 0x and 0s from bindings notation

2017-12-19 Thread Alexandre Belloni
On 15/12/2017 at 13:46:26 +0100, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format):

[PATCH 40/45] ARM: dts: at91: sama5d4 Xplained: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use for timers. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts

Re: [PATCH 02/25] arm: at91/sama: dts: Remove leading 0x and 0s from bindings notation

2017-12-19 Thread Alexandre Belloni
On 15/12/2017 at 13:46:26 +0100, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format):

[PATCH 42/45] ARM: dts: at91: vinco: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers Cc: Gregory CLEMENT Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-vinco.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 42/45] ARM: dts: at91: vinco: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers Cc: Gregory CLEMENT Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-vinco.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-vinco.dts b/arch/arm/boot/dts/at91-vinco.dts index

[PATCH 41/45] ARM: dts: at91: ma5d4: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers Cc: Marek Vasut Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 41/45] ARM: dts: at91: ma5d4: use TCB2 as timers

2017-12-19 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it for timers Cc: Marek Vasut Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi

[PATCH 04/45] ARM: dts: at91: mpa1600: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Joachim Eastwood Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/mpa1600.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 04/45] ARM: dts: at91: mpa1600: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Joachim Eastwood Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/mpa1600.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/mpa1600.dts b/arch/arm/boot/dts/mpa1600.dts index

[PATCH 43/45] ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d2.dtsi | 8 ++-- 1

[PATCH 43/45] ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d2.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 02/45] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 8 ++-- 1

[PATCH 03/45] ARM: dts: at91: at91rm9200ek: use TCB0 for timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers like selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff

[PATCH 03/45] ARM: dts: at91: at91rm9200ek: use TCB0 for timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers like selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts

[PATCH 02/45] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices

2017-12-19 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 09/45] ARM: dts: at91: foxg20: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-foxg20.dts | 12 1 file changed, 12

[PATCH 09/45] ARM: dts: at91: foxg20: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-foxg20.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-foxg20.dts

[PATCH 20/45] ARM: dts: at91: at91sam9m10g45ek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 12 1 file changed, 12 insertions(+) diff

[PATCH 45/45] ARM: dts: at91: sama5d27_som1_ek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts

[PATCH 20/45] ARM: dts: at91: at91sam9m10g45ek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts

[PATCH 45/45] ARM: dts: at91: sama5d27_som1_ek: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts index

[PATCH 44/45] ARM: dts: at91: sama5d2 Xplained: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 12 1 file changed, 12 insertions(+)

[PATCH 44/45] ARM: dts: at91: sama5d2 Xplained: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts

[PATCH 30/45] ARM: dts: at91: kizboxmini: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizboxmini.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 30/45] ARM: dts: at91: kizboxmini: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizboxmini.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-kizboxmini.dts b/arch/arm/boot/dts/at91-kizboxmini.dts

[PATCH 08/45] ARM: dts: at91: ethernut5: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Martin Reimann Cc: Tim Schendekehl Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ethernut5.dts | 12 1 file changed, 12

[PATCH 08/45] ARM: dts: at91: ethernut5: use TCB0 as timers

2017-12-19 Thread Alexandre Belloni
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Martin Reimann Cc: Tim Schendekehl Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ethernut5.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ethernut5.dts b/arch/arm/boot/dts/ethernut5.dts

[PATCH 01/45] ARM: at91: Document new TCB bindings

2017-12-19 Thread Alexandre Belloni
The current binding for the TCB is not flexible enough for some use cases and prevents proper utilization of all the channels. Acked-by: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni ---

[PATCH 01/45] ARM: at91: Document new TCB bindings

2017-12-19 Thread Alexandre Belloni
The current binding for the TCB is not flexible enough for some use cases and prevents proper utilization of all the channels. Acked-by: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/arm/atmel-at91.txt | 32 -

Re: [PATCH v3 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-12-19 Thread Jacek Anaszewski
On 12/18/2017 09:49 PM, Bjorn Andersson wrote: > On Wed 22 Nov 12:42 PST 2017, Jacek Anaszewski wrote: > >> On 11/20/2017 10:45 PM, Bjorn Andersson wrote: >>> On Mon 20 Nov 12:35 PST 2017, Jacek Anaszewski wrote: >>> On 11/20/2017 08:58 PM, Bjorn Andersson wrote: > On Sun 19 Nov 13:35

Re: [PATCH v3 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-12-19 Thread Jacek Anaszewski
On 12/18/2017 09:49 PM, Bjorn Andersson wrote: > On Wed 22 Nov 12:42 PST 2017, Jacek Anaszewski wrote: > >> On 11/20/2017 10:45 PM, Bjorn Andersson wrote: >>> On Mon 20 Nov 12:35 PST 2017, Jacek Anaszewski wrote: >>> On 11/20/2017 08:58 PM, Bjorn Andersson wrote: > On Sun 19 Nov 13:35

Re: [PATCH v4 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2017-12-19 Thread Andy Shevchenko
On Tue, 2017-12-19 at 13:08 -0800, Sohil Mehta wrote: > Debugfs extension for Intel IOMMU to dump Interrupt remapping table > entries for Interrupt remapping and Interrupt posting. > > The file /sys/kernel/debug/intel_iommu/ir_translation_struct provides > detailed information, such as Index,

Re: [PATCH v4 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2017-12-19 Thread Andy Shevchenko
On Tue, 2017-12-19 at 13:08 -0800, Sohil Mehta wrote: > Debugfs extension for Intel IOMMU to dump Interrupt remapping table > entries for Interrupt remapping and Interrupt posting. > > The file /sys/kernel/debug/intel_iommu/ir_translation_struct provides > detailed information, such as Index,

Re: [PATCH v4 0/5] Add Intel IOMMU debugfs support

2017-12-19 Thread Andy Shevchenko
On Tue, 2017-12-19 at 13:08 -0800, Sohil Mehta wrote: > Hi All, > > This series aims to add debugfs support for Intel IOMMU. It exposes > IOMMU > registers, internal context and dumps individual table entries to help > debug > Intel IOMMUs. > > The first patch does the ground work for the

Re: [PATCH v4 0/5] Add Intel IOMMU debugfs support

2017-12-19 Thread Andy Shevchenko
On Tue, 2017-12-19 at 13:08 -0800, Sohil Mehta wrote: > Hi All, > > This series aims to add debugfs support for Intel IOMMU. It exposes > IOMMU > registers, internal context and dumps individual table entries to help > debug > Intel IOMMUs. > > The first patch does the ground work for the

[PATCH 1/3] phy: core: Move runtime PM reference counting to the parent device

2017-12-19 Thread Ulf Hansson
The runtime PM deployment in the phy core is a bit unnecessary complicated and the main reason is because it operates on the phy device, which is created by the phy core and assigned as a child device of the phy provider device. Let's simplify the code, by replacing the existing calls to

[PATCH 3/3] phy: core: Update the runtime PM section in the docs to reflect changes

2017-12-19 Thread Ulf Hansson
Let's update and clarify he phy documentation, to reflect the latest changes around the runtime PM deployment in the phy core. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Ulf Hansson --- Documentation/phy.txt | 28

[PATCH 1/3] phy: core: Move runtime PM reference counting to the parent device

2017-12-19 Thread Ulf Hansson
The runtime PM deployment in the phy core is a bit unnecessary complicated and the main reason is because it operates on the phy device, which is created by the phy core and assigned as a child device of the phy provider device. Let's simplify the code, by replacing the existing calls to

[PATCH 3/3] phy: core: Update the runtime PM section in the docs to reflect changes

2017-12-19 Thread Ulf Hansson
Let's update and clarify he phy documentation, to reflect the latest changes around the runtime PM deployment in the phy core. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Ulf Hansson --- Documentation/phy.txt | 28 +++- 1 file changed, 15

[PATCH 2/3] phy: core: Drop unused runtime PM APIs

2017-12-19 Thread Ulf Hansson
The phy core already deploys runtime PM management, so there seems to be no reason for having a separate option of controlling runtime PM for phys via the phy runtime PM APIs. Moreover, since previous changes moved the runtime PM reference counting onto the parent provider device, which also

[PATCH 0/3] phy: core: Re-work runtime PM deployment and fix an issue

2017-12-19 Thread Ulf Hansson
The intend of this series is to simplify the runtime PM deployment in the phy core, but while doing that fixing a related problem for a Renesas SoC making use of a phy. This issue was raised by Geert Uytterhoeven and Yoshihiro Shimoda, due to a changed behaviour in the runtime PM core. The commit

[PATCH 2/3] phy: core: Drop unused runtime PM APIs

2017-12-19 Thread Ulf Hansson
The phy core already deploys runtime PM management, so there seems to be no reason for having a separate option of controlling runtime PM for phys via the phy runtime PM APIs. Moreover, since previous changes moved the runtime PM reference counting onto the parent provider device, which also

[PATCH 0/3] phy: core: Re-work runtime PM deployment and fix an issue

2017-12-19 Thread Ulf Hansson
The intend of this series is to simplify the runtime PM deployment in the phy core, but while doing that fixing a related problem for a Renesas SoC making use of a phy. This issue was raised by Geert Uytterhoeven and Yoshihiro Shimoda, due to a changed behaviour in the runtime PM core. The commit

RE: [PATCH] CIFS: SMBD: fix configurations with INFINIBAND=m

2017-12-19 Thread Long Li
> depends on CIFS && INFINIBAND > + depends on CIFS=m || INFINIBAND=y How about we change them to depends on CIFS=m && INFINIBAND || CIFS=y && INFINIBAND=y This makes it easy to read.

RE: [PATCH] CIFS: SMBD: fix configurations with INFINIBAND=m

2017-12-19 Thread Long Li
> depends on CIFS && INFINIBAND > + depends on CIFS=m || INFINIBAND=y How about we change them to depends on CIFS=m && INFINIBAND || CIFS=y && INFINIBAND=y This makes it easy to read.

Re: [PATCH] kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures

2017-12-19 Thread Rao Shoaib
On 12/19/2017 12:41 PM, Jesper Dangaard Brouer wrote: On Tue, 19 Dec 2017 09:52:27 -0800 rao.sho...@oracle.com wrote: +/* Main RCU function that is called to free RCU structures */ +static void +__rcu_bulk_free(struct rcu_head *head, rcu_callback_t func, int cpu, bool lazy) +{ +

Re: [PATCH] kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures

2017-12-19 Thread Rao Shoaib
On 12/19/2017 12:41 PM, Jesper Dangaard Brouer wrote: On Tue, 19 Dec 2017 09:52:27 -0800 rao.sho...@oracle.com wrote: +/* Main RCU function that is called to free RCU structures */ +static void +__rcu_bulk_free(struct rcu_head *head, rcu_callback_t func, int cpu, bool lazy) +{ +

Re: [PATCH] kobject: fix suppressing modalias in uevents delivered over netlink

2017-12-19 Thread Casey Leedom
By the way, Komali went back and tried 4.14.7 and it does exhibit the issue which she originally reported. As noted before, the origin of the new behavior was tracked down to kernel.org:1455cf8 ... Also as noted, Dmitry's patch does not solve the problem. Casey

Re: [PATCH] kobject: fix suppressing modalias in uevents delivered over netlink

2017-12-19 Thread Casey Leedom
By the way, Komali went back and tried 4.14.7 and it does exhibit the issue which she originally reported. As noted before, the origin of the new behavior was tracked down to kernel.org:1455cf8 ... Also as noted, Dmitry's patch does not solve the problem. Casey

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Paolo Bonzini
On 19/12/2017 18:40, Jim Mattson wrote: > I'm not sure that's really the right way to go, since any guest that > has already read the IA32_VMX_BASIC MSR has a right to expect the VMCS > revision to remain unchanged. Hmm, not just that, "the VMCS revision identifier is never written by the

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Paolo Bonzini
On 19/12/2017 18:40, Jim Mattson wrote: > I'm not sure that's really the right way to go, since any guest that > has already read the IA32_VMX_BASIC MSR has a right to expect the VMCS > revision to remain unchanged. Hmm, not just that, "the VMCS revision identifier is never written by the

[PATCH v4 3/3] doc: add documentation on printing kernel addresses

2017-12-19 Thread Tobin C. Harding
Hashing addresses printed with printk specifier %p was implemented recently. During development a number of issues were raised regarding leaking kernel addresses to userspace. Other documentation was updated but security/self-protection missed out. Add self-protection documentation regarding

[PATCH v4 3/3] doc: add documentation on printing kernel addresses

2017-12-19 Thread Tobin C. Harding
Hashing addresses printed with printk specifier %p was implemented recently. During development a number of issues were raised regarding leaking kernel addresses to userspace. Other documentation was updated but security/self-protection missed out. Add self-protection documentation regarding

[PATCH v4 1/3] doc: convert printk-formats.txt to rst

2017-12-19 Thread Tobin C. Harding
Documentation/printk-formats.txt is a candidate for conversion to ReStructuredText format. Some effort has already been made to do this conversion even thought the suffix is currently .txt Changes required to complete conversion - Move printk-formats.txt to core-api/printk-formats.rst - Add

[PATCH v4 1/3] doc: convert printk-formats.txt to rst

2017-12-19 Thread Tobin C. Harding
Documentation/printk-formats.txt is a candidate for conversion to ReStructuredText format. Some effort has already been made to do this conversion even thought the suffix is currently .txt Changes required to complete conversion - Move printk-formats.txt to core-api/printk-formats.rst - Add

<    2   3   4   5   6   7   8   9   10   11   >