Re: [PATCH v2] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 10:16:09AM +0800, Weiyi Lu wrote: > The 13MHz clock should be registered before clocksource driver is > initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/mediatek/clk-mt8183.c | 46 >

RE: [PATCH v2] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag

2019-06-10 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Friday, June 7, 2019 10:23 PM > > Hi Shimoda-san, > > Thanks for the update! > > On Fri, Jun 7, 2019 at 12:07 PM Yoshihiro Shimoda > wrote: > > The powered flag should be set for any other phys anyway. Also > > the flag should be locked by the

Re: [PATCH 5.1 00/70] 5.1.9-stable review

2019-06-10 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.9 release. > There are 70 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-10 Thread Fenghua Yu
On Sun, Jun 09, 2019 at 09:24:18PM -0700, Andy Lutomirski wrote: > On Sun, Jun 9, 2019 at 9:02 PM Fenghua Yu wrote: > > > > On Sat, Jun 08, 2019 at 03:50:32PM -0700, Andy Lutomirski wrote: > > > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > > > > > C0.2 state in umwait and tpause

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-10 Thread Peter Chen
> - reg-names - register memory area names: > "xhci" - for HOST registers space > "dev" - for DEVICE registers space > "otg" - for OTG/DRD registers space > - compatible: Should contain: > "cdns,usb3-1.0.0" - for 0x00024502 controller version >

[PATCH] mtd: spi-nor: use 16-bit WRR command when QE is set on spansion flashes

2019-06-10 Thread Tudor.Ambarus
From: Tudor Ambarus SPI memory devices from different manufacturers have widely different configurations for Status, Control and Configuration registers. JEDEC 216C defines a new map for these common register bits and their functions, and describes how the individual bits may be accessed for a

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-10 Thread Jiri Slaby
On 07. 06. 19, 17:39, Greg Kroah-Hartman wrote: > From: Jonathan Corbet > > commit 2404dad1f67f8917e30fc22a85e0dbcc85b99955 upstream. > > AutoReporter is going away; recent versions of sphinx emit a warning like: > > Documentation/sphinx/kerneldoc.py:125: > RemovedInSphinx20Warning:

[PATCH v3] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag

2019-06-10 Thread Yoshihiro Shimoda
The powered flag should be set for any other phys anyway. Also the flag should be locked by the channel. Otherwise, after we have revised the device tree for the usb phy, the following warning happened during a second system suspend. And if the driver doesn't lock the flag, an imbalance is

RE: [PATCH v7 2/6] usb:common Separated decoding functions from dwc3 driver.

2019-06-10 Thread Pawel Laszczak
>On Wed, Jun 05, 2019 at 11:03:46AM +0100, Pawel Laszczak wrote: > >> Patch moves some decoding functions from driver/usb/dwc3/debug.h driver > >> to driver/usb/common/debug.c file. These moved functions include: > >> dwc3_decode_get_status > >> dwc3_decode_set_clear_feature > >>

