Re: [PATCH] gcc-plugins: simplify GCC plugin-dev capability test

2020-12-18 Thread Marek Szyprowski
Hi, On 03.12.2020 13:57, Masahiro Yamada wrote: > Linus pointed out a third of the time in the Kconfig parse stage comes > from the single invocation of cc1plus in scripts/gcc-plugin.sh [1], > and directly testing plugin-version.h for existence cuts down the > overhead a lot. [2] > > This commit

[PATCH 3/4] perf tools: Update powerpc's syscall.tbl

2020-12-18 Thread Tiezhu Yang
This silences the following tools/perf/ build warning: Warning: Kernel ABI header at 'tools/perf/arch/powerpc/entry/syscalls/syscall.tbl' differs from latest version at 'arch/powerpc/kernel/syscalls/syscall.tbl' Just make them same: cp arch/powerpc/kernel/syscalls/syscall.tbl

[PATCH 2/4] perf tools: Move syscall.tbl check into check-headers.sh for s390

2020-12-18 Thread Tiezhu Yang
It is better to check syscall.tbl for s390 in check-headers.sh, it is similar with commit c9b51a017065 ("perf tools: Move syscall_64.tbl check into check-headers.sh"). Signed-off-by: Tiezhu Yang --- tools/perf/arch/s390/Makefile | 4 tools/perf/check-headers.sh | 1 + 2 files changed, 1

[PATCH 4/4] perf tools: Update s390's syscall.tbl

2020-12-18 Thread Tiezhu Yang
This silences the following tools/perf/ build warning: Warning: Kernel ABI header at 'tools/perf/arch/s390/entry/syscalls/syscall.tbl' differs from latest version at 'arch/s390/kernel/syscalls/syscall.tbl' Just make them same: cp arch/s390/kernel/syscalls/syscall.tbl

Re: [PATCH] dt-bindings: display: bridge: tc358768: Remove maintainer information

2020-12-18 Thread Peter Ujfalusi
Hi Sam, On 17/12/2020 19.25, Sam Ravnborg wrote: >>> dtschema/dtc warnings/errors: >>> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml: >>> 'maintainers' is a required property >>>

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-12-18 Thread Fox Chen
On Fri, Dec 18, 2020 at 3:36 PM Ian Kent wrote: > > On Thu, 2020-12-17 at 10:14 -0500, Tejun Heo wrote: > > Hello, > > > > On Thu, Dec 17, 2020 at 07:48:49PM +0800, Ian Kent wrote: > > > > What could be done is to make the kernfs node attr_mutex > > > > a pointer and dynamically allocate it but

[PATCH 0/4] Move syscall.tbl check and update syscall.tbl for powerpc and s390

2020-12-18 Thread Tiezhu Yang
Tiezhu Yang (4): perf tools: Move syscall.tbl check into check-headers.sh for powerpc perf tools: Move syscall.tbl check into check-headers.sh for s390 perf tools: Update powerpc's syscall.tbl perf tools: Update s390's syscall.tbl tools/perf/arch/powerpc/Makefile | 7

[PATCH 1/4] perf tools: Move syscall.tbl check into check-headers.sh for powerpc

2020-12-18 Thread Tiezhu Yang
It is better to check syscall.tbl for powerpc in check-headers.sh, it is similar with commit c9b51a017065 ("perf tools: Move syscall_64.tbl check into check-headers.sh"). Signed-off-by: Tiezhu Yang --- tools/perf/arch/powerpc/Makefile | 7 --- tools/perf/check-headers.sh | 1 + 2 files

RE: [PATCH v3 2/3] fpga: dfl: add the userspace I/O device support for DFL devices

2020-12-18 Thread Wu, Hao
> Subject: [PATCH v3 2/3] fpga: dfl: add the userspace I/O device support for > DFL devices > > This patch supports the DFL drivers be written in userspace. This is > realized by exposing the userspace I/O device interfaces. > > The driver leverages the uio_pdrv_genirq, it adds the

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-18 Thread Takashi Iwai
On Fri, 18 Dec 2020 06:09:38 +0100, Kai-Heng Feng wrote: > > [+Cc Bjorn, Alan and linux-pci] > > On Thu, Dec 17, 2020 at 12:57 AM Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 17:22:17 +0100, > > Takashi Iwai wrote: > > > > > > On Wed, 16 Dec 2020 17:07:45 +0100, > > > Kai-Heng Feng wrote: >

答复: [PATCH -next] vdpa: Mark macaddr_buf with static keyword

2020-12-18 Thread Zouwei (Samuel)
Hi, I run this command: make allmodconfig ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- make C=2 drivers/vdpa/vdpa_sim/vdpa_sim_net.o ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- -邮件原件- 发件人: Stefano Garzarella [mailto:sgarz...@redhat.com] 发送时间: 2020年12月18日 15:57 收件人: Zouwei (Samuel) 抄送:

[GIT PULL] thermal for v5.11 #2

