Re: [PATCH] perf: disable parallelism for 'make clean'

2018-08-15 Thread Rasmus Villemoes
On 2018-07-05 15:49, Jiri Olsa wrote: > On Thu, Jul 05, 2018 at 03:15:27PM +0200, Rasmus Villemoes wrote: >> this only happens in combination with a O=... parameter. In any case, we >> don't lose much by explicitly disabling the parallelism for the clean >> target, and it makes automated builds

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-15 Thread Kirill A. Shutemov
On Tue, Aug 14, 2018 at 05:15:57PM -0700, Mike Kravetz wrote: > On 08/14/2018 01:48 AM, Kirill A. Shutemov wrote: > > On Mon, Aug 13, 2018 at 11:21:41PM +, Mike Kravetz wrote: > >> On 08/13/2018 03:58 AM, Kirill A. Shutemov wrote: > >>> On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz

Re: [PATCH v9 10/22] s390: vfio-ap: sysfs interfaces to configure adapters

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:07 -0400 Tony Krowiak wrote: > +/** > + * assign_adapter_store > + * > + * @dev: the matrix device > + * @attr: a mediated matrix device attribute > + * @buf: a buffer containing the adapter ID (APID) to be assigned > + * @count: the number of bytes in @buf > + * > + *

[PATCH] Fix kexec forbidding kernels signed with custom platform keys to boot

2018-08-15 Thread Yannik Sembritzki
--- arch/x86/kernel/kexec-bzimage64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kexec-bzimage64.c b/arch/x86/kernel/kexec-bzimage64.c index 7326078e..eaaa125d 100644 --- a/arch/x86/kernel/kexec-bzimage64.c +++ b/arch/x86/kernel/kexec-bzimage64.c @@

Re: [PATCH 2/4] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon and utmi-avalid properties.

2018-08-15 Thread Enric Balletbo i Serra
Hi Heiko, On 15/08/18 12:29, Heiko Stuebner wrote: > Hi Enric, > > Am Mittwoch, 15. August 2018, 11:59:32 CEST schrieb Enric Balletbo i Serra: >> Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for >> rk3399") introduces two new properties. The extcon property is used to >>

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-15 Thread Guenter Roeck
On 08/14/2018 11:14 PM, Greg Kroah-Hartman wrote: On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.120 release. There are 107 patches in this series, all will be posted as a response to this one. If anyone has any

Re: [PATCHv5 19/19] x86: Introduce CONFIG_X86_INTEL_MKTME

2018-08-15 Thread Pavel Machek
Hi! > Add new config option to enabled/disable Multi-Key Total Memory > Encryption support. > > MKTME uses MEMORY_PHYSICAL_PADDING to reserve enough space in per-KeyID > direct mappings for memory hotplug. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/Kconfig | 19 ++-

linux-next: manual merge of the akpm-current tree with Linus' tree

2018-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/asm-generic/pgtable.h between commits: 42e4089c7890 ("x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings") 6c26fcd2abfe ("x86/speculation/l1tf: Unbreak

Re: [PATCH 1/2] rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-15 Thread Alexandre Belloni
On 15/08/2018 15:16:56+0800, zhong jiang wrote: > On 2018/8/15 0:15, Alexandre Belloni wrote: > > Hi, > > > > On 13/08/2018 19:31:24+0800, zhong jiang wrote: > >> PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So > >> just replace them rather than duplicating its implement. > >> >

[PATCH] linux/bitmap.h: (buildbot-only) check if we have any compile-time zero-size bitmaps

2018-08-15 Thread Rasmus Villemoes
Most of the inline bitmap functions are buggy if passed a compile-time constant nbits==0. The convention is that the caller only guarantees BITS_TO_LONGS(nbits) words can be accessed, which for nbits==0 is of course 0. However, all the small_const_nbits() cases proceed to dereferencing the passed

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Andy Shevchenko
On Wed, Aug 15, 2018 at 12:34 PM, Chris Chiu wrote: > On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko > wrote: >> On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: >>> On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: Make asus-wmi notify on hotkey kbd brightness changes, listen for

[PATCH 2/4] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon and utmi-avalid properties.

2018-08-15 Thread Enric Balletbo i Serra
Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for rk3399") introduces two new properties. The extcon property is used to detect the cable-state, and the rockchip,utmi-avalid is used to indicate which register should be used to detect the vbus state. Document these properties in

[PATCH 1/4] phy: rockchip-inno-usb2: fix misspelling and kernel-doc documentation.

2018-08-15 Thread Enric Balletbo i Serra
Fix the typo flase -> false and clean up the kernel-doc documentation in phy-rockchip-inno.usb2.c and fix the following warnings when documentation is built. :58: warning: missing initial short description :69: warning: cannot understand function prototype: 'enum usb_chg_state ' :97:

[PATCH 0/4] phy: rockchip-inno-usb2: document improvements and allow to force B-device valid session bit.

2018-08-15 Thread Enric Balletbo i Serra
Hi all, The main purpose of this patchset is have the Type-C port on the Samsung Chromebook Plus work as a device or in OTG mode. While doing it I spent some time to fix some documentation issues. So, the first and the second patch are not really related to the topic and can be picked

Re: [PATCH 3/4] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2018-08-15 Thread Heiko Stuebner
Hi Enric, Am Mittwoch, 15. August 2018, 11:59:33 CEST schrieb Enric Balletbo i Serra: > The OTG disconnection event is generated after the presence/abscense of > an ID connection, but some platforms doesn't have the ID pin connected, so > the event is not generated. In such case, for detecting

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-15 Thread Mark Brown
On Tue, Aug 14, 2018 at 01:03:07PM -0700, Doug Anderson wrote: > Specifically I will note that there are boatloads of drivers out there > that use the regulator framework but don't have a call to > regulator_set_load() in them. Are these drivers all broken? I don't > think so. IMO the

Re: [PATCH 4.14 000/104] 4.14.63-stable review

2018-08-15 Thread Guenter Roeck
On 08/14/2018 10:16 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.63 release. There are 104 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2018 at 05:20:28AM -0700, Guenter Roeck wrote: > On 08/14/2018 11:14 PM, Greg Kroah-Hartman wrote: > > On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.120 release. > > > There are 107 patches in this

Re: [PATCH v3 3/5] arm64/mm: Create initial page tables in init_pg_dir

2018-08-15 Thread Jun Yao
Hi James, On Fri, Jul 06, 2018 at 03:41:07PM +0100, James Morse wrote: > I missed one: head.S has a call to kasan_early_init() before start_kernel(), > this goes messing with the page tables, and calls pgd_offset_k(), which pulls > in > swapper_pg_dir. This one is enabled by CONFIG_KASAN. > >

Re: Applied "ASoC: dt-bindings: add dt bindings for wcd9335 audio codec" to the asoc tree

2018-08-15 Thread Mark Brown
On Tue, Aug 14, 2018 at 10:24:05AM -0600, Rob Herring wrote: > On Wed, Aug 01, 2018 at 12:20:20PM +0100, Mark Brown wrote: > > The patch > > > >ASoC: dt-bindings: add dt bindings for wcd9335 audio codec > > > > has been applied to the asoc tree at > > > >

Re: [PATCH 4.4.y] tcp: Fix missing range_truesize enlargement in the backport

2018-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2018 at 11:58:46AM +0200, Takashi Iwai wrote: > The 4.4.y stable backport dc6ae4dffd65 for the upstream commit > 3d4bf93ac120 ("tcp: detect malicious patterns in > tcp_collapse_ofo_queue()") missed a line that enlarges the > range_truesize value, which broke the whole check. > >

Re: [PATCH 4.4.y] tcp: Fix missing range_truesize enlargement in the backport

2018-08-15 Thread Takashi Iwai
On Wed, 15 Aug 2018 13:11:21 +0200, Greg Kroah-Hartman wrote: > > On Wed, Aug 15, 2018 at 11:58:46AM +0200, Takashi Iwai wrote: > > The 4.4.y stable backport dc6ae4dffd65 for the upstream commit > > 3d4bf93ac120 ("tcp: detect malicious patterns in > > tcp_collapse_ofo_queue()") missed a line that

Re: [PATCH mmc-next v3 1/3] mmc: sdhci: add adma_table_num member to struct sdhci_host

2018-08-15 Thread Adrian Hunter
On 30/07/18 05:44, Jisheng Zhang wrote: > This patch adds adma_table_num member to struct sdhci_host to give more > flexibility to drivers to control the ADMA table number. > > Default value of adma_table_num is set to (SDHCI_MAX_SEGS * 2 + 1). > > Signed-off-by: Jisheng Zhang > --- >

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Chris Chiu
On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko wrote: > On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: >> On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: >>> Make asus-wmi notify on hotkey kbd brightness changes, listen for >>> brightness events and update the brightness directly in

[PATCH 1/6] nds32/ftrace: Support static function tracer

2018-08-15 Thread Zong Li
This patch support the static function tracer. On nds32 ABI, we need to always push return address to stack for __builtin_return_address can work correctly, otherwise, it will get the wrong value of $lp at leaf function. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 +

[PATCH 0/6] Support ftrace on NDS32 architecture

2018-08-15 Thread Zong Li
This patch set implements the ftrace function and function graph tracer on NDS32 architecture. We try to use C code to do everything, so we don't need to separate the implementation to assembly code and C code, we just need one ftrace.c file. In mcount function, we use the prologue/epilogue which

[PATCH 4/4] dt-bindings: phy-rockchip-inno-usb2: add new rockchip,force-bvalid property.

2018-08-15 Thread Enric Balletbo i Serra
This property is used when the otg-id pin is not connected. When this property is set it forces to set the B-Device Session Valid bit when the port works as device and clears that bit when the port works as host. Signed-off-by: Enric Balletbo i Serra ---

[PATCH 3/4] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2018-08-15 Thread Enric Balletbo i Serra
The OTG disconnection event is generated after the presence/abscense of an ID connection, but some platforms doesn't have the ID pin connected, so the event is not generated. In such case, for detecting the disconnection event, we can get the cable state from an extcon driver. We need, though, to

[PATCH 4.4.y] tcp: Fix missing range_truesize enlargement in the backport

2018-08-15 Thread Takashi Iwai
The 4.4.y stable backport dc6ae4dffd65 for the upstream commit 3d4bf93ac120 ("tcp: detect malicious patterns in tcp_collapse_ofo_queue()") missed a line that enlarges the range_truesize value, which broke the whole check. Fixes: dc6ae4dffd65 ("tcp: detect malicious patterns in

Re: [PATCH 3/4] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2018-08-15 Thread Enric Balletbo i Serra
Hi Heiko, On 15/08/18 12:18, Heiko Stuebner wrote: > Hi Enric, > > Am Mittwoch, 15. August 2018, 11:59:33 CEST schrieb Enric Balletbo i Serra: >> The OTG disconnection event is generated after the presence/abscense of >> an ID connection, but some platforms doesn't have the ID pin connected, so

linux-next: Tree for Aug 15

2018-08-15 Thread Stephen Rothwell
Hi all, Please do not add any v4.20 material to your linux-next included branches until after v4.19-rc1 has been released. Changes since 20180814: The arc-current tree gained a conflict against Linus' tree. The powerpc tree gained a conflict against Linus' tree. The ftrace tree gained a

Re: [PATCH RFC] usercopy: optimize stack check flow when the page-spanning test is disabled

2018-08-15 Thread Yuanxiaofeng (XiAn)
On 8/15/2018 2:54 AM, Kees Cook wrote: > (Please use contextual quoting in replies... mixing contextual with > top-posting becomes very hard to read...) > > On Tue, Aug 14, 2018 at 6:02 AM, Yuanxiaofeng (XiAn) > wrote: >> On Tue, Aug 14, 2018 at 8:35PM Matthew Wilcox wrote: >>> On Tue, Aug

UAE based Flexible low interest rate of 2.5% ROI per annually.

2018-08-15 Thread Baghdadi Mahmud
Attention; I consult with a UAE based investment company, I seek for beneficial projects for the organizations, seeking means of expanding and relocating our business interest abroad in the following sectors: oil/Gas, banking, real estate, stock speculation and mining, transportation, health

Re: [PATCH 4.4 00/43] 4.4.148-stable review

2018-08-15 Thread Guenter Roeck
On 08/14/2018 10:17 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.148 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [RFC PATCH 2/2] mm: drain memcg stocks on css offlining

2018-08-15 Thread Michal Hocko
On Tue 14-08-18 17:36:20, Roman Gushchin wrote: > Memcg charge is batched using per-cpu stocks, so an offline memcg > can be pinned by a cached charge up to a moment, when a process > belonging to some other cgroup will charge some memory on the same > cpu. In other words, cached charges can

[PATCH 3/3] fix some potential memory leak in bcache_device_init

2018-08-15 Thread Dongbo Cao
add some goto label to release memory in case we got wrong return value. Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index

Re: [PATCH V2] i2c: ismt: fix wrong device address when unmap the data buffer

2018-08-15 Thread Andy Shevchenko
On Wed, Aug 15, 2018 at 5:26 AM, Dmitry Safonov <0x7f454...@gmail.com> wrote: > +Cc: stable > > Hi Greg, JFI: > This one has hit a couple of times on autotests on v4.9 stable. > The fix for BUG() is trivial, so probably worth to ship it to v4.9/v4.4/v3.18. > JFYI: commit

Re: [PATCH 4/4] dt-bindings: phy-rockchip-inno-usb2: add new rockchip,force-bvalid property.

2018-08-15 Thread Heiko Stuebner
Am Mittwoch, 15. August 2018, 11:59:34 CEST schrieb Enric Balletbo i Serra: > This property is used when the otg-id pin is not connected. When this > property is set it forces to set the B-Device Session Valid bit when the > port works as device and clears that bit when the port works as host. >

Re: [PATCH v3 03/14] sched/core: uclamp: add CPU's clamp groups accounting

2018-08-15 Thread Patrick Bellasi
On 15-Aug 11:37, Dietmar Eggemann wrote: > On 08/14/2018 06:49 PM, Patrick Bellasi wrote: > >Hi Dietmar! > > > >On 14-Aug 17:44, Dietmar Eggemann wrote: > >>On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > > [...] > > >>This one indicates that there are some holes in your ref-counting. > > >

[BUG][BISECT] NFSv4 root failures after "fs/locks: allow a lock request to block other requests."

2018-08-15 Thread Krzysztof Kozlowski
Hi, Bisect pointed commit ce3147990450a68b3f549088b30f087742a08b5d ("fs/locks: allow a lock request to block other requests.") to failure boot of NFSv4 with root on several boards. Log is here: https://krzk.eu/#/builders/21/builds/836/steps/12/logs/serial0 With several errors: kernel BUG at

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-15 Thread Guenter Roeck
On 08/14/2018 10:16 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.120 release. There are 107 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v3 1/3] fuse: add max_pages option

2018-08-15 Thread Miklos Szeredi
On Tue, Aug 14, 2018 at 11:17 PM, Constantine Shulyupin wrote: > Replace FUSE_MAX_PAGES_PER_REQ with the configurable > mount parameter max_pages to improve performance. > > Old RFC with detailed description of the problem and > many fixes by Mitsuo Hayasaka (mitsuo.hayasaka...@hitachi.com): > -

Undefined reference to `l1tf_vmx_mitigation' without CONFIG_KVM_INTEL

2018-08-15 Thread Dmitrii Tcvetkov
By build testing 4.18.1-rc2 from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.18.y with my custom kernel config I got build error: CHK include/generated/autoksyms.h GEN .version CHK include/generated/compile.h AR built-in.a LD

Re: [PATCH] perf tools: Add struct ordered_events_buffer layer

2018-08-15 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 12:14:19AM -0700, Stephane Eranian wrote: SNIP > > @@ -104,11 +110,12 @@ static struct ordered_event *alloc_event(struct > > ordered_events *oe, > > new = list_entry(cache->next, struct ordered_event, list); > > list_del(>list); > >

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Chris Chiu
On Wed, Aug 15, 2018 at 5:45 PM, Andy Shevchenko wrote: > On Wed, Aug 15, 2018 at 12:34 PM, Chris Chiu wrote: >> On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko >> wrote: >>> On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: > Make

Re: [PATCH 3/4] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2018-08-15 Thread Heiko Stuebner
Am Mittwoch, 15. August 2018, 12:34:42 CEST schrieb Enric Balletbo i Serra: > Hi Heiko, > > On 15/08/18 12:18, Heiko Stuebner wrote: > > Hi Enric, > > > > Am Mittwoch, 15. August 2018, 11:59:33 CEST schrieb Enric Balletbo i Serra: > >> The OTG disconnection event is generated after the

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-15 Thread Mark Brown
On Tue, Aug 14, 2018 at 04:56:42PM -0700, Doug Anderson wrote: > IMO about the best we could hope to do would be to map "mode" from > children to parent. AKA: perhaps you could assume that if a child is > in a higher power mode that perhaps a parent should be too? That's not going to work well

Re: [PATCH 2/4] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon and utmi-avalid properties.

2018-08-15 Thread Heiko Stuebner
Hi Enric, Am Mittwoch, 15. August 2018, 13:08:00 CEST schrieb Enric Balletbo i Serra: > On 15/08/18 12:29, Heiko Stuebner wrote: > > Am Mittwoch, 15. August 2018, 11:59:32 CEST schrieb Enric Balletbo i Serra: > >> Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for > >> rk3399")

[PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability

2018-08-15 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- drivers/mmc/host/dw_mmc-hi3798cv200.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c index

Re: [PATCH v9 11/22] s390: vfio-ap: sysfs interfaces to configure domains

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:08 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Introduces two new sysfs attributes for the VFIO mediated > matrix device for assigning AP domains to and unassigning > AP domains from a mediated matrix device. The IDs of the > AP domains assigned to the mediated

RE: Build failures with gcc 4.5 and older

2018-08-15 Thread David Laight
From: Guenter Roeck > Sent: 14 August 2018 18:09 ... > Does that mean that gcc 4.5 and older are now officially no longer > supported for compiling the kernel ? Never mind the version of gcc, the x86 kernel doesn't build with the default kernel options because the ORC unwinder hits a bug in

Re: Undefined reference to `l1tf_vmx_mitigation' without CONFIG_KVM_INTEL

2018-08-15 Thread Dmitrii Tcvetkov
On Wed, 15 Aug 2018 11:42:00 +0300 Dmitrii Tcvetkov wrote: > By build testing 4.18.1-rc2 from > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.18.y with my custom kernel config I got build error: > CHK include/generated/autoksyms.h > GEN .version >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Will Deacon
On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > The other thing that's going on here is that I'm becoming numb to the > > loathsome "failed to mmap with 12 (Cannot allocate memory)" being > > returned no matter what the

Re: [PATCH 1/2] perf tools: Make check-headers.sh check based on kernel dir

2018-08-15 Thread Michael Ellerman
Jiri Olsa writes: > On Tue, Aug 14, 2018 at 03:06:44PM -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Aug 14, 2018 at 09:27:26AM +0200, Jiri Olsa escreveu: >> > On Tue, Aug 14, 2018 at 11:47:39AM +1000, Michael Ellerman wrote: >> > > Jiri Olsa writes: >> > > > diff --git

Re: [PATCH] platform/x86: asus-wmi: Add keymap entry for lid flip action on Asus UX360

2018-08-15 Thread Andy Shevchenko
On Fri, Aug 10, 2018 at 11:07 PM, Aleh Filipovich wrote: > Add entry to WMI keymap for lid flip event on Asus UX360. > > On Asus Zenbook ux360 flipping lid from/to tablet mode triggers > keyscan code 0xfa which cannot be handled and results in kernel > log message "Unknown key fa pressed". > >

Re: [PATCH 2/4] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon and utmi-avalid properties.

2018-08-15 Thread Heiko Stuebner
Hi Enric, Am Mittwoch, 15. August 2018, 11:59:32 CEST schrieb Enric Balletbo i Serra: > Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for > rk3399") introduces two new properties. The extcon property is used to > detect the cable-state, and the rockchip,utmi-avalid is used to

Re: [PATCH v3 03/14] sched/core: uclamp: add CPU's clamp groups accounting

2018-08-15 Thread Dietmar Eggemann
On 08/15/2018 12:54 PM, Patrick Bellasi wrote: On 15-Aug 11:37, Dietmar Eggemann wrote: On 08/14/2018 06:49 PM, Patrick Bellasi wrote: Hi Dietmar! On 14-Aug 17:44, Dietmar Eggemann wrote: On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [..] If this is only for testing/debugging, I would

Re: [PATCH v3 1/3] fuse: add max_pages option

2018-08-15 Thread kbuild test robot
/linux/commits/Constantine-Shulyupin/fuse-add-max_pages-option/20180815-132537 base: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux

[PATCH 4/6] nds32/ftrace: Support dynamic function tracer

2018-08-15 Thread Zong Li
This patch contains the implementation of dynamic function tracer. The mcount call is composed of three instructions, so there are three nop for enough placeholder. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + arch/nds32/include/asm/ftrace.h | 26 +++

[PATCH 5/6] nds32/ftrace: Support dynamic function graph tracer

2018-08-15 Thread Zong Li
This patch contains the implementation of dynamic function graph tracer. Signed-off-by: Zong Li --- arch/nds32/kernel/ftrace.c | 36 1 file changed, 36 insertions(+) diff --git a/arch/nds32/kernel/ftrace.c b/arch/nds32/kernel/ftrace.c index 3ca676b..a646a83

[PATCH 2/6] nds32/ftrace: Support static function graph tracer

2018-08-15 Thread Zong Li
This patch contains implementation of static function graph tracer. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + arch/nds32/kernel/ftrace.c | 69 ++ 2 files changed, 70 insertions(+) diff --git a/arch/nds32/Kconfig

[PATCH 3/6] nds32/ftrace: Add RECORD_MCOUNT support

2018-08-15 Thread Zong Li
Recognize NDS32 object files in recordmcount.pl. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + scripts/recordmcount.pl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index ae1a94ca..66d507d 100644 --- a/arch/nds32/Kconfig +++

[PATCH 6/6] nds32/stack: Get real return address by using ftrace_graph_ret_addr

2018-08-15 Thread Zong Li
Function graph tracer has modified the return address to 'return_to_handler' on stack, and provide the 'ftrace_graph_ret_addr' to get the real return address. Signed-off-by: Zong Li --- arch/nds32/kernel/stacktrace.c | 4 arch/nds32/kernel/traps.c | 30 ++

Re: [PATCH v3 03/14] sched/core: uclamp: add CPU's clamp groups accounting

2018-08-15 Thread Dietmar Eggemann
On 08/14/2018 06:49 PM, Patrick Bellasi wrote: Hi Dietmar! On 14-Aug 17:44, Dietmar Eggemann wrote: On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] This one indicates that there are some holes in your ref-counting. Not really, this has been added not because I've detected a refcount

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-15 Thread Lorenzo Pieralisi
On Fri, Aug 10, 2018 at 02:18:15PM -0600, Lina Iyer wrote: [...] > >>But, the OSI feature is critical for QCOM mobile platforms. The > >>last man activities during cpuidle save quite a lot of power. > > > >What I expressed above was that, in PSCI based systems (OSI or PC > >alike), it is up to

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-15 Thread Mark Brown
On Tue, Aug 14, 2018 at 10:06:14AM -0700, Douglas Anderson wrote: > Not all regulator consumers call regulator_set_load(). On some > regulators (like on RPMh-regulator) this could be bad since the > regulator framework will treat this as if consumer needs no load. > It's much better to assume

[RFC] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-15 Thread Peter Ujfalusi
The metadata is best described as side band data or parameters traveling alongside the data DMAd by the DMA engine. It is data which is understood by the peripheral and the peripheral driver only, the DMA engine see it only as data block and it is not interpreting it in any way. The metadata can

[PATCH V2] EDAC, amd64: Add Family 17h Model 10h support.

2018-08-15 Thread Michael Jin
Add support for ECC error decoding on family 17h models 10h-2fh. Link: https://lkml.kernel.org/r/20180810193623.24629-1-mikhail@gmail.com Cc: sta...@vger.kernel.org Signed-off-by: Michael Jin --- drivers/edac/amd64_edac.c | 15 +++ drivers/edac/amd64_edac.h | 3 +++ 2 files

Re: [BUG][BISECT] NFSv4 root failures after "fs/locks: allow a lock request to block other requests."

2018-08-15 Thread Jeff Layton
On Wed, 2018-08-15 at 14:28 +0200, Krzysztof Kozlowski wrote: > Hi, > > Bisect pointed commit ce3147990450a68b3f549088b30f087742a08b5d > ("fs/locks: allow a lock request to block other requests.") to failure > boot of NFSv4 with root on several boards. > > Log is here: >

Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Kirill Kapranov
On 08/14/2018 05:18 PM, Mark Brown wrote: > Is this something that's actually happened for you? Yes, I observed it. Background: The platform: fitlet2 [1] , CPU Intel(R) Celeron(R) CPU J3455 @ 1.50GHz. On an extension board there are three SPI master controllers "Intel Corporation

Re: Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Mark Brown
On Wed, Aug 15, 2018 at 05:28:56PM +0300, Kirill Kapranov wrote: > On 08/14/2018 05:18 PM, Mark Brown wrote: > > Is this something that's actually happened for you? > Yes, I observed it. OK, that's useful to know - it differentiates between a nice to have fix and something that should be sent to

[PATCH 02/35] tools lib traceevent, perf tools: Rename struct pevent to struct tep_handle

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes the struct pevent to struct tep_handle.

Re: [PATCH] ARM: dts: socfpga: use stdout-path for chosen node

2018-08-15 Thread Dinh Nguyen
On 08/08/2018 04:09 AM, Simon Goldschmidt wrote: > Use stdout-path dts property for kernel console. > > There were two socfpga boards left not using stdout-path: > socrates and vining. Make sure they match the other boards. > > Signed-off-by: Simon Goldschmidt > --- >

[PATCH RESEND] x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled

2018-08-15 Thread Guenter Roeck
allmodconfig+CONFIG_INTEL_KVM=n results in the following build error. ERROR: "l1tf_vmx_mitigation" [arch/x86/kvm/kvm.ko] undefined! Fixes: 5b76a3cff011 ("KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry") Reported-by: Meelis Roos Cc: Meelis Roos Cc: Paolo Bonzini Cc: Thomas

Re: Build failures with gcc 4.5 and older

2018-08-15 Thread Tony Luck
On Tue, Aug 14, 2018 at 1:19 PM Tony Luck wrote: > My ia64 test box only has 4.3.4. I seem to remember some pain points > with newer versions of gcc on ia64. I need to poke around and find one > new enough to get past this problem, but that still works for kernel building. I had problems trying

Re: [PATCH v9 17/22] s390: vfio-ap: zeroize the AP queues.

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:14 -0400 Tony Krowiak wrote: Nit: please drop the leading period in the subject. > From: Tony Krowiak > > Let's call PAPQ(ZAPQ) to zeroize a queue: > > * For each queue configured for a mediated matrix device > when it is released. > > Zeroizing a queue resets

[PATCH] iio: health: max30102: Mark expected switch fall-throughs

2018-08-15 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I placed the "fall through" annotation at the bottom of the case, which is what GCC is expecting to find. Addresses-Coverity-ID: 1458342 ("Missing

Re: [PATCH v2 1/3] kconfig: error out when seeing recursive dependency

2018-08-15 Thread Dirk Gouders
Masahiro Yamada writes: > Originally, recursive dependency was a fatal error for Kconfig > because Kconfig cannot compute symbol values in such a situation. > > Commit d595cea62403 ("kconfig: print more info when we see a recursive > dependency") changed it to a warning, which I guess was not

[PATCH] statfs: fix potential Spectre v1

2018-08-15 Thread Gustavo A. R. Silva
user_params.request is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: fs/statfs.c:908 __do_sys_fsinfo() warn: potential spectre issue 'fsinfo_buffer_sizes' [r] Fix this by

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-15 Thread Torsten Duwe
[working on V2 with your feedback] On Tue, Aug 14, 2018 at 12:04:33PM -0400, Steven Rostedt wrote: > On Tue, 14 Aug 2018 09:33:52 +0100 > Julien Thierry wrote: > > >> Shouldn't this be an error? The option -fpatchable-function-entry has > > >> been added to the CC_FLAGS_FTRACE, so any call to

Re: [PATCH 1/2] perf tools: Make check-headers.sh check based on kernel dir

2018-08-15 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 15, 2018 at 08:02:48PM +1000, Michael Ellerman escreveu: > Jiri Olsa writes: > > On Tue, Aug 14, 2018 at 03:06:44PM -0300, Arnaldo Carvalho de Melo wrote: > >> Em Tue, Aug 14, 2018 at 09:27:26AM +0200, Jiri Olsa escreveu: > >> > sry.. Arnaldo, would you change it for simple cd

[PATCH 06/35] tools lib traceevent, perf tools: Rename pevent find APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_find_any_field,

[PATCH 08/35] tools lib traceevent, perf tools: Rename pevent print APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_print_field, pevent_print_fields,

[PATCH 12/35] tools lib traceevent, perf tools: Rename traceevent_* APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "traceevent_". This changes APIs: traceevent_host_bigendian,

[PATCH 11/35] tools lib traceevent, perf tools: Rename pevent_set_* APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_set_file_bigendian, pevent_set_flag,

[PATCH 09/35] tools lib traceevent, perf tools: Rename pevent_read_number_* APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_read_number,

[PATCH 10/35] tools lib traceevent, perf tools: Rename pevent_register_* APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_register_comm,

[PATCH 03/35] tools lib traceevent, perf tools: Rename 'struct pevent_record' to 'struct tep_record'

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes the 'struct pevent_record' to 'struct

[PATCH 05/35] tools lib traceevent, perf tools: Rename pevent alloc / free APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_alloc, pevent_free,

[PATCH 04/35] tools lib traceevent, perf tools: Rename pevent plugin related APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes the pevent plugin related API. Signed-off-by:

[GIT PULL 00/35] perf/core improvements and fixes

2018-08-15 Thread Arnaldo Carvalho de Melo
6a9405b56c274024564f9014bba97b92c91b34d6: perf map: Optimize maps__fixup_overlappings() (2018-08-08 15:56:00 -0300) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.19-20180815 for you to fetch changes up to 6855dc41b24619c3d1de3dbd27dd0546b0e45272

[PATCH 01/35] perf probe powerpc: Fix trace event post-processing

2018-08-15 Thread Arnaldo Carvalho de Melo
From: Sandipan Das In some cases, a symbol may have multiple aliases. Attempting to add an entry probe for such symbols results in a probe being added at an incorrect location while it fails altogether for return probes. This is only applicable for binaries with debug information. During the

[PATCH] kdb: kdb_main: refactor code in kdb_md_line

2018-08-15 Thread Gustavo A. R. Silva
Replace the whole switch statement with a for loop. This makes the code much clear and easy to read. This also addresses the following Coverity warnings: Addresses-Coverity-ID: 115090 ("Missing break in switch") Addresses-Coverity-ID: 115091 ("Missing break in switch") Addresses-Coverity-ID:

[PATCH 07/35] tools lib traceevent, perf tools: Rename pevent parse APIs

2018-08-15 Thread Arnaldo Carvalho de Melo
From: "Tzvetomir Stoyanov (VMware)" In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_parse_event, pevent_parse_format,

Re: [PATCH v3 05/14] sched/cpufreq: uclamp: add utilization clamping for FAIR tasks

2018-08-15 Thread Dietmar Eggemann
On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] +#else /* CONFIG_UCLAMP_TASK */ +static inline unsigned int uclamp_value(unsigned int cpu, int clamp_id) +{ + return uclamp_none(clamp_id); +} Looks like that uclamp_value() is not used outside CONFIG_UCLAMP_TASK areas.

