[PATCH 3.18 050/144] phy: phy-ti-pipe3: fix inconsistent enumeration of PCIe gen2 cards

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 0bc09f9cdc589e0b54724096138996a00b19babb ] Prior to DRA74x silicon rev 1.1, pcie_pcs register bits 8-15 and bits 16-23 were used to configure RC delay count for phy1 and phy2

[PATCH 3.18 037/144] s390/ftrace/jprobes: Fix conflict between jprobes and function graph tracing

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e64a5470dcd2900ab8f8f83638c00098b10e6300 ] This fixes the same issue Steven already fixed for x86 in following commit: 237d28db036e ftrace/jprobes/x86: Fix conflict between

[PATCH 3.18 053/144] ARM: OMAP2+: Fix n900 board name for legacy user space

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 71c4f6027da75c6c1fd92e05b63108a09ec2b109 ] N900 legacy user space apps need the board name in /proc/cpuinfo to work properly for the Hardware entry. For other boards this should

[PATCH 3.18 072/144] perf/rapl: Fix sysfs_show() initialization for RAPL PMU

2018-11-08 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 433678bdc6ed39f053c55da96b51de5bf0aeebb1 ] This patch fixes a problem with the initialization of the sysfs_show() routine for the RAPL PMU. The current code was wrongly relying on

Re: [PATCH] MAINTAINERS: Add x86 early-quirks.c file pattern to PCI subsystem

2018-11-08 Thread Bjorn Helgaas
On Wed, Oct 24, 2018 at 05:13:59PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > arch/x86/kernel/early-quirks.c contains special PCI quirks that need to > run even before the usual DECLARE_PCI_FIXUP_EARLY() quirks. These have > typically been merged by the x86 maintainers, which is

Re: [RFC] x86/pci: Mark pci_root_ops as const

2018-11-08 Thread Bjorn Helgaas
Hi Zubin, On Thu, Nov 08, 2018 at 09:11:15AM -0800, Zubin Mithra wrote: > pci_root_ops is only written to from within intel_mid_pci_init. This > is linked in only when CONFIG_X86_INTEL_MID is set. If not for this, > pci_root_ops could be marked as const. > > Fix this by replacing pci_root_ops

Re: [GIT PULL] LED fixes for 4.20-rc2

2018-11-08 Thread Linus Torvalds
On Thu, Nov 8, 2018 at 1:29 PM Jacek Anaszewski wrote: > > > All three fixes are related to the newly added pattern trigger: > > - remove mutex_lock() from timer callback, which would trigger problems > related to sleeping in atomic context, the removal is harmless since > mutex protection

Re: [PATCH 4.4 026/114] btrfs: cleaner_kthread() doesnt need explicit freeze

2018-11-08 Thread Greg Kroah-Hartman
On Thu, Nov 08, 2018 at 07:04:38PM -0500, Sasha Levin wrote: > On Fri, Nov 09, 2018 at 12:28:10AM +0100, David Sterba wrote: > > On Thu, Nov 08, 2018 at 01:50:41PM -0800, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me > > > know. > > > > > [

Re: [PATCH v2 1/2] pci: prevent sk hynix nvme from entering D3

2018-11-08 Thread Bjorn Helgaas
On Tue, Nov 06, 2018 at 03:12:13PM +0800, AceLan Kao wrote: > It leads to the power consumption raises to 2.2W during s2idle, while > it consumes less than 1W during long idle if put SK hynix nvme to D3 > and then enter s2idle. > From SK hynix FE, MS Windows doesn't put nvme to D3, and uses its

Re: [PATCH 10/12] fs/locks: create a tree of dependent requests.

2018-11-08 Thread NeilBrown
On Thu, Nov 08 2018, J. Bruce Fields wrote: > On Mon, Nov 05, 2018 at 12:30:48PM +1100, NeilBrown wrote: >> When we find an existing lock which conflicts with a request, >> and the request wants to wait, we currently add the request >> to a list. When the lock is removed, the whole list is

[PATCH v3 2/9] arm64: defconfig: Drop ARM_BIG_LITTLE_CPUFREQ

2018-11-08 Thread Marc Gonzalez
Commit a7314405d83c ("drop ARM_BIG_LITTLE_CPUFREQ support for ARM64") dropped ARM_BIG_LITTLE_CPUFREQ support for ARM64, so remove it from the defconfig. Acked-by: Viresh Kumar Acked-by: Sudeep Holla Acked-by: Mark Rutland Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 1 - 1

[PATCH v3 1/9] arm64: defconfig: Regenerate for v4.20

2018-11-08 Thread Marc Gonzalez
Run the platform defconfig through kbuild, and handle the trivial case where options merely move around. Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 90 ++-- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

[PATCH v3 4/9] arm64: defconfig: Drop USB_ULPI_BUS and USB_CHIPIDEA_ULPI

2018-11-08 Thread Marc Gonzalez
Commit a930d8bd94d8 ("usb: chipidea: Always build ULPI code") made USB_CHIPIDEA select USB_ULPI_BUS, and removed USB_CHIPIDEA_ULPI. Reviewed-by: Fabio Estevam Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v3 3/9] arm64: defconfig: Drop NF_CONNTRACK_IPV{4,6}