2020-12-18 Thread Daniel Lezcano
Hi Linus, please consider this trivial change which fall into the cracks. It adds a couple of ids in a array. The following changes since commit 4401117bf7fc11dc738c0963fa0c94814abc8dcd: thermal/drivers/devfreq_cooling: Fix the build when !ENERGY_MODEL (2020-12-15 17:03:56 +0100) are

[PATCH V4 0/2] Convert qcom,spmi-pmic bindings from .txt to .yaml

2020-12-18 Thread Kiran Gunda
This patch series does the following: - converts the qcom,spmi-pmic bindings from .txt to .yaml format - Sorted the compatible strings - Adds PM6150 and PM6150L subtypes. Changes from V3: - Fixed compilation error in .yaml file. Changes from V2: - Addressed Stephen Boyd and Rob Herring

[PATCH V4 2/2] mfd: qcom-spmi-pmic: Add support for pm6150 and pm6150l

2020-12-18 Thread Kiran Gunda
Add the compatibles and PMIC ids for pm6150 and pm6150l PMICs found on SC7180 based platforms. Signed-off-by: Kiran Gunda --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 2 ++ drivers/mfd/qcom-spmi-pmic.c | 4 2 files changed, 6 insertions(+)

[PATCH V4 1/2] mfd: qcom-spmi-pmic: Convert bindings to .yaml format

2020-12-18 Thread Kiran Gunda
Convert the bindings from .txt to .yaml format. Signed-off-by: Kiran Gunda --- .../devicetree/bindings/mfd/qcom,spmi-pmic.txt | 80 - .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml| 127 + 2 files changed, 127 insertions(+), 80 deletions(-) delete mode

Re: 答复: [PATCH -next] vdpa: Mark macaddr_buf with static keyword

2020-12-18 Thread Stefano Garzarella
On Fri, Dec 18, 2020 at 08:11:20AM +, Zouwei (Samuel) wrote: Hi, I run this command: make allmodconfig ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- make C=2 drivers/vdpa/vdpa_sim/vdpa_sim_net.o ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- Yeah, I can see the warning using C=2. I'll use it

Re: [PATCH v3 3/5] RISC-V: Align the .init.text section

2020-12-18 Thread Atish Patra
On Thu, Dec 17, 2020 at 12:33 AM Atish Patra wrote: > > On Wed, Dec 16, 2020 at 10:51 PM Palmer Dabbelt wrote: > > > > On Tue, 15 Dec 2020 22:02:54 PST (-0800), Palmer Dabbelt wrote: > > > On Wed, 04 Nov 2020 16:04:37 PST (-0800), Atish Patra wrote: > > >> In order to improve kernel text

Re: [PATCH 4/7] vfio: iommu_type1: Fix missing dirty page when promote pinned_scope

