[PATCH v2] ARM64: dts: meson-axg: add PWM DT info for Meson-Axg SoC

2017-12-14 Thread Yixun Lan
From: Jian Hu Add PWM DT info for the Amlogic's Meson-Axg SoC. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- Changes in v2 since [1] - drop clock DT info from soc.dtsi [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005578.html --- arch/arm64/boot/dts/amlogic/mes

[question] should 363b02dab09b3 be backported to stable 4.1+?

2017-12-14 Thread Sergey Senozhatsky
Hello David, Eric, please help me out. I'm looking at 363b02dab09b ("KEYS: Fix race between updating and finding a negative key") right now. So, I see that it has been backported to stable 4.4+. My question is -- do we have those test_bit(KEY_FLAG_INSTANTIATED) and test_bit(KEY_FLAG_NEGATIVE) rac

[PATCH] ip6_gre: fix a pontential issue in ip6erspan_rcv

2017-12-14 Thread Haishuang Yan
pskb_may_pull() can change skb->data, so we need to load ipv6h/ershdr at the right place. Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support") Cc: William Tu Signed-off-by: Haishuang Yan --- net/ipv6/ip6_gre.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

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

2017-12-14 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: mm/khugepaged.c: In function 'khugepaged': mm/khugepaged.c:1757:31: warning: 'vma' may be used uninitialized in this function [-Wmaybe-uninitialized] if (khugepaged_test_ex

Re: Adding init_task consolidation patches to linux-next

2017-12-14 Thread Stephen Rothwell
Hi David, On Fri, 08 Dec 2017 15:56:40 + David Howells wrote: > > Can you add the following to linux-next please? > > > http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=init_task AKA git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git#init_tas

Re: [PATCH 5/4] scsi: arcmsr: simplify arcmsr_request_device_map routine

2017-12-14 Thread Martin K. Petersen
Ching, > simplify arcmsr_request_device_map routine Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH linux ipmi for BMC] ipmi: add an Aspeed KCS IPMI BMC driver

2017-12-14 Thread Haiyue Wang
Thanks Corey, yes, I ran through checkpatch. Fix most of warnings and errors. I thought 2 and 3 would be acceptable, will fix it in new patch,and together with fix for comments from all of you. And how to fix item 1 ? 1. WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #

Re: [PATCH v19 2/7] xbitmap: potential improvement

2017-12-14 Thread kbuild test robot
Hi Wei, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.15-rc3 next-20171214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

答复: [BUG]kernel softlockup due to sidtab_search_context run for long time because of too many sidtab context node

2017-12-14 Thread yangjihong
On 12/15/2017 10:31 PM, yangjihong wrote: >On 12/14/2017 12:42 PM, Casey Schaufler wrote: >> On 12/14/2017 9:15 AM, Stephen Smalley wrote: >>> On Thu, 2017-12-14 at 09:00 -0800, Casey Schaufler wrote: On 12/14/2017 8:42 AM, Stephen Smalley wrote: > On Thu, 2017-12-14 at 08:18 -0800, Casey

Re: [PATCH] iommu/vt-d: Fix shift overflow in qi_flush_dev_iotlb

2017-12-14 Thread kbuild test robot
Hi Alex, I love your patch! Yet something to improve: [auto build test ERROR on v4.15-rc3] [also build test ERROR on next-20171214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Alex

Re: [PATCH tip 0/3] Improvements of scheduler related Tracepoints

2017-12-14 Thread Alexei Starovoitov
On 12/14/17 12:49 PM, Peter Zijlstra wrote: On Thu, Dec 14, 2017 at 12:20:41PM -0800, Teng Qin wrote: This set of commits attempts to improve three scheduler related Tracepoints: sched_switch, sched_process_fork, sched_process_exit. Firstly, these commit add additional flag values, namely preem

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-14 Thread Steven Rostedt
On Fri, 15 Dec 2017 11:10:24 +0900 Sergey Senozhatsky wrote: > Steven, your approach works ONLY when we have the following preconditions: > > a) there is a CPU that is calling printk() from the 'safe' (non-atomic, > etc) context > > what does guarantee that? what happens if there i

