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

2019-09-03 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,

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

2019-09-03 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 D

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

2019-09-03 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 addcbb2ae4e4..

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

2019-09-03 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 in

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

2019-09-03 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 necess

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

2019-09-03 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 frame

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

2019-09-03 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-03 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 > > >  alloc_pages_current+

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

2019-09-03 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 a

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

2019-09-03 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 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-03 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 own

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

2019-09-03 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] mm,hugetlb_cgroup: Fix typo failcntfile in comment

2019-09-03 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 @@ -

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

2019-09-03 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 a/drivers/net/wireless/ath/ath9k/h

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

2019-09-03 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: r

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

2019-09-03 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

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

2019-09-03 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 --- C

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

2019-09-03 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 > >  new_slab+0x46/0x70

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

2019-09-03 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 > __SetPageIs

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

2019-09-03 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 v3] mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS

2019-09-03 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 > CONFIG_

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

2019-09-03 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 fi

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

2019-09-03 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

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

2019-09-03 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 on

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

2019-09-03 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 host_event_w

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

2019-09-03 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 --heade

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

2019-09-03 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, Chri

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

2019-09-03 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 < iface_desc->desc.b

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

2019-09-03 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 powe

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

2019-09-03 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 b/scri

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

2019-09-03 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 >

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

2019-09-03 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=] > a

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

2019-09-03 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: > ath6kl_hif_cleanup_scatter(target->dev->a

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

2019-09-03 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 send-

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

2019-09-03 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 sys

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

2019-09-03 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 work

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

2019-09-03 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 --- S

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

2019-09-03 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 o

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

2019-09-03 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 ch

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

2019-09-03 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-03 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. Cha

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

2019-09-03 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 CONFIG_

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

2019-09-03 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 (Pa

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

2019-09-03 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 o

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

2019-09-03 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 > > > > >

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

2019-09-03 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 elabora

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

2019-09-03 Thread Anshuman Khandual
us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-debug-Add-tests-for-architecture-exported-page-table-helpers/20190903-162959 > config: m68k-allmodconfig (attached as .config) > compiler: m68k-linux-gcc (GCC) 7.4

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

2019-09-03 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 --- a/drivers/gpio/gpi

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

2019-09-03 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 7e9b586770b0..cd388

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

2019-09-03 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 b/drivers/gpio/gpio-aspeed.c

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

2019-09-03 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 b/drivers/gpio/gpio-aspee

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

2019-09-03 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; gre...@linuxfoundation.or

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

2019-09-03 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 v1 14/18] MIPS: Loongson64: Add generic dts

2019-09-03 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] wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()

2019-09-03 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 Elfrin

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

2019-09-03 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. A

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

2019-09-03 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 of

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

2019-09-03 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 a

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

2019-09-03 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: Ja

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

2019-09-03 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 run

Re: [PATCH] dmaengine: sprd: Fix the DMA link-list configuration

2019-09-03 Thread Vinod Koul
On 30-08-19, 15:37, Baolin Wang wrote: > For the Spreadtrum DMA link-list mode, when the DMA engine got a slave > hardware request, which will trigger the DMA engine to load the DMA > configuration from the link-list memory automatically. But before the > slave hardware request, the slave will get

[PATCH] mfd: intel-lpss: Add default I2C device properties for Gemini Lake

2019-09-03 Thread Jarkko Nikula
It turned out Intel Gemini Lake doesn't use the same I2C timing parameters as Broxton. I got confirmation from the Windows team that Gemini Lake systems should use updated timing parameters that differ from those used in Broxton based systems. Fixes: f80e78aa11ad ("mfd: intel-lpss: Add Intel Gemi