2020-12-18 Thread Keqian Zhu
On 2020/12/15 23:53, Alex Williamson wrote: > On Tue, 15 Dec 2020 17:37:11 +0800 > zhukeqian wrote: > >> Hi Alex, >> >> On 2020/12/15 8:04, Alex Williamson wrote: [...] +static void vfio_populate_bitmap_all(struct vfio_iommu *iommu) +{ + struct rb_node *n; +

Re: KASAN: use-after-free Read in service_outstanding_interrupt

2020-12-18 Thread Greg KH
On Fri, Dec 18, 2020 at 04:21:13PM +0800, Hillf Danton wrote: > On Thu, 17 Dec 2020 19:21:10 -0800 > > syzbot has found a reproducer for the following issue on: > > > > HEAD commit:5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g.. > > git tree: > >

[PATCH v2] dt-bindings: display: bridge: tc358768: Change maintainer information

2020-12-18 Thread Peter Ujfalusi
My employment with TI is coming to an end and I will not have access to the board where this bridge is connected to and I will also loose access to the manual of the chip. Add the missing copyright information, author and change the maintainer to Sam Ravnborg (thank you for volenteering!)

[PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
From: Alice Guo Add DT Binding doc for the Unique ID of i.MX 8M series. Signed-off-by: Alice Guo --- Changes for v8: - match soc node with regular expression Changes for v7: - change to a separate schema file Changes for v6: - none Changes for v5: - correct the error of using allOf

[PATCH v8 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-12-18 Thread Alice Guo (OSS)
From: Alice Guo In order to be able to use NVMEM APIs to read soc unique ID, add the nvmem data cell and name for nvmem-cells to the "soc" node, and add a nvmem node which provides soc unique ID to efuse@3035. Signed-off-by: Alice Guo --- Changes for v8: - none Changes for v7: - add

[PATCH v8 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-12-18 Thread Alice Guo (OSS)
From: Alice Guo Add compatible string to .dtsi files for binding of imx8_soc_info and device. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alice Guo --- Changes for v8: - none Changes for v7: - none Changes for v6: - leave only the changelog under '---' Changes for v5: - none Changes

[RFC PATCH 0/3] iommu: Permit modular builds of io-pgtable drivers

2020-12-18 Thread Isaac J. Manjarres
The goal of the Generic Kernel Image (GKI) effort is to have a common image that works across multiple Android devices. This involves generating a kernel image that has core features integrated into it, while SoC specific functionality can be added to the kernel for the device as a module. Along

[PATCH 1/3] iommu/io-pgtable-arm: Prepare for modularization

2020-12-18 Thread Isaac J. Manjarres
The io-pgtable-arm and io-pgtable-arm-v7s source files will be compiled as separate modules, along with the io-pgtable source. Export the symbols for the io-pgtable init function structures for the io-pgtable module to use. Signed-off-by: Isaac J. Manjarres ---

[PATCH 3/3] iommu/io-pgtable: Allow building as a module

2020-12-18 Thread Isaac J. Manjarres
Now that all of the required symbols have been exported, and the io-pgtable code can correctly refer to the io-pgtable init functions when their source files are built as modules, allow the io-pgtable code to be built as a module. The expectation is that the io-pgtable core code, along with the

[PATCH 2/3] iommu/io-pgtable: Prepare for modularization

2020-12-18 Thread Isaac J. Manjarres
The io-pgtable source file uses the #ifdef preprocessor macro to construct the io_pgtable_init_table structure. However, the #ifdef macro evaluates to true if the config it is testing is set to y. This is not ideal when the configs that the io-pgtable code checks for can be m, so use IS_ENABLED()

Re: [PATCH v3] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2020-12-18 Thread Vijayanand Jitta
On 12/17/2020 4:24 PM, Alexander Potapenko wrote: >>> Can you provide an example of a use case in which the user wants to >>> use the stack depot of a smaller size without disabling it completely, >>> and that size cannot be configured statically? >>> As far as I understand, for the page owner

[PATCH v8 4/4] soc: imx8m: change to use platform driver

2020-12-18 Thread Alice Guo (OSS)
From: Alice Guo Directly reading ocotp register depends on that bootloader enables ocotp clk, which is not always effective, so change to use nvmem API. Using nvmem API requires to support driver defer probe and thus change soc-imx8m.c to use platform driver. The other reason is that directly

Re: [PATCH] btf: support ints larger than 128 bits

2020-12-18 Thread Sean Young
Hi Yonghong, Thank you for the detailed review. On Thu, Dec 17, 2020 at 06:12:11PM -0800, Yonghong Song wrote: > On 12/17/20 7:01 AM, Sean Young wrote: > > clang supports arbitrary length ints using the _ExtInt extension. This > > can be useful to hold very large values, e.g. 256 bit or 512 bit

Re: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Krzysztof Kozlowski
On Fri, Dec 18, 2020 at 04:37:23PM +0800, Alice Guo (OSS) wrote: > From: Alice Guo > > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > > Changes for v8: > - match soc node with regular expression > Changes for v7: > - change to a separate schema

Re: [PATCH 1/4] KVM: x86/mmu: Use -1 to flag an undefined spte in get_mmio_spte()

2020-12-18 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Return -1 from the get_walk() helpers if the shadow walk doesn't fill at > least one spte, which can theoretically happen if the walk hits a > not-present PTPDR. Returning the root level in such a case will cause PDPTR > get_mmio_spte() to return garbage

Re: [PATCH] ACPI: PM: s2idle: More x86-specific code to the x86 directory

2020-12-18 Thread Shyam Sundar S K
On 12/18/2020 12:53 AM, Rafael J. Wysocki wrote: > [CAUTION: External Email] > > From: Rafael J. Wysocki > > Some code in drivers/acpi/sleep.c (which is regarded as a generic > file) related to suspend-to-idle support has grown direct dependencies > on x86, but in fact it has been specific

Re: [PATCH 0/3] add support for metadata encryption to F2FS

2020-12-18 Thread Chao Yu
On 2020/12/17 23:44, Satya Tangirala wrote: On Sat, Oct 10, 2020 at 05:53:06PM +0800, Chao Yu wrote: On 2020/10/5 15:36, Satya Tangirala wrote: This patch series adds support for metadata encryption to F2FS using blk-crypto. It looks this implementation is based on hardware crypto engine,

RE: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年12月18日 16:52 > To: Alice Guo (OSS) > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org;

Re: [PATCH v4 09/10] selftests/vm: test flag is broken

2020-12-18 Thread John Hubbard
On 12/17/20 10:52 AM, Pavel Tatashin wrote: In gup_test both gup_flags and test_flags use the same flags field. This is broken, because gup_flags can be passed as raw value (via -F hex), which can overwrite all the test flags. Thanks for finding and fixing the "stuck at 0x1" bug! The test is

Re: [PATCH v10 10/11] mm/hugetlb: Gather discrete indexes of tail page

2020-12-18 Thread Oscar Salvador
On Thu, Dec 17, 2020 at 08:13:02PM +0800, Muchun Song wrote: > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > index 6c02f49959fd..78dd88dda857 100644 > --- a/mm/hugetlb.c > +++ b/mm/hugetlb.c > @@ -1360,7 +1360,7 @@ static inline void hwpoison_subpage_deliver(struct > hstate *h, struct page *head) >

Re: [PATCH 2/4] KVM: x86/mmu: Get root level from walkers when retrieving MMIO SPTE

2020-12-18 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Get the so called "root" level from the low level shadow page table > walkers instead of manually attempting to calculate it higher up the > stack, e.g. in get_mmio_spte(). When KVM is using PAE shadow paging, > the starting level of the walk, from the callers

Re: [PATCH v4 09/10] selftests/vm: test flag is broken

2020-12-18 Thread John Hubbard
On 12/18/20 1:06 AM, John Hubbard wrote: Add a new test_flags field, to allow raw gup_flags to work. I think .test_control_flags field would be a good name, to make it very clear that it's not destined for gup_flags. Just .test_flags is not quite as clear a distinction from .gup_flags, as

Re: [RFC PATCH v3 0/9] fsdax: introduce fs query to support reflink

2020-12-18 Thread Ruan Shiyang
On 2020/12/18 上午11:49, Darrick J. Wong wrote: On Fri, Dec 18, 2020 at 10:44:26AM +0800, Ruan Shiyang wrote: On 2020/12/17 上午4:55, Jane Chu wrote: Hi, Shiyang, On 12/15/2020 4:14 AM, Shiyang Ruan wrote: The call trace is like this: memory_failure()   pgmap->ops->memory_failure()  =>

Re: [PATCH 3/4] KVM: x86/mmu: Use raw level to index into MMIO walks' sptes array

2020-12-18 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Bump the size of the sptes array by one and use the raw level of the > SPTE to index into the sptes array. Using the SPTE level directly > improves readability by eliminating the need to reason out why the level > is being adjusted when indexing the array. The

Re: [PATCH v4 5/9] spi: spi-mem: Mark dummy transfers by setting dummy_data bit

2020-12-18 Thread Pratyush Yadav
Hi Sowjanya, On 17/12/20 12:28PM, Sowjanya Komatineni wrote: > This patch marks dummy transfer by setting dummy_data bit to 1. > > Controllers supporting dummy transfer by hardware use this bit field > to skip software transfer of dummy bytes and use hardware dummy bytes > transfer. What is the

[PATCH v3] sched/fair: Avoid stale CPU util_est value for schedutil in task dequeue

2020-12-18 Thread Xuewen Yan
From: Xuewen Yan CPU (root cfs_rq) estimated utilization (util_est) is currently used in dequeue_task_fair() to drive frequency selection before it is updated. with: CPU_util: rq->cfs.avg.util_avg CPU_util_est: rq->cfs.avg.util_est CPU_utilization : max(CPU_util, CPU_util_est)

Re: [RFC PATCH v2 2/2] blk-mq: Lockout tagset iter when freeing rqs

2020-12-18 Thread John Garry
On 18/12/2020 01:55, Bart Van Assche wrote: On 12/17/20 3:07 AM, John Garry wrote: diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index a6df2d5df88a..853ed5b889aa 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@ -358,10 +358,19 @@ void blk_mq_tagset_busy_iter(struct

Re: [PATCH 4/4] KVM: x86/mmu: Optimize not-present/MMIO SPTE check in get_mmio_spte()

2020-12-18 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Check only the terminal leaf for a "!PRESENT || MMIO" SPTE when looking > for reserved bits on valid, non-MMIO SPTEs. The get_walk() helpers > terminate their walks if a not-present or MMIO SPTE is encountered, i.e. > the non-terminal SPTEs have already been

[PATCH] iio: adc: stm32-adc: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

2020-12-18 Thread Xu Wang
Because clk_prepare_enable() and clk_disable_unprepare() already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- drivers/iio/adc/stm32-adc-core.c | 29 +++-- drivers/iio/adc/stm32-adc.c | 14

Re: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Krzysztof Kozlowski
On Fri, Dec 18, 2020 at 09:05:00AM +, Alice Guo (OSS) wrote: > > +required: > > > + - compatible > > > + - nvmem-cells > > > + - nvmem-cell-names > > > + > > > +additionalProperties: true > > > > Don't leave comments unresolved (or resolve them against review without > >

Re: [PATCH v4 03/10] mm: apply per-task gfp constraints in fast path

2020-12-18 Thread Michal Hocko
On Thu 17-12-20 13:52:36, Pavel Tatashin wrote: [..] > diff --git a/mm/vmscan.c b/mm/vmscan.c > index 469016222cdb..d9546f5897f4 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -3234,11 +3234,12 @@ static bool throttle_direct_reclaim(gfp_t gfp_mask, > struct zonelist *zonelist, > unsigned

[PATCH] iio: adc: stm32-dfsdm: Remove redundant null check before clk_disable_unprepare

2020-12-18 Thread Xu Wang
ecause clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/iio/adc/stm32-dfsdm-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iio/adc/stm32-dfsdm-core.c

Re: [PATCH] power: supply: bq27xxx: Supporrt CHARGE_NOW for bq27z561/bq28z610/bq34z100

2020-12-18 Thread Pali Rohár
On Thursday 17 December 2020 12:03:24 Hermes Zhang wrote: > Hi Pali, > > From the TI spec (e.g. > https://www.ti.com/lit/ug/tidu077/tidu077.pdf?ts=1608206347022_url=https%253A%252F%252Fwww.google.com%252F) > , the NAC and RC (RemainingCapacity) are different: > > 4.5 NominalAvailableCapacity(

Re: [External] Re: [PATCH v10 10/11] mm/hugetlb: Gather discrete indexes of tail page

2020-12-18 Thread Muchun Song
On Fri, Dec 18, 2020 at 5:06 PM Oscar Salvador wrote: > > On Thu, Dec 17, 2020 at 08:13:02PM +0800, Muchun Song wrote: > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > index 6c02f49959fd..78dd88dda857 100644 > > --- a/mm/hugetlb.c > > +++ b/mm/hugetlb.c > > @@ -1360,7 +1360,7 @@ static inline

Re: [PATCH v4 05/10] mm/gup: migrate pinned pages out of movable zone

2020-12-18 Thread Michal Hocko
On Thu 17-12-20 13:52:38, Pavel Tatashin wrote: > + * 1. Pinned pages: (long-term) pinning of movable pages is avoided > + *when pages are pinned and faulted, but it is still possible that > + *address space already has pages in ZONE_MOVABLE at the time when > + *

Re: [PATCH] gcc-plugins: simplify GCC plugin-dev capability test

2020-12-18 Thread Masahiro Yamada
On Fri, Dec 18, 2020 at 4:58 PM Marek Szyprowski wrote: > > Hi, > > On 03.12.2020 13:57, Masahiro Yamada wrote: > > Linus pointed out a third of the time in the Kconfig parse stage comes > > from the single invocation of cc1plus in scripts/gcc-plugin.sh [1], > > and directly testing

Re: [PATCH v4 06/10] memory-hotplug.rst: add a note about ZONE_MOVABLE and page pinning

2020-12-18 Thread Michal Hocko
On Thu 17-12-20 13:52:39, Pavel Tatashin wrote: > Document the special handling of page pinning when ZONE_MOVABLE present. > > Signed-off-by: Pavel Tatashin > Suggested-by: David Hildenbrand Acked-by: Michal Hocko > --- > Documentation/admin-guide/mm/memory-hotplug.rst | 9 + > 1

my subject

2020-12-18 Thread Mavis
Sie haben eine Spende von EUR 5.800.000,00. Antworten Sie mit diesem Code [MW530342019], um den Gewinn zu beanspruchen

[PATCH] iio: frequency: adf4350: Remove redundant null check before clk_disable_unprepare

2020-12-18 Thread Xu Wang
Because clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/iio/frequency/adf4350.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/iio/frequency/adf4350.c

Re: [PATCH] ASoC: meson: axg-tdm-interface: fix loopback

2020-12-18 Thread Charles Keepax
On Thu, Dec 17, 2020 at 04:08:12PM +0100, Jerome Brunet wrote: > When the axg-tdm-interface was introduced, the backend DAI was marked as an > endpoint when DPCM was walking the DAPM graph to find a its BE. > > It is no longer the case since this > commit 8dd26dff00c0 ("ASoC: dapm: Fix handling

Re: [PATCH v4 07/10] mm/gup: change index type to long as it counts pages

2020-12-18 Thread Michal Hocko
On Thu 17-12-20 13:52:40, Pavel Tatashin wrote: > In __get_user_pages_locked() i counts number of pages which should be > long. Do we know of any caller who would like to pin so many pages it wouldn't fit into an int? I suspect this is more to sync types of nr_pages and the iterator right. It

RE: [PATCH] staging: most: video: fixed a parentheses coding style issue.

2020-12-18 Thread David Laight
From: Joe Perches > Sent: 17 December 2020 23:58 > > On Thu, 2020-12-17 at 15:45 -0800, Daniel West wrote: > > Fixed a coding style issue. > > It may pass checkpatch without warning, but it's uncommon kernel coding style. checkpatch probably shouldn't complain about lines that end in ( if they

Re: [PATCH] KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw

2020-12-18 Thread Paolo Bonzini
On 17/12/20 19:44, Uros Bizjak wrote: Replace inline assembly in nested_vmx_check_vmentry_hw with a call to __vmx_vcpu_run. The function is not performance critical, so (double) GPR save/restore in __vmx_vcpu_run can be tolerated, as far as performance effects are concerned. v2: Mark

Re: [PATCH 2/4] sched/fair: Make CFS bandwidth controller burstable

2020-12-18 Thread kernel test robot
Hi Huaixin, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on tip/master linus/master v5.10 next-20201217] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [NEEDS-REVIEW] [RFC PATCH 7/8] crypto: x86/aes-kl - Support AES algorithm using Key Locker instructions

2020-12-18 Thread Peter Zijlstra
On Thu, Dec 17, 2020 at 12:58:34PM -0800, Dave Hansen wrote: > On 12/16/20 9:41 AM, Chang S. Bae wrote: > > +config CRYPTO_AES_KL > > + tristate "AES cipher algorithms (AES-KL)" > > + depends on X86_KEYLOCKER > > + select CRYPTO_AES_NI_INTEL > > + help > > + Use AES Key Locker

Re: [PATCH v4 5/9] spi: spi-mem: Mark dummy transfers by setting dummy_data bit

2020-12-18 Thread Boris Brezillon
On Fri, 18 Dec 2020 14:51:08 +0530 Pratyush Yadav wrote: > Hi Sowjanya, > > On 17/12/20 12:28PM, Sowjanya Komatineni wrote: > > This patch marks dummy transfer by setting dummy_data bit to 1. > > > > Controllers supporting dummy transfer by hardware use this bit field > > to skip software

Re: [PATCH] Add support for Realtek RTL838x/RTL839x switch SoCs

2020-12-18 Thread Oleksij Rempel
Am 18.12.20 um 00:27 schrieb Bert Vermeulen: > On 12/15/20 11:11 PM, Oleksij Rempel wrote: >> Hello Bert, >> >> thank you for your work. Here are some comments.. > > Thanks for reviewing. I will send in a V2 with your comments all handled. > >> I assume, after applying all needed changes, there

Re: [RFC PATCH 6/8] selftests/x86: Test Key Locker internal key maintenance

2020-12-18 Thread Peter Zijlstra
On Wed, Dec 16, 2020 at 09:41:44AM -0800, Chang S. Bae wrote: > + /* ENCODEKEY128 %EAX */ > + asm volatile (".byte 0xf3, 0xf, 0x38, 0xfa, 0xc0"); This is lacking a binutils version number. Boris, didn't you do a checkpatch.pl thing for that?

Re: [RFC PATCH v2 2/2] blk-mq: Lockout tagset iter when freeing rqs

2020-12-18 Thread John Garry
On 18/12/2020 03:31, Ming Lei wrote: 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index a6df2d5df88a..853ed5b889aa 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@ -358,10 +358,19 @@ void blk_mq_tagset_busy_iter(struct

Re: [PATCH] gcc-plugins: simplify GCC plugin-dev capability test

2020-12-18 Thread Marek Szyprowski
On 18.12.2020 10:43, Masahiro Yamada wrote: > On Fri, Dec 18, 2020 at 4:58 PM Marek Szyprowski > wrote: >> On 03.12.2020 13:57, Masahiro Yamada wrote: >>> Linus pointed out a third of the time in the Kconfig parse stage comes >>> from the single invocation of cc1plus in scripts/gcc-plugin.sh [1],

Re: [PATCH] staging: most: video: fixed a parentheses coding style issue.

2020-12-18 Thread Joe Perches
On Fri, 2020-12-18 at 09:49 +, David Laight wrote: > From: Joe Perches > > Sent: 17 December 2020 23:58 > > > > On Thu, 2020-12-17 at 15:45 -0800, Daniel West wrote: > > > Fixed a coding style issue. > > > > It may pass checkpatch without warning, but it's uncommon kernel coding > > style.

[PATCH v3 1/2] dt-bindings: rtc: add reset-source property

2020-12-18 Thread Rasmus Villemoes
Some RTCs, e.g. the pcf2127, can be used as a hardware watchdog. But if the reset pin is not actually wired up, the driver exposes a watchdog device that doesn't actually work. Provide a standard binding that can be used to indicate that a given RTC can perform a reset of the machine, similar to

Re: [RFC PATCH 7/8] crypto: x86/aes-kl - Support AES algorithm using Key Locker instructions

2020-12-18 Thread Peter Zijlstra
On Wed, Dec 16, 2020 at 09:41:45AM -0800, Chang S. Bae wrote: > diff --git a/arch/x86/include/asm/inst.h b/arch/x86/include/asm/inst.h > index bd7f02480ca1..b719a11a2905 100644 > --- a/arch/x86/include/asm/inst.h > +++ b/arch/x86/include/asm/inst.h > @@ -122,9 +122,62 @@ > #endif > .endm >

[PATCH v3 0/2] add reset-source RTC binding, update pcf2127 driver

2020-12-18 Thread Rasmus Villemoes
the refactoring patch already in -next (5d78533a0c53 - rtc: pcf2127: move watchdog initialisation to a separate function), make sure to cc the DT binding list. Applies on top of next-20201218. Rasmus Villemoes (1): dt-bindings: rtc: add reset-source property Uwe Kleine-König (1): rtc: pcf2127: only

[PATCH v3 2/2] rtc: pcf2127: only use watchdog when explicitly available

2020-12-18 Thread Rasmus Villemoes
From: Uwe Kleine-König Most boards using the pcf2127 chip (in my bubble) don't make use of the watchdog functionality and the respective output is not connected. The effect on such a board is that there is a watchdog device provided that doesn't work. So only register the watchdog if the device

Ping: [patch] close_range.2: new page documenting close_range(2)

2020-12-18 Thread Alejandro Colomar (man-pages)
Hi Stephen, Linux 5.10 has been recently released. Do you have any updates for this patch? Thanks, Alex On 12/12/20 6:58 PM, Alejandro Colomar (man-pages) wrote: > Hi Christian, > > Makes sense to me. > > Thanks, > > Alex > > On 12/12/20 1:14 PM, Christian Brauner wrote: >> On Thu, Dec 10,

Re: dwc: tegra194: issue with card containing a bridge

2020-12-18 Thread Mian Yousaf Kaukab
On Thu, Dec 17, 2020 at 06:06:35PM +0100, Mian Yousaf Kaukab wrote: > On Thu, Dec 17, 2020 at 08:58:57AM -0600, Rob Herring wrote: > > On Tue, Dec 15, 2020 at 09:52:35PM +0100, Mian Yousaf Kaukab wrote: > > > On Tue, Dec 15, 2020 at 09:41:47AM -0600, Rob Herring wrote: > > > > On Tue, Dec 15, 2020

[PATCH v1] Bluetooth: btusb: add shutdown function for wcn6855

2020-12-18 Thread Zijun Hu
From: Tim Jiang we should send hci reset command before bt turn off, which can reset bt firmware status. Signed-off-by: Tim Jiang --- drivers/bluetooth/btusb.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index

RE: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年12月18日 17:37 > To: Alice Guo (OSS) > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org;

RE: [PATCH v2 3/3] thermal/core: Remove ms based delay fields

2020-12-18 Thread Adam Thomson
On 16 December 2020 22:04, Daniel Lezcano wrote: > The code does no longer use the ms unit based fields to set the > delays as they are replaced by the jiffies. > > Remove them and replace their user to use the jiffies version instead. > > Cc: Thara Gopinath > Signed-off-by: Daniel Lezcano >

Re: [PATCH 1/1] mfd: Standardise MFD_CELL_* helper names

2020-12-18 Thread Matthias Brugger
On 17/12/2020 09:34, Lee Jones wrote: > Start all helpers with "MFD_CELL_". > > Cc: Linus Walleij > Cc: Matthias Brugger > Cc: Gene Chen > Cc: linux-media...@lists.infradead.org > Signed-off-by: Lee Jones Reviewed-by: Matthias Brugger

Re: [PATCH v4 6/9] spi: tegra210-quad: Add support for hardware dummy cycles transfer

2020-12-18 Thread Boris Brezillon
On Thu, 17 Dec 2020 12:28:44 -0800 Sowjanya Komatineni wrote: > Tegra Quad SPI controller hardware supports sending dummy bytes based > on programmed dummy clock cycles after the actual transfer bytes. > > This patch adds this support of hardware dummy bytes transfer and > skips transfer of

Re: [PATCH -V6 RESEND 2/3] NOT kernel/man-pages: man2/set_mempolicy.2: Add mode flag MPOL_F_NUMA_BALANCING

2020-12-18 Thread Alejandro Colomar (mailing lists; readonly)
Hi Huang, Ying, Sorry I forgot to answer. See below. BTW, Linux 5.10 has been released recently; is this series already merged for 5.11? If not yet, could you just write '5.??' and we'll fix it (and add a commit number in a comment) when we know the definitive version? Thanks, Alex On 12/8/20

Re: 5.10.1: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:1

2020-12-18 Thread Toralf Förster
On 12/18/20 7:54 AM, Randy Dunlap wrote: Hi, [adding linux-mm] On 12/16/20 1:54 AM, Toralf Förster wrote: Hi, I got this recently at this hardened Gentoo Linux server: Linux mr-fox 5.10.1 #1 SMP Tue Dec 15 22:09:42 CET 2020 x86_64 Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz GenuineIntel

[PATCH] mm/vmscan: DRY cleanup for do_try_to_free_pages()

2020-12-18 Thread Jacob Wen
This patch reduces repetition of set_task_reclaim_state() around do_try_to_free_pages(). Signed-off-by: Jacob Wen --- mm/vmscan.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 257cba79a96d..4bc244b23686 100644

[v2] drm/msm/disp/dpu1: turn off vblank irqs aggressively in dpu driver

2020-12-18 Thread Kalyan Thota
Set the flag vblank_disable_immediate = true to turn off vblank irqs immediately as soon as drm_vblank_put is requested so that there are no irqs triggered during idle state. This will reduce cpu wakeups and help in power saving. To enable vblank_disable_immediate flag the underlying KMS driver

Re: linux-next: manual merge of the kvm tree with the arm64-fixes tree

2020-12-18 Thread Catalin Marinas
On Fri, Dec 18, 2020 at 01:47:39PM +1100, Stephen Rothwell wrote: > Today's linux-next merge of the kvm tree got a conflict in: > > arch/arm64/include/asm/kvm_asm.h > > between commit: > > 9fd339a45be5 ("arm64: Work around broken GCC 4.9 handling of "S" > constraint") > > from the

[PATCH 1/4] arm64: dts: imx8mq-librem5: add vin-supply to VDD_1V8

2020-12-18 Thread Martin Kepplinger
buck7 is the supply here. Also, fix alphabetical ordering. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

[PATCH 4/4] arm64: dts: imx8mq-librem5-r3: workaround i2c1 issue with 1GHz cpu voltage

2020-12-18 Thread Martin Kepplinger
This is a workaround for a hardware bug in the r3 revision that basically would stop the system due to traffic on the i2c1 bus. A cpu voltage change would trigger such traffic and that's what is avoided in order to work around it. Signed-off-by: Martin Kepplinger ---

[PATCH 2/4] arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen description

2020-12-18 Thread Martin Kepplinger
Add the pinctrl description for the interrupt. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

[PATCH 0/4] small Librem 5 phone dts updates

2020-12-18 Thread Martin Kepplinger
Some minor updates for the current hardware descriptions: Martin Kepplinger (4): arm64: dts: imx8mq-librem5: add vin-supply to VDD_1V8 arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen description arm64: dts: imx8mq-librem5: Move usdhc clocks assignment to board DT arm64:

Re: KASAN: use-after-free Read in service_outstanding_interrupt

2020-12-18 Thread Greg KH
On Fri, Dec 18, 2020 at 06:01:34PM +0800, Hillf Danton wrote: > On Fri, 18 Dec 2020 09:28:16 +0100 Greg KH wrote: > >On Fri, Dec 18, 2020 at 04:21:13PM +0800, Hillf Danton wrote: > >> On Thu, 17 Dec 2020 19:21:10 -0800 > >> > syzbot has found a reproducer for the following issue on: > >> > > >> >

[PATCH] sched: Add schedutil overview

2020-12-18 Thread Peter Zijlstra
Signed-off-by: Peter Zijlstra (Intel) --- Documentation/scheduler/schedutil.txt | 168 ++ 1 file changed, 168 insertions(+) --- /dev/null +++ b/Documentation/scheduler/schedutil.txt @@ -0,0 +1,168 @@ + + +NOTE; all this assumes a linear relation between

[PATCH 3/4] arm64: dts: imx8mq-librem5: Move usdhc clocks assignment to board DT

2020-12-18 Thread Martin Kepplinger
According to commit e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi too. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 4 1 file changed, 4 insertions(+) diff --git

Re: [RFC PATCH 7/8] crypto: x86/aes-kl - Support AES algorithm using Key Locker instructions

2020-12-18 Thread Bae, Chang Seok
> On Dec 18, 2020, at 19:11, Peter Zijlstra wrote: > > *groan*, so what actual version of binutils is needed and why is this > driver important enough to build on ancient crud to warrant all this > gunk? The new Key Locker instructions look to be added a few month ago [1]. But the latest

RE: [PATCH] staging: most: video: fixed a parentheses coding style issue.

2020-12-18 Thread David Laight
From: Joe Perches > Sent: 18 December 2020 10:09 > On Fri, 2020-12-18 at 09:49 +, David Laight wrote: > > From: Joe Perches > > checkpatch probably shouldn't complain about lines that end in ( > > if they are function definitions. > > Opinons vary. > > Very few function

Re: [PATCH] lib/logic_pio: Fix overlap check for pio registery

2020-12-18 Thread John Garry
On 18/12/2020 06:23, Jiahui Cen wrote: Since the [start, end) is a half-open interval, a range with the end equal to the start of another range should not be considered as overlapped. Signed-off-by: Jiahui Cen --- lib/logic_pio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] dma/qcom/gpi: Fixes a format mismatch

2020-12-18 Thread Xiaoming Ni
drivers/dma/qcom/gpi.c:1419:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t {aka unsigned int}' [-Wformat=] drivers/dma/qcom/gpi.c:1427:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t

[PATCH v10 2/3] tty: new helper function tty_get_icount()

2020-12-18 Thread Uwe Kleine-König
For a given struct tty_struct this yields the corresponding statistics about sent and received characters (and some more) which is needed to implement an LED trigger for tty devices. The new function is then used to simplify tty_tiocgicount(). Reviewed-by: Pavel Machek Signed-off-by: Uwe

[PATCH v10 0/3] leds: trigger: implement a tty trigger

2020-12-18 Thread Uwe Kleine-König
From: Uwe Kleine-König Hello, here comes v10 of this series. Changes compared to v9 sent with Message-Id: 20201018204022.910815-1-u.kleine-koe...@pengutronix.de in October: - Bump date and kernel version in ABI doc - Fix double unlock in error path; found by Pavel - Don't stop the workqueue

[PATCH v10 3/3] leds: trigger: implement a tty trigger

2020-12-18 Thread Uwe Kleine-König
Usage is as follows: myled=ledname tty=ttyS0 echo tty > /sys/class/leds/$myled/trigger echo $tty > /sys/class/leds/$myled/ttyname . When this new trigger is active it periodically checks the tty's statistics and when it changed since the last check the led is

[PATCH v10 1/3] tty: rename tty_kopen() and add new function tty_kopen_shared()

2020-12-18 Thread Uwe Kleine-König
Introduce a new function tty_kopen_shared() that yields a struct tty_struct. The semantic difference to tty_kopen() is that the tty is expected to be used already. So rename tty_kopen() to tty_kopen_exclusive() for clearness, adapt the single user and put the common code in a new static helper

Re: arch/arm64/kernel/topology.c:367:22: sparse: sparse: dereference of noderef expression

2020-12-18 Thread Catalin Marinas
On Fri, Dec 18, 2020 at 05:00:16AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 74f602dc96dd854c7b2034947798c1e2a6b84066 > commit: 68c5debcc06d6d24f15dbf978780fc5efc147d5e arm64: implement CPPC FFH > support using

  1   2   3   4   5   6   7   8   >