Re: [PATCH v8 7/7] arm64: kvm: handle SError Interrupt by categorization

2017-12-14 Thread gengdongjiu
Hi James, On 2017/12/7 14:37, gengdongjiu wrote: >> We need to tackle (1) and (3) separately. For (3) we need some API that lets >> Qemu _trigger_ an SError in the guest, with a specified ESR. But, we don't >> have >> a way of migrating pending SError yet... which is where I got stuck last >> ti

[PATCH 0/7 v3] make some functions return bool

2017-12-14 Thread Yaowei Bai
This patchset makes some *_is_* like functions return bool because these functions only use true or false as their return values. No functional change. Change from v2: fix x86_64 allnoconfig build error for is_kdump_kernel (Andrew) Yaowei Bai (7): mm/memblock: memblock_is_map/region_memory

[PATCH 4/7] kernel/resource: iomem_is_exclusive can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes iomem_is_exclusive return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/ioport.h | 2 +- kernel/resource.c | 10 +- 2 files changed, 6 insertions(+), 6 dele

[PATCH 1/7] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes memblock_is_map/region_memory return bool due to these two functions only using either true or false as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/memblock.h | 4 ++-- mm/memblock.c| 6 +++--- 2 files changed, 5 insertions(+)

[PATCH 7/7] crash_dump: is_kdump_kernel can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes is_kdump_kernel return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/crash_dump.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include

[PATCH 5/7] kernel/module: module_is_live can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes module_is_live return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/module.h b/

[PATCH 3/7] kernel/cpuset: current_cpuset_is_being_rebound can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes current_cpuset_is_being_rebound return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/cpuset.h | 6 +++--- kernel/cgroup/cpuset.c | 4 ++-- 2 files changed, 5 insertions(+

[PATCH 6/7] kernel/mutex: mutex_is_locked can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes mutex_is_locked return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mutex.h

[PATCH 2/7] lib/lockref: __lockref_is_dead can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes __lockref_is_dead return bool due to this function only using either true or false as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/lockref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/lockref.h b/incl

Re: [PATCH] arm64: allwinner: a64: a64-olinuxino: add usb otg

2017-12-14 Thread kbuild test robot
Hi Jagan, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.15-rc3] [cannot apply to next-20171214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [question] should 363b02dab09b3 be backported to stable 4.1+?

2017-12-14 Thread Eric Biggers
Hi Sergey, On Fri, Dec 15, 2017 at 11:47:06AM +0900, Sergey Senozhatsky wrote: > Hello David, Eric, > > please help me out. > > I'm looking at 363b02dab09b ("KEYS: Fix race between updating and finding > a negative key") right now. So, I see that it has been backported to stable > 4.4+. My quest

[PATCH V6 02/13] of: platform: Make of_platform_bus_create() global

2017-12-14 Thread Viresh Kumar
The boot constraints core needs to create platform or AMBA devices corresponding to a compatible string and not for rest of the nodes in DT. of_platform_bus_create() fits in the best to achieve that. Allow it to be used outside of platform.c. Signed-off-by: Viresh Kumar --- V6: - Build bot repor

Re: [PATCH] arm: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Viresh Kumar
On 14-12-17, 17:53, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format): Node /XXX unit na

Re: [PATCH] locking/lockdep: Remove the cross-release locking checks

2017-12-14 Thread Byungchul Park
On Thu, Dec 14, 2017 at 2:01 PM, Byungchul Park wrote: > On Wed, Dec 13, 2017 at 7:46 PM, Ingo Molnar wrote: >> >> * Byungchul Park wrote: >> >>> Lockdep works, based on the following: >>> >>>(1) Classifying locks properly >>>(2) Checking relationship between the classes >>> >>> If (1) i

