[PATCH 5/6] clk: imx8mn: Add necessary frequency support for ARM PLL table

2019-08-15 Thread Anson . Huang
From: Anson Huang i.MX8MN supports CPU running at 1.5GHz/1.4GHz/1.2GHz, add missing frequency for ARM PLL table. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index

[PATCH 4/6] cpufreq: imx-cpufreq-dt: Add i.MX8MN support

2019-08-15 Thread Anson . Huang
From: Anson Huang i.MX8MN has different speed grading definition as below, it has 4 bits to define speed grading, add support for it. SPEED_GRADE[3:0]MHz 2300 00012200 00102100 00112000 01001900 0101

[PATCH 6/6] arm64: dts: imx8mn: Add cpu-freq support

2019-08-15 Thread Anson . Huang
From: Anson Huang Add A53 OPP table, cpu regulator and speed grading node to support cpu-freq driver. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 4 +++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 41 +++ 2 files changed, 45 i

[PATCH 3/6] cpufreq: Use imx-cpufreq-dt for i.MX8MN's speed grading

2019-08-15 Thread Anson . Huang
From: Anson Huang Add i.MX8MN to blacklist, so that imx-cpufreq-dt driver can handle speed grading bits just like other i.MX8M SoCs. Signed-off-by: Anson Huang --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/d

[PATCH 1/6] arm64: dts: imx8mn-ddr4-evk: Add i2c1 support

2019-08-15 Thread Anson . Huang
From: Anson Huang Enable i2c1 on i.MX8MN DDR4 EVK board. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8m