RE: [PATCH v7 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-06-10 Thread Pawel Laszczak
>On Wed, Jun 05, 2019 at 11:03:49AM +0100, Pawel Laszczak wrote: >> diff --git a/drivers/usb/cdns3/debugfs.c b/drivers/usb/cdns3/debugfs.c >> new file mode 100644 >> index ..dfcbeb5e14f8 >> --- /dev/null >> +++ b/drivers/usb/cdns3/debugfs.c >> @@ -0,0 +1,173 @@ >> +//

Re: [PATCH] hwmon: pmbus: protect read-modify-write with lock

2019-06-10 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
On Sat, Jun 08, 2019 at 12:32:18AM +0200, Wolfram Sang wrote: >On Tue, May 28, 2019 at 09:08:21AM +, Adamski, Krzysztof (Nokia - >PL/Wroclaw) wrote: >> The operation done in the pmbus_update_fan() function is a >> read-modify-write operation but it lacks any kind of lock protection >> which

Re: [PATCH 4.9 00/83] 4.9.181-stable review

2019-06-10 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.181 release. > There are 83 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [RFC PATCH 6/6] soundwire: qcom: add support for SoundWire controller

2019-06-10 Thread Vinod Koul
On 07-06-19, 09:56, Srinivas Kandagatla wrote: > Qualcomm SoundWire Master controller is present in most Qualcomm SoCs > either integrated as part of WCD audio codecs via slimbus or > as part of SOC I/O. > > This patchset adds support to a very basic controller which has been > tested with

Re: [PATCH v2 1/8] i2c: i2c-qcom-geni: Provide support for ACPI

2019-06-10 Thread Lee Jones
On Fri, 07 Jun 2019, Ard Biesheuvel wrote: > On Fri, 7 Jun 2019 at 10:29, Lee Jones wrote: > > > > Add a match table to allow automatic probing of ACPI device > > QCOM0220. Ignore clock attainment errors. Set default clock > > frequency value. > > > > Signed-off-by: Lee Jones > > --- > >

RE: [RESEND] input: keyboard: imx: make sure keyboard can always wake up system

2019-06-10 Thread Anson Huang
Hi, Dmitry Any feedback for this patch? Thanks, Anson > -Original Message- > From: Anson Huang > Sent: Tuesday, May 21, 2019 2:36 PM > To: dmitry.torok...@gmail.com > Cc: shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com;

Re: [PATCH v3] vt: Fix a missing-check bug in con_init()

2019-06-10 Thread Gen Zhang
On Sat, Jun 08, 2019 at 08:15:46PM -0400, Nicolas Pitre wrote: > On Sat, 8 Jun 2019, Greg KH wrote: > > > On Sun, Jun 09, 2019 at 12:01:38AM +0800, Gen Zhang wrote: > > > On Tue, May 28, 2019 at 08:45:29AM +0800, Gen Zhang wrote: > > > > In function con_init(), the pointer variable

[PATCH RESEND 2/2] tools/perf: Set 'trace_cycles' as defaultevent for perf kvm record in powerpc

2019-06-10 Thread Anju T Sudhakar
Use 'trace_imc/trace_cycles' as the default event for 'perf kvm record' in powerpc. Signed-off-by: Anju T Sudhakar --- tools/perf/arch/powerpc/util/kvm-stat.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/perf/arch/powerpc/util/kvm-stat.c

[PATCH RESEND 1/2] tools/perf: Add arch neutral function to choose event for perf kvm record

2019-06-10 Thread Anju T Sudhakar
'perf kvm record' uses 'cycles'(if the user did not specify any event) as the default event to profile the guest. This will not provide any proper samples from the guest incase of powerpc architecture, since in powerpc the PMUs are controlled by the guest rather than the host. Patch adds a

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-10 Thread Pawel Laszczak
> >> - reg-names - register memory area names: >> "xhci" - for HOST registers space >> "dev" - for DEVICE registers space >> "otg" - for OTG/DRD registers space >> - compatible: Should contain: >> "cdns,usb3-1.0.0" - for 0x00024502 controller version >>

Re: [PATCH] sh: configs: Remove useless UEVENT_HELPER_PATH

2019-06-10 Thread Yoshinori Sato
On Tue, 04 Jun 2019 16:56:20 +0900, Krzysztof Kozlowski wrote: > > Remove the CONFIG_UEVENT_HELPER_PATH because: > 1. It is disabled since commit 1be01d4a5714 ("driver: base: Disable >CONFIG_UEVENT_HELPER by default") as its dependency (UEVENT_HELPER) was >made default to 'n', > 2. It is

Re: [PATCH] irqchip: Enable compile-testing for Renesas drivers

2019-06-10 Thread Yoshinori Sato
On Fri, 07 Jun 2019 18:50:36 +0900, Geert Uytterhoeven wrote: > > Enable compile-testing for all Renesas interrupt controller drivers, > except for RENESAS_H8300H_INTC. The latter relies on a function > (ctrl_bclr()) that is not available on other architectures. > > Signed-off-by: Geert

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-10 Thread Peter Chen
> >> - reg-names - register memory area names: > >> "xhci" - for HOST registers space > >> "dev" - for DEVICE registers space > >> "otg" - for OTG/DRD registers space > >> - compatible: Should contain: > >> "cdns,usb3-1.0.0" - for 0x00024502 controller version

Re: [PATCH] wlcore/wl18xx: Add invert-irq OF property for physically inverted IRQ

2019-06-10 Thread Kalle Valo
Eugeniu Rosca writes: > The wl1837mod datasheet [1] says about the WL_IRQ pin: > > ---8<--- > SDIO available, interrupt out. Active high. [..] > Set to rising edge (active high) on powerup. > ---8<--- > > That's the reason of seeing the interrupt configured as: > - IRQ_TYPE_EDGE_RISING on

[RFC PATCH v1 3/3] LSM/x86/sgx: Call new LSM hooks from SGX subsystem

2019-06-10 Thread Cedric Xing
There are three places LSM hooks are called from within the SGX subsystem. The first place is to invoke security_file_mprotect() in sgx_mmap() to validate requested protection. Given the architecture of SGX subsystem, all enclaves look like file mappings of /dev/sgx/enclave device file, meaning

[RFC PATCH v1 0/3] security/x86/sgx: SGX specific LSM hooks

2019-06-10 Thread Cedric Xing
This series intends to make the new SGX subsystem and the existing LSM architecture work together smoothly so that, say, SGX cannot be abused to work around restrictions set forth by LSM. This series applies on top of Jarkko Sakkinen's SGX series v20 (https://lkml.org/lkml/2019/4/17/344), where

[RFC PATCH v1 2/3] LSM/x86/sgx: Implement SGX specific hooks in SELinux

2019-06-10 Thread Cedric Xing
In this patch, SELinux maintains two bits per enclave page, namely SGX__EXECUTE and SGX__EXECMOD. SGX__EXECUTE is set initially (by selinux_enclave_load) for every enclave page that was loaded from a potentially executable source page. SGX__EXECMOD is set for every page that was loaded from a

[RFC PATCH v1 1/3] LSM/x86/sgx: Add SGX specific LSM hooks

2019-06-10 Thread Cedric Xing
This patch has made two changes to LSM hooks. The first change is the addition of two new SGX specific LSM hooks. security_enclave_load() - is called whenever new EPC pages are added to an enclave, so that an LSM module could initialize internal states for those pages. An LSM module may track

Re: [PATCH] hwmon: pmbus: protect read-modify-write with lock

2019-06-10 Thread Wolfram Sang
Hi Krzysztof, > patch and send it to the wrong list of people. You can ignore this > patchset, it was resent to the proper mailing list instead. Thanks for the heads up. Regards, Wolfram signature.asc Description: PGP signature

Re: [PATCH] arm: dts: dra72x: Disable usb4_tm target module

2019-06-10 Thread Tony Lindgren
* Keerthy [190603 23:13]: > usb4_tm is unsed on dra72 and accessing the module > with ti,sysc is causing a boot crash hence disable its target > module. Thanks for testing and fixing this, applying into fixes. Tony

Re: [PATCH v3] vt: Fix a missing-check bug in con_init()

2019-06-10 Thread Jiri Slaby
On 09. 06. 19, 2:15, Nicolas Pitre wrote: +fail1: + while (currcons > 0) { + currcons--; + kfree(vc_cons[currcons].d->vc_screenbuf); +fail2: + kfree(vc_cons[currcons].d); + vc_cons[currcons].d = NULL; + } >> >> Wait,

Re: [PATCH] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-10 Thread Ryder Lee
On Mon, 2019-06-10 at 06:47 +0200, Sebastian Gottschall wrote: > okay. curious is, that my variant works with sane results too. > i will test your variant and check the results > > Sebastian Please don't top post as it's hard to track the thread. More specifically, IBRSSI is obtained from

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-10 Thread Nishka Dasgupta
On 10/06/19 11:19 AM, Greg KH wrote: On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: On 09/06/19 4:32 PM, Greg KH wrote: On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: Remove variables that are declared and assigned values but not otherwise used. Issue found

Re: [PATCH 08/14] ASoC: Intel: Skylake: Properly cleanup on component removal

2019-06-10 Thread Cezary Rojewski
On 2019-06-05 15:45, Amadeusz Sławiński wrote: When we remove component we need to reverse things which were done on init, this consists of topology cleanup, lists cleanup and releasing firmware. Currently cleanup handlers are put in wrong places or otherwise missing. So add proper component

Re: [PATCH 4/7] staging: kpc2000: use __func__ in debug messages in core.c

2019-06-10 Thread Simon Sandström
On 06/06, Greg KH wrote: > On Tue, Jun 04, 2019 at 12:29:13AM +0200, Simon Sandström wrote: > > > > - dev_dbg(>dev, "kp2000_pcie_probe(pdev = [%p], id = [%p])\n", > > - pdev, id); > > + dev_dbg(>dev, "%s(pdev = [%p], id = [%p])\n", > > + __func__, pdev, id); > >

Re: Linux 4.19 and GCC 9

2019-06-10 Thread Ivan Babrou
Looks like 4.19.49 received some patches for GCC 9+, but unfortunately perf still doesn't want to compile: [07:15:32]In file included from /usr/include/string.h:635, [07:15:32] from util/debug.h:7, [07:15:32] from builtin-help.c:15: [07:15:32]In function 'strncpy', [07:15:32] inlined from

[PATCH] spi: qup: fix PIO/DMA transfers.

2019-06-10 Thread Jorge Ramirez-Ortiz
- DMA/PIO: If an error IRQ occurred during PIO or DMA mode make sure to log it so on completion the transfer can be marked as an error. - PIO: Do not complete a transaction until all data has been transferred or an error IRQ was flagged. 1) If there was no error IRQ, ignore the done flag IRQ

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 12:44:05PM +0530, Nishka Dasgupta wrote: > On 10/06/19 11:19 AM, Greg KH wrote: > > On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: > > > On 09/06/19 4:32 PM, Greg KH wrote: > > > > On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: > > > > >