linux-next: Tree for Dec 15

2017-12-14 Thread Stephen Rothwell
Hi all, Changes since 20171214: New tree: init_task The staging.current tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 4569 4982 files changed, 156683 insertions(+), 143157 dele

[ANNOUNCE] 4.9.65-rt57

2017-12-14 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.9.65-rt57 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.9-rt Head SHA1: 1dcf2103d80a19dc9562e63eb2fb0084e362c3f1 Or to build 4.9.65-rt57 directl

[ANNOUNCE] 4.4.102-rt117

2017-12-14 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.4.102-rt117 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.4-rt Head SHA1: 3e11a4219d6b61555b365769df6c165e2eafba47 Or to build 4.4.102-rt117 dir

Re: [PATCH v3] dmaengine: fsl-edma: disable clks on all error paths

2017-12-14 Thread Vinod Koul
On Thu, Dec 14, 2017 at 12:50:51PM +0100, Andreas Platschek wrote: > Previously enabled clks are only disabled if clk_prepare_enable() fails. > However, there are other error paths were the previously enabled > clocks are not disabled. > > To fix the problem, fsl_disable_clocks() now takes the num

Re: [PATCH v4 08/73] xarray: Add documentation

2017-12-14 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 03:10:22PM -0800, Randy Dunlap wrote: > > +A freshly-initialised XArray contains a ``NULL`` pointer at every index. > > +Each non-``NULL`` entry in the array has three bits associated with > > +it called tags. Each tag may be flipped on or off independently of > > +the othe

[RFC PATCH] media: v4l2-device: Link subdevices to their parent devices if available

2017-12-14 Thread Tomasz Figa
Currently v4l2_device_register_subdev_nodes() does not initialize the dev_parent field of the video_device structs it creates for subdevices being registered. This leads to __video_register_device() falling back to the parent device of associated v4l2_device struct, which often does not match the p

Re: [PATCH] mm: thp: use down_read_trylock in khugepaged to avoid long block

2017-12-14 Thread Anshuman Khandual
On 12/15/2017 01:23 AM, Yang Shi wrote: > In the current design, khugepaged need acquire mmap_sem before scanning > mm, but in some corner case, khugepaged may scan the current running > process which might be modifying memory mapping, so khugepaged might > block in uninterruptible state. But, the

[PATCH linux ipmi for BMC v2] ipmi: add an Aspeed KCS IPMI BMC driver

2017-12-14 Thread Haiyue Wang
This patch adds a simple device driver to expose the KCS interface on Aspeed SOCs (AST2400 and AST2500) as a character device. Such SOCs are commonly used as BMCs (BaseBoard Management Controllers) and this driver implements the BMC side of the KCS interface. The KCS (Keyboard Controller Style) in

[PATCH v3 net-next 3/3] net: dsa: mediatek: update MAINTAINERS entry with MediaTek switch driver

2017-12-14 Thread sean.wang
From: Sean Wang I work for MediaTek and maintain SoC targeting to home gateway and also will keep extending and testing the function from MediaTek switch. Signed-off-by: Sean Wang Reviewed-by: Andrew Lunn --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b

[PATCH v3 net-next 0/3] add VLAN support to DSA MT7530

2017-12-14 Thread sean.wang
From: Sean Wang Changes sicne v2: update to the latest code base from net-next and fix up all building errors with -Werror. Changes since v1: - fix up the typo - prefer ordering declarations longest to shortest - update that vlan_prepare callback should not change any state - use lower case lett

[PATCH v3 net-next 2/3] net: dsa: mediatek: combine MediaTek tag with VLAN tag

2017-12-14 Thread sean.wang
From: Sean Wang In order to let MT7530 switch can recognize well those egress packets having both special tag and VLAN tag, the information about the special tag should be carried on the existing VLAN tag. On the other hand, it's unnecessary for extra handling for ingress packets when VLAN tag is

[PATCH v3 net-next 1/3] net: dsa: mediatek: add VLAN support for MT7530

