[PATCH V4 0/6] Add support for Tegra GMI bus controller

2016-11-07 Thread Mirza Krak
From: Mirza Krak Hi. This patch series adds support for the Tegra GMI bus controller. I have tested this series on a Tegra30 using a Colibri T30 SOM on a custom carrier board which has multiple CAN controllers (SJA1000) connected to the GMI bus. I have re-based on top of latest tegra/for-next

[PATCH V4 4/6] ARM: tegra: Add Tegra30 GMI support

2016-11-07 Thread Mirza Krak
From: Mirza Krak Add a device node for the GMI controller found on Tegra30. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Jon Hunter --- Changes in v2: - added address-cells, size-cells and ranges properties

[PATCH V4 5/6] ARM: tegra: Add Tegra20 GMI support

2016-11-07 Thread Mirza Krak
From: Mirza Krak Add a device node for the GMI controller found on Tegra20. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Jon Hunter --- Changes in v2: - added address-cells, size-cells and ranges properties

[PATCH V4 6/6] bus: Add support for Tegra Generic Memory Interface

2016-11-07 Thread Mirza Krak
From: Mirza Krak The Generic Memory Interface bus can be used to connect high-speed devices such as NOR flash, FPGAs, DSPs... Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board --- Changes in v2: - Fixed some checkpatch erro

