Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 1:42 PM, Arnd Bergmann wrote: > > What I see is that this one exported symbol has a __crc of a different > type from all the others: > > $ nm net/ceph/mon_client.o | grep __crc > 48c2e16e A __crc_ceph_monc_get_version > 2360d633 A __crc_ceph_monc_get_version_async > 0c50a10

Re: [PATCH RFC] slub: reap free slabs periodically

2016-06-10 Thread Christoph Lameter
One reason for SLUBs creation was the 2 second scans in SLAB which causes significant disruption of latency sensitive tasksk. You can simply implement a reaper in userspace by running slabinfo -s if you have to have this. There is no need to duplicate SLAB problems.

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-10 Thread Rob Herring
On Fri, Jun 10, 2016 at 2:11 PM, Geert Uytterhoeven wrote: > Hi Rob, > > On Fri, Jun 10, 2016 at 7:39 PM, Rob Herring wrote: >> On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: >>> The power domain must be specified to bring the device out of module >>> standby. Document this in th

[PATCH 1/1] apparmor: do not expose kernel stack

2016-06-10 Thread Heinrich Schuchardt
Do not copy uninitalized fields th.td_hilen, th.td_data. Signed-off-by: Heinrich Schuchardt --- security/apparmor/match.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/apparmor/match.c b/security/apparmor/match.c index 727eb42..1d6dbd8 100644 --- a/security/appa

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> > Well, slightly better. > > No, it should be much better. You would have to look at the standard I use id-utils regularly and it is indeed at least a magnitude better. The indexing often pays off already with the first coccinelle run for me. Highly recommended. signature.asc Description:

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread Duc Dang
On Mon, Jun 6, 2016 at 10:56 AM, Marc Zyngier wrote: > The ARM architected timer specification mandates that the interrupt > associated with each timer is level triggered (which corresponds to > the "counter >= comparator" condition). > > A number of DTs are being remarkably creative, declaring th

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:43:57PM +0200, Wolfram Sang wrote: > > > Well, slightly better. > > > > No, it should be much better. You would have to look at the standard > > I use id-utils regularly and it is indeed at least a magnitude better. > The indexing often pays off already with the first

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> AFAICT coccinelle does not have integration support for id-utils though. I used it just today ;) -- "--use-idutils ./ID" ID was generated with simple 'mkid -s'. signature.asc Description: PGP signature

