Re: [PATCH v4 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC

2020-07-11 Thread Ramuthevar, Vadivel MuruganX
Hi, On 10/7/2020 2:08 pm, Felipe Balbi wrote: Hi, "Ramuthevar,Vadivel MuruganX" writes: From: Ramuthevar Vadivel Murugan Add support for USB PHY on Intel LGM SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/usb/phy/Kconfig | 11 ++ drivers/usb/phy/Makefile |

Re: [PATCH bpf-next 1/5] bpf: block bpf_get_[stack|stackid] on perf_event with PEBS entries

2020-07-11 Thread Andrii Nakryiko
On Fri, Jul 10, 2020 at 11:28 PM Song Liu wrote: > > > > > On Jul 10, 2020, at 8:53 PM, Andrii Nakryiko > > wrote: > > > > On Fri, Jul 10, 2020 at 6:30 PM Song Liu wrote: > >> > >> Calling get_perf_callchain() on perf_events from PEBS entries may cause > >> unwinder errors. To fix this issue,

[PATCH v3 0/2] Syscall user redirection

2020-07-11 Thread Gabriel Krisman Bertazi
Hi, This is the v3 of the syscall user redirection patch, applying the suggestions from Matthew and Kees. In particular, it modifies the ABI to allow passing a range of allowed addresses and introduces kselftests for the feature. RFC/v1: https://lkml.org/lkml/2020/7/8/96 v2:

[PATCH v3 2/2] selftests: Add kselftest for syscall user dispatch

2020-07-11 Thread Gabriel Krisman Bertazi
Implement functionality tests for syscall user dispatch. In order to make the test portable, refrain from open coding syscall dispatchers and calculating glibc memory ranges. Signed-off-by: Gabriel Krisman Bertazi --- tools/testing/selftests/Makefile | 1 +

[PATCH v3 1/2] kernel: Implement selective syscall userspace redirection

2020-07-11 Thread Gabriel Krisman Bertazi
Introduce a mechanism to quickly disable/enable syscall handling for a specific process and redirect to userspace via SIGSYS. This is useful for processes with parts that require syscall redirection and parts that don't, but who need to perform this boundary crossing really fast, without paying

[PATCH v6 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-11 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 57

[PATCH v6 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-11 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

[PATCH v6 0/2] shtc1: add support for device tree bindings

2020-07-11 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 6 fix

arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available

2020-07-11 Thread kernel test robot
Hi Jason, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0aea6d5c5be33ce94c16f9ab2f64de1f481f424b commit: 07b586fe06625b0b610dc3d3a969c51913d143d4 crypto: x86/curve25519 - replace with formally verified

[PATCH v3 3/3] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-07-11 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. This is case 5 as per document [1]. [1] Documentation/core-api/pin_user_pages.rst [2] "Explicit pinning of user-space pages":

[PATCH v3 2/3] xen/privcmd: Mark pages as dirty

2020-07-11 Thread Souptick Joarder
pages need to be marked as dirty before unpinned it in unlock_pages() which was oversight. This is fixed now. Signed-off-by: Souptick Joarder Suggested-by: John Hubbard Reviewed-by: Juergen Gross Cc: John Hubbard Cc: Boris Ostrovsky Cc: Paul Durrant --- drivers/xen/privcmd.c | 5 - 1

[PATCH v3 0/3] Few bug fixes and Convert to pin_user_pages*()

2020-07-11 Thread Souptick Joarder
This series contains few clean up, minor bug fixes and Convert get_user_pages() to pin_user_pages(). I'm compile tested this, but unable to run-time test, so any testing help is much appriciated. v2: Addressed few review comments and compile issue. Patch[1/2] from v1 split into 2

[PATCH v3 1/3] xen/privcmd: Corrected error handling path

2020-07-11 Thread Souptick Joarder
Previously, if lock_pages() end up partially mapping pages, it used to return -ERRNO due to which unlock_pages() have to go through each pages[i] till *nr_pages* to validate them. This can be avoided by passing correct number of partially mapped pages & -ERRNO separately, while returning from

Re: [RFC PATCH v3] scsi: ufs: Quiesce all scsi devices before shutdown

2020-07-11 Thread Bart Van Assche
On 2020-07-06 06:22, Stanley Chu wrote: > +static void ufshcd_cleanup_queue(struct scsi_device *sdev, void *data) > +{ > + if (sdev->request_queue) > + blk_cleanup_queue(sdev->request_queue); > +} No SCSI LLD should ever call blk_cleanup_queue() directly for sdev->request_queue.

Re: [PATCH v4 4/4] PCI/ACS: Enable PCI_ACS_TB for untrusted/external-facing devices

2020-07-11 Thread Bjorn Helgaas
On Sat, Jul 11, 2020 at 05:08:51PM -0700, Rajat Jain wrote: > On Sat, Jul 11, 2020 at 12:53 PM Bjorn Helgaas wrote: > > On Fri, Jul 10, 2020 at 03:53:59PM -0700, Rajat Jain wrote: > > > On Fri, Jul 10, 2020 at 2:29 PM Raj, Ashok wrote: > > > > On Fri, Jul 10, 2020 at 03:29:22PM -0500, Bjorn

RE: [PATCH 1/3] gpio: mxc: Support module build

2020-07-11 Thread Anson Huang
Hi, Linus > Subject: Re: [PATCH 1/3] gpio: mxc: Support module build > > On Wed, Jul 8, 2020 at 1:28 AM Anson Huang > wrote: > > > subsys_initcall(gpio_mxc_init); > > + > > +MODULE_AUTHOR("Shawn Guo "); > > +MODULE_DESCRIPTION("i.MX GPIO Driver"); MODULE_LICENSE("GPL"); > > You are making

Re: [RFC PATCH v3] scsi: ufs: Quiesce all scsi devices before shutdown

2020-07-11 Thread Stanley Chu
Hi Bart, Avri, May I know if you have any suggestion for this RFC fix? Very appreciated : ) On Mon, 2020-07-06 at 21:22 +0800, Stanley Chu wrote: > Currently I/O request could be still submitted to UFS device while > UFS is working on shutdown flow. This may lead to racing as below > scenarios

RE: [PATCH v3] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-11 Thread Stanley Chu
Hi Avri, On Thu, 2020-07-09 at 08:31 +, Avri Altman wrote: > > > > If somehow no interrupt notification is raised for a completed request > > and its doorbell bit is cleared by host, UFS driver needs to cleanup > > its outstanding bit in ufshcd_abort(). > Theoretically, this case is already

[Patch v2 0/4] tracing: trivial cleanup

2020-07-11 Thread Wei Yang
Some trivial cleanup for tracing. v2: * drop patch 1 * merge patch 4 & 5 * introduce a new patch change the return value of tracing_init_dentry() Wei Yang (4): tracing: simplify the logic by defining next to be "lasst + 1" tracing: save one trace_event->type by using __TRACE_LAST_TYPE

[Patch v2 1/4] tracing: simplify the logic by defining next to be "lasst + 1"

2020-07-11 Thread Wei Yang
The value to be used and compared in trace_search_list() is "last + 1". Let's just define next to be "last + 1" instead of doing the addition each time. Signed-off-by: Wei Yang --- kernel/trace/trace_output.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[Patch v2 3/4] tracing: toplevel d_entry already initialized

2020-07-11 Thread Wei Yang
Currently we have following call flow: tracer_init_tracefs() tracing_init_dentry() event_trace_init() tracing_init_dentry() This shows tracing_init_dentry() is called twice in this flow and this is not necessary. Let's remove the second one when it is for sure be

[Patch v2 4/4] tracing: make tracing_init_dentry() returns an integer instead of a d_entry pointer

2020-07-11 Thread Wei Yang
Current tracing_init_dentry() return a d_entry pointer, while is not necessary. This function returns NULL on success or error on failure, which means there is no valid d_entry pointer return. Let's return 0 on success and negative value for error. Signed-off-by: Wei Yang ---

[Patch v2 2/4] tracing: save one trace_event->type by using __TRACE_LAST_TYPE

2020-07-11 Thread Wei Yang
Static defined trace_event->type stops at (__TRACE_LAST_TYPE - 1) and dynamic trace_event->type starts from (__TRACE_LAST_TYPE + 1). To save one trace_event->type index, let's use __TRACE_LAST_TYPE. Signed-off-by: Wei Yang --- kernel/trace/trace_output.c | 4 ++-- 1 file changed, 2

Re: [RFC PATCH v2] scsi: ufs-mediatek: add inline encryption support

2020-07-11 Thread Stanley Chu
Hi Eric, On Thu, 2020-07-09 at 23:39 -0700, Eric Biggers wrote: > Hi Stanley, > > On Wed, Mar 04, 2020 at 10:21:02AM +0800, Stanley Chu wrote: > > Add inline encryption support to ufs-mediatek. > > > > The standards-compliant parts, such as querying the crypto capabilities > > and enabling

[PATCH v3] scsi: ufs-mediatek: Add inline encryption support

2020-07-11 Thread Stanley Chu
Add inline encryption support to ufs-mediatek. The standards-compliant parts, such as querying the crypto capabilities and enabling crypto for individual UFS requests, are already handled by ufshcd-crypto.c, which itself is wired into the blk-crypto framework. However MediaTek UFS host requires

Re: [PATCH v4 4/4] PCI/ACS: Enable PCI_ACS_TB for untrusted/external-facing devices

2020-07-11 Thread Rajat Jain
On Sat, Jul 11, 2020 at 12:53 PM Bjorn Helgaas wrote: > > On Fri, Jul 10, 2020 at 03:53:59PM -0700, Rajat Jain wrote: > > On Fri, Jul 10, 2020 at 2:29 PM Raj, Ashok wrote: > > > On Fri, Jul 10, 2020 at 03:29:22PM -0500, Bjorn Helgaas wrote: > > > > On Tue, Jul 07, 2020 at 03:46:04PM -0700, Rajat

Re: [PATCH v5 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-11 Thread Chris Ruehl
Morning, On 11/7/2020 6:05 pm, Chris Ruehl wrote: On 11/7/2020 12:31 am, Rob Herring wrote: On Fri, 10 Jul 2020 10:15:35 +0800, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a

[PATCH] Input: break joystick limitation of maximum 80 buttons

2020-07-11 Thread Wei Shuai
The joystick max buttons 80 limitation comes from #define BTN_JOYSTICK 0x120 #define BTN_DEAD 0x12f #define BTN_TRIGGER_HAPPY 0x2c0 #define KEY_MAX 0x2ff include/uapi/linux/input-event-codes.h according to function hidinput_configure_usage() in file drivers/hid/hid-input.c the joystick button

linux-next: Signed-off-by missing for commit in the risc-v tree

2020-07-11 Thread Stephen Rothwell
Hi all, Commit 95ce6c73da3b ("riscv: Enable context tracking") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpcrOHvPrWhw.pgp Description: OpenPGP digital signature

Re: WARNING: at mm/mremap.c:211 move_page_tables in i386

2020-07-11 Thread Joel Fernandes
On Sat, Jul 11, 2020 at 11:12:58AM -0700, Linus Torvalds wrote: > On Sat, Jul 11, 2020 at 10:27 AM Naresh Kamboju > wrote: > > > > I have started bisecting this problem and found the first bad commit > > Thanks for the effort. Bisection is often a great tool to figure out > what's wrong. > >

Re: [PATCH v2 net] net: fec: fix hardware time stamping by external devices

2020-07-11 Thread Vladimir Oltean
Hi Sergey, On Sat, Jul 11, 2020 at 03:08:42PM +0300, Sergey Organov wrote: > Fix support for external PTP-aware devices such as DSA or PTP PHY: > > Make sure we never time stamp tx packets when hardware time stamping > is disabled. > > Check for PTP PHY being in use and then pass ioctls related

Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"

2020-07-11 Thread Jason A. Donenfeld
On Sun, Jun 21, 2020 at 9:02 PM Jason A. Donenfeld wrote: > This commit broke userspace. Bash uses ESPIPE to determine whether or > not the file should be read using "unbuffered I/O", which means reading > 1 byte at a time instead of 128 bytes at a time. I used to use bash to > read through kmsg

Re: [PATCH v5] x86/umip: Add emulation/spoofing for SLDT and STR instructions

2020-07-11 Thread hpa
On July 10, 2020 3:45:25 PM PDT, Brendan Shanks wrote: >Add emulation/spoofing of SLDT and STR for both 32- and 64-bit >processes. > >Wine users have found a small number of Windows apps using SLDT that >were crashing when run on UMIP-enabled systems. > >Reported-by: Andreas Rammhold

Re: [PATCH v6 1/4] ACPI/PCI: Ignore _OSC negotiation result if pcie_ports_native is set.

2020-07-11 Thread Kuppuswamy, Sathyanarayanan
Hi Bjorn, On 7/9/20 4:07 PM, Bjorn Helgaas wrote: On Fri, Jun 26, 2020 at 11:32:33AM -0700, sathyanarayanan.kuppusw...@linux.intel.com wrote: From: Kuppuswamy Sathyanarayanan pcie_ports_native is set only if user requests native handling of PCIe capabilities via pcie_port_setup command line

Re: [PATCH] net: sky2: switch from 'pci_' to 'dma_' API

2020-07-11 Thread Joe Perches
On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. why?

Re: [PATCH] pinctrl: initialise nsp-mux earlier.

2020-07-11 Thread Linus Walleij
On Sat, Jul 11, 2020 at 11:09 PM Florian Fainelli wrote: > On 7/11/2020 2:07 PM, Linus Walleij wrote: > > I never got an updated patch. My last message was: > > > >>> so you mean something like this? > >>> > >>> if (err == -EPROBE_DEFER) > >>> dev_info(dev, "deferring probe\n") > >>>

Re: [PATCH 1/3] gpio: mxc: Support module build

2020-07-11 Thread Linus Walleij
On Wed, Jul 8, 2020 at 1:28 AM Anson Huang wrote: > subsys_initcall(gpio_mxc_init); > + > +MODULE_AUTHOR("Shawn Guo "); > +MODULE_DESCRIPTION("i.MX GPIO Driver"); > +MODULE_LICENSE("GPL"); You are making this modualrizable but keeping the subsys_initcall(), which doesn't make very much sense.

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:3002:63: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-07-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1df0d8960499e58963fd6c8ac75e544f2b417b29 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 3 weeks ago config: i386-randconfig-s002-20200712 (attached

Re: [PATCH v4 0/2] pinctrl: single: support #pinctrl-cells = 2

2020-07-11 Thread Linus Walleij
On Tue, Jul 7, 2020 at 1:02 PM Drew Fustini wrote: > Which repo/branch is the best for me to use if I am going to be > posting any further dts patches? Mine, pinctrl devel branch during this (v5.9) cycle I suppose. Yours, Linus Walleij

Re: [PATCH V2] pinctrl: qcom: ipq8074: route gpio interrupts to APPS

2020-07-11 Thread Linus Walleij
On Tue, Jul 7, 2020 at 9:40 AM Kathiravan T wrote: > set target proc as APPS to route the gpio interrupts to APPS > > Co-developed-by: Rajkumar Ayyasamy > Signed-off-by: Rajkumar Ayyasamy > Signed-off-by: Kathiravan T Patch applied. Yours, Linus Walleij

Re: [PATCH v2] pinctrl: nsp: Set irq handler based on trig type

2020-07-11 Thread Linus Walleij
On Fri, Jul 3, 2020 at 3:18 AM Mark Tomlinson wrote: > Rather than always using handle_simple_irq() as the gpio_irq_chip > handler, set a more appropriate handler based on the IRQ trigger type > requested. This is important for level triggered interrupts which need > to be masked during

Re: [PATCH] pinctrl: initialise nsp-mux earlier.

2020-07-11 Thread Florian Fainelli
On 7/11/2020 2:07 PM, Linus Walleij wrote: > On Wed, Jul 1, 2020 at 6:44 AM Florian Fainelli wrote: >> On 6/30/2020 9:37 PM, Mark Tomlinson wrote: > >>> That was one of my thoughts too. I found someone had tried that >>> earlier, but it was rejected: >>> >>> >>>

Re: [PATCH] pinctrl: initialise nsp-mux earlier.

2020-07-11 Thread Linus Walleij
On Wed, Jul 1, 2020 at 6:44 AM Florian Fainelli wrote: > On 6/30/2020 9:37 PM, Mark Tomlinson wrote: > > That was one of my thoughts too. I found someone had tried that > > earlier, but it was rejected: > > > > > >

drivers/net/ethernet/netronome/nfp/crypto/tls.c:477:18: warning: variable 'ipv6h' set but not used

2020-07-11 Thread kernel test robot
Hi Jakub, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1df0d8960499e58963fd6c8ac75e544f2b417b29 commit: 6a35ddc5445a8291ced6247a67977e110275acde nfp: tls: implement the stream sync RX resync date: 7 months ago

Re: Linux kernel in-tree Rust support

2020-07-11 Thread Josh Triplett
On Fri, Jul 10, 2020 at 04:54:11PM -0700, Linus Torvalds wrote: > On Fri, Jul 10, 2020 at 3:59 PM Josh Triplett wrote: > > As I recall, Greg's biggest condition for initial introduction of this > > was to do the same kind of "turn this Kconfig option on and turn an > > option under it off" trick

Re: [PATCH RFC] leds: Add support for per-LED device triggers

2020-07-11 Thread Ondřej Jirman
Hello Pavel, On Sat, Jul 11, 2020 at 12:04:09PM +0200, Pavel Machek wrote: > Hi! > > > Some LED controllers may come with an internal HW triggering mechanism > > for the LED and an ability to switch between user control of the LED, > > or the internal control. One such example is AXP20X PMIC,

[PATCH] net: sky2: switch from 'pci_' to 'dma_' API

2020-07-11 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GPF_ with a correct flag. It has been compile tested. When memory is allocated in 'sky2_alloc_buffers()', GFP_KERNEL can be used

thinkpad x60: oops in eb_relocate_dma in next-20200710

2020-07-11 Thread Pavel Machek
Hi! I attempted to suspend x60, but it did not work well... Machine is too messed up to pull more debug info from it :-(. Best regards, Pavel [11645.369495] wlan0: RX AssocResp from 5c:f4:ab:10:d2:bb (capab=0x411 status=0 aid=2)

[PATCH v2] hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives

2020-07-11 Thread Maciej S. Szmigiero
It has been observed that Toshiba DT01ACA family drives have WRITE FPDMA QUEUED command timeouts and sometimes just freeze until power-cycled under heavy write loads when their temperature is getting polled in SCT mode. The SMART mode seems to be fine, though. Let's make sure we don't use SCT

[PATCH] net: skge: switch from 'pci_' to 'dma_' API

2020-07-11 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GPF_ with a correct flag. It has been compile tested. When memory is allocated in 'skge_up()', GFP_KERNEL can be used because some

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-11 Thread josh
On Wed, Jul 08, 2020 at 11:14:27AM -0700, Dan Williams wrote: > Linux maintains a coding-style and its own idiomatic set of terminology. > Update the style guidelines to recommend replacements for the terms > master/slave and blacklist/whitelist. > > Link: >

Re: [PATCH v29 00/16] Multicolor Framework v29

2020-07-11 Thread Pavel Machek
On Sat 2020-07-04 14:47:29, Pavel Machek wrote: > Hi! > > > This is the multi color LED framework. This framework presents clustered > > colored LEDs into an array and allows the user space to adjust the > > brightness > > of the cluster using a single file write. The individual colored LEDs

Re: [PATCH] MIPS: CI20: DTS: Correcting IW8103 Wifi binding

2020-07-11 Thread H. Nikolaus Schaller
Hi Alexandre, > Am 06.07.2020 um 22:22 schrieb Alexandre GRIVEAUX : > > Le 06/07/2020 à 13:15, H. Nikolaus Schaller a écrit : >> Hi Alexandre, >> >>> Am 05.07.2020 um 12:32 schrieb agrive...@deutnet.info: >>> >>> From: Alexandre GRIVEAUX >>> >>> Use brcm,bcm4329-fmac instead of

Re: [PATCH v29 13/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-07-11 Thread Pavel Machek
On Sat 2020-07-11 19:19:22, Jacek Anaszewski wrote: > On 7/11/20 5:57 PM, Pavel Machek wrote: > > Hi! > > > > > Add the multicolor brightness call back to support the multicolor > > > framework. This call back allows setting brightness on grouped channels > > > > Extra space before

[GIT PULL] RISC-V Fixes for 5.8-rc5 (ideally)

2020-07-11 Thread Palmer Dabbelt
The following changes since commit dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258: Linux 5.8-rc4 (2020-07-05 16:20:22 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.8-rc5 for you to fetch changes up to

Re: [PATCH net-next] ptp: add debugfs support for IDT family of timing devices

2020-07-11 Thread Andrew Lunn
On Fri, Jul 10, 2020 at 11:41:25AM -0400, min.li...@renesas.com wrote: > From: Min Li > > This patch is to add debugfs support for ptp_clockmatrix and ptp_idt82p33. > It will create a debugfs directory called idtptp{x} and x is the ptp index. > Three inerfaces are present, which are cmd, help

Re: [PATCH v4 4/4] PCI/ACS: Enable PCI_ACS_TB for untrusted/external-facing devices

2020-07-11 Thread Bjorn Helgaas
On Fri, Jul 10, 2020 at 03:53:59PM -0700, Rajat Jain wrote: > On Fri, Jul 10, 2020 at 2:29 PM Raj, Ashok wrote: > > On Fri, Jul 10, 2020 at 03:29:22PM -0500, Bjorn Helgaas wrote: > > > On Tue, Jul 07, 2020 at 03:46:04PM -0700, Rajat Jain wrote: > > > > When enabling ACS, enable translation

Re: [PATCH 1/1] clk: qcom: smd: Add support for MSM8992/4 rpm clocks

2020-07-11 Thread Bjorn Andersson
On Wed 24 Jun 15:32 PDT 2020, Stephen Boyd wrote: > Quoting Konrad Dybcio (2020-06-24 08:09:18) > > I should also note that for quite some time a hack [1] > > has been needed on some platforms for the RPMCC to register. > > > > This includes 8992/94, 8956/76 and possibly many more. > > > > With

[ANNOUNCE] 4.14.188-rt87

2020-07-11 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.14.188-rt87 stable release. This is strictly a merge of stable kernels v4.14.187 and v4.14.188, no updates to the PREEMPT_RT series. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

[ANNOUNCE] 4.9.230-rt148

2020-07-11 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.9.230-rt148 stable release. Since the 4.9 RT kernel is in maintenance mode this is just a merge of the v4.9.229 and v4.9.230 stable updates. No changes to the PREEMPT_RT series. You can get this release via the git tree at:

Re: [PATCH -next] : add stub for of_get_next_parent() to fix qcom build error

2020-07-11 Thread Bjorn Andersson
On Fri 10 Jul 16:40 PDT 2020, Randy Dunlap wrote: > On 7/10/20 8:28 AM, Rob Herring wrote: > > On Mon, Jun 29, 2020 at 10:43 AM Randy Dunlap wrote: > >> > >> From: Randy Dunlap > >> > >> Fix a (COMPILE_TEST) build error when CONFIG_OF is not set/enabled > >> by adding a stub for

Re: [PATCH 17/26] mm/riscv: Use general page fault accounting

2020-07-11 Thread Palmer Dabbelt
On Fri, 26 Jun 2020 15:36:25 PDT (-0700), pet...@redhat.com wrote: Use the general page fault accounting by passing regs into handle_mm_fault(). It naturally solve the issue of multiple page fault accounting when page fault retry happened. CC: Paul Walmsley CC: Palmer Dabbelt CC: Albert Ou

[GIT PULL] SCSI fixes for 5.8-rc4

2020-07-11 Thread James Bottomley
Five small fixes, four in driver and one in the SCSI Parallel transport, which fixes an incredibly old bug so I suspect no-one has actually used the functionality it fixes. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog

Re: [PATCH net-next] ptp: add debugfs support for IDT family of timing devices

2020-07-11 Thread Andrew Lunn
On Sat, Jul 11, 2020 at 11:38:39AM -0700, Richard Cochran wrote: > On Sat, Jul 11, 2020 at 06:38:06PM +0200, Andrew Lunn wrote: > > But configuration does not belong in debugfs. It would be good to > > explain what is being configured by these parameters, then we can > > maybe make a suggestion

Re: [PATCH net-next v2 2/2] net: phy: DP83822: Add ability to advertise Fiber connection

2020-07-11 Thread Andrew Lunn
> @@ -302,6 +357,48 @@ static int dp83822_config_init(struct phy_device *phydev) > } > } > > + if (dp83822->fx_enabled) { > + err = phy_modify(phydev, MII_DP83822_CTRL_2, > + DP83822_FX_ENABLE, 1); > + if (err < 0) > +

Re: [PATCH net-next v2 2/2] net: phy: DP83822: Add ability to advertise Fiber connection

2020-07-11 Thread Andrew Lunn
> +#define MII_DP83822_FIBER_ADVERTISE (SUPPORTED_AUI | SUPPORTED_FIBRE | \ > + SUPPORTED_BNC | SUPPORTED_Pause | \ > + SUPPORTED_Asym_Pause | \ > + SUPPORTED_100baseT_Full) > + > +

Re: [PATCH] xen: introduce xen_vring_use_dma

2020-07-11 Thread Michael S. Tsirkin
On Fri, Jul 10, 2020 at 10:23:22AM -0700, Stefano Stabellini wrote: > Sorry for the late reply -- a couple of conferences kept me busy. > > > On Wed, 1 Jul 2020, Michael S. Tsirkin wrote: > > On Wed, Jul 01, 2020 at 10:34:53AM -0700, Stefano Stabellini wrote: > > > Would you be in favor of a

Re: [PATCH net-next] ptp: add debugfs support for IDT family of timing devices

2020-07-11 Thread Richard Cochran
On Sat, Jul 11, 2020 at 06:38:06PM +0200, Andrew Lunn wrote: > But configuration does not belong in debugfs. It would be good to > explain what is being configured by these parameters, then we can > maybe make a suggestion about the correct API to use. Can we at least enumerate the possibilities?

drivers/gpu/drm/i915/i915_sw_fence.c:84:20: error: unused function 'debug_fence_init_onstack'

2020-07-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1df0d8960499e58963fd6c8ac75e544f2b417b29 commit: 6863f5643dd717376c2fdc85a47a00f9d738a834 kbuild: allow Clang to find unused static inline functions for W=1 build date: 10 months ago config:

Re: [RFC 07/12] media: uapi: h264: Add DPB entry field reference flags

2020-07-11 Thread Nicolas Dufresne
Le samedi 11 juillet 2020 à 10:21 +, Jonas Karlman a écrit : > On 2020-07-10 23:49, Nicolas Dufresne wrote: > > Le vendredi 10 juillet 2020 à 09:25 -0300, Ezequiel Garcia a écrit : > > > +Nicolas > > > > > > On Fri, 2020-07-10 at 14:05 +0200, Boris Brezillon wrote: > > > > On Fri, 10 Jul 2020

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-11 Thread Andrew Lunn
On Fri, Jul 10, 2020 at 02:08:51PM +0200, Oleksij Rempel wrote: > This patch support for cable test for the ksz886x switches and the > ksz8081 PHY. > > The patch was tested on a KSZ8873RLL switch with following results: > > - port 1: > - cannot detect any distance > - provides inverted

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-11 Thread Andrew Lunn
On Fri, Jul 10, 2020 at 02:08:51PM +0200, Oleksij Rempel wrote: > This patch support for cable test for the ksz886x switches and the > ksz8081 PHY. > > The patch was tested on a KSZ8873RLL switch with following results: > > - port 1: > - cannot detect any distance > - provides inverted

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.8-6 tag

2020-07-11 Thread pr-tracker-bot
The pull request you sent on Sat, 11 Jul 2020 21:50:20 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.8-6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/997c4431f04d8f0d6063bac3bcdceba8d939b879 Thank you! --

Re: [GIT PULL] xen: branch for v5.8-rc5

2020-07-11 Thread pr-tracker-bot
The pull request you sent on Sat, 11 Jul 2020 14:52:24 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.8b-rc5-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0aea6d5c5be33ce94c16f9ab2f64de1f481f424b Thank you! -- Deet-doot-dot,

[PATCH 2/2] locking/pvqspinlock: Optionally store lock holder cpu into lock

2020-07-11 Thread Waiman Long
The previous patch enables native qspinlock to store lock holder cpu number into the lock word when the lock is acquired via the slowpath. Since PV qspinlock uses atomic unlock, allowing the fastpath and slowpath to put different values into the lock word will further slow down the performance.

[PATCH 1/2] locking/qspinlock: Store lock holder cpu in lock if feasible

2020-07-11 Thread Waiman Long
When doing crash dump analysis with lock, it is cumbersome to find out who the lock holder is. One have to look at the call traces of all the cpus to figure that out. It will be helpful if the lock itself can provide some clue about the lock holder cpu. The locking state is determined by whether

Re: kvm crash on 5.7-rc1 and later

2020-07-11 Thread Peter Zijlstra
On Fri, Jul 03, 2020 at 11:15:31AM -0400, Woody Suwalski wrote: > I am observing a 100% reproducible kvm crash on kernels starting with > 5.7-rc1, always with the same opcode . > It happens during wake up from the host suspended state. Worked OK on 5.6 > and older. > The host is based on

[PATCH 0/2] locking/qspinlock: Allow lock to store lock holder cpu number

2020-07-11 Thread Waiman Long
This patchset modifies the qspinlock code to allow it to store the lock holder cpu number in the lock itself if feasible for easier debugging and crash dump analysis. This lock holder cpu information may also be useful to architectures like PowerPC that needs the lock holder cpu number for better

Re: WARNING: at mm/mremap.c:211 move_page_tables in i386

2020-07-11 Thread Linus Torvalds
On Sat, Jul 11, 2020 at 11:12 AM Linus Torvalds wrote: > > The fact that it seems to happen with > > > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/thp/thp01.c > > makes me think it's somehow related to THP mappings, but I don't see > why those would matter. All

Re: [PATCH 05/11] media: exynos4-is: Improve support for sensors with multiple pads

2020-07-11 Thread Jonathan Bakker
Hi Tomasz, On 2020-07-07 11:13 a.m., Tomasz Figa wrote: > Hi Jonathan, > > On Sat, Apr 25, 2020 at 07:26:44PM -0700, Jonathan Bakker wrote: >> Commit 1c9f5bd7cb8a ("[media] s5p-fimc: Add support for sensors with >> multiple pads") caught the case where a sensor with multiple pads was >>

Re: WARNING: at mm/mremap.c:211 move_page_tables in i386

2020-07-11 Thread Linus Torvalds
On Sat, Jul 11, 2020 at 10:27 AM Naresh Kamboju wrote: > > I have started bisecting this problem and found the first bad commit Thanks for the effort. Bisection is often a great tool to figure out what's wrong. Sadly, in this case: > commit 9f132f7e145506efc0744426cb338b18a54afc3b > Author:

Re: [PATCH] hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives

2020-07-11 Thread Guenter Roeck
On Fri, Jul 10, 2020 at 08:10:03PM +0200, Maciej S. Szmigiero wrote: > It has been observed that Toshiba DT01ACA family drives have > WRITE FPDMA QUEUED command timeouts and sometimes just freeze until > power-cycled under heavy write loads when their temperature is getting > polled in SCT mode.

Re: [PATCH 11/11] media: exynos4-is: Correct parallel port probing

2020-07-11 Thread Jonathan Bakker
Hi Sylwester, On 2020-07-08 9:15 a.m., Sylwester Nawrocki wrote: > Hi, > > On 26.04.2020 04:26, Jonathan Bakker wrote: >> According to the binding doc[1], port A should be reg = 0 >> and port B reg = 1. Unfortunately, the driver was treating 0 >> as invalid and 1 as camera port A. Match the

Re: [PATCH 10/11] media: exynos4-is: Prevent duplicate call to media_pipeline_stop

2020-07-11 Thread Jonathan Bakker
Hi Tomasz, On 2020-07-07 11:44 a.m., Tomasz Figa wrote: > Hi Jonathan, > > On Sat, Apr 25, 2020 at 07:26:49PM -0700, Jonathan Bakker wrote: >> media_pipeline_stop can be called from both release and streamoff, >> so make sure they're both protected under the streaming flag and >> not just one of

Re: [PATCH 0/4] drm: core: Convert logging to drm_* functions.

2020-07-11 Thread Joe Perches
On Sat, 2020-07-11 at 20:41 +0530, Suraj Upadhyay wrote: > On Fri, Jul 10, 2020 at 07:56:43PM +0200, Sam Ravnborg wrote: > > Hi Suraj. > > > > On Tue, Jul 07, 2020 at 10:04:14PM +0530, Suraj Upadhyay wrote: > > > This patchset converts logging to drm_* functions in drm core. > > > > > > The

Re: [PATCH] ALSA: trident: Fix a memory leak in snd_trident_create

2020-07-11 Thread Navid Emamdoost
On Sat, Jul 11, 2020 at 4:04 AM Takashi Iwai wrote: > > On Sat, 11 Jul 2020 09:08:30 +0200, > Navid Emamdoost wrote: > > > > In the implementation of snd_trident_create(), the allocated trident is > > leaked if snd_trident_mixer() fails. Release via snd_trident_free(). > > No, this patch would

Re: [PATCH] xsk: ixgbe: solve the soft interrupt 100% CPU usage when xdp rx traffic congestion

2020-07-11 Thread Jakub Kicinski
On Sat, 11 Jul 2020 18:10:38 +0800 Yahui Chen wrote: > 2. If the wakeup mechanism is used, that is, use the > `XDP_UMEM_USES_NEED_WAKEUP` flag. This method takes advantage of the > interrupt delay function of ixgbe skillfully, thus solving the problem > that the si CPU is always 100%. However, it

Re: [RESEND PATCH v10] dt-bindings: ufs: Add bindings for Samsung ufs host

2020-07-11 Thread Alim Akhtar
Hi Rob Can you please take this via your tree? On Thu, Jun 25, 2020 at 6:20 AM Alim Akhtar wrote: > > This patch adds DT bindings for Samsung ufs hci > > Reviewed-by: Rob Herring > Signed-off-by: Alim Akhtar > --- > > Hi Rob > This is just a rebase on your's dt/next > > This patch was part of

drivers/pinctrl/pinctrl-ingenic.o: warning: objtool: ingenic_pinconf_set() falls through to next function ingenic_pinconf_group_set()

2020-07-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1df0d8960499e58963fd6c8ac75e544f2b417b29 commit: c705cecc8431951b4f34178e6b1db51b4a504c43 objtool: Track original function across branches date: 12 months ago config: x86_64-randconfig-c002-20200711

Re: [PATCH v12 2/2] phy: samsung-ufs: add UFS PHY driver for samsung SoC

2020-07-11 Thread Alim Akhtar
Hi Vinod Gentle Reminder !! On Fri, Jul 3, 2020 at 11:02 PM Alim Akhtar wrote: > > This patch introduces Samsung UFS PHY driver. This driver > supports to deal with phy calibration and power control > according to UFS host driver's behavior. > > [Robot: -Wmissing-prototypes and

Re: [PATCH v5 07/13] pwm: add support for sl28cpld PWM controller

2020-07-11 Thread Michael Walle
Hi Uwe, first of all, thank you for that thorough review. Am 2020-07-09 10:50, schrieb Uwe Kleine-König: On Mon, Jul 06, 2020 at 07:53:47PM +0200, Michael Walle wrote: diff --git a/drivers/pwm/pwm-sl28cpld.c b/drivers/pwm/pwm-sl28cpld.c new file mode 100644 index ..8ee286b605bf

Re: WARNING: at mm/mremap.c:211 move_page_tables in i386

2020-07-11 Thread Naresh Kamboju
On Sat, 11 Jul 2020 at 01:35, Linus Torvalds wrote: > > On Fri, Jul 10, 2020 at 10:48 AM Naresh Kamboju > wrote: I have started bisecting this problem and found the first bad commit commit 9f132f7e145506efc0744426cb338b18a54afc3b Author: Joel Fernandes (Google) Date: Thu Jan 3 15:28:41 2019

INFO: trying to register non-static key in addrconf_notify

2020-07-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=102d01a310 kernel config: https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec

Re: [PATCH v29 13/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-07-11 Thread Jacek Anaszewski
On 7/11/20 5:57 PM, Pavel Machek wrote: Hi! Add the multicolor brightness call back to support the multicolor framework. This call back allows setting brightness on grouped channels Extra space before "brightness". And before "This". -- Best regards, Jacek Anaszewski

Re: [PATCH] regulator: Use const regulator_ops when possible

2020-07-11 Thread Joe Perches
Add const to declaration of struct regulator_ops where appropriate. Signed-off-by: Joe Perches --- Compiled/untested drivers/regulator/dummy.c | 2 +- drivers/regulator/fixed.c | 4 ++-- drivers/regulator/pca9450-regulator.c | 6 +++---

Re: [PATCH v5] x86/umip: Add emulation/spoofing for SLDT and STR instructions

2020-07-11 Thread Andy Lutomirski
On Fri, Jul 10, 2020 at 3:45 PM Brendan Shanks wrote: > > Add emulation/spoofing of SLDT and STR for both 32- and 64-bit > processes. > > Wine users have found a small number of Windows apps using SLDT that > were crashing when run on UMIP-enabled systems. > Acked-by: Andy Lutomirski I tested

Re: Linux kernel in-tree Rust support

2020-07-11 Thread Geoffrey Thomas
On Thu, 9 Jul 2020, Nick Desaulniers wrote: Hello folks, I'm working on putting together an LLVM "Micro Conference" for the upcoming Linux Plumbers Conf (https://www.linuxplumbersconf.org/event/7/page/47-attend). It's not solidified yet, but I would really like to run a session on support for

Re: BUG: stack guard page was hit in fixup_exception

2020-07-11 Thread Andy Lutomirski
On Sat, Jul 11, 2020 at 12:10 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:42f82040 Merge tag 'drm-fixes-2020-07-10' of git://anongit.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=12d8033310 > kernel

general protection fault in htab_elem_free_rcu

2020-07-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d31958b3 Add linux-next specific files for 20200710 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1393585710 kernel config: https://syzkaller.appspot.com/x/.config?x=3fe4fccb94cbc1a6 dashboard

Re: [PATCH 07/11] media: exynos4-is: Add support for multiple sensors on one port

2020-07-11 Thread Jonathan Bakker
Hi Tomasz, On 2020-07-07 11:36 a.m., Tomasz Figa wrote: > On Sat, Apr 25, 2020 at 07:26:46PM -0700, Jonathan Bakker wrote: >> On some devices, there may be multiple camera sensors attached >> to the same port. Make sure we probe all of them, not just the >> first one. >> >> Signed-off-by:

  1   2   3   >