Re: [git pull] drm for 5.8-rc1

2020-07-03 Thread James Jones
On 7/2/20 2:14 PM, James Jones wrote: On 7/2/20 1:22 AM, Daniel Stone wrote: Hi, On Wed, 1 Jul 2020 at 20:45, James Jones wrote: OK, I think I see what's going on.  In the Xorg modesetting driver, the logic is basically: if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) {    

Re: [PATCH 2/5] module: Refactor section attr into bin attribute

2020-07-03 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 04:26:35PM -0700, Kees Cook wrote: > In order to gain access to the open file's f_cred for kallsym visibility > permission checks, refactor the module section attributes to use the > bin_attribute instead of attribute interface. Additionally removes the > redundant "name"

Re: [PATCH 4.19 119/131] tracing: Fix event trigger to accept redundant spaces

2020-07-03 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 11:17:28PM +0200, Pavel Machek wrote: > Hi! > > > commit 6784beada631800f2c5afd567e5628c843362cee upstream. > > > > Fix the event trigger to accept redundant spaces in > > the trigger input. > > > > For example, these return -EINVAL > > > > echo " traceon" >

RE: [PATCH v3 03/14] vfio/type1: Report iommu nesting info to userspace

2020-07-03 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson < alex.william...@redhat.com > > Sent: Friday, July 3, 2020 2:39 AM > > On Wed, 24 Jun 2020 01:55:16 -0700 > Liu Yi L wrote: > > > This patch exports iommu nesting capability info to user space through > > VFIO. User space is expected to check this info for

RE: [PATCH v3 04/14] vfio: Add PASID allocation/free support

2020-07-03 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:17 AM > > On Wed, 24 Jun 2020 01:55:17 -0700 > Liu Yi L wrote: > > > Shared Virtual Addressing (a.k.a Shared Virtual Memory) allows sharing > > multiple process virtual address spaces with the device for simplified > >

Re: [PATCH 2/2] arm64: dts: ti: j721e-common-proc-board: Analog audio support

2020-07-03 Thread Peter Ujfalusi
On 02/07/2020 16.14, Peter Ujfalusi wrote: > The codec is wired in multi DIN/DOUT setup (DIN1/2/3/4/DOUT1/2/3 is > connected to McASP serializer). > > To support wide range of audio features a generic sound card can not be > used since we need to use different reference clock source for 44.1

Re: [GIT PULL] tpmdd updates for Linux v5.8-rc4

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 21:58:13 +0300: > git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-v5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0c7415c31ea9482c4377287af5f459778bf64d2a Thank you! -- Deet-doot-dot, I am a

Re: How do you investigate the cause of total hang? Is there some information that I should pay attention to in order to get some hint?

2020-07-03 Thread 孙世龙 sunshilong
Hi, Cong Wang Thank you for taking the time to respond to me. Do you think the message(i.e. "RCU detect a stall on CPU 2") indicates there is a lockup. Cong Wang 于2020年7月1日周三 下午2:07写道: > > On Tue, Jun 30, 2020 at 7:49 PM 孙世龙 sunshilong > wrote: > > > > Hi, list > > > > My x86

Re: [GIT PULL] Devicetree fixes for 5.8, v2

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 15:39:24 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-fixes-for-5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/684c8ccc40d7e5408d597a43712bad3827d3fb94 Thank you! --

Re: [git pull] m68knommu changes for v5.8-rc4

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Jul 2020 08:21:59 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git > tags/m68knommu-for-v5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cdd3bb54332f82295ed90cd0c09c78cd0c0ee822 Thank you! --

Re: [GIT PULL] fixes for v5.8-rc4

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 22:47:33 +0200: > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux > tags/for-linus-2020-07-02 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/45564bcd57046ebe8c9309527c114dcd042cb7e5 Thank you! --

[PATCH RESEND] mm/page_alloc: skip setting nodemask when we are in interrupt

2020-07-03 Thread Muchun Song
When we are in the interrupt context, it is irrelevant to the current task context. If we use current task's mems_allowed, we can fair to alloc pages in the fast path and fall back to slow path memory allocation when the current node(which is the current task mems_allowed) does not have enough

[RFC PATCH 2/2] memory: samsung: exynos5422-dmc: Use delayed timer as default

2020-07-03 Thread Chanwoo Choi
Use delayed timer as default instead of deferrable timer in order to monitor the DMC status regardless of CPU idle. Signed-off-by: Chanwoo Choi --- drivers/memory/samsung/exynos5422-dmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/samsung/exynos5422-dmc.c

[RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling

2020-07-03 Thread Chanwoo Choi
Add the delayed timer to devfreq framework in order to support the periodical polling mode without stop caused by CPU idle state. Some Non-CPU device must need to monitor the device status like utilization regardless of CPU state. - patch1 explains the detailed reason why the delayed timer is

[RFC PATCH 1/2] PM / devfreq: Add support delayed timer for polling mode

2020-07-03 Thread Chanwoo Choi
Until now, the devfreq driver using polling mode like simple_ondemand governor have used only deferrable timer for reduing the redundant power consumption. It reduces the CPU wake-up from idle due to polling mode which check the status of Non-CPU device. But, it has a problem for Non-CPU device

Re: [PATCH v2 06/15] perf ftrace: add option '-m/--buffer-size' to set per-cpu buffer size

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '-m/--buffer-size' to allow us set the size of per-cpu > tracing buffer. > > Signed-off-by: Changbin Du > --- [SNIP] > @@ -555,6 +575,8 @@ int cmd_ftrace(int argc, const char **argv) > "Max depth for

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

2020-07-03 Thread Kishon Vijay Abraham I
+Alan, Haotian On 7/2/2020 11:01 PM, Mathieu Poirier wrote: > On Thu, 2 Jul 2020 at 03:51, Michael S. Tsirkin wrote: >> >> On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >>> This series enhances Linux Vhost support to enable SoC-to-SoC >>> communication over MMIO. This

[PATCH v3 0/6] Remove default DMA window before creating DDW

2020-07-03 Thread Leonardo Bras
There are some devices in which a hypervisor may only allow 1 DMA window to exist at a time, and in those cases, a DDW is never created to them, since the default DMA window keeps using this resource. LoPAR recommends this procedure: 1. Remove the default DMA window, 2. Query for which configs

[PATCH v3 1/6] powerpc/pseries/iommu: Create defines for operations in ibm,ddw-applicable

2020-07-03 Thread Leonardo Bras
Create defines to help handling ibm,ddw-applicable values, avoiding confusion about the index of given operations. Signed-off-by: Leonardo Bras --- arch/powerpc/platforms/pseries/iommu.c | 43 -- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git

[PATCH v3 3/6] powerpc/pseries/iommu: Move window-removing part of remove_ddw into remove_dma_window

2020-07-03 Thread Leonardo Bras
Move the window-removing part of remove_ddw into a new function (remove_dma_window), so it can be used to remove other DMA windows. It's useful for removing DMA windows that don't create DIRECT64_PROPNAME property, like the default DMA window from the device, which uses "ibm,dma-window".

[PATCH v3 6/6] powerpc/pseries/iommu: Rename "direct window" to "dma window"

2020-07-03 Thread Leonardo Bras
A previous change introduced the usage of DDW as a bigger indirect DMA mapping when the DDW available size does not map the whole partition. As most of the code that manipulates direct mappings was reused for indirect mappings, it's necessary to rename all names and debug/info messages to reflect

Re: [PATCH v2 07/15] perf ftrace: show trace column header

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This makes perf-ftrace display column header before printing trace. > > $ sudo perf ftrace > \# tracer: function > \# > \# entries-in-buffer/entries-written: 0/0 #P:8 > \# > \# TASK-PID CPU# TIMESTAMP FUNCTION > \#

Re: [f2fs-dev] [PATCH v2] f2fs: add symbolic link to kobject in sysfs

2020-07-03 Thread Chao Yu
On 2020/7/3 12:19, Daeho Jeong wrote: > From: Daeho Jeong > > Added a symbolic link to directory of sysfs. It will > create a symbolic link such as "mount_0" and "mount_1" to > each f2fs mount in the order of mounting filesystem. But > once one mount point was umounted, that sequential number >

[PATCH v3 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-03 Thread Leonardo Bras
>From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of outputs from "ibm,query-pe-dma-windows" go from 5 to 6. This change of output size is meant to expand the address size of largest_available_block PE TCE from 32-bit to 64-bit, which ends up shifting page_size and

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-03 Thread kajoljain
On 6/25/20 7:38 PM, Ian Rogers wrote: > On Thu, Jun 25, 2020 at 4:47 AM Kajol Jain wrote: >> >> Set up the "PerChip" field so that perf knows they are >> per chip events. >> >> Set up the "PerCore" field so that perf knows they are >> per core events and add these fields to pmu_event

[PATCH v3 4/6] powerpc/pseries/iommu: Remove default DMA window before creating DDW

2020-07-03 Thread Leonardo Bras
On LoPAR "DMA Window Manipulation Calls", it's recommended to remove the default DMA window for the device, before attempting to configure a DDW, in order to make the maximum resources available for the next DDW to be created. This is a requirement for using DDW on devices in which hypervisor

[PATCH v3 5/6] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-07-03 Thread Leonardo Bras
As of today, if the biggest DDW that can be created can't map the whole partition, it's creation is skipped and the default DMA window "ibm,dma-window" is used instead. Usually this DDW is bigger than the default DMA window, and it performs better, so it would be nice to use it instead. The ddw

Re: [PATCH 1/2] block: fix error code for zone-append

2020-07-03 Thread Kanchan Joshi
On Fri, Jul 03, 2020 at 05:29:50AM +, Damien Le Moal wrote: On 2020/07/03 0:42, Kanchan Joshi wrote: avoid returning success when it should report failure, preventing odd behavior in caller. You can be more precise here: the odd behavior is an infinite loop in bio_iov_iter_get_pages()

Re: [PATCH v2 5/6] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-07-03 Thread Leonardo Bras
On Thu, 2020-07-02 at 10:31 +1000, Alexey Kardashevskiy wrote: > > On 02/07/2020 09:48, Leonardo Bras wrote: > > On Wed, 2020-07-01 at 16:57 -0300, Leonardo Bras wrote: > > > > It is not necessarily "direct" anymore as the name suggests, you may > > > > want to change that. DMA64_PROPNAME, may

RE: [PATCH v3 06/14] vfio/type1: Add VFIO_IOMMU_PASID_REQUEST (alloc/free)

2020-07-03 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:19 AM > > On Wed, 24 Jun 2020 01:55:19 -0700 > Liu Yi L wrote: > > > This patch allows user space to request PASID allocation/free, e.g. > > when serving the request from the guest. > > > > PASIDs that are not freed by userspace

Re: [PATCH v3 6/6] staging: greybus: audio: Enable GB codec, audio module compilation.

2020-07-03 Thread Vaibhav Agarwal
On Wed, Jul 01, 2020 at 03:36:55PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 19, 2020 at 04:50:26PM +0530, Vaibhav Agarwal wrote: > > Currently you can't enable the Gey Bus Audio Codec because there is no > > entry for it in the Kconfig file. Originally the config name was going > > to be

[PATCH] kthread: Don't cancel a work that is being cancelled

2020-07-03 Thread qiang.zhang
From: Zhang Qiang When canceling a work, if it is found that the work is in the cancelling state, we should directly exit the cancelled operation. Signed-off-by: Zhang Qiang --- kernel/kthread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/kthread.c b/kernel/kthread.c index

Re: [PATCH v2 09/15] perf ftrace: add support for tracing option 'func_stack_trace'

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds support to display call trace for function tracer. To do this, > just specify a '--func-call-graph' option. What if it's used with -G option? Also it might be used only with the -T option.. How about showing a warning if it's

Re: [PATCH V3 (RESEND) 2/3] mm/sparsemem: Enable vmem_altmap support in vmemmap_alloc_block_buf()

2020-07-03 Thread Anshuman Khandual
On 07/02/2020 07:37 PM, Catalin Marinas wrote: > On Thu, Jun 18, 2020 at 06:45:29AM +0530, Anshuman Khandual wrote: >> There are many instances where vmemap allocation is often switched between >> regular memory and device memory just based on whether altmap is available >> or not.

Re: [PATCH RESEND] mm/page_alloc: skip setting nodemask when we are in interrupt

2020-07-03 Thread Pekka Enberg
On Fri, Jul 3, 2020 at 9:14 AM Muchun Song wrote: > > When we are in the interrupt context, it is irrelevant to the > current task context. If we use current task's mems_allowed, we > can fair to alloc pages in the fast path and fall back to slow > path memory allocation when the current

Re: [RFC PROPOSAL] memcg: per-memcg user space reclaim interface

2020-07-03 Thread Michal Hocko
On Thu 02-07-20 08:22:22, Shakeel Butt wrote: [...] > Interface options: > -- > > 1) memcg interface e.g. 'echo 10M > memory.reclaim' > > + simple > + can be extended to target specific type of memory (anon, file, kmem). > - most probably restricted to cgroup v2. > > 2)

