[PATCH v3 07/17] virt: acrn: Introduce an ioctl to set vCPU registers state

2020-09-09 Thread shuo . a . liu
From: Shuo Liu A virtual CPU of User VM has different context due to the different registers state. ACRN userspace needs to set the virtual CPU registers state (e.g. giving a initial registers state to a virtual BSP of a User VM). HSM provides an ioctl ACRN_IOCTL_SET_VCPU_REGS to do the virtual

[PATCH v3 10/17] virt: acrn: Introduce PCI configuration space PIO accesses combiner

2020-09-09 Thread shuo . a . liu
From: Shuo Liu A User VM can access its virtual PCI configuration spaces via port IO approach, which has two following steps: 1) writes address into port 0xCF8 2) put/get data in/from port 0xCFC To distribute a complete PCI configuration space access one time, HSM need to combine such two

[PATCH v3 12/17] virt: acrn: Introduce interrupt injection interfaces

2020-09-09 Thread shuo . a . liu
From: Shuo Liu ACRN userspace need to inject virtual interrupts into a User VM in devices emulation. HSM needs provide interfaces to do so. Introduce following interrupt injection interfaces: ioctl ACRN_IOCTL_SET_IRQLINE: Pass data from userspace to the hypervisor, and inform the hypervisor

[PATCH v3 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-09 Thread shuo . a . liu
From: Shuo Liu The Service VM communicates with the hypervisor via conventional hypercalls. VMCALL instruction is used to make the hypercalls. ACRN hypercall ABI: * Hypercall number is in R8 register. * Up to 2 parameters are in RDI and RSI registers. * Return value is in RAX register.

[PATCH v3 06/17] virt: acrn: Introduce VM management interfaces

2020-09-09 Thread shuo . a . liu
From: Shuo Liu The VM management interfaces expose several VM operations to ACRN userspace via ioctls. For example, creating VM, starting VM, destroying VM and so on. The ACRN Hypervisor needs to exchange data with the ACRN userspace during the VM operations. HSM provides VM operation ioctls to

[PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-09 Thread qianjun . kernel
From: jun qian When get the pending softirqs, it need to process all the pending softirqs in the while loop. If the processing time of each pending softirq is need more than 2 msec in this loop, or one of the softirq will running a long time, according to the original code logic, it will process

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 09:48:59, Laurent Dufour wrote: > Le 09/09/2020 à 09:40, Michal Hocko a écrit : > > [reposting because the malformed cc list confused my email client] > > > > On Tue 08-09-20 19:08:35, Laurent Dufour wrote: > > > In register_mem_sect_under_node() the system_state’s value is

[PATCH v3 03/17] x86/acrn: Introduce an API to check if a VM is privileged

2020-09-09 Thread shuo . a . liu
From: Yin Fengwei ACRN Hypervisor reports hypervisor features via CPUID leaf 0x4001 which is similar to KVM. A VM can check if it's the privileged VM using the feature bits. The Service VM is the only privileged VM by design. Signed-off-by: Yin Fengwei Signed-off-by: Shuo Liu Reviewed-by:

[PATCH v3 00/17] HSM driver for ACRN hypervisor

2020-09-09 Thread shuo . a . liu
From: Shuo Liu ACRN is a Type 1 reference hypervisor stack, running directly on the bare-metal hardware, and is suitable for a variety of IoT and embedded device solutions. ACRN implements a hybrid VMM architecture, using a privileged Service VM. The Service VM manages the system resources

[PATCH v3 01/17] docs: acrn: Introduce ACRN

2020-09-09 Thread shuo . a . liu
From: Shuo Liu Add documentation on the following aspects of ACRN: 1) A brief introduction on the architecture of ACRN. 2) I/O request handling in ACRN. To learn more about ACRN, please go to ACRN project website https://projectacrn.org, or the documentation page

