Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-15 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 10:54:35PM -0400, Steven Rostedt wrote: > On Fri, 10 Aug 2018 13:57:06 -0300 > Arnaldo Carvalho de Melo wrote: > > > > Arnaldo takes care of that, but I guess pulling from branch is the > > > prefered way > > > > I'll try pulling and building it automatically patch by

[PATCH 2/2] fix potential memory leak in function "register_bcache"

2018-08-15 Thread Dongbo Cao
if register_cache get error, memory pointed by ca should be released. and also, blkdev_put should be called I think. Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/su

Re: [PATCH v3] spi: orion: cosmetics - alias long direct_access variables

2018-08-15 Thread Stefan Roese
On 13.08.2018 22:54, Kosta Zertsekel wrote: This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel Reviewed-by: Andrew Lunn

Re: [RFC PATCH 1/2] mm: rework memcg kernel stack accounting

2018-08-15 Thread Michal Hocko
On Tue 14-08-18 17:36:19, Roman Gushchin wrote: > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > > The problem is

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

2018-08-15 Thread zhong jiang
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. >> >> Signed-off-by: zhong jiang >> --- >> drivers/rtc/rtc-digicol

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 preven

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 mu

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 > --- > drivers/m

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 ++-

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): > -

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 !__HAVE_ARCH_PFN_MODIFY_ALL

KASAN: slab-out-of-bounds Read in _autofs_dev_ioctl

2018-08-15 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f313b43be461 Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c1da3c40 kernel config: https://syzkaller.appspot.com/x/.config?x=152cb8ccd35b1f70 da

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 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 14c31e03..b1197c

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 wro

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 vml

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(&new->list); > >