2018-11-08 Thread Marc Gonzalez
Commit a0ae2562c6c4 ("netfilter: conntrack: remove l3proto abstraction") folded NF_CONNTRACK_IPV4 and NF_CONNTRACK_IPV6 into NF_CONNTRACK. Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/configs/defconfig

[PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO

2018-11-08 Thread Marc Gonzalez
Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs") enabled CRYPTO_DEV_FSL_DPAA2_CAAM, which depends on FSL_MC_DPIO, which is not set. Enable FSL_MC_BUS, and build FSL_MC_DPIO and CRYPTO_DEV_FSL_DPAA2_CAAM as modules. Signed-off-by: Marc Gonzalez ---

[PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-08 Thread Marc Gonzalez
Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 depend on PINCTRL_MTK_MOORE. Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 6/9] arm64: defconfig: Drop redundant SND_SOC_ROCKCHIP_I2S

2018-11-08 Thread Marc Gonzalez
SND_SOC_ROCKCHIP_RT5645 selects SND_SOC_ROCKCHIP_I2S Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 725b9471b21c..8e181cca0a05 100644 ---

[PATCH v3 8/9] arm64: defconfig: Change SCSI_UFS_HISI=m

2018-11-08 Thread Marc Gonzalez
SCSI_UFS_HISI depends on SCSI_UFSHCD_PLATFORM=m Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2662f83c481c..2e173978eef8 100644 ---

[PATCH v3 9/9] arm64: defconfig: Drop redundant sound codec options

2018-11-08 Thread Marc Gonzalez
SND_SOC_RK3399_GRU_SOUND selects SND_SOC_DA7219, SND_SOC_MAX98357A, SND_SOC_RT5514, SND_SOC_RT5514_SPI. SND_SOC_ROCKCHIP_RT5645 selects SND_SOC_RT5645. SND_SOC_RL6231 is pulled in for SND_SOC_RT5514 and SND_SOC_RT5645. Signed-off-by: Marc Gonzalez --- arch/arm64/configs/defconfig | 6 --

[PATCH v3 0/9] Regenerate arm64 defconfig for current kernel

2018-11-08 Thread Marc Gonzalez
Hello ARM maintainers, v3: Keep CRYPTO_DEV_FSL_DPAA2_CAAM in patch 7/9 v2: Improve commit message for a few patches The set of Kconfig options slowly changes with every kernel version. This patch series regenerates the arm64 defconfig for v4.20 No functional change intended, except adding

Re: x86_64 INIT/SIPI Bug

2018-11-08 Thread Eric W. Biederman
Rian Quinn writes: > I apologize upfront if this is the wrong place to post this, pretty new to > this. > > We are working on the Bareflank Hypervisor (www.bareflank.org), and we > are passing through the INIT/SIPI process (similar to how a VMX > rootkit from EFI might boot the OS) and we

[PATCH V2] ARM: dts: imx7d-sdb: add rev-a board support

2018-11-08 Thread Anson Huang
Current imx7d-sdb.dts has some incorrect settings about Rev-A and Rev-B boards, some of the settings are based on Rev-A board but some are based on Rev-B board, clean up it by adding i.MX7D SDB Rev-A board support, make default imx7d-sdb.dts for Rev-B board as usual, and introduce

RE: [PATCH] ARM: dts: imx7d-sdb: add rev-a board support

2018-11-08 Thread Anson Huang
Hi, Fabio Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年11月8日 23:38 > To: Anson Huang > Cc: Rob Herring ; Mark Rutland > ; Shawn Guo ; Sascha > Hauer ; Sascha Hauer ; > Fabio Estevam ; open list:OPEN FIRMWARE AND >

linux-next: Tree for Nov 9

2018-11-08 Thread Stephen Rothwell
Hi all, Changes since 20181108: The tip tree still had its build failure for which I applied a fix patch. Non-merge commits (relative to Linus' tree): 1966 2112 files changed, 84671 insertions(+), 86429 deletions

Re: [PATCH v3 1/3] x86: add support for Huawei WMI hotkeys.

2018-11-08 Thread ayman . bagabas
On Thu, 2018-11-08 at 21:58 +0200, Andy Shevchenko wrote: > On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas > wrote: > > This driver adds support for missing hotkeys on some Huawei > > laptops. > > Currently, only Huawei Matebook X and Matebook X Pro is supported. > > > > Thanks for an update, my

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 17:54, Mark Rutland έγραψε: On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:06, Mark Rutland έγραψε: > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced

Re: arm64 + ARM64_64K_PAGES=y

2018-11-08 Thread Anshuman Khandual
On 11/07/2018 03:04 AM, Grygorii Strashko wrote: > Hi All, > > Do anybody tried to use ARM64 RT with 76K pages enabled? > > My attempt shows that enabling  CONFIG_ARM64_64K_PAGES=y increases latencies > by ~30% Depends on what the workload is actually doing. 64K pages should help if the

Re: [GIT PULL] xfs: fixes for v4.20-rc2

2018-11-08 Thread Linus Torvalds
On Thu, Nov 8, 2018 at 4:40 PM Darrick J. Wong wrote: > > - fix incorrect dropping of error code from bmap > > - print buffer offsets instead of useless hashed pointers when dumping > corrupt metadata > > - fix integer overflow in attribute verifier Pulled, Linus

Re: [PATCH v2 1/3] clk: analogbits: add Wide-Range PLL library

2018-11-08 Thread Paul Walmsley
Hi Stephen, On 10/25/18 12:47 AM, Stephen Boyd wrote: > Quoting Paul Walmsley (2018-10-20 06:50:22) >> Cc: Wesley Terpstra >> Cc: Palmer Dabbelt >> Cc: Michael Turquette >> Cc: Stephen Boyd >> Cc: Megan Wachs >>

Re: [PATCH RFC] hist lookups

2018-11-08 Thread David Miller
From: Jiri Olsa Date: Thu, 8 Nov 2018 08:13:03 +0100 > we could separated fork/mmaps to separate dummy event map, or just > parse them out in the read thread and create special queue for them > and drop just samples in case we are behind What you say at the end here is basically what I am

Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

2018-11-08 Thread Baolin Wang
Hi Jacek, On 9 November 2018 at 04:47, Jacek Anaszewski wrote: > Hi Baolin, > > Thanks for the review. > > On 11/07/2018 08:20 AM, Baolin Wang wrote: >> Hi Jacek, >> >> On 7 November 2018 at 06:07, Jacek Anaszewski >> wrote: >>> Add public led_compose_name() API for composing LED class device

Re: [PATCH v4] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-11-08 Thread leo . yan
On Wed, Nov 07, 2018 at 11:04:12AM +, Robert Walker wrote: > This patch adds support for generating instruction samples from trace of > AArch32 programs using the A32 and T32 instruction sets. > > T32 has variable 2 or 4 byte instruction size, so the conversion between > addresses and

Re: [PATCH 2/2] drm: Revert syncobj timeline changes.

2018-11-08 Thread zhoucm1
On 2018年11月09日 00:52, Christian König wrote: Am 08.11.18 um 17:07 schrieb Koenig, Christian: Am 08.11.18 um 17:04 schrieb Eric Anholt: Daniel suggested I submit this, since we're still seeing regressions from it.  This is a revert to before 48197bc564c7 ("drm: add syncobj timeline support

Re: [PATCH 3.18 000/144] 3.18.125-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-3.18.y boot: 62 boots: 5 failed, 51 passed with 6 offline (v3.18.124-145-g70889240432b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-3.18.y/kernel/v3.18.124-145-g70889240432b/ Full Build Summary:

Re: [PATCH 10/12] fs/locks: create a tree of dependent requests.

2018-11-08 Thread J. Bruce Fields
On Fri, Nov 09, 2018 at 11:38:19AM +1100, NeilBrown wrote: > On Thu, Nov 08 2018, J. Bruce Fields wrote: > > > On Mon, Nov 05, 2018 at 12:30:48PM +1100, NeilBrown wrote: > >> When we find an existing lock which conflicts with a request, > >> and the request wants to wait, we currently add the

Re: [PATCH 4.14 00/31] 4.14.80-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 74 boots: 0 failed, 59 passed with 15 offline (v4.14.79-32-g24f453c41e18) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.79-32-g24f453c41e18/ Full Build Summary:

[PATCH] drivers/android/binder.c: Remove duplicate header

2018-11-08 Thread Brajeswar Ghosh
Remove binder_trace.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/android/binder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index cb30a524d16d..719f35a5c04b 100644 --- a/drivers/android/binder.c +++

Re: [PATCH 4.4 026/114] btrfs: cleaner_kthread() doesnt need explicit freeze

2018-11-08 Thread Sasha Levin
On Fri, Nov 09, 2018 at 12:28:10AM +0100, David Sterba wrote: On Thu, Nov 08, 2018 at 01:50:41PM -0800, Greg Kroah-Hartman wrote: 4.4-stable review patch. If anyone has any objections, please let me know. [ Upstream commit 838fe1887765f4cc679febea60d87d2a06bd300e ] Please check the

Re: [PATCH] x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux)

2018-11-08 Thread Bjorn Helgaas
On Thu, Oct 25, 2018 at 02:52:31PM +0100, Colin King wrote: > From: Colin Ian King > > In the expression "word1 << 16", word1 starts as u16, but is promoted to > a signed int, then sign-extended to resource_size_t, which is probably > not what was intended. Cast to resource_size_t to avoid the

Re: drivers/acpi/pmic/intel_pmic_xpower.c:183: undefined reference to `iosf_mbi_block_punit_i2c_access'

2018-11-08 Thread Randy Dunlap
On 11/2/18 10:28 AM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: d81f50bd34646d8373b989e55180c0fc9af94e0b > commit: 3c670dba864d9ab0a23612a93b7d98700734bd44 ACPI / PMIC: xpower: Block > P-Unit I2C access during

Re: [Question] There is a thp count left when the process exits

2018-11-08 Thread zhong jiang
+LKML I can not find the possibility when I check the code. because the mmap_sem and spin_lock will protect the concurrence. I will be appreciated if anyone has some clue. Thanks, zhong jiang On 2018/11/8 23:01, zhong jiang wrote: > Hi, > > Recently, I hit the following issue in linux

Re: [[PATCH]] mips: Fix switch to NO_BOOTMEM for SGI-IP27/loongons3 NUMA

2018-11-08 Thread 陈华才
Hi, It seems the patch below can solve many problems after switched to NO_BOOTMEM, because the memory allocation behavior is more similar as before. diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 070234b..7a449d9 100644 --- a/arch/mips/kernel/setup.c +++

Re: [PATCH v3 0/3] Huawei laptops

2018-11-08 Thread ayman . bagabas
On Thu, 2018-11-08 at 21:59 +0200, Andy Shevchenko wrote: > On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas > wrote: > > Is it supposed to go via PDx86 or ALSA tree? There isn't much of work done on behave of ALSA. So PDx86? > > > Changes from v2: > > * Support for Huawei MBX > > * Style and

[PATCH 1/2] MIPS: Use Kconfig to select CPU_NO_EFFICIENT_FFS

2018-11-08 Thread Paul Burton
Select CONFIG_CPU_NO_EFFICIENT_FFS via Kconfig when the kernel is configured for a pre-MIPS32r1 CPU, rather than defining its equivalent in asm/cpu-features.h based upon overrides of cpu_has_mips* macros. The latter only works if a platform has an cpu-feature-overrides.h header which defines

linux-kernel@vger.kernel.org RE: Urgent Investment Proposal From Algeria

2018-11-08 Thread Amjad Ahmed
Dear Sir/Madam, Its really nice contacting you and hope to have a good business relationship. I have urgent Investment proposal from Algeria, as i was informed, and i think you might be interested. I was in contact with a high profile past Government Official in Algeria, who i happen to

[PATCH] HID: input: Ignore battery reported by Symbol DS4308

2018-11-08 Thread Benson Leung
The Motorola/Zebra Symbol DS4308-HD is a handheld USB barcode scanner which does not have a battery, but reports one anyway that always has capacity 2. Let's apply the IGNORE quirk to prevent it from being treated like a power supply so that userspaces don't get confused that this accessory is

Re: [PATCH 22/23] SUNRPC: simplify auth_unix.

2018-11-08 Thread NeilBrown
On Thu, Nov 08 2018, Chuck Lever wrote: > > Point taken, but having a single mempool for all RPC transports > and users is also going to be a shared resource that can > bottleneck. Agreed. mempools will only access the pre-allocated memory if a regular kmalloc(GFP_NOWAIT) fails. I asked an mm

Re: [PATCH 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW

2018-11-08 Thread kbuild test robot
Hi Christian, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.20-rc1 next-20181108] [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

[PATCH] Suppress the sparse warning ./include/linux/slab.h:332:43: warning: dubious: x & !y

2018-11-08 Thread Darryl T. Agostinelli
Signed-off-by: Darryl T. Agostinelli --- include/linux/slab.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/slab.h b/include/linux/slab.h index 918f374e7156..883b7f56bf35 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -317,6 +317,7 @@

[PATCH 03/13] elf-em.h: add EM_NDS32

2018-11-08 Thread Dmitry V. Levin
The uapi/linux/audit.h header is going to use EM_NDS32 in order to define AUDIT_ARCH_NDS32 which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_NDS32 has been taken from

[PATCH 04/13] elf-em.h: add EM_XTENSA

2018-11-08 Thread Dmitry V. Levin
The uapi/linux/audit.h header is going to use EM_XTENSA in order to define AUDIT_ARCH_XTENSA which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_XTENSA has been taken from

[PATCH 05/13] m68k: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/m68k/include/asm/syscall.h | 12 1 file changed,

[PATCH 08/13] h8300: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/h8300/include/asm/syscall.h | 5 +

[PATCH 09/13] hexagon: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/hexagon/include/asm/syscall.h | 8

Re: [RFC PATCH] mm, memory_hotplug: do not clear numa_node association after hot_remove

2018-11-08 Thread Anshuman Khandual
On 11/08/2018 03:59 PM, Michal Hocko wrote: > [Removing Wen Congyang and Tang Chen from the CC list because their > emails bounce. It seems that we will never learn about their motivation] > > On Thu 08-11-18 11:04:13, Michal Hocko wrote: >> From: Michal Hocko >> >> Per-cpu numa_node

Re: [PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > From: Sriharsha Allenki > > It adds bindings for Synopsys 28nm femto phy controller that supports > LS/FS/HS usb connectivity on Qualcomm chipsets. > > Signed-off-by: Sriharsha Allenki > Signed-off-by: Anu Ramanathan > Signed-off-by: Bjorn Andersson >

Re: [PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > +static int qcom_snps_hsphy_config_regulators(struct hsphy_priv *priv, int > high) > +{ > + int min, ret, i; > + > + min = high ? 1 : 0; /* low or none? */ > + > + for (i = 0; i < VREG_NUM; i++) { > + ret =

Re: [GIT PULL] sound fixes for 4.20-rc2

2018-11-08 Thread Linus Torvalds
On Thu, Nov 8, 2018 at 10:05 AM Takashi Iwai wrote: > > sound fixes for 4.20-rc2 > > Two small regression fixes for HD-audio: one about vga_switcheroo and > runtime PM, and another about Oops on some Thinkpads. Pulled, Linus

Re: [LKP] [bpf] fd978bf7fd: will-it-scale.per_process_ops -4.0% regression

2018-11-08 Thread Rong Chen
On 11/02/2018 04:36 PM, Daniel Borkmann wrote: Hi Rong, On 11/02/2018 03:14 AM, kernel test robot wrote: Greeting, FYI, we noticed a -4.0% regression of will-it-scale.per_process_ops due to commit: commit: fd978bf7fd312581a7ca454a991f0ffb34c4204b ("bpf: Add reference tracking to

Re: [PATCH 01/12] fs/locks: rename some lists and pointers.

2018-11-08 Thread NeilBrown
On Thu, Nov 08 2018, J. Bruce Fields wrote: > On Mon, Nov 05, 2018 at 12:30:47PM +1100, NeilBrown wrote: >> struct file lock contains an 'fl_next' pointer which >> is used to point to the lock that this request is blocked >> waiting for. So rename it to fl_blocker. >> >> The fl_blocked

Re: PEBS level 2/3 breaks dwarf unwinding! [WAS: Re: Broken dwarf unwinding - wrong stack pointer register value?]

2018-11-08 Thread Andi Kleen
> - Independently, when I add a custom printk manually in `arch/x86/events/ > intel/ds.c` at the end of `setup_pebs_sample_data`, then I'm never seeing any > differences between SP in iregs/pebs/regs. Shouldn't it also be recorded via > PEBS? Or is it just chance that I'm never seeing any

Re: [LKP] [bpf] fd978bf7fd: will-it-scale.per_process_ops -4.0% regression

2018-11-08 Thread Aaron Lu
On Fri, Nov 09, 2018 at 08:19:54AM +0800, Rong Chen wrote: > > > On 11/02/2018 04:36 PM, Daniel Borkmann wrote: > > Hi Rong, > > > > On 11/02/2018 03:14 AM, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -4.0% regression of will-it-scale.per_process_ops due > > > to

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-08 Thread Masahiro Yamada
On Thu, Nov 8, 2018 at 12:20 PM Brian Norris wrote: > > On Wed, Nov 7, 2018 at 1:18 PM Doug Anderson wrote: > > On Wed, Nov 7, 2018 at 1:07 PM Genki Sky wrote: > > > On Wed, 7 Nov 2018 12:55:14 -0800, Guenter Roeck > > > wrote: > > > > Ubuntu 16.04 ships with git version 2.7.4. > > > > > >

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-08 Thread Masahiro Yamada
On Thu, Nov 8, 2018 at 5:58 AM Guenter Roeck wrote: > > On Wed, Nov 07, 2018 at 12:43:58PM -0800, Genki Sky wrote: > > On Wed, 7 Nov 2018 10:44:37 -0800, Brian Norris > > wrote: > > > On Tue, Nov 06, 2018 at 08:00:36PM -0800, Brian Norris wrote: > > > > On a different tangent: how about the

[PATCH 01/13] Move EM_HEXAGON to uapi/linux/elf-em.h

2018-11-08 Thread Dmitry V. Levin
This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_HEXAGON in order to define AUDIT_ARCH_HEXAGON which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with

Re: [PATCH 3/8] sparc: prom: use property "name" directly to construct node names

2018-11-08 Thread David Miller
From: Rob Herring Date: Wed, 7 Nov 2018 16:31:46 -0600 > In preparation to remove direct accesses to the device_node.name > pointer, retrieve the node name from the "name" property instead. > > Cc: "David S. Miller" > Cc: sparcli...@vger.kernel.org > Signed-off-by: Rob Herring On some

[PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-08 Thread Baolin Wang
From: Freeman Liu Sometimes the ADC controller met some problems, and it will not complete the data conversion, that will can not wake up the read process any more to block users. So we should add one maximum conversion time to avoid this issue. Signed-off-by: Freeman Liu Signed-off-by: Baolin

Re: [PATCH 4.9 000/171] 4.9.136-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 84 boots: 0 failed, 70 passed with 14 offline (v4.9.135-172-gcc46a1dedc8b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.135-172-gcc46a1dedc8b/ Full Build Summary:

Re: [PATCH v6] pidns: introduce syscall translate_pid

2018-11-08 Thread Dmitry V. Levin
Hi, On Mon, Jul 16, 2018 at 10:57:48AM -0700, Nagarathnam Muthusamy wrote: > On 06/01/2018 12:18 PM, Konstantin Khlebnikov wrote: > > Each process have different pids, one for each pid namespace it belongs. > > When interaction happens within single pid-ns translation isn't required. > > More

Re: [PATCH 4.18 00/34] 4.18.18-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.18.y boot: 91 boots: 0 failed, 76 passed with 15 offline (v4.18.17-35-g46c86a0ac4a1) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.18.y/kernel/v4.18.17-35-g46c86a0ac4a1/ Full Build Summary:

UBSAN: Undefined behaviour in mm/page_alloc.c

2018-11-08 Thread Kyungtae Kim
We report a bug in v4.19-rc2 (4.20-rc1 as well, I guess): kernel config: https://kt0755.github.io/etc/config_v2-4.19 repro: https://kt0755.github.io/etc/repro.c4074.c In the middle of page request, this arose because order is too large to handle (mm/page_alloc.c:3119). It actually comes from

drivers/regulator/bd718x7-regulator.c:364:16: error: initializer element is not constant

2018-11-08 Thread kbuild test robot
Hi Matti, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 24ccea7e102de8cbc93ab3befb123bbd18532be9 commit: 2ece646c90c5b45dd76c76ea207a3f3459f2c472 regulator: bd718xx: rename bd71837 to 718xx date: 6 weeks ago

[PATCH] gpio: mxc: move gpio noirq suspend/resume to syscore phase

2018-11-08 Thread Anson Huang
During noirq suspend/resume phase, GPIO irq could arrive and its registers like IMR will be changed by irq handle process, to make the GPIO registers exactly when it is powered ON after resume, move the GPIO noirq suspend/resume callback to syscore suspend/resume phase, local irq is disabled at

[PATCH 2/2] lib/gcd: Remove use of CPU_NO_EFFICIENT_FFS macro

2018-11-08 Thread Paul Burton
The CPU_NO_EFFICIENT_FFS pre-processor macro is no longer used, with all architectures toggling the equivalent Kconfig symbol CONFIG_CPU_NO_EFFICIENT_FFS instead. Remove our check for the unused macro. Signed-off-by: Paul Burton Cc: Andrew Morton Cc: Zhaoxiu Zeng --- lib/gcd.c | 2 +- 1

RE: [PATCH] freezer: fix freeze timeout on exec

2018-11-08 Thread Chanho Min
> > > > To fix this, I suggest a patch by emboding the mentioned solution. > > First, revive and rework cancel_freezing_and_thaw() function whitch > > stops the task from sleeping in refrigirator reliably. And, The task > > to be killed does not allow to freeze. > > Can't we simply change

Re: PEBS level 2/3 breaks dwarf unwinding! [WAS: Re: Broken dwarf unwinding - wrong stack pointer register value?]

2018-11-08 Thread Andi Kleen
> Can we change this, such that perf_event_output also takes a second set of > registers (iregs) that get sampled for PERF_SAMPLE_REGS_INTR? I'm very new to > real kernel development, what kind of ABI/API stability guarantees exist for > something like "perf_event_output"? Yes you can change

Re: [PATCH -V6 00/21] swap: Swapout/swapin THP in one piece

2018-11-08 Thread Daniel Jordan
On Wed, Oct 10, 2018 at 03:19:03PM +0800, Huang Ying wrote: > And for all, Any comment is welcome! Hi Ying, Looks like an edge case. I'd run the program at the bottom like ./stress-usage-counts -l 4 -s 4 -U 780g where the 780g was big enough to cause swapping on the machine. This

Re: [Bug 201637] New: hangup sinse 'x86/mm: Expand static page table for fixmap space' with CONFIG_RANDOMIZE_BASE enabled

2018-11-08 Thread Feng Tang
Hi All, On Thu, Nov 08, 2018 at 02:20:52PM -0800, Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Thu, 08 Nov 2018 13:48:25 + bugzilla-dae...@bugzilla.kernel.org wrote: > > >

[PATCH 2/4] reset: uniphier-usb3: Rename to reset-uniphier-glue

2018-11-08 Thread Kunihiko Hayashi
This driver works for controlling the reset lines including USB3 glue layer, however, this can be applied to other glue layers. Now this patch renames the driver from "reset-uniphier-usb3" to "reset-uniphier-glue". At the same time, this changes CONFIG_RESET_UNIPHIER_USB3 to

[PATCH 0/4] reset: uniphier: Rename from USB3 reset to glue reset and add AHCI reset support

2018-11-08 Thread Kunihiko Hayashi
This series renames the reset control of core reset included in USB3 glue layer with in the glue layer for generic peripherals to allow other devices to use it. And this series adds support for the core reset included in AHCI glue layer. Kunihiko Hayashi (4): dt-bindings: reset: uniphier:

[PATCH 3/4] dt-bindings: reset: uniphier: Add AHCI core reset description

2018-11-08 Thread Kunihiko Hayashi
Add compatible strings for reset control of AHCI core implemented in UniPhier SoCs. The reset control belongs to AHCI glue layer. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/reset/uniphier-reset.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 4/4] reset: uniphier-glue: Add AHCI reset control support in glue layer

2018-11-08 Thread Kunihiko Hayashi
Add a reset line included in AHCI glue layer to enable AHCI core implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- drivers/reset/reset-uniphier-glue.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/reset/reset-uniphier-glue.c

[PATCH 1/4] dt-bindings: reset: uniphier: Replace the expression of USB3 with generic peripherals

2018-11-08 Thread Kunihiko Hayashi
Replace the expression of "USB3 glue layer" with the glue layer of the generic peripherals to allow other devices to use it. The reset control belongs to this glue layer. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/reset/uniphier-reset.txt | 22 +++--- 1 file

[RFC 0/3] Unify CPU topology across ARM64 & RISC-V

2018-11-08 Thread Atish Patra
The cpu-map DT entry in ARM64 can describe the CPU topology in much better way compared to other existing approaches. RISC-V can easily adopt this binding to represent it's own CPU topology. Thus, both cpu-map DT binding and topology parsing code can be moved to a common location so that RISC-V or

[RFC 1/3] dt-binding: cpu-topology: Move cpu-map to a common binding.

2018-11-08 Thread Atish Patra
cpu-map binding can be used to described cpu topology for both RISC-V & ARM. It makes more sense to move the binding to document to a common place. The relevant discussion can be found here. https://lkml.org/lkml/2018/11/6/19 Signed-off-by: Atish Patra ---

[RFC 2/3] cpu-topology: Move cpu topology code to common code.

2018-11-08 Thread Atish Patra
Both RISC-V & ARM64 are using cpu-map device tree to describe their cpu topology. It's better to move the relevant code to a common place instead of duplicate code. No functional changes done. Signed-off-by: Atish Patra --- arch/arm64/include/asm/topology.h | 23 +--

[RFC 3/3] RISC-V: Parse cpu topology during boot.

2018-11-08 Thread Atish Patra
Currently, there are no topology defined for RISC-V. Parse the cpu-map node from device tree and setup the cpu topology. CPU topology after applying the patch. $cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list 0-3 $cat /sys/devices/system/cpu/cpu3/topology/core_siblings_list 0-3 $cat

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 18:48, Sudeep Holla έγραψε: On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > too late to remove it. But we can always keep to optional if we

Re: [PATCH 01/12] fs/locks: rename some lists and pointers.

2018-11-08 Thread J. Bruce Fields
On Fri, Nov 09, 2018 at 11:32:16AM +1100, NeilBrown wrote: > On Thu, Nov 08 2018, J. Bruce Fields wrote: > > > On Mon, Nov 05, 2018 at 12:30:47PM +1100, NeilBrown wrote: > >> struct file lock contains an 'fl_next' pointer which > >> is used to point to the lock that this request is blocked > >>

Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-08 Thread David Miller
From: Rob Herring Date: Wed, 7 Nov 2018 16:31:45 -0600 > @@ -32,24 +32,7 @@ unsigned int of_pdt_unique_id __initdata; > > static char * __init of_pdt_build_full_name(struct device_node *dp) > { > - int len, ourlen, plen; > - char *n; > - > - dp->path_component_name =

[LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-08 Thread Naga Sureshkumar Relli
Add the basic driver for Arasan NAND Flash Controller used in Zynq UltraScale+ MPSoC. It supports HW ECC and upto 24bit correction Signed-off-by: Naga Sureshkumar Relli --- Changes in v12: - Rebased on top of 4.20 - As suggested by Boris, instead of checking the command using nfc_op.cmds[],

Re: [PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:45, Rob Herring wrote: > > +/ { > > + interrupt-parent = <>; > > + > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + chosen { }; > > + > > + clocks { > > + xo_board: xo_board { > > Build your dtbs with "W=12" and fix any

[LINUX PATCH v12 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-11-08 Thread Naga Sureshkumar Relli
This patch adds the dts binding document for arasan nand flash controller Signed-off-by: Naga Sureshkumar Relli --- Changes in v12: - Removed interrupt-parent description as it is implied as suggested by Rob Herring - Added missing ';' as required Changes in v11: - Updated compatible

RE: [PATCH] gpio: mxc: skip GPIO_IMR restore in noirq resume

2018-11-08 Thread Anson Huang
Please ignore this patch, as it can NOT completely fix the issue of the case when GPIO IRQ coming during the noirq suspend/resume phase, the correct solution should be to save/restore the GPIO registers when local irq is off, so move the GPIO noirq suspend/resume to syscore phase, I have send

[LINUX PATCH v12 0/3] Add support for Arasan NAND Flash controller

2018-11-08 Thread Naga Sureshkumar Relli
This patch series adds the basic driver support for Arasan NAND Flash controller. We are reinitiating the patch series by fixing the comments given by Miquel and Boris. Major changes are exec_op() implementation related. Rebased to 4.19 nand tree. Tested MT29F32G08ABCDBJ4. As suggested by

Re: [PATCH v4 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:42, Rob Herring wrote: > On Thu, Nov 8, 2018 at 12:41 PM Vinod Koul wrote: > > > > Add the GPIOs present on PMS405 chip. > > > > Signed-off-by: Vinod Koul > > --- > > arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ > > 1 file changed, 19 insertions(+) > > > > diff

[LINUX PATCH v12 2/3] mtd: rawnand: Add an option to get sdr timing mode number

2018-11-08 Thread Naga Sureshkumar Relli
Some NAND controllers need SDR timing mode value, instead of timings. i.e the NAND controller will change its operating mode by just configuring the sdr timing mode number. So add a mode field to struct nand_sdr_timings Signed-off-by: Naga Sureshkumar Relli Reviewed-by: Boris Brezillon ---

[PATCH 4.4 110/114] USB: fix the usbfs flag sanitization for control transfers

2018-11-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 665c365a77fbfeabe52694aedf3446d5f2f1ce42 upstream. Commit 7a68d9fb8510 ("USB: usbdevfs: sanitize flags more") checks the transfer flags for URBs submitted from userspace via

[PATCH 4.4 078/114] PM / devfreq: tegra: fix error return code in tegra_devfreq_probe()

2018-11-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 9e578b37505018622dfafc40eed7cd78ff2af221 ] platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and

[PATCH 4.4 109/114] usb: gadget: storage: Fix Spectre v1 vulnerability

2018-11-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 9ae24af3669111d418242caec8dd4ebd9ba26860 upstream. num can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1

<    6   7   8   9   10   11   12   13   14   15   >