Re: [PATCH 03/20] ARM: dts: aspeed-g4: Correct VUART IRQ number

2017-12-10 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > This should have always been 8. > > Signed-off-by: Joel Stanley As this is a bugfix, should we backport it to stable kernels? When you fix a bug, I generally recommend including a 'Fixes' tag with the commit

[PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-10 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Reviewed-by:

Re: [PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-10 Thread Viresh Kumar
On 08-12-17, 14:07, Andrew-sh Cheng wrote: > Add opp v2 information, > and also add clocks, regulators and opp information into cpu nodes > > Signed-off-by: Andrew-sh Cheng > --- > arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 27 ++ >

[PATCH net-next v5 0/2] add UniPhier AVE ethernet support

2017-12-10 Thread Kunihiko Hayashi
This series adds support for Socionext AVE ethernet controller implemented on UniPhier SoCs. This driver supports RGMII/RMII modes. v4: https://www.spinics.net/lists/netdev/msg469294.html The PHY patch included in v1 has already separated in: http://www.spinics.net/lists/netdev/msg454595.html

[PATCH net-next v5 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-10 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt

Re: [PATCH v1 3/4] arm64: dts: mediatek: add mt8173 cpufreq related device nodes

2017-12-10 Thread Viresh Kumar
On 08-12-17, 14:07, Andrew-sh Cheng wrote: > Add opp v2 information, > and also add clocks, regulators and opp information into cpu nodes > > Signed-off-by: Andrew-sh Cheng > --- > arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 18 ++ >

Re: [PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > These are used to by the device tree to map pin numbers to constants > required by the GPIO bindings. > + > +#define ASPEED_GPIO_PORT_A 0 > +#define ASPEED_GPIO_PORT_B 1 > +#define ASPEED_GPIO_PORT_C 2 > +#define

Re: [PATCH v1 2/4] cpufreq: mediatek: Add mediatek related projects into blacklist

2017-12-10 Thread Viresh Kumar
On 08-12-17, 14:07, Andrew-sh Cheng wrote: > mediatek projects will use mediate-cpufreq.c as cpufreq driver, > instead of using cpufreq_dt.c > Add mediatek related projects into cpufreq-dt blacklist > > Signed-off-by: Andrew-sh Cheng > --- >

Re: [PATCH v1 1/4] cpufreq: mediatek: add mt2712 into compatible list

2017-12-10 Thread Viresh Kumar
On 08-12-17, 14:07, Andrew-sh Cheng wrote: > Support mt2712 in mediatek-cpufreq.c > > Signed-off-by: Andrew-sh Cheng > --- > drivers/cpufreq/mediatek-cpufreq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/mediatek-cpufreq.c >

Re: [PATCH 01/20] dt-bindings: clock: Add ASPEED constants

2017-12-10 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > +#define ASPEED_NUM_CLKS35 Why is this part of the ABI? What if they ever come out with a new chip that needs one more clock and you can't change it? Arnd

[PATCH 4/4] arm: dts: sun8i: a83t: Set timer node to use phy timer

2017-12-10 Thread Mylène Josserand
By default, virtual timers are used. These timers need an offset that must be set by firmware, for example. In case of SMP support, after a reset, this offset is in "unknown" state and produced a hang of the kernel. Use "arm,cpu-registers-not-fw-configured" property allows to use physical timers

[PATCH 2/4] arm: dts: sun8i: a83t: Add registers needed for MCPM

2017-12-10 Thread Mylène Josserand
Add 3 registers needed for MCPM (ie SMP): prcm, cpucfg and r_cpucfg. prcm and cpucfg are identical with sun9i-a80. The only difference is the r_cpucfg that does not exist on sun9i. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 15

[PATCH 3/4] arm: dts: sun8i: a83t: Add CCI-400 node

2017-12-10 Thread Mylène Josserand
Add CCI-400 node and control-port on CPUs needed by MCPM (ie SMP). Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++ 1 file changed, 41 insertions(+) diff --git

[PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-10 Thread Mylène Josserand
Hello everyone, This series adds SMP support for Allwinner Sun8i-a83t with MCPM (Multi-Cluster Power Management). Series information: - Based on last linux-next (next-20171211) - Had dependencies on Chen Yu's patch that add MCPM support:

[PATCH 1/4] ARM: sunxi: mcpm: Add support for A83T

2017-12-10 Thread Mylène Josserand
Add the support for A83T. A83T SoC has an additional register than A80 to handle CPU configurations: R_CPUS_CFG. Information about the register comes from Allwinner's BSP driver. An important difference is the Power Off Gating register for clusters which is BIT(4) in case of SUN9I-A80 and BIT(0)

Re: [PATCH 1/1] futex: futex_wake_op, fix sign_extend32 sign bits

2017-12-10 Thread Jiri Slaby
On 12/10/2017, 09:50 PM, Linus Torvalds wrote: > On Thu, Nov 30, 2017 at 6:35 AM, Jiri Slaby wrote: >> sign_extend32 counts the sign bit parameter from 0, not from 1. So we >> have to use "11" for 12th bit, not "12". > > This interface is crap. It really doesn't make much sense.

Re: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-10 Thread Greg Kroah-Hartman
On Mon, Dec 11, 2017 at 03:15:37AM +, Yinbo Zhu wrote: > > > -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Friday, December 08, 2017 6:44 PM > To: Greg Kroah-Hartman ; Yinbo Zhu > > Cc: Mathias

Re: [PATCH v2] usb: host: Implement workaround for Erratum A-007463

2017-12-10 Thread Greg Kroah-Hartman
On Mon, Dec 11, 2017 at 02:26:02AM +, Yinbo Zhu wrote: > > > -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Friday, December 08, 2017 6:18 PM > To: Yinbo Zhu > Cc: Felipe Balbi ; Mathias Nyman

Re: [PATCH] mm: Release a semaphore in 'get_vaddr_frames()'

2017-12-10 Thread Christophe JAILLET
Le 10/12/2017 à 10:45, Michal Hocko a écrit : On Sat 09-12-17 08:09:41, Christophe JAILLET wrote: A semaphore is acquired before this check, so we must release it before leaving. Fixes: b7f0554a56f2 ("mm: fail get_vaddr_frames() for filesystem-dax mappings") Signed-off-by: Christophe JAILLET

[PATCH] e1000e: Fix e1000_check_for_copper_link_ich8lan return value.

2017-12-10 Thread Benjamin Poirier
e1000e_check_for_copper_link() and e1000_check_for_copper_link_ich8lan() are the two functions that may be assigned to mac.ops.check_for_link when phy.media_type == e1000_media_type_copper. Commit 19110cfbb34d ("e1000e: Separate signaling for link check/link up") changed the meaning of the return

Crypto Fixes for 4.15

2017-12-10 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Buffer overread in RSA. - Potential use after free in algif_aead. - Error path null pointer dereference in af_alg. - Forbid combinations such as hmac(hmac(sha3)) which may crash. - Crash in salsa20 due to incorrect API usage. Please pull from

Re: [PATCH 3/5] arm: dts: sun8i: a83t: a711: Enable I2C0

2017-12-10 Thread Maxime Ripard
Hi, On Fri, Dec 08, 2017 at 10:54:17PM +0100, Mylène Josserand wrote: > The A711 has a touchscreen connected by I2C0. > Enable only I2C0 node for the moment. > > Signed-off-by: Mylène Josserand > --- > arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 7 +++ >

Re: [PATCH 5/5] arm: dts: sun8i: a83t: a711: Add touchscreen node

2017-12-10 Thread Maxime Ripard
Hi, On Fri, Dec 08, 2017 at 10:54:19PM +0100, Mylène Josserand wrote: > Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen. > It is connected via I2C0 so add his node in i2c0's node. > > The reset line is PD5, the interrupt line is PL7 and the power > supply is the ldo_io0

Re: [PATCH 1/5] arm: dts: sun8i: a83t: Add I2C0 node

2017-12-10 Thread Maxime Ripard
Hi, On Fri, Dec 08, 2017 at 10:54:15PM +0100, Mylène Josserand wrote: > Add I2C0 node for A83T. > > Signed-off-by: Mylène Josserand > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

RE: [PATCH v2 1/5] dt-bindings: rtc: add bindings for i.MX53 SRTC

2017-12-10 Thread Patrick Brünn
>From: Rob Herring [mailto:r...@kernel.org] >Sent: Mittwoch, 6. Dezember 2017 22:55 >On Tue, Dec 05, 2017 at 03:06:42PM +0100, linux-kernel-...@beckhoff.com >wrote: >> From: Patrick Bruenn >> >> +++ b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt >> @@ -0,0 +1,17 @@

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-10 Thread Amir Goldstein
On Mon, Dec 11, 2017 at 8:41 AM, Amir Goldstein wrote: > On Mon, Dec 11, 2017 at 8:04 AM, NeilBrown wrote: >> If a filesystem does not set sb->s_export_op, then it >> does not support filehandles and export_fs_encode_fh() >> and exportfs_encode_inode_fh()

Re: [PATCH v4 0/4] Teach phylib hard-resetting devices

2017-12-10 Thread Simon Horman
On Mon, Dec 04, 2017 at 11:34:48AM +0100, Geert Uytterhoeven wrote: > Hi David, Andrew, Florian, Simon, Magnus, > > This patch series adds optional PHY reset support to phylib. > > The first two patches are destined for David's net-next tree. They add > core PHY reset code, and update a

Re: [PATCH PTI v2 0/6] Clean up pgd handling and fix VSYSCALL and LDT

2017-12-10 Thread Andy Lutomirski
On Sun, Dec 10, 2017 at 10:47 PM, Andy Lutomirski wrote: > I'm getting reasonably happy with this. It still needs more testing, > but I want to get it out there. > > The main things that need testing are the 5-level case for the both > vsyscalls and the LDT. I'm getting a

[PATCH v6 6/6] arm64: dts: meson-axg: switch uart_ao clock to CLK81

2017-12-10 Thread Yixun Lan
Switch the uart_ao pclk to CLK81 since the clock driver is ready. Also move the clock info to the board.dts instead in the soc.dtsi. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 5

[PATCH v6 5/6] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-12-10 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan ---

[PATCH v6 3/6] clk: meson-axg: add clock controller drivers

2017-12-10 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Acked-by: Neil Armstrong Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 +

[PATCH v6 4/6] clk: meson: make the spinlock naming more specific

2017-12-10 Thread Yixun Lan
Make the spinlock more specific, so better for lockdep debugging and ctags/grep. Suggested-by: Stephen Boyd Signed-off-by: Yixun Lan --- this patch try to address the issue which bring up by Stephen at [1] [1]

[PATCH v6 1/6] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-12-10 Thread Yixun Lan
Update the documentation to support clock driver for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH v6 2/6] clk: meson-axg: add clocks dt-bindings required header

2017-12-10 Thread Yixun Lan
From: Qiufang Dai Add the required header for the clocks ID dt-bindings exported from various subsystem in the Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan

[PATCH PTI v2 0/6] Clean up pgd handling and fix VSYSCALL and LDT

2017-12-10 Thread Andy Lutomirski
I'm getting reasonably happy with this. It still needs more testing, but I want to get it out there. The main things that need testing are the 5-level case for the both vsyscalls and the LDT. I'm getting a double-fault in ldt_gdt_64, but I haven't checked whether it's a bug in this series, and

[PATCH PTI v2 4/6] x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode

2017-12-10 Thread Andy Lutomirski
If something goes wrong with pagetable setup, vsyscall=native will accidentally fall back to emulation. Make it warn and fail so that we notice. Signed-off-by: Andy Lutomirski --- arch/x86/entry/vsyscall/vsyscall_64.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH PTI v2 1/6] x86/pti: Vastly simplify pgd synchronization

2017-12-10 Thread Andy Lutomirski
Back when we would dynamically add mappings to the usermode tables, we needed to preallocate all the high top-level entries in the usermode tables. We don't need this in recent versions of PTI, so get rid of preallocation. With preallocation gone, the comments in pti_set_user_pgd() make even

[PATCH v6 0/6] add clk controller driver for Meson-AXG SoC

2017-12-10 Thread Yixun Lan
Add driver for the clk controller which found in Meson AXG SoC Note, we deliberately create a seperate source file for the Meson AXG series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily. Changes since v5 [5]: - add Rob's Ack

[PATCH PTI v2 2/6] Revert "x86/mm/pti: Disable native VSYSCALL"

2017-12-10 Thread Andy Lutomirski
This reverts commit 6a7b4041b853ecc653e2c1dda5b736ab5fd29357. With the PGD-propagation logic simplified, there's no need for this. --- arch/x86/Kconfig | 8 1 file changed, 8 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 411838058194..babb1e53b0a6 100644 ---

[PATCH PTI v2 5/6] x86/pti: Map the vsyscall page if needed

2017-12-10 Thread Andy Lutomirski
Make VSYSCALLs work fully in PTI mode. Signed-off-by: Andy Lutomirski --- arch/x86/entry/vsyscall/vsyscall_64.c | 6 ++-- arch/x86/include/asm/pgtable.h| 6 +++- arch/x86/include/asm/pgtable_64.h | 9 +++-- arch/x86/include/asm/vsyscall.h | 1 +

Re: [PATCH 2/4] fs/notify: don't put file handle buffer on stack.

2017-12-10 Thread Amir Goldstein
On Mon, Dec 11, 2017 at 8:04 AM, NeilBrown wrote: > A file handle buffer is not tiny, and could need to be larger in future, > so it isn't safe to allocate one on the stack. Instead, we need to > kmalloc(). > > There is no way to return an error status from a ->show_fdinfo() >

[PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-10 Thread Andy Lutomirski
With PTI on, we need the LDT to be in the usermode tables somewhere, and the LDT is per-mm. tglx had a hack to have a per-cpu LDT and context switch it, but it was probably insanely slow due to the required TLB flushes. Instead, take advantage of the fact that we have an address space hole that

[PATCH PTI v2 3/6] x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy

2017-12-10 Thread Andy Lutomirski
The kernel is very erratic as to which pagetables have _PAGE_USER set. The vsyscall page gets lucky: it seems that all of the relevant pagetables are among the apparently arbitrary ones that set _PAGE_USER. Rather than relying on chance, just explicitly set _PAGE_USER. This will let us clean up

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Jie Deng
On 2017/12/11 13:38, Al Viro wrote: > On Mon, Dec 11, 2017 at 05:05:20AM +, Al Viro wrote: > >> What for? Sure, this variant will work, but why bother with >> a = le32_to_cpu(b); >> (cpu_to_le32(a) & ) | >> and how is that better than >> (b & ...) | ... >> >> IDGI...

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-10 Thread Amir Goldstein
On Mon, Dec 11, 2017 at 8:04 AM, NeilBrown wrote: > If a filesystem does not set sb->s_export_op, then it > does not support filehandles and export_fs_encode_fh() > and exportfs_encode_inode_fh() should not be called. > They will use export_encode_fh() is which is a default > that

Re: [PATCH v18 10/10] virtio-balloon: don't report free pages when page poisoning is enabled

2017-12-10 Thread Wei Wang
On 12/01/2017 11:49 PM, Michael S. Tsirkin wrote: On Wed, Nov 29, 2017 at 09:55:26PM +0800, Wei Wang wrote: The guest free pages should not be discarded by the live migration thread when page poisoning is enabled with PAGE_POISONING_NO_SANITY=n, because skipping the transfer of such poisoned

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-10 Thread Al Viro
On Mon, Dec 11, 2017 at 05:04:05PM +1100, NeilBrown wrote: > @@ -385,7 +385,9 @@ int exportfs_encode_inode_fh(struct inode *inode, struct > fid *fid, > { > const struct export_operations *nop = inode->i_sb->s_export_op; > > - if (nop && nop->encode_fh) > + if (nop) > +

Re: [PATCH 00/13] Updates for QCOM Alpha PLL

2017-12-10 Thread Abhishek Sahu
On 2017-12-09 05:46, Stephen Boyd wrote: On 12/08, Abhishek Sahu wrote: On 2017-12-07 11:53, Stephen Boyd wrote: >On 09/28, Abhishek Sahu wrote: >>This patch series does the miscellaneous changes in QCOM Alpha PLL >>operation and structure to support other types of Alpha PLL’s. >> >>1. It adds

[PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-10 Thread NeilBrown
If a filesystem does not set sb->s_export_op, then it does not support filehandles and export_fs_encode_fh() and exportfs_encode_inode_fh() should not be called. They will use export_encode_fh() is which is a default that uses inode number generation number, but in general they may not be stable.

[PATCH 2/4] fs/notify: don't put file handle buffer on stack.

2017-12-10 Thread NeilBrown
A file handle buffer is not tiny, and could need to be larger in future, so it isn't safe to allocate one on the stack. Instead, we need to kmalloc(). There is no way to return an error status from a ->show_fdinfo() function, so if the kmalloc fails, we silently exclude the filehandle from the

[PATCH 3/4] NFS: allow name_to_handle_at() to work for Amazon EFS.

2017-12-10 Thread NeilBrown
Amazon EFS provides an NFSv4.1 filesystem which appears to use (close to) full length (128 byte) file handles. This causes the handle reported by name_to_handle_at() to exceed MAX_HANDLE_SZ, resulting in EOVERFLOW if 128 bytes were requested, or EINVAL if the size reported by the previous call

[PATCH 0/4] VFS: fix assorted issues with name_to_handle conversions.

2017-12-10 Thread NeilBrown
This series of patches is the result of discussion following the previous patch which increases MAX_HANDLE_SZ. Thanks, NeilBrown --- NeilBrown (4): fs/notify: fdinfo can report unsupported file handles. fs/notify: don't put file handle buffer on stack. NFS: allow

[PATCH 4/4] fhandle: Improve error responses in name_to_handle_at()

2017-12-10 Thread NeilBrown
1/ Always return the mnt_id, even if some other error occurs. It can be useful without the file handle. An application can initialise the memory to, e.g. -1 and if there is some other value after name_to_handle_at() returns, then it is a valid mnt_id. If the value is unchanged, then

Re: linux-next: build warning after merge of the device-mapper tree

2017-12-10 Thread Stephen Rothwell
Hi Mike, On Mon, 11 Dec 2017 00:24:36 -0500 Mike Snitzer wrote: > > I worked all weekend on DM code and compiled dm.c probably 30 times, > pretty bizarre that the RHEL7 gcc compiler isn't spewing anything about > this. That is weird. > Anyway, I just fixed it via rebase

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Al Viro
On Mon, Dec 11, 2017 at 05:05:20AM +, Al Viro wrote: > What for? Sure, this variant will work, but why bother with > a = le32_to_cpu(b); > (cpu_to_le32(a) & ) | > and how is that better than > (b & ...) | ... > > IDGI... Mind you, I'm not sure if there is any

Re: [PATCH] KVM: VMX: drop I/O permission bitmaps

2017-12-10 Thread Quan Xu
On 2017/12/09 01:31, Jim Mattson wrote: On Fri, Dec 8, 2017 at 2:22 AM, Quan Xu wrote: From: Quan Xu Since KVM removes the only I/O port 0x80 bypass on Intel hosts, clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING bit. Then these

linux-next: Tree for Dec 11

2017-12-10 Thread Stephen Rothwell
Hi all, Changes since 20171208: The clk tree gained build failures so I used the version from next-20171208. The v4l-dvb-next tree gained conflicts against the vfs tree. The akpm-current tree gained a build failure for which I added a fix patch. The akpm tree lost a patch that turned up

Re: [PATCH -mm] mm, swap: Fix race between swapoff and some swap operations

2017-12-10 Thread Huang, Ying
Andrew Morton writes: > On Fri, 08 Dec 2017 16:41:38 +0800 "Huang\, Ying" > wrote: > >> > Why do we need srcu here? Is it enough with rcu like below? >> > >> > It might have a bug/room to be optimized about performance/naming. >> > I just wanted

Re: linux-next: build warning after merge of the device-mapper tree

2017-12-10 Thread Mike Snitzer
On Sun, Dec 10 2017 at 9:05pm -0500, Stephen Rothwell wrote: > Hi all, > > After merging the device-mapper tree, today's linux-next build (powerp > ppc64_defconfig) produced this warning: > > drivers/md/dm.c: In function '__send_changing_extent_only': >

Re: [v2 PATCH] cpufreq: powernv: Correctly parse the sign of pstates on POWER8 vs POWER9

2017-12-10 Thread Gautham R Shenoy
Hi Balbir, On Fri, Dec 08, 2017 at 02:44:40PM +1100, Balbir Singh wrote: > On Thu, Dec 7, 2017 at 4:59 PM, Gautham R. Shenoy > wrote: > > From: "Gautham R. Shenoy" > > > > On POWERNV platform, Pstates are 8-bit values. On POWER8 they are > >

Re: [PATCH] KVM: VMX: drop I/O permission bitmaps

2017-12-10 Thread Quan Xu
On 2017/12/09 00:18, David Hildenbrand wrote: On 08.12.2017 11:22, Quan Xu wrote: From: Quan Xu Since KVM removes the only I/O port 0x80 bypass on Intel hosts, clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING bit. Then these I/O permission bitmaps are

[PATCH 20/20] ARM: dts: aspeed-plametto: Add flash layout

2017-12-10 Thread Joel Stanley
The OpenBMC flash layout is used by Palmetto systems. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

[PATCH 19/20] ARM: dts: aspeed-romulus: Update Romulus system

2017-12-10 Thread Joel Stanley
- Fix incorrect RAM size - Remove alias; these are now specified in the dtsi - Add newly upstreamed devices - Include OpenBMC flash layout Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 155 +-- 1 file changed, 149

[PATCH 18/20] ARM: dts: aspeed: Add Qanta Q71L BMC machine

2017-12-10 Thread Joel Stanley
From: Rick Altherr The Qanta Q71L BMC is an ASPEED ast2400 based BMC that is part of a Qanta x86 server. This adds the device tree description for most upstream components. It is a squashed commit from the OpenBMC kernel tree. Signed-off-by: Peter Hanson

[PATCH 16/20] ARM: dts: aspeed: Add Witherspoon BMC machine

2017-12-10 Thread Joel Stanley
The Witherspoon BMC is an ASPEED ast2500 based BMC that is part of an OpenPower Power9 server. This adds the device tree description for most upstream components. It is a squashed commit from the OpenBMC kernel tree. Signed-off-by: Brandon Wyman Signed-off-by: Matt Spinler

[PATCH 13/20] ARM: dts: aspeed: Update license headers

2017-12-10 Thread Joel Stanley
In b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") these files had the GPL-2.0 licence added automatically. Update them to be GPL 2.0+ in line with other IBM kernel contributions. Signed-off-by: Joel Stanley ---

[PATCH 14/20] ARM: dts: Add OpenBMC flash layout

2017-12-10 Thread Joel Stanley
This is a layout used by OpenBMC systems. It describes the fixed flash layout of a 32MB mtd device. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/openbmc-flash-layout.dtsi | 32 + 1 file changed, 32 insertions(+) create mode 100644

[PATCH 17/20] ARM: dts: aspeed: Add Ingrasys Zaius BMC machine

2017-12-10 Thread Joel Stanley
From: Xo Wang Zaius is a POWER9 platform announced at OpenPOWER Summit 2016. This adds basic DTS support for its AST2500 BMC. This adds the device tree description for most upstream components. It is a squashed commit of all of the patches from the OpenBMC kernel tree.

[PATCH 15/20] ARM: dts: aspeed: Sort ASPEED entries in makefile

2017-12-10 Thread Joel Stanley
In preperation for adding more boards. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0381e9caf21..5d1e9d37bf3a 100644 ---

[PATCH 11/20] ARM: dts: aspeed: Add LPC Snoop device

2017-12-10 Thread Joel Stanley
LPC snoop hardware on the ASPEED BMC, used for monitoring host I/O port activity. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 7 +++ arch/arm/boot/dts/aspeed-g5.dtsi | 6 ++ 2 files changed, 13 insertions(+) diff --git

[PATCH 12/20] ARM: dts: aspeed: Remove skeleton.dtsi

2017-12-10 Thread Joel Stanley
We don't require it for any of the ASPEED systems. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1 - arch/arm/boot/dts/aspeed-g5.dtsi | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi

[PATCH 10/20] ARM: dts: aspeed: Add PWM and tachometer node

2017-12-10 Thread Joel Stanley
Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 9 + arch/arm/boot/dts/aspeed-g5.dtsi | 9 + 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index fa52a01f50b5..f6fee40c04c0

[PATCH 08/20] ARM: dts: aspeed: Add flash controller clocks

2017-12-10 Thread Joel Stanley
Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 2e3666d4fbeb..afac0ca0cb10 100644 ---

[PATCH 09/20] ARM: dts: aspeed: Add clock phandle to GPIO

2017-12-10 Thread Joel Stanley
This enables a feature where the driver can debounce inputs. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi

[PATCH 07/20] ARM: dts: aspeed: Add watchdog clocks

2017-12-10 Thread Joel Stanley
Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index cf407b4db630..2e3666d4fbeb 100644 ---

[PATCH 05/20] ARM: dts: aspeed: Add proper clock references

2017-12-10 Thread Joel Stanley
The existing device trees use fixed-clocks in order to boot without a clk driver. The newly added clk driver provides proper clock support, including gating, so we move the device trees over to properly request clocks. Signed-off-by: Joel Stanley ---

[PATCH 06/20] ARM: dts: aspeed: Add MAC clocks

2017-12-10 Thread Joel Stanley
Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index c87883a7f250..cf407b4db630 100644 ---

[PATCH 04/20] ARM: dts: aspeed: Add LPC and child devices

2017-12-10 Thread Joel Stanley
From: Andrew Jeffery Ensure the ordering is correct and add all of the children in the SoC device trees for the ast2400 and ast2500. Signed-off-by: Andrew Jeffery Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 35

[PATCH 03/20] ARM: dts: aspeed-g4: Correct VUART IRQ number

2017-12-10 Thread Joel Stanley
This should have always been 8. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 100d092e6c07..9ebf90f34709 100644 ---

[PATCH 01/20] dt-bindings: clock: Add ASPEED constants

2017-12-10 Thread Joel Stanley
These will be merged as part of the clock driver. This commit is included so the tree will build without the clock series being applied. Signed-off-by: Joel Stanley --- include/dt-bindings/clock/aspeed-clock.h | 54 1 file changed, 54

[PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Joel Stanley
These are used to by the device tree to map pin numbers to constants required by the GPIO bindings. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + include/dt-bindings/gpio/aspeed-gpio.h | 49

[PATCH 00/20] ARM: dts: aspeed: updates and new machines

2017-12-10 Thread Joel Stanley
This series of device tree patches for the ASPEED BMC machines moves all systems to use the soon to be merged clk driver, and updates machines to use all of the drivers we have upstream. In addition it adds three new OpenBMC systems that have been developed in the OpenBMC kernel tree over the

linux-next: build failure after merge of the akpm-current tree

2017-12-10 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from include/linux/hugetlb.h:451:0, from arch/powerpc/mm/hugetlbpage.c:14: arch/powerpc/include/asm/hugetlb.h:125:26: error: redefinition of

Re: [PATCH 4/4] PCI: dwc: pci-dra7xx: Fix legacy IRQ handling

2017-12-10 Thread Vignesh R
On Saturday 09 December 2017 12:05 AM, Lorenzo Pieralisi wrote: > On Fri, Dec 01, 2017 at 11:43:11AM +0530, Vignesh R wrote: >> Legacy INTD IRQ handling is broken on dra7xx due to fact that driver >> uses hwirq in range of 1-4 for INTA, INTD whereas IRQ domain is of size >> 4 which is numbered

Re: linux-next: build warnings after merge of the scsi tree

2017-12-10 Thread Stephen Rothwell
Hi all, On Wed, 6 Dec 2017 13:31:49 +1100 Stephen Rothwell wrote: > > After merging the scsi tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > drivers/scsi/bfa/bfad_bsg.c: In function 'bfad_im_bsg_vendor_request': >

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-10 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 10:57:45AM +1100, Dave Chinner wrote: > i.e. the fact the cmpxchg failed may not have anything to do with a > race condtion - it failed because the slot wasn't empty like we > expected it to be. There can be any number of reasons the slot isn't > empty - the API should not

Re: [PATCH 27/45] net: remove duplicate includes

2017-12-10 Thread David Miller
From: Pravin Shedge Date: Sun, 10 Dec 2017 23:30:21 +0530 > On Thu, Dec 7, 2017 at 2:28 AM, David Miller wrote: >> From: Pravin Shedge >> Date: Wed, 6 Dec 2017 23:02:58 +0530 >> >>> These duplicate includes

Re: [PATCH] ptp: make PTP a menuconfig to ease disabling it all

2017-12-10 Thread Richard Cochran
On Sat, Dec 09, 2017 at 04:07:15PM +0100, Vincent Legoll wrote: > No need to get into the submenu to disable all PTP-related > config entries. > > This makes it easier to disable all PTP config options > without entering the submenu. It will also enable one > to see that en/dis-abled state from

Re: [PATCH] dmaengine: jz4740: disable/unprepare clk if probe fails

2017-12-10 Thread Vinod Koul
On Wed, Dec 06, 2017 at 02:28:27PM +0100, Tobias Jordan wrote: > in error path of jz4740_dma_probe(), call clk_disable_unprepare() to clean > up. > > Found by Linux Driver Verification project (linuxtesting.org). Applied, thanks -- ~Vinod

Re: [PATCH] dmaengine: timb_dma: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-10 Thread Vinod Koul
On Fri, Dec 01, 2017 at 09:25:28AM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err error message text. Applied, thanks -- ~Vinod

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-10 Thread Yinbo Zhu
-Original Message- From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] Sent: Friday, December 08, 2017 6:44 PM To: Greg Kroah-Hartman ; Yinbo Zhu Cc: Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-10 Thread Randy Dunlap
On 12/10/2017 06:08 PM, Linus Torvalds wrote: > Another week, another rc. > um (uml) won't build on i386 or x86_64: CC init/main.o In file included from ../include/linux/perf_event.h:18:0, from ../include/linux/trace_events.h:10, from

Re: [PATCH][next] scsi: arcmsr: remove redundant check for secs < 0

2017-12-10 Thread 黃清隆
Colin, You are right. That's checking is redundant. secs is never be negative. Thanks for your correction and patch. Regards, Ching 2017-12-09 8:34 GMT+08:00 Colin King : > From: Colin Ian King > > The check for secs being less than zero is

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-007463

2017-12-10 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Friday, December 08, 2017 6:18 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER

Re: [PATCH net-next] libbpf: add function to setup XDP

2017-12-10 Thread Toshiaki Makita
On 2017/12/09 23:43, Eric Leblond wrote: > Most of the code is taken from set_link_xdp_fd() in bpf_load.c and > slightly modified to be library compliant. > > Signed-off-by: Eric Leblond ... > +int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags) ... > + for (nh =

Re: [PATCH v2 00/18] arm64: Unmap the kernel whilst running in userspace (KAISER)

2017-12-10 Thread Shanker Donthineni
Hi Will, I tested v2 patch series on Centriq2400 server platform successfully, no regression so far. And also we applied internal patches on top of the branch "kpti" and verified kaiser feature. Tested-by: Shanker Donthineni -- Shanker Donthineni Qualcomm

Re: [PATCH v4] mmap.2: MAP_FIXED updated documentation

2017-12-10 Thread John Hubbard
On 12/10/2017 02:31 AM, Michal Hocko wrote: > On Tue 05-12-17 19:14:34, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> Previously, MAP_FIXED was "discouraged", due to portability >> issues with the fixed address. In fact, there are other, more >> serious issues.

Re: [PATCH] checkpatch: don't require octal permissions for "0"

2017-12-10 Thread Joe Perches
On Sun, 2017-12-10 at 15:04 +0100, Bartosz Golaszewski wrote: > If the permission value is 0, don't raise the NON_OCTAL_PERMISSIONS > error. There's no possibility of an error if there are no permissions. > > Suggested-by: Andy Shevchenko > Signed-off-by: Bartosz

Linux 4.15-rc3

2017-12-10 Thread Linus Torvalds
Another week, another rc. I'm not thrilled about how big the early 4.15 rc's are, but rc3 is often the biggest rc because it's still fairly early in the calming-down period, and yet people have had some time to start finding problems. That said, this rc3 is big even by rc3 standards. Not good.

Re: [PATCH] TC: Delete an error message for a failed memory allocation in tc_bus_add_devices()

2017-12-10 Thread Joe Perches
On Sun, 2017-12-10 at 21:41 +, Maciej W. Rozycki wrote: > On Sun, 10 Dec 2017, SF Markus Elfring wrote: > > > Omit an extra message for a memory allocation failure in this function. > > > > This issue was detected by using the Coccinelle software. > > And the problem here is? Markus'

  1   2   3   >