[PATCH v5 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY

2019-09-03 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v5: - earlier Review-by tag given by Rob - rework done with syscon parent node. changes in v4:

[PATCH v5 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY

2019-09-03 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Andy Shevchenko --- drivers/phy/Kconfig| 1 + drivers/phy/Makefile | 1 + drivers/phy/intel/Kconfig |

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

2019-09-03 Thread Jarkko Nikula
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, Chris Chiu wrote: Hi, We're working on the acer Gemnilake laptop TravelMate B118-M for touchpad no

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

2019-09-03 Thread Vinod Koul
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 work from a set of slaves. > > Signed-off-by: Jassi Brar > --- >

Re: [PATCH] dma: iop-adma.c: fix printk format warning

2019-09-03 Thread Vinod Koul
On 03-09-19, 22:06, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warning in iop-adma.c (seen on x86_64) by using > %pad: > > ../drivers/dma/iop-adma.c:118:12: warning: format ‘%x’ expects argument of > type ‘unsigned int’, but argument 6 has type ‘dma_addr_t {aka long long >

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Daniel Colascione
On Tue, Sep 3, 2019 at 10:15 PM Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 09:51:20PM -0700, Daniel Colascione wrote: > > On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > > > > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > > wrote: > > > > > > > > Useful to trac

Re: [PATCH RFC 2/2] interconnect: qcom: add msm8974 driver

2019-09-03 Thread Bjorn Andersson
On Mon 02 Sep 14:19 PDT 2019, Brian Masney wrote: > Add driver for the Qualcomm MSM8974 interconnect providers that support > setting system bandwidth requirements between various network-on-chip > fabrics. > > I marked this as a PATCH RFC since I'm not able to write to all of the > master IDs wi

Re: [RFC PATCH] mm, oom: disable dump_tasks by default

2019-09-03 Thread Michal Hocko
On Wed 04-09-19 05:52:43, Tetsuo Handa wrote: > On 2019/09/03 23:45, Michal Hocko wrote: > > It's primary purpose is > > to help analyse oom victim selection decision. > > I disagree, for I use the process list for understanding what / how many > processes are consuming what kind of memory (withou

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Suren Baghdasaryan
On Tue, Sep 3, 2019 at 10:02 PM Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 09:44:51PM -0700, Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > wrote: > > > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > > memory hog

Re: [PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

2019-09-03 Thread Lukas Wunner
On Tue, Sep 03, 2019 at 10:36:35PM -0600, Kelsey Skunberg wrote: > Change pci_dev_is_disconnected() call inside pci_dev_is_inaccessible() to: > > pdev->error_state == pci_channel_io_perm_failure > > Change remaining pci_dev_is_disconnected() calls to > pci_dev_is_inaccessible() calls. I do

Re: About compiler memory barrier for atomic_set/atomic_read on x86

2019-09-03 Thread Yin, Fengwei
Hi Peter, On 9/4/2019 7:38 AM, Yin, Fengwei wrote: Hi Peter, On 9/3/2019 10:06 PM, Peter Zijlstra wrote: On Tue, Sep 03, 2019 at 09:23:41PM +0800, Yin, Fengwei wrote: Hi Peter, There is one question regarding following commit: commit 69d927bba39517d0980462efc051875b7f4db185 Author: Peter Zij

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-03 Thread Anshuman Khandual
On 09/04/2019 10:27 AM, Justin He (Arm Technology China) wrote: > Hi Anshuman, thanks for the comments, see below please > >> -Original Message- >> From: Anshuman Khandual >> Sent: 2019年9月4日 12:38 >> To: Justin He (Arm Technology China) ; Andrew >> Morton ; Matthew Wilcox >> ; Jérôme G

Re: [PATCH v2 3/3] nvme: fire discovery log page change events to userspace

2019-09-03 Thread Greg Kroah-Hartman
On Tue, Sep 03, 2019 at 06:35:30PM -0700, Sagi Grimberg wrote: > > > > Still don't understand how this is ok... > > > > > > I have /dev/nvme0 represents a network endpoint that I would discover > > > from, it is raising me an event to do a discovery operation (namely to > > > issue an ioctl to it

Re: [PATCH] powerpc: Perform a bounds check in arch_add_memory

2019-09-03 Thread Alastair D'Silva
On Mon, 2019-09-02 at 09:28 +0200, David Hildenbrand wrote: > On 02.09.19 01:54, Alastair D'Silva wrote: > > On Tue, 2019-08-27 at 09:13 +0200, David Hildenbrand wrote: > > > On 27.08.19 08:39, Alastair D'Silva wrote: > > > > On Tue, 2019-08-27 at 08:28 +0200, Michal Hocko wrote: > > > > > On Tue 2

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 09:51:20PM -0700, Daniel Colascione wrote: > On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > wrote: > > > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > > memory

Re: [PATCH 2/2] ipc/sem: Convert to use built-in RCU list checking

2019-09-03 Thread kbuild test robot
Hi "Joel, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

[PATCH] dma: iop-adma.c: fix printk format warning

2019-09-03 Thread Randy Dunlap
linux-next-20190903.orig/drivers/dma/iop-adma.c +++ linux-next-20190903/drivers/dma/iop-adma.c @@ -116,9 +116,9 @@ static void __iop_adma_slot_cleanup(stru list_for_each_entry_safe(iter, _iter, &iop_chan->chain, chain_node) { pr_de

Re: [PATCH 1/2] pci: Convert to use built-in RCU list checking

2019-09-03 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 12:06:43PM +0800, kbuild test robot wrote: > Hi "Joel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.3-rc7 next-20190903] > [if your patch is applied to the wrong git tree

Re: [PATCH v5 4/4] ftrace: Add an option for tracing console latencies

2019-09-03 Thread kbuild test robot
Hi Viktor, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 09:44:51PM -0700, Suren Baghdasaryan wrote: > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > wrote: > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > memory hogs. Several Android teams have been using this patch in various > > ke

Re: [PATCH RFC 1/2] dt-bindings: interconnect: qcom: add msm8974 bindings

2019-09-03 Thread Bjorn Andersson
On Mon 02 Sep 14:19 PDT 2019, Brian Masney wrote: > Add device tree bindings for the Qualcomm MSM8974 interconnect providers > that support setting system bandwidth requirements between various > network-on-chip fabrics. > > Signed-off-by: Brian Masney > --- > .../bindings/interconnect/qcom,msm

Re: [PATCH] IOAT: iop-adma.c: fix printk format warning

2019-09-03 Thread Vinod Koul
On 30-08-19, 14:44, Dan Williams wrote: > [ add Vinod and dmaengine ] > > On Fri, Aug 30, 2019 at 2:32 PM Randy Dunlap wrote: > > > > From: Randy Dunlap > > > > Fix printk format warning in iop-adma.c (seen on x86_64) by using > > %pad: > > > > ../drivers/dma/iop-adma.c:118:12: warning: format ‘

Re: [PATCH -rcu dev 1/2] Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of ->dynticks counter")

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 01:02:49PM -0700, Paul E. McKenney wrote: [snip] > > --- > > include/linux/rcutiny.h | 3 -- > > kernel/rcu/tree.c | 82 ++--- > > 2 files changed, 19 insertions(+), 66 deletions(-) > > > > diff --git a/include/linux/rcutiny.h b/

[PATCH] remove the acheive sp error

2019-09-03 Thread Marcus Eagan
From: marcussorealheis --- drivers/clk/rockchip/clk-cpu.c | 2 +- drivers/clk/samsung/clk-cpu.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +- fs/xfs/xfs_inode.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions

Re: [PATCH] dmaengine: stm32-dma: Use struct_size() helper

2019-09-03 Thread Vinod Koul
On 30-08-19, 11:14, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct stm32_dma_desc { >

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Daniel Colascione
On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > wrote: > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > memory hogs. Several Android teams have been using this patch in various > > kernel tre

Re: "beyond 2038" warnings from loopback mount is noisy

2019-09-03 Thread Deepa Dinamani
If we don't care to warn about the timestamps that are clamped in memory, maybe we could just warn when they are being written out. Would something like this be more acceptable? I would also remove the warning in ext4.h. I think we don't have to check if the inode is 128 bytes here (Please correct

Re: [PATCH] ioat/dca: Use struct_size() helper

2019-09-03 Thread Vinod Koul
On 28-08-19, 13:40, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct ioat_dca_priv { >

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Przemyslaw Gaj
The 09/03/2019 11:57, Vitor Soares wrote: > EXTERNAL MAIL > > > From: Przemyslaw Gaj > Date: Tue, Sep 03, 2019 at 12:13:57 > > > Hi Vitor, > > > > I'm sorry for the delay. > > > > The 09/03/2019 12:35, Vitor Soares wrote: > > > EXTERNAL MAIL > > > > > > > > > On pre_assing_dyn_addr() the de

Re: [PATCH -next] dmaengine: iop-adma: remove set but not used variable 'slots_per_op'

2019-09-03 Thread Vinod Koul
On 21-08-19, 20:19, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/dma/iop-adma.c: In function iop_adma_tx_submit: > drivers/dma/iop-adma.c:367:6: warning: > variable slots_per_op set but not used [-Wunused-but-set-variable] > > It is never used, so can be removed

[PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
Combine pci_dev_is_disconnected() with pci_dev_is_inaccessible() so only one function is used to learn if we should avoid accessing a device that's inaccessible due to surprise removal or an error condition. The use cases for pci_dev_is_disconnected() do not need to distinguish between a device be

[PATCH 1/2] PCI: Change pci_device_is_present() to pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
The pci_device_is_present() name may encourage poor practice of calling pci_device_is_present() and if true, assuming the device is still present after the call. This type of practice can be racy when assuming a device is still connected after checking. Change pci_device_is_present() to pci_dev_is

[PATCH 0/2] PCI: Change to using pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
Patch 1: Change pci_device_is_present() name to pci_dev_is_inaccessible() to encourage only using to learn if we should not access a device that's inaccessible. Return value will need to be reversed to reflect the name change. Patch 2: Relies on patch 1. Unify pci_dev_is

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Suren Baghdasaryan
On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) wrote: > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > memory hogs. Several Android teams have been using this patch in various > kernel trees for half a year now. Many reported to me it is really > useful so I'm

[PATCH V2 12/12] serial: tegra: Add PIO mode support

2019-09-03 Thread Krishna Yarlagadda
Add PIO mode support in receive and transmit path with RX interrupt trigger of 16 bytes for Tegra194 and older chips. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 117 -- 1 file changed, 86 insert

[PATCH V2 06/12] serial: tegra: check for FIFO mode enabled status

2019-09-03 Thread Krishna Yarlagadda
Chips prior to Tegra186 needed delay of 3 UART clock cycles to avoid data loss. This issue is fixed in Tegra186 and a new flag is added to check if FIFO mode is enabled. chip data updated to check if this flag is available for a chip. Tegra186 has new compatible to enable this flag. Signed-off-by:

[PATCH V2 05/12] dt-binding: serial: tegra: add new chips

2019-09-03 Thread Krishna Yarlagadda
Add new compatible string for Tegra186. It differs from earlier chips as it has FIFO mode enable check and 8 byte DMA buffer. Add new compatible string for Tegra194. Tegra194 has different error tolerance levels for baud rate compared to older chips. Signed-off-by: Krishna Yarlagadda --- Documen

[PATCH V2 08/12] serial: tegra: add support to use 8 bytes trigger

2019-09-03 Thread Krishna Yarlagadda
Add support to use 8 bytes trigger for Tegra186 SOC. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/seri

  1   2   3   4   5   6   7   8   9   10   >