Re: [PATCH V6 3/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:38 PM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift Please change subject to: mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock Phase shift issue > > Signed-off-by:Shirley Her > --- > change in V6: > 1. define const

Re: [PATCH V6 2/3] mmc: sdhci: Modify get CD status function

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:38 PM, Shirley Her (SC) wrote: > Modify get CD status function Please change the subject to: mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue Please change the commit message accordingly. Also this patch should not make any changes except mov

Re: [PATCH V6 1/3] mmc: sdhci: Change O2 Host PLL and DLL register name

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:37 PM, Shirley Her (SC) wrote: > Change register name O2_PLL_WDT_CONTROL1 to O2_PLL_DLL_WDT_CONTROL1 > > Signed-off-by:Shirley Her Please change the subject to: mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name > --- > change in V6: > 1. change subject and commit m

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Baolin Wang
On Thu, 15 Aug 2019 at 18:11, Uwe Kleine-König wrote: > > Hello, > > On Thu, Aug 15, 2019 at 05:34:02PM +0800, Baolin Wang wrote: > > On Thu, 15 Aug 2019 at 16:54, Uwe Kleine-König > > wrote: > > > On Thu, Aug 15, 2019 at 04:16:32PM +0800, Baolin Wang wrote: > > > > On Thu, 15 Aug 2019 at 14:15,

Re: [PATCH v4 12/21] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > This commit adds the touchscreens from Toradex so one can enable it. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > - Add Marcel Ziswiler's Ack > > Change

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Arnd Bergmann
On Thu, Aug 15, 2019 at 12:26 PM Christoph Hellwig wrote: > > On Thu, Aug 15, 2019 at 01:02:11AM -0700, Christoph Hellwig wrote: > > In many ways I'd actually much rather have a table driven approach. > > Let me try something.. > > Ok, it seems like we don't even need a table containing native and

Re: [PATCH v4 19/21] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > This adds the common touchscreen that is used with Toradex's > Eval Boards. > > Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: > - Removed f0710a

Re: [PATCH v4 13/21] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > This patch adds some missing pinmuxing that is in the colibri > standard to the dts. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > - Add Marcel Ziswiler'

Re: [PATCH v4 08/21] ARM: dts: imx7-colibri: Add touch controllers

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > Add touch controller that is connected over an I2C bus. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > - Add Marcel Ziswiler's Ack > > Changes in v3: > -

Re: [PATCH RESEND v8] PCI: imx6: limit DBI register length

2019-08-15 Thread Lorenzo Pieralisi
On Fri, Jul 26, 2019 at 04:40:07PM +0200, Stefan Agner wrote: > Define the length of the DBI registers and limit config space to its > length. This makes sure that the kernel does not access registers > beyond that point, avoiding the following abort on a i.MX 6Quad: > # cat /sys/devices/soc0/soc

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add PHYTEC i.MX6 UL/ULL devicetree bindings

2019-08-15 Thread Stefan Riedmüller
Hi Rob, On 13.08.19 18:04, Rob Herring wrote: On Wed, Jul 24, 2019 at 09:49:32AM +0200, Stefan Riedmueller wrote: Add devicetree bindings for i.MX6 UL/ULL based phyCORE-i.MX6 UL/ULL and phyBOARD-Segin. Signed-off-by: Stefan Riedmueller --- Documentation/devicetree/bindings/arm/fsl.yaml | 8

INFO: task hung in tls_sw_release_resources_tx

2019-08-15 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6d5afe20 sctp: fix memleak in sctp_send_reset_streams git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=16e5536a60 kernel config: https://syzkaller.appspot.com/x/.config?x=a4c9e9f08e9e8960 dashboard link

[PATCH] staging: comedi: usbduxsigma: remove redundant assignment to variable fx2delay

2019-08-15 Thread Colin King
From: Colin Ian King Variable fx2delay is being initialized with a value that is never read and fx2delay is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/staging/comedi/d

Re: [PATCH] PCI: pci-hyperv: fix build errors on non-SYSFS config

2019-08-15 Thread Lorenzo Pieralisi
On Fri, Jul 12, 2019 at 08:53:19AM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors when building almost-allmodconfig but with SYSFS > not set (not enabled). Fixes these build errors: > > ERROR: "pci_destroy_slot" [drivers/pci/controller/pci-hyperv.ko] undefined! > ERROR: "p

Re: [PATCH v2] regulator: twl: voltage lists for vdd1/2 on twl4030

2019-08-15 Thread Adam Ford
On Wed, Aug 14, 2019 at 5:18 PM Andreas Kemnade wrote: > > _opp_supported_by_regulators() wrongly ignored errors from > regulator_is_supported_voltage(), so it considered errors as > success. Since > commit 498209445124 ("regulator: core: simplify return value on > suported_voltage") > regulator_

[PATCH v3] arm64: dts: ls1088a: fix gpio node

2019-08-15 Thread Hui Song
From: Song Hui Update the nodes to include little-endian property to be consistent with the hardware and add ls1088a gpio specify compatible. Signed-off-by: Song Hui --- Changes in v3: - delete the attribute of little-endian. Changes in v2: - update the subject. arch/a

Re: [PATCH 1/3] x86: cpu: Use constant definitions for CPU type

2019-08-15 Thread Thomas Gleixner
Rahul, On Thu, 15 Aug 2019, Rahul Tanwar wrote: Please use the proper prefix for your patches. x86 uses x86/subsystem: not x86: subsystem: > This patch replaces direct values usage with constant definitions usage > when access CPU models. Please do not use 'This patch'. We already know that th

linux-next: Fixes tag needs some work in the scsi-mkp tree

2019-08-15 Thread Stephen Rothwell
Hi all, In commit cff1191553d9 ("scsi: qla2xxx: cleanup trace buffer initialization") Fixes tag Fixes: ad0a0b01f088 ("scsi: qla2xxx: Fix Firmware dump size for Extended has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Christoph Hellwig
On Thu, Aug 15, 2019 at 01:02:11AM -0700, Christoph Hellwig wrote: > In many ways I'd actually much rather have a table driven approach. > Let me try something.. Ok, it seems like we don't even need a table containing native and compat as we can just fall back. The tables still seem nicer to read

[v2 2/3] clk: ls1028a: Add clock driver for Display output interface

2019-08-15 Thread Wen He
Add clock driver for QorIQ LS1028A Display output interfaces(LCD, DPHY), as implemented in TSMC CLN28HPM PLL, this PLL supports the programmable integer division and range of the display output pixel clock's 27-594MHz. Signed-off-by: Wen He --- change in v2: - replace OF archticure regist

[v2 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock

2019-08-15 Thread Wen He
The LS1028A has a clock domain PXLCLK0 used for the Display output interface in the display core, independent of the system bus frequency, for flexible clock design. This display core has its own pixel clock. This patch enable the pixel clock provider on the LS1028A. Signed-off-by: Wen He --- a

[v2 1/3] dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings

2019-08-15 Thread Wen He
LS1028A has a clock domain PXLCLK0 used for provide pixel clocks to Display output interface. Add a YAML schema for this. Signed-off-by: Wen He --- change in v2: - Convert bindings to YAML format .../devicetree/bindings/clock/fsl,plldig.yaml | 43 +++ 1 file changed, 43

static analysis bug report in drivers/staging/iio/dac/ad5380.c

2019-08-15 Thread Colin Ian King
Hi, Static analysis with Coverity Scan has detected a potential assignment bug in ad5380.c: 217case IIO_CHAN_INFO_CALIBBIAS: 218ret = regmap_read(st->regmap, AD5380_REG_OFFSET(chan->address), 219val); 220if (ret) 221

Re: [PATCH v12 5/6] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-15 Thread Oleg Nesterov
Hi Song, sorry, I forgot to reply to this email, On 08/13, Song Liu wrote: > > Do you have further comments for the version below? If not, could you > please reply with your Acked-by or Reviewed-by? I see nothing wrong in the last series, no objections from me. I don't think I can't ack the cha

linux-next: Fixes tag needs some work in the arm-soc tree

2019-08-15 Thread Stephen Rothwell
Hi all, In commit dbc3c6295195 ("ARM: ux500: add missing of_node_put()") Fixes tag Fixes: commit 18a992787896 ("ARM: ux500: move soc_id driver to drivers/soc") has these problem(s): - leading word 'commit' unexpected -- Cheers, Stephen Rothwell pgpaJVOoNoBOC.pgp Description: OpenPGP

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Uwe Kleine-König
Hello, On Thu, Aug 15, 2019 at 05:34:02PM +0800, Baolin Wang wrote: > On Thu, 15 Aug 2019 at 16:54, Uwe Kleine-König > wrote: > > On Thu, Aug 15, 2019 at 04:16:32PM +0800, Baolin Wang wrote: > > > On Thu, 15 Aug 2019 at 14:15, Uwe Kleine-König > > > wrote: > > > > On Thu, Aug 15, 2019 at 11:34:2

Re: [PATCH -next] ASoC: wm8737: Fix copy-paste error in wm8737_snd_controls

2019-08-15 Thread Charles Keepax
On Thu, Aug 15, 2019 at 05:19:20PM +0800, YueHaibing wrote: > sound/soc/codecs/wm8737.c:112:29: warning: > high_3d defined but not used [-Wunused-const-variable=] > > 'high_3d' should be used for 3D High Cut-off. > > Reported-by: Hulk Robot > Fixes: 2a9ae13a2641 ("ASoC: Add initial WM8737 drive

[PATCH v2 2/3] perf unwind: fix libunwind when tid != pid

2019-08-15 Thread John Keeping
Commit e5adfc3e7e77 ("perf map: Synthesize maps only for thread group leader") changed the recording side so that we no longer get mmap events for threads other than the thread group leader (when synthesising these events for threads which exist before perf is started). When a file recorded after

Re: [PATCH -next] mm/kmemleak: record the current memory pool size

2019-08-15 Thread Catalin Marinas
On Wed, Aug 14, 2019 at 03:07:11PM -0400, Qian Cai wrote: > The only way to obtain the current memory pool size for a running kernel > is to check back the kernel config file which is inconvenient. Record it > in the kernel messages. > > Signed-off-by: Qian Cai > --- > mm/kmemleak.c | 3 ++- > 1

[PATCH v2 3/3] perf unwind: remove unnecessary test

2019-08-15 Thread John Keeping
If dwarf_callchain_users is false, then unwind__prepare_access() will not set unwind_libunwind_ops so the remaining test here is sufficient. Signed-off-by: John Keeping --- v2: new patch split out from patch 2 --- tools/perf/util/unwind-libunwind.c | 6 -- 1 file changed, 6 deletions(-) dif

[PATCH v2 1/3] perf map: use zalloc for map_groups

2019-08-15 Thread John Keeping
In the next commit we will add new fields to map_groups and we need these to be null if no value is assigned. The simplest way to achieve this is to request zeroed memory from the allocator. Signed-off-by: John Keeping --- Unchanged in v2 --- tools/perf/util/map.c | 2 +- 1 file changed, 1 inse

[PATCH v3] lsilogic mpt fusion: mptctl: Fixed race condition around mptctl_id variable using mutexes

2019-08-15 Thread Mark Balantzyan
Certain functions in the driver, such as mptctl_do_fw_download() and mptctl_do_mpt_command(), rely on the instance of mptctl_id, which does the id-ing. There is race condition possible when these functions operate in concurrency. Via, mutexes, the functions are mutually signalled to cooperate. Cha

Re: [PATCH v2] virtio-net: lower min ring num_free for efficiency

2019-08-15 Thread Jason Wang
On 2019/8/15 下午5:42, ? jiang wrote: This change lowers ring buffer reclaim threshold from 1/2*queue to budget for better performance. According to our test with qemu + dpdk, packet dropping happens when the guest is not able to provide free buffer in avail ring timely with default 1/2*queue. Th

Hi dear,

2019-08-15 Thread Jessica Vail
Hi dear, I'm Jessica Vail, from the United States,please i wish to have a communication with you. I am waiting for your answer, Jessica Vail,

[PATCH 2/3] x86: cpu: Add new Intel Atom CPU type

2019-08-15 Thread Rahul Tanwar
This patch adds a new variant of Intel Atom Airmont CPU model used in a network processor SoC named Lightning Mountain. Signed-off-by: Rahul Tanwar --- arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/

[PATCH 3/3] x86: arch: Add arch support for new Intel Atom CPU

2019-08-15 Thread Rahul Tanwar
This patch adds basic arch support for a new variant of Intel Atom CPU model used in a network processor SoC named Lightning Mountain. Signed-off-by: Rahul Tanwar --- arch/x86/kernel/cpu/common.c | 1 + arch/x86/kernel/cpu/intel.c | 1 + arch/x86/kernel/tsc_msr.c| 5 + 3 files changed,

[PATCH 1/3] x86: cpu: Use constant definitions for CPU type

2019-08-15 Thread Rahul Tanwar
This patch replaces direct values usage with constant definitions usage when access CPU models. Signed-off-by: Rahul Tanwar Suggested-by: Andy Shevchenko --- arch/x86/kernel/cpu/intel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/

[PATCH 0/3] x86: cpu: Add new Airmont CPU model

2019-08-15 Thread Rahul Tanwar
Intel Atom CPU based Lightning Mountain(LGM) network processor SoC has recently taped out. Although the Atom CPU used in LGM is based upon Airmont uArch but it has a few differences. Its a new variant of Atom Airmont cpu model. This series of patches adds support for this new CPU model. Patches a

Re: [PATCH 08/16] mips: prefer __section from compiler_attributes.h

2019-08-15 Thread Paul Burton
Hi Nick, On Mon, Aug 12, 2019 at 02:50:41PM -0700, Nick Desaulniers wrote: > Reported-by: Sedat Dilek > Suggested-by: Josh Poimboeuf > Signed-off-by: Nick Desaulniers It would be good to add a commit message, even if it's just a line repeating the subject & preferably describing the motivation

[tip:perf/core] perf record: Support aarch64 random socket_id assignment

2019-08-15 Thread tip-bot for Tan Xiaojun
Commit-ID: 0a4d8fb229dd78f9e0752817339e19e903b37a60 Gitweb: https://git.kernel.org/tip/0a4d8fb229dd78f9e0752817339e19e903b37a60 Author: Tan Xiaojun AuthorDate: Fri, 2 Aug 2019 11:48:57 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 11:00:00 -0300 perf record: Su

[tip:perf/core] tools: Keep list of tools in alphabetical order

2019-08-15 Thread tip-bot for Andy Shevchenko
Commit-ID: 38fe26b46f55538c2cb8b96500caed6ae9d59d46 Gitweb: https://git.kernel.org/tip/38fe26b46f55538c2cb8b96500caed6ae9d59d46 Author: Andy Shevchenko AuthorDate: Fri, 28 Jun 2019 20:22:09 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 tools: Kee

[tip:perf/core] perf ui: No need to set ui_browser to 1 twice

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1cd8fa288eb83c1fe0dfa492b09d228a8d802fbf Gitweb: https://git.kernel.org/tip/1cd8fa288eb83c1fe0dfa492b09d228a8d802fbf Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 13 Aug 2019 12:07:14 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 11:00:00 -0300 p

[tip:perf/core] perf.data documentation: Clarify HEADER_SAMPLE_TOPOLOGY format

2019-08-15 Thread tip-bot for Vince Weaver
Commit-ID: 3143906c2770778d89b730e0342b745d1b4a8303 Gitweb: https://git.kernel.org/tip/3143906c2770778d89b730e0342b745d1b4a8303 Author: Vince Weaver AuthorDate: Thu, 1 Aug 2019 14:30:43 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf.data docu

[tip:perf/core] perf evsel: Provide meaningful warning when trying to use 'aux_output' on older kernels

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: acb9f2d4755a70e31343f99791aa43b05401b996 Gitweb: https://git.kernel.org/tip/acb9f2d4755a70e31343f99791aa43b05401b996 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 13 Aug 2019 11:06:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 p

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Baolin Wang
On Thu, 15 Aug 2019 at 16:54, Uwe Kleine-König wrote: > > Hello Baolin, > > On Thu, Aug 15, 2019 at 04:16:32PM +0800, Baolin Wang wrote: > > On Thu, 15 Aug 2019 at 14:15, Uwe Kleine-König > > wrote: > > > On Thu, Aug 15, 2019 at 11:34:27AM +0800, Baolin Wang wrote: > > > > On Wed, 14 Aug 2019 at

Re: [PATCH v2] pciehp: fix a race between pciehp and removing operations by sysfs

2019-08-15 Thread Xiongfeng Wang
On 2019/8/11 16:07, Lukas Wunner wrote: > On Mon, Aug 05, 2019 at 08:32:58PM +0800, Xiongfeng Wang wrote: >> When we remove a slot by sysfs. >> 'pci_stop_and_remove_bus_device_locked()' will be called. This function >> will get the global mutex lock 'pci_rescan_remove_lock', and remove the >> sl

[tip:perf/core] perf intel-pt: Add brief documentation for PEBS via Intel PT

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 243384dd25c8ea721c5c82a229eaf33cbd1bfd52 Gitweb: https://git.kernel.org/tip/243384dd25c8ea721c5c82a229eaf33cbd1bfd52 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:06 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf intel-pt

[tip:perf/core] perf tools: Add aux-output config term

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 1b9921546a9641aefc4a52c1c635b96b67142993 Gitweb: https://git.kernel.org/tip/1b9921546a9641aefc4a52c1c635b96b67142993 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:05 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools: A

Re: [PATCH v4 2/2] RISC-V: Implement sparsemem

2019-08-15 Thread Greentime Hu
Hi Logan, On Thu, Aug 15, 2019 at 6:21 AM Logan Gunthorpe wrote: > > Hey, > > On 2019-08-14 7:35 a.m., Greentime Hu wrote: > > How about this fix? Not sure if it is good for everyone. > > I applied your fix to the patch and it seems ok. But it doesn't seem to > work on a recent version of the ker

[tip:perf/core] perf tools: Add itrace option 'o' to synthesize aux-output events

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 181ebb5e23a5e480f6d6aa2816a9c4aaa65afa59 Gitweb: https://git.kernel.org/tip/181ebb5e23a5e480f6d6aa2816a9c4aaa65afa59 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools: A

[tip:perf/core] perf intel-pt: Process options for PEBS event synthesis

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 9e64cefe4335b0f2799956d3f3cca8bb652d950f Gitweb: https://git.kernel.org/tip/9e64cefe4335b0f2799956d3f3cca8bb652d950f Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf intel-pt

[tip:perf/core] perf ftrace: Improve error message about capability to use ftrace

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 73e5de70dca00344cb48e018131a4cadec0fabf0 Gitweb: https://git.kernel.org/tip/73e5de70dca00344cb48e018131a4cadec0fabf0 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 12 Aug 2019 17:27:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 p

[tip:perf/core] perf tools: Add aux_output attribute flag

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f Gitweb: https://git.kernel.org/tip/5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:02 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools: A

[tip:perf/core] perf ftrace: Use CAP_SYS_ADMIN instead of euid==0

2019-08-15 Thread tip-bot for Igor Lubashev
Commit-ID: c766f3df635de14295e410c6dd5410bc416c24a0 Gitweb: https://git.kernel.org/tip/c766f3df635de14295e410c6dd5410bc416c24a0 Author: Igor Lubashev AuthorDate: Wed, 7 Aug 2019 10:44:17 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf ftrace:

[tip:perf/core] perf record: Add an option to take an AUX snapshot on exit

2019-08-15 Thread tip-bot for Alexander Shishkin
Commit-ID: ce7b0e426ef359ee1d4a6126314ee3547a8eed87 Gitweb: https://git.kernel.org/tip/ce7b0e426ef359ee1d4a6126314ee3547a8eed87 Author: Alexander Shishkin AuthorDate: Tue, 6 Aug 2019 17:41:01 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf rec

[tip:perf/core] perf tools: Add CAP_SYSLOG define for older systems

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 083c1359b0e03867a8c7effd21d4c0be3639f336 Gitweb: https://git.kernel.org/tip/083c1359b0e03867a8c7effd21d4c0be3639f336 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 13 Aug 2019 11:38:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 p

[tip:perf/core] perf tools: Add NO_LIBCAP=1 to the minimal build test

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 97993bd6eb89bf08649c01d4d57453feca4314f8 Gitweb: https://git.kernel.org/tip/97993bd6eb89bf08649c01d4d57453feca4314f8 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 12 Aug 2019 16:43:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 p

[PATCH -next] ASoC: 88pm860x: remove unused variables 'pcm_switch_controls' and 'aif1_mux'

2019-08-15 Thread YueHaibing
sound/soc/codecs/88pm860x-codec.c:533:38: warning: pcm_switch_controls defined but not used [-Wunused-const-variable=] sound/soc/codecs/88pm860x-codec.c:560:38: warning: aif1_mux defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot Sig

Re: [PATCH 7/8] parisc: don't set ARCH_NO_COHERENT_DMA_MMAP

2019-08-15 Thread James Bottomley
On Thu, 2019-08-08 at 19:00 +0300, Christoph Hellwig wrote: > parisc is the only architecture that sets ARCH_NO_COHERENT_DMA_MMAP > when an MMU is enabled. AFAIK this is because parisc CPUs use VIVT > caches, We're actually VIPT but the same principle applies. > which means exporting normally c

Re: [PATCH] virtio-net: lower min ring num_free for efficiency

2019-08-15 Thread Jason Wang
On 2019/8/15 下午4:36, 冉 jiang wrote: On 2019/8/15 11:17, Jason Wang wrote: On 2019/8/15 上午11:11, 冉 jiang wrote: On 2019/8/15 11:01, Jason Wang wrote: On 2019/8/14 上午10:06, ? jiang wrote: This change lowers ring buffer reclaim threshold from 1/2*queue to budget for better performance. Accordi

[tip:perf/core] perf tools: Add helpers to use capabilities if present

2019-08-15 Thread tip-bot for Igor Lubashev
Commit-ID: c22e150e3afa6f8db2300bd510e4ac26bbee1bf3 Gitweb: https://git.kernel.org/tip/c22e150e3afa6f8db2300bd510e4ac26bbee1bf3 Author: Igor Lubashev AuthorDate: Wed, 7 Aug 2019 10:44:14 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:48:39 -0300 perf tools: A

[tip:perf/core] tools build: Add capability-related feature detection

2019-08-15 Thread tip-bot for Igor Lubashev
Commit-ID: 74d5f3d06f707eb5f7e1908ad88954bde02000ce Gitweb: https://git.kernel.org/tip/74d5f3d06f707eb5f7e1908ad88954bde02000ce Author: Igor Lubashev AuthorDate: Wed, 7 Aug 2019 10:44:14 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 17:14:14 -0300 tools build:

[PATCH -next] ASoC: cs42l56: remove unused variable 'adc_swap_enum'

2019-08-15 Thread YueHaibing
sound/soc/codecs/cs42l56.c:206:30: warning: adc_swap_enum defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/cs42l56.c | 8 1 file changed, 8 deletions(-) diff --git a/sound/soc/

[tip:perf/core] perf top: Collapse and resort all evsels in a group

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 40d81772dac45643cecc7add0e95356072265754 Gitweb: https://git.kernel.org/tip/40d81772dac45643cecc7add0e95356072265754 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 9 Aug 2019 16:44:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

Re: [PATCH v4 2/7] x86: kvm: svm: propagate errors from skip_emulated_instruction()

2019-08-15 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Wed, Aug 14, 2019 at 11:34:52AM +0200, Vitaly Kuznetsov wrote: >> Sean Christopherson writes: >> >> > x86_emulate_instruction() doesn't set vcpu->run->exit_reason when emulation >> > fails with EMULTYPE_SKIP, i.e. this will exit to userspace with garbage in >> >

[PATCH -next] ASoC: es8328: Fix copy-paste error in es8328_right_line_controls

2019-08-15 Thread YueHaibing
It seems 'es8328_rline_enum' should be used in es8328_right_line_controls Fixes: 567e4f98922c ("ASoC: add es8328 codec driver") Signed-off-by: YueHaibing --- sound/soc/codecs/es8328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs

[tip:perf/core] perf trace: Fix segmentation fault when access syscall info on arm64

2019-08-15 Thread tip-bot for Leo Yan
Commit-ID: 3e70008a6021fffd2cd1614734603ea970773060 Gitweb: https://git.kernel.org/tip/3e70008a6021fffd2cd1614734603ea970773060 Author: Leo Yan AuthorDate: Fri, 9 Aug 2019 18:47:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf trace: Fix seg

[tip:perf/core] perf hist: Remove dummy entries when finding real ones.

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5f8b4d5d237a3e2e35509da4e63769ae5c82c085 Gitweb: https://git.kernel.org/tip/5f8b4d5d237a3e2e35509da4e63769ae5c82c085 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 9 Aug 2019 17:56:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

Re: [PATCH] virtio-net: lower min ring num_free for efficiency

2019-08-15 Thread Jason Wang
On 2019/8/15 下午4:36, 冉 jiang wrote: On 2019/8/15 11:17, Jason Wang wrote: On 2019/8/15 上午11:11, 冉 jiang wrote: On 2019/8/15 11:01, Jason Wang wrote: On 2019/8/14 上午10:06, ? jiang wrote: This change lowers ring buffer reclaim threshold from 1/2*queue to budget for better performance. Accordi

[tip:perf/core] perf hists: Do not link a pair if already linked

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7d1a5efa20dbfea97cb93b99c67ce5cd5c4a4dbc Gitweb: https://git.kernel.org/tip/7d1a5efa20dbfea97cb93b99c67ce5cd5c4a4dbc Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Aug 2019 10:45:30 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

[tip:perf/core] perf top: Set display thread COMM to help with debugging

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1205a2719e52b6b52e0f9c0011554419da0377a0 Gitweb: https://git.kernel.org/tip/1205a2719e52b6b52e0f9c0011554419da0377a0 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Aug 2019 11:20:42 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

[tip:perf/core] perf vendor events intel: Add Icelake V1.00 event file

2019-08-15 Thread tip-bot for Haiyan Song
Commit-ID: b115df076d337a727017538d11d7d46f5bcbff15 Gitweb: https://git.kernel.org/tip/b115df076d337a727017538d11d7d46f5bcbff15 Author: Haiyan Song AuthorDate: Wed, 12 Jun 2019 16:15:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf vendor ev

[PATCH -next] ASoC: es8328: remove unused variable 'pga_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/es8328.c:102:35: warning: pga_tlv defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/es8328.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/es8328

[PATCH -next] ASoC: wm8737: Fix copy-paste error in wm8737_snd_controls

2019-08-15 Thread YueHaibing
sound/soc/codecs/wm8737.c:112:29: warning: high_3d defined but not used [-Wunused-const-variable=] 'high_3d' should be used for 3D High Cut-off. Reported-by: Hulk Robot Fixes: 2a9ae13a2641 ("ASoC: Add initial WM8737 driver") Signed-off-by: YueHaibing --- sound/soc/codecs/wm8737.c | 2 +- 1 fi

[tip:perf/core] perf tools: Fix paths in include statements

2019-08-15 Thread tip-bot for Luke Mujica
Commit-ID: 2b75863b0845764529e01014a5c90664d8044cbe Gitweb: https://git.kernel.org/tip/2b75863b0845764529e01014a5c90664d8044cbe Author: Luke Mujica AuthorDate: Fri, 19 Jul 2019 13:22:53 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf tools: Fi

[tip:perf/core] perf test vfs_getname: Disable ~/.perfconfig to get default output

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4fe94ce1c6ba678b5f12b94bb9996eea4fc99e85 Gitweb: https://git.kernel.org/tip/4fe94ce1c6ba678b5f12b94bb9996eea4fc99e85 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:37:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[tip:perf/core] perf config: Document the PERF_CONFIG environment variable

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5de9e5fda05b580c036e1fec6e2d8bf78eb2ac9d Gitweb: https://git.kernel.org/tip/5de9e5fda05b580c036e1fec6e2d8bf78eb2ac9d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:30:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[PATCH -next] ASoC: tlv320aic31xx: remove unused variable 'cm_m_enum'

2019-08-15 Thread YueHaibing
sound/soc/codecs/tlv320aic31xx.c:261:29: warning: cm_m_enum defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/tlv320aic31xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/

[tip:perf/core] perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 61a461fcbd62d42c29a1ea6a9cc3838ad9f49401 Gitweb: https://git.kernel.org/tip/61a461fcbd62d42c29a1ea6a9cc3838ad9f49401 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:20:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[tip:perf/core] perf session: Avoid infinite loop when seeing invalid header.size

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 57fc032ad643ffd018d66bd4c1bd3a91de4841e8 Gitweb: https://git.kernel.org/tip/57fc032ad643ffd018d66bd4c1bd3a91de4841e8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 10:58:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[PATCH -next] ASoC: tlv320aic23: remove unused variable 'tlv320aic23_rec_src'

2019-08-15 Thread YueHaibing
sound/soc/codecs/tlv320aic23.c:70:29: warning: tlv320aic23_rec_src defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/tlv320aic23.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sou

[PATCH] scsi: fcoe: remove redundant call to skb_transport_header

2019-08-15 Thread Colin King
From: Colin Ian King Pointer fh is being assigned a return value from the call to skb_transport_header however this value is never read and fh is being re-assigned immediately afterwards with a new value. Since there are side-effects from calling skb_transport_header the call is redundant and can

[PATCH -next] ASoC: rt1011: remove unused variable 'dac_vol_tlv' and 'adc_vol_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/rt1011.c:981:35: warning: dac_vol_tlv defined but not used [-Wunused-const-variable=] sound/soc/codecs/rt1011.c:982:35: warning: adc_vol_tlv defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Signed-off-by: YueHaibing --- sound/soc/codecs/

Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h

2019-08-15 Thread Miguel Ojeda
On Thu, Aug 15, 2019 at 11:08 AM Miguel Ojeda wrote: > > On Thu, Aug 15, 2019 at 12:20 AM Nick Desaulniers > wrote: > > > > This lone patch of the series is just cosmetic, but patch 14/16 fixes > > a real boot issue: > > https://github.com/ClangBuiltLinux/linux/issues/619 > > Miguel, I'd like to

Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h

2019-08-15 Thread Miguel Ojeda
On Thu, Aug 15, 2019 at 12:20 AM Nick Desaulniers wrote: > > This lone patch of the series is just cosmetic, but patch 14/16 fixes > a real boot issue: > https://github.com/ClangBuiltLinux/linux/issues/619 > Miguel, I'd like to get that one landed ASAP; the rest are just for > consistency. Ah, i

[PATCH -next] ASoC: max98371: remove unused variable 'max98371_noload_gain_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/max98371.c:157:35: warning: max98371_noload_gain_tlv defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/max98371.c | 4 1 file changed, 4 deletions(-) diff --git a/s

Re: /sys/devices/system/cpu/vulnerabilities/ doesn't show all known CPU vulnerabilities

2019-08-15 Thread Thomas Gleixner
On Wed, 14 Aug 2019, Kernel User wrote: > On Wed, 14 Aug 2019 09:04:57 +0200 Borislav Petkov wrote: > > > IMO, what you want does not belong in sysfs but in documentation. > > How would documentation (a fixed static text file) tell whether a > particular system is vulnerable or not? > > > I part

[PATCH -next] ASoC: cs4349: Use PM ops 'cs4349_runtime_pm'

2019-08-15 Thread YueHaibing
sound/soc/codecs/cs4349.c:358:32: warning: cs4349_runtime_pm defined but not used [-Wunused-const-variable=] cs4349_runtime_pm ops already defined, it seems we should enable it. Reported-by: Hulk Robot Fixes: e40da86 ("ASoC: cs4349: Add support for Cirrus Logic CS4349") Signed-off-by: YueHaibin

Re: [PATCH -next] mm/kmemleak: increase the max mem pool to 1M

2019-08-15 Thread Catalin Marinas
On Wed, Aug 14, 2019 at 02:32:52PM -0400, Qian Cai wrote: > There are some machines with slow disk and fast CPUs. When they are > under memory pressure, it could take a long time to swap before the OOM > kicks in to free up some memory. As the results, it needs a large > mem pool for kmemleak or su

[PATCH -next] ASoC: cs42l73: remove unused variables 'vsp_output_mux' and 'xsp_output_mux'

2019-08-15 Thread YueHaibing
sound/soc/codecs/cs42l73.c:276:38: warning: vsp_output_mux defined but not used [-Wunused-const-variable=] sound/soc/codecs/cs42l73.c:279:38: warning: xsp_output_mux defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: Y

Re: [stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Pavel Machek
On Thu 2019-08-15 10:44:06, Greg KH wrote: > On Thu, Aug 15, 2019 at 09:59:27AM +0200, Pavel Machek wrote: > > On Thu 2019-08-15 09:51:32, Greg KH wrote: > > > On Thu, Aug 15, 2019 at 09:13:50AM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > I realize that "interesting" license is not on a

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

2019-08-15 Thread Adrian Hunter
On 15/08/19 11:25 AM, Leo Yan wrote: > Arm and arm64 architecture reserve some memory regions prior to the > symbol '_stext' and these memory regions later will be used by device > module and BPF jit. The current code misses to consider these memory > regions thus any address in the regions will b

Re: [PATCH] ata: libahci_platform: Add of_node_put() before loop exit

2019-08-15 Thread Hans de Goede
Hi, On 15-08-19 08:00, Nishka Dasgupta wrote: Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before three such goto statements. Issue found with Coccinelle. S

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Uwe Kleine-König
Hello Baolin, On Thu, Aug 15, 2019 at 04:16:32PM +0800, Baolin Wang wrote: > On Thu, 15 Aug 2019 at 14:15, Uwe Kleine-König > wrote: > > On Thu, Aug 15, 2019 at 11:34:27AM +0800, Baolin Wang wrote: > > > On Wed, 14 Aug 2019 at 23:03, Uwe Kleine-König > > > wrote: > > > > On Wed, Aug 14, 2019 at

for_each_child_of_node semantics are broken (was [PATCH] ata: libahci_platform: Add of_node_put() before loop exit)

2019-08-15 Thread Hans de Goede
Hi Nishka, On 15-08-19 08:00, Nishka Dasgupta wrote: Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before three such goto statements. Issue found with Coccine

<    3   4   5   6   7   8   9   >