Re: [PATCH RFC v6 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-09-09 Thread Georgi Djakov
Hi Sylwester, On 8/28/20 17:49, Sylwester Nawrocki wrote: > On 30.07.2020 14:28, Sylwester Nawrocki wrote: >> On 09.07.2020 23:04, Rob Herring wrote: >>> On Thu, Jul 02, 2020 at 06:37:19PM +0200, Sylwester Nawrocki wrote: Add documentation for new optional properties in the exynos bus nodes:

Re: [PATCH v3 1/2] leds: pwm: Allow automatic labels for DT based devices

2020-09-09 Thread Pavel Machek
Hi! > pwm_init_state(led_data->pwm, _data->pwmstate); > > - ret = devm_led_classdev_register(dev, _data->cdev); > + if (fwnode) { > + init_data.fwnode = fwnode; > + ret = devm_led_classdev_register_ext(dev, _data->cdev, > +

Re: [PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Mika Westerberg
On Wed, Sep 09, 2020 at 10:54:23AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > I initially sent this as part of the gpio-mockup overhaul but since > these patches are indepentent and the work on gpio-mockup may become > more complicated - I'm sending these separately. > >

RE: [EXT] [PATCH 0/5 REBASED to v5.9-rc4] Qlogic drivers: Convert to SPDX license identifiers

2020-09-09 Thread Nilesh Javali
Lukas, I have Acked for the storage drivers and opt for option B below for spdx maintainers to pick. Thanks, Nilesh > -Original Message- > From: Igor Russkikh > Sent: Wednesday, September 9, 2020 1:25 PM > To: Lukas Bulwahn ; Thomas Gleixner > ; linux-s...@vger.kernel.org > Cc:

Re: [PATCH] i2c: virtio: add a virtio i2c frontend driver

2020-09-09 Thread Jason Wang
On 2020/9/3 下午1:34, Jie Deng wrote: --- a/drivers/i2c/busses/Makefile +++ b/drivers/i2c/busses/Makefile @@ -6,6 +6,9 @@ # ACPI drivers obj-$(CONFIG_I2C_SCMI)+= i2c-scmi.o +# VIRTIO I2C host controller driver +obj-$(CONFIG_I2C_VIRTIO) += i2c-virtio.o + # PC SMBus

Re: [Cocci] [PATCH v2] scripts: coccicheck: Do not use shift command when rule is specified

2020-09-09 Thread Julia Lawall
On Wed, 9 Sep 2020, Markus Elfring wrote: > > Modify coccicheck to use the shift command only when > > number of shell arguments is not zero. > > I suggest to add the tag “Fixes” to the commit message. I don't think there is any need for that. This is not a patch that should be backported.

Re: [PATCH v2 0/2] leds: pwm: Make automatic labels work

2020-09-09 Thread Pavel Machek
Hi! > > > for leds-gpio you can use the properties 'function' and 'color' in the > > > devicetree node and omit 'label', the label is constructed > > > automatically. This is a common feature supposed to be working for all > > > LED drivers. However it did not yet work for the 'leds-pwm'

Re: [PATCH 2/5] scsi/qla2xxx: Convert to SPDX license identifiers

2020-09-09 Thread Nilesh Javali
Acked-by: Nilesh Javali

Re: [ANNOUNCE] v5.9-rc3-rt3

2020-09-09 Thread Sebastian Andrzej Siewior
On 2020-09-09 10:56:41 [+0200], Mike Galbraith wrote: > On Wed, 2020-09-09 at 10:20 +0200, Sebastian Andrzej Siewior wrote: > > > > Do you see the lockdep splat without nouveau? > > Yeah. Lappy uses i915, but lockdep also shuts itself off. You sent the config, I will try to throw it later on

possible deadlock in send_sigio (2)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dff9f829 Add linux-next specific files for 20200908 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17521b3590 kernel config: https://syzkaller.appspot.com/x/.config?x=37b3426c77bda44c dashboard

Re: [PATCH 1/5] scsi/qla4xxx: Convert to SPDX license identifiers

2020-09-09 Thread Nilesh Javali
Acked-by: Nilesh Javali

possible deadlock in snd_ctl_notify

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dff9f829 Add linux-next specific files for 20200908 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12f4322990 kernel config: https://syzkaller.appspot.com/x/.config?x=37b3426c77bda44c dashboard

Re: [PATCH v2] arm64: dts: mt8183-kukui: add scp node

2020-09-09 Thread Matthias Brugger
On 09/09/2020 10:14, Pi-Hsun Shih wrote: Add scp node to mt8183-kukui Fixes: 0d5e41709f76 ("arm64: dts: mt8183: add scp node") Signed-off-by: Pi-Hsun Shih --- Change since v1: * Add Fixes tag. --- .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 30 +++ 1 file changed,

Re: [PATCH] of: skip disabled CPU nodes

2020-09-09 Thread Matthias Schiffer
On Thu, 2020-08-27 at 09:10 +0200, Matthias Schiffer wrote: > On Wed, 2020-08-26 at 13:26 -0600, Rob Herring wrote: > > On Wed, Aug 26, 2020 at 8:47 AM Frank Rowand < > > frowand.l...@gmail.com> > > wrote: > > > > > > Hi Rob, > > > > > > On 2020-08-26 08:54, Matthias Schiffer wrote: [snip] > > >

Re: [ANNOUNCE] v5.9-rc3-rt3

2020-09-09 Thread Mike Galbraith
On Wed, 2020-09-09 at 10:20 +0200, Sebastian Andrzej Siewior wrote: > > Do you see the lockdep splat without nouveau? Yeah. Lappy uses i915, but lockdep also shuts itself off. BTW, methinks RT had nothing to do with the nouveau burp. -Mike

Re: [PATCH] dt-bindings: mfd: Correct interrupt flags in examples

2020-09-09 Thread Vaittinen, Matti
Hello Krzysztof, On Wed, 2020-09-09 at 10:17 +0200, k...@kernel.org wrote: > On Wed, Sep 09, 2020 at 06:30:44AM +, Vaittinen, Matti wrote: > > On Tue, 2020-09-08 at 16:59 +0200, Krzysztof Kozlowski wrote: > > > GPIO_ACTIVE_x flags are not correct in the context of interrupt > > > flags. > > >

[PATCH v2 1/3] device: property: add helpers to count items in string arrays

2020-09-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Instead of doing the following: count = device_property_read_string_array(dev, propname, NULL, 0); Let's provide inline helpers with hardcoded arguments for counting strings in property arrays. Suggested-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski

[PATCH v2 2/3] gpiolib: generalize devprop_gpiochip_set_names() for device properties

2020-09-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski devprop_gpiochip_set_names() is overly complicated with taking the fwnode argument (which requires using dev_fwnode() & of_fwnode_handle() in ACPI and OF GPIO code respectively). Let's just switch to using the generic device properties. This allows us to pull the code

Re: [PATCH] media: pci: ttpci: av7110: avoid compiler optimization of reading data[0] in debiirq()

2020-09-09 Thread Pavel Machek
On Sun 2020-08-30 09:30:36, Sean Young wrote: > On Sun, Aug 30, 2020 at 04:20:42PM +0800, Jia-Ju Bai wrote: > > In debiirq(), data_0 stores the value of data[0], but it can be dropped > > by compiler optimization. Thus, data[0] is read through READ_ONCE(). > > > > Fixes: 6499a0db9b0f ("media:

Re: [PATCH] i2c: virtio: add a virtio i2c frontend driver

2020-09-09 Thread Jason Wang
On 2020/9/8 上午9:40, Jie Deng wrote: On 2020/9/7 13:40, Jason Wang wrote: +struct virtio_i2c_msg { +    struct virtio_i2c_hdr hdr; +    char *buf; +    u8 status; Any reason for separating status out of virtio_i2c_hdr? The status is not from i2c_msg. You meant ic2_hdr? You

[PATCH v2 3/3] gpiolib: unexport devprop_gpiochip_set_names()

2020-09-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that devprop_gpiochip_set_names() is only used in a single place inside drivers/gpio/gpiolib.c, there's no need anymore for it to be exported or to even live in its own source file. Pull this function into the core source file for gpiolib. Signed-off-by: Bartosz

[net-next] net: iavf: Use the ARRAY_SIZE macro for aq_to_posix

2020-09-09 Thread Wei Xu
Use the ARRAY_SIZE macro to calculate the size of an array. This code was detected with the help of Coccinelle. Signed-off-by: Wei Xu --- drivers/net/ethernet/intel/iavf/iavf_adminq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I initially sent this as part of the gpio-mockup overhaul but since these patches are indepentent and the work on gpio-mockup may become more complicated - I'm sending these separately. The only change is adding additional property helpers to count strings in array.

Re: [PATCH net-next v2 3/3] ipmr: Use full VIF ID in netlink cache reports

2020-09-09 Thread Simon Horman
On Tue, Sep 08, 2020 at 10:04:08AM +1200, Paul Davey wrote: > Insert the full 16 bit VIF ID into ipmr Netlink cache reports. > > The VIF_ID attribute has 32 bits of space so can store the full VIF ID > extracted from the high and low byte fields in the igmpmsg. > > Signed-off-by: Paul Davey >

[PATCH 0/2] perf intel-pt: Improve handling for tid is -1

2020-09-09 Thread Adrian Hunter
Hi Here is a minor non-urgent fix for Intel PT. Adrian Hunter (2): perf script: Display negative tid in non-sample events perf intel-pt: Fix "context_switch event has no tid" error tools/perf/builtin-script.c | 10 ++ tools/perf/util/event.c | 2 +-

Re: Re: [PATCH 5.4 086/129] net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 04:21:01PM +0900, 김현순 wrote: > Dear Greg, > > > > I didn't intent to gain performance from this patch. Indeed i requested this > patch to resolve the bug we are experiencing. > > > > Different from kernel 4.19, napi gro made additional data structure called >

memory leak in mgmt_cmd_status

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6f6a73c8 Merge tag 'drm-fixes-2020-09-08' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=152e324590 kernel config: https://syzkaller.appspot.com/x/.config?x=7954285d6e960c0f

[PATCH] drm/mediatek: add exception handing in mtk_drm_probe() if component init fail

2020-09-09 Thread Yu Kuai
mtk_ddp_comp_init() is called in a loop in mtk_drm_probe(), if it fail, previous successive init component is not proccessed. Thus uninitialize valid component and put their device if component init failed. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")

possible deadlock in _snd_pcm_stream_lock_irqsave

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dff9f829 Add linux-next specific files for 20200908 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1425773e90 kernel config: https://syzkaller.appspot.com/x/.config?x=37b3426c77bda44c dashboard

INFO: rcu detected stall in sys_mount (5)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:612ab8ad Merge tag 'livepatching-for-5.9-rc5' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=147538dd90 kernel config: https://syzkaller.appspot.com/x/.config?x=a9075b36a6ae26c9

[net-next] net: i40e: Use the ARRAY_SIZE macro for aq_to_posix

2020-09-09 Thread Wei Xu
Use the ARRAY_SIZE macro to calculate the size of an array. This code was detected with the help of Coccinelle. Signed-off-by: Wei Xu --- drivers/net/ethernet/intel/i40e/i40e_adminq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

INFO: task hung in io_sq_thread_stop

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dff9f829 Add linux-next specific files for 20200908 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=112f880d90 kernel config: https://syzkaller.appspot.com/x/.config?x=37b3426c77bda44c dashboard

WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected (2)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dff9f829 Add linux-next specific files for 20200908 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=113184dd90 kernel config: https://syzkaller.appspot.com/x/.config?x=37b3426c77bda44c dashboard

Re: [PATCH 2/3] KVM: SVM: Move svm_complete_interrupts() into svm_vcpu_run()

2020-09-09 Thread Wanpeng Li
On Wed, 9 Sep 2020 at 16:36, Vitaly Kuznetsov wrote: > > Wanpeng Li writes: > > > From: Wanpeng Li > > > > Moving svm_complete_interrupts() into svm_vcpu_run() which can align VMX > > and SVM with respect to completing interrupts. > > > > Suggested-by: Sean Christopherson > > Cc: Paul K. > >

Re: [PATCH v1] driver core: Annotate dev_err_probe() with __must_check

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 9, 2020 at 10:40 AM Greg Kroah-Hartman wrote: > On Wed, Sep 09, 2020 at 09:08:14AM +0200, Krzysztof Kozlowski wrote: > > On Wed, 9 Sep 2020 at 09:02, Greg Kroah-Hartman > > wrote: > > > On Wed, Sep 09, 2020 at 08:29:25AM +0200, Krzysztof Kozlowski wrote: > > > > On Wed, 26 Aug 2020

[PATCH] scsi: esas2r: prevent a potential NULL dereference in esas2r_probe()

2020-09-09 Thread Jing Xiangfeng
esas2r_probe() calls scsi_host_put() in an error path. However, esas2r_log_dev() may hit a potential NULL dereference. So use NUll instead. Signed-off-by: Jing Xiangfeng --- drivers/scsi/esas2r/esas2r_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-09 Thread Pavel Machek
Hi! > > >@@ -271,6 +271,17 @@ config LEDS_MT6323 > > This option enables support for on-chip LED drivers found on > > Mediatek MT6323 PMIC. ...522 lines... > >+static int mt6360_init_isnk_properties(struct mt6360_led *led, struct > >led_init_data *init_data) > >+{ > >+struct

Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 10:35:55 +0200 Greg Kroah-Hartman escreveu: > On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote: > > From: Yu Chen > > > > The HiKey960 has a fairly complex USB configuration due to it > > needing to support a USB-C port for host/device mode and multiple

Re: [PATCH 3/3] KVM: SVM: Reenable handle_fastpath_set_msr_irqoff() after complete_interrupts()

2020-09-09 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > Moving the call to svm_exit_handlers_fastpath() after > svm_complete_interrupts() > since svm_complete_interrupts() consumes rip and reenable the function > handle_fastpath_set_msr_irqoff() call in svm_exit_handlers_fastpath(). > > Suggested-by: Sean

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-09-09 Thread Jason Wang
On 2020/9/9 上午12:37, Cornelia Huck wrote: Then you need something that is functional equivalent to virtio PCI which is actually the concept of vDPA (e.g vDPA provides alternatives if the queue_sel is hard in the EP implementation). It seems I really need to read up on vDPA more... do you have

Re: [PATCH 1/2] KVM: LAPIC: Fix updating DFR missing apic map recalculation

2020-09-09 Thread Wanpeng Li
Any Reviewed-by for these two patches? :) On Wed, 19 Aug 2020 at 16:55, Wanpeng Li wrote: > > From: Wanpeng Li > > There is missing apic map recalculation after updating DFR, if it is > INIT RESET, in x2apic mode, local apic is software enabled before. > This patch fix it by introducing the

Re: [PATCH v3 1/2] i2c: smbus: add core function handling SMBus host-notify

2020-09-09 Thread Wolfram Sang
On Mon, Aug 03, 2020 at 07:17:55AM +0200, Alain Volmat wrote: > SMBus Host-Notify protocol, from the adapter point of view > consist of receiving a message from a client, including the > client address and some other data. > > It can be simply handled by creating a new slave device > and

Re: [PATCH v3 2/2] i2c: stm32f7: Add SMBus Host-Notify protocol support

2020-09-09 Thread Wolfram Sang
On Mon, Aug 03, 2020 at 07:17:56AM +0200, Alain Volmat wrote: > Rely on the core functions to implement the host-notify > protocol via the a I2C slave device. > > Signed-off-by: Alain Volmat Applied to for-next, thanks! signature.asc Description: PGP signature

[PATCH] drm/meson: osd-afbcd: enable XRGB/ARGB8888 on GXM

2020-09-09 Thread Neil Armstrong
This allows XRGB/ARGB on GXM following AFBC support in panfrost. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_osd_afbcd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/meson/meson_osd_afbcd.c b/drivers/gpu/drm/meson/meson_osd_afbcd.c index

Re: [RFC PATCH v2 2/3] mm: make pXd_addr_end() functions page-table entry aware

2020-09-09 Thread Christophe Leroy
On Tue, 2020-09-08 at 16:15 +0200, Alexander Gordeev wrote: > On Tue, Sep 08, 2020 at 10:16:49AM +0200, Christophe Leroy wrote: > > >Yes, and also two more sources :/ > > > arch/powerpc/mm/kasan/8xx.c > > > arch/powerpc/mm/kasan/kasan_init_32.c > > > > > >But these two are not quite obvious

Re: [PATCH 1/3] KVM: SVM: Get rid of handle_fastpath_set_msr_irqoff()

2020-09-09 Thread Wanpeng Li
On Wed, 9 Sep 2020 at 16:23, Vitaly Kuznetsov wrote: > > Wanpeng Li writes: > > > From: Wanpeng Li > > > > Analysis from Sean: > > > > | svm->next_rip is reset in svm_vcpu_run() only after calling > > | svm_exit_handlers_fastpath(), which will cause SVM's > > | skip_emulated_instruction() to

[PATCH] Input: trackpoint - add new trackpoint variant IDs

2020-09-09 Thread Vincent Huang
Add trackpoint variant IDs to allow supported control on Synaptics trackpoints Signed-off-by: Vincent Huang --- drivers/input/mouse/trackpoint.c | 2 ++ drivers/input/mouse/trackpoint.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/input/mouse/trackpoint.c

Re: [PATCH v7] Add MediaTek MT6779 devapc driver

2020-09-09 Thread Neal Liu
Hi Rob, Matthias, Chun-Kuang, Please kindly let me know your comments about this patch set. Thanks -Neal On Wed, 2020-09-02 at 14:40 +0800, Neal Liu wrote: > Hi Rob, Matthias, Chun-Kuang, > > Gentle ping for this patch set. > Thanks > > -Neal > > On Thu, 2020-08-27 at 11:06 +0800, Neal Liu

Re: [RFC PATCH v8 0/3] Add scheduler overview documentation

2020-09-09 Thread Lukas Bulwahn
On Wed, 2 Sep 2020, John Mathew wrote: > This patch series updates the scheduler documentation to add more topics > wrt to scheduler overview. New sections are added to provide a brief > overview of the kernel structs used by the scheduler, scheduler invocation, > and context switch. Previous

Re: [PATCH v2] Documentation: kunit: Add naming guidelines

2020-09-09 Thread Marco Elver
On Tue, Sep 08, 2020 at 10:16PM -0700, David Gow wrote: > As discussed in [1], KUnit tests have hitherto not had a particularly > consistent naming scheme. This adds documentation outlining how tests > and test suites should be named, including how those names should be > used in Kconfig entries

Re: [PATCH 2/3] KVM: SVM: Move svm_complete_interrupts() into svm_vcpu_run()

2020-09-09 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > Moving svm_complete_interrupts() into svm_vcpu_run() which can align VMX > and SVM with respect to completing interrupts. > > Suggested-by: Sean Christopherson > Cc: Paul K. > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/svm/svm.c | 4 ++-- > 1

Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-09 Thread Greg Kroah-Hartman
On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote: > From: Yu Chen > > The HiKey960 has a fairly complex USB configuration due to it > needing to support a USB-C port for host/device mode and multiple > USB-A ports in host mode, all using a single USB controller. > > See

[PATCH] intel-iommu: don't disable ATS for device without page aligned request

2020-09-09 Thread Jason Wang
Commit 61363c1474b1 ("iommu/vt-d: Enable ATS only if the device uses page aligned address.") disables ATS for device that can do unaligned page request. This looks wrong, since the commit log said it's because the page request descriptor doesn't support reporting unaligned request. A victim is

Re: [PATCH 3/8] arm64: dts: imx8mm: Correct interrupt flags in examples

2020-09-09 Thread Krzysztof Kozlowski
On Tue, Sep 08, 2020 at 05:02:36PM +0200, Krzysztof Kozlowski wrote: > GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. > These are simple defines so they could be used in DTS but they will not > have the same meaning: > 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE > 2.

Re: [PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-09-09 Thread Wolfram Sang
On Wed, Aug 12, 2020 at 11:45:54AM +0800, Anson Huang wrote: > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. > > Signed-off-by: Anson Huang Applied to for-next, thanks! signature.asc Description: PGP

Re: [PATCH v4 2/2] mfd: intel-m10-bmc: add Max10 BMC chip support for Intel FPGA PAC

2020-09-09 Thread Xu Yilun
On Wed, Sep 09, 2020 at 08:31:40AM +0100, Lee Jones wrote: > On Wed, 09 Sep 2020, Xu Yilun wrote: > > > > > > > + * m10bmc_raw_read - read m10bmc register per addr > > > > > > + * m10bmc_sys_read - read m10bmc system register per offset > > > > > > + */ > > > > > > +static inline int > > > > > >

Re: [PATCH v5 33/36] memory: tegra30-emc: Register as interconnect provider

2020-09-09 Thread Georgi Djakov
On 8/14/20 03:06, Dmitry Osipenko wrote: > Now external memory controller is a memory interconnection provider. > This allows us to use interconnect API to change memory configuration. > > Signed-off-by: Dmitry Osipenko Acked-by: Georgi Djakov

Re: [PATCH V4] Softirq:avoid large sched delay from the pending softirqs

2020-09-09 Thread jun qian
Thomas Gleixner 于2020年7月29日周三 下午8:16写道: > > Qian, > > jun qian writes: > > On Mon, Jul 27, 2020 at 11:41 PM Thomas Gleixner wrote: > >> > + or_softirq_pending(pending << (vec_nr + 1)); > >> > >> To or the value interrupts need to be disabled because otherwise you can > >>

Re: [PATCH v5 30/36] memory: tegra20-emc: Register as interconnect provider

2020-09-09 Thread Georgi Djakov
On 8/14/20 03:06, Dmitry Osipenko wrote: > Now memory controller is a memory interconnection provider. This allows us > to use interconnect API in order to change memory configuration. > > Signed-off-by: Dmitry Osipenko Acked-by: Georgi Djakov

Re: [PATCH v5 27/36] memory: tegra-mc: Register as interconnect provider

2020-09-09 Thread Georgi Djakov
On 8/14/20 03:06, Dmitry Osipenko wrote: > Now memory controller is a memory interconnection provider. This allows us > to use interconnect API in order to change memory configuration. > > Signed-off-by: Dmitry Osipenko Thanks Dmitry! Looks good to me. Acked-by: Georgi Djakov

Re: [PATCH v2] i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

2020-09-09 Thread Wolfram Sang
On Wed, Sep 02, 2020 at 12:51:37AM -0400, Jeffrey Lin wrote: > Value of /sys/devices/platform/lis3lv02d/position when > Horizontal: (36,-108,-1152) > Left elevated: (-432,-126,-1062) > Front elevated: (36,594,-936) > Upside down:(-126,-252,1098) > > Signed-off-by: Jeffrey

Re: [PATCH v7 71/72] x86/efi: Add GHCB mappings when SEV-ES is active

2020-09-09 Thread Ard Biesheuvel
(adding Laszlo and Brijesh) On Tue, 8 Sep 2020 at 20:46, Borislav Petkov wrote: > > + Ard so that he can ack the efi bits. > > On Mon, Sep 07, 2020 at 03:16:12PM +0200, Joerg Roedel wrote: > > From: Tom Lendacky > > > > Calling down to EFI runtime services can result in the firmware performing

Re: [PATCH v20 00/15] Introduce Data Access MONitor (DAMON)

2020-09-09 Thread SeongJae Park
This is just a reminder ping to let you know I'm still waiting more reviews! Any comments will be appreciated! Thanks, SeongJae Park

[PATCH] soundwire: bus: add enumerated slave to device list

2020-09-09 Thread Srinivas Kandagatla
Currently slave devices are only added either from device tree or acpi entries. However lets say, there is wrong or no entry of a slave device in DT that is enumerated, then there is no way for user to know all the enumerated devices on the bus. To fix this add slave device by default if there is

[tip: sched/core] sched/topology: Move sd_flag_debug out of #ifdef CONFIG_SYSCTL

2020-09-09 Thread tip-bot2 for Valentin Schneider
The following commit has been merged into the sched/core branch of tip: Commit-ID: 848785df48835eefebe0c4eb5da7690690b0a8b7 Gitweb: https://git.kernel.org/tip/848785df48835eefebe0c4eb5da7690690b0a8b7 Author:Valentin Schneider AuthorDate:Tue, 08 Sep 2020 19:49:56 +01:00

Re: [PATCH v21 4/4] arm64: dts: mt8183: add scp node

2020-09-09 Thread Matthias Brugger
On 02/09/2020 18:23, Krzysztof Kozlowski wrote: On Wed, 2 Sep 2020 at 16:45, Naresh Kamboju wrote: On Thu, 27 Aug 2020 at 15:44, Matthias Brugger wrote: On 12/11/2019 12:03, Pi-Hsun Shih wrote: From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo

Re: [PATCH v4 1/1] i2c: algo-pca: Reapply i2c bus settings after reset

2020-09-09 Thread Wolfram Sang
On Wed, Sep 09, 2020 at 08:32:47AM +1200, Evan Nimmo wrote: > If something goes wrong (such as the SCL being stuck low) then we need > to reset the PCA chip. The issue with this is that on reset we lose all > config settings and the chip ends up in a disabled state which results > in a lock

Re: [PATCH 1/3] KVM: SVM: Get rid of handle_fastpath_set_msr_irqoff()

2020-09-09 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > Analysis from Sean: > > | svm->next_rip is reset in svm_vcpu_run() only after calling > | svm_exit_handlers_fastpath(), which will cause SVM's > | skip_emulated_instruction() to write a stale RIP. > This should only happen when

[kbuild] Re: [PATCH] ARC: [plat-eznps]: Drop support for EZChip NPS platform

2020-09-09 Thread Dan Carpenter
Hi Vineet, I love your patch! Yet something to improve: url: https://github.com/0day-ci/linux/commits/Vineet-Gupta/ARC-plat-eznps-Drop-support-for-EZChip-NPS-platform/20200909-121133 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Re: [Nouveau] [PATCH] drm/nouveau: Add fine-grain temperature reporting

2020-09-09 Thread Karol Herbst
On Wed, Sep 9, 2020 at 6:06 AM Ben Skeggs wrote: > > On Thu, 13 Aug 2020 at 06:50, Jeremy Cline wrote: > > > > Commit d32656373857 ("drm/nouveau/therm/gp100: initial implementation of > > new gp1xx temperature sensor") added support for reading finer-grain > > temperatures, but continued to

Re: [PATCH] ide/macide: Convert Mac IDE driver to platform driver

2020-09-09 Thread Geert Uytterhoeven
Hi Finn, On Tue, Aug 18, 2020 at 9:45 AM Finn Thain wrote: > Add platform devices for the Mac IDE controller variants. Convert the > macide module into a platform driver to support two of those variants. > For the third, use a generic "pata_platform" driver instead. > This enables automatic

RE: [PATCH v2] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-09 Thread David Laight
From: Josh Poimboeuf > Sent: 08 September 2020 18:43 > Hi x86 maintainers, ... > > --- a/arch/x86/lib/putuser.S > > +++ b/arch/x86/lib/putuser.S > > @@ -38,6 +38,8 @@ SYM_FUNC_START(__put_user_1) > > ENTER > > cmp TASK_addr_limit(%_ASM_BX),%_ASM_CX > > jae .Lbad_put_user > > + sbb

Re: [ANNOUNCE] v5.9-rc3-rt3

2020-09-09 Thread Sebastian Andrzej Siewior
On 2020-09-09 07:45:22 [+0200], Mike Galbraith wrote: > On Wed, 2020-09-09 at 05:12 +0200, Mike Galbraith wrote: > > On Wed, 2020-09-02 at 17:55 +0200, Sebastian Andrzej Siewior wrote: > > > > > > Known issues > > > - It has been pointed out that due to changes to the printk code the > > >

Re: [PATCH 4.14 00/65] 4.14.197-rc1 review

2020-09-09 Thread Naresh Kamboju
On Tue, 8 Sep 2020 at 21:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.197 release. > There are 65 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 v21 4/4] arm64: dts: mt8183: add scp node

2020-09-09 Thread Pi-Hsun Shih
On Wed, Sep 9, 2020 at 3:37 PM Jon Hunter wrote: > > > On 02/09/2020 17:23, Krzysztof Kozlowski wrote: > > On Wed, 2 Sep 2020 at 16:45, Naresh Kamboju > > wrote: > >> > >> On Thu, 27 Aug 2020 at 15:44, Matthias Brugger > >> wrote: > >>> > >>> > >>> > >>> On 12/11/2019 12:03, Pi-Hsun Shih

Re: [PATCH] dt-bindings: mfd: Correct interrupt flags in examples

2020-09-09 Thread k...@kernel.org
On Wed, Sep 09, 2020 at 06:30:44AM +, Vaittinen, Matti wrote: > > On Tue, 2020-09-08 at 16:59 +0200, Krzysztof Kozlowski wrote: > > GPIO_ACTIVE_x flags are not correct in the context of interrupt > > flags. > > These are simple defines so they could be used in DTS but they will > > not > >

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Ard Biesheuvel
(+ Atish, Palmer) On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > In the memory map the regions with the lowest addresses may be of type > EFI_RESERVED_TYPE. The reserved areas may be discontinuous relative to the > rest of the memory. So for calculating the maximum loading address

Re: linux-next: Signed-off-by missing for commit in the printk tree

2020-09-09 Thread Petr Mladek
On Tue 2020-09-08 18:59:24, Sergey Senozhatsky wrote: > On (20/09/08 09:46), Petr Mladek wrote: > > On Sat 2020-09-05 12:18:27, Stephen Rothwell wrote: > > > Hi all, > > > > > > Commit > > > > > > 4c31ead75f41 ("printk: ringbuffer: support dataless records") > > > > > > is missing a

[PATCH v2] arm64: dts: mt8183-kukui: add scp node

2020-09-09 Thread Pi-Hsun Shih
Add scp node to mt8183-kukui Fixes: 0d5e41709f76 ("arm64: dts: mt8183: add scp node") Signed-off-by: Pi-Hsun Shih --- Change since v1: * Add Fixes tag. --- .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 30 +++ 1 file changed, 30 insertions(+) diff --git

[PATCH v3 04/15] phy: tegra: xusb: tegra210: Do not reset UPHY PLL

2020-09-09 Thread JC Kuo
Once UPHY PLL hardware power sequencer is enabled, do not assert reset to PEX/SATA PLLs, otherwise UPHY PLL operation will be broken. This commit removes reset_control_assert(pcie->rst) and reset_control_assert(sata->rst) from PEX/SATA UPHY disable procedure. Signed-off-by: JC Kuo --- v3:

[PATCH v3 03/15] phy: tegra: xusb: Move usb3 port init for Tegra210

2020-09-09 Thread JC Kuo
The programming sequence in tegra210_usb3_port_enable() is required for both cold boot and SC7 exit, and must be performed only after PEX/SATA UPHY is initialized. Therefore, this commit moves the programming sequence to tegra210_usb3_phy_power_on(). PCIE/SATA phy .power_on() stub will invoke

[PATCH v3 05/15] phy: tegra: xusb: Rearrange UPHY init on Tegra210

2020-09-09 Thread JC Kuo
This commit is a preparation for enabling XUSB SC7 support. It rearranges Tegra210 XUSB PADCTL UPHY initialization sequence, for the following reasons: 1. PLLE hardware power sequencer has to be enabled only after both PEX UPHY PLL and SATA UPHY PLL are initialized. tegra210_uphy_init() ->

[PATCH v3 06/15] phy: tegra: xusb: Add Tegra210 lane_iddq operation

2020-09-09 Thread JC Kuo
As per Tegra210 TRM, before changing lane assignments, driver should keep lanes in IDDQ and sleep state; after changing lane assignments, driver should bring lanes out of IDDQ. This commit implements the required operations. Signed-off-by: JC Kuo --- v3: add 'misc_ctl2' data member to UPHY

Re: [GIT PULL] First batch of KVM changes for Linux 5.9

2020-09-09 Thread Ingo Molnar
* Christopherson, Sean J wrote: > Ingo Molnar wrote: > > * Paolo Bonzini wrote: > > > > > Paolo Bonzini (11): > > > Merge branch 'kvm-async-pf-int' into HEAD > > > > kvmtool broke in this merge window, hanging during bootup right after CPU > > bringup: > > > > [1.289404] #63 >

[PATCH v3 10/15] phy: tegra: xusb: Add wake/sleepwalk for Tegra210

2020-09-09 Thread JC Kuo
This commit implements Tegra210 XUSB PADCTL wake and sleepwalk routines. Sleepwalk logic is in PMC (always-on) hardware block. PMC driver provides managed access to the sleepwalk registers via regmap framework. Signed-off-by: JC Kuo --- v3: rename 'pmc_reg" with 'regmap' and move to the top

[PATCH v3 08/15] soc/tegra: pmc: Provide usb sleepwalk register map

2020-09-09 Thread JC Kuo
This commit implements a register map which grants USB (UTMI and HSIC) sleepwalk registers access to USB PHY drivers. The USB sleepwalk logic is in PMC hardware block but USB PHY drivers have the best knowledge of proper programming sequence. This approach prevents using custom pmc APIs.

[PATCH v3 12/15] phy: tegra: xusb: Add wake/sleepwalk for Tegra186

2020-09-09 Thread JC Kuo
This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and sleepwalk operations. Signed-off-by: JC Kuo --- v3: move 'ao_regs' to the top of 'struct tegra186_xusb_padctl' change return data of .phy_remote_wake_detected() to 'bool' change input parameter of

Re: [PATCH 4.19 00/88] 4.19.144-rc1 review

2020-09-09 Thread Naresh Kamboju
On Tue, 8 Sep 2020 at 21:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.144 release. > There are 88 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 v3 14/15] usb: host: xhci-tegra: Unlink power domain devices

2020-09-09 Thread JC Kuo
This commit unlinks xhci-tegra platform device with ss/host power domain devices. Reasons for this change is - at elpg entry, PHY sleepwalk and wake configuration need to be done before powering down ss/host partitions, and PHY need be powered off after powering down ss/host partitions. Sequence

[PATCH v3 11/15] phy: tegra: xusb: Tegra210 host mode VBUS control

2020-09-09 Thread JC Kuo
To support XUSB host controller ELPG, this commit moves VBUS control .phy_power_on()/.phy_power_off() to .phy_init()/.phy_exit(). When XUSB host controller enters ELPG, host driver invokes .phy_power_off(), VBUS should remain ON so that USB devices will not disconnect. VBUS can be turned OFF when

<    6   7   8   9   10   11   12   13   >