[PATCH] kthread: work could not be queued when worker being destroyed

2020-07-03 Thread qiang.zhang
From: Zhang Qiang The queuing_blocked func should returns true when the worker being destroyed. Signed-off-by: Zhang Qiang --- kernel/kthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kthread.c b/kernel/kthread.c index 1166f2043e67..2ca711d0e78a 100644 ---

Re: [PATCH] Replace HTTP links with HTTPS ones: BPF (Safe dynamic programs and tools)

2020-07-03 Thread Alexander A. Klimov
Am 03.07.20 um 00:08 schrieb Alexei Starovoitov: On Thu, Jul 2, 2020 at 1:05 PM Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg:

[PATCH 1/1] MAINTAINERS: add freescale USB PHY driver entry

2020-07-03 Thread Peter Chen
Add freescale USB PHY driver entry Signed-off-by: Peter Chen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 496fd4eafb68..3d3779a5ef9d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6970,6 +6970,13 @@ L:

Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '--graph-nosleep-time' which allow us only to measure > on-CPU time. This option is function_graph tracer only. I'd suggest --graph-sleep-time instead and set it by default. Then we can have --no-graph-sleep-time as

Re: [PATCH v2 11/15] perf ftrace: add support for trace option funcgraph-irqs

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '--graph-noirqs' to filter out functions executed > in irq context. Ditto. > > Signed-off-by: Changbin Du > > --- > v2: option name '--nofuncgraph-irqs' -> '--graph-noirqs'. > --- >

