Re: [PATCH v7 0/5] Warn on orphan section placement

2020-09-03 Thread Ingo Molnar
* Nick Desaulniers wrote: > On Tue, Sep 1, 2020 at 7:53 PM Kees Cook wrote: > > > > Hi Ingo, > > > > The ever-shortening series. ;) Here is "v7", which is just the remaining > > Makefile changes to enable orphan section warnings, now updated to > > include ld-option calls. > > > > Thanks for

Re: [PATCH v2] perf expr: Force encapsulation on expr_id_data

2020-09-03 Thread Ian Rogers
On Thu, Aug 27, 2020 at 12:00 AM kajoljain wrote: > > > > On 8/26/20 9:27 PM, Jiri Olsa wrote: > > On Wed, Aug 26, 2020 at 08:30:55AM -0700, Ian Rogers wrote: > >> This patch resolves some undefined behavior where variables in > >> expr_id_data were accessed (for debugging) without being defined.

Re: [PATCH v9 2/3] drm: bridge: Add support for Cadence MHDP8546 DPI/DP bridge

2020-09-03 Thread Tomi Valkeinen
Hi, On 04/09/2020 05:29, Laurent Pinchart wrote: >> Laurent mentioned that atomic_check should not change state. Note that >> cdns_mhdp_validate_mode_params also changes state, as it calculates tu_size, >> vs and line_thresh. > > .atomic_check() isn't allowed to change any global state, which

Re: [PATCH v2 5/9] libperf: Add support for user space counter access

2020-09-03 Thread Ian Rogers
On Wed, Sep 2, 2020 at 12:48 PM Rob Herring wrote: > > On Wed, Sep 2, 2020 at 12:07 PM Ian Rogers wrote: > > > > On Fri, Aug 28, 2020 at 1:56 PM Rob Herring wrote: > > > > > > x86 and arm64 can both support direct access of event counters in > > > userspace. The access sequence is less than

Re: 回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-03 Thread Ingo Molnar
* Zhang, Qiang wrote: > tglx please review. > > Thanks > Qiang > > 发件人: linux-kernel-ow...@vger.kernel.org > 代表 qiang.zh...@windriver.com > 发送时间: 2020年8月27日 13:06 > 收件人: t...@linutronix.de; long...@redhat.com; el...@google.com > 抄送:

KASAN: null-ptr-deref Read in percpu_ref_exit

2020-09-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7a695657 Add linux-next specific files for 20200903 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=15ac984e90 kernel config: https://syzkaller.appspot.com/x/.config?x=39134fcec6c78e33 dashboard

Re: [PATCH 3/4] perf vendor events amd: Add recommended events

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 11:27 AM Kim Phillips wrote: > > On 9/3/20 1:19 AM, Ian Rogers wrote: > > On Tue, Sep 1, 2020 at 3:10 PM Kim Phillips wrote: > >> The nps1_die_to_dram event may need perf stat's --metric-no-group > >> switch if the number of available data fabric counters is less > >> than

Re: [PATCH v2 03/10] mm/memory_hotplug: simplify page offlining

2020-09-03 Thread David Hildenbrand
> Am 03.09.2020 um 23:58 schrieb Andrew Morton : > > On Wed, 19 Aug 2020 19:59:50 +0200 David Hildenbrand > wrote: > >> We make sure that we cannot have any memory holes right at the beginning >> of offline_pages(). We no longer need walk_system_ram_range() and can >> call

Re: [PATCH v2 4/5] perf record: Don't clear event's period if set by a term

2020-09-03 Thread Ian Rogers
On Tue, Aug 4, 2020 at 8:50 AM Ian Rogers wrote: > > On Tue, Aug 4, 2020 at 7:49 AM Adrian Hunter wrote: > > > > On 4/08/20 4:33 pm, Ian Rogers wrote: > > > On Tue, Aug 4, 2020 at 3:08 AM Adrian Hunter > > > wrote: > > >> > > >> On 28/07/20 11:57 am, Ian Rogers wrote: > > >>> If events in a

Re: [PATCH v3 0/7] set clang minimum version to 10.0.1

2020-09-03 Thread Miguel Ojeda
On Thu, Sep 3, 2020 at 7:28 PM Nathan Chancellor wrote: > > I would say this should go through either Andrew or Masahiro. We do not > have a formal git tree plus I believe there are other things that need > to happen before we can push stuff to Linus. Note that a git.kernel.org repo/account

Re: [PATCH v2 2/5] perf record: Prevent override of attr->sample_period for libpfm4 events

2020-09-03 Thread Ian Rogers
On Wed, Jul 29, 2020 at 4:24 PM Ian Rogers wrote: > > On Tue, Jul 28, 2020 at 9:10 AM Jiri Olsa wrote: > > > > On Tue, Jul 28, 2020 at 05:59:46PM +0200, Jiri Olsa wrote: > > > On Tue, Jul 28, 2020 at 01:57:31AM -0700, Ian Rogers wrote: > > > > From: Stephane Eranian > > > > > > > > Before: > >