Re: [PATCH] mm: align up min_free_kbytes to multipy of 4

2019-06-10 Thread Michal Hocko
On Sun 09-06-19 17:10:28, ChenGang wrote: > Usually the value of min_free_kbytes is multiply of 4, > and in this case ,the right shift is ok. > But if it's not, the right-shifting operation will lose the low 2 bits, > and this cause kernel don't reserve enough memory. > So it's necessary to align

Re: [PATCH] kernel/isolation: Asset that a housekeeping CPU comes up at boot time

2019-06-10 Thread Nicholas Piggin
Nicholas Piggin's on June 1, 2019 9:39 pm: > With the change to allow the boot CPU0 to be isolated, it is possible > to specify command line options that result in no housekeeping CPU > online at boot. > > An 8 CPU system booted with "nohz_full=0-6 maxcpus=4", for example. > > It is not easily

Re: [PATCH 4.14 00/35] 4.14.125-stable review

2019-06-10 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.125 release. > There are 35 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH 00/11] perf intel-pt: Prepare for PEBS via PT

2019-06-10 Thread Adrian Hunter
Hi PEBS via PT is a new feature that encodes PEBS events into the Intel PT trace. This patch series is preparation. Alex has posted his kernel support: https://lkml.org/lkml/2019/5/2/323 This patch set adds the packet definitions and a new packet decoder test, followed by patches that

