RE: [PATCH 2/4] PCI: rcar: Support runtime PM link state L1 handling in pcie-rcar

2015-12-21 Thread Phil Edworthy
Hi Wolfram, On 18 December 2015 14:04, Wolfram Sang wrote: > > Since the hardware doesn't support hot plug, I believe this loop will > > always exit very quickly. Unless someone has taken a hammer to the HW > > of course. > > I know what you mean. But since readl_poll_timeout() makes it easy, we

Re: [PATCH v4 05/12] arm-cci: PMU: Add support for transactions

2015-12-21 Thread Suzuki K. Poulose
On Fri, Dec 18, 2015 at 12:47:51PM +0100, Peter Zijlstra wrote: > On Fri, Dec 18, 2015 at 10:58:17AM +, Suzuki K. Poulose wrote: > > > We have a global Enable/Disable for CCI PMU and thats what we use > > currently. To be able to reprogram the counters with the event period > > (we program the

[PATCH] Orangefs: fix kzalloc-simple.cocci warnings

2015-12-21 Thread kbuild test robot
fs/orangefs/orangefs-debugfs.c:368:7-14: WARNING: kzalloc should be used for buf, instead of kmalloc/memset Use kzalloc rather than kmalloc followed by memset with 0 This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule, s

Re: [PATCH v5] extcon: add Maxim MAX3355 driver

2015-12-21 Thread Sergei Shtylyov
Hello. On 12/21/2015 5:38 AM, Chanwoo Choi wrote: This patch depend on GPIOLIB configuration as following: I modified it with following diff and applied it. diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index ba4db7d..3d89e60 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/ext

[PATCH 3/3] hisi_sas: use u64 for qw0 in free_device_v1_hw()

2015-12-21 Thread John Garry
By reading in itct.qw0 into a 32b variable the top 32 bits were being lost. In practice this was OK as they were zeroes. Fixes: 27a3f229 ("hisi_sas: Add cq interrupt") Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) d

[PATCH 0/3] hisi_sas v1 hw itct fixes

2015-12-21 Thread John Garry
This patchset introduces some minor fixes for v1 hw itct configuration. John Garry (3): hisi_sas: fix v1 itct masks hisi_sas: fix typo in setup_itct_v1_hw() hisi_sas: use u64 for qw0 in free_device_v1_hw() drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 40 +++--- 1 fi

Re: [PATCH v5 0/3] [media] Fix race between graph enumeration and entities registration

2015-12-21 Thread Javier Martinez Canillas
Hello Mauro, On 12/12/2015 10:50 AM, Mauro Carvalho Chehab wrote: > Em Fri, 11 Dec 2015 19:57:06 -0300 > Javier Martinez Canillas escreveu: > >> Hello, >> >> This series fixes the issue of media device nodes being registered before >> all the media entities and pads links are created so if user-

[PATCH 2/3] hisi_sas: fix typo in setup_itct_v1_hw()

2015-12-21 Thread John Garry
We were doing a arithmetic comparison instead of logical shift by accident. Mis-programming the itct did not seem to make a difference to operation. Fixes: abda97c2fe874 ("hisi_sas: Add dev_found") Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 8 1 file changed

[RESEND PATCH 1/2] cpuacct: rename parameter in cpuusage_write for readability

2015-12-21 Thread Dongsheng Yang
The name of 'reset' makes a little confusion in reading, we would say, if we want to reset usage, return -EINVAL. That's not true. Actually, we want to say, we only allow user to do a reset. This patch rename reset to val and add a comment here, making the code more readable. Signed-off-by: Dongs

Re: IO errors after "block: remove bio_get_nr_vecs()"

2015-12-21 Thread Dan Aloni
On Sun, Dec 20, 2015 at 10:41:44AM -0800, Linus Torvalds wrote: >[..] > Sadly, without CONFIG_LOCALVERSION_AUTO, there's no way to match up > the dmesg files (in the same bisection tar-file as the bisection log) > with the actual versions. Perhaps we can print the Git revision in a manner independ

Re: [PATCH] lightnvm: unlock rq and free ppa_list after submission failed

2015-12-21 Thread Matias Bjørling
On 12/21/2015 08:32 AM, Wenwei Tao wrote: after io submission failed, before free rq, delete rq from rrpc's inflight list, leave no bad item in the list. And free rq's ppa_list to avoid memory leak. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 6 ++ 1 file changed, 6 insertion