Re: [PATCH v3 1/2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-06-10 Thread Duc Dang
On Fri, Jun 10, 2016 at 12:29 AM, Marc Zyngier wrote: > On Thu, 09 Jun 2016 14:10:48 -0700 > David Daney wrote: > >> On 06/06/2016 10:56 AM, Marc Zyngier wrote: >> > The ARM architected timer produces level-triggered interrupts (this >> > is mandated by the architecture). Unfortunately, most devi

Re: [PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-06-10 Thread Arnd Bergmann
On Friday, June 10, 2016 12:10:14 PM CEST Krzysztof Hałasa wrote: > Arnd Bergmann writes: > > > Before that, we were always setting both mrrs and mps. As we don't know > > who uses PCIE_BUS_PEER2PEER, maybe another option would be to add yet > > another pcie_bus_config value for this particular q

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread Andrew Morton
On Fri, 10 Jun 2016 11:55:54 +0200 mhocko wrote: > On 2016-06-10 11:50, Sergey Senozhatsky wrote: > > Hello, > > > > forked from http://marc.info/?l=linux-mm&m=146553910928716&w=2 > > > > new_slab()->BUG->die()->exit_signals() can be called from atomic > > context: local IRQs disabled in slab_a

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Rob Clark
On Fri, Jun 10, 2016 at 3:52 PM, Doug Anderson wrote: > Rob, > > On Fri, Jun 10, 2016 at 11:43 AM, Rob Clark wrote: >> On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson >> wrote: >>> The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected >>> using eDP interfaces. >> >> so drive-by

[PATCH 12/48] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ge863-pro3.dtsi b/arch/arm/boot/dts/ge863-pro

[PATCH 46/48] ARM: at91/defconfig: at91_dt unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) dif

[PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
With the new TCB clocksource driver, atmel platforms are now able to boot without the PIT driver. Allow unselecting it. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --

[PATCH 43/48] clocksource/drivers: Add a clockevent driver for Atmel TC blocks

2016-06-10 Thread Alexandre Belloni
Add an independent clockevent driver for the Atmel Timer Counter Blocks. This driver provides a single clockevent device. using its own TCB channel. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 10 ++ drivers/clockso

[PATCH 45/48] ARM: at91/defconfig: sama5: unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 37/48] ARM: dts: at91: sama5d4 Xplained: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. 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 b/arch/arm/

[PATCH 15/48] ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-

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

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d2.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(

[PATCH 48/48] ARM: dts: at91: kizbox: switch to new pwm-atmel-tcb binding

2016-06-10 Thread Alexandre Belloni
Switch to the new pwm-atmel-tcb binding that avoid wasting TCB channels. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 42 +-- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/at91

[PATCH 38/48] ARM: dts: at91: ma5d4: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. 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 b/arch/arm/boot/dts/at91-sam

[PATCH 42/48] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2016-06-10 Thread Alexandre Belloni
Add a driver for the Atmel Timer Counter Blocks. This driver provides a clocksource and a clockevent device. The clockevent device is linked to the clocksource counter and so it will run at the same frequency. This driver uses regmap and syscon to be able to probe early in the boot and avoid havin

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, May 20, 2016 02:59:30 PM Kees Cook wrote: > On Fri, May 20, 2016 at 2:46 PM, Rafael J. Wysocki wrote: > > On Fri, May 20, 2016 at 3:56 PM, Stephen Smalley wrote: > >> On 05/20/2016 07:34 AM, Rafael J. Wysocki wrote: > >>> On Fri, May 20, 2016 at 9:15 AM, Ingo Molnar wrote: > > >>

[PATCH 35/48] ARM: dts: at91: sama5d4: Add TCB2

2016-06-10 Thread Alexandre Belloni
The third TC block is missing from the dtsi. It has no output pins but can still be used as a clocksource/clockevents device 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/

[PATCH 36/48] ARM: dts: at91: sama5d4ek: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. 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 4e98cda974

[PATCH 47/48] PWM: atmel-tcb: switch to new binding

2016-06-10 Thread Alexandre Belloni
The PWM is now a subnode of the used TCB. This is cleaner and it mainly allows to stop wasting TCB channels when only 4 PWMs are used. Cc: Thierry Reding Cc: linux-...@vger.kernel.org Signed-off-by: Alexandre Belloni --- drivers/pwm/Kconfig | 3 +- drivers/pwm/pwm-atmel-tcb.c | 219 ++

[PATCH 41/48] ARM: dts: at91: sama5d2 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 b

[PATCH 21/48] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[PATCH 39/48] ARM: dts: at91: vinco: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. 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 6a

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

2016-06-10 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. It also allow sto reuse regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletion

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:51:26PM +0200, Wolfram Sang wrote: > > AFAICT coccinelle does not have integration support for id-utils though. > > I used it just today ;) -- "--use-idutils ./ID" > > ID was generated with simple 'mkid -s'. > Sweet, testing that now. Luis

[PATCH 32/48] ARM: dts: at91: sama5d3 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 b

[PATCH 33/48] ARM: dts: at91: kizbox2: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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-kizb

Re: [PATCH V6 4/9] genirq: Add runtime power management support for IRQ chips

2016-06-10 Thread Kevin Hilman
Jon Hunter writes: > Some IRQ chips may be located in a power domain outside of the CPU > subsystem and hence will require device specific runtime power > management. In order to support such IRQ chips, add a pointer for a > device structure to the irq_chip structure, and if this pointer is > pop

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Stéphane Marchesin
On Fri, Jun 10, 2016 at 3:03 PM, Rob Clark wrote: > On Fri, Jun 10, 2016 at 3:52 PM, Doug Anderson wrote: >> Rob, >> >> On Fri, Jun 10, 2016 at 11:43 AM, Rob Clark wrote: >>> On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson >>> wrote: The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD

Re: [PATCH] ARM: bcm2835: remove unused __packet

2016-06-10 Thread Kevin Hilman
Eric Anholt writes: > Ben Dooks writes: > >> The driver defines a variable called __packet but then never >> uses it, and does not export it for others to use either. Fix >> the warning about undeclared variable by removing it. >> >> drivers/soc/bcm/raspberrypi-power.c:48:3: warning: symbol '__p

[PATCH 31/48] ARM: dts: at91: sama5d3xek; use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 2cf9c3611

[PATCH 29/48] ARM: dts: at91: kizboxmini: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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/a

[PATCH 30/48] ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3.dtsi | 4 +++- arch/arm/boot/dts/sama5d3_tcb1.dtsi | 4 +++-

[PATCH 27/48] ARM: dts: at91: acme/g25: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-ariag25.dts| 12 arch/arm/boot/dts/at91-ariettag25.dts | 12 2 files changed, 24 insertio

Re: [Xen-devel] [PATCH 1/7] x86/xen: Simplify set_aliased_prot

2016-06-10 Thread Andy Lutomirski
On Wed, May 25, 2016 at 2:50 AM, David Vrabel wrote: > On 24/05/16 23:48, Andy Lutomirski wrote: >> In aa1acff356bb ("x86/xen: Probe target addresses in >> set_aliased_prot() before the hypercall"), I added an explicit probe >> to work around a hypercall issue. The code can be simplified by >> us

[PATCH 26/48] ARM: dts: at91: at91sam9x5cm: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. [tested on at91sam9x25ek and at91sam9x35ek] Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5cm.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm

[PATCH 00/48] ARM: at91: rework Atmel TCB drivers

2016-06-10 Thread Alexandre Belloni
Hi, This series reworks the Atmel Timer counter Block drivers. Those blocks each have 3 counters with 2 channels each and can be used for multiple functions: - timers - PWMs - Quadrature decoders - Stepper motor counters Up until now, each TCB was fully used by each driver, possibly wasting c

[PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-10 Thread Ivan Khoronzhuk
There is no reason to destroy channels that are destroyed while cpdma_ctlr destroy. In this case no need to remember how much channels where created and destroy them by one, as cpdma_ctlr destroys all of them. Signed-off-by: Ivan Khoronzhuk --- Based on master drivers/net/ethernet/ti/cpsw.c |

Re: [PATCH 1/1] apparmor: do not expose kernel stack

2016-06-10 Thread John Johansen
On 06/10/2016 02:34 PM, Heinrich Schuchardt wrote: > Do not copy uninitalized fields th.td_hilen, th.td_data. > > Signed-off-by: Heinrich Schuchardt Acked-by: John Johansen I have a queue of patches I need to push this weekend so I will suck this one in and send it up with the rest > --- > s

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

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletio

[PATCH 02/48] ARM: at91: Document new TCB bindings

2016-06-10 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. Cc: Daniel Lezcano Cc: Thierry Reding Cc: linux-...@vger.kernel.org Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni --- .../devicetree

[PATCH 28/48] ARM: dts: at91: cosino: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Rodolfo Giometti Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-cosino.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-cosino.dtsi b/arch/arm/boot/dts/at91-

[PATCH 24/48] ARM: dts: at91: at91sam9n12ek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 6

[PATCH 20/48] ARM: dts: at91: pm9g45: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 66afcff67fde..5d5ccefa8

[PATCH 17/48] ARM: dts: at91: calao: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Gregory Hermant [tested on usb_a9g20 and usb_a9263] Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-qil_a9260.dts| 12 arch/arm/boot/dts/tny_a9260_common.dts

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

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deleti

[PATCH 16/48] ARM: dts: at91: at91sam9263ek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts index 5

[PATCH 19/48] ARM: dts: at91: at91sam9m10g45ek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 b/arch/ar

[PATCH 22/48] ARM: dts: at91: at91sam9rlek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 f105

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

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletio

[PATCH 11/48] ARM: dts: at91: at91sam9g20ek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g

[PATCH 13/48] ARM: dts: at91: at91sam9261: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-

[PATCH 18/48] ARM: dts: at91: at91sam9g45: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g45.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deleti

[PATCH 14/48] ARM: dts: at91: at91sam9261ek: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in sama5_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index 55b

[PATCH 05/48] ARM: dts: at91: mpa1600; use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 inde

[PATCH 09/48] ARM: dts: at91: animeo_ip: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/animeo_ip.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts index 0962f2fa3f6e..

[PATCH 04/48] ARM: dts: at91: at91rm9200ek; use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 b/arch/arm/boot/d

[PATCH 08/48] ARM: dts: at91: foxg20: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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 b/arch/

[PATCH 07/48] ARM: dts: at91: ethernut5: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously 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/bo

[PATCH 06/48] ARM: dts: at91: at91sam9260: TC blocks are also simple-mfd and syscon devices

2016-06-10 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. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9260.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deleti

[PATCH 10/48] ARM: dts: at91: kizbox: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizb

Re: [PATCH perf/core v10 06/23] perf probe-file: Introduce perf_cache interfaces

2016-06-10 Thread Masami Hiramatsu
On Thu, 9 Jun 2016 11:16:31 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 08, 2016 at 06:29:59PM +0900, Masami Hiramatsu escreveu: > > Introduce perf_cache object and interfaces to create, > > add entry, commit, and delete the object. > > perf_cache represents a file for the cached perf-pro

[PATCH 01/48] clk: at91: replace usleep() by udelay() calls

2016-06-10 Thread Alexandre Belloni
From: Cyrille Pitchen Fix the main and slow clock .prepare() implementations which used to call usleep() when the scheduler wasn't ready yet. Cc: Stephen Boyd Cc: linux-...@vger.kernel.org Signed-off-by: Cyrille Pitchen Signed-off-by: Alexandre Belloni --- drivers/clk/at91/clk-main.c | 2 +-

Re: [Y2038] [PATCH 02/21] fs: ext4: Use current_fs_time() for inode timestamps

2016-06-10 Thread Arnd Bergmann
On Thursday, June 9, 2016 11:45:01 AM CEST Linus Torvalds wrote: > On Wed, Jun 8, 2016 at 10:04 PM, Deepa Dinamani > wrote: > > CURRENT_TIME_SEC and CURRENT_TIME are not y2038 safe. > > current_fs_time() will be transitioned to be y2038 safe > > along with vfs. > > > > current_fs_time() returns t

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:27:29 PM Rafael J. Wysocki wrote: > On Friday, June 10, 2016 11:09:22 AM Kees Cook wrote: > > On Thu, Jun 9, 2016 at 9:14 PM, Logan Gunthorpe wrote: > > > Hey, > > > > > > I've still be trying to figure this out as I have time. > > > > > > I tried printing a couple rest

Re: [PATCH 01/21] fs: Replace CURRENT_TIME_SEC with current_fs_time()

2016-06-10 Thread Arnd Bergmann
On Wednesday, June 8, 2016 10:04:45 PM CEST Deepa Dinamani wrote: > CURRENT_TIME_SEC is not y2038 safe. current_fs_time() will > be transitioned to use 64 bit time along with vfs in a > separate patch. > There is no plan to transistion CURRENT_TIME_SEC to use > y2038 safe time interfaces. > > curr

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Sat, Jun 11, 2016 at 12:08:32AM +0200, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:51:26PM +0200, Wolfram Sang wrote: > > > AFAICT coccinelle does not have integration support for id-utils though. > > > > I used it just today ;) -- "--use-idutils ./ID" > > > > ID was generated with s

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Logan Gunthorpe
On 10/06/16 04:29 PM, Rafael J. Wysocki wrote: > OK, I have a theory, but I need a bit of help. > > This may be a dumb question, but I don't quite remember the answer readily. > > Given a physical address, how do I get the corresponding virtual one under > the kernel identity mapping? Is that

Re: [PATCH 01/48] clk: at91: replace usleep() by udelay() calls

2016-06-10 Thread Arnd Bergmann
On Saturday, June 11, 2016 12:03:04 AM CEST Alexandre Belloni wrote: > From: Cyrille Pitchen > > Fix the main and slow clock .prepare() implementations which used to call > usleep() when the scheduler wasn't ready yet. > Does this have to be called that early? It seems wasteful to always call u

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 04:28:01 PM Logan Gunthorpe wrote: > > On 10/06/16 04:29 PM, Rafael J. Wysocki wrote: > > OK, I have a theory, but I need a bit of help. > > > > This may be a dumb question, but I don't quite remember the answer readily. > > > > Given a physical address, how do I get the

Re: [PATCH v8 02/12] kthread: Kthread worker API cleanup

2016-06-10 Thread Andrew Morton
On Thu, 9 Jun 2016 11:07:10 -0400 Steven Rostedt wrote: > On Thu, 9 Jun 2016 15:51:56 +0200 > Petr Mladek wrote: > > > A good practice is to prefix the names of functions and macros > > by the name of the subsystem. > > > > The kthread worker API is a mix of classic kthreads and workqueues. >

Re: [PATCH] mm: add missing kernel-doc in mm/memory.c::do_set_pte()

2016-06-10 Thread Kirill A. Shutemov
On Fri, Jun 10, 2016 at 11:06:53AM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix kernel-doc warning in mm/memory.c: > > ..//mm/memory.c:2881: warning: No description found for parameter 'old' > > Signed-off-by: Randy Dunlap Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov

Re: [PATCH 2/2] soc: qcom: add l2 cache perf events driver

2016-06-10 Thread Neil Leeder
On 6/9/2016 03:41 PM, Peter Zijlstra wrote: > On Thu, Jun 09, 2016 at 04:56:16PM +0100, Mark Rutland wrote: > +static irqreturn_t l2_cache__handle_irq(int irq_num, void *data) > +{ > + struct hml2_pmu *slice = data; > + u32 ovsr; > + int idx; > + struct pt_regs *regs;

Re: [PATCH 01/48] clk: at91: replace usleep() by udelay() calls

2016-06-10 Thread Alexandre Belloni
On 11/06/2016 at 00:30:36 +0200, Arnd Bergmann wrote : > On Saturday, June 11, 2016 12:03:04 AM CEST Alexandre Belloni wrote: > > From: Cyrille Pitchen > > > > Fix the main and slow clock .prepare() implementations which used to call > > usleep() when the scheduler wasn't ready yet. > > > > Doe

[PATCH v4 0/1] pstore/ram: add Device Tree bindings

2016-06-10 Thread Kees Cook
This is a "v4" of Greg Hackmann's DT bindings for ramoops. This is what I'm going to land in the pstore tree unless there are strong and convincing arguments against it. :) I made a number of changes based people's feedback, and I want to get it unblocked. This patch is already carried by Android,

[PATCH v4] pstore/ram: add Device Tree bindings

2016-06-10 Thread Kees Cook
From: Greg Hackmann ramoops is one of the remaining places where ARM vendors still rely on board-specific shims. Device Tree lets us replace those shims with generic code. These bindings mirror the ramoops module parameters, with two small differences: (1) dump_oops becomes an optional "no-dum

[PATCH] ARM: dts: qcom: msm8974-honami: Set DMA as remotely controlled

2016-06-10 Thread Andy Gross
This patch adds the qcom,controlled-remotely property for the blsp2_bam controller node. This board requires this, otherwise the board fails to boot due to access of protected registers during BAM initialization. Fixes: 62bc81792223 dts: msm8974: Add blsp2_bam dma node Signed-off-by: Andy Gross

[PATCH 1/2] perf pt: Mark PT return events as "return"

2016-06-10 Thread Andi Kleen
From: Andi Kleen With perf script --itrace=cr we can synthesize calls and returns out of a PT log. However both calls and returns are marked with the same event, called branches. This makes it difficult to read and post process, because calls and returns are somewhat diffferent. Create a separat

[PATCH 2/2] perf script: Support callindent

2016-06-10 Thread Andi Kleen
From: Andi Kleen When printing PT instruction traces with perf script it is rather useful to see some indentation for the call tree. This patch adds a new callindent field to perf script that prints spaces for the function call stack depth. We already have code to track the function call stack f

[PULL] lkdtm update (next)

2016-06-10 Thread Kees Cook
Hi, Please pull these lkdtm changes for next. Thanks! -Kees The following changes since commit 3d0f0b6a5520878305589411b8d434fe088e4f21: Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs (2016-06-10 14:13:27 -0700) are available in the git rep

Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-06-10 Thread Arnd Bergmann
On Friday, June 10, 2016 2:32:21 PM CEST Linus Torvalds wrote: > On Fri, Jun 10, 2016 at 1:42 PM, Arnd Bergmann wrote: > > > > What I see is that this one exported symbol has a __crc of a different > > type from all the others: > > > > $ nm net/ceph/mon_client.o | grep __crc > > 48c2e16e A __crc_c

Re: [PATCH v2 0/2] net: ethernet: ti: cpsw: delete rx_descs property

2016-06-10 Thread Schuyler Patton
On 06/08/2016 07:03 PM, Ivan Khoronzhuk wrote: On 09.06.16 02:11, Schuyler Patton wrote: On 06/08/2016 09:06 AM, Ivan Khoronzhuk wrote: On 08.06.16 17:01, Ivan Khoronzhuk wrote: Hi Schuyer, On 07.06.16 18:26, Schuyler Patton wrote: Hi, On 06/07/2016 08:59 AM, Ivan Khoronzhuk wrote:

disfunctional floppy driver in kernels 4.5, 4.6 and 4.7

2016-06-10 Thread Wim Osterholt
L.S. up to vanilla kernel 4.4.13 floppy functionality performs like it should. (On an x86 PC that is. With a 1.44MB diskette drive.) >From kernel 4.5* and up it changed to barely usable. After a virgin start (cold or warm boot) with an empty diskette drive and then loaded with a standard 720K dis

Re: [PATCH V9 05/11] ACPI/PCI: Add generic MCFG table handling

2016-06-10 Thread Bjorn Helgaas
On Fri, Jun 10, 2016 at 09:55:13PM +0200, Tomasz Nowicki wrote: > According to PCI firmware specifications, on systems booting with ACPI, > PCI configuration for a host bridge must be set-up through the MCFG table > regions for non-hotpluggable bridges and _CBA method for hotpluggable ones. > > Cu

Re: [PATCH perf/core v10 07/23] perf probe: Add --cache option to cache the probe definitions

2016-06-10 Thread Masami Hiramatsu
On Thu, 9 Jun 2016 11:18:50 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 08, 2016 at 06:30:10PM +0900, Masami Hiramatsu escreveu: > > @@ -2555,6 +2556,14 @@ static int __add_probe_trace_events(struct > > perf_probe_event *pev, > > } > > if (ret == -EINVAL && pev->uprobes) > >

Re: [PATCH V9 09/11] ARM64/PCI: ACPI support for legacy IRQs parsing and consolidation with DT code

2016-06-10 Thread Bjorn Helgaas
On Fri, Jun 10, 2016 at 09:55:17PM +0200, Tomasz Nowicki wrote: > To enable PCI legacy IRQs on platforms booting with ACPI, arch code > should include ACPI specific callbacks that parse and set-up the > device IRQ number, equivalent to the DT boot path. Owing to the current > ACPI core scan handler

Re: [PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Bjorn Helgaas
On Fri, Jun 10, 2016 at 09:55:08PM +0200, Tomasz Nowicki wrote: > From the functionality point of view this series may be split into the > following logic parts: > 1. Export ECAM API and add parent device to pci_config_window > 2. Add IO resources handling to PCI core code > 3. New MCFG driver > 4.

Re: [PATCH] ARM: dts: qcom: msm8974-honami: Set DMA as remotely controlled

2016-06-10 Thread Bjorn Andersson
On Fri 10 Jun 15:15 PDT 2016, Andy Gross wrote: > This patch adds the qcom,controlled-remotely property for the blsp2_bam > controller node. This board requires this, otherwise the board fails to > boot due to access of protected registers during BAM initialization. > > Fixes: 62bc81792223 dts:

Re: [PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Jon Masters
Thank you Bjorn :) Next time we are in the same place (anyone involved in this series), beer is on me. -- Computer Architect | Sent from my 64-bit #ARM Powered phone > On Jun 10, 2016, at 18:41, Bjorn Helgaas wrote: > >> On Fri, Jun 10, 2016 at 09:55:08PM +0200, Tomasz Nowicki wrote: >> From

Re: [PATCH v2] backlight: lp855x: Add enable regulator

2016-06-10 Thread Stephen Barber
On Fri, Jun 10, 2016 at 12:39 PM, Brian Norris wrote: > > The LP8556 datasheet describes an EN/VDDIO input, which serves "both as > a chip enable and as a power supply reference for PWM, SDA, and SCL > inputs." The LP8556 that I'm testing doesn't respond properly if I try > to talk I2C to it too q

Re: [PATCH 0/2] PCI: hv: fix a couple of issues in hv_pci_onchannelcallback()

2016-06-10 Thread Bjorn Helgaas
On Mon, May 30, 2016 at 04:17:57PM +0200, Vitaly Kuznetsov wrote: > kmemleak helped me to identify a memory leak in hv_pci_onchannelcallback() > and while fixing it I stumbled upon an unrelated issue(s) there. > > Vitaly Kuznetsov (2): > PCI: hv: don't leak buffer in hv_pci_onchannelcallback() >

Re: [Linaro-acpi] [PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Jon Masters
On 06/10/2016 07:41 PM, Bjorn Helgaas wrote: > On Fri, Jun 10, 2016 at 09:55:08PM +0200, Tomasz Nowicki wrote: >> From the functionality point of view this series may be split into the >> following logic parts: >> 1. Export ECAM API and add parent device to pci_config_window >> 2. Add IO resources

Re: [PULL] lkdtm update (next)

2016-06-10 Thread Greg KH
On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote: > Hi, > > Please pull these lkdtm changes for next. These are all for 4.8-rc1 inclusion, right? Not bugfixes for 4.7-final? thanks, greg k-h

<    3   4   5   6   7   8   9   >