Re: [PATCH v2 1/5] perf record: Set PERF_RECORD_PERIOD if attr->freq is set.

2020-09-03 Thread Ian Rogers
On Wed, Jul 29, 2020 at 2:43 PM Ian Rogers wrote: > > On Wed, Jul 29, 2020 at 11:52 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Tue, Jul 28, 2020 at 01:57:30AM -0700, Ian Rogers escreveu: > > > From: David Sharp > > > > > > evsel__config() would only set PERF_RECORD_PERIOD if it set

Re: [PATCH] perf parse-events: Use uintptr_t when casting numbers to pointers

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 11:44 AM Arnaldo Carvalho de Melo wrote: > > Hi Ian, > > Please check that this is ok with you, > > Thanks, > > - Arnaldo Thanks Arnaldo, this looks good to me! There is a separate issue, the casts are necessary as we have PE_VALUEs that are supposed to be numbers

Re: [PATCH v3 1/4] arm64: smp: Introduce a new IPI as IPI_CALL_NMI_FUNC

2020-09-03 Thread Sumit Garg
On Thu, 3 Sep 2020 at 22:06, Marc Zyngier wrote: > > On 2020-09-03 13:05, Sumit Garg wrote: > > Introduce a new inter processor interrupt as IPI_CALL_NMI_FUNC that > > can be invoked to run special handlers in NMI context. One such handler > > example is kgdb_nmicallback() which is invoked in

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

2020-09-03 Thread Jie Deng
On 2020/9/3 17:58, Michael S. Tsirkin wrote: On Thu, Sep 03, 2020 at 01:34:45PM +0800, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver

Re: [PATCH v12 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-03 Thread Punit Agrawal
Hi Ben, Thanks for addressing the comments on the previous version. One comment below. Ben Levinsky writes: > This patch adds APIs to access to configure RPU and its > processor-specific memory. > > That is query the run-time mode of RPU as either split or lockstep as well > as API to set this

Re: [PATCH 1/4] drivers: hv: dxgkrnl: core code

2020-09-03 Thread Greg KH
On Thu, Sep 03, 2020 at 02:39:05PM -0700, Iouri Tarassov wrote: > Hi Greg, > > On 8/27/2020 11:18 PM, Greg KH wrote: > > On Thu, Aug 27, 2020 at 05:25:23PM -0700, Iouri Tarassov wrote: > > > > > +bool dxghwqueue_acquire_reference(struct dxghwqueue *hwqueue) > > > > > +{ > > > > > + return

Re: [PATCH 0/7] ASoC: soundwire: Move sdw stream operations to

2020-09-03 Thread Vinod Koul
On 03-09-20, 09:05, Pierre-Louis Bossart wrote: > > > On 9/3/20 5:42 AM, Vinod Koul wrote: > > On 01-09-20, 23:02, Bard Liao wrote: > > > sdw stream operation APIs can be called once per stream. dailink > > > callbacks are good places to call these APIs. > > > > Again, please mention here if

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten

2020-09-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59126901f200f5fc907153468b03c64e0081b6e6 commit: af776a3e1c304bf0409106cd2306173885e415f2 drm/msm/dpu: add SM8250 to hw catalog date: 5 weeks ago config: arm64-randconfig-r013-20200904 (attached as

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-09-03 Thread John Fastabend
Cong Wang wrote: > On Thu, Sep 3, 2020 at 1:40 AM Paolo Abeni wrote: > > > > On Wed, 2020-09-02 at 22:01 -0700, Cong Wang wrote: > > > Can you test the attached one-line fix? I think we are overthinking, > > > probably all > > > we need here is a busy wait. > > > > I think that will solve, but I

Re: [PATCH] cpufreq,cppc: fix issue when hotplugging out policy->cpu

2020-09-03 Thread Viresh Kumar
On 03-09-20, 12:19, Ionela Voinescu wrote: > An issue is observed in the cpufreq CPPC driver when having dependency > domains (PSD) and the policy->cpu is hotplugged out. > > Considering a platform with 4 CPUs and 2 PSD domains (CPUs 0 and 1 in > PSD-1, CPUs 2 and 3 in PSD-2),

Re: [PATCH net-next RFC v3 02/14] devlink: Add reload actions counters

2020-09-03 Thread Moshe Shemesh
On 9/2/2020 3:01 AM, Jakub Kicinski wrote: External email: Use caution opening links or attachments On Tue, 1 Sep 2020 22:05:36 +0300 Moshe Shemesh wrote: +void devlink_reload_actions_cnts_update(struct devlink *devlink, unsigned long actions_done) +{ + int action; + + for (action = 0;

Re: [PATCH] mm: workingset: ignore slab memory size when calculating shadows pressure

2020-09-03 Thread Roman Gushchin
On Thu, Sep 03, 2020 at 09:10:59PM -0700, Andrew Morton wrote: > On Thu, 3 Sep 2020 16:00:55 -0700 Roman Gushchin wrote: > > > In the memcg case count_shadow_nodes() sums the number of pages in lru > > lists and the amount of slab memory (reclaimable and non-reclaimable) > > as a baseline for

Re: [PATCH v2 2/3] soundwire: SDCA: add helper macro to access controls

2020-09-03 Thread Vinod Koul
On 01-09-20, 11:22, Pierre-Louis Bossart wrote: > The upcoming SDCA (SoundWire Device Class Audio) specification defines > a hierarchical encoding to interface with Class-defined capabilities. > > The specification is not yet accessible to the general public but this > information is released

Re: [PATCH 0/2] add support for Hisilicon SD5203 vector interrupt controller

2020-09-03 Thread Leizhen (ThunderTown)
On 2020/9/4 0:46, Marc Zyngier wrote: > On 2020-09-03 13:05, Zhen Lei wrote: >> The interrupt controller of SD5203 SoC is VIC(vector interrupt controller), >> it's >> based on Synopsys DesignWare APB interrupt controller (dw_apb_ictl) IP, but >> it >> can not directly use dw_apb_ictl driver.

Re: [PATCH v2 00/28] Add support for Clang LTO

2020-09-03 Thread Nathan Chancellor
On Thu, Sep 03, 2020 at 04:34:09PM -0700, Kees Cook wrote: > On Thu, Sep 03, 2020 at 01:30:25PM -0700, Sami Tolvanen wrote: > > This patch series adds support for building x86_64 and arm64 kernels > > with Clang's Link Time Optimization (LTO). > > Tested-by: Kees Cook Tested-by: Nathan

Re: [PATCH v5 3/3] arm64: Add IMA kexec buffer to DTB

2020-09-03 Thread Lakshmi Ramasubramanian
On 9/3/20 3:11 PM, Thiago Jung Bauermann wrote: Lakshmi Ramasubramanian writes: The address and size of the current kernel's IMA measurement log need to be added to the device tree's IMA kexec buffer node for the log to be carried over to the next kernel on the kexec call. Add the IMA

Re: [PATCH 12/14] x86: remove address space overrides using set_fs()

2020-09-03 Thread Al Viro
On Fri, Sep 04, 2020 at 03:55:10AM +0100, Al Viro wrote: > On Thu, Sep 03, 2020 at 04:22:40PM +0200, Christoph Hellwig wrote: > > > diff --git a/arch/x86/lib/getuser.S b/arch/x86/lib/getuser.S > > index c8a85b512796e1..94f7be4971ed04 100644 > > --- a/arch/x86/lib/getuser.S > > +++

[PATCH] drm: xlnx: fix build warning & errors when DMADEVICES is not set

2020-09-03 Thread Randy Dunlap
&& OF [=y] Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Hyun Kwon Cc: Laurent Pinchart Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/xlnx/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20200903.orig/drivers/gpu/drm/xlnx/Kconfig +++ linu

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

2020-09-03 Thread Liu, Shuo A
Hi Greg, On 9/3/2020 21:03, Greg Kroah-Hartman wrote: > On Thu, Sep 03, 2020 at 08:41:51PM +0800, shuo.a@intel.com wrote: >> 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

Re: [PATCH v5 0/5] cpufreq: improve frequency invariance support

2020-09-03 Thread Viresh Kumar
On 03-09-20, 14:32, Ionela Voinescu wrote: > Hi Rafael, Viresh, > > Would it be okay for you to apply this series, as the majority of > changes are in cpufreq? For arch_topology and arm64 changes, they have > been reviewed and acked-by Catalin and Sudeep. > > Also, please let me know if I should

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

2020-09-03 Thread Liu, Shuo A
Hi Greg, On 9/3/2020 21:02, Greg Kroah-Hartman wrote: > On Thu, Sep 03, 2020 at 08:41:50PM +0800, shuo.a@intel.com wrote: >> From: Shuo Liu >> >> The VM management interfaces expose several VM operations to ACRN >> userspace via ioctls. For example, creating VM, starting VM, destroying >> VM

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

2020-09-03 Thread David Gow
On Tue, Sep 1, 2020 at 8:23 PM Marco Elver wrote: > > On Tue, 1 Sep 2020 at 07:31, David Gow wrote: > > On Tue, Sep 1, 2020 at 7:47 AM Kees Cook wrote: > > > On Fri, Aug 28, 2020 at 12:17:05AM +0800, David Gow wrote: > > > > On Thu, Aug 27, 2020 at 9:14 PM Marco Elver wrote: > [...] > > > > I

drivers/gpu/drm/msm/msm_drv.c:123:15: warning: no previous prototype for '_msm_ioremap'

2020-09-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59126901f200f5fc907153468b03c64e0081b6e6 commit: 62a35e81c2c1bae04fdefde56f2a92dd3e56164d drm/msm: Quiet error during failure in optional resource mappings. date: 5 weeks ago config:

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread Dave Young
On 09/04/20 at 12:02pm, chenzhou wrote: > > > On 2020/9/4 11:10, Dave Young wrote: > > On 09/04/20 at 11:04am, Dave Young wrote: > >> On 09/03/20 at 07:26pm, chenzhou wrote: > >>> Hi Catalin, > >>> > >>> > >>> On 2020/9/3 1:09, Catalin Marinas wrote: > On Sat, Aug 01, 2020 at 09:08:54PM

Re: [PATCH] mm: workingset: ignore slab memory size when calculating shadows pressure

2020-09-03 Thread Andrew Morton
On Thu, 3 Sep 2020 16:00:55 -0700 Roman Gushchin wrote: > In the memcg case count_shadow_nodes() sums the number of pages in lru > lists and the amount of slab memory (reclaimable and non-reclaimable) > as a baseline for the allowed number of shadow entries. > > It seems to be a good analogy

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

2020-09-03 Thread Jason Wang
On 2020/9/3 下午1:34, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver communicates with the backend driver through a virtio I2C message

Re: [PATCH tip/core/rcu 05/13] rcu: Always set .need_qs from __rcu_read_lock() for strict GPs

2020-09-03 Thread Boqun Feng
Hi Paul, On Mon, Aug 31, 2020 at 11:11:12AM -0700, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > The ->rcu_read_unlock_special.b.need_qs field in the task_struct > structure indicates that the RCU core needs a quiscent state from the > corresponding task. The __rcu_read_unlock()

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/4 11:10, Dave Young wrote: > On 09/04/20 at 11:04am, Dave Young wrote: >> On 09/03/20 at 07:26pm, chenzhou wrote: >>> Hi Catalin, >>> >>> >>> On 2020/9/3 1:09, Catalin Marinas wrote: On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: > There are following issues in

Re: [PATCH] perf metric: Fix some memory leaks

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 8:21 PM Namhyung Kim wrote: > > I found some memory leaks while reading the metric code. Some are > real and others only occur in the error path. Thanks Namhyung! Is it possible to get test coverage? Ian > Cc: Kajol Jain > Cc: John Garry > Cc: Ian Rogers > Fixes:

Re: [PATCH net-next] net: dsa: bcm_sf2: Ensure that MDIO diversion is used

2020-09-03 Thread Florian Fainelli
On 9/3/2020 3:03 PM, Andrew Lunn wrote: The firmware provides the Device Tree but here is the relevant section for you pasted below. The problematic device is a particular revision of the silicon (D0) which got later fixed (E0) however the Device Tree was created after the fixed platform, not

Re: [PATCH] ext4: flag as supporting buffered async reads

2020-09-03 Thread Theodore Y. Ts'o
Hi Jens, Sorry, the past few months have been *crazy* insane. Between Linux Plumbers Conference organizing, having to deal with some interns at $WORK, performance reviews, etc.., etc., it's been a perfect storm. As a result, I was late getting the primary ext4 pull request to Linus, and he's

Re: [PATCH v2 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2020-09-03 Thread Florian Fainelli
On 9/3/2020 8:17 PM, Chunfeng Yun wrote: Hi Florian, On Thu, 2020-08-20 at 19:30 +0800, Chunfeng Yun wrote: For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Cc: Florian Fainelli Signed-off-by:

Re: [PATCH v2 11/11] usb: gadget: bdc: fix checkpatch.pl repeated word warning

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix the warning: WARNING:REPEATED_WORD: Possible repeated word: 'and' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

[git pull] drm fixes for 5.9-rc4

2020-09-03 Thread Dave Airlie
Hi Linus, Not much going on this week, nouveau has a display hw bug workaround, amdgpu has some PM fixes and CIK regression fixes, one single radeon PLL fix, and a couple of i915 display fixes. Dave. drm-fixes-2020-09-04: drm fixes for 5.9-rc4 amdgpu: - Fix for 32bit systems - SW CTF fix -

Re: [PATCH v2 10/11] usb: gadget: bdc: fix checkpatch.pl spacing error

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix checkpatch.pl error: ERROR:SPACING: space prohibited before that ',' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 08/11] usb: gadget: bdc: use the BIT macro to define bit filed

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Prefer using the BIT macro to define bit fileds Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 09/11] usb: gadget: bdc: fix checkpatch.pl tab warning

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements WARNING:TABSTOP: Statements should start on a tabstop Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 07/11] usb: gadget: bdc: avoid precedence issues

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Add () around macro argument to avoid precedence issues Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 05/11] usb: gadget: bdc: fix check warning of block comments alignment

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix the warning: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 06/11] usb: gadget: bdc: add identifier name for function declaraion

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: This is used to avoid the warning of function arguments, e.g. WARNING:FUNCTION_ARGUMENTS: function definition argument 'u32' should also have an identifier name Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --

Re: [PATCH v2 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Prefer kzalloc(sizeof(*bd_table)...) over kzalloc(sizeof(struct bd_table) Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: No definition for bdc_ep_set_halt(), so remove it. Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 04/11] usb: gadget: bdc: fix warning of embedded function name

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Use '"%s...", __func__' to replace embedded function name Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 1/3] KVM: x86: move kvm_vcpu_gfn_to_memslot() out of try_async_pf()

2020-09-03 Thread Sean Christopherson
On Tue, Sep 01, 2020 at 04:15:07PM +0200, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > > On Fri, Aug 07, 2020 at 04:12:30PM +0200, Vitaly Kuznetsov wrote: > >> No functional change intended. Slot flags will need to be analyzed > >> prior to try_async_pf() when KVM_MEM_PCI_HOLE is

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

2020-09-03 Thread Jason Wang
On 2020/9/3 下午3:19, Jie Deng wrote: On 2020/9/3 14:12, Jason Wang wrote: On 2020/9/3 下午1:34, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:460:23: warning: variable 'lm' set but not used

2020-09-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59126901f200f5fc907153468b03c64e0081b6e6 commit: 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b drm/msm/dpu: add support for pcc color block in dpu driver date: 4 months ago config:

Re: [PATCH 2/2] Add a new sysctl knob: unprivileged_userfaultfd_user_mode_only

2020-09-03 Thread Andrea Arcangeli
Hello, On Mon, Aug 17, 2020 at 03:11:16PM -0700, Lokesh Gidra wrote: > There has been an emphasis that Android is probably the only user for > the restriction of userfaults from kernel-space and that it wouldn’t > be useful anywhere else. I humbly disagree! There are various areas > where the

Re: [PATCH tip/core/rcu 3/4] kernel/smp: Provide CSD lock timeout diagnostics

2020-09-03 Thread Boqun Feng
On Mon, Aug 31, 2020 at 11:14:16AM -0700, paul...@kernel.org wrote: [...] > +static __always_inline bool csd_lock_wait_toolong(call_single_data_t *csd, > u64 ts0, u64 *ts1, int *bug_id) > +{ > + int cpu = -1; > + int cpux; > + bool firsttime; > + u64 ts2, ts_delta; > +

[PATCH 2/2] dt-bindings: usb: generic-ohci: Document per-port-overcurrent property

2020-09-03 Thread Hamish Martin
OHCI overcurrent protection defaults to Global or "ganged" overcurrent protection mode. This new property allows for the Individual Port Over-current Protection to be selected when required. Signed-off-by: Hamish Martin --- Documentation/devicetree/bindings/usb/generic-ohci.yaml | 5 + 1

Re: [PATCH v2 1/2] mm: use add_page_to_lru_list()/page_lru()/page_off_lru()

2020-09-03 Thread Yu Zhao
On Thu, Sep 03, 2020 at 10:28:32AM +0200, Michal Hocko wrote: > On Mon 31-08-20 11:50:41, Yu Zhao wrote: > [...] > > @@ -1860,16 +1859,11 @@ static unsigned noinline_for_stack > > move_pages_to_lru(struct lruvec *lruvec, > > lruvec = mem_cgroup_page_lruvec(page, pgdat); > > > >

[PATCH 0/2] usb: ohci: Per-port overcurrent protection

2020-09-03 Thread Hamish Martin
Add a dt-binding to select per-port overcurrent protection mode so handle spurious overcurrent events from unconnected ports. Hamish Martin (2): usb: ohci: Add per-port overcurrent quirk dt-bindings: usb: generic-ohci: Document per-port-overcurrent property

[PATCH 1/2] usb: ohci: Add per-port overcurrent quirk

2020-09-03 Thread Hamish Martin
Some integrated OHCI controller hubs do not expose all ports of the hub to pins on the SoC. In some cases the unconnected ports generate spurious overcurrent events. For example the Broadcom 56060/Ranger 2 SoC contains a nominally 3 port hub but only the first port is wired. Default behaviour for

[PATCH] perf metric: Fix some memory leaks

2020-09-03 Thread Namhyung Kim
I found some memory leaks while reading the metric code. Some are real and others only occur in the error path. Cc: Kajol Jain Cc: John Garry Cc: Ian Rogers Fixes: 9afe5658a6fa8 ("perf tools: Release metric_events rblist") Fixes: 4ea2896715e67 ("perf metric: Collect referenced metrics in

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-09-03 Thread Kehuan Feng
Hi Hillf, Cong, Paolo, Sorry for the late reply due to other urgent task. I tried Hillf's patch (shown below on my tree) and it doesn't help and the jitter shows up very quickly. --- ./include/net/sch_generic.h.orig 2020-08-21 15:13:51.787952710 +0800 +++ ./include/net/sch_generic.h 2020-09-04

Re: [PATCH tip/core/rcu 3/4] kernel/smp: Provide CSD lock timeout diagnostics

2020-09-03 Thread Boqun Feng
On Mon, Aug 31, 2020 at 11:14:16AM -0700, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > This commit causes csd_lock_wait() to emit diagnostics when a CPU > fails to respond quickly enough to one of the smp_call_function() > family of function calls. These diagnostics are enabled by a

Re: [PATCH v2 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2020-09-03 Thread Chunfeng Yun
Hi Florian, On Thu, 2020-08-20 at 19:30 +0800, Chunfeng Yun wrote: > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where > C++ style should be used). > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > --- > v2: add Cc

Re: [PATCH v2 03/20] ASoC: sun4i-i2s: Adjust LRCLK width

2020-09-03 Thread Samuel Holland
Clément, On 9/3/20 3:30 PM, Clément Péron wrote: > From: Marcus Cooper > > Some codecs such as i2s based HDMI audio and the Pine64 DAC require > a different amount of bit clocks per frame than what is calculated > by the sample width. Use the values obtained by the tdm slot bindings > to adjust

Re: [PATCH v2 02/20] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-03 Thread Samuel Holland
Clément, On 9/3/20 3:30 PM, Clément Péron wrote: > From: Jernej Skrabec > > H6 I2S is very similar to that in H3, except it supports up to 16 > channels. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > sound/soc/sunxi/sun4i-i2s.c |

[PATCH v2 2/5] dt-bindings: clock: add SM8150 QCOM video clock bindings

2020-09-03 Thread Jonathan Marek
Add device tree bindings for video clock controller for SM8150 SoCs. Signed-off-by: Jonathan Marek --- .../bindings/clock/qcom,videocc.yaml | 4 ++- .../dt-bindings/clock/qcom,videocc-sm8150.h | 25 +++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode

[PATCH v2 4/5] clk: qcom: add video clock controller driver for SM8150

2020-09-03 Thread Jonathan Marek
Add support for the video clock controller found on SM8150 based devices. Derived from the downstream driver. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/videocc-sm8150.c | 276

[PATCH v2 5/5] clk: qcom: add video clock controller driver for SM8250

2020-09-03 Thread Jonathan Marek
Add support for the video clock controller found on SM8250 based devices. Derived from the downstream driver. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/videocc-sm8250.c | 518

[PATCH v2 1/5] dt-bindings: clock: combine qcom,sdm845-videocc and qcom,sc7180-videocc

2020-09-03 Thread Jonathan Marek
These two bindings are almost identical, so combine them into one. This will make it easier to add the sm8150 and sm8250 videocc bindings. Signed-off-by: Jonathan Marek --- .../bindings/clock/qcom,sc7180-videocc.yaml | 65 --- ...,sdm845-videocc.yaml => qcom,videocc.yaml} | 14

[PATCH v2 3/5] dt-bindings: clock: add SM8250 QCOM video clock bindings

2020-09-03 Thread Jonathan Marek
Add device tree bindings for video clock controller for SM8250 SoCs. Signed-off-by: Jonathan Marek --- .../bindings/clock/qcom,videocc.yaml | 8 +++- .../dt-bindings/clock/qcom,videocc-sm8250.h | 42 +++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread Dave Young
On 09/04/20 at 11:04am, Dave Young wrote: > On 09/03/20 at 07:26pm, chenzhou wrote: > > Hi Catalin, > > > > > > On 2020/9/3 1:09, Catalin Marinas wrote: > > > On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: > > >> There are following issues in arm64 kdump: > > >> 1. We use

[PATCH v2 0/5] SM8150 and SM8250 videocc drivers

2020-09-03 Thread Jonathan Marek
Add videocc drivers for SM8150/SM8250 required to boot and use venus. v2: - fixed dt_binding_check/checkpatch warnings in SM8250 bindings - added 19.2Mhz in SM8250 freq tbls for consistency with other videocc Jonathan Marek (5): dt-bindings: clock: combine qcom,sdm845-videocc and

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread Dave Young
On 09/03/20 at 07:26pm, chenzhou wrote: > Hi Catalin, > > > On 2020/9/3 1:09, Catalin Marinas wrote: > > On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: > >> There are following issues in arm64 kdump: > >> 1. We use crashkernel=X to reserve crashkernel below 4G, which > >> will fail

Re: [PATCH v3] media: uvcvideo: Convey full colorspace information to V4L2

2020-09-03 Thread Laurent Pinchart
Hi Adam, Thank you for the patch. On Wed, Sep 02, 2020 at 04:06:17PM -0400, Adam Goode wrote: > The Color Matching Descriptor has been present in USB cameras since > the original version of UVC, but it has never been fully exposed > in Linux. > > This change informs V4L2 of all of the UVC

Re: [PATCH 12/14] x86: remove address space overrides using set_fs()

2020-09-03 Thread Al Viro
On Thu, Sep 03, 2020 at 04:22:40PM +0200, Christoph Hellwig wrote: > diff --git a/arch/x86/lib/getuser.S b/arch/x86/lib/getuser.S > index c8a85b512796e1..94f7be4971ed04 100644 > --- a/arch/x86/lib/getuser.S > +++ b/arch/x86/lib/getuser.S > @@ -35,10 +35,19 @@ > #include > #include > >

Re: [PATCH v3 3/7] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-03 Thread Samuel Holland
Maxime, On 9/3/20 3:58 PM, Maxime Ripard wrote: > On Thu, Sep 03, 2020 at 10:02:31PM +0200, Clément Péron wrote: >> Hi Maxime, >> >> On Wed, 29 Jul 2020 at 17:16, Mark Brown wrote: >>> >>> On Wed, Jul 29, 2020 at 04:39:27PM +0200, Maxime Ripard wrote: >>> It really looks like the polarity

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:968:31: warning: variable 'num_dspp' set but not used

2020-09-03 Thread kernel test robot
Hi Kalyan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e28f0104343d0c132fa37f479870c9e43355fee4 commit: e47616df008b1059c57892fb34883403a6933231 drm/msm/dpu: add support for color processing blocks in dpu

[PATCH] Input: trackpoint - Add Suspend mode for Elan TrackPoint

2020-09-03 Thread jingle.wu
From: "jingle.wu" Add suspend command for elan trackpoint --- drivers/input/mouse/trackpoint.c | 16 drivers/input/mouse/trackpoint.h | 1 + 2 files changed, 17 insertions(+) diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c index

RE: [PATCH] exfat: eliminate dead code in exfat_find()

2020-09-03 Thread Namjae Jeon
> > The exfat_find_dir_entry() called by exfat_find() doesn't return -EEXIST. > > Therefore, the root-dir information setting is never executed. > > > > Signed-off-by: Tetsuhiro Kohada > > Acked-by: Sungjong Seo Applied. Thanks for your work!

Re: [PATCH] HID: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook

2020-09-03 Thread Lars Melin
On 9/4/2020 08:48, Penghao wrote: --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -387,6 +387,10 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x0b05, 0x17e0), .driver_info = USB_QUIRK_IGNORE_REMOTE_WAKEUP }, + /*

[PATCH] atm: eni: fix the missed pci_disable_device() for eni_init_one()

2020-09-03 Thread Jing Xiangfeng
eni_init_one() misses to call pci_disable_device() in an error path. Jump to err_disable to fix it. Signed-off-by: Jing Xiangfeng --- drivers/atm/eni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 39be444534d0..316a9947541f

Re: [PATCH] ALSA: usb-audio: quirks: Add USB_QUIRK_DISCONNECT_SUSPEND quirk for Lenovo A630Z TIO built-in usb audio card

2020-09-03 Thread Lars Melin
On 9/4/2020 08:45, Penghao wrote: --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -403,6 +403,10 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x12d1, 0x15c3), .driver_info = USB_QUIRK_DISCONNECT_SUSPEND }, + /*

Re: [PATCH kcsan 6/9] tools/memory-model: Expand the cheatsheet.txt notion of relaxed

2020-09-03 Thread Boqun Feng
On Thu, Sep 03, 2020 at 07:39:55PM -0700, Paul E. McKenney wrote: > On Fri, Sep 04, 2020 at 08:59:21AM +0800, Boqun Feng wrote: > > On Thu, Sep 03, 2020 at 04:30:37PM -0700, Paul E. McKenney wrote: > > [ . . . ] > > > > How about like this, adding "Relaxed" to the WRITE_ONCE() and READ_ONCE() >

Re: [PATCH tip/core/rcu 2/4] smp: Add source and destination CPUs to __call_single_data

2020-09-03 Thread Paul E. McKenney
On Fri, Sep 04, 2020 at 10:16:10AM +0800, Boqun Feng wrote: > Hi Paul, > > On Mon, Aug 31, 2020 at 11:14:15AM -0700, paul...@kernel.org wrote: > > From: "Paul E. McKenney" > > > > This commit adds a destination CPU to __call_single_data, and is inspired > > by an earlier commit by Peter

i2c-at91-master.c:undefined reference to `dma_release_channel'

2020-09-03 Thread kernel test robot
Hi Hyun, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e28f0104343d0c132fa37f479870c9e43355fee4 commit: d76271d22694e874ed70791702db9252ffe96a4c drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem

Re: [PATCH kcsan 6/9] tools/memory-model: Expand the cheatsheet.txt notion of relaxed

2020-09-03 Thread Paul E. McKenney
On Fri, Sep 04, 2020 at 08:59:21AM +0800, Boqun Feng wrote: > On Thu, Sep 03, 2020 at 04:30:37PM -0700, Paul E. McKenney wrote: [ . . . ] > > How about like this, adding "Relaxed" to the WRITE_ONCE() and READ_ONCE() > > rows and "RMW" to the "Relaxed operation" row? > > > > Much better now,

Re: [PATCH v9 2/3] drm: bridge: Add support for Cadence MHDP8546 DPI/DP bridge

2020-09-03 Thread Laurent Pinchart
Hi Tomi, On Tue, Sep 01, 2020 at 10:46:03AM +0300, Tomi Valkeinen wrote: > Hi Swapnil, > > On 31/08/2020 11:23, Swapnil Jakhade wrote: > > > +static int cdns_mhdp_validate_mode_params(struct cdns_mhdp_device *mhdp, > > + const struct drm_display_mode *mode, >

Re: [PATCH] media: rcar-vin: Update crop and compose settings for every s_fmt call

2020-09-03 Thread Laurent Pinchart
Hi Prabhakar, On Thu, Sep 03, 2020 at 03:53:18PM +0100, Lad, Prabhakar wrote: > On Wed, Aug 19, 2020 at 3:08 PM Hans Verkuil wrote: > > On 03/08/2020 21:21, Niklas wrote: > > > On 2020-08-03 19:11:32 +0100, Lad, Prabhakar wrote: > > >> On Sat, Aug 1, 2020 at 10:04 AM Niklas wrote: > > >>> On

Re: [PATCH] iio: dac: ad5593r: Dynamically set AD5593R channel modes

2020-09-03 Thread AceLan Kao
Hi Andy, Here is the updated ads5593r.asl, but I still got some troubles when using configfs. The modification I made 1. add DefinitionBlock() and External() 2. align _SB.I2C1 3. set _CRS serialized The issues I got are, 1. The ADS5593 is defined in DSDT table, but I can't compile the asl code

Re: [PATCH v2 1/1] iommu/vt-d: Use device numa domain if RHSA is missing

2020-09-03 Thread Lu Baolu
Hi Kevin, On 9/4/20 10:16 AM, Tian, Kevin wrote: From: Lu Baolu Sent: Friday, September 4, 2020 9:03 AM If there are multiple NUMA domains but the RHSA is missing in ACPI/DMAR table, we could default to the device NUMA domain as fall back. This could also benefit a vIOMMU use case where only

Re: [PATCH v6 5/7] KVM: x86: VMX: Prevent MSR passthrough when MSR access is denied

2020-09-03 Thread Aaron Lewis
> +/* > + * List of MSRs that can be directly passed to the guest. > + * In addition to these x2apic and PT MSRs are handled specially. > + */ > +static u32 vmx_possible_passthrough_msrs[MAX_POSSIBLE_PASSGHROUGH_MSRS] = { MAX_POSSIBLE_PASSGHROUGH_MSRS should be MAX_POSSIBLE_PASSTHROUGH_MSRS > +

Re: [PATCH v2] media: rcar-vin: Add support to select data pins for YCbCr422-8bit input

2020-09-03 Thread Laurent Pinchart
Hi Prabhakar, On Tue, Aug 11, 2020 at 06:40:58PM +0100, Lad, Prabhakar wrote: > On Tue, Aug 11, 2020 at 12:41 PM Laurent Pinchart wrote: > > On Fri, Aug 07, 2020 at 09:20:36PM +0100, Lad, Prabhakar wrote: > > > On Wed, Aug 5, 2020 at 1:35 PM Laurent Pinchart wrote: > > > > On Wed, Aug 05, 2020 at

[PATCH v3] drm/bridge: add it6505 driver

2020-09-03 Thread allen
This adds support for the iTE IT6505. This device can convert DPI signal to DP output. From: Allen Chen Signed-off-by: Jitao Shi Signed-off-by: Pi-Hsun Shih Signed-off-by: Yilun Lin Signed-off-by: Hermes Wu Signed-off-by: Allen Chen Reported-by: kernel test robot ---

RE: [PATCH v2 1/1] iommu/vt-d: Use device numa domain if RHSA is missing

2020-09-03 Thread Tian, Kevin
> From: Lu Baolu > Sent: Friday, September 4, 2020 9:03 AM > > If there are multiple NUMA domains but the RHSA is missing in ACPI/DMAR > table, we could default to the device NUMA domain as fall back. This could > also benefit a vIOMMU use case where only single vIOMMU is exposed, > hence > no

Re: [PATCH tip/core/rcu 2/4] smp: Add source and destination CPUs to __call_single_data

2020-09-03 Thread Boqun Feng
Hi Paul, On Mon, Aug 31, 2020 at 11:14:15AM -0700, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > This commit adds a destination CPU to __call_single_data, and is inspired > by an earlier commit by Peter Zijlstra. This version adds #ifdef to > permit use by 32-bit systems and

  1   2   3   4   5   6   7   8   9   10   >