Re: [PATCH v2] kasan: add memory corruption identification for software tag-based mode

2019-06-10 Thread Walter Wu
On Fri, 2019-06-07 at 21:18 +0800, Dmitry Vyukov wrote: > > diff --git a/include/linux/kasan.h b/include/linux/kasan.h > > index b40ea104dd36..be0667225b58 100644 > > --- a/include/linux/kasan.h > > +++ b/include/linux/kasan.h > > @@ -164,7 +164,11 @@ void kasan_cache_shutdown(struct kmem_cache

[PATCH 01/11] perf intel-pt: Add new packets for PEBS via PT

2019-06-10 Thread Adrian Hunter
Add 3 new packets to supports PEBS via PT, namely Block Begin Packet (BBP), Block Item Packet (BIP) and Block End Packet (BEP). PEBS data is encoded into multiple BIP packets that come between BBP and BEP. The BEP packet might be associated with a FUP packet. That is indicated by using a separate

[PATCH 07/11] perf intel-pt: Add gp registers to synthesized PEBS sample

2019-06-10 Thread Adrian Hunter
Add general purpose register information from PEBS data in the Intel PT trace to the synthesized PEBS sample. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/tools/perf/util/intel-pt.c

[PATCH 10/11] perf intel-pt: Add memory information to synthesized PEBS sample

2019-06-10 Thread Adrian Hunter
Add memory information from PEBS data in the Intel PT trace to the synthesized PEBS sample. This provides sample types PERF_SAMPLE_ADDR, PERF_SAMPLE_WEIGHT, and PERF_SAMPLE_TRANSACTION, but not PERF_SAMPLE_DATA_SRC. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 27

[PATCH 08/11] perf intel-pt: Add xmm registers to synthesized PEBS sample

2019-06-10 Thread Adrian Hunter
Add xmm register information from PEBS data in the Intel PT trace to the synthesized PEBS sample. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/intel-pt.c

[PATCH 06/11] perf intel-pt: Synthesize PEBS sample basic information

2019-06-10 Thread Adrian Hunter
Synthesize a PEBS sample using basic information (ip, timestamp) only. Other PEBS information will be added in later patches. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 52 -- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git

[PATCH 04/11] perf intel-pt: Prepare to synthesize PEBS samples

2019-06-10 Thread Adrian Hunter
Add infrastructure to prepare for synthesizing PEBS samples but leave the actual synthesis to later patches. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/tools/perf/util/intel-pt.c

[PATCH 05/11] perf intel-pt: Factor out common sample preparation for re-use

2019-06-10 Thread Adrian Hunter
Factor out common sample preparation for re-use when synthesizing PEBS samples. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index

[PATCH 09/11] perf intel-pt: Add lbr information to synthesized PEBS sample

2019-06-10 Thread Adrian Hunter
Add lbr information from PEBS data in the Intel PT trace to the synthesized PEBS sample. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 72 ++ 1 file changed, 72 insertions(+) diff --git a/tools/perf/util/intel-pt.c

[PATCH 02/11] perf intel-pt: Add Intel PT packet decoder test

2019-06-10 Thread Adrian Hunter
Add Intel PT packet decoder test. This test feeds byte sequences to the Intel PT packet decoder and checks the results. Changes to the packet context are also checked. Signed-off-by: Adrian Hunter --- tools/perf/arch/x86/include/arch-tests.h | 1 + tools/perf/arch/x86/tests/Build

[PATCH 03/11] perf intel-pt: Add decoder support for PEBS via PT

2019-06-10 Thread Adrian Hunter
PEBS data is encoded in Block Item Packets (BIP). Populate a new structure intel_pt_blk_items with the values and, upon a Block End Packet (BEP), report them as a new Intel PT sample type INTEL_PT_BLK_ITEMS. Signed-off-by: Adrian Hunter --- .../util/intel-pt-decoder/intel-pt-decoder.c | 78

[PATCH 11/11] perf intel-pt: Add callchain to synthesized PEBS sample

2019-06-10 Thread Adrian Hunter
Like other synthesized events, if there is also an Intel PT branch trace, then a call stack can also be synthesized. Add that. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 8 1 file changed, 8 insertions(+) diff --git a/tools/perf/util/intel-pt.c

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 10, 2019 at 08:27:30AM +0200, Jiri Slaby wrote: > On 07. 06. 19, 17:39, Greg Kroah-Hartman wrote: > > From: Jonathan Corbet > > > > commit 2404dad1f67f8917e30fc22a85e0dbcc85b99955 upstream. > > > > AutoReporter is going away; recent versions of sphinx emit a warning like: > > > >

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-10 Thread Nishka Dasgupta
On 10/06/19 12:55 PM, Greg KH wrote: On Mon, Jun 10, 2019 at 12:44:05PM +0530, Nishka Dasgupta wrote: On 10/06/19 11:19 AM, Greg KH wrote: On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: On 09/06/19 4:32 PM, Greg KH wrote: On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-10 Thread Jiri Slaby
On 10. 06. 19, 9:31, Greg Kroah-Hartman wrote: > On Mon, Jun 10, 2019 at 08:27:30AM +0200, Jiri Slaby wrote: >> On 07. 06. 19, 17:39, Greg Kroah-Hartman wrote: >>> From: Jonathan Corbet >>> >>> commit 2404dad1f67f8917e30fc22a85e0dbcc85b99955 upstream. >>> >>> AutoReporter is going away; recent

[PATCH v4 2/2] media: atmel: atmel-sama5d2-isc: fixed checkpatch warnings

2019-06-10 Thread Eugen.Hristev
From: Eugen Hristev Checkpatch complaining that locks do not have comments, unaligned code and macro reuse of same argument in to_isc_clk. Fixed them by renaming, realigning and adding struct comments Signed-off-by: Eugen Hristev --- Changes in v4: - s/sync/serialize as requested by Sakari

[PATCH] tty: serial: msm_serial: avoid system lockup condition

2019-06-10 Thread Jorge Ramirez-Ortiz
The function msm_wait_for_xmitr can be taken with interrupts disabled. In order to avoid a potential system lockup - demonstrated under stress testing conditions on SoC QCS404/5 - make sure we wait for a bounded amount of time. Tested on SoC QCS404. Signed-off-by: Jorge Ramirez-Ortiz ---

Re: [PATCH v2 1/4] perf trace: Exit when build eBPF program failure

2019-06-10 Thread Leo Yan
On Thu, Jun 06, 2019 at 10:34:24AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 06, 2019 at 10:30:19AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Jun 06, 2019 at 05:48:42PM +0800, Leo Yan escreveu: > > > +++ b/tools/perf/builtin-trace.c > > > @@ -3664,6 +3664,14 @@ static int

Re: Linux 4.19 and GCC 9

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 12:21:51AM -0700, Ivan Babrou wrote: > Looks like 4.19.49 received some patches for GCC 9+, but unfortunately > perf still doesn't want to compile: > > [07:15:32]In file included from /usr/include/string.h:635, > [07:15:32] from util/debug.h:7, > [07:15:32] from

Re: [PATCH] perf record: Add support to collect callchains from kernel or user space only.

2019-06-10 Thread 禹舟键
Hi Arnaldo, Jirka > perf_event_attr.exclude_callchain_kernel to 0 I don't think we should set 0 for the desired callchins, because we will set exclude_callchain_user to 1 if perf_evsel is function event. void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts, struct

[PATCH stable 4.4 v2] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-10 Thread Michal Hocko
From: Andrea Arcangeli Upstream 04f5866e41fb70690e28397487d8bd8eea7d712a commit. The core dumping code has always run without holding the mmap_sem for writing, despite that is the only way to ensure that the entire vma layout will not change from under it. Only using some signal serialization

[PATCH] vsprintf: fix data type of variable in string_nocheck()

2019-06-10 Thread 남영민
This patch fixes data type of precision with int. The precision is declared as signed int in struct printf_spec. Signed-off-by: Youngmin Nam --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 63937044c57d..cd0cd9279b12

[PATCH v2] staging: kpc2000: kpc_i2c: remove the macros inb_p and outb_p

2019-06-10 Thread Hao Xu
remove inb_p and outb_p to call readq/writeq directly. Signed-off-by: Hao Xu --- Changes in v2: - remove the macros inb_p/outb_p and use readq/writeq directly, per https://lkml.kernel.org/lkml/20190608134505.ga...@arch-01.home/ --- drivers/staging/kpc2000/kpc2000_i2c.c | 112

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 10, 2019 at 09:34:10AM +0200, Jiri Slaby wrote: > On 10. 06. 19, 9:31, Greg Kroah-Hartman wrote: > > On Mon, Jun 10, 2019 at 08:27:30AM +0200, Jiri Slaby wrote: > >> On 07. 06. 19, 17:39, Greg Kroah-Hartman wrote: > >>> From: Jonathan Corbet > >>> > >>> commit

Re: [PATCH] drivers/ata: print trim features at device initialization

2019-06-10 Thread Konstantin Khlebnikov
On 10.06.2019 0:37, James Bottomley wrote: On Sat, 2019-06-08 at 17:13 +0300, Konstantin Khlebnikov wrote: On 08.06.2019 11:25, Christoph Hellwig wrote:> On Fri, Jun 07, 2019 at 10:34:39AM +0300, Konstantin Khlebnikov wrote: > > Do we really need to spam dmesg with even more ATA crap? What

Re: [PATCH v3 5/8] arm64: Fix incorrect irqflag restore for priority masking

2019-06-10 Thread Julien Thierry
On 07/06/2019 17:29, Marc Zyngier wrote: > On 06/06/2019 10:31, Julien Thierry wrote: >> When using IRQ priority masking to disable interrupts, in order to deal >> with the PSR.I state, local_irq_save() would convert the I bit into a >> PMR value (GIC_PRIO_IRQOFF). This resulted in

Re: [PATCH 4/7] staging: kpc2000: use __func__ in debug messages in core.c

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 09:20:09AM +0200, Simon Sandström wrote: > On 06/06, Greg KH wrote: > > On Tue, Jun 04, 2019 at 12:29:13AM +0200, Simon Sandström wrote: > > > > > > - dev_dbg(>dev, "kp2000_pcie_probe(pdev = [%p], id = [%p])\n", > > > - pdev, id); > > > + dev_dbg(>dev, "%s(pdev =

Re: [PATCH v3 6/8] arm64: irqflags: Introduce explicit debugging for IRQ priorities

2019-06-10 Thread Julien Thierry
On 07/06/2019 17:31, Marc Zyngier wrote: > On 06/06/2019 10:31, Julien Thierry wrote: >> Using IRQ priority masking to enable/disable interrupts is a bit >> sensitive as it requires to deal with both ICC_PMR_EL1 and PSR.I. >> >> Introduce some validity checks to both highlight the states in

Re: [PATCH trivial] dmaengine: Grammar s/the its/its/, s/need/needs/

2019-06-10 Thread Vinod Koul
On 07-06-19, 13:30, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Applied, thanks -- ~Vinod

[PATCH v2] tty: serial: msm_serial: avoid system lockup condition

2019-06-10 Thread Jorge Ramirez-Ortiz
The function msm_wait_for_xmitr can be taken with interrupts disabled. In order to avoid a potential system lockup - demonstrated under stress testing conditions on SoC QCS404/5 - make sure we wait for a bounded amount of time. Tested on SoC QCS404. Signed-off-by: Jorge Ramirez-Ortiz ---

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-10 Thread Jiri Slaby
On 10. 06. 19, 9:48, Greg Kroah-Hartman wrote: >> [ 103s] Running Sphinx v1.8.5 > > Hm, 2.1 here: > Running Sphinx v2.1.0 > perhaps Tumbleweed needs to update? :) Heh, it was submitted 3 days ago :): https://build.opensuse.org/request/show/708276 (And is blocked by a failing