Re: [PATCH 1/2] mm/memcontrol: Fix OOPS inside mem_cgroup_get_nr_swap_pages()

2020-07-03 Thread Michal Hocko
[Cc Andrew - the patch is http://lkml.kernel.org/r/1593641660-13254-2-git-send-email-bhsha...@redhat.com] On Thu 02-07-20 08:00:27, Michal Hocko wrote: > On Thu 02-07-20 03:44:19, Bhupesh Sharma wrote: > > Prabhakar reported an OOPS inside mem_cgroup_get_nr_swap_pages() > > function in a corner

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-03 Thread Abhishek Bhardwaj
We have tried to steer away from kernel command line args for a few reasons. I am paraphrasing my colleague Doug's argument here (CC'ed him as well) - - The command line args are getting unwieldy. Kernel command line parameters are not a scalable way to set kernel config. It's intended as a

Re: [PATCH] drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable

2020-07-03 Thread Thomas Zimmermann
Hi thanks for improving the driver. Am 02.07.20 um 14:54 schrieb Tian Tao: > fixed the following warning: > hibmc_drm_drv.c:296:1-18:WARNING: Assignment of 0/1 to bool variable. > hibmc_drm_drv.c:301:2-19: WARNING: Assignment of 0/1 to bool variable. > > Signed-off-by: Tian Tao > --- >

RE: [PATCH v3 09/14] vfio/type1: Support binding guest page tables to PASID

