linux-next: build failure after merge of the net-next tree

2019-09-04 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: scripts/link-vmlinux.sh: 74: Bad substitution Caused by commit 341dfcf8d78e ("btf: expose BTF info through sysfs") interacting with commit 1267f9d3047d ("kbuild: add $(BASH) to

Re: [PATCH 1/2] dt-bindings: milbeaut-m10v-xdmac: Add Socionext Milbeaut XDMAC bindings

2019-09-04 Thread Vinod Koul
On 18-08-19, 00:22, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Document the devicetree bindings for Socionext Milbeaut XDMAC > controller. Controller only supports Mem->Mem transfers. Number > of physical channels are determined by the number of irqs registered. > > Signed-off-by:

Re: [RT PATCH v2] net/xfrm/xfrm_ipcomp: Protect scratch buffer with local_lock

2019-09-04 Thread Joerg Vehlow
I just happen to be analyzing an error in the kernel if ipcomp is used with rt patches. The reason was the meissing lock around the scratch buffer for the compress call. Now that I have applied Juris fix, I get another error: [ 139.717259] BUG: unable to handle kernel NULL pointer dereference

Re: [PATCH][next] wil6210: fix wil_cid_valid with negative cid values

2019-09-04 Thread Kalle Valo
Colin King wrote: > There are several occasions where a negative cid value is passed > into wil_cid_valid and this is converted into a u8 causing the > range check of cid >= 0 to always succeed. Fix this by making > the cid argument an int to handle any -ve error value of cid. > > An example

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-09-04 Thread Christoph Hellwig
On Tue, Sep 03, 2019 at 10:46:20AM -0600, Keith Busch wrote: > Could we possibly make /dev/nvmeX be a subsystem handle without causing > trouble for anyone? This would essentially be the same thing as today > for non-CMIC controllers with a device-per-controller and only affects > the CMIC ones.

Re: [PATCH] wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()

2019-09-04 Thread Kalle Valo
Markus Elfring wrote: > A null pointer would be passed to a call of the function “kfree” > directly after a call of the function “kcalloc” failed at one place. > Remove this superfluous function call. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus

Re: [PATCH v1 14/18] MIPS: Loongson64: Add generic dts

2019-09-04 Thread Jiaxun Yang
在 2019/9/4 11:44, 陈华才 写道: Hi, Jiaxun, 1, There are too many dts files (all cputype/boardtype/n-ways combinations), in my opinon we don't need to distinguish 1way/2way/4way. In this way we can largely reduce dts files. 2, Please don't use "ls" to stand-for loongson, at least in file names.

Re: [PATCH -next] carl9170: remove set but not used variable 'udev'

2019-09-04 Thread Kalle Valo
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/carl9170/usb.c: In function carl9170_usb_disconnect: > drivers/net/wireless/ath/carl9170/usb.c:1110:21: > warning: variable udev set but not used [-Wunused-but-set-variable] > > It is not use since

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Kobayashi, Kento (Sony)
Hi, My company's member, Mr.Jacky, sent patch in June 26th. But we didn't receive comment about our patch. Could you confirm and tell us this patch is needed or not? Regards, Kento Kobayashi From: Cao, Jacky Sent: Monday, July 15, 2019 10:05 AM To: ba...@kernel.org;

[PATCH 2/4] gpio/aspeed: Setup irqchip dynamically

2019-09-04 Thread Rashmica Gupta
This is in preparation for ast2600 as we will have two gpio drivers which need their own irqchip. Signed-off-by: Rashmica Gupta --- drivers/gpio/gpio-aspeed.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-aspeed.c

[PATCH 3/4] gpio: Add in ast2600 details to Aspeed driver

2019-09-04 Thread Rashmica Gupta
The ast2600 has two gpio controllers, one for 3.6V GPIOS and one for 1.8V GPIOS. Signed-off-by: Rashmica Gupta --- drivers/gpio/gpio-aspeed.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-aspeed.c

[PATCH 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Rashmica Gupta
Fixes: 361b79119a4b7 ('gpio: Add Aspeed driver') Signed-off-by: Rashmica Gupta --- drivers/gpio/gpio-aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index 9defe25d4721..77752b2624e8 100644 ---

[PATCH 4/4] gpio: Update documentation with ast2600 controllers

2019-09-04 Thread Rashmica Gupta
Signed-off-by: Rashmica Gupta --- Documentation/devicetree/bindings/gpio/gpio-aspeed.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt index

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-04 Thread Anshuman Khandual
On 09/03/2019 04:43 PM, kbuild test robot wrote: > Hi Anshuman, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.3-rc7 next-20190902] > [if your patch is applied to the wrong git tree, please drop us a note to > help

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Michal Hocko
Cc printk maintainers On Tue 03-09-19 17:42:28, Qian Cai wrote: > > > I suppose what happens is those skb_build() allocations are from softirq, > > > and > > > once one of them failed, it calls printk() which generates more > > > interrupts. > > > Hence, the infinite loop. > > > > Please

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Michal Hocko
> On Tue, 2019-09-03 at 20:53 +0200, Michal Hocko wrote: > > On Tue 03-09-19 11:42:22, Qian Cai wrote: > > > On Tue, 2019-09-03 at 15:22 +0200, Michal Hocko wrote: > > > > On Fri 30-08-19 18:15:22, Eric Dumazet wrote: > > > > > If there is a risk of flooding the syslog, we should fix this > > > >

[PATCH v2] doc: kvm: Fix return description of KVM_SET_MSRS

2019-09-04 Thread Xiaoyao Li
Userspace can use ioctl KVM_SET_MSRS to update a set of MSRs of guest. This ioctl sets specified MSRs one by one. Once it fails to set an MSR due to setting reserved bits, the MSR is not supported/emulated by kvm, or violating other restrictions, it stops further processing and returns the number

[PATCH v17 1/5] dt-bindings: Add a binding for Mediatek SCP

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Reviewed-by: Rob Herring --- Changes from v16, v15, v14, v13, v12, v11, v10, v9, v8, v7, v6: - No change. Changes from v5: - Remove dependency on

[PATCH v17 0/5] Add support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add support for controlling and communicating with mt8183's system control processor (SCP), using the remoteproc & rpmsg framework. And also add a cros_ec driver for CrOS EC host command over rpmsg. The overall structure of the series is: * remoteproc/mtk_scp.c: Control the start / stop of SCP

[PATCH v17 2/5] remoteproc/mediatek: add SCP support for mt8183

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Provide a basic driver to control Cortex M4 co-processor Signed-off-by: Erin Lo Signed-off-by: Nicolas Boichat Signed-off-by: Pi-Hsun Shih --- Changes from v16: - Change the desc_lock mutex to be a per-id lock. - Put the execution of handler inside the per-id lock, to prevent

[PATCH v17 5/5] arm64: dts: mt8183: add scp node

2019-09-04 Thread Pi-Hsun Shih
From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Signed-off-by: Eddie Huang --- Changes from v16, v15, v14: - No change. Changes from v13: - Change the size of the cfg register region. Changes from v12, v11, v10: - No change.

[PATCH v17 3/5] remoteproc: mt8183: add reserved memory manager API

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Add memory table mapping API for other driver to lookup reserved physical and virtual memory Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih --- Changes from v16, v15: - No change. Changes from v14: - Fix a typo in variable name in DEBUG section. Changes from v13: - Add

[PATCH v17 4/5] rpmsg: add rpmsg support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Signed-off-by: Pi-Hsun Shih --- Changes from v16: - Change year on another Copyright header to 2019. Changes from v15: - No change. Changes from v14: - Change year on Copyright header to 2019. Changes from v13: - No

[PATCH] platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to

2019-09-04 Thread Jan Kiszka
From: Jan Kiszka The SIMATIC IPC227E uses the PMC clock for on-board components and gets stuck during boot if the clock is disabled. Therefore, add this device to the critical systems list. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Jan Kiszka ---

Re: [PATCH v2 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings

2019-09-04 Thread Jassi Brar
On Wed, Sep 4, 2019 at 12:51 AM Vinod Koul wrote: > > On 18-08-19, 00:17, jassisinghb...@gmail.com wrote: > > From: Jassi Brar > > > > Document the devicetree bindings for Socionext Milbeaut HDMAC > > controller. Controller has upto 8 floating channels, that need > > a predefined slave-id to

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Felipe Balbi
Hi, "Kobayashi, Kento (Sony)" writes: > Hi, > > My company's member, Mr.Jacky, sent patch in June 26th. > But we didn't receive comment about our patch. > Could you confirm and tell us this patch is needed or not? I can't find the original patch in my inbox, could you resend it using git

Re: linux-next: build failure after merge of the net-next tree

2019-09-04 Thread Masahiro Yamada
On Wed, Sep 4, 2019 at 3:00 PM Stephen Rothwell wrote: > > Hi all, > > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > scripts/link-vmlinux.sh: 74: Bad substitution > > Caused by commit > > 341dfcf8d78e ("btf: expose BTF info through

Re: [PATCH] ath6kl: Fix a possible null-pointer dereference in ath6kl_htc_mbox_create()

2019-09-04 Thread Kalle Valo
Jia-Ju Bai wrote: > In ath6kl_htc_mbox_create(), when kzalloc() on line 2855 fails, > target->dev is assigned to NULL, and ath6kl_htc_mbox_cleanup(target) is > called on line 2885. > > In ath6kl_htc_mbox_cleanup(), target->dev is used on line 2895: >

Re: [PATCH] wcn36xx: use dynamic allocation for large variables

2019-09-04 Thread Kalle Valo
Arnd Bergmann wrote: > clang triggers a warning about oversized stack frames that gcc does not > notice because of slightly different inlining decisions: > > ath/wcn36xx/smd.c:1409:5: error: stack frame size of 1040 bytes in function > 'wcn36xx_smd_config_bss' [-Werror,-Wframe-larger-than=] >

Re: [Linux-kernel-mentees] [PATCH v2 2/3] PCI: sysfs: Change permissions from symbolic to octal

2019-09-04 Thread Kelsey Skunberg
On Thu, Aug 15, 2019 at 10:37:13AM -0400, Don Dutile wrote: > On 08/14/2019 01:38 AM, Bjorn Helgaas wrote: > > [+cc Bodong, Don, Greg for permission question] > > > > On Tue, Aug 13, 2019 at 02:45:12PM -0600, Kelsey Skunberg wrote: > > > Symbolic permissions such as "(S_IWUSR | S_IWGRP)" are not

[PATCH v3] input: keyboard: snvs_pwrkey: Send key events for i.MX6 S, DL and Q

2019-09-04 Thread Robin van der Gracht
The first generation i.MX6 processors does not send an interrupt when the power key is pressed. It sends a power down request interrupt if the key is released before a hard shutdown (5 second press). This should allow software to bring down the SoC safely. For this driver to work as a regular

Re: linux-next: build warnings after merge of the kbuild tree

2019-09-04 Thread Masahiro Yamada
On Wed, Sep 4, 2019 at 10:00 AM Masahiro Yamada wrote: > > Hi Stephen, > > On Wed, Sep 4, 2019 at 9:13 AM Stephen Rothwell wrote: > > For today's linux-next, please squash the following too. (This is my fault, since scripts/mkuboot.sh is a bash script) diff --git a/scripts/Makefile.lib

Re: [PATCH 1/2] Fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe

2019-09-04 Thread Kalle Valo
Hui Peng wrote: > The `ar_usb` field of `ath6kl_usb_pipe_usb_pipe` objects > are initialized to point to the containing `ath6kl_usb` object > according to endpoint descriptors read from the device side, as shown > below in `ath6kl_usb_setup_pipe_resources`: > > for (i = 0; i <

Re: Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-04 Thread Chris Chiu
On Wed, Sep 4, 2019 at 1:54 PM Jarkko Nikula wrote: > > On 9/4/19 7:38 AM, Chris Chiu wrote: > > On Tue, Sep 3, 2019 at 8:03 PM Jarkko Nikula > > wrote: > >> > >> Hi Chris > >> > >> On 9/3/19 11:18 AM, Mika Westerberg wrote: > >>> +Jarkko > >>> > >>> On Tue, Sep 03, 2019 at 04:10:27PM +0800,

[PATCH] perf record: fix priv level with branch sampling for paranoid=2

2019-09-04 Thread Stephane Eranian
Now that the default perf_events paranoid level is set to 2, a regular user cannot monitor kernel level activity anymore. As such, with the following cmdline: $ perf record -e cycles date The perf tool first tries cycles:uk but then falls back to cycles:u as can be seen in the perf report

[PATCH] platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed.

2019-09-04 Thread Pi-Hsun Shih
Since the rpmsg_endpoint is created before probe is called, it's possible that a host event is received during cros_ec_register, and there would be some pending work in the host_event_work workqueue while cros_ec_register is called. If cros_ec_register fails, when the leftover work in

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Feng Tang
Hi Thomas, On Wed, Aug 28, 2019 at 12:51:40PM +0200, Thomas Zimmermann wrote: > Hi > > Am 28.08.19 um 11:37 schrieb Rong Chen: > > Hi Thomas, > > > > On 8/28/19 1:16 AM, Thomas Zimmermann wrote: > >> Hi > >> > >> Am 27.08.19 um 14:33 schrieb Chen, Rong A: > >>> Both patches have little impact

[PATCH v3 2/2] phy: intel-lgm-sdxc: Add support for SDXC PHY

2019-09-04 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for SDXC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/phy/intel/Kconfig | 6 ++ drivers/phy/intel/Makefile | 1 + drivers/phy/intel/phy-intel-sdxc.c | 144

[PATCH v3 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-09-04 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the SDXC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v3: - Rob's review comments addressed and updated the patch - merged syscon and sdxc yaml

Re: [PATCH v3] mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS

2019-09-04 Thread Ulf Hansson
On Wed, 4 Sep 2019 at 04:20, Andrew Jeffery wrote: > > Resolves the following build error reported by the 0-day bot: > > ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] > undefined! > > SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on >

Re: [PATCH] soundwire: bus: set initial value to port_status

2019-09-04 Thread Vinod Koul
On 30-08-19, 02:11, Bard liao wrote: > From: Bard Liao > > port_status[port_num] are assigned for each port_num in some if > conditions. So some of the port_status may not be initialized. Applied, thanks -- ~Vinod

Re: [PATCH 1/1] mm/migrate: fix list corruption in migration of non-LRU movable pages

2019-09-04 Thread Michal Hocko
On Wed 04-09-19 02:18:38, sunqiuyang wrote: > The isolate path of non-lru movable pages: > > isolate_migratepages_block > isolate_movable_page > trylock_page > // if PageIsolated, goto out_no_isolated > a_ops->isolate_page >

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Sergey Senozhatsky
On (09/04/19 08:15), Michal Hocko wrote: > > If you look at the original report, the failed allocation dump_stack() is, > > > >   > >  warn_alloc.cold.43+0x8a/0x148 > >  __alloc_pages_nodemask+0x1a5c/0x1bb0 > >  alloc_pages_current+0x9c/0x110 > >  allocate_slab+0x34a/0x11f0 > >  

[PATCH v2] platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table

2019-09-04 Thread Jan Kiszka
From: Jan Kiszka The SIMATIC IPC227E uses the PMC clock for on-board components and gets stuck during boot if the clock is disabled. Therefore, add this device to the critical systems list. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Jan Kiszka ---

Re: [PATCH 09/15] sched,fair: refactor enqueue/dequeue_entity

2019-09-04 Thread Vincent Guittot
On Tue, 3 Sep 2019 at 22:27, Rik van Riel wrote: > > On Tue, 2019-09-03 at 17:38 +0200, Vincent Guittot wrote: > > Hi Rik, > > > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > > Refactor enqueue_entity, dequeue_entity, and update_load_avg, in > > > order > > > to split out the things we

Re: [LKP] [fs/namei.c] e013ec23b8: WARNING:at_fs/dcache.c:#dentry_free

2019-09-04 Thread Oliver Sang
On Sat, Aug 31, 2019 at 04:42:46PM +0100, Al Viro wrote: > On Sat, Aug 31, 2019 at 09:09:17PM +0800, kernel test robot wrote: > > > [ 13.886602] WARNING: CPU: 0 PID: 541 at fs/dcache.c:338 > > dentry_free+0x7f/0x90 > > [ 13.889208] Modules linked in: > > [ 13.890276] CPU: 0 PID: 541 Comm:

[PATCH] ath9k: Remove unneeded variable to store return value

2019-09-04 Thread zhong jiang
ath9k_reg_rmw_single do not need return value to cope with different cases. And change functon return type to void. Signed-off-by: zhong jiang --- drivers/net/wireless/ath/ath9k/htc_drv_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH] mm,hugetlb_cgroup: Fix typo failcntfile in comment

2019-09-04 Thread Odin Ugedal
Change "failcntfile" to "failcnt file" Signed-off-by: Odin Ugedal --- mm/hugetlb_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index 68c2f2f3c05b..3b004028c490 100644 --- a/mm/hugetlb_cgroup.c +++ b/mm/hugetlb_cgroup.c @@

Re: [PATCH 2/8] x86/platform/uv: Return UV Hubless System Type

2019-09-04 Thread Christoph Hellwig
On Tue, Sep 03, 2019 at 11:49:53AM -0700, Mike Travis wrote: > > That is always being considered for everything we include into the community > kernel source. The problem is a couple of the kernel modules (hwperf being > the prime example) is much more tied to hardware and BIOS/FW updates so has

[PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Walter Wu
This patch is KASAN report adds the alloc/free stacks for page allocator in order to help programmer to see memory corruption caused by page. By default, KASAN doesn't record alloc/free stack for page allocator. It is difficult to fix up page use-after-free issue. This feature depends on page

Re: [PATCH 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-04 Thread Christoph Hellwig
On Tue, Sep 03, 2019 at 11:58:49AM -0700, Mike Travis wrote: > Those ifdefs are not dead code and are being actively used. Plus UV1 > support is dead and I think the last running system died about a year ago > and no support or parts are available. So undef'ing these macros will > simplify and

Re: [PATCH v3] input: keyboard: snvs_pwrkey: Send key events for i.MX6 S, DL and Q

2019-09-04 Thread Marco Felsch
Hi Robin, thanks for the patch it looks quite good, just two minor nitpicks. On 19-09-04 06:23, Robin van der Gracht wrote: > The first generation i.MX6 processors does not send an interrupt when the > power key is pressed. It sends a power down request interrupt if the key is > released before

Re: Re: Re: Re: [PATCH] mm: Add nr_free_highatomimic to fix incorrect watermatk routine

2019-09-04 Thread Park Sangwoo
> On Tue 03-09-19 18:59:59, Park Sangwoo wrote: > > On Mon 02-09-19 13:34:54, Sangwoo� wrote: > >>> On Fri 30-08-19 18:25:53, Sangwoo wrote: > The highatomic migrate block can be increased to 1% of Total memory. > And, this is for only highorder ( > 0 order). So, this block size is >

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Michal Hocko
On Wed 04-09-19 15:41:44, Sergey Senozhatsky wrote: > On (09/04/19 08:15), Michal Hocko wrote: > > > If you look at the original report, the failed allocation dump_stack() is, > > > > > >   > > >  warn_alloc.cold.43+0x8a/0x148 > > >  __alloc_pages_nodemask+0x1a5c/0x1bb0 > > >  

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread chengjian (D)
On 2019/9/4 0:05, Valentin Schneider wrote: On 03/09/2019 16:43, Radim Krčmář wrote: The paper "The Linux Scheduler: a Decade of Wasted Cores" used several custom data gathering points to better understand what was going on in the scheduler. Red Hat adapted one of them for the tracepoint

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Kobayashi, Kento (Sony)
Hi, >> Hi, >> >> My company's member, Mr.Jacky, sent patch in June 26th. >> But we didn't receive comment about our patch. >> Could you confirm and tell us this patch is needed or not? > >I can't find the original patch in my inbox, could you resend it using git >send-email? > >Patch seems

Re: [PATCH 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Bartosz Golaszewski
śr., 4 wrz 2019 o 08:13 Rashmica Gupta napisał(a): > > Fixes: 361b79119a4b7 ('gpio: Add Aspeed driver') > Please, add a proper commit description. Checkpatch should have warned you about it. Bart > Signed-off-by: Rashmica Gupta > --- > drivers/gpio/gpio-aspeed.c | 2 +- > 1 file changed, 1

[PATCH 2/2] mm/page_owner: determine the last stack state of page with CONFIG_KASAN_DUMP_PAGE=y

2019-09-04 Thread Walter Wu
When enable CONFIG_KASAN_DUMP_PAGE, then page_owner will record last stack, So we need to know the last stack is allocation or free state. Signed-off-by: Walter Wu --- mm/page_owner.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/mm/page_owner.c b/mm/page_owner.c index

linux-next: manual merge of the amdgpu tree with the kbuild tree

2019-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: drivers/gpu/drm/amd/display/dc/dml/Makefile between commit: 30851871d5ab ("kbuild: change *FLAGS_.o to take the path relative to $(obj)") from the kbuild tree and commit: b04641a3f4c5 ("drm/amd/display: Add Renoir

Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted

2019-09-04 Thread Christoph Hellwig
On Tue, Sep 03, 2019 at 10:46:18PM +0200, Thomas Hellström (VMware) wrote: > What I mean with "from an engineering perspective" is that drivers would end > up with a non-trivial amount of code supporting purely academic cases: > Setups where software rendering would be faster than gpu accelerated,

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Sergey Senozhatsky
On (09/04/19 15:41), Sergey Senozhatsky wrote: > But the thing is different in case of dump_stack() + show_mem() + > some other output. Because now we ratelimit not a single printk() line, > but hundreds of them. The ratelimit becomes - 10 * $$$ lines in 5 seconds > (IOW, now we talk about

Re: [PATCH 4/4] gpio: Update documentation with ast2600 controllers

2019-09-04 Thread Bartosz Golaszewski
śr., 4 wrz 2019 o 08:13 Rashmica Gupta napisał(a): > Again, this needs a proper commit description and the subject should start with "dt-bindings: ...". You also need to Cc the device-tree maintainers. Use scripts/get_maintainer.pl to list all people that should get this patch. Bart >

Re: [PATCH v3 0/7] add support USB for MT8183

2019-09-04 Thread Greg Kroah-Hartman
On Wed, Sep 04, 2019 at 09:54:27AM +0800, Chunfeng Yun wrote: > Hi Greg, > > > Please don't try to pick up this series, the dependent ones are still > under public review, I'll fix build warning and send out new version > after the dependent ones are applied > Sorry for inconvenience No

Re: [PATCH 1/6] soundwire: fix startup sequence for Intel/Cadence

2019-09-04 Thread Vinod Koul
On 13-08-19, 16:32, Pierre-Louis Bossart wrote: > Multiple changes squashed in single patch to avoid tick-tock effect. > > 1. Per the hardware documentation, all changes to MCP_CONFIG, > MCP_CONTROL, MCP_CMDCTRL and MCP_PHYCTRL need to be validated with a > self-clearing write to

[PATCH] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Thomas Huth
If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this clearly indicates that something went wrong in the KVM userspace application. The x86 variant of KVM already contains a check for bad bits (and the corresponding kselftest checks this), so let's do the same on s390x now, too.

Re: [PATCH 2/6] soundwire: cadence_master: add hw_reset capability in debugfs

2019-09-04 Thread Vinod Koul
On 13-08-19, 16:32, Pierre-Louis Bossart wrote: > Provide debugfs capability to kick link and devices into hard-reset > (as defined by MIPI). This capability is really useful when some > devices are no longer responsive and/or to check the software handling > of resynchronization. > >

[PATCH] soc: imx: imx-scu: Getting UID from SCU should have response

2019-09-04 Thread Anson Huang
The SCU firmware API for getting UID should have response, otherwise, the message stored in function stack could be released and then the response data received from SCU will be stored into that released stack and cause kernel NULL pointer dump. Fixes: 73feb4d0f8f1 ("soc: imx-scu: Add SoC

Re: [PATCH v4 09/12] docs: Add documentation for Symbol Namespaces

2019-09-04 Thread Greg KH
On Tue, Sep 03, 2019 at 04:06:35PM +0100, Matthias Maennich wrote: > Describe using Symbol Namespaces from a perspective of a user. I.e. > module authors or subsystem maintainers. > > Signed-off-by: Matthias Maennich Nice, it's good to have stuff to point people at. Reviewed-by: Greg

Re: [PATCH] tty: n_gsm: avoid recursive locking with async port hangup

2019-09-04 Thread Greg Kroah-Hartman
On Thu, Aug 29, 2019 at 09:42:31PM +0200, Martin Hundebøll wrote: > On 22/08/2019 23.56, Martin Hundebøll wrote: > > When tearing down the n_gsm ldisc while one or more of its child ports > > are open, a lock dep warning occurs: > > > > [ 56.254258]

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Sergey Senozhatsky
On (09/04/19 08:54), Michal Hocko wrote: > I am sorry, I could have been more explicit when CCing you. Oh, sorry! My bad! > Sure the ratelimit is part of the problem. But I was more interested > in the potential livelock (infinite loop) mentioned by Qian Cai. It > is not important whether we

Re: [PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-09-04 Thread Greg Kroah-Hartman
On Fri, Aug 09, 2019 at 11:41:12AM -0700, Hridya Valsaraju wrote: > On Fri, Aug 9, 2019 at 11:14 AM Christian Brauner > wrote: > > > > On Fri, Aug 09, 2019 at 04:55:08PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Aug 08, 2019 at 03:27:26PM -0700, Hridya Valsaraju wrote: > > > > Length of a

[PATCH v3] mm/hugetlb: avoid looping to the same hugepage if !pages and !vmas

2019-09-04 Thread Zhigang Lu
From: Zhigang Lu When mmapping an existing hugetlbfs file with MAP_POPULATE, we find it is very time consuming. For example, mmapping a 128GB file takes about 50 milliseconds. Sampling with perfevent shows it spends 99% time in the same_page loop in follow_hugetlb_page(). samples: 205 of event

Re: [RFC PATCH 3/5] ASoC: SOF: Intel: hda: add SoundWire IP support

2019-09-04 Thread Vinod Koul
On 21-08-19, 15:17, Pierre-Louis Bossart wrote: > The Core0 needs to be powered before the SoundWire IP is initialized. > > Call sdw_intel_init/exit and store the context. We only have one > context, but depending on the hardware capabilities and BIOS settings > may enable multiple SoundWire

Re: [PATCH] ext2: Delete an unnecessary check before brelse()

2019-09-04 Thread Jan Kara
On Tue 03-09-19 14:44:08, Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 3 Sep 2019 14:40:18 +0200 > > The brelse() function tests whether its argument is NULL > and then returns immediately. > Thus the test around the call is not needed. > > This issue was detected by using the

Re: [PATCH 1/1] s390: vfio-ap: fix warning reset not completed

2019-09-04 Thread Christian Borntraeger
On 03.09.19 15:36, Halil Pasic wrote: > The intention seems to be to warn once when we don't wait enough for the > reset to complete. Let's use the right retry counter to accomplish that > semantic. > > Signed-off-by: Halil Pasic Thanks applied. I will let it sit in our tree for some days as I

Re: [PATCH v2] HID: apple: Fix stuck function keys when using FN

2019-09-04 Thread Benjamin Tissoires
On Tue, Sep 3, 2019 at 8:33 PM João Moreno wrote: > > Hi Benjamin, > > On Tue, 3 Sep 2019 at 16:46, Benjamin Tissoires > wrote: > > > > From: Joao Moreno > > > > This fixes an issue in which key down events for function keys would be > > repeatedly emitted even after the user has raised the

Re: [PATCH V6 0/3] riscv: Add perf callchain support

2019-09-04 Thread Greentime Hu
Mao Han 於 2019年8月29日 週四 下午2:57寫道: > > This patch set add perf callchain(FP/DWARF) support for RISC-V. > It comes from the csky version callchain support with some > slight modifications. The patchset base on Linux 5.3-rc6. > > Changes since v5: > - use walk_stackframe from stacktrace.c to

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-09-04 Thread Adrian Hunter
On 2/09/19 5:15 PM, Leo Yan wrote: > Hi Adrian, > > On Mon, Aug 26, 2019 at 08:51:05PM +0800, Leo Yan wrote: >> Hi Adrian, >> >> On Fri, Aug 16, 2019 at 04:00:02PM +0300, Adrian Hunter wrote: >>> On 16/08/19 4:45 AM, Leo Yan wrote: Hi Adrian, On Thu, Aug 15, 2019 at 02:45:57PM

RE: [PATCH 1/1] mm/migrate: fix list corruption in migration of non-LRU movable pages

2019-09-04 Thread sunqiuyang
isolate_migratepages_block() from another thread may try to isolate the page again: for (; low_pfn < end_pfn; low_pfn++) { /* ... */ page = pfn_to_page(low_pfn); /* ... */ if (!PageLRU(page)) { if (unlikely(__PageMovable(page)) && !PageIsolated(page)) { /* ... */ if

Re: [PATCH] serial: max310x: turn off transmitter before activating AutoCTS or auto transmitter flow control

2019-09-04 Thread Greg Kroah-Hartman
On Fri, Aug 30, 2019 at 09:58:41AM +, Christoph Vogtländer wrote: > As documented in the data-sheet, the transmitter must be disabled before > activating AutoCTS or auto transmitter flow control. Accordingly, the > transmitter must be enabled after AutoCTS or auto transmitter flow > control

Re: [PATCH] serial: max310x: Properly set flags in AutoCTS mode

2019-09-04 Thread Greg Kroah-Hartman
On Fri, Aug 30, 2019 at 09:58:34AM +, Christoph Vogtländer wrote: > Commit 391f93f2ec9f ("serial: core: Rework hw-assisted flow control > support") has changed the way the AutoCTS mode is handled. > > According to that change, serial drivers which enable H/W AutoCTS mode must > set

[PATCH 3/3] perf stat: Add --per-node agregation support

2019-09-04 Thread Jiri Olsa
Adding new --per-node option to aggregate counts per NUMA nodes for system-wide mode measurements. You can specify --per-node in live mode: # perf stat -a -I 1000 -e cycles --per-node # time node cpus counts unit events 1.000542550 N0 20

[PATCHv2 0/3] perf stat: Add --per-node option

2019-09-04 Thread Jiri Olsa
hi, adding --per-node option to aggregate stats per NUMA nodes, you can get now use stat command like: # perf stat -a -I 1000 -e cycles --per-node # time node cpus counts unit events 1.000542550 N0 20 6,202,097 cycles 1.000542550

Re: [PATCH] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Janosch Frank
On 9/4/19 9:13 AM, Thomas Huth wrote: > If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this > clearly indicates that something went wrong in the KVM userspace > application. The x86 variant of KVM already contains a check for > bad bits (and the corresponding kselftest checks this),

[PATCH 2/3] perf tools: Add perf_env__numa_node function

2019-09-04 Thread Jiri Olsa
To speed up cpu to node lookup, adding perf_env__numa_node function, that creates cpu array on the first lookup, that holds numa nodes for each stored cpu. Link: http://lkml.kernel.org/n/tip-qqwxklhissf3yjyuaszh6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/env.c | 40

[PATCH 1/3] libperf: Add perf_cpu_map__max function

2019-09-04 Thread Jiri Olsa
So it can be used from multiple places. Link: http://lkml.kernel.org/n/tip-yp3h5rl9e8piybufq41zq...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c| 14 +- tools/perf/lib/cpumap.c | 12 tools/perf/lib/include/perf/cpumap.h

Re: [PATCH] soc: imx: imx-scu: Getting UID from SCU should have response

2019-09-04 Thread Leonard Crestez
On 2019-09-04 10:14 AM, Anson Huang wrote: > The SCU firmware API for getting UID should have response, > otherwise, the message stored in function stack could be > released and then the response data received from SCU will be > stored into that released stack and cause kernel NULL pointer > dump.

Re: [PATCH v2] s390: vfio-ap: remove unnecessary calls to disable queue interrupts

2019-09-04 Thread Christian Borntraeger
Halil, can you also send this patch as a separate mail. This also requires a much better patch description about the why and it certainly should also have an agreement from Anthony. On 30.08.19 18:02, Halil Pasic wrote: > From: Halil Pasic > Date: Fri, 30 Aug 2019 17:39:47 +0200 > Subject:

Re: [RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks

2019-09-04 Thread Vinod Koul
On 22-08-19, 08:53, Pierre-Louis Bossart wrote: > Thanks for the review Guennadi > > > > +static int sdw_config_stream(void *arg, void *s, void *dai, > > > + void *params, int link_id, int alh_stream_id) > > > > I realise, that these function prototypes aren't being

[PATCH net] ipv4: fix ifa_flags reuse problem in using ifconfig tool

2019-09-04 Thread Su Yanjun
When NetworkManager has already set ipv4 address then uses ifconfig set another ipv4 address. It will use previous ifa_flags that will cause device route not be inserted. As NetworkManager has already support IFA_F_NOPREFIXROUTE flag [1], but ifconfig will reuse the ifa_flags. It's weird

RE: [PATCH] soc: imx: imx-scu: Getting UID from SCU should have response

2019-09-04 Thread Anson Huang
Hi, Leonard > On 2019-09-04 10:14 AM, Anson Huang wrote: > > The SCU firmware API for getting UID should have response, otherwise, > > the message stored in function stack could be released and then the > > response data received from SCU will be stored into that released > > stack and cause

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-04 Thread Sergey Senozhatsky
On (09/04/19 16:19), Sergey Senozhatsky wrote: > Hmm. I need to look at this more... wake_up_klogd() queues work only once > on particular CPU: irq_work_queue(this_cpu_ptr(_up_klogd_work)); > > bool irq_work_queue() > { > /* Only queue if not already pending */ > if

Re: [PATCH] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Christian Borntraeger
On 04.09.19 09:33, Janosch Frank wrote: > On 9/4/19 9:13 AM, Thomas Huth wrote: >> If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this >> clearly indicates that something went wrong in the KVM userspace >> application. The x86 variant of KVM already contains a check for >> bad

Re: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Felipe Balbi
Hi, On Wed, Sep 4, 2019 at 9:47 AM wrote: > > The power budget for SuperSpeed mode should be 900 mA > > according to USB3.0 specification, so set the power > > budget to 900 mA for dummy_start_ss which is only used > > for SuperSpeed mode. > > > > If the max power consumption of SuperSpeed

Re: [PATCH] i2c: stm32f7: Make structure stm32f7_i2c_algo constant

2019-09-04 Thread Pierre Yves MORDRET
Hi Wolfram Sorry for the delay. Acked-by: Pierre-Yves MORDRET BR On 9/3/19 8:05 PM, Wolfram Sang wrote: > On Thu, Aug 15, 2019 at 11:28:57AM +0530, Nishka Dasgupta wrote: >> Static structure stm32f7_i2c_algo, of type i2c_algorithm, is used only >> when it is assigned to constant field algo of

Re: [PATCH] fs-udf: Delete an unnecessary check before brelse()

2019-09-04 Thread Jan Kara
On Tue 03-09-19 21:15:58, Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 3 Sep 2019 21:12:09 +0200 > > The brelse() function tests whether its argument is NULL > and then returns immediately. > Thus the test around the call is not needed. > > This issue was detected by using the

[PATCH -next] ASoC: amd: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/amd/acp-pcm-dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/amd/acp-pcm-dma.c

[PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
The power budget for SuperSpeed mode should be 900 mA according to USB3.0 specification, so set the power budget to 900 mA for dummy_start_ss which is only used for SuperSpeed mode. If the max power consumption of SuperSpeed device is larger than 500 mA, insufficient available bus power error

Re: [PATCH v3 4/7] serial: fsl_linflexuart: Be consistent with the name

2019-09-04 Thread gre...@linuxfoundation.org
On Fri, Aug 23, 2019 at 07:11:37PM +, Stefan-gabriel Mirea wrote: > For consistency reasons, spell the controller name as "LINFlexD" in > comments and documentation. > > Signed-off-by: Stefan-Gabriel Mirea > --- > Documentation/admin-guide/kernel-parameters.txt | 2 +- >

Re: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Felipe Balbi
Hi, writes: > The power budget for SuperSpeed mode should be 900 mA > according to USB3.0 specification, so set the power > budget to 900 mA for dummy_start_ss which is only used > for SuperSpeed mode. > > If the max power consumption of SuperSpeed device is > larger than 500 mA, insufficient

  1   2   3   4   5   6   7   8   9   10   >