RE: [PATCH 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-06-30 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, June 28, 2020 8:34 AM > > A pasid might be bound to a page table from a VM guest via the iommu > ops.sva_bind_gpasid. In this case, when a DMA page fault is detected > on the physical IOMMU, we need to inject the page fault request into > the guest. After the

Re: [PATCH v33 15/21] x86/vdso: Add support for exception fixup in vDSO functions

2020-06-30 Thread Sean Christopherson
On Mon, Jun 29, 2020 at 07:10:22PM +0200, Borislav Petkov wrote: > On Thu, Jun 18, 2020 at 01:08:37AM +0300, Jarkko Sakkinen wrote: > ... > > intended benefit of massaging GCC's inlining algorithm is unlikely to > > realized in the vDSO any time soon, if ever. > > That is a very good explanation

RE: [PATCH v8 2/3] dt-bindings: arm-smmu: Add binding for Tegra194 SMMU

2020-06-30 Thread Pritesh Raithatha
> Add binding for NVIDIA's Tegra194 SoC SMMU topology that is based on ARM > MMU-500. > > Signed-off-by: Krishna Reddy Reviewed-by: Pritesh Raithatha

Unused lines

2020-06-30 Thread Gon Solo
Hi! Are the 147MB or 1.6 million(!) lines in drivers/gpu/drm/amd/include/asic_reg really necessary? I grepped a few of them and they don't seem to be used, neither in the kernel nor drm or mesa. As an example I removed one of the unused lines (see the attached patch) and the amdgpu driver seems

linux-next: build failure after merge of the thunderbolt tree

2020-06-30 Thread Stephen Rothwell
Hi all, After merging the thunderbolt tree, today's linux-next build (powerpc allyesconfig) failed like this: Caused by commit 54509f5005ca ("thunderbolt: Add KUnit tests for path walking") interacting with commit d4cdd146d0db ("kunit: generalize kunit_resource API beyond allocated

Re: [PATCH v4 15/23] ASoC: soc-core: Identify 'no_pcm' DAI links for DPCM

2020-06-30 Thread Kuninori Morimoto
Hi Sameer > PCM devices are created for dai links with 'no-pcm' flag as '0'. > Such DAI links have CPU component which implement pcm_construct() > and pcm_destruct() callbacks. Based on this, current patch exposes > a helper function to identify such components and populate 'no_pcm' > flag for

Re: [PATCH 2/2] kconfig: qconf: don't show goback button on splitMode

2020-06-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Jun 2020 12:55:05 +0900 Masahiro Yamada escreveu: > On Tue, Jun 30, 2020 at 12:30 AM Mauro Carvalho Chehab > wrote: > > > > the goback button does nothing on splitMode. So, why display > > it? > > > Hmm, I still see the goback button > on all of the three modes... Huh? Perhaps

Re: [PATCH 3/7] kgdb: Add request_nmi() to the io ops table for kgdboc

2020-06-30 Thread Sumit Garg
On Mon, 29 Jun 2020 at 17:15, Daniel Thompson wrote: > > On Fri, Jun 26, 2020 at 12:44:15PM -0700, Doug Anderson wrote: > > Hi, > > > > On Tue, Jun 23, 2020 at 3:59 AM Daniel Thompson > > wrote: > > > > > > On Tue, Jun 23, 2020 at 02:07:47PM +0530, Sumit Garg wrote: > > > > On Mon, 22 Jun 2020

Re: KASAN: null-ptr-deref Read in kvm_arch_check_processor_compat

2020-06-30 Thread Sean Christopherson
On Tue, Jun 23, 2020 at 05:17:15AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=135e723510 >

Re: [PATCH 04/11] ppc64/kexec_file: avoid stomping memory used by special regions

2020-06-30 Thread Hari Bathini
On 30/06/20 9:00 am, piliu wrote: > > > On 06/29/2020 01:55 PM, Hari Bathini wrote: >> >> >> On 28/06/20 7:44 am, piliu wrote: >>> Hi Hari, >> >> Hi Pingfan, >> >>> >>> After a quick through for this series, I have a few question/comment on >>> this patch for the time being. Pls see comment

Re: general protection fault in pvclock_gtod_notify

2020-06-30 Thread Sean Christopherson
On Fri, Jun 26, 2020 at 01:08:19PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:4a21185c Merge git://git.kernel.org/pub/scm/linux/kernel/g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16958f4d10 >

Re: KASAN: out-of-bounds Read in kvm_arch_hardware_setup

2020-06-30 Thread Sean Christopherson
On Sat, Jun 27, 2020 at 01:01:13PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1654e38510 >

Re: [PATCH v4 bpf-next 2/4] bpf: introduce helper bpf_get_task_stack()

2020-06-30 Thread Song Liu
> On Jun 29, 2020, at 9:18 PM, Alexei Starovoitov > wrote: > > On Sun, Jun 28, 2020 at 10:58 PM Song Liu wrote: >> >> Introduce helper bpf_get_task_stack(), which dumps stack trace of given >> task. This is different to bpf_get_stack(), which gets stack track of >> current task. One

Re: wait_on_page_bit_common(TASK_KILLABLE, EXCLUSIVE) can miss wakeup?

2020-06-30 Thread Oleg Nesterov
On 06/30, Nicholas Piggin wrote: > Excerpts from Oleg Nesterov's message of June 30, 2020 12:02 am: > > On 06/29, Nicholas Piggin wrote: > >> > >> prepare_to_wait_event() has a pretty good pattern (and comment), I would > >> favour using that (test the signal when inserting on the waitqueue). > >>

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-06-30 Thread Tetsuo Handa
On 2020/06/30 10:13, Eric W. Biederman wrote: > Alexei Starovoitov writes: > >> On Mon, Jun 29, 2020 at 02:55:05PM -0500, Eric W. Biederman wrote: >>> >>> I have tested thes changes by booting with the code compiled in and >>> by killing "bpfilter_umh" and running iptables -vnL to restart >>>

RE: [PATCH 4/4] iommu/vt-d: Add page response ops support

2020-06-30 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, June 28, 2020 8:34 AM > > After a page request is handled, software must response the device which > raised the page request with the handling result. This is done through > the iommu ops.page_response if the request was reported to outside of > vendor iommu

[PATCH] MAINTAINERS: update Amit Kucheria's email to a single email address

2020-06-30 Thread Amit Kucheria
Emails currently go to different mailboxes. Switch to the kernel.org address so I can forward them to a single mailbox. Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 2 +- MAINTAINERS | 4 ++-- 2 files

Re: [PATCH v2 5/5] kconfig: qconf: navigate menus on hyperlinks

2020-06-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Jun 2020 12:36:27 +0900 Masahiro Yamada escreveu: > On Mon, Jun 29, 2020 at 6:35 PM Mauro Carvalho Chehab > wrote: > > > > Instead of just changing the helper window to show a > > dependency, also navigate to it at the config and menu > > widgets. > > > > Signed-off-by: Mauro

[PATCH v3 1/7] kconfig: qconf: cleanup includes

2020-06-30 Thread Mauro Carvalho Chehab
The usage of c-like include is deprecated on modern Qt versions. Use the c++ style includes. While here, remove uneeded and redundant ones, sorting them on alphabetic order. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 27 +--

[PATCH v3 2/7] kconfig: qconf: make search fully work again on split mode

2020-06-30 Thread Mauro Carvalho Chehab
When the search dialog box finds symbols/menus that match the search criteria, it presents all results at the window. Clicking on a search result should make qconf to navigate to the selected item. This works on singleMode and on fullMode, but on splitMode, the navigation is broken. This was

[PATCH v3 7/7] kconfig: qconf: navigate menus on hyperlinks

2020-06-30 Thread Mauro Carvalho Chehab
Instead of just changing the helper window to show a dependency, also navigate to it at the config and menu widgets. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git

[PATCH v3 4/7] kconfig: qconf: re-implement setSelected()

2020-06-30 Thread Mauro Carvalho Chehab
The default implementation for setSelected() at QTreeWidgetItem allows multiple items to be selected. Well, this should never be possible for the configItem lists. So, implement a function that will automatically clean any previous selection. This simplifies the logic somewhat, while making the

[PATCH 2/9] media: mtk-vcodec: vdec: handle firmware version field

2020-06-30 Thread Alexandre Courbot
Firmwares for decoders newer than MT8173 will include an ABI version number in their initialization ack message. Add the capacity to manage it and make initialization fail if the firmware ABI is of a version that we don't support. For MT8173, this ABI version field does not exist ; thus ignore it

[PATCH v3 6/7] kconfig: qconf: don't show goback button on splitMode

2020-06-30 Thread Mauro Carvalho Chehab
the goback button does nothing on splitMode. So, why display it? Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index e43fe4dcd4e7..6a327b69ff5f 100644

Re: [PATCH v2] ARM: dts: exynos: Fix missing empty reg/ranges property regulators on Trats

2020-06-30 Thread Marek Szyprowski
Hi Krzysztof, On 29.06.2020 22:59, Krzysztof Kozlowski wrote: > Remove the regulators node entirely because its children do not have any > unit addresses. This fixes DTC warning: > > Warning (simple_bus_reg): /regulators/regulator-0: missing or empty > reg/ranges property > >

[PATCH v3 0/7] Fix split view search and debug info navigation

2020-06-30 Thread Mauro Carvalho Chehab
This series fixes some issues with search while on split view and fix the broken hyperlink navigation. The first patches restore the pre-Qt5 conversion behavior. The last one implements navigation on a different way. I opted to keep this one in separate, as this one is a new feature. - v3: -

[PATCH 1/9] media: mtk-vcodec: vdec: move stateful ops into their own file

2020-06-30 Thread Alexandre Courbot
From: Yunfei Dong We are planning to add support for stateless decoders to this driver. Part of the driver will be shared between stateful and stateless codecs, but a few ops need to be specialized for both. Extract the stateful part of the driver and move it into its own file, accessible

[PATCH 0/9] media: mtk-vcodec: vdec: support for MT8183

2020-06-30 Thread Alexandre Courbot
This patch series adds support for the H.264 stateless decoder found in MT8183. It depends on the MT8183 encoder support series [1] and should thus be applied on top of it. Contrary to MT8173 which is stateful, MT8183 is a stateless decoder. So the first patches take care of splitting the

[PATCH v3 5/7] kconfig: qconf: simplify the goBack() logic

2020-06-30 Thread Mauro Carvalho Chehab
The goBack() logic is used only for the configList, as it only makes sense on singleMode. So, let's simplify the code. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 50 +++- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git

[PATCH v3 3/7] kconfig: qconf: make debug links work again

2020-06-30 Thread Mauro Carvalho Chehab
The Qt5 conversion broke support for debug info links. Restore the behaviour added by changeset ab45d190fd4a ("kconfig: create links in info window"). The original approach was to pass a pointer for a data struct via an . That doesn't sound a good idea, as, if something gets wrong, the app could

[PATCH 3/9] media: mtk-vcodec: support version 2 of decoder firmware ABI

2020-06-30 Thread Alexandre Courbot
Add support for decoder firmware version 2, which makes the kernel responsible for managing the VSI context and is used for stateless codecs. Signed-off-by: Alexandre Courbot --- .../media/platform/mtk-vcodec/vdec_ipi_msg.h | 18 +--- .../media/platform/mtk-vcodec/vdec_vpu_if.c | 28

[PATCH 7/9] media: mtk-vcodec: vdec: add media device if using stateless api

2020-06-30 Thread Alexandre Courbot
From: Yunfei Dong The stateless API requires a media device for issuing requests. Add one if we are being instantiated as a stateless decoder. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot ---

Re: [PATCH] rtc: max77686: Do not allow interrupt to fire before system resume

2020-06-30 Thread Krzysztof Kozlowski
On Tue, Jun 30, 2020 at 12:23:53AM +0200, Alexandre Belloni wrote: > Hi, > > On 15/06/2020 18:14:55+0200, Krzysztof Kozlowski wrote: > > The rtc-max77686 device shares the main interrupt line with parent MFD > > device (max77686 driver). During the system suspend, the parent MFD > > device

[PATCH 5/9] media: mtk-vcodec: vdec: support stateless API

2020-06-30 Thread Alexandre Courbot
From: Yunfei Dong Support the stateless codec API that will be used by MT8183. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- drivers/media/platform/mtk-vcodec/Makefile| 1 +

[PATCH 9/9] dt-bindings: media: document mediatek,mt8183-vcodec-dec

2020-06-30 Thread Alexandre Courbot
MT8183's decoder is instantiated similarly to MT8173's. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/media/mediatek-vcodec.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/mediatek-vcodec.txt

[PATCH 6/9] media: mtk-vcodec: vdec: support stateless H.264 decoding

2020-06-30 Thread Alexandre Courbot
From: Yunfei Dong Add support for H.264 decoding using the stateless API, as supported by MT8183. This support takes advantage of the V4L2 H.264 reference list builders. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by:

[PATCH 8/9] media: mtk-vcodec: enable MT8183 decoder

2020-06-30 Thread Alexandre Courbot
From: Yunfei Dong Now that all the supporting blocks are present, enable decoder for MT8183. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 5

[PATCH 4/9] media: add Mediatek's MM21 format

2020-06-30 Thread Alexandre Courbot
Add Mediatek's non-compressed 8 bit block video mode. This format is produced by the MT8183 codec and can be converted to a non-proprietary format by the MDP3 component. Signed-off-by: Alexandre Courbot --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h | 1 +

[PATCH v5 bpf-next 0/4] bpf: introduce bpf_get_task_stack()

2020-06-30 Thread Song Liu
This set introduces a new helper bpf_get_task_stack(). The primary use case is to dump all /proc/*/stack to seq_file via bpf_iter__task. A few different approaches have been explored and compared: 1. A simple wrapper around stack_trace_save_tsk(), as v1 [1]. This approach introduces new

Re: [PATCH v3 4/8] mm/hugetlb: make hugetlb migration callback CMA aware

2020-06-30 Thread Joonsoo Kim
2020년 6월 29일 (월) 오후 4:55, Michal Hocko 님이 작성: > > On Mon 29-06-20 15:27:25, Joonsoo Kim wrote: > [...] > > Solution that Introduces a new > > argument doesn't cause this problem while avoiding CMA regions. > > My primary argument is that there is no real reason to treat hugetlb > dequeing somehow

Re: Re: Upstream fixes not merged in 5.4.y

2020-06-30 Thread SeongJae Park
On Mon, 29 Jun 2020 18:15:42 +0200 Greg KH wrote: > On Mon, Jun 29, 2020 at 04:28:05PM +0200, SeongJae Park wrote: > > Hello, > > > > > > With my little script, I found below commits in the mainline tree are more > > than > > 1 week old and fixing commits that back-ported in v5.4..v5.4.49,

[PATCH v5 bpf-next 1/4] perf: expose get/put_callchain_entry()

2020-06-30 Thread Song Liu
Sanitize and expose get/put_callchain_entry(). This would be used by bpf stack map. Suggested-by: Peter Zijlstra Acked-by: Andrii Nakryiko Signed-off-by: Song Liu --- include/linux/perf_event.h | 2 ++ kernel/events/callchain.c | 13 ++--- 2 files changed, 8 insertions(+), 7

[PATCH v5 bpf-next 2/4] bpf: introduce helper bpf_get_task_stack()

2020-06-30 Thread Song Liu
Introduce helper bpf_get_task_stack(), which dumps stack trace of given task. This is different to bpf_get_stack(), which gets stack track of current task. One potential use case of bpf_get_task_stack() is to call it from bpf_iter__task and dump all /proc//stack to a seq_file.

Re: [PATCH 04/16] net: bpfilter: use 'userprogs' syntax to build bpfilter_umh

2020-06-30 Thread Masahiro Yamada
Hi Michal, Alexei, On Mon, Jun 8, 2020 at 8:56 PM Michal Kubecek wrote: > > On Thu, Apr 23, 2020 at 04:39:17PM +0900, Masahiro Yamada wrote: > > The user mode helper should be compiled for the same architecture as > > the kernel. > > > > This Makefile reuses the 'hostprogs' syntax by overriding

Re: [PATCH] Remove handhelds.org links and email addresses

2020-06-30 Thread Alexander A. Klimov
Am 29.06.20 um 23:10 schrieb Wolfram Sang: Hi Alexander, thanks for trying to fix this, yet I have some doubts. On Mon, Jun 29, 2020 at 10:31:21PM +0200, Alexander A. Klimov wrote: Rationale: https://lore.kernel.org/linux-doc/20200626110706.7b5d4...@lwn.net/ I think we need some text

Re: [PATCH 6/6] mm: Add memalloc_nowait

2020-06-30 Thread Michal Hocko
On Mon 29-06-20 22:28:30, Matthew Wilcox wrote: [...] > The documentation is hard to add a new case to, so I rewrote it. What > do you think? (Obviously I'll split this out differently for submission; > this is just what I have in my tree right now). I am fine with your changes. Few notes

Re: [PATCH v3 00/15] HWPOISON: soft offline rework

2020-06-30 Thread Oscar Salvador
On Tue, 2020-06-30 at 01:08 -0400, Qian Cai wrote: > On Wed, Jun 24, 2020 at 03:01:22PM +, nao.horigu...@gmail.com > wrote: > > I rebased soft-offline rework patchset [1][2] onto the latest > > mmotm. The > > rebasing required some non-trivial changes to adjust, but mainly > > that was > >

RE: [EXT] Re: [PATCH v4 2/2] ARM: imx6plus: enable internal routing of clk_enet_ref where possible

2020-06-30 Thread Andy Duan
From: Sven Van Asbroeck Sent: Monday, June 29, 2020 10:37 PM > On Mon, Jun 29, 2020 at 10:26 AM Fabio Estevam > wrote: > > > > Just tested 5.4.24_2.1.0 on an imx6qp sabresd and DHCP also fails there. > > I think I discovered the problem ! > > When I compare the sabresd devicetree on mainline

[PATCH] input: misc: remove needless check before usb_free_coherent()

2020-06-30 Thread Chen Ni
From: Xu Wang usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/input/misc/cm109.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/cm109.c b/drivers/input/misc/cm109.c index

Re: [RFC PATCH 0/6] Support raw event and DT for perf on RISC-V

2020-06-30 Thread Zong Li
On Mon, Jun 29, 2020 at 9:23 PM Anup Patel wrote: > > On Mon, Jun 29, 2020 at 6:23 PM Zong Li wrote: > > > > On Mon, Jun 29, 2020 at 4:28 PM Anup Patel wrote: > > > > > > On Mon, Jun 29, 2020 at 11:22 AM Zong Li wrote: > > > > > > > > On Mon, Jun 29, 2020 at 12:53 PM Anup Patel wrote: > > > >

[PATCH net] hinic: fix passing non negative value to ERR_PTR

2020-06-30 Thread Luo bin
get_dev_cap and set_resources_state functions may return a positive value because of hardware failure, and the positive return value can not be passed to ERR_PTR directly. Fixes: 7dd29ee12865 ("net-next/hinic: add sriov feature support") Signed-off-by: Luo bin ---

RE: [EXT] Re: [PATCH 1/2] arm64: dts: ls1088a: add more thermal zone support

2020-06-30 Thread Andy Tang
> -Original Message- > From: Amit Kucheria > Sent: 2020年6月30日 13:37 > To: Andy Tang > Cc: Shawn Guo ; Leo Li ; Rob > Herring ; lakml ; > open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; LKML > Subject: Re: [EXT] Re: [PATCH 1/2] arm64: dts: ls1088a: add more thermal >

[PATCH] ASoC: Intel: bxt-da7219-max98357a: support MAX98390 speaker amp

2020-06-30 Thread Brent Lu
Support MAX98390 speaker amplifier on cometlake platform. Driver now detects amplifier type in the probe function and installs corresponding controls and DAPM widgets/routes in the late_probe function. Signed-off-by: Brent Lu --- sound/soc/intel/boards/Kconfig| 20

RE: [RFC PATCH v3 0/5] scsi: ufs: Add Host Performance Booster Support

2020-06-30 Thread Avri Altman
Hi, > > Hi Bean, > > On Mon, 2020-06-29 at 15:15 +0900, Daejun Park wrote: > > > > Seems you intentionally ignored to give you comments on my > > > > suggestion. > > > > let me provide the reason. > > > > > > Sorry! I replied to your comment ( > > >

Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-06-30 Thread Andreas Kemnade
Hi, On Sun, 21 Jun 2020 00:39:04 +0200 Jonathan Neuschäfer wrote: > Hi, > > This patchset adds basic support for the embedded controller found on > older ebook reader boards designed by/with the ODM Netronix Inc.[1] and > sold by Kobo or Tolino, for example the Kobo Aura and the Tolino Shine.

Re: [PATCH 4/4] i2c: stm32f7: Add SMBus-specific protocols support

2020-06-30 Thread Wolfram Sang
Hi Alain, > > So, as mentioned in the other review, I'd like to evaluate other > > possibilities for the above: > > > > - One option is to enable it globally in probe(). Then you lose the > > possibility to have a device at address 0x08. > > I'd prefer avoid this solution to not lose the

Re: [PATCH v3 4/8] mm/hugetlb: make hugetlb migration callback CMA aware

2020-06-30 Thread Michal Hocko
On Tue 30-06-20 15:30:04, Joonsoo Kim wrote: > 2020년 6월 29일 (월) 오후 4:55, Michal Hocko 님이 작성: [...] > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > index 57ece74e3aae..c1595b1d36f3 100644 > > --- a/mm/hugetlb.c > > +++ b/mm/hugetlb.c > > @@ -1092,10 +1092,14 @@ static struct page > >

RE: [PATCH] ASoC: Intel: bxt-da7219-max98357a: support MAX98390 speaker amp

2020-06-30 Thread Lu, Brent
> > Support MAX98390 speaker amplifier on cometlake platform. Driver now > detects amplifier type in the probe function and installs corresponding > controls and DAPM widgets/routes in the late_probe function. > > Signed-off-by: Brent Lu This patch is from Chrome-v4.19 branch to support the

Re: [EXT] Re: [PATCH 1/2] arm64: dts: ls1088a: add more thermal zone support

2020-06-30 Thread Amit Kucheria
On Tue, Jun 30, 2020 at 12:07 PM Andy Tang wrote: > > > > > -Original Message- > > From: Amit Kucheria > > Sent: 2020年6月30日 13:37 > > To: Andy Tang > > Cc: Shawn Guo ; Leo Li ; Rob > > Herring ; lakml ; > > open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > > ; LKML > >

Re: [RFC PATCH v1 2/2] Bluetooth: queue L2CAP conn req if encryption is needed

2020-06-30 Thread Marcel Holtmann
Hi Luiz, > It is possible to receive an L2CAP conn req for an encrypted > connection, before actually receiving the HCI change encryption > event. If this happened, the received L2CAP packet will be ignored. >>> >>> How is this possible? Or you are referring to a race between the ACL

Re: [RFC PATCH v1 1/2] Bluetooth: queue ACL packets if no handle is found

2020-06-30 Thread Archie Pusaka
Hi Marcel, On Mon, 29 Jun 2020 at 14:40, Marcel Holtmann wrote: > > Hi Archie, > > > There is a possibility that an ACL packet is received before we > > receive the HCI connect event for the corresponding handle. If this > > happens, we discard the ACL packet. > > > > Rather than just ignoring

[PATCH v3.1 7/7] kconfig: qconf: navigate menus on hyperlinks

2020-06-30 Thread Mauro Carvalho Chehab
Instead of just changing the helper window to show a dependency, also navigate to it at the config and menu widgets. Signed-off-by: Mauro Carvalho Chehab --- I ended re-sending the same version as on patch series 2. Please consider this patch instead. diff --git a/scripts/kconfig/qconf.cc

[PATCH] kconfig: qconf: parse newer types at debug info

2020-06-30 Thread Mauro Carvalho Chehab
There are 3 types that are not parsed by the debug info logic. Add support for them. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index fd721c6c4c94..4a616128a154

Re: [PATCH v3 00/15] HWPOISON: soft offline rework

2020-06-30 Thread 堀口 直也
On Mon, Jun 29, 2020 at 12:29:25PM +0200, Oscar Salvador wrote: > On Wed, 2020-06-24 at 15:01 +, nao.horigu...@gmail.com wrote: > > I rebased soft-offline rework patchset [1][2] onto the latest > > mmotm. The > > rebasing required some non-trivial changes to adjust, but mainly that > > was >

Re: [PATCH v1] Bluetooth: Fix kernel oops triggered by hci_adv_monitors_clear()

2020-06-30 Thread Marcel Holtmann
Hi Miao-chen, > This fixes the kernel oops by removing unnecessary background scan > update from hci_adv_monitors_clear() which shouldn't invoke any work > queue. > > The following test was performed. > - Run "rmmod btusb" and verify that no kernel oops is triggered. > > Signed-off-by:

[PATCH v2] net: qrtr: free flow in __qrtr_node_release

2020-06-30 Thread Carl Huang
The flow is allocated in qrtr_tx_wait, but not freed when qrtr node is released. (*slot) becomes NULL after radix_tree_iter_delete is called in __qrtr_node_release. The fix is to save (*slot) to a vairable and then free it. This memory leak is catched when kmemleak is enabled in kernel, the

Re: [RFC PATCH v1 1/2] Bluetooth: queue ACL packets if no handle is found

2020-06-30 Thread Marcel Holtmann
Hi Archie, >>> There is a possibility that an ACL packet is received before we >>> receive the HCI connect event for the corresponding handle. If this >>> happens, we discard the ACL packet. >>> >>> Rather than just ignoring them, this patch provides a queue for >>> incoming ACL packet without a

Re: [PATCH v4 12/23] ASoC: simple-card: Support DPCM DAI link with multiple Codecs

2020-06-30 Thread Kuninori Morimoto
Hi Sameer Thank you for explaining detail at off-list mail. Your issue happen on (C) case, and you are tring to solve it. It is easy to understand if it was indicated at log area. I have imagined other system from "multiple CPU/Codec support". (A)(B) FE <-> BE (C)

Re: [PATCH v6] gpio: pca953x: Add Maxim MAX7313 PWM support

2020-06-30 Thread Miquel Raynal
Hi Uwe, Uwe Kleine-König wrote on Mon, 29 Jun 2020 21:50:44 +0200: > On Mon, Jun 29, 2020 at 04:08:44PM +0200, Miquel Raynal wrote: > > Hello Uwe, Thierry, > > > > Miquel Raynal wrote on Sun, 3 May 2020 > > 12:54:53 +0200: > > > > > The MAX7313 chip is fully compatible with the PCA9535 on

general protection fault in create_empty_buffers (3)

2020-06-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4e99b321 Merge tag 'nfs-for-5.8-2' of git://git.linux-nfs... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14355b4b10 kernel config: https://syzkaller.appspot.com/x/.config?x=bf3aec367b9ab569

Re: [PATCH 1/2] usb: mtu3: disable USB2 LPM

2020-06-30 Thread Chunfeng Yun
On Mon, 2020-06-29 at 15:37 +0800, Peter Chen wrote: > On Mon, Jun 29, 2020 at 2:04 PM Chunfeng Yun > wrote: > > > > A SuperSpeed device shall include the USB 2.0 extension descriptor > > and shall support LPM when operating in USB 2.0 HS mode(see usb3.2 > > spec9.6.2.1). But we always don't

Re: [PATCH 03/11] fs: add new read_uptr and write_uptr file operations

2020-06-30 Thread Christoph Hellwig
Next fund one, in net/ipv6/ip6_flowlabel.c:ipv6_flowlabel_opt() we have this gem toward the end: if (!freq->flr_label) { if (copy_to_user(&((struct in6_flowlabel_req __user *)optval)->flr_label, >label,

[PATCH] iio: adc: Specify IOMEM dependency for adi-axi-adc driver

2020-06-30 Thread David Gow
The Analog Devices AXI ADC driver uses the devm_ioremap_resource function, but does not specify a dependency on IOMEM in Kconfig. This causes a build failure on architectures without IOMEM, for example, UML (notably with make allyesconfig). Fix this by making CONFIG_ADI_AXI_ADC depend on

Re: [PATCH 0/7] Add initial Keem Bay SoC / Board support

2020-06-30 Thread Daniele Alessandrelli
On Tue, 2020-06-16 at 16:56 +0100, Daniele Alessandrelli wrote: > Hi, > > This patch-set adds initial support for a new Intel Movidius SoC > code-named > Keem Bay. The SoC couples an ARM Cortex A53 CPU with an Intel > Movidius VPU. > > This initial patch-set enables only the minimal set of

Re: [PATCH 1/1] crypto: ux500: hash: Add namespacing to hash_init()

2020-06-30 Thread Lee Jones
On Tue, 30 Jun 2020, Herbert Xu wrote: > On Mon, Jun 29, 2020 at 01:30:03PM +0100, Lee Jones wrote: > > A recent change to the Regulator consumer API (which this driver > > utilises) add prototypes for the some suspend functions. These > > functions require including header file

[PATCH] net: zydas: remove needless check before usb_free_coherent()

2020-06-30 Thread Chen Ni
From: Xu Wang usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c

Re: [PATCH v3 1/1] s390: virtio: let arch accept devices without IOMMU feature

2020-06-30 Thread Cornelia Huck
On Mon, 29 Jun 2020 17:18:09 -0400 "Michael S. Tsirkin" wrote: > On Mon, Jun 29, 2020 at 06:48:28PM +0200, Pierre Morel wrote: > > > > > > On 2020-06-29 18:09, Michael S. Tsirkin wrote: > > > On Wed, Jun 17, 2020 at 12:43:57PM +0200, Pierre Morel wrote: > > > > An architecture protecting

[PATCH v1 0/6] vt: Add SRG mouse reporting features

2020-06-30 Thread Tammo Block
Hi everybody, this patchset adds xterm like mouse reporting features to the console. The linux virtual console has support for mouse reporting since 1994 or so, but the kernel only supports the original X10/X11 style standard protocols. To support more protocols these patches expand the kernel

[PATCH v1 1/6] tiocl.h: Change/Add defines for mouse report

2020-06-30 Thread Tammo Block
Add additional defines for mouse event types. The change of the value of TIOCL_SELBUTTONMASK deserves a bit more explanation : The old value of 15 uses the first 4 bits and sends them unchanged back to userspace if requested by an application. But in fact only the first two bits have ever been

[PATCH v1 2/6] console_struct.h: Two members for mouse report

2020-06-30 Thread Tammo Block
We need two values to store the status of mouse reporting, both need at least two (vc_protocol_mouse) or three (vc_report_mouse) bits, so use chars. Signed-off-by: Tammo Block --- include/linux/console_struct.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v1 3/6] vt/vt: Enable mode change via escape sequence

2020-06-30 Thread Tammo Block
This enables userspace to enable one of the mouse protocols and choose one of the new event types by escape sequences. They are not a bitmasks, but mutually exclusive. And don't forget to reset protocol value also if resetting vc. Signed-off-by: Tammo Block --- drivers/tty/vt/vt.c | 17

[PATCH v1 5/6] vt/vt: Add URXVT mouse reporting protocol

2020-06-30 Thread Tammo Block
The URXVT protocol easy, all data analog to the old X10. Signed-off-by: Tammo Block --- drivers/tty/vt/vt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 36520f7f0315..903c81c52887 100644 --- a/drivers/tty/vt/vt.c +++

Re: [PATCH v2] MAINTAINERS: Add entry for ROHM power management ICs

2020-06-30 Thread Lee Jones
On Thu, 18 Jun 2020, Matti Vaittinen wrote: > Add entry for maintaining power management IC drivers for ROHM > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528 and BD99954. > > Signed-off-by: Matti Vaittinen > Acked-by: Sebastian Reichel > --- > Morning Lee - could you take this in MFD?

[PATCH v1 4/6] vt/vt: Add SRG mouse reporting protocol

2020-06-30 Thread Tammo Block
The SRG protocol indicates a button release by appending a "m" to the report. In this case the button number is not 3 ("release state") but the number of the button that was released. As release event are only reported for the first three buttons, we need to store the number on click events

[PATCH v1 6/6] Documentation: Describe console mouse reporting

2020-06-30 Thread Tammo Block
This patch adds a description of the kernel interface(s) used for vt console mouse reporting and describes the protocols and bitmasks. Signed-off-by: Tammo Block --- .../admin-guide/console-mouse-reporting.rst | 92 +++ Documentation/admin-guide/index.rst | 1 + 2

Re: [PATCH v3 16/20] iocost: Use sequence counter with associated spinlock

2020-06-30 Thread Daniel Wagner
On Tue, Jun 30, 2020 at 07:44:48AM +0200, Ahmed S. Darwish wrote: > A sequence counter write side critical section must be protected by some > form of locking to serialize writers. A plain seqcount_t does not > contain the information of which lock must be held when entering a write > side

Re: [PATCH 2/4] misc: genwqe: Constify struct pci_error_handlers

2020-06-30 Thread haver
On 2020-06-11 00:47, Rikard Falkeborn wrote: genwqe_err_handler is never modified, so it can be made const to allow the compiler to put it in read-only memory. Before: textdata bss dec hex filename 2017461042464 287427046 drivers/misc/genwqe/card_base.o

Re: [PATCH] kunit: kunit_config: Fix parsing of CONFIG options with space

2020-06-30 Thread David Gow
On Mon, Jun 8, 2020 at 5:57 AM Rikard Falkeborn wrote: > > Commit 8b59cd81dc5e ("kbuild: ensure full rebuild when the compiler is > updated") introduced a new CONFIG option CONFIG_CC_VERSION_TEXT. On my > system, this is set to "gcc (GCC) 10.1.0" which breaks KUnit config > parsing which did not

Re: [PATCH] mm/spase: never partially remove memmap for early section

2020-06-30 Thread David Hildenbrand
On 30.06.20 00:58, Wei Yang wrote: > On Mon, Jun 29, 2020 at 03:13:25PM -0700, Dan Williams wrote: >> On Mon, Jun 29, 2020 at 1:34 AM Wei Yang >> wrote: >>> >>> On Thu, Jun 25, 2020 at 12:46:43PM -0700, Dan Williams wrote: On Wed, Jun 24, 2020 at 10:53 PM David Hildenbrand wrote:

Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-06-30 Thread Jonathan Neuschäfer
On Tue, Jun 30, 2020 at 08:40:51AM +0200, Andreas Kemnade wrote: [...] > got a chance to test it on a Tolino Shine 2 HD. > It uses the RTC from the RC5T619 but backlight seems to go via MSP430 > EC. > > I got this. > > [1.453603] ntxec 0-0043: Netronix embedded controller version f110 >

Re: [PATCH 16/20] misc: genwqe: card_base: Remove set but unused variable 'rc'

2020-06-30 Thread haver
On 2020-06-29 16:04, Lee Jones wrote: Variable 'rc' hasn't been checked since the driver's inception in 2013. If it hasn't caused any issues since then, it's unlikely to in the future. Let's take it out for now. Fixes the following W=1 kernel build warning(s):

Re: [PATCH v3 5/8] mm/migrate: make a standard migration target allocation function

2020-06-30 Thread Joonsoo Kim
2020년 6월 29일 (월) 오후 5:03, Michal Hocko 님이 작성: > > On Mon 29-06-20 15:41:37, Joonsoo Kim wrote: > > 2020년 6월 26일 (금) 오후 4:33, Michal Hocko 님이 작성: > > > > > > On Fri 26-06-20 14:02:49, Joonsoo Kim wrote: > > > > 2020년 6월 25일 (목) 오후 9:05, Michal Hocko 님이 작성: > > > > > > > > > > On Tue 23-06-20

Re: [PATCH 4.14 00/78] 4.14.186-rc1 review

2020-06-30 Thread Naresh Kamboju
On Mon, 29 Jun 2020 at 21:08, Sasha Levin wrote: > > > This is the start of the stable review cycle for the 4.14.186 release. > There are 78 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 v2] drivers/virt/fsl_hypervisor: Correcting error handling path

2020-06-30 Thread Souptick Joarder
On Mon, Jun 22, 2020 at 10:05 PM Souptick Joarder wrote: > > On Wed, Jun 17, 2020 at 8:22 AM Souptick Joarder wrote: > > > > First, when memory allocation for sg_list_unaligned failed, there > > is no point of calling put_pages() as we haven't pinned any pages. > > > > Second, if

Attention

2020-06-30 Thread Peter Flavel
Good day Is this email private for discussion and personal to you?

Re: [PATCH 0/4] arm64: kgdb/kdb: Fix single-step debugging issues

2020-06-30 Thread Will Deacon
On Mon, Jun 29, 2020 at 02:20:11PM -0700, Doug Anderson wrote: > On Sat, May 16, 2020 at 1:20 AM liwei (GF) wrote: > > On 2020/5/14 8:34, Doug Anderson wrote: > > > On Sat, May 9, 2020 at 6:49 AM Wei Li wrote: > > >> > > >> This patch set is to fix several issues of single-step debugging > > >>

Re: [PATCH v3 4/8] mm/hugetlb: make hugetlb migration callback CMA aware

2020-06-30 Thread Joonsoo Kim
2020년 6월 30일 (화) 오후 3:42, Michal Hocko 님이 작성: > > On Tue 30-06-20 15:30:04, Joonsoo Kim wrote: > > 2020년 6월 29일 (월) 오후 4:55, Michal Hocko 님이 작성: > [...] > > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > > index 57ece74e3aae..c1595b1d36f3 100644 > > > --- a/mm/hugetlb.c > > > +++ b/mm/hugetlb.c >

Re: [RFC][PATCH 8/8] mm/numa: new reclaim mode to enable reclaim-based migration

2020-06-30 Thread Huang, Ying
Hi, Dave, Dave Hansen writes: > From: Dave Hansen > > Some method is obviously needed to enable reclaim-based migration. > > Just like traditional autonuma, there will be some workloads that > will benefit like workloads with more "static" configurations where > hot pages stay hot and cold

Re: [PATCH 18/20] misc: genwqe: card_base: Whole host of kerneldoc fixes

2020-06-30 Thread haver
On 2020-06-29 16:04, Lee Jones wrote: From missing documentation for function arguments, to promotion obvious kerneldoc headers and incorrectly named arguments. Fixes the following W=1 warnings: drivers/misc/genwqe/card_base.c:175: warning: Function parameter or member 'cd' not described in

Re: [PATCH 2/4] io_uring: handle EAGAIN iopoll

2020-06-30 Thread kernel test robot
Hi Pavel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20200622] [cannot apply to linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as

  1   2   3   4   5   6   7   8   9   10   >