2017-12-14 Thread sean.wang
From: Sean Wang MT7530 can treat each port as either VLAN-unaware port or VLAN-aware port through the implementation of port matrix mode or port security mode on the ingress port, respectively. On one hand, Each port has been acting as the VLAN-unaware one whenever the device is created in the in

Re: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()

2017-12-14 Thread Dave Hansen
On 12/14/2017 12:54 PM, Peter Zijlstra wrote: >> That short-circuits the page fault pretty quickly. So, basically, the >> rule is: if the hardware says you tripped over pkey permissions, you >> die. We don't try to do anything to the underlying page *before* saying >> that you die. > That only wo

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-14 Thread Sergey Senozhatsky
Hello, On (12/14/17 22:18), Steven Rostedt wrote: > > Steven, your approach works ONLY when we have the following preconditions: > > > > a) there is a CPU that is calling printk() from the 'safe' (non-atomic, > > etc) context > > > > what does guarantee that? what happens if there i

Re: [RFC][PATCH] Add primitives for manipulating bitfields both in host- and fixed-endian.

2017-12-14 Thread Jakub Kicinski
Looks great to me! On Fri, 15 Dec 2017 02:33:43 +, Al Viro wrote: > The following primitives are defined in linux/bitfield.h: > > * u32 le32_get_bits(__le32 val, u32 field) extracts the contents of the > bitfield specified by @field in little-endian 32bit value @val and > converts it to h

Re: [question] should 363b02dab09b3 be backported to stable 4.1+?

2017-12-14 Thread Sergey Senozhatsky
Hello Eric, On (12/14/17 19:58), Eric Biggers wrote: > Hi Sergey, > > On Fri, Dec 15, 2017 at 11:47:06AM +0900, Sergey Senozhatsky wrote: > > Hello David, Eric, > > > > please help me out. > > > > I'm looking at 363b02dab09b ("KEYS: Fix race between updating and finding > > a negative key") rig

Re: [PATCH 0/3] platform/x86: dell-laptop: All the warnings are resolved.

2017-12-14 Thread Dhaval Shah
Hi Andy Shevchenko, Thanks for the review. > From: Andy Shevchenko > Sent: Thursday, December 14, 2017 11:29 PM > To: Dhaval Shah > Cc: Matthew Garrett; Pali Rohár; Andy Shevchenko; Platform Driver; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 0/3

[PATCH net-next] net/ncsi: Don't take any action on HNCDSC AEN

2017-12-14 Thread Samuel Mendoza-Jonas
The current HNCDSC handler takes the status flag from the AEN packet and will update or change the current channel based on this flag and the current channel status. However the flag from the HNCDSC packet merely represents the host link state. While the state of the host interface is potentially

Re: [PATCH] platform/x86: dell-smbios: Block comments use * on subsequent lines

2017-12-14 Thread Dhaval Shah
Hi Andy Shevchenko, > From: Andy Shevchenko > Sent: Thursday, December 14, 2017 11:29 PM > To: Dhaval Shah > Cc: Pali Rohár; Mario Limonciello; dvh...@infradead.org; Andy Shevchenko; > Platform Driver; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] p

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-14 Thread Dhaval Shah
Hi Laurent/Mauro/Greg, On Fri, Dec 15, 2017 at 3:32 AM, Laurent Pinchart wrote: > Hi Mauro, > > On Thursday, 14 December 2017 23:50:03 EET Mauro Carvalho Chehab wrote: >> Em Thu, 14 Dec 2017 21:57:06 +0100 Greg KH escreveu: >> > On Thu, Dec 14, 2017 at 10:44:16PM +0200, Laurent Pinchart wrote: >>

Re: [PATCH 0/9] ASoC: Intel: Kconfig fixes

2017-12-14 Thread Vinod Koul
On Thu, Dec 14, 2017 at 06:44:42PM -0600, Pierre-Louis Bossart wrote: > The first patch implements what Linus, Takashi and Mark > requested: a top-level selector defaulting to 'y' to easily filter all > other options and with no impact on code generation. There should be no > functionality change a