[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 s

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 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

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 17e83549e199d89aace7788a9

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 the

[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 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 + arch/nds

[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 ++

[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 +++ arch/nds32/kerne

[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 b/arch/nds32/Kconfi

[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 +++ b/arch/nd

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 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 error

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 >>>

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 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 > + * > + * P

Re: [PATCH v2] platform/x86: acer-wmi: refactor function has_cap

2018-08-15 Thread Andy Shevchenko
On Thu, Aug 9, 2018 at 3:44 AM, joeyli wrote: > Hi Gustavo, > > Sorry for my delay! > > On Mon, Aug 06, 2018 at 03:38:32PM -0500, Gustavo A. R. Silva wrote: >> Refactor function has_cap in order to avoid returning integer >> values, when instead it should return booleans. >> >> This code was detec

[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 tcp_collapse_ofo_qu

[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 --- .../devicetree/bindings/phy/phy-rockchip

[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 f

[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: warning

[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 independentl

[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

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 a/tools/perf/check-hea

[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 @@ -532,7

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". > > Pu

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 the

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. > > So

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 in

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

2018-08-15 Thread Heiko Stuebner
Am Mittwoch, 15. August 2018, 11:59:31 CEST schrieb 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 >

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 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 confli

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 presence/a

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 fi

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 > > > >https://git.kernel.org/pub/scm/li

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. > > > >Not

[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 b

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 that

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 su

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 regulator

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 >> detec

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. > > Fi

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") i

[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 f9b333f..7a02

[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 chan

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 se

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 14,

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: [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 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 issue

[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 ../f

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 libelf

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: > https://krzk.eu/#/builder

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 m

Re: [PATCH v9 14/22] KVM: s390: interfaces to clear CRYCB masks

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:11 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Introduces two new KVM interface to clear the APM, AQM and ADM masks in > the guest's CRYCB. The VCPUs are taken out of SIE to ensure the VCPUs do > not get out of sync. > > Signed-off-by: Tony Krowiak > Acked-by

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 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 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.17 00/97] 4.17.15-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.17.15 release. There are 97 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 m

Re: [PATCH 4.18 00/79] 4.18.1-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.18.1 release. There are 79 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 ma

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-15 Thread Dirk Gouders
Masahiro Yamada writes: > 2018-08-14 19:38 GMT+09:00 Dirk Gouders : >> Masahiro Yamada writes: >> >>> Currently, Kconfig does not report anything about the recursive >>> dependency where 'imply' keywords are involved. >>> >>> [Test Code] >>> >>> config A >>> bool "a" >>> >>> config

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 int

[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 san

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 the

Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-15 Thread Steven Rostedt
On Wed, 15 Aug 2018 09:04:59 +0200 Jiri Olsa wrote: > On Tue, Aug 14, 2018 at 10:54:35PM -0400, Steven Rostedt wrote: > > On Fri, 10 Aug 2018 13:57:06 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > > Arnaldo takes care of that, but I guess pulling from branch is the > > > > prefered way

RE: [RFC PATCH 0/3] Do not touch pages in remove_memory path

2018-08-15 Thread Pavel Tatashin
> This tries to fix [1], which was reported by David Hildenbrand, and also > does some cleanups/refactoring. Hi Oscar, I would like to review this work. Are you in process of sending a new version? If so, I will wait for it. Thank you, Pavel > > I am sending this as RFC to see if the directio

Re: [PATCH mmc-next v3 2/3] mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops

2018-08-15 Thread Adrian Hunter
On 30/07/18 05:45, Jisheng Zhang wrote: > Add this hook so that it can be overridden with driver specific > implementations. We also rename the original sdhci_adma_write_desc() > to _sdhci_adma_write_desc() and export it, so that it could be reused > by driver's specific implementations. > > Signe

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: > https://krzk.eu/#/builder

[PATCH 0/3] Kbuild: Some fixdep tweaks

2018-08-15 Thread Rasmus Villemoes
These patches eliminate two (albeit tiny and shortlived) processes from the cmd_and_fixdep rule, i.e. from every TU being compiled. Whether the diffstat below is worth it I'll leave to Kbuild maintainers to decide. Rasmus Villemoes (3): Kbuild: refactor fixdep to use getopt() Kbuild: teach fix

[PATCH 2/3] Kbuild: teach fixdep to optionally remove the depfile

2018-08-15 Thread Rasmus Villemoes
Instead of having to spawn an 'rm' instance to remove the depfile after processing, let the fixdep program itself do that. For debugging, it's nice to not do it unconditionally. Note that the fixdep calls from Makefiles are done under 'set -e', so this also preserves the behaviour of keeping the d

[PATCH 3/3] Kbuild: let fixdep do the renaming to .cmd

2018-08-15 Thread Rasmus Villemoes
Avoid spawning one more process per TU by having fixdep open the tmpfile and rename to its final name. The only change in behaviour is that if fixdep fails, the tmpfile we leave behind is $(dot-target).cmd.tmp rather than $(dot-target).tmp . Signed-off-by: Rasmus Villemoes --- scripts/Kbuild.in

[PATCH 1/3] Kbuild: refactor fixdep to use getopt()

2018-08-15 Thread Rasmus Villemoes
As preparation for teaching an old dog a few new tricks. Signed-off-by: Rasmus Villemoes --- scripts/basic/fixdep.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 850966f3d602..666041841200 100644 -

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 Atom/Celeron/P

Re: [RFC PATCH 0/3] Do not touch pages in remove_memory path

2018-08-15 Thread Oscar Salvador
On Wed, Aug 15, 2018 at 02:05:35PM +, Pavel Tatashin wrote: > > This tries to fix [1], which was reported by David Hildenbrand, and also > > does some cleanups/refactoring. > > Hi Oscar, > > I would like to review this work. Are you in process of sending a new > version? If so, I will wait f

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 v3 1/4] mm/memory-hotplug: Drop unused args from remove_memory_section

2018-08-15 Thread Oscar Salvador
From: Oscar Salvador unregister_memory_section() calls remove_memory_section() with three arguments: * node_id * section * phys_device Neither node_id nor phys_device are used. Let us drop them from the function. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand Reviewed-by: Andre

[PATCH v3 0/4] Refactoring for remove_memory_section/unregister_mem_sect_under_nodes

2018-08-15 Thread Oscar Salvador
From: Oscar Salvador v2 -> v3: - NODEMASK_FREE can deal with NULL pointers, so do not make it conditional (by David). - Split up node_online's check patch (David's suggestion) - Added Reviewed-by from Andrew and David - Fix checkpath.pl warnings This pat

[PATCH v3 2/4] mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes

2018-08-15 Thread Oscar Salvador
From: Oscar Salvador Before calling to unregister_mem_sect_under_nodes(), remove_memory_section() already checks if we got a valid memory_block. No need to check that again in unregister_mem_sect_under_nodes(). If more functions start using unregister_mem_sect_under_nodes() in the future, we ca

[PATCH v3 4/4] mm/memory_hotplug: Drop node_online check in unregister_mem_sect_under_nodes

2018-08-15 Thread Oscar Salvador
From: Oscar Salvador We are getting the nid from the pages that are not yet removed, but a node can only be offline when its memory/cpu's have been removed. Therefore, we know that the node is still online. Signed-off-by: Oscar Salvador --- drivers/base/node.c | 2 -- 1 file changed, 2 deletio

[PATCH v3 3/4] mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes

2018-08-15 Thread Oscar Salvador
From: Oscar Salvador unregister_mem_sect_under_nodes() tries to allocate a nodemask_t in order to check whithin the loop which nodes have already been unlinked, so we do not repeat the operation on them. NODEMASK_ALLOC calls kmalloc() if NODES_SHIFT > 8, otherwise it just declares a nodemask_t v

  1   2   3   4   5   >