Re: [RFC PATCH v2 1/3] PCI: rockchip: Add support for pcie wake irq

2017-08-18 Thread Shawn Lin
Hi Jeffy On 2017/8/17 20:04, Jeffy Chen wrote: Add support for PCIE_WAKE pin in rockchip pcie driver. Signed-off-by: Jeffy Chen --- Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris

[PATCH 03/13] ALSA: atmel: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/atmel/ac97c.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 08/13] ALSA: pcmcia: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | 2 +- 1 file changed, 1

Re: [PATCH v4 04/21] doc: media/v4l-drivers: Add Qualcomm Camera Subsystem driver document

2017-08-18 Thread Hans Verkuil
Hi Todor, A few small comments below: On 08/08/2017 03:30 PM, Todor Tomov wrote: > Add a document to describe Qualcomm Camera Subsystem driver. > > Signed-off-by: Todor Tomov > --- > Documentation/media/v4l-drivers/qcom_camss.rst | 124 > + > 1

[PATCH 02/13] ALSA: arm: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/arm/aaci.c | 4 ++-- sound/arm/pxa2xx-pcm.c | 2 +-

[PATCH 00/13] constify alsa snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Arvind Yadav (13): [PATCH 01/13] ALSA: aoa: constify snd_pcm_ops structures [PATCH 02/13] ALSA: arm: constify snd_pcm_ops

[PATCH 05/13] ALSA: firewire: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/firewire/isight.c| 2 +-

Re: [PATCH 3/3] KVM: x86: fix use of L1 MMIO areas in nested guests

2017-08-18 Thread David Hildenbrand
On 17.08.2017 18:36, Paolo Bonzini wrote: > There is currently some confusion between nested and L1 GPAs. The > assignment to "direct" in kvm_mmu_page_fault tries to fix that, but > it is not enough. What this patch does is fence off the MMIO cache > completely when using shadow nested page

Re: [PATCH] ALSA: usb-audio: don't retry snd_usb_ctl_msg after timeout

2017-08-18 Thread Takashi Iwai
On Fri, 18 Aug 2017 00:17:46 +0200, Stephen Barber wrote: > > A few calls to snd_usb_ctl_msg wrap the function in a retry loop. In > the worst case, the timeout for snd_usb_ctl_msg is 5 seconds, which when > retried 10 times (for example, if a device is removed) could cause a > probe to hang for

[PATCH v6 2/3] ARM: dts: Add LVDS info for rk3288

2017-08-18 Thread Sandy Huang
add LVDS info in rk3288.dtsi for LVDS driver This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3288.dtsi | 52

Re: [PATCH] usb: xhci: Renesas uPD720202 needs short TX quirk

2017-08-18 Thread Felipe Balbi
Hi, Kai-Heng Feng writes: >>> When plugging Logitech C920 webcam, warning messages filled up dmesg: >>> [77117.655018] xhci_hcd :0c:00.0: WARN Successful completion on short >>> TX: needs XHCI_TRUST_TX_LENGTH quirk? >>> [77117.659018] xhci_hcd :0c:00.0:

[PATCH -tip v3 1/2] kprobes/x86: Make insn buffer always ROX and use text_poke

2017-08-18 Thread Masami Hiramatsu
Make insn buffer always ROX and use text_poke() to write the copied instructions instead of set_memory_*(). This makes instruction buffer stronger against other kernel subsystems because there is no window time to modify the buffer. Suggested-by: Ingo Molnar Signed-off-by:

Re: [PATCH] ceph: check negative offsets on ceph_llseek()

2017-08-18 Thread Ilya Dryomov
On Thu, Aug 17, 2017 at 8:40 PM, Luis Henriques wrote: > Ilya Dryomov writes: > >> On Thu, Aug 17, 2017 at 3:45 PM, Luis Henriques wrote: >>> Luis Henriques writes: >>> When a user requests SEEK_HOLE or

[PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread yinbo.zhu
From: "yinbo.zhu" Fix the issue that usb is not detected on ls1088ardb Signed-off-by: yinbo.zhu Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8

Re: [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-18 Thread Wei Wang
On 08/18/2017 10:13 AM, Michael S. Tsirkin wrote: On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote: Add a new vq to report hints of guest free pages to the host. Please add some text here explaining the report_free_page_signal thing. I also really think we need some kind of ID in the

[PATCH v3 0/5] perf annotate: Support --show-nr-samples and circulating view

2017-08-18 Thread Taeung Song
Hello, Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. And support the three view based on percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent -> Period -> Samples -> Percent ... I'd appreciate

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-08-18 Thread Michal Hocko
I am getting mm/compaction.c: In function 'isolate_freepages_block': mm/compaction.c:469:4: error: implicit declaration of function 'pageblock_skip_persistent' [-Werror=implicit-function-declaration] if (pageblock_skip_persistent(page, order)) { ^ mm/compaction.c:470:5: error: implicit

Re: [PATCH] kvm: VMX: do not use vm-exit instruction length for fast MMIO

2017-08-18 Thread Jason Wang
On 2017年08月16日 22:10, Michael S. Tsirkin wrote: On Wed, Aug 16, 2017 at 03:34:54PM +0200, Paolo Bonzini wrote: Microsoft pointed out privately to me that KVM's handling of KVM_FAST_MMIO_BUS is invalid. Using skip_emulation_instruction is invalid in EPT misconfiguration vmexit handlers,

[PATCH 3/6] dpaa_eth: enable Rx hashing control

2017-08-18 Thread Madalin Bucur
Allow ethtool control of the Rx flow hashing. By default RSS is enabled, this allows to turn it off by bypassing the FMan Keygen block and sending all traffic on the default Rx frame queue. Signed-off-by: Madalin Bucur ---

[PATCH 0/6] Add RSS to DPAA 1.x Ethernet driver

2017-08-18 Thread Madalin Bucur
This patch set introduces Receive Side Scaling for the DPAA Ethernet driver. Documentation is updated with details related to the new feature and limitations that apply. Added also a small fix. Iordache Florinel-R70177 (1): fsl/fman: enable FMan Keygen Madalin Bucur (5): dpaa_eth: use

[tip:irq/core] irqchip/gic-v3-its: Report that effective affinity is a single target

2017-08-18 Thread tip-bot for Marc Zyngier
Commit-ID: 0d224d3508f5ba67438b921fc37cf179c9652f20 Gitweb: http://git.kernel.org/tip/0d224d3508f5ba67438b921fc37cf179c9652f20 Author: Marc Zyngier AuthorDate: Fri, 18 Aug 2017 09:39:18 +0100 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

[tip:irq/core] irqchip/armada-370-xp: Report that effective affinity is a single target

2017-08-18 Thread tip-bot for Marc Zyngier
Commit-ID: e31793a3e51137a910b827b18e532d6c1fa54514 Gitweb: http://git.kernel.org/tip/e31793a3e51137a910b827b18e532d6c1fa54514 Author: Marc Zyngier AuthorDate: Fri, 18 Aug 2017 09:39:19 +0100 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

[tip:irq/core] irqchip/gic-v3: Report that effective affinity is a single target

2017-08-18 Thread tip-bot for Marc Zyngier
Commit-ID: 956ae91ae8761f2cd8cd7b8d6cb90fd4d0b8a596 Gitweb: http://git.kernel.org/tip/956ae91ae8761f2cd8cd7b8d6cb90fd4d0b8a596 Author: Marc Zyngier AuthorDate: Fri, 18 Aug 2017 09:39:17 +0100 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

[tip:irq/urgent] MAINTAINERS: Remove Jason Cooper's irqchip git tree

2017-08-18 Thread tip-bot for Florian Fainelli
Commit-ID: 7374bfb82e3844abcc5a5b8034620d80b92b820d Gitweb: http://git.kernel.org/tip/7374bfb82e3844abcc5a5b8034620d80b92b820d Author: Florian Fainelli AuthorDate: Thu, 27 Jul 2017 15:47:33 -0700 Committer: Thomas Gleixner CommitDate: Fri, 18

Re: [PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
On Fri, Aug 18, 2017 at 12:59:50PM +0530, Varadarajan Narayanan wrote: > v9: > Incorporate Stanimir's feedback for > PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Forgot to mention that the patches were rebased against Bjorn's pci.git/next. Thanks Varada > Add Stanimir's Ack

[PATCH v3 0/3] STM32 CRYP crypto driver

2017-08-18 Thread Fabien Dessenne
This set of patches adds a new crypto driver for STMicroelectronics stm32 HW. This drivers uses the crypto API and provides with HW-enabled AEAD and block cipher algorithms. It makes use of the crypto engine which is upgraded in order to support AEAD requests. This driver was successfully tested

[PATCH v3 1/3] crypto: engine - permit to enqueue aead_request

2017-08-18 Thread Fabien Dessenne
The current crypto engine allows ablkcipher_request and ahash_request to be enqueued. Extend this to aead_request. Signed-off-by: Fabien Dessenne --- crypto/crypto_engine.c | 101 include/crypto/engine.h | 16 2

[PATCH v3 2/3] dt-bindings: Document STM32 CRYP bindings

2017-08-18 Thread Fabien Dessenne
Document device tree bindings for the STM32 CRYP. Signed-off-by: Fabien Dessenne Acked-by: Rob Herring --- .../devicetree/bindings/crypto/st,stm32-cryp.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644

[tip:x86/urgent] x86: Constify attribute_group structures

2017-08-18 Thread tip-bot for Arvind Yadav
Commit-ID: 45bd07ad82622fb7c8dd7504d976b7dd11568965 Gitweb: http://git.kernel.org/tip/45bd07ad82622fb7c8dd7504d976b7dd11568965 Author: Arvind Yadav AuthorDate: Thu, 20 Jul 2017 17:00:32 +0530 Committer: Thomas Gleixner CommitDate: Fri, 18

Re: [PATCH 0/4] Patches to support ring0 SVM and devtlb

2017-08-18 Thread Joerg Roedel
Hi Ashok, On Tue, Aug 15, 2017 at 07:59:29AM -0700, Raj, Ashok wrote: > I haven't received any update to this patchset.. > > Could you help get this merged through your tree? we have tested this > series internally. The mm-notifier patch needs acks or rb from mm-developers before I can merge

Re: [PATCH] MIPS: dts: ralink: Add Mediatek MT7628A SoC

2017-08-18 Thread Harvey Hunt
Hi Rob, Thanks for the review. On 17/08/17 22:34, Rob Herring wrote: On Tue, Aug 15, 2017 at 05:28:50PM +0100, Harvey Hunt wrote: The MT7628A is the successor to the MT7620 and pin compatible with the MT7688A, although the latter supports only a 1T1R antenna rather than a 2T2R antenna. This

Re: [PATCH v4] livepatch: introduce shadow variable API

2017-08-18 Thread Petr Mladek
On Thu 2017-08-17 12:01:33, Joe Lawrence wrote: > On 08/17/2017 10:05 AM, Petr Mladek wrote: > >> diff --git a/kernel/livepatch/shadow.c b/kernel/livepatch/shadow.c > >> new file mode 100644 > >> index ..0ebd4b635e4f > >> --- /dev/null > >> +++ b/kernel/livepatch/shadow.c > >> +/** >

Re: [PATCH] iommu: Avoid NULL group dereference

2017-08-18 Thread Joerg Roedel
On Thu, Aug 17, 2017 at 05:56:23PM +0100, Robin Murphy wrote: > On 17/08/17 16:41, Joerg Roedel wrote: > > Okay, so just to check I got it right: Drivers do the above to check > > whether a device is managed by an IOMMU, and that crashes now because > > the 'group == NULL' check was removed? > >

[PATCH] genirq: Restore trigger settings in irq_modify_status

2017-08-18 Thread Marc Zyngier
irq_modify_status starts by clearing the trigger settings from irq_data before applying the new settings, but doesn't restore them, leaving them to IRQ_TYPE_NONE. That's pretty confusing to the potential request_irq that could follow. Instead, let's snapshot the settings before clearing them, and

Re: [PATCH] net: stmmac: socfgpa: Ensure emac bit set in sys manager for MII/GMII/SGMII.

2017-08-18 Thread Sergei Shtylyov
Hello! On 8/18/2017 9:55 AM, Stephan Gatzka wrote: When using MII/GMII/SGMII in the Altera SoC, the phy needs to be wired through the FPGA. To ensure correct behavior, the appropriate bit in the System Manager FPGA Interface Group register needs to be set. Signed-off-by: Stephan Gatzka

[PATCH] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-18 Thread Vadim Lomovtsev
While running nfs/connectathon tests kernel NULL-pointer exception has been observed due to races in svcsock.c. Race is appear when kernel accepts connection by kernel_accept (which creates new socket) and start queuing ingress packets to new socket. This happanes in ksoftirq context which

Re: [PATCH v2] f2fs: free_user_blocks should use reserved_segments instead

2017-08-18 Thread Yunlong Song
ping... On 2017/8/15 15:14, Yunlong Song wrote: The part (overprovision_segments - reserved_segments) can still be used for LFS in some case, e.g., there are lots of invalid block from dirty segments, then the part (overprovision_segments - reserved_segments) can be safely used. So

[PATCH] clk: make clk_init_data const

2017-08-18 Thread Bhumika Goyal
Make these const as they are only stored in the init field of a clk_hw structure, which is const. Signed-off-by: Bhumika Goyal --- To test changes in clk-common.c, I compiled clk-atlas6.c and clk-prima2.c as it gets included in these two files. drivers/clk/clk-twl6040.c

Re: [PATCH blktests v2] loop/002: Regression testing for loop device flush

2017-08-18 Thread James Wang
No problem thank you sir 发自我的 iPhone > 在 2017年8月18日,16:11,Omar Sandoval 写道: > >> On Tue, Jun 27, 2017 at 12:01:47PM +0800, James Wang wrote: >> Add a regression testing for loop device. when an unbound device >> be close that take too long time. kernel will consume

[tip:irq/urgent] genirq: Restore trigger settings in irq_modify_status()

2017-08-18 Thread tip-bot for Marc Zyngier
Commit-ID: e8f241893dfbbebe2813c01eac54f263e6a5e59c Gitweb: http://git.kernel.org/tip/e8f241893dfbbebe2813c01eac54f263e6a5e59c Author: Marc Zyngier AuthorDate: Fri, 18 Aug 2017 10:53:45 +0100 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

Re: [PATCH] xen/events: events_fifo: Don't use {get,put}_cpu() in xen_evtchn_fifo_init()

2017-08-18 Thread Julien Grall
Hi Boris, On 17/08/17 18:36, Boris Ostrovsky wrote: On 08/17/2017 12:14 PM, Julien Grall wrote: When booting Linux as Xen guest with CONFIG_DEBUG_ATOMIC, the following splat appears: [0.002323] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) [0.019717] ASID allocator

Re: [PATCH v4 0/4] Add Broadcom STB USB phy driver

2017-08-18 Thread Kishon Vijay Abraham I
Florian, On Friday 18 August 2017 11:01 AM, Florian Fainelli wrote: > > > On 07/21/2017 07:10 AM, Al Cooper wrote: >> Add a new USB Phy driver for Broadcom STB SoCs. This driver >> supports Broadcom STB ARM SoCs. This driver in >> combination with the Broadcom STB ohci, ehci and xhci >> drivers

[tip:core/urgent] kernel/watchdog: Prevent false positives with turbo modes

2017-08-18 Thread tip-bot for Thomas Gleixner
Commit-ID: 7edaeb6841dfb27e362288ab8466ebdc4972e867 Gitweb: http://git.kernel.org/tip/7edaeb6841dfb27e362288ab8466ebdc4972e867 Author: Thomas Gleixner AuthorDate: Tue, 15 Aug 2017 09:50:13 +0200 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Marc Zyngier
On 17/08/17 11:11, Andreas Färber wrote: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initialization was copied from

Re: [PATCH v4 0/5] add some properties for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-18 Thread Kishon Vijay Abraham I
On Friday 11 August 2017 01:37 PM, Frank Wang wrote: > These series of patches add rockchip,usbgrf property and otg_mux interrupt for > rockchip usb2-phy. In addition, this change also add rv1108 usb2-phy support. merged, thanks! -Kishon > > Changes from v3: > - Updated the 'Acked-by' tag

Re: [PATCH V2 11/12] spmi: pmic-arb: add support for HW version 5

2017-08-18 Thread kgunda
On 2017-08-17 17:58, Shawn Guo wrote: On Thu, Aug 17, 2017 at 03:38:30PM +0530, kgu...@codeaurora.org wrote: The intention of this check is to avoid the access to the peripherals those are not owned by the current EE (APSS) and it is expected to return a failure if the peripheral that is not

arch/arm/kernel/setup.c fails to compile for NOMMU

2017-08-18 Thread Michal Hocko
Hi Russel, I have a battery of configs for compile testing and for some time I've been seeing the following compilation error with nommu config (attached) arch/arm/kernel/setup.c: In function 'reserve_crashkernel': arch/arm/kernel/setup.c:1005:25: error: 'SECTION_SIZE' undeclared (first use in

Re: [PATCH] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-18 Thread Vadim Lomovtsev
On Fri, Aug 18, 2017 at 07:16:45AM -0400, Jeff Layton wrote: > On Fri, 2017-08-18 at 07:08 -0400, Vadim Lomovtsev wrote: > > Hi Jeff, > > > > On Fri, Aug 18, 2017 at 06:27:32AM -0400, Jeff Layton wrote: > > > On Fri, 2017-08-18 at 06:00 -0400, Vadim Lomovtsev wrote: > > > > While running

[net-next PATCH] ipv6: fix false-postive maybe-uninitialized warning

2017-08-18 Thread Arnd Bergmann
Adding a lock around one of the assignments prevents gcc from tracking the state of the local 'fibmatch' variable, so it can no longer prove that 'dst' is always initialized, leading to a bogus warning: net/ipv6/route.c: In function 'inet6_rtm_getroute': net/ipv6/route.c:3659:2: error: 'dst' may

[PATCH net-next 1/3] net: hns3: Fixes the missing u64_stats_fetch_begin_irq in 64-bit stats fetch

2017-08-18 Thread Salil Mehta
This patch fixes the missing u64_stats_fetch_begin_irq() while trying to atomically do 64-bit RX/TX fetch. We did not get any error during test as our SoC is 64-bit so all of these seq/lock operations results in NOOP. As such, this seq lock supports has been added for the sake of completion if

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
On 18 August 2017 at 09:36, Ard Biesheuvel wrote: > On 18 August 2017 at 09:26, Ingo Molnar wrote: >> >> * Ard Biesheuvel wrote: >> >>> -static void for_each_tracepoint_range(struct tracepoint * const *begin, >>> -

Re: [PATCH v2 1/2] arm64: dts: rockchip: add usb3 controller node for RK3328 SoCs

2017-08-18 Thread Heiko Stuebner
Hi William, Am Donnerstag, 17. August 2017, 15:54:49 CEST schrieb William Wu: > RK3328 has one USB 3.0 OTG controller which uses DWC_USB3 > core's general architecture. It can act as static xHCI host > controller, static device controller, USB 3.0/2.0 OTG basing > on ID of USB3.0 PHY. > >

[tip:irq/core] genirq: Export more irq_chip_*_parent() functions

2017-08-18 Thread tip-bot for David Daney
Commit-ID: 65efd9a49af8174b2283fd5b27e9edf30e4483d0 Gitweb: http://git.kernel.org/tip/65efd9a49af8174b2283fd5b27e9edf30e4483d0 Author: David Daney AuthorDate: Thu, 17 Aug 2017 17:53:30 -0700 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

[PATCH] Input: elan_i2c - Support two physical button touchapd for elan_i2c

2017-08-18 Thread KT Liao
Extend information accessing to get button setting information and support L/R button-pad for I2C touchpad Signed-off-by: KT Liao --- drivers/input/mouse/elan_i2c.h | 2 +- drivers/input/mouse/elan_i2c_core.c | 9 +++-- drivers/input/mouse/elan_i2c_i2c.c | 13

[patch v4 1/3] drivers: jtag: Add JTAG core driver

2017-08-18 Thread Oleksandr Shamray
Initial patch for JTAG friver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

RE: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-18 Thread Wangkai (Kevin,C)
> -Original Message- > From: Waiman Long [mailto:long...@redhat.com] > Sent: Thursday, August 17, 2017 9:04 PM > To: Wangkai (Kevin,C); Alexander Viro; Jonathan Corbet > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linux-fsde...@vger.kernel.org; Paul E. McKenney; Andrew

[PATCH 2/2] pinctrl: intel: Add Intel Lewisburg GPIO support

2017-08-18 Thread Mika Westerberg
Intel Lewisburg has the same GPIO hardware than Intel Sunrisepoint-H except few differences in register offsets and pin lists. Because of this we add a separate pinctrl driver for Lewisburg. Signed-off-by: Mika Westerberg --- drivers/pinctrl/intel/Kconfig

[PATCH 1/2] pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support

2017-08-18 Thread Mika Westerberg
This is desktop version Intel Cannon Lake PCH. The GPIO hardware is the same but pin list differs a bit. Add support for this to the existing Cannon Lake pin controller driver. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg

Re: [PATCH v2] f2fs: introduce cur_reserved_blocks in sysfs

2017-08-18 Thread Yunlong Song
ping... On 2017/8/15 12:08, Yunlong Song wrote: ping... On 2017/8/11 19:43, Yunlong Song wrote: In this patch, we add a new sysfs interface, we can use it to gradually achieve the reserved_blocks finally, even when reserved_blocks is initially set over user_block_count -

[PATCH net-next] tcp: export drops counter to /proc/net/tcp{,6}

2017-08-18 Thread Stéphan Gorget
Those counters are exported for raw and udp but not for tcp, though they are incremented. An example where it is useful is chasing listen overflow. Listen overflow are counted as a global counter in LINUX_MIB_LISTENOVERFLOWS accessible in /proc/net/netstat but there is no way to find related

Re: [PATCH v4 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver

2017-08-18 Thread Kishon Vijay Abraham I
Hi, On Friday 21 July 2017 07:40 PM, Al Cooper wrote: > Add a new USB Phy driver for Broadcom STB SoCs. This driver > supports Broadcom STB ARM SoCs. This driver in > combination with the Broadcom STB ohci, ehci and xhci > drivers will enable USB1.1, USB2.0 and USB3.0 support. > This Phy driver

Re: [PATCH] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-18 Thread Jeff Layton
On Fri, 2017-08-18 at 06:00 -0400, Vadim Lomovtsev wrote: > While running nfs/connectathon tests kernel NULL-pointer exception > has been observed due to races in svcsock.c. > > Race is appear when kernel accepts connection by kernel_accept > (which creates new socket) and start queuing ingress

[GIT PULL] ARM: SoC fixes for 4.13

2017-08-18 Thread Arnd Bergmann
The following changes since commit aae4e7a8bc44722fe70d58920a36916b1043195e: Linux 4.13-rc4 (2017-08-06 18:44:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to

Re: [V7] dt-bindings: phy: Add bindings for ralink-usb PHY

2017-08-18 Thread Kishon Vijay Abraham I
On Thursday 17 August 2017 04:03 PM, Harvey Hunt wrote: > From: John Crispin > > Add a binding for the USB phy on Mediatek/Ralink SoCs. > > Signed-off-by: John Crispin > Signed-off-by: Harvey Hunt > Cc: devicet...@vger.kernel.org >

Re: [PATCH v5 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-18 Thread Suzuki K Poulose
On 17/08/17 16:57, Mark Rutland wrote: On Thu, Aug 17, 2017 at 03:52:24PM +0100, Suzuki K Poulose wrote: On 16/08/17 15:10, Mark Rutland wrote: On Tue, Aug 08, 2017 at 12:37:26PM +0100, Suzuki K Poulose wrote: +static struct attribute *dsu_pmu_event_attrs[] = { +

Re: [PATCH v5 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-18 Thread Mark Rutland
On Fri, Aug 18, 2017 at 11:43:32AM +0100, Suzuki K Poulose wrote: > On 17/08/17 16:57, Mark Rutland wrote: > >On Thu, Aug 17, 2017 at 03:52:24PM +0100, Suzuki K Poulose wrote: > >>On 16/08/17 15:10, Mark Rutland wrote: > >>>On Tue, Aug 08, 2017 at 12:37:26PM +0100, Suzuki K Poulose wrote: >

[PATCH] arm64: dts: Add support for NXP's LX2160A SoC

2017-08-18 Thread Sriram Dash
The QorIQ LX2160A processor is built in the 16FFC process on the Layerscape architecture combining sixteen ARM A72 processor cores with advanced, high-performance datapath acceleration and network, peripheral interfaces required for networking, wireless infrastructure, storage, and general-purpose

[PATCH] nfp: fix infinite loop on umapping cleanup

2017-08-18 Thread Colin King
From: Colin Ian King The while loop that performs the dma page unmapping never decrements index counter f and hence loops forever. Fix this with a pre-decrement on f. Detected by CoverityScan, CID#1357309 ("Infinite loop") Fixes: 4c3523623dc0 ("net: add driver for

Re: [PATCH 5/5] Use __func__ instead of function name

2017-08-18 Thread Michael Ellerman
Michal Suchánek writes: > On 2017-07-29 09:24, SZ Lin wrote: >> Fix following checkpatch.pl warning: >> WARNING: Prefer using '"%s...", __func__' to using >> the function's name, in a string >> >> Signed-off-by: SZ Lin >> --- >>

Re: [PATCH v3 0/2] cpuset: Allow v2 behavior in v1 cgroup

2017-08-18 Thread Tejun Heo
On Thu, Aug 17, 2017 at 03:33:08PM -0400, Waiman Long wrote: > v2->v3: > - Change the generic CGRP_ROOT_V2_MODE flag to a cpuset specific >CGRP_ROOT_CPUSET_V2_MODE flag. > > v1->v2: > - Drop the kernel command line option and use cgroupfs mount option >instead to enable v2 controller

[PATCH net-next 2/3] net: hns3: Fixes the static checker error warning in hns3_get_link_ksettings()

2017-08-18 Thread Salil Mehta
This patch fixes the static check error warning in hns3_get_link_ksettings() function by re-arranging the code. Fixes: 496d03e960ae ("net: hns3: Add Ethtool support to HNS3 Driver") Reported-by: Dan Carpenter Signed-off-by: Salil Mehta ---

Re: [PATCH] tpm: vtpm: constify vio_device_id

2017-08-18 Thread Michael Ellerman
Jason Gunthorpe writes: > On Thu, Aug 17, 2017 at 11:04:21PM +0530, Arvind Yadav wrote: >> vio_device_id are not supposed to change at runtime. All functions >> working with vio_device_id provided by work with >> const vio_device_id. So mark the non-const

[PATCH net-next 0/3] Misc. Bug fixes for HNS3 Ethernet Driver

2017-08-18 Thread Salil Mehta
This patch-set fixes various bugs reported by community. Salil Mehta (3): net: hns3: Fixes the missing u64_stats_fetch_begin_irq in 64-bit stats fetch net: hns3: Fixes the static checker error warning in hns3_get_link_ksettings() net: hns3: Fixes the static check warning due to

[PATCH net-next 3/3] net: hns3: Fixes the static check warning due to missing unsupp L3 proto check

2017-08-18 Thread Salil Mehta
This patch fixes the static check warning due to missing handling leg of unsupported L3 protocol type in the hns3_get_l4_protocol() function. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Reported-by: Dan Carpenter Signed-off-by:

[PATCH v3 3/3] crypto: stm32 - Support for STM32 CRYP crypto module

2017-08-18 Thread Fabien Dessenne
This module registers block and AEAD cipher algorithms that make use of the STMicroelectronics STM32 crypto "CRYP1" hardware. The following algorithms are supported: - aes: ecb, cbc, ctr, gcm, ccm - des: ecb, cbc - tdes: ecb, cbc Signed-off-by: Fabien Dessenne ---

Re: [PATCH v8 2/7] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-18 Thread Marc Zyngier
On 18/08/17 01:53, David Daney wrote: > Follow-on patch for gpio-thunderx uses a irqdomain hierarchy which > requires slightly different flow handlers, add them to chip.c which > contains most of the other flow handlers. Make these conditionally > compiled based on

[patch v4 2/3] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-18 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by:

[patch v4 0/3] JTAG driver introduction

2017-08-18 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general

[patch v4 3/3] doccumentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-18 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- V3->v4 Comments pointed by Rob Herring

[PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

2017-08-18 Thread Dan Carpenter
The rza1_pctl->ports[] array has RZA1_NPORTS (12) elements. The > here should be >= to prevent an out of bounds access. Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller") Signed-off-by: Dan Carpenter diff --git a/drivers/pinctrl/pinctrl-rza1.c

Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-08-18 Thread Oleksij Rempel
On Thu, Aug 10, 2017 at 01:50:08PM +0900, Jiada Wang wrote: > > previously burst length (BURST_LENGTH) is always set to equal > to bits_per_word, causes a 10us gap between each word in > transfer, which significantly affects performance. > > This patch uses 32 bits transfer to simulate lower

Re: [PATCH 2/4] time: posix: Use dedicated helper to access rlimit values

2017-08-18 Thread Thomas Gleixner
On Wed, 5 Jul 2017, Krzysztof Opasiak wrote: > Use rlimit() and rlimit_max() helper instead of manually writing > whole chain from task to rlimit value > > Signed-off-by: Krzysztof Opasiak > --- > kernel/time/posix-cpu-timers.c | 14 ++ > 1 file changed, 6

Re: [PATCH v7 1/4] powerpc/fadump: reduce memory consumption for capture kernel

2017-08-18 Thread Hari Bathini
Hi Michal, Thanks for the patches. I tried testing with the patches: [0.00] fadump: Firmware-assisted dump is active. [0.00] fadump: Modifying command line to enforce the additional parameters passed through 'fadump_extra_args=' [0.00] fadump: Original command line:

Re: [PATCH v5 1/1] usb:host:xhci support option to disable the xHCI USB2 HW LPM

2017-08-18 Thread Mathias Nyman
On 17.08.2017 06:19, Thang Q. Nguyen wrote: On Tue, Aug 8, 2017 at 11:27 AM, Thang Q. Nguyen wrote: XHCI specification 1.1 does not require xHCI-compliant controllers to always enable hardware USB2 LPM. However, the current xHCI driver always enable it when seeing HLC=1. This

Re: [PATCH] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-18 Thread Vadim Lomovtsev
Hi Jeff, On Fri, Aug 18, 2017 at 06:27:32AM -0400, Jeff Layton wrote: > On Fri, 2017-08-18 at 06:00 -0400, Vadim Lomovtsev wrote: > > While running nfs/connectathon tests kernel NULL-pointer exception > > has been observed due to races in svcsock.c. > > > > Race is appear when kernel accepts

Re: [PATCH] drivers: spi: Allocate bus number from spi framework

2017-08-18 Thread Mark Brown
On Fri, Aug 18, 2017 at 11:13:40AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > spi framework should allocate bus number dynamically either > via Linux IDR or spi alias for master drivers. This patch deletes > code pertaining to manual allocation of spi bus

Re: [PATCH] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-18 Thread Jeff Layton
On Fri, 2017-08-18 at 07:08 -0400, Vadim Lomovtsev wrote: > Hi Jeff, > > On Fri, Aug 18, 2017 at 06:27:32AM -0400, Jeff Layton wrote: > > On Fri, 2017-08-18 at 06:00 -0400, Vadim Lomovtsev wrote: > > > While running nfs/connectathon tests kernel NULL-pointer exception > > > has been observed due

[PATCH] auxdisplay: constify charlcd_ops structures

2017-08-18 Thread Arvind Yadav
charlcd_ops are not supposed to change at runtime. All functions working with charlcd_ops provided by work with const charlcd_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/auxdisplay/panel.c | 6 +++--- 1 file changed, 3

[PATCH v2 5/6] drivers: pci: add support for relative addressing in quirk tables

2017-08-18 Thread Ard Biesheuvel
Allow the PCI quirk tables to be emitted in a way that avoids absolute references to the hook functions. This reduces the size of the entries, and, more importantly, makes them invariant under runtime relocation (e.g., for KASLR) Cc: Bjorn Helgaas Signed-off-by: Ard

[PATCH v2 4/6] init: allow initcall tables to be emitted using relative references

2017-08-18 Thread Ard Biesheuvel
Allow the initcall tables to be emitted using relative references that are only half the size on 64-bit architectures and don't require fixups at runtime on relocatable kernels. Cc: Petr Mladek Cc: Sergey Senozhatsky Cc: Steven Rostedt

[PATCH v2 2/6] module: use relative references for __ksymtab entries

2017-08-18 Thread Ard Biesheuvel
An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab entries, each consisting of two 64-bit fields containing absolute references, to the symbol itself and to a char array containing its name, respectively. When we build the same configuration with KASLR enabled, we end up with an

[PATCH v2 3/6] treewide: add missing trailing semicolons to initcall() invocations

2017-08-18 Thread Ard Biesheuvel
Before modifying the initcall() code to add support for relative references in the initcall sections, fix the existing code that lacks the required trailing semicolon so we can remove it from the macros. Signed-off-by: Ard Biesheuvel --- arch/arm64/kernel/perf_event.c

[PATCH v2 0/6] add support for relative references in special sections

2017-08-18 Thread Ard Biesheuvel
This adds support for emitting special sections such as initcall arrays, PCI fixups and tracepoints as relative references rather than absolute references. This reduces the size by 50% on 64-bit architectures, but more importantly, it removes the need for carrying relocation metadata for these

[PATCH v2 6/6] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
To avoid the need for relocating absolute references to tracepoint structures at boot time when running relocatable kernels (which may take a disproportionate amount of space), add the option to emit these tables as relative references instead. Cc: Steven Rostedt Cc: Ingo

[PATCH net-next] net: hns3: Add support to change MTU in hardware & netdev

2017-08-18 Thread Salil Mehta
This patch adds the following support to the HNS3 driver: 1. Support to change the Maximum Transmission Unit of a netdevice and of a port in hardware . 2. Initializes the supported MTU range for the netdevice. Signed-off-by: lipeng Signed-off-by: Salil Mehta

Re: [PATCH v2 11/16] dmaengine: bcm-sba-raid: Peek mbox when we have no free requests

2017-08-18 Thread Anup Patel
On Thu, Aug 17, 2017 at 12:10 PM, Vinod Koul wrote: > On Tue, Aug 01, 2017 at 04:07:55PM +0530, Anup Patel wrote: >> When setting up RAID array on several NVMe disks we observed that >> sba_alloc_request() start failing (due to no free requests left) >> and RAID array setup

Re: [PATCH 2/3] crypto: engine - find request type with cra_type

2017-08-18 Thread Corentin Labbe
On Fri, Aug 18, 2017 at 04:28:37PM +0800, Herbert Xu wrote: > On Mon, Aug 14, 2017 at 03:17:24PM +0200, Corentin Labbe wrote: > > The current method for finding request type is based on crypto_tfm_alg_type. > > > > But in case of skcipher, it is the same than ablkcipher. > > Using cra_type for

Re: [PATCH v2 0/6] net: stmmac: Detect PHY location with phy-is-integrated

2017-08-18 Thread Corentin Labbe
On Thu, Aug 17, 2017 at 09:51:43AM +0200, Corentin Labbe wrote: > Hello > > The current way to find if the phy is internal is to compare DT phy-mode > and emac_variant/internal_phy. > But it will negate a possible future SoC where an external PHY use the > same phy mode than the integrated one. >

Re: [PATCH v8 0/7] genirq/gpio: Add driver for ThunderX and OCTEON-TX SoCs

2017-08-18 Thread Thomas Gleixner
On Thu, 17 Aug 2017, David Daney wrote: > The ThunderX/OCTEON-TX GPIO hardware looks like a PCIe device, with > the interrupt signal from each GPIO line being routed to a dedicated > MSI-X. This interrupt routing requires that we add some custom > processing to the beginning of the MSI-X

[tip:irq/core] irqdomain: Check for NULL function pointer in irq_domain_free_irqs_hierarchy()

2017-08-18 Thread tip-bot for David Daney
Commit-ID: 0d12ec075a18f53e6f58ec95a4f534da2641bf9b Gitweb: http://git.kernel.org/tip/0d12ec075a18f53e6f58ec95a4f534da2641bf9b Author: David Daney AuthorDate: Thu, 17 Aug 2017 17:53:33 -0700 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug

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