Re: [PATCH 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list

2019-06-10 Thread Lee Jones
On Fri, 07 Jun 2019, Bjorn Andersson wrote: > On Fri 07 Jun 16:02 PDT 2019, Linus Walleij wrote: > > > On Wed, Jun 5, 2019 at 1:43 PM Lee Jones wrote: > > > > > When booting MSM based platforms with Device Tree or some ACPI > > > implementations, it is possible to provide a list of reserved

Re: [PATCH/RFC] dmaengine: Create symlinks from DMA channels to slaves

2019-06-10 Thread Vinod Koul
On 07-06-19, 13:38, Geert Uytterhoeven wrote: > Currently it is not easy to find out which DMA channels are in use, and > by which slave devices. > > Fix this by creating in sysfs a "slave" symlink from the DMA channel to > the actual slave device when a channel is requested, and removing it >

Re: [RFC PATCH 1/6] ASoC: core: add support to snd_soc_dai_get_sdw_stream()

2019-06-10 Thread Srinivas Kandagatla
On 10/06/2019 05:34, Vinod Koul wrote: On 07-06-19, 09:56, Srinivas Kandagatla wrote: On platforms which have smart speaker amplifiers connected via soundwire and modeled as aux devices in ASoC, in such usecases machine driver should be able to get sdw master stream from dai so that it can

[PATCH v2] arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards

2019-06-10 Thread xieqinick
From: Nick Xie Add devicetree support for Khadas Edge/Edge-V/Captain boards. Khadas Edge is an expandable Rockchip RK3399 board with goldfinger. Khadas Captain is the carrier board for Khadas Edge. Khadas Edge-V is a Khadas VIM form factor Rockchip RK3399 board. Signed-off-by: Nick Xie ---

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-10 Thread Jon Hunter
On 07/06/2019 14:35, Peter Ujfalusi wrote: > > > On 07/06/2019 15.58, Jon Hunter wrote: >>> Imho if you can explain it without using 'HACK' in the sentences it >>> might be OK, but it does not feel right. >> >> I don't perceive this as a hack. Although from looking at the >> description of the

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-10 Thread Jon Hunter
On 07/06/2019 21:53, Dmitry Osipenko wrote: > 07.06.2019 16:35, Peter Ujfalusi пишет: >> >> >> On 07/06/2019 15.58, Jon Hunter wrote: Imho if you can explain it without using 'HACK' in the sentences it might be OK, but it does not feel right. >>> >>> I don't perceive this as a hack.

Re: [PATCH 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list

2019-06-10 Thread Lee Jones
On Fri, 07 Jun 2019, Bjorn Andersson wrote: > On Wed 05 Jun 04:42 PDT 2019, Lee Jones wrote: > > > When booting MSM based platforms with Device Tree or some ACPI > > implementations, it is possible to provide a list of reserved pins > > via the 'gpio-reserved-ranges' and 'gpios' properties

Re: [PATCH bpf v2] xdp: fix hang while unregistering device bound to xdp socket

2019-06-10 Thread Ilya Maximets
On 08.06.2019 2:31, Jakub Kicinski wrote: > On Fri, 7 Jun 2019 20:31:43 +0300, Ilya Maximets wrote: >> +static int xsk_notifier(struct notifier_block *this, >> +unsigned long msg, void *ptr) >> +{ >> +struct sock *sk; >> +struct net_device *dev =

Re: [PATCH v2] intel_th: msu: Fix unused variable warning on arm64 platform

2019-06-10 Thread Zhangshaokun
Hi Alexander, A gentle ping. On 2019/5/20 19:32, Shaokun Zhang wrote: > drivers/hwtracing/intel_th/msu.c: In function ‘msc_buffer_win_alloc’: > drivers/hwtracing/intel_th/msu.c:783:21: warning: unused variable ‘i’ > [-Wunused-variable] > int ret = -ENOMEM, i; > ^ >

Re: [PATCH 1/2] mfd: core: Support multiple OF child devices of the same type

2019-06-10 Thread Lee Jones
On Thu, 06 Jun 2019, Robert Hancock wrote: > On 2019-06-05 11:27 p.m., Lee Jones wrote: > Without having the .of_full_name support, both MFD cells ended up > wrongly matching against the i2c@c device tree node since we just > picked the first one where of_compatible matched. >

Re: [PATCH 4.19 00/51] 4.19.50-stable review

2019-06-10 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:17, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.50 release. > There are 51 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v1 1/3] clocksource/drivers/tegra: Remove duplicated use of per_cpu_ptr

2019-06-10 Thread Daniel Lezcano
Hi Dmitry, On 09/06/2019 21:27, Dmitry Osipenko wrote: > It was left unnoticed by accident, which means that the code could be > cleaned up a tad more. > > Signed-off-by: Dmitry Osipenko > --- > drivers/clocksource/timer-tegra.c | 40 +++ > 1 file changed, 25

I NEED YOUR PARTNERSHIP.

2019-06-10 Thread DR. OMAR KALIFA
-- Hello, Compliment of the season. My name is Dr. Omar Kalifa. i work with one of the reputable banks here in West Africa.I have a lucrative and profitable business to discuse with you. Reply if you are intersted for more details. Regards, Dr. Omar Kalifa

Re: [RFC PATCH 5/6] dt-bindings: soundwire: add bindings for Qcom controller

2019-06-10 Thread Srinivas Kandagatla
On 10/06/2019 05:51, Vinod Koul wrote: On 07-06-19, 09:56, Srinivas Kandagatla wrote: This patch adds bindings for Qualcomm soundwire controller. Qualcomm SoundWire Master controller is present in most Qualcomm SoCs either integrated as part of WCD audio codecs via slimbus or as part of SOC

[PATCH v5 02/15] Revert "ARM: dts: imx6: Use correct SDMA script for SPI cores"

2019-06-10 Thread yibin . gong
From: Robin Gong There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS ->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ Reference Manual. SDMA provide the corresponding

[PATCH v5 06/15] spi: imx: fix ERR009165

2019-06-10 Thread yibin . gong
From: Robin Gong Change to XCH mode even in dma mode, please refer to the below errata: https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf Signed-off-by: Robin Gong Acked-by: Mark Brown --- drivers/spi/spi-imx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff

[PATCH v5 12/15] ARM: dts: imx6ul: add dma support on ecspi

2019-06-10 Thread yibin . gong
From: Robin Gong Add dma support on ecspi. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6ul.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index fc388b8..4a34316 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi

[PATCH v5 04/15] dmaengine: imx-sdma: remove dupilicated sdma_load_context

2019-06-10 Thread yibin . gong
From: Robin Gong Since sdma_transfer_init() will do sdma_load_context before any sdma transfer, no need once more in sdma_config_channel(). Signed-off-by: Robin Gong Acked-by: Vinod Koul --- drivers/dma/imx-sdma.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v5 00/15] add ecspi ERR009165 for i.mx6/7 soc family

2019-06-10 Thread yibin . gong
From: Robin Gong There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO transfer to be send twice in DMA mode. Please get more information from: https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf. The workaround is adding new sdma ram script which works in XCH mode as PIO inside sdma

[PATCH v5 10/15] dma: imx-sdma: add i.mx6ul/6sx compatible name

2019-06-10 Thread yibin . gong
From: Robin Gong Add i.mx6ul and i.mx6sx compatible name in binding doc. Signed-off-by: Robin Gong --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt

[PATCH v5 11/15] dmaengine: imx-sdma: fix ecspi1 rx dma not work on i.mx8mm

2019-06-10 Thread yibin . gong
From: Robin Gong Because the number of ecspi1 rx event on i.mx8mm is 0, the condition check ignore such special case without dma channel enabled, which caused ecspi1 rx works failed. Actually, no need to check event_id0/event_id1 and replace checking 'event_id1' with 'DMA_DEV_TO_DEV', so that

[PATCH v5 13/15] ARM: dts: imx6sll: correct sdma compatible

2019-06-10 Thread yibin . gong
From: Robin Gong Correct sdma compatible since ecspi errata ERR009165 has been fixed on i.mx6sll as i.mx6ul. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6sll.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6sll.dtsi

I BRING CALVARY GREETNG FROM MRS.SUZAN BONI.

2019-06-10 Thread suzanboni
-- Dear friend. I got your details after an extensive on-line search Via (Network Power Charitable Trust) for a reliable person, I'm Mrs.Suzan Boni, a 57years old dying woman who was diagnosed for cancer about 4 years ago, I have decided to donate my fund ($2,000,000.00) to you for charitable

Re: [PATCH] vsprintf: fix data type of variable in string_nocheck()

2019-06-10 Thread Sergey Senozhatsky
On (06/10/19 16:47), 남영민 wrote: > This patch fixes data type of precision with int. > The precision is declared as signed int in struct printf_spec. > > Signed-off-by: Youngmin Nam Looks OK to me. FWIW Reviewed-by: Sergey Senozhatsky -ss

[PATCH v5 09/15] dmaengine: imx-sdma: remove ERR009165 on i.mx6ul

2019-06-10 Thread yibin . gong
From: Robin Gong ECSPI issue fixed from i.mx6ul at hardware level, no need ERR009165 anymore on those chips such as i.mx8mq. Add i.mx6sx from where i.mx6ul source. Signed-off-by: Robin Gong Acked-by: Vinod Koul --- drivers/dma/imx-sdma.c | 51

[PATCH v5 08/15] spi: imx: add new i.mx6ul compatible name in binding doc

2019-06-10 Thread yibin . gong
From: Robin Gong ERR009165 fixed from i.mx6ul, add its compatible name in binding doc. Signed-off-by: Robin Gong Acked-by: Mark Brown --- Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 07/15] spi: imx: remove ERR009165 workaround on i.mx6ul

2019-06-10 Thread yibin . gong
From: Robin Gong ERR009165 fixed on i.mx6ul/6ull/6sll. All other i.mx6/7 and i.mx8m/8mm still need this errata. Please refer to nxp official errata document from https://www.nxp.com/ . For removing workaround on those chips. Add new i.mx6ul type. Signed-off-by: Robin Gong Acked-by: Mark Brown

[PATCH v5 01/15] Revert "ARM: dts: imx6q: Use correct SDMA script for SPI5 core"

2019-06-10 Thread yibin . gong
From: Robin Gong There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS ->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ Reference Manual. SDMA provide the corresponding

  1   2   3   4   5   6   7   8   9   >