Re: [PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Jerome Brunet
On Fri, 2017-12-15 at 22:59 +0800, Yixun Lan wrote: > Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. > > Signed-off-by: Yixun Lan > > --- > > Changes since v2 at [2] > - rebase to Kevin's v4.16/dt64 branch > - this patch depend on pinctrl DT driver > > Changes since v1

Re: [intel-sgx-kernel-dev] [PATCH v7 4/8] intel_sgx: driver for Intel Software Guard Extensions

2017-12-15 Thread Jarkko Sakkinen
On Thu, Dec 14, 2017 at 09:36:05PM +, Christopherson, Sean J wrote: > On Thu, Dec 14, 2017 at 03:10:06PM +0200, Jarkko Sakkinen wrote: > > On Tue, Dec 12, 2017 at 01:46:48PM -0800, Sean Christopherson wrote: > > > So it looks like you avoid the described case by moving B to the head of > > > th

Re: ASPM powersupersave change NVMe SSD Samsung 960 PRO capacity to 0 and read-only

2017-12-15 Thread Keith Busch
On Thu, Dec 14, 2017 at 06:21:55PM -0600, Bjorn Helgaas wrote: > [+cc Rajat, Keith, linux-kernel] > > On Thu, Dec 14, 2017 at 07:47:01PM +0100, Maik Broemme wrote: > > I have a Samsung 960 PRO NVMe SSD (Non-Volatile memory controller: > > Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961)

Re: [RFC PATCH for 4.16 02/21] rseq: Introduce restartable sequences system call (v12)

2017-12-15 Thread Christopher Lameter
On Thu, 14 Dec 2017, Peter Zijlstra wrote: > > But my company has extensive user space code that maintains a lot of > > counters and does other tricks to get full performance out of the > > hardware. Such a mechanism would also be good from user space. Why keep > > the good stuff only inside the k

Re: [PATCH] drm/amd/display: remove redundant null check of array 'data'

2017-12-15 Thread Harry Wentland
On 2017-12-15 05:53 AM, Colin King wrote: > From: Colin Ian King > > The null check on aconnector->base.edid_blob_ptr->data is redundant > since data is an array and can never be null. Remove it. > > Detected by CoverityScan, CID#1460369 ("Array compared against 0") > > Signed-off-by: Colin Ia

Re: Warning in i915/intel_audio.c

2017-12-15 Thread Jaswinder Singh Rajput
On Fri, 2017-12-15 at 16:23 +0200, Mika Kahola wrote: > On Fri, 2017-12-15 at 19:20 +0530, Jaswinder Singh Rajput wrote: > > > > On Fri, 2017-12-15 at 14:44 +0200, Mika Kahola wrote: > > > > > > > > > Hi, > > > > > > This is a known issue. Could you try out this patch to see if > > > that > > >

Re: [PATCH] efi: Use PTR_ERR_OR_ZERO()

2017-12-15 Thread Matt Fleming
On Tue, 28 Nov, at 10:39:37PM, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > drivers/firmware/efi/efi.c:610:8-14: WARNING: PTR_ERR_OR_ZERO can be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > Signed-off-by:

Re: [PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Yixun Lan
Hi Jerome On 12/15/2017 11:01 PM, Jerome Brunet wrote: > On Fri, 2017-12-15 at 22:59 +0800, Yixun Lan wrote: >> Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. >> >> Signed-off-by: Yixun Lan >> >> --- >> >> Changes since v2 at [2] >> - rebase to Kevin's v4.16/dt64 branch >>

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-15 Thread Maxime Ripard
Hi, On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote: > On 12/13/2017 05:40 PM, Maxime Ripard wrote: > > Hi, > > > > On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote: > > > Allwinner A10/A13/A20 SoCs have pinmux for spi0 > > > on port C. The patch adds these pins i

Re: [v7, 3/3] ARM: dts: imx6qdl.dtsi/imx6ul.dtsi: add "fsl, imx6q-snvs-lpgpr" node

2017-12-15 Thread Stefan Wahren
Hi Maciej, Am 11.12.2017 um 23:31 schrieb Maciej S. Szmigiero: On 20.06.2017 09:09, Oleksij Rempel wrote: This node is for Low Power General Purpose Register which can be used as Non-Volatile Storage. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6qdl.dtsi | 4 arch/arm/boot

Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-15 Thread Paul Menzel
Dear Mario, On 12/15/17 15:39, mario.limoncie...@dell.com wrote: -Original Message- From: Paul Menzel [mailto:pmen...@molgen.mpg.de] Sent: Friday, December 15, 2017 5:54 AM To: Limonciello, Mario ; Alexander Steffen ; Jason Gunthorpe Cc: linux-integr...@vger.kernel.org; linux-kernel@vg

Applied "regulator: leave one item to record if regulator is enabled" to the regulator tree

2017-12-15 Thread Mark Brown
The patch regulator: leave one item to record if regulator is enabled has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Re: Linux 4.15.0-rc3 perf probe/uprobe issue with address randomization

2017-12-15 Thread Thomas-Mich Richter
On 12/15/2017 03:21 PM, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 03:14:37PM +0100, Thomas-Mich Richter wrote: >> During debugging of perf probe tool I discovered an issue with >> uprobes and address randomization. >> >> To set a uprobe on a function named inet_pton in libc library, you >> ob

Applied "regulator: added bindings for suspend states" to the regulator tree

2017-12-15 Thread Mark Brown
The patch regulator: added bindings for suspend states has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: make regulator voltage be an array to support more states" to the regulator tree

2017-12-15 Thread Mark Brown
The patch regulator: make regulator voltage be an array to support more states has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime i

Re: 答复: [PATCH v6] mfd: Add support for RTS5250S power saving

2017-12-15 Thread Bjorn Helgaas
On Fri, Dec 15, 2017 at 09:42:45AM +, 冯锐 wrote: > > [+cc Hans, Dave, linux-pci] > > > > On Thu, Sep 07, 2017 at 04:26:39PM +0800, rui_f...@realsil.com.cn wrote: > > > From: Rui Feng > > > > I wish this had been posted to linux-pci before being merged. > > > > I'm concerned because some of t

Re: [PATCH 00/19] fs: rework and optimize i_version handling in filesystems

2017-12-15 Thread Jeff Layton
On Thu, 2017-12-14 at 10:14 -0500, J. Bruce Fields wrote: > On Thu, Dec 14, 2017 at 09:14:47AM -0500, Jeff Layton wrote: > > On Wed, 2017-12-13 at 19:02 -0500, Jeff Layton wrote: > > > On Thu, 2017-12-14 at 10:03 +1100, Dave Chinner wrote: > > > > On Wed, Dec 13, 2017 at 03:14:28PM -0500, Jeff Layt

[GIT PULL] mm/early_ioremap.c, earlyprintk fix

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 7f6f60a1ba52538c16f26930bfbcfe193d9d746a mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep A boot hang fix when the EFI earl

Re: [PATCH] x86: move parse_early_param to earlier code for add_efi_memmap

2017-12-15 Thread Matt Fleming
On Thu, 14 Dec, at 06:41:19PM, Dave Young wrote: > On 11/30/17 at 01:23pm, Dave Young wrote: > > 'add_efi_memmap' is an early param, but do_add_efi_memmap() has no > > chance to run because the code path is before parse_early_param(). > > I believe it worked when the param was introduced but probab

Re: [RFC PATCH 2/2] ASoC: select sysclk clock from mlck clock provider in wm8994 driver

2017-12-15 Thread Olivier MOYSAN
Hello Mark, Thanks for your comment. On 12/14/2017 06:36 PM, Mark Brown wrote: > On Thu, Dec 14, 2017 at 05:53:58PM +0100, Olivier Moysan wrote: >> When defined in device tree, MCLK1 and MCLK2 are used >> as sysclk for aif1 and aif2 interfaces respectively. > > That's not a valid assumption as f

Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all

2017-12-15 Thread Matt Fleming
On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote: > No need to get into the submenu to disable all related > config entries. > > This makes it easier to disable all EFI config options > without entering the submenu. It will also enable one > to see that en/dis-abled state from the outside menu.

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

2017-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2017 14:06:07 +0900 Sergey Senozhatsky wrote: > 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, > > > et

Re: [PATCH 2/6] blk-mq: replace timeout synchronization with a RCU and generation based scheme

2017-12-15 Thread jianchao.wang
On 12/15/2017 03:31 PM, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 10:12:50AM +0800, jianchao.wang wrote: >>> That only makes it a little better: >>> >>> Task-A Worker >>> >>> write_seqcount_begin() >>> blk_mq_rw_update_state(rq, IN_FLIGHT) >>>

Re: [PATCH] net: qcom/emac: Reduce timeout for mdio read/write

2017-12-15 Thread Timur Tabi
On 12/15/2017 08:35 AM, Hemanth Puranik wrote: Currently mdio read/write takes around ~115us as the timeout between status check is set to 100us. By reducing the timeout to 1us mdio read/write takes ~15us to complete. This improves the link up event response. Signed-off-by: Hemanth Puranik Ack

Re: [PATCH v3 4/4] regulator: core: Balance coupled regulators voltages

2017-12-15 Thread Mark Brown
On Wed, Dec 13, 2017 at 10:25:00AM +0100, Maciej Purski wrote: > > shared. To that end I'd adjust the code so that we always have a > > coupling descriptor and then handle the case where there's only one > > regulator described in there. > Do you have any suggestion, how should I implement that

Re: [PATCH v2 2/4] sched/fair: add util_est on top of PELT

2017-12-15 Thread Patrick Bellasi
On 15-Dec 15:07, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 02:02:18PM +, Patrick Bellasi wrote: > > On 13-Dec 17:05, Peter Zijlstra wrote: > > > On Tue, Dec 05, 2017 at 05:10:16PM +, Patrick Bellasi wrote: > > > > + if (cfs_rq->nr_running > 0) { > > > > + util_est

RE: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-15 Thread Mario.Limonciello
> -Original Message- > From: Paul Menzel [mailto:pmen...@molgen.mpg.de] > Sent: Friday, December 15, 2017 9:11 AM > To: Limonciello, Mario ; Alexander Steffen > ; Jason Gunthorpe > Cc: linux-integr...@vger.kernel.org; linux-kernel@vger.kernel.org; > rafael.j.wyso...@intel.com; len.br...@in

[GIT PULL] overlayfs fixes for 4.15-rc4

2017-12-15 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus - fix incomplete syncing of filesystem - fix regression in readdir on ovl over 9p - only following redirects when needed - misc fixes and cleanups Thanks, Miklos --- Amir Goldstein

Re: [PATCH] drm/tegra: mark t186 display hub PM functions __maybe_unused

2017-12-15 Thread Dmitry Osipenko
On 15.12.2017 16:33, Thierry Reding wrote: > On Fri, Dec 15, 2017 at 01:51:52PM +0100, Arnd Bergmann wrote: >> The newly introduced driver has optional suspend/resume functions, >> causing a warning when CONFIG_PM is disabled: >> >> drivers/gpu/drm/tegra/hub.c:749:12: error: 'tegra_display_hub_resu

Re: [PATCH] cpupower: Remove FSF address

2017-12-15 Thread Shuah Khan
On 12/15/2017 06:23 AM, Dominik Brodowski wrote: > On Thu, Dec 14, 2017 at 05:16:29PM -0800, Laura Abbott wrote: >> >> Checkpatch in the kernel now complains about having the FSF address >> in comments. Other tools such as rpmlint are now starting to do the >> same thing. Remove the FSF address to

Re: [PATCH 00/19] fs: rework and optimize i_version handling in filesystems

2017-12-15 Thread J. Bruce Fields
On Fri, Dec 15, 2017 at 10:15:29AM -0500, Jeff Layton wrote: > On Thu, 2017-12-14 at 10:14 -0500, J. Bruce Fields wrote: > > On Thu, Dec 14, 2017 at 09:14:47AM -0500, Jeff Layton wrote: > > > There is some clear peformance impact when you are running frequent > > > queries of the i_version. > > >

Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-15 Thread Paul Menzel
Dear Alexander, On 12/15/17 15:54, alexander.stef...@infineon.com wrote: […] the added line breaks to the quoted parts really mess up the citation. Can we please try to use MUAs avoiding that, or fixing that manually? Sorry, I'm not sure whether my company has a way for me to avoid using Ou

[GIT PULL] tooling fix

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 643e345c95f0b4a4082c60755e06e3e635658da6 tools/headers: Synchronize kernel <-> tooling headers Synchronize kernel <-> tooling header

[PATCH] kconfig: display recursive dependency resolution hint just once

2017-12-15 Thread Masahiro Yamada
Commit 1c199f2878f6 ("kbuild: document recursive dependency limitation / resolution") probably intended to show a hint along with "recursive dependency detected!" error, but it missed to add {...} guard, and the hint is displayed in every loop of the dep_stack traverse, annoyingly. This error was

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread Juergen Gross
On 15/12/17 15:58, Boris Ostrovsky wrote: > On 12/15/2017 09:47 AM, Juergen Gross wrote: >> On 15/12/17 15:24, Boris Ostrovsky wrote: > + > + hostmem_resource->start = max_addr; > + hostmem_resource->end = entry->addr + entry->size; > + for (; i < memmap.nr_entries; i++) { > +

Re: [PATCH] arm64: rockchip: enable Rockchip IO domain support

2017-12-15 Thread Heiko Stübner
Am Freitag, 15. Dezember 2017, 13:20:10 CET schrieb Klaus Goger: > Make sure the IO domain support is active. This requires to enable > Adaptive Voltage Scaling class support too. > > Without Rockchip IO domain support the internal level shifter on the RK3399 > will be misconfigured if used in the

[PATCH/RFC] perf report: Add option to change offset format when address is specified as a sort_key

2017-12-15 Thread Aaron Tomlin
With --call-graph option, a user can choose to display call chains with a specific sort_key. The sort_key can be either: function, address or srcline. By default, when the address is specified as the sort_key, the offset (i.e. symbol + offset) is provided in decimal (base 10) form. This is because

[GIT PULL] scheduler fixes

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: f73c52a5bcd1710994e53fbccc378c42b97a06b6 sched/rt: Do not pull from current CPU if only one CPU to pull Two fixes: a crash fix for

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

2017-12-15 Thread David Miller
From: Date: Fri, 15 Dec 2017 12:46:59 +0800 > 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_

[PATCH] trace/uprobes: fix output issue with address randomization

2017-12-15 Thread Thomas Richter
Commit ad67b74d2469 ("printk: hash addresses printed with %p") changed %p to hash pointers in order to avoid leaking kernel addresses. This breaks the tool perf probe. To set a uprobe on a function named inet_pton in libc library, obtain the address of the symbol inet_pton using command nm and th

Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-15 Thread Paul Menzel
Dear Mario, On 12/15/17 16:24, mario.limoncie...@dell.com wrote: -Original Message- From: Paul Menzel [mailto:pmen...@molgen.mpg.de] Sent: Friday, December 15, 2017 9:11 AM To: Limonciello, Mario ; Alexander Steffen ; Jason Gunthorpe Cc: linux-integr...@vger.kernel.org; linux-kernel@vg

[PATCH 1/3] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2017-12-15 Thread Joel Fernandes
Since the recent remote cpufreq callback work, its possible that a cpufreq update is triggered from a remote CPU. For single policies however, the current code uses the local CPU when trying to determine if the remote sg_cpu entered idle or is busy. This is incorrect. To remedy this, compare with t

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

2017-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2017 15:52:05 +0900 Sergey Senozhatsky wrote: > 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 CP

[PATCH 1/2] kconfig: use bool instead of boolean for type definition attributes, again

2017-12-15 Thread Masahiro Yamada
Commit 6341e62b212a ("kconfig: use bool instead of boolean for type definition attributes") did treewide replacement of 'boolean', and also mentioned the keyword 'boolean' would be dropped later on. Some years have passed, but it has not happened yet. Meanwhile, some new instances have come up.

[PATCH 2/3] sched/fair: Correct obsolete comment about cpufreq_update_util

2017-12-15 Thread Joel Fernandes
Since the remote cpufreq callback work, the cpufreq_update_util call can happen from remote CPUs. The comment about local CPUs is thus obsolete. Update it accordingly. Reviewed-by: Viresh Kumar Signed-off-by: Joel Fernandes --- kernel/sched/fair.c | 4 +--- 1 file changed, 1 insertion(+), 3 del

[PATCH 3/3] sched/fair: remove impossible condition from find_idlest_group_cpu

2017-12-15 Thread Joel Fernandes
find_idlest_group_cpu goes through CPUs of a group previous selected by find_idlest_group. find_idlest_group returns NULL if the local group is the selected one and doesn't execute find_idlest_group_cpu if the group to which 'cpu' belongs to is chosen. So we're always guaranteed to call find_idlest

[PATCH 2/2] kconfig: drop 'boolean' keyword

2017-12-15 Thread Masahiro Yamada
No more users of this keyword. Drop it according to the notice by commit 6341e62b212a ("kconfig: use bool instead of boolean for type definition attributes"). Signed-off-by: Masahiro Yamada --- scripts/kconfig/confdata.c | 2 +- scripts/kconfig/kconf_id.c | 1 - scripts/kconfig/mconf.c| 2

[PATCH] spi: atmel: fixed spin_lock usage inside atmel_spi_remove

2017-12-15 Thread Radu Pirea
The only part of atmel_spi_remove which needs to be atomic is hardware reset. atmel_spi_stop_dma calls dma_terminate_all and this needs interrupts enabled. atmel_spi_release_dma calls dma_release_channel and dma_release_channel locks a mutex inside of spin_lock. So the call of these functions can

Re: [PATCH v2 2/4] sched/fair: add util_est on top of PELT

2017-12-15 Thread Patrick Bellasi
On 15-Dec 13:53, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 12:14:17PM +, Patrick Bellasi wrote: > > On 13-Dec 17:16, Peter Zijlstra wrote: > > > > > + /* > > > > +* Skip update of task's estimated utilization when its EWMA is > > > > already > > > > +* ~1% close to

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

2017-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2017 09:31:51 +0100 Petr Mladek wrote: > Do people have issues with the current upstream printk() or > still even with Steven's patch? > > My current view is that Steven's patch could not make things > worse. I was afraid of possible deadlock but it seems that I was > wrong. Other

[GIT PULL] x86 fixes

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 215eada73e77ede7e15531d99f712481ddd429be objtool: Resync objtool's instruction decoder source code copy with the kernel's latest versio

Re: [PATCH] net: qcom/emac: Reduce timeout for mdio read/write

2017-12-15 Thread Andrew Lunn
On Fri, Dec 15, 2017 at 08:05:58PM +0530, Hemanth Puranik wrote: > Currently mdio read/write takes around ~115us as the timeout > between status check is set to 100us. > By reducing the timeout to 1us mdio read/write takes ~15us to > complete. This improves the link up event response. > > Signed-o

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

2017-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2017 10:08:01 +0100 Petr Mladek wrote: > You are looking for a perfect solution. But there is no perfect > solution. "Perfection is the enemy of 'good enough'" :-) -- Steve

Re: [PATCH v3 1/2] dm-unstripe: unstripe RAID 0/dm-striped device

2017-12-15 Thread Scott Bauer
[snip] On Wed, Dec 13, 2017 at 04:11:44PM -0800, Randy Dunlap wrote: > > >= > Thanks, good catch. > > + tot_sec = i_size_read(bbdev->bd_inode) >> SECTOR_SHIFT; > > + mod = tot_sec % target->chunk_sectors; > > Did you build this on 32-bit also? Is th

Re: [Xen-devel] [PATCH V3 1/2] Drivers/PCI: Export pcie_has_flr() interface

2017-12-15 Thread Govinda Tatti
Thanks Bjorn and Christophfor your response. Please see below for my comments. On 12/13/2017 3:24 PM, Bjorn Helgaas wrote: [+cc Christoph] On Wed, Dec 13, 2017 at 02:46:57PM -0600, Govinda Tatti wrote: -static bool pcie_has_flr(struct pci_dev *dev) +bool pcie_has_flr(struct pci_dev *dev)

Re: [PATCH] arm64: defconfig: Select schedutil as default cpufreq governor

2017-12-15 Thread Catalin Marinas
On Thu, Nov 16, 2017 at 11:51:36AM +0530, Viresh Kumar wrote: > Currently performance governor is getting selected by default, which is > surely not a very good choice as its pretty much power hungry. > > Select schedutil instead. And why do we care about this in defconfig? People deploying their

Re: [GIT PULL] x86 fixes

2017-12-15 Thread Andy Lutomirski
On Fri, Dec 15, 2017 at 7:43 AM, Ingo Molnar wrote: > Linus, > > - two 5-level paging related fixes Which reminds me: can you grab this one, too? https://lkml.kernel.org/r/24c898b4f44fdf8c22d93703850fb384ef87cfdc.1513035461.git.l...@kernel.org

Re: stack traces and zombie tasks

2017-12-15 Thread Andy Lutomirski
On Fri, Dec 15, 2017 at 4:54 AM, Miroslav Benes wrote: > Hi, > > commit 1959a60182f4 ("x86/dumpstack: Pin the target stack when dumping > it") slightly changed the behaviour of stack traces dumping for zombie > tasks. > > Before the commit (well, this is older SLE12 kernel, but that should not > m

Re: v4.15-rc2 on thinkpad x60: ethernet stopped working

2017-12-15 Thread David Miller
From: Pavel Machek Date: Fri, 15 Dec 2017 10:28:49 +0100 > Hi! > >> >In v4.15-rc2+, network manager can not see my ethernet card, and >> >manual attempts to ifconfig it up did not really help, either. >> > >> >Card is: >> > >> >02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethern

[tip:sched/urgent] sched/rt: Do not pull from current CPU if only one CPU to pull

2017-12-15 Thread tip-bot for Steven Rostedt
Commit-ID: f73c52a5bcd1710994e53fbccc378c42b97a06b6 Gitweb: https://git.kernel.org/tip/f73c52a5bcd1710994e53fbccc378c42b97a06b6 Author: Steven Rostedt AuthorDate: Sat, 2 Dec 2017 13:04:54 -0500 Committer: Ingo Molnar CommitDate: Fri, 15 Dec 2017 16:28:02 +0100 sched/rt: Do not pull fro

Re: [PATCH] arm64: rockchip: enable Rockchip IO domain support

2017-12-15 Thread Heiko Stübner
Am Freitag, 15. Dezember 2017, 16:51:39 CET schrieb klaus.goger@theobroma- systems.com: > > On 15.12.2017, at 16:33, Heiko Stübner wrote: > > > > Am Freitag, 15. Dezember 2017, 13:20:10 CET schrieb Klaus Goger: > >> Make sure the IO domain support is active. This requires to enable > >> Adaptive

[GIT PULL] locking fixes

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: 92ccc262e485781ff4c0fb3b7c77a619282df49a tools/lib/lockdep: Add missing declaration of 'pr_cont()' Misc fixes: - Fix a S390

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

2017-12-15 Thread Steven Rostedt
On Thu, 14 Dec 2017 23:39:36 +0900 Sergey Senozhatsky wrote: > On (12/14/17 15:27), Petr Mladek wrote: > > > > Therefore I tend to give Steven's solution a chance before this > > combined approach. > > > > have you seen this https://marc.info/?l=linux-kernel&m=151015850209859 > or this https:

Re: [PATCH v4 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-15 Thread David Miller
From: Philippe Ombredanne Date: Fri, 15 Dec 2017 11:28:15 +0100 > Salil, > > On Thu, Dec 14, 2017 at 7:03 PM, Salil Mehta wrote: >> This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem >> 3) >> Virtual Function Ethernet driver for hip08 family of SoCs. The Physical >>

Re: [RFC PATCH v3 2/2] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-12-15 Thread Juergen Gross
On 13/12/17 00:42, Maran Wilson wrote: > For certain applications it is desirable to rapidly boot a KVM virtual > machine. In cases where legacy hardware and software support within the > guest is not needed, Qemu should be able to boot directly into the > uncompressed Linux kernel binary without t

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Geert Uytterhoeven
On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: >> > The two important differences here seem to be >> > >> > 1) Staging the state via current->thread.fpsimd_state inst

Re: [PATCH net-next] net: dsa: bcm_sf2: Update compatible string for 7278B0

2017-12-15 Thread David Miller
From: Florian Fainelli Date: Thu, 14 Dec 2017 17:59:40 -0800 > Update the compatible string and Device Tree binding document for > 7278B0. > > Signed-off-by: Florian Fainelli Applied.

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Geert Uytterhoeven
Hi Will, On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: >> > The two important differences here seem to be >> > >> > 1) Staging the state via current->thread.fpsimd_

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

2017-12-15 Thread Haiyue Wang
I can help to maintain this code. :-) This basic KCS code is running successfully about two years on our boards, which uses AST2500 and linux-3.18. For openbmc project, I kept the KCS function and ported it with linux-4.10 new API like bt-bmc.c. It works well in our board with openbmc project.

Re: [PATCH] arm64: rockchip: enable Rockchip IO domain support

2017-12-15 Thread klaus . goger
> On 15.12.2017, at 16:55, Heiko Stübner wrote: > > Am Freitag, 15. Dezember 2017, 16:51:39 CET schrieb klaus.goger@theobroma- > systems.com: >>> On 15.12.2017, at 16:33, Heiko Stübner wrote: >>> >>> Am Freitag, 15. Dezember 2017, 13:20:10 CET schrieb Klaus Goger: Make sure the IO domain s

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread kbuild test robot
Hi Boris, I love your patch! Yet something to improve: [auto build test ERROR on xen-tip/linux-next] [also build test ERROR on v4.15-rc3 next-20171215] [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

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Will Deacon
On Fri, Dec 15, 2017 at 04:59:28PM +0100, Geert Uytterhoeven wrote: > On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: > >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: > >> > The two important differences here see

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread Boris Ostrovsky
On 12/15/2017 10:33 AM, Juergen Gross wrote: > On 15/12/17 15:58, Boris Ostrovsky wrote: >> On 12/15/2017 09:47 AM, Juergen Gross wrote: >>> On 15/12/17 15:24, Boris Ostrovsky wrote: >> + >> +hostmem_resource->start = max_addr; >> +hostmem_resource->end = entry->addr + e

Re: [GIT PULL] x86 fixes

2017-12-15 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Fri, Dec 15, 2017 at 7:43 AM, Ingo Molnar wrote: > > Linus, > > > > > - two 5-level paging related fixes > > Which reminds me: can you grab this one, too? > > https://lkml.kernel.org/r/24c898b4f44fdf8c22d93703850fb384ef87cfdc.1513035461.git.l...@kernel.org Yea

Re: [alsa-devel] [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-15 Thread Steven Eckhoff
On Fri, Dec 15, 2017 at 11:36:54AM +, Charles Keepax wrote: > Hmm... might need to think about the case of whether to share a > clock depends a little on what the hardware actually looks like. > > But basically my point is that writing random CODEC registers > from the machine driver is not v

Re: rsi_91x: Failed to read status register on failed authentication

2017-12-15 Thread Alexey Brodkin
Hi Amitkumar, On Wed, 2017-12-06 at 12:43 +0530, Amitkumar Karwar wrote: > On Tue, Dec 5, 2017 at 9:41 PM, Alexey Brodkin > wrote: > > Hi Amit, > > > > I'm seeing quite a strange behavior of RedPine module. > > It connects perfectly fine to one of access points but fails > > to connect to anothe

Re: [PATCH v2 0/4] Utilization estimation (util_est) for FAIR tasks

2017-12-15 Thread Patrick Bellasi
Hi Mike, On 13-Dec 18:56, Mike Galbraith wrote: > On Tue, 2017-12-05 at 17:10 +, Patrick Bellasi wrote: > > This is a respin of: > >https://lkml.org/lkml/2017/11/9/546 > > which has been rebased on v4.15-rc2 to have util_est now working on top > > of the recent PeterZ's: > >[PATCH -v2

Re: [PATCH] PCI: designware: add a check of msi_desc in irqchip

2017-12-15 Thread Lorenzo Pieralisi
[+Marc] On Thu, Dec 14, 2017 at 10:21:23AM +0800, cao@windriver.com wrote: > From: Zou Cao > > When PCIE host setup, 32 MSI irq descriptions are created, but its > msi_desc is NULL, msi_desc is bound in MSI irq requested by PCI device, > normally just part of MSI are used, for others not use

Re: BUG: unable to handle kernel paging request in __switch_to

2017-12-15 Thread Andy Lutomirski
On Fri, Dec 15, 2017 at 2:02 AM, Dmitry Vyukov wrote: > On Fri, Dec 15, 2017 at 10:58 AM, Wanpeng Li wrote: >> 2017-12-15 17:51 GMT+08:00 David Hildenbrand : >>> int main() { int fd = open("/dev/kvm", 0x80102ul); int vm = ioctl(fd, KVM_CREATE_VM, 0); int cpu = ioct

[PATCH] x86/mm: Unbreak modules that use the DMA API

2017-12-15 Thread Tom Lendacky
Commit d8aa7eea78a1 ("x86/mm: Add Secure Encrypted Virtualization (SEV) support") changed sme_active() from an inline function that referenced sme_me_mask to a non-inlined function in order to make the sev_enabled variable a static variable. This function was marked EXPORT_SYMBOL_GPL because at th

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread Boris Ostrovsky
On 12/15/2017 11:04 AM, kbuild test robot wrote: > Hi Boris, > > I love your patch! Yet something to improve: > > [auto build test ERROR on xen-tip/linux-next] > [also build test ERROR on v4.15-rc3 next-20171215] > [if your patch is applied to the wrong git tree, please drop

Re: [PATCH v19 3/7] xbitmap: add more operations

2017-12-15 Thread Tetsuo Handa
Matthew Wilcox wrote: > On Fri, Dec 15, 2017 at 01:29:45AM +0900, Tetsuo Handa wrote: > > > > Also, one more thing you need to check. Have you checked how long does > > > > xb_find_next_set_bit(xb, 0, ULONG_MAX) on an empty xbitmap takes? > > > > If it causes soft lockup warning, should we add cond

[GIT PULL] Ceph fix for 4.15-rc4

2017-12-15 Thread Ilya Dryomov
Hi Linus, The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215: Linux 4.15-rc2 (2017-12-03 11:01:47 -0500) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.15-rc4 for you to fetch changes up to 040d786032bf59002d374b86d7

Re: [patch v2 1/2] mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks

2017-12-15 Thread Michal Hocko
On Thu 14-12-17 13:30:56, David Rientjes wrote: > Commit 4d4bbd8526a8 ("mm, oom_reaper: skip mm structs with mmu notifiers") > prevented the oom reaper from unmapping private anonymous memory with the > oom reaper when the oom victim mm had mmu notifiers registered. > > The rationale is that doing

Re: [PATCH] clk: fix spin_lock/unlock imbalance on bad clk_enable() reentrancy

2017-12-15 Thread David Lechner
On 12/15/2017 07:47 AM, Jerome Brunet wrote: On Tue, 2017-12-12 at 22:14 -0600, David Lechner wrote: On 12/12/2017 05:43 PM, David Lechner wrote: If clk_enable() is called in reentrant way and spin_trylock_irqsave() is not working as expected, it is possible to get a negative enable_refcnt whic

Re: [PATCH] ip_gre: fix wrong return value of erspan_rcv

2017-12-15 Thread William Tu
On Thu, Dec 14, 2017 at 6:46 PM, Haishuang Yan wrote: > If pskb_may_pull return failed, return PACKET_REJECT instead of -ENOMEM. > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > Cc: William Tu > Signed-off-by: Haishuang Yan > --- Thanks for the patch. I think the ot

Re: [PATCH] clk: fix spin_lock/unlock imbalance on bad clk_enable() reentrancy

2017-12-15 Thread David Lechner
On 12/12/2017 10:14 PM, David Lechner wrote: On 12/12/2017 05:43 PM, David Lechner wrote: If clk_enable() is called in reentrant way and spin_trylock_irqsave() is not working as expected, it is possible to get a negative enable_refcnt which results in a missed call to spin_unlock_irqrestore().

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

2017-12-15 Thread Tony Lindgren
* Kishon Vijay Abraham I [171215 06:12]: > 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 = < > >> + D

[GIT PULL] MMC fixes for v.4.15-rc4

2017-12-15 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v4.15-rc4. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215: Linux 4.15-rc2 (2017-12-03 1

[PATCH 0/3] RapidIO: Tsi721-DMA: Adjustments for five function implementations

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 17:28:32 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in tsi721_alloc_chan_resources() Delete an unnecessary variable initialisa

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-15 Thread Bruno Wolff III
On Fri, Dec 15, 2017 at 22:02:20 +0800, weiping zhang wrote: Yes, please help reproduce this issue include my debug patch. Reproduce means we can see WARN_ON in device_add_disk caused by failure of bdi_register_owner. I'm not sure why yet, but I'm only getting the warning message you want w

Re: [PATCH v2 00/22] mmc: tmio: various fixes and cleanups

2017-12-15 Thread Ulf Hansson
On 15 December 2017 at 17:30, Wolfram Sang wrote: > >> > Ulf, this patch then in deed should ideally be applied before 1-8 here. >> >> Okay, once you post it to linux-mmc I will pick it up, and put it in front. > > Bad news, that patch didn't help. The problem is that sparc64 doesn't > include 'as

[PATCH 1/3] rapidio: tsi721_dma: Delete an error message for a failed memory allocation in tsi721_alloc_chan_resources()

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 14:11:08 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/rapidio/devices/tsi721_dma.c | 3 --- 1 file changed, 3 deleti

Re: [PATCH] ip6_gre: fix a pontential issue in ip6erspan_rcv

2017-12-15 Thread William Tu
On Thu, Dec 14, 2017 at 6:46 PM, Haishuang Yan wrote: > 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 > --- Thanks for the patch!

Re: [patch v2 2/2] mm, oom: avoid reaping only for mm's with blockable invalidate callbacks

2017-12-15 Thread Michal Hocko
On Thu 14-12-17 13:31:00, David Rientjes wrote: > This uses the new annotation to determine if an mm has mmu notifiers with > blockable invalidate range callbacks to avoid oom reaping. Otherwise, the > callbacks are used around unmap_page_range(). Do you have any example where this helped? KVM gu

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2017-12-15 Thread Jeremy Linton
Hi, On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: [+Morten, Dietmar] $SUBJECT should be: arm64: topology: rename cluster_id Sure.. On Fri, Dec 01, 2017 at 04:23:28PM -0600, Jeremy Linton wrote: Lets match the name of the arm64 topology field to the kernel macro that uses it. Signed-o

[PATCH 2/3] rapidio: tsi721_dma: Delete an unnecessary variable initialisation in tsi721_alloc_chan_resources()

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 14:22:44 +0100 The local variable "desc" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/rapidio/devices/tsi721_dma.c | 2 +- 1 file chang

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

2017-12-15 Thread Dan Williams
On Fri, Dec 15, 2017 at 3:38 AM, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 11:25:29AM +0100, Peter Zijlstra wrote: >> The memory one is also clearly wrong, not having access does not a write >> fault make. If we have pte_write() set we should not do_wp_page() just >> because we don't have ac

[PATCH 3/3] rapidio: tsi721_dma: Adjust six checks for null pointers

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 14:35:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

Re: [PATCH v2 00/22] mmc: tmio: various fixes and cleanups

2017-12-15 Thread Wolfram Sang
> > Ulf, this patch then in deed should ideally be applied before 1-8 here. > > Okay, once you post it to linux-mmc I will pick it up, and put it in front. Bad news, that patch didn't help. The problem is that sparc64 doesn't include 'asm-generic/io.h' and also has no own 'readsw'. No surprise t

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