Re: [PATCH 4.14 000/104] 4.14.63-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2018 at 05:02:16PM +0200, Jinpu Wang wrote: > > From: Greg Kroah-Hartman > > Date: 2018年8月15日周三 上午8:15 > > Subject: Re: [PATCH 4.14 000/104] 4.14.63-stable review > > To: > > Cc: , , > > , , , > > , , > > > > > > > > On Tue, Aug 14, 2018 at 07:16:14PM +0200, Greg Kroah-Hartman

[PATCH] rcu: Convert rcu_state.ofl_lock to raw_spinlock_t

2018-08-15 Thread Mike Galbraith
1e64b15a4b10 ("rcu: Fix grace-period hangs due to race with CPU offline") added spinlock_t ofl_lock to the rcu_state structure, then takes it with preemption disabled during CPU offline, giving RT sleeping lock heartburn. Convert it to raw_spinlock_t. Signed-off-by: Mike Galbraith ---

Re: Build failures with gcc 4.5 and older

2018-08-15 Thread Linus Torvalds
On Wed, Aug 15, 2018 at 5:38 AM David Laight wrote: > > Never mind the version of gcc, the x86 kernel doesn't build with the > default kernel options because the ORC unwinder hits a bug in libelf > (in objtool) that was only fixed late last year. > > It isn't even obvious from the build log what

Re: [PATCH] EDAC: i82443bxgx: Fix invalid memory type assignment

2018-08-15 Thread Borislav Petkov
On Fri, Aug 10, 2018 at 04:15:20PM +0200, Takashi Iwai wrote: > The i82443bxgx_edac driver assigns an invalid negative value when an > unknown DRAM type is detected. Drop the unnecessary '-' that brings > misbehavior. > > Fixes: 5a2c675c8919 ("drivers/edac: new i82443bxgz MC driver") > Cc: >

RE: Build failures with gcc 4.5 and older

2018-08-15 Thread David Laight
From: Linus Torvalds > Sent: 15 August 2018 16:44 > On Wed, Aug 15, 2018 at 5:38 AM David Laight wrote: > > > > Never mind the version of gcc, the x86 kernel doesn't build with the > > default kernel options because the ORC unwinder hits a bug in libelf > > (in objtool) that was only fixed late

  1   2   3   4   5   6   7   8   9   >