[RESEND PATCH 2/2] cpuacct: split usage into user_usage and sys_usage.

2015-12-21 Thread Dongsheng Yang
Sometimes, cpuacct.usage is not detialed enough to user to see how much usage a group used. We want to know how much time it used in user mode and how much in kernel mode. This patch introduce some more files to tell user these informations. # ls /sys/fs/cgroup/cpuacct/cpuacct.usage* /sys/fs/cgro

[PATCH 1/3] hisi_sas: fix v1 itct masks

2015-12-21 Thread John Garry
The mask fields are for quad-words, so add ULL suffix. Also unreferenced ITCT_HDR_BREAK_REPLY and ITCT_HDR_MAX_BURST are removed. Fixes: 50af155b6c ("hisi_sas: Add v1 hardware reg") Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 29 - 1 file c

[PATCH 0/6] misc: add reboot mode driver

2015-12-21 Thread Andy Yan
This driver parse the reboot commands like "reboot loader" and "reboot recovery" to get a boot mode described in the device tree , then call the vendor specific write interfae to store the boot mode in some place like special register or sram , which can be read by the bootloader after system rebo

[PATCH v8 0/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-21 Thread Danny Milosavljevic
Hi, this is the eighth version of the patch set that adds inputs to sun4i-codec. Changes compared to v7 are: - fix the routes for line and mic capturing. The patches are on top of the branch "sunxi-next" in . Regards, Danny --- Danny Milosavljevic (2): sun4i-codec: Add FM, Line and Mic i

[PATCH v8 0/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-21 Thread Danny Milosavljevic
Hi, this is the eighth version of the patch set that adds inputs to sun4i-codec. Changes compared to v7 are: - fix the routes for line and mic capturing. The patches are on top of the branch "sunxi-next" in . Regards, Danny --- Danny Milosavljevic (2): sun4i-codec: Add FM, Line and Mic i

[PATCH 1/6] dt-bindings: misc: add document for reboot-mode driver

2015-12-21 Thread Andy Yan
add device tree bindings document for reboot-mode driver Signed-off-by: Andy Yan --- .../devicetree/bindings/misc/reboot-mode.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/reboot-mode.txt diff --git a/Documen

[linux-sunxi] [PATCH v8 1/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-21 Thread Danny Milosavljevic
This is the first part: sun4i-codec: make it possible to use different codec_widgets for A10 and A20. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 45 ++-- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/sou

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-21 Thread Mika Westerberg
On Fri, Dec 18, 2015 at 05:10:31PM +0100, Benjamin Tissoires wrote: > After turning this around, I think I finally got what was going on (and > yes, it's basically a race that should have been caught long ago): > - during resume, the i2c-hid driver calls reset, which is a long (few > ms) operatio

[PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-21 Thread Danny Milosavljevic
This is the second part, actually adding FM, Line and Mic inputs. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 185 +++- 1 file changed, 181 insertions(+), 4 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunx

[PATCH 2/6] dt-bindings: soc: add document for rockchip reboot-mode driver

2015-12-21 Thread Andy Yan
Add device tree binding document for rockchip reboot-mode driver Signed-off-by: Andy Yan --- .../bindings/soc/rockchip/rockchip,reboot-mode.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/rockchip/rockchip,reboot-mode.

[PATCH 3/6] misc: add reboot mode driver

2015-12-21 Thread Andy Yan
This driver parse the reboot commands like "reboot loader" and "reboot recovery" to get a boot mode described in the device tree , then call the vendor specific write interfae to store the boot mode in some place like special register or sram , which can be read by the bootloader after system reboo

[PATCH 1/1] staging: android: ion: fixes spars warning cast to restricted gfp_t

2015-12-21 Thread Bijosh Thykkoottathil
From: Bijosh Thykkoottathil This patch fixes following sparse warnings: drivers/staging/android/ion/ion.c:1475:21: warning: incorrect type in assignment (different base types) drivers/staging/android/ion/ion.c:1475:21:expected restricted gfp_t [usertype] gfp_mask drivers/staging/android/io

[PATCH 4/6] soc: rockchip: add reboot mode driver

2015-12-21 Thread Andy Yan
rockchip platform have a protocol to pass the kernel reboot mode to bootloader by some special registers when system reboot. By this way the bootloader can take different action according to the different kernel reboot mode, for example, command "reboot loader" will reboot the board to rockusb mode

[PATCH 5/6] ARM: dts: rockchip: add reboot mode node

2015-12-21 Thread Andy Yan
Add reboot mode driver DT node for rk3xxx,rk3288 platform Signed-off-by: Andy Yan --- arch/arm/boot/dts/rk3288.dtsi| 25 +++ arch/arm/boot/dts/rk3xxx.dtsi| 26 include/dt-bindings/soc/rockchip_boot-mode.h | 30

Re: [PATCH] kernel/hung_task.c: use timeout diff when timeout is updated

2015-12-21 Thread Tetsuo Handa
Andrew Morton wrote: > On Thu, 17 Dec 2015 21:23:03 +0900 Tetsuo Handa > wrote: > > > >From 529ff00b556e110c6e801c39e94b06f559307136 Mon Sep 17 00:00:00 2001 > > From: Tetsuo Handa > > Date: Thu, 17 Dec 2015 16:27:08 +0900 > > Subject: [PATCH] kernel/hung_task.c: use timeout diff when timeout i

[PATCH 6/6] ARM64: dts: rockchip: add reboot mode node

2015-12-21 Thread Andy Yan
Add reboot mode driver DT node for rk3368 platform Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index cc09

RE: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks.

2015-12-21 Thread Gabriele Paoloni
Hi Tomasz > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Tomasz Nowicki > Sent: 16 December 2015 15:17 > To: bhelg...@google.com; a...@arndb.de; will.dea...@arm.com; > catalin.mari...@arm.com; r...@rjwysocki.net;

[v10, 4/6] fsl/fman: Add FMan SP support

2015-12-21 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v10, 1/6] fsl/fman: Add FMan MURAM support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v10, 6/6] fsl/fman: Add FMan MAC driver

2015-12-21 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 978

[v10, 0/6] Freescale DPAA FMan

2015-12-21 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v10, 3/6] fsl/fman: Add FMan MAC support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger MAC support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: - dTSEC: Three speed Ethernet controller (10/100/1000 Mbp

Re: [Xen-devel] new barrier type for paravirt (was Re: [PATCH] virtio_ring: use smp_store_mb)

2015-12-21 Thread Michael S. Tsirkin
On Mon, Dec 21, 2015 at 10:47:49AM +, David Vrabel wrote: > On 20/12/15 09:25, Michael S. Tsirkin wrote: > > > > I noticed that drivers/xen/xenbus/xenbus_comms.c uses > > full memory barriers to communicate with the other side. > > For example: > > > > /* Must write data /afte

Re: [PATCH V16 11/11] x86,cgroup/intel_rdt : Add a cgroup interface to manage Intel cache allocation

2015-12-21 Thread Marcelo Tosatti
On Sat, Dec 19, 2015 at 11:42:57AM +0100, Thomas Gleixner wrote: > On Thu, 17 Dec 2015, Fenghua Yu wrote: > > > From: Fenghua Yu > > > > From: Vikas Shivappa > > > > Add a new cgroup 'intel_rdt' to manage cache allocation. Each cgroup > > directory is associated with a class of service id(clos

[v10, 2/6] fsl/fman: Add FMan support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

Re: [PATCH V16 00/11] x86: Intel Cache Allocation Technology Support

2015-12-21 Thread Marcelo Tosatti
On Fri, Dec 18, 2015 at 11:45:29AM -0600, Christoph Lameter wrote: > On Thu, 17 Dec 2015, Fenghua Yu wrote: > > > Intel Cache allocation support: > > > > Cache allocation patches adds a cgroup subsystem to support the new > > Cache Allocation feature found in future Intel Xeon Intel proces

Re: [PATCH v5 0/5] Add memory mapped read support for ti-qspi

2015-12-21 Thread Vignesh R
On 12/11/2015 09:39 AM, Vignesh R wrote: > Changes since v4: > Use syscon to access system control module register in ti-qspi driver. > > Changes since v3: > Rework to introduce spi_flash_read_message struct. > Support different opcode/addr/data formats as per Brian's suggestion > here: https://

[PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Vikas Bansal
Pre-Condition At the time of reset resume of a USB device, both self and bus powered devices might go to a low power state or power off state depending on the acceptable suspend time power of the system. In case the device experiences a power glitch or completely powers off during suspend-re

[v10, 5/6] fsl/fman: Add FMan Port Support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Lorenzo Pieralisi
On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: [...] > Here is what I have as an IO resource. > > QWORDIO(//Consumed-And-produced resource > ResourceProducer, // bit 0 of general flags is 0 >

Re: [RFC] theoretical race between memory hotplug and pfn iterator

2015-12-21 Thread Joonsoo Kim
2015-12-21 17:00 GMT+09:00 Zhu Guihua : > > On 12/21/2015 03:17 PM, Joonsoo Kim wrote: >> >> On Mon, Dec 21, 2015 at 03:00:08PM +0800, Zhu Guihua wrote: >>> >>> On 12/21/2015 11:15 AM, Joonsoo Kim wrote: Hello, memory-hotplug folks. I found theoretical problems between memory ho

[PATCH] Adding Reset resume support for CDC-EEM driver.

2015-12-21 Thread Vikas Bansal
Pre-Condition At the time of reset resume of a USB device, both self and bus powered devices might go to a low power state or power off state depending on the acceptable suspend time power of the system. In case the device experiences a power glitch or completely powers off during suspend-re

OOM killer kicks in after minutes or never

2015-12-21 Thread Marcin Szewczyk
Hi, In 2010 I noticed that viewing many GIFs in a row using gpicview renders my Linux unresponsive. There is very little I can do in such a situation. Rarely after some minutes the OOM killer kicks in and saves the day. Nevertheless, usually I end up using Alt+SysRq+B. This is the second computer

Re: [PATCH v5 1/3] [media] media-device: check before unregister if mdev was registered

2015-12-21 Thread Javier Martinez Canillas
Hello Mauro, On 12/15/2015 07:41 AM, Mauro Carvalho Chehab wrote: > Em Fri, 11 Dec 2015 16:36:27 -0700 > Shuah Khan escreveu: > >> On 12/11/2015 03:57 PM, Javier Martinez Canillas wrote: >>> Most media functions that unregister, check if the corresponding register >>> function succeed before. So

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > +Viresh > > On Mon, Dec 21, 2015 at 2:58 AM, Måns Rullgård wrote: >> Andy Shevchenko writes: >> >>> On Sun, Dec 20, 2015 at 8:49 PM, Måns Rullgård wrote: Julian Margetson writes: > On 12/20/2015 1:11 PM, Måns Rullgård wrote: >> Julian Margetson writes:

[PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Vikas Bansal
From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is set for all TRBs in a TD so that the DMA happens to all of them at once. Is

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Julian Margetson writes: > On 12/21/2015 4:40 AM, Andy Shevchenko wrote: >> +Viresh >> >> On Mon, Dec 21, 2015 at 2:58 AM, Måns Rullgård wrote: >>> Andy Shevchenko writes: >>> On Sun, Dec 20, 2015 at 8:49 PM, Måns Rullgård wrote: > Julian Margetson writes: >> On 12/20/2015 1:11 P

Re: [PATCH 1/3] tree wide: get rid of __GFP_REPEAT for order-0 allocations part I

2015-12-21 Thread Vlastimil Babka
On 12/01/2015 05:27 PM, Michal Hocko wrote: On Mon 30-11-15 18:02:33, Vlastimil Babka wrote: [...] So the issue I see with simply renaming __GFP_REPEAT to __GFP_BEST_AFFORD and making it possible to fail for low orders, is that it will conflate the new failure possibility with the existing "try

Re: [PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-21 Thread Joonsoo Kim
2015-12-21 19:46 GMT+09:00 Vlastimil Babka : > On 12/21/2015 07:13 AM, Joonsoo Kim wrote: >> >> There is a performance drop report due to hugepage allocation and in there >> half of cpu time are spent on pageblock_pfn_to_page() in compaction [1]. >> In that workload, compaction is triggered to make

Re: [PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Sergei Shtylyov
Hello. On 12/21/2015 3:15 PM, Vikas Bansal wrote: From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is set for all TRBs in a TD s

OOM killer kicks in after minutes or never

2015-12-21 Thread Marcin Szewczyk
Hi, In 2010 I noticed that viewing many GIFs in a row using gpicview renders my Linux unresponsive. There is very little I can do in such a situation. Rarely after some minutes the OOM killer kicks in and saves the day. Nevertheless, usually I end up using Alt+SysRq+B. This is the second computer

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Will Deacon
On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pinski wrote: > The problem here is that GCC 6 and above emits .arch now > for each function so now the global .arch_extension has > no effect. This fixes the problem by putting > .arch_extension inside ARM64_LSE_ATOMIC_INSN so > it is enabled for e

Re: [PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-21 Thread Joonsoo Kim
2015-12-21 21:18 GMT+09:00 Joonsoo Kim : > 2015-12-21 19:46 GMT+09:00 Vlastimil Babka : >> On 12/21/2015 07:13 AM, Joonsoo Kim wrote: >>> >>> There is a performance drop report due to hugepage allocation and in there >>> half of cpu time are spent on pageblock_pfn_to_page() in compaction [1]. >>> I

[PATCH] drm: vblank: Use POSIX date for DRM_INFO output

2015-12-21 Thread Sedat Dilek
Signed-off-by: Sedat Dilek --- drivers/gpu/drm/drm_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 607f493ae801..682cd4b3ba10 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c @@ -361,7 +361

Re: [PATCH] pinctrl: mediatek: convert to arch_initcall

2015-12-21 Thread Yingjoe Chen
On Mon, 2015-12-21 at 14:51 +0800, Daniel Kurtz wrote: > On Fri, Dec 18, 2015 at 11:06 PM, Yingjoe Chen > wrote: > > On Fri, 2015-12-18 at 12:21 +0800, Daniel Kurtz wrote: > >> Move pinctrl initialization earlier in boot so that real devices can find > >> their pctldev without probe deferring. > >

Re: [PATCH] trace-cmd: Print relate stacktrace at once

2015-12-21 Thread Joonsoo Kim
2015-12-21 16:54 GMT+09:00 Namhyung Kim : > From: Namhyung Kim > > Currently trace-cmd prints ring buffer events in a strict time order. > But it sometimes annoying that stacktrace from the same cpu can be > intermixed with events from other cpu. This patch looks next event when > print last reco

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Tomasz Nowicki
On 21.12.2015 13:10, Lorenzo Pieralisi wrote: On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: [...] Here is what I have as an IO resource. QWORDIO(//Consumed-And-produced resource ResourceProducer, //

Re: WANTED new maintainer for Linux/md (and mdadm)

2015-12-21 Thread Phil Turmel
On 12/21/2015 01:10 AM, NeilBrown wrote: > In recent times I've been doing less of this and have been absolutely > thrilled that the gap has been more than filled by other very competent > community members. Not developers particular but a number of md users > have been providing excellent su

Re: [PATCH] pinctrl: mediatek: convert to arch_initcall

2015-12-21 Thread Daniel Kurtz
On Mon, Dec 21, 2015 at 8:39 PM, Yingjoe Chen wrote: > > On Mon, 2015-12-21 at 14:51 +0800, Daniel Kurtz wrote: > > On Fri, Dec 18, 2015 at 11:06 PM, Yingjoe Chen > > wrote: > > > On Fri, 2015-12-18 at 12:21 +0800, Daniel Kurtz wrote: > > >> Move pinctrl initialization earlier in boot so that rea

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Ard Biesheuvel
On 21 December 2015 at 13:38, Will Deacon wrote: > On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pinski wrote: >> The problem here is that GCC 6 and above emits .arch now >> for each function so now the global .arch_extension has >> no effect. This fixes the problem by putting >> .arch_extensi

Re: [PATCH] ARM64: Improve copy_page for 128 cache line sizes.

2015-12-21 Thread Will Deacon
On Sat, Dec 19, 2015 at 04:11:18PM -0800, Andrew Pinski wrote: > Adding a check for the cache line size is not much overhead. > Special case 128 byte cache line size. > This improves copy_page by 85% on ThunderX compared to the > original implementation. So this patch seems to: - Align the loop

[PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Vikas Bansal
From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is set for all TRBs in a TD so that the DMA happens to all of them at once. Is

Re: [PATCH] mm: page_alloc: Remove unnecessary parameter from __rmqueue

2015-12-21 Thread Vlastimil Babka
On 12/02/2015 04:08 PM, Mel Gorman wrote: Commit 0aaa29a56e4f ("mm, page_alloc: reserve pageblocks for high-order atomic allocations on demand") added an unnecessary and unused parameter to __rmqueue. It was a parameter that was used in an earlier version of the patch and then left behind. This p

Re: [PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Oliver Neukum
On Mon, 2015-12-21 at 17:34 +0530, Vikas Bansal wrote: > Pre-Condition > At the time of reset resume of a USB device, both self and bus powered > devices might go to a low power state or power off state depending on the > acceptable suspend time power of the system. > In case the device exper

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Will Deacon
On Mon, Dec 21, 2015 at 01:46:22PM +0100, Ard Biesheuvel wrote: > On 21 December 2015 at 13:38, Will Deacon wrote: > > On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pinski wrote: > >> The problem here is that GCC 6 and above emits .arch now > >> for each function so now the global .arch_extensi

Re: [PATCH V16 00/11] x86: Intel Cache Allocation Technology Support

2015-12-21 Thread Christoph Lameter
On Fri, 18 Dec 2015, Marcelo Tosatti wrote: > > Could you also support another low level interface where a task (or > > process) can set the CLOS id itself if it has CAP_SYS_NICE. > > Hi Christoph, > > Do you have a proposal for an interface? Syscall set_closid(int closid) for an app. The CLOS id

[PATCH 2/2] clk: tegra: Use definition for pll_u override bit

2015-12-21 Thread Jon Hunter
The definition, PLLU_BASE_OVERRIDE, for the pll_u OVERRIDE bit is defined but not used and when the OVERRIDE bit is cleared in tegra210_pll_init() the code directly uses the bit number. Therefore, use the definition, PLLU_BASE_OVERRIDE when clearing the OVERRIDE bit. Signed-off-by: Jon Hunter ---

[PATCH 1/2] clk: tegra: Fix warning caused by pll_u failing to lock

2015-12-21 Thread Jon Hunter
If the pll_u is not configured by the bootloader, then on kernel boot the following warning is seen: clk_pll_wait_for_lock: Timed out waiting for pll pll_u_vco lock tegra_init_from_table: Failed to enable pll_u_out1 [ cut here ] WARNING: at drivers/clk/tegra/clk.c:269

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Ard Biesheuvel
On 21 December 2015 at 13:51, Will Deacon wrote: > On Mon, Dec 21, 2015 at 01:46:22PM +0100, Ard Biesheuvel wrote: >> On 21 December 2015 at 13:38, Will Deacon wrote: >> > On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pinski wrote: >> >> The problem here is that GCC 6 and above emits .arch now

Re: [PATCH 1/2] ARM: dts: TS-4800: drop uart rts/cts pin reservations

2015-12-21 Thread Shawn Guo
On Thu, Dec 17, 2015 at 04:16:52PM -0500, Damien Riegel wrote: > These pins are actually not routed for UARTs, they should not be > reserved. > > Signed-off-by: Damien Riegel Applied both, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Russell King - ARM Linux
On Mon, Dec 21, 2015 at 01:46:22PM +0100, Ard Biesheuvel wrote: > On 21 December 2015 at 13:38, Will Deacon wrote: > > On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pinski wrote: > >> The problem here is that GCC 6 and above emits .arch now > >> for each function so now the global .arch_extensi

Re: [PATCH 5/9] usb: xhci: use list_for_each_entry

2015-12-21 Thread Mathias Nyman
On 18.12.2015 20:30, Julia Lawall wrote: Geliang, Please check whether it is acceptable that last_unlinked_td point to the dummy entry at th beginning of the list, in the case where the list_for_each_entry loop runs out normally. It seems that you have sent a bunch of these patches. Please rec

[PATCH] Adding Reset resume support for CDC-EEM driver.

2015-12-21 Thread Vikas Bansal
Pre-Condition At the time of reset resume of a USB device, both self and bus powered devices might go to a low power state or power off state depending on the acceptable suspend time power of the system. In case the device experiences a power glitch or completely powers off during suspend-re

[BUG REPORT]: ARM64: perf: System hung in perf test

2015-12-21 Thread Wangnan (F)
System hung can be reproduced on qemu and real hardware using: # perf test -v signal If qemu is started with '-smp 1', system hung. In real hardware and in qemu with smp > 1, the result is: # /perf test -v signal 17: Test breakpoint overflow signal handler : --- start ---

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-21 Thread Christoph Lameter
On Fri, 18 Dec 2015, Sasha Levin wrote: > [ 531.164630] RIP vmstat_update (mm/vmstat.c:1408) Hmmm.. Yes we need to fold the diffs first before disabling the timer otherwise the shepherd task may intervene. Does this patch fix it? Subject: quiet_vmstat: Avoid race with shepherd by folding coun

Re: [PATCH] mempolicy: convert the shared_policy lock to a rwlock

2015-12-21 Thread Vlastimil Babka
On 11/17/2015 05:17 PM, Nathan Zimmer wrote: When running the SPECint_rate gcc on some very large boxes it was noticed that the system was spending lots of time in mpol_shared_policy_lookup. The gamess benchmark can also show it and is what I mostly used to chase down the issue since the setup fo

Re: [PATCH 2/4] PCI: rcar: Support runtime PM link state L1 handling in pcie-rcar

2015-12-21 Thread Geert Uytterhoeven
Hi Phil, (this time with full CC list) On Mon, Dec 21, 2015 at 11:52 AM, Phil Edworthy wrote: > On 18 December 2015 14:04, Wolfram Sang wrote: >> > Since the hardware doesn't support hot plug, I believe this loop will >> > always exit very quickly. Unless someone has taken a hammer to the HW >>

Re: net, ipv6: out of bounds access in secret_stable

2015-12-21 Thread Sasha Levin
On 12/21/2015 03:58 AM, Hannes Frederic Sowa wrote: > On 19.12.2015 21:50, Cong Wang wrote: >> On Fri, Dec 18, 2015 at 5:13 PM, Sasha Levin wrote: >>> Hi Hannes, >>> >>> I've hit the following out of bounds access while fuzzing on the latest >>> -next kernel. >>> >>> This code was added in 3d1bec

[PATCH 1/2] ASoC: rt5616: add an of_match table

2015-12-21 Thread Caesar Wang
Add a device tree match table. This serves to make the driver's support of device tree more explicit. Signed-off-by: Caesar Wang --- sound/soc/codecs/rt5616.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c index f4005cb..e01a32

[PATCH 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Caesar Wang
Add the description for rt5616 codec. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/sound/rt5616.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/rt5616.txt diff --git a/Documentation/devicetree/bin

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 8:16 AM, Måns Rullgård wrote: Julian Margetson writes: On 12/21/2015 4:40 AM, Andy Shevchenko wrote: +Viresh On Mon, Dec 21, 2015 at 2:58 AM, Måns Rullgård wrote: Andy Shevchenko writes: On Sun, Dec 20, 2015 at 8:49 PM, Måns Rullgård wrote: Julian Margetson writes: On

Re: [PATCH 5/5] hwmon: (sch56xx) Drop watchdog driver data reference count callbacks

2015-12-21 Thread Guenter Roeck
Hi Hans, On 12/21/2015 02:37 AM, Hans de Goede wrote: Hi, On 20-12-15 22:05, Guenter Roeck wrote: Reference counting is now implemented in the watchdog core and no longer required in watchdog drivers. Signed-off-by: Guenter Roeck --- drivers/hwmon/sch56xx-common.c | 30

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Julian Margetson writes: P.S. Anyway we have to ask Julian to try the kernel with 8b3444852a2b58129 reverted. >>> git revert 8b3444852a2b58129 >>> error: could not revert 8b34448... sata_dwc_460ex: move to generic DMA >>> driver >>> hint: after resolving the conflicts, mark the co

[PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Mika Westerberg
When an i2c-hid device is resumed from system sleep the driver resets the device to be sure it is in known state. The device is expected to issue an interrupt when reset is complete. This reset might take few milliseconds to complete so if the HID driver on top (hid-rmi) starts to set up the devic

Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support

2015-12-21 Thread Shawn Guo
On Fri, Dec 18, 2015 at 12:00:32PM -0500, Damien Riegel wrote: > This commit adds LCD support for the TS-4800. The panel is an Okaya > RS800480T-7X0WQ and the timings have been extracted from Technologic > Systems' tree. > > Signed-off-by: Damien Riegel > --- > arch/arm/boot/dts/imx51-ts4800.dts

[PATCH] [media] uvcvideo: Only register media dev if MEDIA_CONTROLLER is defined

2015-12-21 Thread Javier Martinez Canillas
Commit 1590ad7b5271 ("[media] media-device: split media initialization and registration") split the media dev initialization and registration but introduced a build error since media_device_register() was called unconditionally even when the MEDIA_CONTROLLER config was not enabled: from drivers/me

Re: [PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-21 Thread Will Deacon
On Mon, Dec 21, 2015 at 01:58:30PM +0100, Ard Biesheuvel wrote: > On 21 December 2015 at 13:51, Will Deacon wrote: > > On Mon, Dec 21, 2015 at 01:46:22PM +0100, Ard Biesheuvel wrote: > >> On 21 December 2015 at 13:38, Will Deacon wrote: > >> > On Fri, Dec 18, 2015 at 08:17:35PM -0800, Andrew Pins

Re: [PATCH] ARM64: Improve copy_page for 128 cache line sizes.

2015-12-21 Thread Arnd Bergmann
On Monday 21 December 2015, Will Deacon wrote: > On Sat, Dec 19, 2015 at 04:11:18PM -0800, Andrew Pinski wrote: > > Adding a check for the cache line size is not much overhead. > > Special case 128 byte cache line size. > > This improves copy_page by 85% on ThunderX compared to the > > original imp

Re: [PATCH V16 11/11] x86,cgroup/intel_rdt : Add a cgroup interface to manage Intel cache allocation

2015-12-21 Thread Thomas Gleixner
On Sat, 19 Dec 2015, Marcelo Tosatti wrote: > On Sat, Dec 19, 2015 at 11:42:57AM +0100, Thomas Gleixner wrote: > > This is still the original crap. No, we are not introducing this > > interface now just because we can. I explained in great length why > > this is completely useless and what we reall

Re: [PATCH 1/2] ARM: dts: vf-colibri: split PWM pinctrl

2015-12-21 Thread Shawn Guo
On Sun, Dec 13, 2015 at 06:53:35PM -0800, Stefan Agner wrote: > On 2015-12-13 18:18, Shawn Guo wrote: > > On Wed, Dec 02, 2015 at 02:11:46PM -0800, Stefan Agner wrote: > >> Split PWM pins into separate pinctrl nodes to allow overrides which > >> select pins individually. This is useful for carrier

[PATCH] orangefs: fix typo in ornagefs_inode_lock

2015-12-21 Thread Arnd Bergmann
Orangefs fails to build on 32-bit SMP configurations due to a simple misspelling, this does the obvious fix. Signed-off-by: Arnd Bergmann Fixes: 575e946125f7 ("Orangefs: change pvfs2 filenames to orangefs") --- fs/orangefs/orangefs-kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] media: i2c: ov2659: speedup probe if no device connected

2015-12-21 Thread Grygorii Strashko
The ov2659 driver performs device detection and initialization in the following way: - send reset command REG_SOFTWARE_RESET - load array of predefined register's setting (~150 values) - read device version REG_SC_CHIP_ID_H/REG_SC_CHIP_ID_L - check version and exit if invalid. As result, for n

Re: [BUG REPORT]: ARM64: perf: System hung in perf test

2015-12-21 Thread Will Deacon
On Mon, Dec 21, 2015 at 08:56:03PM +0800, Wangnan (F) wrote: > System hung can be reproduced on qemu and real hardware using: > > # perf test -v signal > > If qemu is started with '-smp 1', system hung. In real hardware and in > qemu with smp > 1, the result is: That sounds like a qemu issue...

Re: next-20151221 build: 2 failures 13 warnings (next-20151221)

2015-12-21 Thread Arnd Bergmann
Just looking at the remaining warnings/errors in linux-next: On Monday 21 December 2015, Build bot for Mark Brown wrote: > ../fs/orangefs/orangefs-kernel.h:773:2: error: implicit declaration of > function 'ornagefs_inode_lock' [-Werror=implicit-function-declaration] > ../fs/orangefs/orangefs-kern

Re: [PATCH 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Heiko Stübner
Am Montag, 21. Dezember 2015, 21:18:14 schrieb Caesar Wang: > Add the description for rt5616 codec. > > Signed-off-by: Caesar Wang > --- > > Documentation/devicetree/bindings/sound/rt5616.txt | 38 > ++ 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devi

Re: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks.

2015-12-21 Thread Arnd Bergmann
On Monday 21 December 2015, Gabriele Paoloni wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Tomasz Nowicki > > Some platforms may not be fully compliant with generic set of PCI > > config accessors. F

[PATCH] x86/efi-bgrt: Replace early_memremap() with memremap()

2015-12-21 Thread Matt Fleming
Môshe reported the following warning triggered on his machine since commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT data"), [0.026936] [ cut here ] [0.026941] WARNING: CPU: 0 PID: 0 at mm/early_ioremap.c:137 __early_ioremap+0x102/0x1bb()

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Benjamin Tissoires
On Dec 21 2015 or thereabouts, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. > > This reset might take few milliseconds to complete

[PATCH 2/2] irqchip/gic: Only populate set_affinity for the root controller

2015-12-21 Thread Jon Hunter
Setting the affinity of an IRQ, it only applicable for the root interrupt controller and so only populate this operator for the root controller. Signed-off-by: Jon Hunter --- drivers/irqchip/irq-gic.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/

<    1   2   3   4   5   6   7   8   9   >