Re: [RFC][PATCH] Add primitives for manipulating bitfields both in host- and fixed-endian.

2017-12-14 Thread Al Viro
On Thu, Dec 14, 2017 at 09:07:13PM -0800, Jakub Kicinski wrote: > Looks great to me! > > On Fri, 15 Dec 2017 02:33:43 +, Al Viro wrote: > > The following primitives are defined in linux/bitfield.h: > > > > * u32 le32_get_bits(__le32 val, u32 field) extracts the contents of the > > bitfield

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

2017-12-14 Thread Joel Stanley
This should have always been 8. Fixes: db4d6d9d80fa ("ARM: dts: aspeed: Correctly order UART nodes") Cc: sta...@vger.kernel.org Signed-off-by: Joel Stanley --- ARM maintainers, please include this fix for 4.15 arch/arm/boot/dts/aspeed-g4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH 5/5] PCI: cadence: add EndPoint Controller driver for Cadence PCIe controller

2017-12-14 Thread Kishon Vijay Abraham I
Hi Cyrille, On Thursday 14 December 2017 10:33 PM, Cyrille Pitchen wrote: > Le 13/12/2017 à 17:50, Cyrille Pitchen a écrit : >> Hi Kishon, >> >> Le 05/12/2017 à 10:19, Kishon Vijay Abraham I a écrit : >>> Hi, >>> >>> On Friday 01 December 2017 05:50 PM, Lorenzo Pieralisi wrote: On Thu, Nov 23

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

2017-12-14 Thread Paul E. McKenney
On Fri, Dec 15, 2017 at 09:33:03AM +0800, Huang, Ying wrote: > Michal Hocko writes: > > > On Thu 14-12-17 21:38:32, Huang, Ying wrote: > >> From: Huang Ying > >> > >> When the swapin is performed, after getting the swap entry information > >> from the page table, system will swap in the swap en

[PATCH v2 2/6] phy: renesas: rcar-gen3-usb2: unify OBINTEN handling

2017-12-14 Thread Yoshihiro Shimoda
This patch unifies the OBINTEN handling to clean-up the code. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c b/drivers/phy/renesas

[PATCH v2 0/6] phy: renesas: rcar-gen3-usb2: add gpio handling for R-Car D3

2017-12-14 Thread Yoshihiro Shimoda
This patch set is based on the latest linux-phy / next branch (commit id = 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323). This new feature will be used by the renesas_usbhs driver on R-Car D3. Changes from v1: - Drop "renesas," from the names of gpio property. - Change function names of "enable_" t

[PATCH v2 1/6] phy: renesas: rcar-gen3-usb2: call INIT_WORK() anyway

2017-12-14 Thread Yoshihiro Shimoda
In the future, the work struct will be used by non-irq related code. So, this patch moves the INIT_WORK() timing. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/renesas/phy-rcar-gen3-

[PATCH v2 3/6] phy: renesas: rcar-gen3-usb2: change the function name to set_vbus_ctrl()

2017-12-14 Thread Yoshihiro Shimoda
This patch changes the function name from rcar_gen3_enable_vbus_ctrl() to rcar_gen3_set_vbus_ctrl() because the fucntion both enables and disables. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-)

[PATCH v2 4/6] phy: renesas: rcar-gen3-usb2: use prefix "has_otg_pins_" for dedicated pins handling

2017-12-14 Thread Yoshihiro Shimoda
To support gpio handling in the future, this patch clean-ups the code to use prefix "has_otg_pins_" functions. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 130 --- 1 file changed, 85 insertions(+), 45 deletions(-) diff --git a/driv

[PATCH v2 6/6] phy: renesas: rcar-gen3-usb2: add gpio handling