[PATCH V4 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-11-07 Thread Mirza Krak
From: Mirza Krak Document the devicetree bindings for the Generic Memory Interface (GMI) bus driver found on Tegra SOCs. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Rob Herring --- Changes in v2: - Updated e

[PATCH V4 1/6] clk: tegra: add TEGRA20_CLK_NOR to init table

2016-11-07 Thread Mirza Krak
From: Mirza Krak Add TEGRA20_CLK_NOR to init table and set default rate to 92 MHz which is max rate. The maximum rate value of 92 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Boar

[PATCH V4 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table

2016-11-07 Thread Mirza Krak
From: Mirza Krak Add TEGRA30_CLK_NOR to init table and set default rate to 127 MHz which is max rate. The maximum rate value of 127 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Bo

[PATCH 2/2] mm: THP page cache support for ppc64

2016-11-07 Thread Aneesh Kumar K.V
Add arch specific callback in the generic THP page cache code that will deposit and withdarw preallocated page table. Archs like ppc64 use this preallocated table to store the hash pte slot information. Testing: kernel build of the patch series on tmpfs mounted with option huge=always The related

[PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

2016-11-07 Thread Aneesh Kumar K.V
Architectures like ppc64 want to use page table deposit/withraw even with huge pmd dax entries. Allow arch to override the vma_is_anonymous check by moving that to pmd_move_must_withdraw function Signed-off-by: Aneesh Kumar K.V --- include/asm-generic/pgtable.h | 12 mm/huge_memory.

Re: [PATCH] vfio: Fix build break when SPAPR_TCE_IOMMU=n

2016-11-07 Thread Michael Ellerman
Paolo Bonzini writes: > On 04/11/2016 06:48, Michael Ellerman wrote: >> diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig >> index da6e2ce77495..6b51a4ebed8a 100644 >> --- a/drivers/vfio/Kconfig >> +++ b/drivers/vfio/Kconfig >> @@ -6,12 +6,12 @@ config VFIO_IOMMU_TYPE1 >> config VFIO_IOMMU

Re: [PATCH 1/2] irq,pci: allow drivers to specify complex affinity requirement

2016-11-07 Thread Hannes Reinecke
On 11/07/2016 12:07 AM, Christoph Hellwig wrote: > Some drivers (various network and RDMA adapter for example) have a MSI-X > vector layout where most of the vectors are used for I/O queues and should > have CPU affinity assigned to them, but some (usually 1 but sometimes more) > at the beginning o

Re: [PATCH 2/2] blk-mq: add a first_vec argument to blk_mq_pci_map_queues

2016-11-07 Thread Hannes Reinecke
On 11/07/2016 12:07 AM, Christoph Hellwig wrote: > This allows skipping the first N IRQ vectors in case they are used for > control or admin interrupts. > > Signed-off-by: Christoph Hellwig > --- > block/blk-mq-pci.c | 6 -- > drivers/nvme/host/pci.c| 2 +- > include/linux/blk-mq

Re: ILP32 for ARM64: testing with glibc testsuite

2016-11-07 Thread Yury Norov
Hi all, [add libc-alpha mail list] For libc-alpha: this is the part of LKML submission with latest patches for aarch64/ilp32. https://www.spinics.net/lists/arm-kernel/msg537846.html Glibc that I use has also included consolidation patches from Adhemerval Zanella and me that are still not in the

Re: [PATCH v11 07/22] vfio iommu type1: Update argument of vaddr_get_pfn()

2016-11-07 Thread Alexey Kardashevskiy
On 05/11/16 08:10, Kirti Wankhede wrote: > Update arguments of vaddr_get_pfn() to take struct mm_struct *mm as input > argument. > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I885fd4cd4a9f66f4ee2c1caf58267464ec239f52 > --- > drivers/vfio/vfio_iommu_type1.c | 30 +++

Re: [PATCH] MIPS: ath79: Fix error handling

2016-11-07 Thread Alban
On Sun, 30 Oct 2016 09:25:46 +0100 Christophe JAILLET wrote: > 'clk_register_fixed_rate()' returns an error pointer in case of error, not > NULL. So test it with IS_ERR. > > Signed-off-by: Christophe JAILLET Acked-by: Aban Bedel Alban pgpOi09n55Fut.pgp Description: OpenPGP digital signatur

[tip:x86/boot] x86/boot: Simplify the GDTR calculation assembly code a bit

2016-11-07 Thread tip-bot for Wei Yang
Commit-ID: 064025f7ea1ebcd9bbb99cfa9492a803e8b01d36 Gitweb: http://git.kernel.org/tip/064025f7ea1ebcd9bbb99cfa9492a803e8b01d36 Author: Wei Yang AuthorDate: Tue, 1 Nov 2016 15:49:24 + Committer: Ingo Molnar CommitDate: Mon, 7 Nov 2016 08:33:59 +0100 x86/boot: Simplify the GDTR calcu

[tip:x86/boot] x86/boot/build: Remove always empty $(USERINCLUDE)

2016-11-07 Thread tip-bot for Paul Bolle
Commit-ID: 0acba3f91823a5e53a54af5dc31fc774b0e64e99 Gitweb: http://git.kernel.org/tip/0acba3f91823a5e53a54af5dc31fc774b0e64e99 Author: Paul Bolle AuthorDate: Thu, 3 Nov 2016 10:47:48 +0100 Committer: Ingo Molnar CommitDate: Mon, 7 Nov 2016 07:30:01 +0100 x86/boot/build: Remove always e

[tip:x86/cache] x86/intel_rdt: Add a missing #include

2016-11-07 Thread tip-bot for Borislav Petkov
Commit-ID: 8ff42c02193150720815608ed03de8d45aeaf8a8 Gitweb: http://git.kernel.org/tip/8ff42c02193150720815608ed03de8d45aeaf8a8 Author: Borislav Petkov AuthorDate: Wed, 2 Nov 2016 17:51:17 +0100 Committer: Ingo Molnar CommitDate: Mon, 7 Nov 2016 08:36:16 +0100 x86/intel_rdt: Add a missi

Re: [GIT PULL] phy: for 4.9 -rc

2016-11-07 Thread Greg KH
On Sat, Nov 05, 2016 at 07:13:22PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for the phy fixes below. It includes a fix > in phy core to add a static inline function when CONFIG_GENERIC_PHY > is not selected and 3 fixes in different phy drivers. The phy devic

Re: [PATCH 1/1] pinctrl: st: st_pinconf_dbg_show wrong format string

2016-11-07 Thread Patrice Chotard
On 11/05/2016 03:25 PM, Heinrich Schuchardt wrote: > function is defined as unsigned int. > So we need %u to print it. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/pinctrl/pinctrl-st.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/pinctrl-s

Re: [PATCH v3] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-11-07 Thread Borislav Petkov
On Mon, Nov 07, 2016 at 10:10:07AM +0800, He Chen wrote: > It should be, but I found it conflcts with `struct cpuid_regs` in > `arch/x86/kernel/cpuid.c` since it got exported. So make the cpuid.c-one static. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim

Re: [PATCH 1/1] pinctrl: st: st_pctl_dt_parse_groups simplify expression

2016-11-07 Thread Patrice Chotard
On 11/05/2016 03:35 PM, Heinrich Schuchardt wrote: > for_each_property_of_node(pins, pp) checks that pp is not NULL. > So there is no need to check it inside the loop. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/pinctrl/pinctrl-st.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH v2] USB hub_probe: remove ugly goto-into-compound-statement

2016-11-07 Thread Greg Kroah-Hartman
On Wed, Nov 02, 2016 at 08:59:44PM +0300, Eugene Korenevsky wrote: > Rework smelling code (goto inside compound statement). Perhaps this is legacy. > Anyway such code is not appropriate for Linux kernel. > > Signed-off-by: Eugene Korenevsky > --- > drivers/usb/core/hub.c | 24 +++

Re: [PATCH] leds: Add mutex protection in brightness_show()

2016-11-07 Thread Jacek Anaszewski
Hi, On 11/06/2016 03:52 PM, Hans de Goede wrote: Hi, On 04-11-16 17:46, Hans de Goede wrote: Hi, On 04-11-16 17:06, Jacek Anaszewski wrote: Hi Hans, On 11/04/2016 12:53 PM, Hans de Goede wrote: Hi, On 04-11-16 08:52, Jacek Anaszewski wrote: Initially the claim about no need for lock in b

Re: [PATCH v2 1/2] cpufreq: powernv: Adding fast_switch for schedutil

2016-11-07 Thread Viresh Kumar
On 07-11-16, 13:09, Akshay Adiga wrote: > Adding fast_switch which does light weight operation to set the desired > pstate. Both global and local pstates are set to the same desired pstate. > > Signed-off-by: Akshay Adiga > --- > Changes from v1 : > - Removed unnecessary check for index out of bo

Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

2016-11-07 Thread Hillf Danton
On Monday, November 07, 2016 4:35 PM Aneesh Kumar K.V > > Architectures like ppc64 want to use page table deposit/withraw > even with huge pmd dax entries. Allow arch to override the > vma_is_anonymous check by moving that to pmd_move_must_withdraw > function > > Signed-off-by: Aneesh Kumar K.V

Re: [PATCH] virtio-net: drop legacy features in virtio 1 mode

2016-11-07 Thread Jason Wang
On 2016年11月04日 18:55, Michael S. Tsirkin wrote: Virtio 1.0 spec says VIRTIO_F_ANY_LAYOUT and VIRTIO_NET_F_GSO are legacy-only feature bits. Do not negotiate them in virtio 1 mode. Note this is a spec violation so we need to backport it to stable/downstream kernels. Cc: sta...@vger.kernel.org

Re: [PATCH v3] console: use first console if stdout-path device doesn't appear

2016-11-07 Thread Paul Burton
On Monday, 7 November 2016 19:27:32 GMT Michael Ellerman wrote: > Paul Burton writes: > > If a device tree specified a preferred device for kernel console output > > via the stdout-path or linux,stdout-path chosen node properties there's > > no guarantee that it will have specified a device for wh

Re: [PATCH v3 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-11-07 Thread Borislav Petkov
On Mon, Nov 07, 2016 at 08:31:21AM +0100, Ingo Molnar wrote: > > cpu_llc_id (Last Level Cache ID) derivation on AMD Fam17h has an > > underflow bug when extracting the socket_id value. It starts from 0 How's this... > > so subtracting 1 from it will result in an invalid value. This breaks > > sch

[RESEND PATCH v1 5/6] ARM: gic-v3-its: Add 32bit support to GICv3 ITS

2016-11-07 Thread Vladimir Murzin
Wire-up flush_dcache, readq- and writeq-like gic-v3-its assessors, so GICv3 ITS gets all it needs to be built and run. Signed-off-by: Vladimir Murzin --- arch/arm/include/asm/arch_gicv3.h | 54 - 1 file changed, 47 insertions(+), 7 deletions(-) diff --git a

RE: [patch v4 1/1] i2c: add master driver for mellanox systems

2016-11-07 Thread Vadim Pasternak
Hi Vladimir, Thank you very much for reviews. Thanks, Vadim. > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: Monday, November 07, 2016 2:47 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@re

Re: [PATCH v3 2/2] x86/AMD: Group cpu_llc_id assignment by topology feature and family

2016-11-07 Thread Borislav Petkov
On Mon, Nov 07, 2016 at 08:29:06AM +0100, Ingo Molnar wrote: > Wondering what the practical effect of this is - is any current > hardware affected, and if yes, what are the effects of this patch? No affect on current hw - just a cleanup. It can go in 4.10. Only the previous one is tagged for stabl

[RESEND PATCH v1 6/6] ARM: virt: Select ARM_GIC_V3_ITS

2016-11-07 Thread Vladimir Murzin
This patch allows ARM guests to use GICv3 ITS on an arm64 host Signed-off-by: Vladimir Murzin --- arch/arm/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b5d529f..caef684 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -703,6 +703

[PATCH 2/2] PCI: Add quirk for Fintek F81504/508/512 D3 issue

2016-11-07 Thread Ji-Ze Hong (Peter Hong)
Fintek F81504/508/512 PCIe-to-UART/GPIO will failed to work on Intel Skylake platform PEG PCIe port after D0->D3->D0. This patch will prevent it into D3 mode. Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/pci/quirks.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/dri

[PATCH 0/2] PCI: Add quirk for Fintek F81504/508/512 on Skylake

2016-11-07 Thread Ji-Ze Hong (Peter Hong)
We had tested Fintek F81504/508/512 PCIe-to-UART/GPIO on Intel Skylake platform. It's maybe flood AER correctable error interrupt and slow down the system boot. It's the same issue about below link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173 and this IC will malfunctional after s

[RESEND PATCH v1 1/6] irqchip/gic-v3-its: Change unsigned types for AArch32 compatibility

2016-11-07 Thread Vladimir Murzin
Make sure that constants which are supposed to be applied on 64-bit data is actually unsigned long long, so they won't be truncated when used in 32-bit mode. Signed-off-by: Vladimir Murzin --- drivers/irqchip/irq-gic-v3-its.c | 28 ++-- include/linux/irqchip/arm-gic-v

[RESEND PATCH v1 4/6] irqchip/gicv3-its: Specialise readq and writeq accesses

2016-11-07 Thread Vladimir Murzin
readq and writeq type of assessors are not supported in AArch32, so we need to specialise them and glue later with series of 32-bit accesses on AArch32 side. Signed-off-by: Vladimir Murzin --- arch/arm64/include/asm/arch_gicv3.h | 14 ++ drivers/irqchip/irq-gic-v3-its.c| 24 +

[RESEND PATCH v1 3/6] irqchip/gicv3-its: Specialise flush_dcache operation

2016-11-07 Thread Vladimir Murzin
It'd be better to switch to CMA... but before that done redirect flush_dcache operation, so 32-bit implementation could be wired latter. Signed-off-by: Vladimir Murzin --- arch/arm64/include/asm/arch_gicv3.h |3 +++ drivers/irqchip/irq-gic-v3-its.c| 17 - 2 files change

[RESEND PATCH v1 2/6] irqchip/gic-v3-its: Narrow down Entry Size when used as a divider

2016-11-07 Thread Vladimir Murzin
GITS_BASER's Entry Size is much smaller than 64-bit, but when it used as a divider it forces compiler to generate __aeabi_uldivmod if build in 32-bit mode. So, casting it to int (like it is done in other places) where used as a divider would give a hint to compiler that 32-bit division can be used.

[RESEND PATCH v1 0/6] Support GICv3 ITS in 32-bit mode

2016-11-07 Thread Vladimir Murzin
Hi, This series introduces GICv3 ITS to 32-bit world. Since I'm limited with real world 32-bit platforms which uses ITS it was tested with help of vITS on 64-bit host running 32-bit guest. I used Andrea's its/v8 branch at [1] with following option passed to kvmtool: --aarch32 --irqchip=gicv3-its

Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

2016-11-07 Thread kbuild test robot
-check-within-pmd_move_must_withdraw/20161107-164033 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x006-201645 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: add panel and tcon nodes to Allwinner A33 Q8 tablet dts

2016-11-07 Thread Hans de Goede
Hi, On 06-11-16 17:53, Icenowy Zheng wrote: 06.11.2016, 22:27, "Hans de Goede" : Hi, On 06-11-16 12:11, Icenowy Zheng wrote: All A33 Q8 tablets features a LCD panel, with a resolution of either 800x480 or 1024x600. Add "bone" device nodes to the device tree. Bone ? Signed-off-by: I

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-11-07 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Nov 4, 2016 at 8:49 PM, Stephen Boyd wrote: > On 11/02, Geert Uytterhoeven wrote: >> On Tue, Nov 1, 2016 at 12:25 AM, Stephen Boyd wrote: >> > >> > Would the pull requests for clk also have dts changes at the base >> > of the tree? Perhaps clk side can just ack the clk patche

Re: [lkp] [net] af1fee9821: BUG:spinlock_trylock_failure_on_UP_on_CPU

2016-11-07 Thread Andrew Lunn
On Mon, Nov 07, 2016 at 10:26:28AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master > commit af1fee98219992ba2c12441a447719652ed7e983 ("net: phy: Add support for > Microsemi VSC 8530/40 Fast Et

Re: [PATCH v2 1/6] pinctrl-aspeed-g5: Never set SCU90[6]

2016-11-07 Thread Linus Walleij
On Wed, Nov 2, 2016 at 3:37 PM, Andrew Jeffery wrote: > If a pin depending on bit 6 in SCU90 is requested for GPIO, the export > will succeed but changes to the GPIO's value will not be accepted by the > hardware. This is because the pinmux driver has misconfigured the SCU by > writing 1 to the r

Re: [PATCH v2 1/6] pinctrl-aspeed-g5: Never set SCU90[6]

2016-11-07 Thread Linus Walleij
On Thu, Nov 3, 2016 at 11:59 PM, Joel Stanley wrote: > In the future I think we should send fixes separately from the rest of > the series, so it's clear to Linus where we expect patches to end up. > > Perhaps Linus can share his preference with us? Just make it clear to me where the patch is he

Re: [PATCH v2 0/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-07 Thread Geert Uytterhoeven
On Mon, Oct 31, 2016 at 12:30 PM, Geert Uytterhoeven wrote: > Some Renesas SoCs may exist in different revisions, providing slightly > different functionalities (e.g. R-Car H3 ES1.x and ES2.0), and behavior > (errate and quirks). This needs to be catered for by drivers and/or > platform code. Th

Re: [PATCH 2/2] blk-mq: add a first_vec argument to blk_mq_pci_map_queues

2016-11-07 Thread Hannes Reinecke
On 11/07/2016 12:07 AM, Christoph Hellwig wrote: > This allows skipping the first N IRQ vectors in case they are used for > control or admin interrupts. > > Signed-off-by: Christoph Hellwig > --- > block/blk-mq-pci.c | 6 -- > drivers/nvme/host/pci.c| 2 +- > include/linux/blk-mq

[PATCH 1/2] PCI: Add quirk for Fintek F81504/508/512 AER issue

2016-11-07 Thread Ji-Ze Hong (Peter Hong)
Fintek F81504/508/512 PCIe-to-UART/GPIO will generate mass AER correctable error interrupt message and stop the system boot on Intel Skylake platform, AER message like the following link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173 Due to the error is correctable error, we'll try

Re: [PATCH] mtd: bcm47xxsflash: use uncached MMIO access for BCM53573

2016-11-07 Thread Boris Brezillon
On Mon, 15 Aug 2016 14:21:28 +0200 Rafał Miłecki wrote: > From: Rafał Miłecki > > BCM53573 is a new series of Broadcom's SoCs. It's based on ARM and uses > this old ChipCommon-based flash access. Early tests resulted in flash > corruptions that were tracked down to using cached MMIO for flash r

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Chen-Yu Tsai
Hi, On Mon, Nov 7, 2016 at 4:18 PM, LABBE Corentin wrote: > Hello > > With CONFIG_DEBUG_TEST_DRIVER_REMOVE=y pinctrl-sunxi fail to load on the > second try. > > [3.900061] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver > [3.916251] gpio gpiochip1: GPIO integer space overl

Re: [PATCH 2/2] s390: squash facilities_src.h into gen_facilities.c

2016-11-07 Thread Martin Schwidefsky
On Mon, 7 Nov 2016 08:03:22 +0100 Heiko Carstens wrote: > On Sun, Nov 06, 2016 at 12:45:28PM +0900, Masahiro Yamada wrote: > > We generally expect headers in arch/$(ARCH)/include/asm directory > > are included from kernel sources, but facilities_src.h is not; > > it is included from the arch/s390

Re: [Patch V6 2/6] irqchip: xilinx: Clean up irqdomain argument and read/write

2016-11-07 Thread Zubair Lutfullah Kakakhel
Hi, On 11/01/2016 11:05 AM, Zubair Lutfullah Kakakhel wrote: Hi, Thanks for the review. On 10/31/2016 07:51 PM, Thomas Gleixner wrote: On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote: The drivers read/write function handling is a bit quirky. Can you please explain in more detail what'

Including images on Sphinx documents

2016-11-07 Thread Mauro Carvalho Chehab
Hi Jon, I'm trying to sort out the next steps to do after KS, with regards to images included on RST files. The issue is that Sphinx image support highly depends on the output format. Also, despite TexLive support for svg and png images[1], Sphinx doesn't produce the right LaTeX commands to use s

Re: [lkp] [x86/copy_user] adb402cd14: will-it-scale.per_process_ops -12.7% regression

2016-11-07 Thread Borislav Petkov
On Mon, Nov 07, 2016 at 10:50:38AM +0800, kernel test robot wrote: > To reproduce: > > git clone > git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git > cd lkp-tests > bin/lkp install job.yaml # job file is attached in this email ./bin/lkp install job.yaml Us

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Maxime Ripard
On Mon, Nov 07, 2016 at 05:48:43PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Mon, Nov 7, 2016 at 4:18 PM, LABBE Corentin > wrote: > > Hello > > > > With CONFIG_DEBUG_TEST_DRIVER_REMOVE=y pinctrl-sunxi fail to load on the > > second try. > > > > [3.900061] sun8i-h3-pinctrl 1c20800.pinctrl: init

[BUG] ipmi: NULL device printing in check_set_rcv_irq()

2016-11-07 Thread Corentin Labbe
Hello On one of my servers I got this line in dmesg (NULL device *): The BMC does not support setting the recv irq bit, compensating, but the BMC needs to be fixed. This printing is done via a dev_warn(smi_info->dev,) in drivers/char/ipmi/ipmi_si_intf.c:check_clr_rcv_irq() but smi_info->dev is

[PATCH v7 RESEND 3/3] MAINTAINERS: auxdisplay: Added myself as maintainer for ht16k33 driver

2016-11-07 Thread Robin van der Gracht
Signed-off-by: Robin van der Gracht CC: Miguel Ojeda Sandonis Acked-by: Linus Walleij --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 411e3b8..15d9712 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3030,6 +3030,12 @@ F: drivers/usb

[PATCH v7 RESEND 0/3] auxdisplay: Introduce ht16k33 driver

2016-11-07 Thread Robin van der Gracht
Rebased and resend for Greg. This patchset adds a new driver to the auxdisplay subsystem. It also adds devicetree binding documentation and a new vendor prefix. I added myself as maintainer to the MAINTAINERS file. Robin van der Gracht (3): of: add vendor prefix for Holtek Semiconductor auxd

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-07 Thread Konstantin Khlebnikov
On Mon, Nov 7, 2016 at 11:07 AM, Miklos Szeredi wrote: > On Sun, Nov 6, 2016 at 8:14 PM, Konstantin Khlebnikov > wrote: >> On Wed, Oct 26, 2016 at 2:12 PM, Miklos Szeredi wrote: >>> On Tue, Oct 25, 2016 at 1:57 PM, Raphael Hertzog wrote: >>> Do you plan to make it the default in the futur

[PATCH v7 RESEND 2/3] auxdisplay: ht16k33: Driver for LED controller

2016-11-07 Thread Robin van der Gracht
Added a driver for the Holtek HT16K33 LED controller with keyscan. Signed-off-by: Robin van der Gracht CC: Miguel Ojeda Sandonis Acked-by: Rob Herring Reviewed-by: Linus Walleij --- .../devicetree/bindings/display/ht16k33.txt| 42 ++ drivers/auxdisplay/Kconfig

Re: [PATCH] Staging: vme: vme_pio2: Prefer using the BIT macro

2016-11-07 Thread Greg KH
On Sat, Nov 05, 2016 at 08:31:11PM +0100, Shiva Kerdel wrote: > Replace all occurences of (1 << x) by BIT(x) in the file vme_pio2.h to > get rid of checkpatch.pl "check" output "Prefer using the BIT macro". > > Signed-off-by: Shiva Kerdel > --- > drivers/staging/vme/devices/vme_pio2.h | 86 > ++

[PATCH v7 RESEND 1/3] of: add vendor prefix for Holtek Semiconductor

2016-11-07 Thread Robin van der Gracht
This patch introduces a vendor prefix for Holtek Semiconductor Inc. Signed-off-by: Robin van der Gracht Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Do

Re: [PATCH] x86/efi: Fix EFI memmap pointer size warning

2016-11-07 Thread Matt Fleming
On Sun, 06 Nov, at 02:02:54PM, Borislav Petkov wrote: > Hi Matt, > > please doublecheck me on this but I think we're fine using an unsigned > long. > > Thanks. > > --- > From: Borislav Petkov > Date: Sun, 6 Nov 2016 13:49:10 +0100 > Subject: [PATCH] x86/efi: Fix EFI memmap pointer size warning

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Chen-Yu Tsai
On Mon, Nov 7, 2016 at 5:56 PM, Maxime Ripard wrote: > On Mon, Nov 07, 2016 at 05:48:43PM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Mon, Nov 7, 2016 at 4:18 PM, LABBE Corentin >> wrote: >> > Hello >> > >> > With CONFIG_DEBUG_TEST_DRIVER_REMOVE=y pinctrl-sunxi fail to load on the >> > second try

[GIT PULL] HID fixes

2016-11-07 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive -rc fixes for HID subsystem: = - modprobe-after-rmmod load failure bugfix for intel-ish, from Even Xu - IRQ probing bugfix for intel-ish, from Srinivas Pandruvada - attribute parsing f

Re: [PATCH v3 2/2] net: ethernet: nb8800: handle all RGMII definitions

2016-11-07 Thread Sebastian Frias
Hi Måns, On 11/05/2016 01:58 PM, Måns Rullgård wrote: >> if (gigabit) { >> -if (priv->phy_mode == PHY_INTERFACE_MODE_RGMII) >> +if (phy_interface_is_rgmii(phydev)) >> mac_mode |= RGMII_MODE; >> >> mac_mode |= GMAC_MODE; > > As I said

Re: [PATCH] staging: vc04_services: add vchiq_pagelist_info structure

2016-11-07 Thread Greg KH
On Mon, Oct 31, 2016 at 01:10:35AM -0700, Michael Zoran wrote: > The current dma_map_sg based implementation for bulk messages > computes many offsets into a single allocation multiple times in > both the create and free code paths. This is inefficient, > error prone and in fact still has a few li

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-07 Thread Miklos Szeredi
On Mon, Nov 7, 2016 at 10:58 AM, Konstantin Khlebnikov wrote: > I've stumbled on somehow related problem - concurrent copy-ups are > strictly serialized by rename locks. > Obviously, file copying could be done in parallel: locks are required > only for final rename. > Because of that overlay slow

Re: [PATCH for-next 10/11] IB/hns: Implement the add_gid/del_gid and optimize the GIDs management

2016-11-07 Thread Shaobo Xu
On 2016/11/7 16:17, Anurup M wrote: > > > On 11/4/2016 10:06 PM, Salil Mehta wrote: >> From: Shaobo Xu >> >> IB core has implemented the calculation of GIDs and the management >> of GID tables, and it is now responsible to supply query function >> for GIDs. So the calculation of GIDs and the m

[PATCH v3 5/6] ARM: dts: sun6i: hummingbird: Enable internal audio codec

2016-11-07 Thread Chen-Yu Tsai
The Hummingbird A31 has headset and line in audio jacks and an onboard mic routed to the pins for the SoC's internal codec. The line out pins are routed to an onboard speaker amp, whose output is available on a pin header. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31-hummingbird.d

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-07 Thread Konstantin Khlebnikov
On Mon, Nov 7, 2016 at 1:04 PM, Miklos Szeredi wrote: > On Mon, Nov 7, 2016 at 10:58 AM, Konstantin Khlebnikov > wrote: > >> I've stumbled on somehow related problem - concurrent copy-ups are >> strictly serialized by rename locks. >> Obviously, file copying could be done in parallel: locks are

[PATCH v3 3/6] ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route

2016-11-07 Thread Chen-Yu Tsai
The mono differential output for "Line Out" downmixes the stereo audio from the mixer, instead of just taking the left channel. Add a route from the "Right Mixer" to "Line Out Source Playback Route" through the "Mono Differential" path, so DAPM doesn't shut down everything if the left channel is m

[PATCH v3 0/6] ASoC: sun4i-codec: Add support for A31 Codec

2016-11-07 Thread Chen-Yu Tsai
Hi everyone, This is v3 of my Allwinner A31 audio codec support series. These are the remaining driver patches not yet merged, with 1 new fix, and the dts file patches. The A31's internal codec is similar (in terms of DMA, interface and control layouts) to the one found in the A10/A13/A20 SoCs. H

[PATCH v3 4/6] ARM: dts: sun6i: Add audio codec device node

2016-11-07 Thread Chen-Yu Tsai
The A31 SoC includes the Allwinner audio codec, capable of 24-bit playback up to 192 kHz and 24-bit capture up to 48 kHz. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/ar

[PATCH v3 6/6] ARM: dts: sun6i: sina31s: Enable internal audio codec

2016-11-07 Thread Chen-Yu Tsai
The SinA31s routes the SoC's LINEOUT pins to a line out jack, and MIC1 to a microphone jack, with MBIAS providing phantom power. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31s-sina3

[PATCH v3 1/6] ASoC: sun4i-codec: Add support for optional reset control to quirks

2016-11-07 Thread Chen-Yu Tsai
The later Allwinner SoCs have a dedicated reset controller, and peripherals have dedicated reset controls which need to be deasserted before the associated peripheral can be used. Add support for this to the quirks structure and probe/remove functions. Signed-off-by: Chen-Yu Tsai Acked-by: Maxim

Re: [PATCH 1/2] kdb: Properly synchronize vkdb_printf() calls with other CPUs

2016-11-07 Thread Daniel Thompson
On 21/10/16 13:50, Petr Mladek wrote: kdb_printf_lock does not prevent other CPUs from entering the critical section because it is ignored when KDB_STATE_PRINTF_LOCK is set. The problematic situation might look like: > ... Signed-off-by: Petr Mladek --- kernel/debug/kdb/kdb_io.c | 36

[PATCH v3 2/6] ASoC: sun4i-codec: Add support for A31 ADC capture path

2016-11-07 Thread Chen-Yu Tsai
The A31's internal codec capture path has a mixer in front of the ADC for each channel, capable of selecting various inputs, including microphones, line in, phone in, and the main output mixer. This patch adds the various controls, widgets and routes needed for audio capture from the already suppo

Re: [PATCH] drm: panel: simple-panel: get the enable gpio as-is

2016-11-07 Thread Chen-Yu Tsai
On Sun, Nov 6, 2016 at 7:09 PM, Icenowy Zheng wrote: > The enable gpio of simple-panel may be used by a simplefb or other > driver on the panel's display before the KMS driver get load. > > Get the GPIO as-is, so the panel won't be disabled, and the simplefb > can work. > > Signed-off-by: Icenowy

Re: [PATCH 0/3] add ION driver for STIh4xx SoC

2016-11-07 Thread Benjamin Gaignard
Hello Laura, What are plumbers outputs for ION after your talk ? Regards, Benjamin 2016-10-27 1:25 GMT+02:00 Laura Abbott : > On 10/26/2016 08:05 AM, Benjamin Gaignard wrote: >> >> 2016-10-26 16:44 GMT+02:00 Sumit Semwal : >>> >>> On 26 October 2016 at 20:11, Benjamin Gaignard >>> wrote: >

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Maxime Ripard
On Mon, Nov 07, 2016 at 10:59:53AM +0100, Corentin Labbe wrote: > On Mon, Nov 07, 2016 at 10:56:12AM +0100, Maxime Ripard wrote: > > On Mon, Nov 07, 2016 at 05:48:43PM +0800, Chen-Yu Tsai wrote: > > > Hi, > > > > > > On Mon, Nov 7, 2016 at 4:18 PM, LABBE Corentin > > > wrote: > > > > Hello > > >

[PATCH] vfs: fix statfs64() does not handle errors

2016-11-07 Thread Li Wang
statfs64() does NOT return -1 and setting errno to EOVERFLOW when some variables(like: f_bsize) overflowed in the returned struct. reproducer: step1. mount hugetlbfs with two different pagesize on ppc64 arch. $ hugeadm --pool-pages-max 16M:0 $ hugeadm --create-mount $ mount | grep -i hugetlbfs no

Re: [PATCH 2/2] kdb: Call vkdb_printf() from vprintk_default() only when wanted

2016-11-07 Thread Daniel Thompson
On 21/10/16 13:50, Petr Mladek wrote: kdb_trap_printk allows to pass normal printk() messages to kdb via vkdb_printk(). For example, it is used to get backtrace using the classic show_stack(), see kdb_show_stack(). vkdb_printf() tries to avoid a potential infinite loop by disabling the trap. But

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Corentin Labbe
On Mon, Nov 07, 2016 at 11:15:00AM +0100, Maxime Ripard wrote: > On Mon, Nov 07, 2016 at 10:59:53AM +0100, Corentin Labbe wrote: > > On Mon, Nov 07, 2016 at 10:56:12AM +0100, Maxime Ripard wrote: > > > On Mon, Nov 07, 2016 at 05:48:43PM +0800, Chen-Yu Tsai wrote: > > > > Hi, > > > > > > > > On Mon

Re: [PATCH] Staging: fsl-mc: Changed allocation types into the types that the kernel prefers

2016-11-07 Thread Greg KH
On Mon, Nov 07, 2016 at 12:12:01AM +0100, Shiva Kerdel wrote: > Fixed reports from checkpatch that pointed out that the code was not > using the preferred types of the kernel. > > Signed-off-by: Shiva Kerdel > --- > drivers/staging/fsl-mc/bus/dpmcp.h | 80 >

Re: [PATCH] sched/rt: RT_RUNTIME_GREED sched feature

2016-11-07 Thread Tommaso Cucinotta
as anticipated live to Daniel: -) +1 for the general concept, we'd need something similar also for SCHED_DEADLINE -) only issue might be that, if a non-RT task wakes up after the unthrottle, it will have to wait, but worst-case it will have a chance in the next throttling window -) an alternati

Re: [PATCH 18/25] x86/mcheck: Move threshold_create_device()

2016-11-07 Thread Borislav Petkov
On Thu, Nov 03, 2016 at 03:50:14PM +0100, Sebastian Andrzej Siewior wrote: > Move the threshold_create_device() so it can use > threshold_remove_device() without a a declaration. Please fixup when committing: ... a forward declaration. > Cc: Tony Luck > Cc: Boris

Re: [PATCH 20/25] x86/mcheck: Be prepared for a rollback back to the ONLINE state

2016-11-07 Thread Borislav Petkov
On Thu, Nov 03, 2016 at 03:50:16PM +0100, Sebastian Andrzej Siewior wrote: > If we try a CPU down and fail in the middle then we roll back to the > online state. This means we would perform CPU_ONLINE() > without invoking CPU_DEAD() for the cleanup of what was allocated in Are CPU_ONLINE() and CP

Re: [PATCH v4] media: et8ek8: add device tree binding documentation

2016-11-07 Thread Pavel Machek
On Fri 2016-11-04 00:20:14, Sakari Ailus wrote: > Hi Pavel and Rob, > > On Thu, Nov 03, 2016 at 01:47:49PM +0100, Pavel Machek wrote: > > Hi! > > > > > > +Mandatory properties > > > > + > > > > + > > > > +- compatible: "toshiba,et8ek8" > > > > +- reg: I2C address (0x3e, or an

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

2016-11-07 Thread Oliver Neukum
On Fri, 2016-11-04 at 09:26 -0400, Alan Stern wrote: > On Fri, 4 Nov 2016, Kai-Heng Feng wrote: > > > Sometimes cdc_mbim failed to probe if runtime pm is enabled: > > [9.305626] cdc_mbim: probe of 2-2:1.12 failed with error -22 > > > > This can be solved by increase its pm usage counter. > >

Re: [PATCH v2] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-07 Thread Greg Kroah-Hartman
On Wed, Nov 02, 2016 at 02:46:52PM -0400, James Simmons wrote: > From: Gregoire Pichon > > This patch is the main client part of a new feature that supports > multiple modify metadata RPCs in parallel. Its goal is to improve > metadata operations performance of a single client, while maintening >

Re: Formal description of system call interface

2016-11-07 Thread Cyril Hrubis
Hi! > We identified a surprisingly large number of potential users for such > descriptions: > - fuzzers (syzkaller, trinity, iknowthis) > - strace/syscall tracepoints (capturing indirect arguments and >printing human-readable info) > - generation of entry points for C libraries (glibc, libli

Re: [PATCH 20/25] x86/mcheck: Be prepared for a rollback back to the ONLINE state

2016-11-07 Thread Sebastian Andrzej Siewior
On 2016-11-07 11:32:19 [+0100], Borislav Petkov wrote: > On Thu, Nov 03, 2016 at 03:50:16PM +0100, Sebastian Andrzej Siewior wrote: > > If we try a CPU down and fail in the middle then we roll back to the > > online state. This means we would perform CPU_ONLINE() > > without invoking CPU_DEAD() fo

Re: [PATCH 2/2] staging: lustre: obdclass: Add handling of error returned by lustre_cfg_new

2016-11-07 Thread Greg KH
On Mon, Nov 07, 2016 at 04:10:16AM +, James Simmons wrote: > > > On Nov 6, 2016, at 12:11 PM, Christophe JAILLET wrote: > > > > > 'lustre_cfg_new()' can return ERR_PTR(-ENOMEM). > > > Handle these errors and propagate the error code to the callers. > > > > > > Error handling has been rearran

[PATCH 1/3] ARM64: dts: meson-gxl: Add ethernet nodes with internal PHY

2016-11-07 Thread Neil Armstrong
Add Ethernet node with Internal PHY selection for the Amlogic GXL SoCs Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dt

[PATCH 3/3] ARM64: dts: meson-gxl-s905x: Enable internal ethernet PHY

2016-11-07 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi index 07f0e0b..08237ee 100644 --- a/arch/arm64/boot/dts

[PATCH v5] media: et8ek8: add device tree binding documentation

2016-11-07 Thread Pavel Machek
Add device tree binding documentation for toshiba et8ek8 sensor. Signed-off-by: Ivaylo Dimitrov Signed-off-by: Pavel Machek diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt new file mode 100644 index 00

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()

2016-11-07 Thread Jesper Nilsson
On Mon, Oct 31, 2016 at 10:02:27AM +, Lorenzo Stoakes wrote: > This patch adds an int *locked parameter to get_user_pages() to allow > VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). > > It additionally clears the way for get_user_pages_locked() to be removed as > it

[PATCH RESEND] phy: exynos-mipi-video: simplify check for coupled phy status

2016-11-07 Thread Marek Szyprowski
There is no need to access regmap of coupled phy to check its state - such information is already in the phy device itself, so use it directly. This let us to avoid possible access to registers of the device in the disabled power domain if the coupled phy is already disabled. Signed-off-by: Marek

<    3   4   5   6   7   8   9   10   11   >