2020-07-03 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:20 AM > > On Wed, 24 Jun 2020 01:55:22 -0700 > Liu Yi L wrote: > > > Nesting translation allows two-levels/stages page tables, with 1st > > level for guest translations (e.g. GVA->GPA), 2nd level for host > > translations (e.g.

RE: [PATCH v1 6/9] dt-bindings: dma: add fsl-edma3 yaml

2020-07-03 Thread Robin Gong
On 2020/07/03 5:01 Rob Herring > > Please check and re-submit. Thanks, will fix it in v2.

RE: [PATCH v15 3/3] Input: new da7280 haptic driver

2020-07-03 Thread Roy Im
On Fri, July 3, 2020 3:02 AM, Jes Sorensen wrote: > On 6/29/20 9:01 AM, Roy Im wrote: > > Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple > > mode and integrated waveform memory and wideband support. > > It communicates via an I2C bus to the device. > > > > Signed-off-by:

Re: [PATCH] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-03 Thread kernel test robot
. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Abhishek-Bhardwaj/x86-speculation-l1tf-Add-KConfig-for-setting-the-L1D-cache-flush-mode/20200703-002135 base: https://git.kernel.org/pub/scm

Re: [PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in enic_init_affinity_hint()

2020-07-03 Thread Kaige Li
On 06/25/2020 12:59 AM, Jakub Kicinski wrote: On Wed, 24 Jun 2020 06:32:36 + Christian Benvenuti (benve) wrote: We/Cisco will also look into it, hopefully a small code reorg will be sufficient. Hi, Christian: I have seen some submissions and codes, and feel that spin_lock is

[PATCH v3] f2fs: add symbolic link to kobject in sysfs

2020-07-03 Thread Daeho Jeong
From: Daeho Jeong Added a symbolic link to directory of sysfs. It will create a symbolic link such as "mount_0" and "mount_1" to each f2fs mount in the order of mounting filesystem. But once one mount point was umounted, that sequential number @x in "mount_@x" could be reused by later newly

Re: [PATCH 8/9] media: rkvdec: Add validate_fmt ops for pixelformat validation

2020-07-03 Thread Jonas Karlman
On 2020-07-03 05:14, Ezequiel Garcia wrote: > Hi Jonas, > > Thanks for working on this. > > On Wed, 2020-07-01 at 21:56 +, Jonas Karlman wrote: >> Add an optional validate_fmt operation that is used to validate the >> pixelformat of CAPTURE buffers. >> >> This is used in next patch to ensure

Re: [PATCH 2/2] block: enable zone-append for iov_iter of bvec type

2020-07-03 Thread Kanchan Joshi
On Fri, Jul 03, 2020 at 05:32:56AM +, Damien Le Moal wrote: On 2020/07/03 0:42, Kanchan Joshi wrote: zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. Signed-off-by:

[PATCH] perf/tools/pmu-events/powerpc: Added nest imc metric events

2020-07-03 Thread Kajol Jain
Added nest imc metric events. Signed-off-by: Kajol Jain --- .../arch/powerpc/power9/nest_metrics.json | 35 +++ 1 file changed, 35 insertions(+) diff --git a/tools/perf/pmu-events/arch/powerpc/power9/nest_metrics.json

Re: [PATCH 2/2] USB: phy: fsl-usb: remove character device usage

2020-07-03 Thread Greg Kroah-Hartman
On Fri, Jul 03, 2020 at 01:56:28AM +, Ran Wang wrote: > Hi > > On Thursday, July 2, 2020 5:08 PM, Peter Chen wrote > > > > > > No idea why this driver is using a char device node, statically > > > allocated, with no dynamic allocation or hook up with devtmpfs, along > > > with a reserverd

Re: [PATCH] staging: android: ion: Skip sync if not mapped

2020-07-03 Thread Greg Kroah-Hartman
On Tue, Apr 21, 2020 at 10:05:44AM +0200, Greg Kroah-Hartman wrote: > On Mon, Apr 20, 2020 at 01:03:39PM -0700, John Stultz wrote: > > On Mon, Apr 20, 2020 at 1:22 AM Christian Brauner > > wrote: > > > On Thu, Apr 16, 2020 at 12:25:08PM +0200, Greg Kroah-Hartman wrote: > > > > On Tue, Apr 14,

[PATCH 1/3] ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC

2020-07-03 Thread Jian-Hong Pan
The Acer desktop vCopperbox with ALC269VC cannot detect the MIC of headset, the line out and internal speaker until ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS quirk applied. Signed-off-by: Jian-Hong Pan Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 13 + 1 file changed, 13

[PATCH 2/3] ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC

2020-07-03 Thread Jian-Hong Pan
The Acer Aspire C20-820 AIO's audio (1025:1065) with ALC269VC can't detect the headset microphone until ALC269VC_FIXUP_ACER_HEADSET_MIC quirk maps the NID 0x18 as the headset mic pin. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake --- sound/pci/hda/patch_realtek.c | 11 +++ 1

[PATCH 3/3] ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC

2020-07-03 Thread Jian-Hong Pan
The Acer Veriton N4660G desktop's audio (1025:1248) with ALC269VC cannot detect the headset microphone until ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE quirk maps the NID 0x18 as the headset mic pin. Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 11 +++ 1 file changed, 11

Re: [PATCH] Replace HTTP links with HTTPS ones: vsprintf

2020-07-03 Thread Petr Mladek
On Thu 2020-07-02 22:05:36, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain

RE: [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC

2020-07-03 Thread Kailang
Please also link model ALC269_FIXUP_HEADSET_MODE on this. > -Original Message- > From: Jian-Hong Pan > Sent: Friday, July 3, 2020 3:05 PM > To: Takashi Iwai > Cc: Kailang ; alsa-de...@alsa-project.org; > linux-kernel@vger.kernel.org; li...@endlessm.com; Jian-Hong Pan > ; Daniel Drake >

Re: [Patch v2] mm/sparse: only sub-section aligned range would be populated

2020-07-03 Thread David Hildenbrand
On 03.07.20 05:18, Wei Yang wrote: > There are two code path which invoke __populate_section_memmap() > > * sparse_init_nid() > * sparse_add_section() > > For both case, we are sure the memory range is sub-section aligned. > > * we pass PAGES_PER_SECTION to sparse_init_nid() > * we

Re: [git pull] drm for 5.8-rc1

2020-07-03 Thread Daniel Vetter
On Fri, Jul 3, 2020 at 8:01 AM James Jones wrote: > > On 7/2/20 2:14 PM, James Jones wrote: > > On 7/2/20 1:22 AM, Daniel Stone wrote: > >> Hi, > >> > >> On Wed, 1 Jul 2020 at 20:45, James Jones wrote: > >>> OK, I think I see what's going on. In the Xorg modesetting driver, the > >>> logic is

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

2020-07-03 Thread Jason Wang
On 2020/7/2 下午9:35, Kishon Vijay Abraham I wrote: Hi Jason, On 7/2/2020 3:40 PM, Jason Wang wrote: On 2020/7/2 下午5:51, Michael S. Tsirkin wrote: On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: This series enhances Linux Vhost support to enable SoC-to-SoC

drivers/spi/spi-lp8841-rtc.c:63:28: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cdd3bb54332f82295ed90cd0c09c78cd0c0ee822 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: i386-randconfig-s001-20200703 (attached

Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx

2020-07-03 Thread Tomi Valkeinen
On 30/06/2020 21:26, Adam Ford wrote: The drm/omap driver was fixed to correct an issue where using a divider of 32 breaks the DSS despite the TRM stating 32 is a valid number. Through experimentation, it appears that 31 works, and it is consistent with the value used by the drm/omap driver.

Re: [PATCH v5 1/3] dmaengine: ptdma: Initial driver for the AMD PTDMA controller

2020-07-03 Thread Vinod Koul
On 16-06-20, 20:11, Sanjay R Mehta wrote: > +static int pt_core_execute_cmd(struct ptdma_desc *desc, > +struct pt_cmd_queue *cmd_q) > +{ > + __le32 *mp; > + u32 *dp; > + u32 tail; > + int i; no tabs, spaces pls > + int ret = 0; ret is

Re: [PATCH v5 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml

2020-07-03 Thread Amit Tomer
Hi Rob, > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure dt-schema is up to date: > > pip3 install git+https://github.com/devicetree-org/dt-schema.git@master > --upgrade > > Please check and re-submit. I wasn't able to reproduce it, even after

[PATCH v2] ASoC: cros_ec_codec: Log results when EC commands fail

2020-07-03 Thread Yu-Hsuan Hsu
Log results of failed EC commands to identify a problem more easily. Replace cros_ec_cmd_xfer_status with cros_ec_cmd_xfer because the result has already been checked in this function. The wrapper is not needed. Signed-off-by: Yu-Hsuan Hsu --- sound/soc/codecs/cros_ec_codec.c | 9 - 1

Re: [PATCH RESEND] mm/page_alloc: skip setting nodemask when we are in interrupt

2020-07-03 Thread David Hildenbrand
On 03.07.20 08:34, Pekka Enberg wrote: > On Fri, Jul 3, 2020 at 9:14 AM Muchun Song wrote: >> >> When we are in the interrupt context, it is irrelevant to the >> current task context. If we use current task's mems_allowed, we >> can fair to alloc pages in the fast path and fall back to slow >>

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-03 Thread David Hildenbrand
On 03.07.20 03:34, Wei Yang wrote: > On Thu, Jul 02, 2020 at 06:28:19PM +0200, David Hildenbrand wrote: >> On 01.07.20 13:54, Wei Yang wrote: >>> On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: On 01.07.20 04:11, Wei Yang wrote: > On Tue, Jun 30, 2020 at 02:44:00PM

[FOR-STABLE-3.9+] sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds

2020-07-03 Thread Viresh Kumar
From: Shile Zhang We added the 'sched_rr_timeslice_ms' SCHED_RR tuning knob in this commit: ce0d30ae ("sched/rt: Add a tuning knob to allow changing SCHED_RR timeslice") ... which name suggests to users that it's in milliseconds, while in reality it's being set in milliseconds but the

linux-next: Tree for Jul 3

2020-07-03 Thread Stephen Rothwell
Hi all, Changes since 20200702: My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") b236d81d9e4f ("powerpc/boot/dts: Fix dtc "pciex" warnings") The tip tree still had one build failure for which I reverted a commit. The kspp tree gained a conflict

Re: [PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table

2020-07-03 Thread Marcel Holtmann
Hi Joseph, > This patch adds the Realtek 8822CE controller to the blacklist_table > to support the wideband speech capability. > > Signed-off-by: Joseph Hwang > --- > > drivers/bluetooth/btusb.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c

Re: [PATCH 0/7] Add support for SD card in AM654x-evm

2020-07-03 Thread Faiz Abbas
Hi, On 19/06/20 6:27 pm, Faiz Abbas wrote: > The following patches add driver support for SD card on the > am654x-evm. It only enables high speed mode with UHS mode > support coming in a future series. > > DTS support will be added in another series as well. > > Faiz Abbas (7): > dt-bindings:

Re: [PATCH v10 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-07-03 Thread Bhupesh Sharma
Hi Chen, On Fri, Jul 3, 2020 at 9:24 AM Chen Zhou wrote: > > This patch series enable reserving crashkernel above 4G in arm64. > > There are following issues in arm64 kdump: > 1. We use crashkernel=X to reserve crashkernel below 4G, which will fail > when there is no enough low memory. > 2.

Re: [PATCH] kthread: Don't cancel a work that is being cancelled

2020-07-03 Thread Petr Mladek
On Thu 2020-07-02 12:43:24, qiang.zh...@windriver.com wrote: > From: Zhang Qiang > > When canceling a work, if it is found that the work is in > the cancelling state, we should directly exit the cancelled > operation. No, the function guarantees that the work is not longer running when it

Re: [PATCH 11/30] usb: dwc2: gadget: Avoid pointless read of EP control register

2020-07-03 Thread Greg KH
On Thu, Jul 02, 2020 at 03:46:06PM +0100, Lee Jones wrote: > Commit ec1f9d9f01384 ("usb: dwc2: gadget: parity fix in isochronous mode") > moved > these checks to dwc2_hsotg_change_ep_iso_parity() back in 2015. The assigned > value hasn't been read back since. Let's remove the unnecessary H/W

Re: [PATCH] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Danny Lin
On Thursday, July 2, 2020 at 10:38 PM, Miguel Ojeda wrote: > Hi Danny, > > On Fri, Jul 3, 2020 at 2:16 AM Danny Lin wrote: > > +[*] > > +charset = utf-8 > > +end_of_line = lf > > While UTF-8 and LF are probably OK for all files, I am not 100% sure about: > > +insert_final_newline = true > >

[PATCH v2] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Danny Lin
EditorConfig is a standard for defining basic editor configuration in projects. There is support available for 47 code editors as of writing, including both built-in and extension support. Many notable projects have adopted the standard already, including zsh, htop, and qemu. While this isn't a

Re: [PATCH v2] ASoC: cros_ec_codec: Log results when EC commands fail

2020-07-03 Thread Tzung-Bi Shih
On Fri, Jul 3, 2020 at 3:19 PM Yu-Hsuan Hsu wrote: > Log results of failed EC commands to identify a problem more easily. > > Replace cros_ec_cmd_xfer_status with cros_ec_cmd_xfer because the result > has already been checked in this function. The wrapper is not needed. Alternatively, you can

[PATCH] clk: at91: fix possible dead lock in new drivers

2020-07-03 Thread Ahmad Fatoum
syscon_node_to_regmap() will make the created regmap get and enable the first clock it can parse from the device tree. This clock is not needed to access the registers and should not be enabled at that time. Use device_node_to_regmap to resolve this as it looks up the regmap in the same list but

Re: [PATCH 27/30] usb: class: cdc-wdm: Provide description for usb_cdc_wdm_register()'s manage_power arg

2020-07-03 Thread Greg KH
On Thu, Jul 02, 2020 at 03:46:22PM +0100, Lee Jones wrote: > A good attempt was made to document everything else. > > Fixes the following W=1 kernel build warning(s): > > drivers/usb/class/cdc-wdm.c:961: warning: Function parameter or member > 'manage_power' not described in

Re: [PATCH 28/30] usb: c67x00: c67x00-hcd: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-03 Thread Greg KH
On Thu, Jul 02, 2020 at 03:46:23PM +0100, Lee Jones wrote: > No attempt has been made to document any of the functions here. > > Fixes the following W=1 kernel build warning(s): > > drivers/usb/c67x00/c67x00-hcd.c:237: warning: Function parameter or member > 'sie' not described in

Re: [PATCH v2] clk: at91: add sama5d3 pmc driver

2020-07-03 Thread Ahmad Fatoum
Hello Alexandre, On 6/22/20 11:47 PM, Alexandre Belloni wrote: > Hi, > > On 22/06/2020 23:24:45+0200, Ahmad Fatoum wrote: >>> + regmap = syscon_node_to_regmap(np); >> >> Shouldn't this be device_node_to_regmap for the same reasons outlined in your >> 6956eb33 ("clk: at91: fix possible

[PATCH v2 2/6] powerpc/pseries: move some PAPR paravirt functions to their own file

2020-07-03 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paravirt.h | 61 + arch/powerpc/include/asm/spinlock.h | 24 +--- arch/powerpc/lib/locks.c| 12 +++--- 3 files changed, 68 insertions(+), 29 deletions(-) create mode 100644

[PATCH v2 1/6] powerpc/powernv: must include hvcall.h to get PAPR defines

2020-07-03 Thread Nicholas Piggin
An include goes away in future patches which breaks compilation without this. Signed-off-by: Nicholas Piggin --- arch/powerpc/platforms/powernv/pci-ioda-tce.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powernv/pci-ioda-tce.c

[PATCH v2 4/6] powerpc/64s: implement queued spinlocks and rwlocks

2020-07-03 Thread Nicholas Piggin
These have shown significantly improved performance and fairness when spinlock contention is moderate to high on very large systems. [ Numbers hopefully forthcoming after more testing, but initial results look good ] Thanks to the fast path, single threaded performance is not noticably hurt.

[PATCH v2 3/6] powerpc: move spinlock implementation to simple_spinlock

2020-07-03 Thread Nicholas Piggin
To prepare for queued spinlocks. This is a simple rename except to update preprocessor guard name and a file reference. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/simple_spinlock.h| 292 ++ .../include/asm/simple_spinlock_types.h | 21 ++

[PATCH v2 0/6] powerpc: queued spinlocks and rwlocks

2020-07-03 Thread Nicholas Piggin
v2 is updated to account for feedback from Will, Peter, and Waiman (thank you), and trims off a couple of RFC and unrelated patches. Thanks, Nick Nicholas Piggin (6): powerpc/powernv: must include hvcall.h to get PAPR defines powerpc/pseries: move some PAPR paravirt functions to their own

[PATCH v2 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-03 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paravirt.h | 28 ++ arch/powerpc/include/asm/qspinlock.h | 55 +++ arch/powerpc/include/asm/qspinlock_paravirt.h | 5 ++ arch/powerpc/platforms/pseries/Kconfig| 5 ++

[PATCH v2 6/6] powerpc/qspinlock: optimised atomic_try_cmpxchg_lock that adds the lock hint

2020-07-03 Thread Nicholas Piggin
This brings the behaviour of the uncontended fast path back to roughly equivalent to simple spinlocks -- a single atomic op with lock hint. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/atomic.h| 28 arch/powerpc/include/asm/qspinlock.h | 2 +- 2

Re: [PATCH 23/30] usb: host: oxu210hp-hcd: Move declaration of 'qtd' into 'ifdef OXU_URB_TRACE'

2020-07-03 Thread Greg KH
On Thu, Jul 02, 2020 at 03:46:18PM +0100, Lee Jones wrote: > If we assign 'epnum' during the declaration we can also avoid "ISO > C90 forbids mixed declarations" issues. So it does looks like we > can have our cake and eat it in this scenario. > > Fixes the following W=1 kernel build warning(s):

Re: [PATCH v5 2/3] dmaengine: ptdma: register PTDMA controller as a DMA resource

2020-07-03 Thread Vinod Koul
On 16-06-20, 20:11, Sanjay R Mehta wrote: > --- a/drivers/dma/ptdma/Makefile > +++ b/drivers/dma/ptdma/Makefile > @@ -5,6 +5,7 @@ > > obj-$(CONFIG_AMD_PTDMA) += ptdma.o > > -ptdma-objs := ptdma-dev.o > +ptdma-objs := ptdma-dev.o \ > + ptdma-dmaengine.o Single line? > +static void

Re: [PATCH 00/30] Fix a bunch of W=1 issues in USB

2020-07-03 Thread Greg KH
On Thu, Jul 02, 2020 at 03:45:55PM +0100, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > Lee Jones (30): > usb: phy: phy: Fix-up a whole bunch of formatting issues >

Re: [PATCH 11/30] usb: dwc2: gadget: Avoid pointless read of EP control register

2020-07-03 Thread Minas Harutyunyan
Hi, On 7/3/2020 11:29 AM, Greg KH wrote: > On Thu, Jul 02, 2020 at 03:46:06PM +0100, Lee Jones wrote: >> Commit ec1f9d9f01384 ("usb: dwc2: gadget: parity fix in isochronous mode") >> moved >> these checks to dwc2_hsotg_change_ep_iso_parity() back in 2015. The assigned >> value hasn't been read

[PATCH v9 00/15] perf: support enable and disable commands in stat and record modes

2020-07-03 Thread Alexey Budankov
Changes in v9: - avoided screwing of fds by fdarray__filter() to fix staleness of pos returned by fdarray__add() - implemented notion of properties for fds kept by fdarray object and introduced nonfilterable property for control fd - avoided counting of nonfilterable fds by fdarray__filter()

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-03 Thread Bhupesh Sharma
Hi Chen, On Fri, Jul 3, 2020 at 10:54 AM chenzhou wrote: > > Hi Bhupesh, > > > On 2020/7/3 3:22, Bhupesh Sharma wrote: > > Hi Will, > > > > On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: > >> On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: > >>> commit bff3b04460a8 ("arm64:

Re: [FOR-STABLE-3.9+] sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds

2020-07-03 Thread Greg KH
On Fri, Jul 03, 2020 at 12:54:04PM +0530, Viresh Kumar wrote: > From: Shile Zhang > > We added the 'sched_rr_timeslice_ms' SCHED_RR tuning knob in this commit: > > ce0d30ae ("sched/rt: Add a tuning knob to allow changing SCHED_RR > timeslice") > > ... which name suggests to users that

[PATCH v2 1/3] ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC

2020-07-03 Thread Jian-Hong Pan
The Acer desktop vCopperbox with ALC269VC cannot detect the MIC of headset, the line out and internal speaker until ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS quirk applied. Signed-off-by: Jian-Hong Pan Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 13 + 1 file changed, 13

[PATCH v9 02/15] tools/libperf: add properties to struct pollfd *entries objects

2020-07-03 Thread Alexey Budankov
Store boolean properties per struct pollfd *entries object in a bitmap of int size. Implement fdarray_prop__nonfilterable property to skip object from counting by fdarray_filter(). Signed-off-by: Alexey Budankov --- tools/lib/api/fd/array.c | 17 +

  1   2   3   4   5   6   7   8   9   10   >