2017-12-14 Thread Yoshihiro Shimoda
Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS and ID. So, they may be connected to gpio pins. To handle the gpio pins, this patch adds the handling of VBUS and ID pins instead of dedicated pins. Signed-off-by: Yoshihiro Shimoda --- .../devicetree/bindings/phy/rcar-gen3-phy-

[PATCH v2 5/6] phy: renesas: rcar-gen3-usb2: add rcar_gen3_role_swap_ops

2017-12-14 Thread Yoshihiro Shimoda
This patch add rcar_gen3_role_swap_ops to support other feature (e.g. gpio handling) easily. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 51 +++- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/drivers/phy/renesas/phy

Re: [PATCH v7 0/6] Mediatek MT2712 clock and scpsys support

2017-12-14 Thread Weiyi Lu
On Tue, 2017-11-28 at 15:28 +0800, Weiyi Lu wrote: Hi Matthias, Just gentle ping. Many thanks. > This series is based on v4.15-rc1 and composed of > scpsys control (PATCH 1-4) and device tree (PATCH 5-6) > > changes since v6: > - Rebase to v4.15-rc1. > > changes since v5: > - Refine bus protect

[GIT PULL] xen: fixes for 4.15-rc4

2017-12-14 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.15-rc4-tag xen: fixes for 4.15-rc4 It contains two minor fixes for running as Xen dom0: - when built as 32 bit kernel on large machines the Xen LAPIC emulation should report a rat

RE: [PATCH v3 2/2] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-14 Thread Dhaval Rajeshbhai Shah
Hi Randy, Thanks a lot for the review. > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Thursday, December 14, 2017 10:43 AM > To: Dhaval Rajeshbhai Shah ; a...@arndb.de; > gre...@linuxfoundation.org; pombreda...@nexb.com; robh...@kernel.org; > mark.rutl...

Re: [PATCH net-next] net/ncsi: Don't take any action on HNCDSC AEN

2017-12-14 Thread Jeremy Kerr
Hi Sam, > The current HNCDSC handler takes the status flag from the AEN packet and > will update or change the current channel based on this flag and the > current channel status. > > However the flag from the HNCDSC packet merely represents the host link > state. While the state of the host inte

Re: [PATCH 04/14] ARM: dts: dra76x: Create a common file with MMC/SD IOdelay data

2017-12-14 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 14 December 2017 08:45 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [171214 13:44]: >> +&dra7_pmx_core { >> +mmc1_pins_default: mmc1_pins_default { >> +pinctrl-single,pins = < >> +DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE

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

2017-12-14 Thread Corentin Labbe
On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > Hi, > > On Mon, Dec 11, 2017 at 08:35:34PM +0100, Corentin Labbe wrote: > > On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > > > This series adds SMP support for Allwinner Sun8i-a83t > > > with MCPM (Multi-Cluster

Re: [PATCH] vfio: Simplify capability helper

2017-12-14 Thread Peter Xu
On Wed, Dec 13, 2017 at 08:35:39AM -0700, Alex Williamson wrote: > On Wed, 13 Dec 2017 16:04:48 +0100 > Auger Eric wrote: > > > Hi Peter, > > > > On 13/12/17 07:49, Peter Xu wrote: > > > On Tue, Dec 12, 2017 at 12:59:39PM -0700, Alex Williamson wrote: > > >> The vfio_info_add_capability() help

Re: [PATCH] vfio: Simplify capability helper

2017-12-14 Thread Peter Xu
On Wed, Dec 13, 2017 at 04:32:10PM +0100, Auger Eric wrote: > Hi, > > On 13/12/17 16:04, Auger Eric wrote: > > Hi Peter, > > > > On 13/12/17 07:49, Peter Xu wrote: > >> On Tue, Dec 12, 2017 at 12:59:39PM -0700, Alex Williamson wrote: > >>> The vfio_info_add_capability() helper requires the caller

[PATCH IMPROVEMENT] block, bfq: consider also past I/O in soft real-time detection

2017-12-14 Thread Paolo Valente
BFQ privileges the I/O of soft real-time applications, such as video players, to guarantee to these application a high bandwidth and a low latency. In this respect, it is not easy to correctly detect when an application is soft real-time. A particularly nasty false positive is that of an I/O-bound

[PATCH IMPROVEMENT] block, bfq: consider recent past to reduce soft-real-time false positives

2017-12-14 Thread Paolo Valente
Hi, this patch reduces false positives in the detection of bfq_queues associated with soft real-time applications. As such, this patch reduces the damages caused by these false positives to other applications. The patch proved to be very effective, as detailed in the commit message. A sort of count

Re: [PATCH] locking/lockdep: Remove the cross-release locking checks

2017-12-14 Thread Theodore Ts'o
On Fri, Dec 15, 2017 at 01:05:43PM +0900, Byungchul Park wrote: > For example, in the case of fs issues, for now we can > invalidate wait_for_completion() in submit_bio_wait() And this will spawn a checkpatch.pl ERROR: ERROR("LOCKDEP", "lockdep_no_valid

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

2017-12-14 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 --- v2: - remove NUM_CLKS define. There's no need for it to be part of ABI --- include/dt-bindings/clock/aspeed-clock.h | 52 +++

[PATCH v2 03/19] ARM: dts: aspeed: Add LPC and child devices

2017-12-14 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 +++ arch/arm/boot/dts/aspee

[PATCH v2 04/19] ARM: dts: aspeed: Add proper clock references

2017-12-14 Thread Joel Stanley
This device tree will break existing kernels that do not have the clk patches applied (no clocksource, as we don't know the speed of the APB clock. You can boot if you pass a lpj value on the command line, but won't have a uart). Older device trees running with the newer kernel will function as w

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

2017-12-14 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 v2 09/19] ARM: dts: aspeed: Add PWM and tachometer node

2017-12-14 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 100644 --- a/arch/ar

[PATCH v2 10/19] ARM: dts: aspeed: Add LPC Snoop device

2017-12-14 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 a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm

[PATCH v2 08/19] ARM: dts: aspeed: Add clock phandle to GPIO

2017-12-14 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 b/arch/arm/boot/dts/aspeed-g4.dtsi index af

[PATCH v2 05/19] ARM: dts: aspeed: Add MAC clocks

2017-12-14 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 --- a/arch/arm/boot/dts/aspe

[PATCH] fsck.f2fs: check nid range before use to avoid segmentation fault

2017-12-14 Thread Yunlong Song
Signed-off-by: Yunlong Song --- fsck/fsck.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index 11b8b0b..2212aa3 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -14,6 +14,15 @@ char *tree_mark; uint32_t tree_mark_size = 256; +static in

[PATCH v2 07/19] ARM: dts: aspeed: Add flash controller clocks

2017-12-14 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 --- a/arch/arm/boot/dts/asp

[PATCH v2 06/19] ARM: dts: aspeed: Add watchdog clocks

2017-12-14 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 --- a/arch/arm/boot/dts/asp

[PATCH v2 11/19] ARM: dts: aspeed: Remove skeleton.dtsi

2017-12-14 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 index b3580f37f507.

[PATCH v2 12/19] ARM: dts: aspeed: Update license headers

2017-12-14 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 --- arch/arm/boot/dts/aspeed-ast2500-evb.

[PATCH v2 15/19] ARM: dts: aspeed: Add Witherspoon BMC machine

2017-12-14 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 Signed-off-by: Brad B

[PATCH v2 14/19] ARM: dts: aspeed: Sort ASPEED entries in makefile

2017-12-14 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 --- a/arch/arm/boot/dts/Mak

[PATCH v2 13/19] ARM: dts: Add OpenBMC flash layout

2017-12-14 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 arch/arm/boot/dts/openbmc-flash

[PATCH v2 17/19] ARM: dts: aspeed: Add Qanta Q71L BMC machine

2017-12-14 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 Signed-off-by: Andrew Jeffery Signed-o

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

2017-12-14 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 | 153 ++- 1 file changed, 148 insertions(+), 5 dele

[PATCH v2 16/19] ARM: dts: aspeed: Add Ingrasys Zaius BMC machine

2017-12-14 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. Signed-off-by: Xo Wang S

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

2017-12-14 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 index a8f0c046e83

[PATCH] fsck.f2fs: check and fix i_namelen to avoid double free

2017-12-14 Thread Yunlong Song
Signed-off-by: Yunlong Song --- fsck/fsck.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index 2212aa3..8ff4e4b 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -643,7 +643,7 @@ void fsck_chk_inode_blk(struct f2fs_sb_info *sbi, u3

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

2017-12-14 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. v2: Address review from Arnd - Remove NUM_CLKS from dt header - Send VUART patch as a fix, drop it from th

[PATCH] arm64: dts: ls1088a: add DT node of watchdog

2017-12-14 Thread ying.zhang22455
From: Zhang Ying-22455 There are eight cores in ls1088a and each core has an watchdog, ls1088a can use sp805-wdt driver, so we just add DT node for it. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 56 1 files changed, 56 insert

[PATCH] kernel/groups: groups_search can be boolean

2017-12-14 Thread tangzhongrui
This patch makes groups_search return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: tangzhongrui --- include/linux/cred.h | 2 +- kernel/groups.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) d

Re: [PATCH v2 1/5] extcon: usbc-cros-ec: add support to notify USB type cables.

2017-12-14 Thread Chanwoo Choi
Hi Enric, Looks good to me. After reviewing the Lee Jones, I'll take it on next branch. Regards, Chanwoo Choi On 2017년 12월 13일 19:32, Enric Balletbo i Serra wrote: > From: Benson Leung > > Extend the driver to notify host and device type cables and the presence > of power. > > Signed-off-by:

[PATCH] kernel/kprobes: kprobes_built_in can be boolean

2017-12-14 Thread guzhifeng
This patch makes kprobes_built_in return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: guzhifeng --- include/linux/kprobes.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/k

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-14 Thread Sergey Senozhatsky
On (12/15/17 14:06), Sergey Senozhatsky wrote: [..] > > Where do we do the above? And has this been proven to be an issue? > > um... hundreds of cases. > > deep-stack spin_lock_irqsave() lockup reports from multiple CPUs (3 cpus) > happening at the same moment + NMI backtraces from all the CPUs (

Re: linux-next: Tree for Dec 15

2017-12-14 Thread Sergey Senozhatsky
Hello, On (12/15/17 15:13), Stephen Rothwell wrote: > Hi all, > > Changes since 20171214: > > New tree: init_task > > The staging.current tree still had its build failure for which I reverted > a commit. hm, still no next-20171215 at https://git.kernel.org/pub/scm/lin

[net-next] phylib: Add device reset GPIO support causes DSA MT7530 acquires reset-gpios fails

2017-12-14 Thread Sean Wang
Hi Sergei, Recently I found the patch commit bafbdd527d56 (phylib: Add device reset GPIO support) would have the impact on MT7530 driver. Which causes the DSA MT7530 device (it's the child node under mdio bus) gets the reset-gpios fails because the same GPIO seems already be held in the earlier md

Re: [PATCH] exit: move exit_task_namespaces() after exit_task_work()

2017-12-14 Thread Eric W. Biederman
Cong Wang writes: > syzbot reported we have a use-after-free when mqueue_evict_inode() > is called on __cleanup_mnt() path, where the ipc ns is already > freed by the previous exit_task_namespaces(). We can just move > it after after exit_task_work() to avoid this use-after-free. How does that p

[PATCH] percpu: percpu_counter_initialized can be boolean

2017-12-14 Thread guoyayun
This patch makes percpu_counter_initialized return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: guoyayun --- include/linux/percpu_counter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i

<    5   6   7   8   9   10   11   >