Re: [RT] 5.9-rt14 softirq_ctrl.lock vs listening_hash[i].lock lockdep splat

2020-12-09 Thread Sebastian Andrzej Siewior
On 2020-12-09 11:05:45 [+0100], Peter Zijlstra wrote: > In general we have the rule that as long as a lock is only ever used > from task context (like the above ilb->lock, afaict) then it doesn't > matter if you also take it with (soft)irqs disabled or not. But this > softirq scheme breaks that. If

Re: WARNING in __queue_work (3)

2020-12-09 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:7d8761ba Merge branch 'fixes' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1485974550 kernel config: https://syzkaller.appspot.com/x/.config?x=59df2a4

Re: [PATCH v2 1/2] 📤 dt-bindings: dma: mtk-apdma: add bindings for MT8516 SOC

2020-12-09 Thread Fabien Parent
Sorry, resending without the unicode symbol in the title On Wed, Dec 9, 2020 at 12:44 PM Fabien Parent wrote: > > Add bindings to APDMA for MT8516 SoC. MT8516 is compatible with MT6577. > > Signed-off-by: Fabien Parent > Reviewed-by: Matthias Brugger > Acked-by: Rob Herring > --- > > V2: no ch

Re: [PATCH v2 2/2] 📤 arm64: dts: mediatek: mt8516: add support for APDMA

2020-12-09 Thread Fabien Parent
Sorry, resending without the unicode symbol in the title On Wed, Dec 9, 2020 at 12:44 PM Fabien Parent wrote: > > Add support the APDMA IP on MT8516. APDMA is a DMA controller > for UARTs. > > Signed-off-by: Fabien Parent > --- > > V2: Add missing dma-names properties on uart nodes > > arch/arm

[PATCH trivial] irqchip/gic: Spelling s/REturn/Return/

2020-12-09 Thread Geert Uytterhoeven
Fix a capitalization typo. Signed-off-by: Geert Uytterhoeven --- drivers/irqchip/irq-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 6053245a4754c092..a3c2f18131b2b1da 100644 --- a/drivers/irqchip/irq-gic.c +++

[PATCH trivial] ARM: uncompress: atags_to_fdt: Spelling s/REturn/Return/

2020-12-09 Thread Geert Uytterhoeven
Fix a capitalization typo. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/compressed/atags_to_fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/compressed/atags_to_fdt.c b/arch/arm/boot/compressed/atags_to_fdt.c index 8452753efebe5621..503ad35a251a115e

Re: [RFC PATCH v3 2/4] mm,memory_hotplug: Allocate memmap from the added memory range

2020-12-09 Thread Oscar Salvador
On Wed, Dec 09, 2020 at 11:32:26AM +0100, Oscar Salvador wrote: > On Wed, Dec 02, 2020 at 11:05:53AM +0100, David Hildenbrand wrote: > > If you take a look at generic_online_page() there are some things that > > won't be done for our vmemmap pages > > > > 1. kernel_map_pages(page, 1 << order, 1);

Re: [PATCH v1 2/6] powerpc/8xx: Always pin kernel text TLB

2020-12-09 Thread Christophe Leroy
Le 09/12/2020 à 11:43, Michael Ellerman a écrit : Christophe Leroy writes: There is no big poing in not pinning kernel text anymore, as now we can keep pinned TLB even with things like DEBUG_PAGEALLOC. Remove CONFIG_PIN_TLB_TEXT, making it always right. Signed-off-by: Christophe Leroy ---

[PATCH 0/2] Add DT bindings with dynamic-power-coefficient for Mali GPUs

2020-12-09 Thread Lukasz Luba
Hi all, The patch set aims to add a new property dynamic-power-coefficient to Mali GPU DT bindings. This property is known from CPUs and they are both aligned. It is used for Energy Model registration. Regards, Lukasz Luba Lukasz Luba (2): dt-bindings: mali-midgard: Add dynamic-power-coefficie

[PATCH v1] scripts: switch explicitly to Python 3

2020-12-09 Thread Andy Shevchenko
Some distributions are about to switch to Python 3 support only. This means that /usr/bin/python, which is Python 2, is not available anymore. Hence, switch scripts to use Python 3 explicitly. Signed-off-by: Andy Shevchenko --- scripts/bloat-o-meter | 2 +- scripts/diffconfig| 2 +- 2 files

[PATCH 1/2] dt-bindings: mali-midgard: Add dynamic-power-coefficient

2020-12-09 Thread Lukasz Luba
Add a property dynamic-power-coefficient which allows to register Energy Model for the Mali Midgard devices. Signed-off-by: Lukasz Luba --- .../bindings/gpu/arm,mali-midgard.yaml | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu

[PATCH 2/2] dt-bindings: mali-bifrost: Add dynamic-power-coefficient

2020-12-09 Thread Lukasz Luba
Add a property dynamic-power-coefficient which allows to register Energy Model for the Mali Bifrost devices. Signed-off-by: Lukasz Luba --- .../bindings/gpu/arm,mali-bifrost.yaml | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu

Re: [PATCH V2] drm/vkms: Add setup and testing information

2020-12-09 Thread Daniel Vetter
On Wed, Dec 9, 2020 at 12:33 PM Sumera Priyadarsini wrote: > > On Wed, Dec 9, 2020 at 6:24 AM Daniel Vetter wrote: > > > > On Wed, Dec 09, 2020 at 02:07:35AM +0530, Sumera Priyadarsini wrote: > > > Update the vkms documentation to contain steps to: > > > > > > - setup the vkms driver > > > - ru

Re: [PATCH v4] erofs: avoid using generic_block_bmap

2020-12-09 Thread Huang Jianan
Thanks for review, i will update it soon. 在 2020/12/9 19:39, Gao Xiang 写道: Hi Jianan, On Wed, Dec 09, 2020 at 06:08:41PM +0800, Chao Yu wrote: On 2020/12/9 10:39, Huang Jianan wrote: iblock indicates the number of i_blkbits-sized blocks rather than sectors. In addition, considering buffer_he

Re: [PATCH] net: dsa: sja1105: Remove an unprofessional word from the code comments

2020-12-09 Thread Aswin C
Hello. Thank you very much for the reply. Firstly, yes, it's my first contribution and apologies for making some mistakes and I'd like to thank you for being kind and pointing it out. I came to know about this driver in a casual discussion among my peers when one of them pointed out the presenc

Re: [PATCH v2] vfio iommu type1: Improve vfio_iommu_type1_pin_pages performance

2020-12-09 Thread Cornelia Huck
On Tue, 8 Dec 2020 21:55:53 +0800 "xuxiaoyang (C)" wrote: > On 2020/11/21 15:58, xuxiaoyang (C) wrote: > > vfio_pin_pages() accepts an array of unrelated iova pfns and processes > > each to return the physical pfn. When dealing with large arrays of > > contiguous iovas, vfio_iommu_type1_pin_page

Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install

2020-12-09 Thread Daniel Vetter
On Wed, Dec 9, 2020 at 12:29 PM Tomi Valkeinen wrote: > > On 09/12/2020 02:48, Daniel Vetter wrote: > > On Tue, Dec 08, 2020 at 03:50:59PM +0800, Tian Tao wrote: > >> Use devm_drm_irq_install to register interrupts so that > >> drm_irq_uninstall is not needed to be called. > >> > >> Signed-off-by:

Re: [RFC 0/2] nocopy bvec for direct IO

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 06:50, Christoph Hellwig wrote: > On Wed, Dec 09, 2020 at 02:19:50AM +, Pavel Begunkov wrote: >> A benchmark got me 430KIOPS vs 540KIOPS, or +25% on bare metal. And perf >> shows that bio_iov_iter_get_pages() was taking ~20%. The test is pretty >> silly, but still imposing. I'll r

Re: [PATCH 1/2] iov: introduce ITER_BVEC_FLAG_FIXED

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 09:06, Christoph Hellwig wrote: > On Wed, Dec 09, 2020 at 08:36:45AM +, Christoph Hellwig wrote: >> This is making the iter type even more of a mess than it already is. >> I think we at least need placeholders for 0/1 here and an explicit >> flags namespace, preferably after the t

[PATCH v5] erofs: avoid using generic_block_bmap

2020-12-09 Thread Huang Jianan
iblock indicates the number of i_blkbits-sized blocks rather than sectors. In addition, considering buffer_head limits mapped size to 32-bits, should avoid using generic_block_bmap. Fixes: 9da681e017a3 ("staging: erofs: support bmap") Signed-off-by: Huang Jianan Signed-off-by: Guo Weichao ---

Re: [PATCH v2 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support

2020-12-09 Thread Mark Brown
On Wed, Dec 09, 2020 at 03:24:15PM +0800, zhangqing wrote: > > > +static int ls7a_spi_transfer_one_message(struct spi_master *master, > > > + struct spi_message *m) > > I don't understand why the driver is implementing transfer_one_message() > > - it looks

Re: [PATCH v1 4/9] certs: Check that builtin blacklist hashes are valid

2020-12-09 Thread David Howells
Mickaël Salaün wrote: > + cmd_check_blacklist_hashes = $(AWK) -f > scripts/check-blacklist-hashes.awk $(2); touch $@ The script name needs prefixing with $(srctree)/ so that it can be used with alternative build directories. Note that doesn't apply to scripts/extract-cert in the same make

Re: [PATCH v1] scripts: switch explicitly to Python 3

2020-12-09 Thread Andy Shevchenko
On Wed, Dec 09, 2020 at 01:50:17PM +0200, Andy Shevchenko wrote: > Some distributions are about to switch to Python 3 support only. > This means that /usr/bin/python, which is Python 2, is not available > anymore. Hence, switch scripts to use Python 3 explicitly. Note, I converted only ones I have

Re: [PATCH] Staging: silabs si4455 serial driver

2020-12-09 Thread 'Greg Kroah-Hartman'
On Wed, Dec 09, 2020 at 12:09:58PM +0100, Info wrote: > This is a serial port driver for > Silicon Labs Si4455 Sub-GHz transciver. > > Signed-off-by: József Horváth Note, your From: line does not match this line, so I can't take this. But: > --- > .../bindings/staging/serial/silabs,si4455.txt

[PATCH v11] hwmon:Driver for Delta power supplies Q54SJ108A2

2020-12-09 Thread xiao.ma
From: "xiao.ma" The driver supports Q54SJ108A2 series modules of Delta. Standard attributes are in sysfs, and other attributes are in debugfs. Signed-off-by: xiao.ma --- Notes: Patch v2 changelog: Add delta.rst in Documentation/hwmon. Tristate "DELTA" in Kconfig is changed

Re: [PATCH v2 07/12] x86: add new features for paravirt patching

2020-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2020 at 08:30:53AM +0100, Jürgen Groß wrote: > Hey, I already suggested to use ~FEATURE for that purpose (see > https://lore.kernel.org/lkml/f105a63d-6b51-3afb-83e0-e899ea408...@suse.com/ Great minds think alike! :-P > I'd rather make the syntax: > > ALTERNATIVE_TERNARY >

drivers/remoteproc/ti_k3_r5_remoteproc.c:377:28: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a68a0262abdaa251e12c53715f48e698a18ef402 commit: 34f2653686fecc9bd5a4ee16724768c72953fb57 remoteproc: k3-r5: Initialize TCM memories for ECC date: 8 weeks ago config: arm64-randconfig-s031-20201209

[PATCH v2 1/2] arm64: dts: mediatek: mt8183: add pwm node

2020-12-09 Thread Fabien Parent
MT8183 SoC has 4 PWMs. Add the pwm node in order to support them. Signed-off-by: Fabien Parent --- V2: rename pwm0 to pwm1 since disp-pwm has been merged in v5.11 as pwm0 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boo

Re: [PATCH 2/2] block: no-copy bvec for direct IO

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 08:40, Christoph Hellwig wrote: >> +/* >> + * In practice groups of pages tend to be accessed/reclaimed/refaulted >> + * together. To not go over bvec for those who didn't set BIO_WORKINGSET >> + * approximate it by looking at the first page and inducing it to the >> +

[PATCH v2 2/2] arm64: dts: mediatek: mt8183-evb: add PWM support

2020-12-09 Thread Fabien Parent
Enable the pwm driver and set the pinctrl for PWM A line. Signed-off-by: Fabien Parent --- V2: * rename pwm0 to pwm1 since disp-pwm has been merged in v5.11 as pwm0 * rename the pio node and labels to match the coding standard of this dts arch/arm64/boot/dts/mediatek/mt8183-ev

Re: [PATCH 2/2] block: no-copy bvec for direct IO

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 12:05, Christoph Hellwig wrote: > On Wed, Dec 09, 2020 at 12:01:27PM +, Pavel Begunkov wrote: >> On 09/12/2020 08:40, Christoph Hellwig wrote: + /* + * In practice groups of pages tend to be accessed/reclaimed/refaulted + * together. To not go over bvec for tho

[PATCH] cgroup: Fix memory leak when parsing multiple source parameters

2020-12-09 Thread Qinglang Miao
A memory leak is found in cgroup1_parse_param() when multiple source parameters overwrite fc->source in the fs_context struct without free. unreferenced object 0x888100d930e0 (size 16): comm "mount", pid 520, jiffies 4303326831 (age 152.783s) hex dump (first 16 bytes): 74 65 73 74 6c 6

Re: [PATCH 2/2] block: no-copy bvec for direct IO

2020-12-09 Thread Christoph Hellwig
On Wed, Dec 09, 2020 at 12:01:27PM +, Pavel Begunkov wrote: > On 09/12/2020 08:40, Christoph Hellwig wrote: > >> + /* > >> + * In practice groups of pages tend to be accessed/reclaimed/refaulted > >> + * together. To not go over bvec for those who didn't set BIO_WORKINGSET > >> + * appro

Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install

2020-12-09 Thread Tomi Valkeinen
On 09/12/2020 13:56, Daniel Vetter wrote: > On Wed, Dec 9, 2020 at 12:29 PM Tomi Valkeinen wrote: >> >> On 09/12/2020 02:48, Daniel Vetter wrote: >>> On Tue, Dec 08, 2020 at 03:50:59PM +0800, Tian Tao wrote: Use devm_drm_irq_install to register interrupts so that drm_irq_uninstall is not

Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install

2020-12-09 Thread Daniel Vetter
On Wed, Dec 9, 2020 at 1:06 PM Tomi Valkeinen wrote: > > On 09/12/2020 13:56, Daniel Vetter wrote: > > On Wed, Dec 9, 2020 at 12:29 PM Tomi Valkeinen > > wrote: > >> > >> On 09/12/2020 02:48, Daniel Vetter wrote: > >>> On Tue, Dec 08, 2020 at 03:50:59PM +0800, Tian Tao wrote: > Use devm_drm

Re: [PATCH] iov_iter: optimise bvec iov_iter_advance()

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 08:33, Christoph Hellwig wrote: > On Thu, Dec 03, 2020 at 11:48:56AM +, Pavel Begunkov wrote: >> It's inlined and the on-stack iter is completely optimised out. Frankly, >> I'd rather not open-code bvec_iter_advance(), at least for this chunk to >> be findable from bvec.h, e.g. gr

Re: [RESEND PATCH v3 3/4] iommu/iova: Flush CPU rcache for when a depot fills

2020-12-09 Thread Leizhen (ThunderTown)
On 2020/12/9 19:22, John Garry wrote: > On 09/12/2020 09:13, Leizhen (ThunderTown) wrote: >> >> >> On 2020/11/17 18:25, John Garry wrote: >>> Leizhen reported some time ago that IOVA performance may degrade over time >>> [0], but unfortunately his solution to fix this problem was not given >>> a

Re: [PATCH v5 05/27] dt-bindings: memory: mediatek: Rename header guard for SMI header file

2020-12-09 Thread Krzysztof Kozlowski
On Wed, Dec 09, 2020 at 04:00:40PM +0800, Yong Wu wrote: > Only rename the header guard for all the SoC larb port header file. > No funtional change. > > Suggested-by: Krzysztof Kozlowski > Signed-off-by: Yong Wu > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v5 06/27] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2020-12-09 Thread Krzysztof Kozlowski
On Wed, Dec 09, 2020 at 04:00:41PM +0800, Yong Wu wrote: > This patch adds decriptions for mt8192 IOMMU and SMI. > > mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation > table format. The M4U-SMI HW diagram is as below: > > EMI >

[PATCH 03/18] watch_queue: Drop references to /dev/watch_queue

2020-12-09 Thread David Howells
From: Gabriel Krisman Bertazi The merged API doesn't use a watch_queue device, but instead relies on pipes, so let the documentation reflect that. Fixes: f7e47677e39a ("watch_queue: Add a key/keyring notification facility") Signed-off-by: Gabriel Krisman Bertazi Signed-off-by: David Howells Ac

[PATCH 02/18] keys: Remove outdated __user annotations

2020-12-09 Thread David Howells
From: Jann Horn When the semantics of the ->read() handlers were changed such that "buffer" is a kernel pointer, some __user annotations survived. Since they're wrong now, get rid of them. Fixes: d3ec10aa9581 ("KEYS: Don't write out to userspace while holding key semaphore") Signed-off-by: Jann

[PATCH 05/18] KEYS: asymmetric: Fix kerneldoc

2020-12-09 Thread David Howells
From: Krzysztof Kozlowski Fix W=1 compile warnings (invalid kerneldoc): crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or member 'kid1' not described in 'asymmetric_key_id_same' crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or memb

[PATCH 06/18] security: keys: delete repeated words in comments

2020-12-09 Thread David Howells
From: Randy Dunlap Drop repeated words in comments. {to, will, the} Signed-off-by: Randy Dunlap Signed-off-by: David Howells Reviewed-by: Jarkko Sakkinen Cc: keyri...@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- security/keys/keyctl.

[PATCH 07/18] KEYS: remove redundant memset

2020-12-09 Thread David Howells
From: Tom Rix Reviewing use of memset in keyctrl_pkey.c keyctl_pkey_params_get prologue code to set params up memset(params, 0, sizeof(*params)); params->encoding = "raw"; keyctl_pkey_query has the same prologue and calls keyctl_pkey_params_get. So remove the prologue. Signed

[PATCH 08/18] crypto: asymmetric_keys: fix some comments in pkcs7_parser.h

2020-12-09 Thread David Howells
From: Randy Dunlap Drop the doubled word "the" in a comment. Change "THis" to "This". Signed-off-by: Randy Dunlap Signed-off-by: David Howells Cc: keyri...@vger.kernel.org --- crypto/asymmetric_keys/pkcs7_parser.h |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cr

[PATCH 13/18] crypto: public_key: Remove redundant header file from public_key.h

2020-12-09 Thread David Howells
From: Tianjia Zhang The akcipher.h header file was originally introduced in SM2, and then the definition of SM2 was moved to the existing code. This header file is left and should be removed. Signed-off-by: Tianjia Zhang Signed-off-by: David Howells --- include/crypto/public_key.h |1 -

[PATCH 12/18] keys: remove trailing semicolon in macro definition

2020-12-09 Thread David Howells
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix Signed-off-by: David Howells Acked-by: Jarkko Sakkinen --- include/linux/key.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/key.h b/include/linux/key.h index 0f2e24f

[PATCH 15/18] certs: Fix blacklisted hexadecimal hash string check

2020-12-09 Thread David Howells
From: Mickaël Salaün When looking for a blacklisted hash, bin2hex() is used to transform a binary hash to an ascii (lowercase) hexadecimal string. This string is then search for in the description of the keys from the blacklist keyring. When adding a key to the blacklist keyring, blacklist_vet_

[PATCH 16/18] PKCS#7: Fix missing include

2020-12-09 Thread David Howells
From: Mickaël Salaün Add missing linux/types.h for size_t. [DH: Changed from stddef.h] Signed-off-by: Mickaël Salaün Signed-off-by: David Howells --- include/linux/verification.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/verification.h b/include/linux/verificati

[PATCH 17/18] certs: Fix blacklist flag type confusion

2020-12-09 Thread David Howells
KEY_FLAG_KEEP is not meant to be passed to keyring_alloc() or key_alloc(), as these only take KEY_ALLOC_* flags. KEY_FLAG_KEEP has the same value as KEY_ALLOC_BYPASS_RESTRICTION, but fortunately only key_create_or_update() uses it. LSMs using the key_alloc hook don't check that flag. KEY_FLAG_KE

[PATCH 11/18] crypto: pkcs7: Use match_string() helper to simplify the code

2020-12-09 Thread David Howells
From: YueHaibing match_string() returns the array index of a matching string. Use it instead of the open-coded implementation. Signed-off-by: YueHaibing Signed-off-by: David Howells --- crypto/asymmetric_keys/pkcs7_verify.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) d

[PATCH 10/18] PKCS#7: drop function from kernel-doc pkcs7_validate_trust_one

2020-12-09 Thread David Howells
From: Alex Shi The function is a static function, so no needs add into kernel-doc. and we could avoid warning: crypto/asymmetric_keys/pkcs7_trust.c:25: warning: Function parameter or member 'pkcs7' not described in 'pkcs7_validate_trust_one' crypto/asymmetric_keys/pkcs7_trust.c:25: warning: Funct

[PATCH 18/18] certs: Replace K{U,G}IDT_INIT() with GLOBAL_ROOT_{U,G}ID

2020-12-09 Thread David Howells
From: Mickaël Salaün Align with the new macros and add appropriate include files. Signed-off-by: Mickaël Salaün Signed-off-by: David Howells Cc: David Woodhouse --- certs/blacklist.c |4 ++-- certs/system_keyring.c |5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) dif

[PATCH 14/18] certs/blacklist: fix kernel doc interface issue

2020-12-09 Thread David Howells
From: Alex Shi certs/blacklist.c:84: warning: Function parameter or member 'hash' not described in 'mark_hash_blacklisted' Signed-off-by: Alex Shi Cc: David Howells Cc: David Woodhouse Cc: keyri...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David Howells --- certs/blac

[PATCH 09/18] encrypted-keys: Replace HTTP links with HTTPS ones

2020-12-09 Thread David Howells
From: Alexander A. Klimov 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 `\bxmlns\b`: For each link, `\bhttp://[^

Re: [PATCH] thermal/core: Emit a warning if the thermal zone is updated without ops

2020-12-09 Thread Daniel Lezcano
On 09/12/2020 11:41, Lukasz Luba wrote: > > > On 12/8/20 3:19 PM, Daniel Lezcano wrote: >> On 08/12/2020 15:37, Lukasz Luba wrote: >>> >>> >>> On 12/8/20 1:51 PM, Daniel Lezcano wrote: Hi Lukasz, On 08/12/2020 10:36, Lukasz Luba wrote: > Hi Daniel, [ ... ] >

[PATCH 00/18] keys: Miscellaneous fixes

2020-12-09 Thread David Howells
Hi Jarkko, I've extended my collection of minor keyrings fixes for the next merge window. Anything else I should add (or anything I should drop)? The patches can be found on the following branch: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes

[PATCH 01/18] security: keys: Fix fall-through warnings for Clang

2020-12-09 Thread David Howells
From: Gustavo A. R. Silva In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva Signed-off-by: D

[PATCH 04/18] security/keys: use kvfree_sensitive()

2020-12-09 Thread David Howells
From: Denis Efremov Use kvfree_sensitive() instead of open-coding it. Signed-off-by: Denis Efremov Signed-off-by: David Howells Reviewed-by: Jarkko Sakkinen --- security/keys/big_key.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/security/keys/big_key.c b/

[PATCH v1] ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup

2020-12-09 Thread Oleksij Rempel
Remove board specific PHY fixup introduced by commit: | 709bc0657fe6f9f5 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup init") This fixup addresses boards with a specific configuration: a KSZ8081RNA PHY with attached clock source to XI (Pin 8) of the PHY equal to 50MHz. For the KSZ8081

Re: [PATCH v2 07/12] x86: add new features for paravirt patching

2020-12-09 Thread Jürgen Groß
On 09.12.20 13:03, Borislav Petkov wrote: On Wed, Dec 09, 2020 at 08:30:53AM +0100, Jürgen Groß wrote: Hey, I already suggested to use ~FEATURE for that purpose (see https://lore.kernel.org/lkml/f105a63d-6b51-3afb-83e0-e899ea408...@suse.com/ Great minds think alike! :-P I'd rather make the

Re: [PATCH v2] lib/cmdline: prevent unintented access to address

2020-12-09 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 05:00:09PM +0300, Andy Shevchenko wrote: > On Thu, Aug 13, 2020 at 12:07:41PM +0900, Seungil Kang wrote: > And your test case / module would help a lot, if present. Just a heads up: I have created a cmdline_kunit.c to test functions in the module (currently only get_option

Broken /usr/bin/env (invalid option)

2020-12-09 Thread Krzysztof Kozlowski
Hi Dominique, Your commit ece075366294 ("ld-version: use /usr/bin/env awk for shebank") breaks current linux-next on Ubuntu 16.04: $ make defconfig make[1]: Entering directory '/mnt/data2/linux/linux-upstream/out' GEN Makefile *** Default configuration is based on 'multi_v7

Re: [PATCH next v2 2/3] printk: change @clear_seq to atomic64_t

2020-12-09 Thread Peter Zijlstra
On Wed, Dec 09, 2020 at 08:28:52PM +0900, Sergey Senozhatsky wrote: > On (20/12/09 12:00), Peter Zijlstra wrote: > > > So another potential re-entry path is > > > > > > atomic_foo() > > >spin_lock_irqsave(ATOMIC_HASH(v), flags) > > > printk() > > > prb() > > > atomic_foo() > >

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-09 Thread Ashish Kalra
On Wed, Dec 09, 2020 at 12:01:15PM +0100, Borislav Petkov wrote: > > Subject: Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV > > guests. > > Fix subject prefix to "x86, swiotlb: ... SWIOTLB ... for SEV guests > > Fix typo and no fullstop at the end. > > On Mon, Dec 07, 2020 a

Re: [RESEND PATCH v3 2/4] iommu/iova: Avoid double-negatives in magazine helpers

2020-12-09 Thread Leizhen (ThunderTown)
On 2020/12/9 19:39, John Garry wrote: > On 09/12/2020 09:03, Leizhen (ThunderTown) wrote: >> >> >> On 2020/11/17 18:25, John Garry wrote: >>> A similar crash to the following could be observed if initial CPU rcache >>> magazine allocations fail in init_iova_rcaches(): >>> >>> Unable to handle ke

Re: [PATCH] xen/xenbus: make xs_talkv() interruptible for SIGKILL

2020-12-09 Thread boris . ostrovsky
On 12/9/20 5:11 AM, Juergen Gross wrote: > In case a process waits for any Xenstore action in the xenbus driver > it should be interruptible via SIGKILL. > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky

Re: [PATCH v8 00/16] Add support for Clang LTO

2020-12-09 Thread Arnd Bergmann
On Tue, Dec 8, 2020 at 1:15 PM Arnd Bergmann wrote: > > - one build seems to have dropped all symbols the string operations > from vmlinux, > so while the link goes through, modules cannot be loaded: > ERROR: modpost: "memmove" [drivers/media/rc/rc-core.ko] undefined! > ERROR: modpost: "memcpy

Re: [patch V2 4/9] softirq: Make softirq control and processing RT aware

2020-12-09 Thread Thomas Gleixner
On Wed, Dec 09 2020 at 11:11, Peter Zijlstra wrote: > On Fri, Dec 04, 2020 at 06:01:55PM +0100, Thomas Gleixner wrote: >> From: Thomas Gleixner >> +/* First entry of a task into a BH disabled section? */ >> +if (!current->softirq_disable_cnt) { >> +if (preemptible()) { >> +

Re: [PATCH V2] drm/vkms: Add setup and testing information

2020-12-09 Thread Melissa Wen
On 12/09, Daniel Vetter wrote: > On Wed, Dec 9, 2020 at 12:33 PM Sumera Priyadarsini > wrote: > > > > On Wed, Dec 9, 2020 at 6:24 AM Daniel Vetter wrote: > > > > > > On Wed, Dec 09, 2020 at 02:07:35AM +0530, Sumera Priyadarsini wrote: > > > > Update the vkms documentation to contain steps to: > >

[PATCH v2] erofs: force inplace I/O under low memory scenario

2020-12-09 Thread Gao Xiang
From: Gao Xiang Try to forcely switch to inplace I/O under low memory scenario in order to avoid direct memory reclaim due to cached page allocation. Reviewed-by: Chao Yu Signed-off-by: Gao Xiang --- v2: refine the gfp definition. fs/erofs/compress.h | 3 +++ fs/erofs/zdata.c| 48 +

Re: [patch 0/8] ntp/rtc: Fixes and cleanups

2020-12-09 Thread Thomas Gleixner
On Wed, Dec 09 2020 at 05:01, Alexandre Belloni wrote: > On 09/12/2020 01:33:08+0100, Thomas Gleixner wrote: >> > The following series addresses the above: >> > >> > 1) Fix the readout function of MC146818 >> > 2) Fix the rtc-cmos offset >> > 3) Reduce the default transport time >> > >>

Re: [RESEND PATCH v3 1/4] iommu/iova: Add free_all_cpu_cached_iovas()

2020-12-09 Thread John Garry
On 09/12/2020 08:58, Leizhen (ThunderTown) wrote: goto retry; } Reviewed-by: Zhen Lei Thanks, incidentally this needs to be rebased, which I'll do now.

Re: [PATCH v6] char: tpm: add i2c driver for cr50

2020-12-09 Thread Adrian Ratiu
On Tue, 08 Dec 2020, Jarkko Sakkinen wrote: On Mon, Dec 07, 2020 at 04:20:16PM +0200, Adrian Ratiu wrote: From: "dlau...@chromium.org" Add TPM 2.0 compatible I2C interface for chips with cr50 firmware. The firmware running on the currently supported H1 MCU requires a special driver to handl

Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install

2020-12-09 Thread Tomi Valkeinen
On 09/12/2020 14:08, Daniel Vetter wrote: > On Wed, Dec 9, 2020 at 1:06 PM Tomi Valkeinen wrote: >> >> On 09/12/2020 13:56, Daniel Vetter wrote: >>> On Wed, Dec 9, 2020 at 12:29 PM Tomi Valkeinen >>> wrote: On 09/12/2020 02:48, Daniel Vetter wrote: > On Tue, Dec 08, 2020 at 03:50:5

Re: [PATCH] Staging: silabs si4455 serial driver

2020-12-09 Thread Dan Carpenter
Change the From email header to say your name. The patch is corrupted and can't be applied. Please read the first paragraphs of Documentation/process/email-clients.rst This driver is pretty small and it might be easier to clean it up first before merging it into staging. Run checkpatch.pl --str

Re: [patch V2 4/9] softirq: Make softirq control and processing RT aware

2020-12-09 Thread Peter Zijlstra
On Wed, Dec 09, 2020 at 01:36:54PM +0100, Thomas Gleixner wrote: > On Wed, Dec 09 2020 at 11:11, Peter Zijlstra wrote: > > On Fri, Dec 04, 2020 at 06:01:55PM +0100, Thomas Gleixner wrote: > >> From: Thomas Gleixner > >> + /* First entry of a task into a BH disabled section? */ > >> + if (!curren

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-09 Thread Catalin Marinas
On Tue, Dec 08, 2020 at 06:21:12PM +, Marc Zyngier wrote: > On 2020-12-08 17:21, Catalin Marinas wrote: > > On Mon, Dec 07, 2020 at 07:03:13PM +, Marc Zyngier wrote: > > > I wonder whether we will have to have something kernel side to > > > dump/reload tags in a way that matches the pattern

Re: [PATCH 2/9] misc: Add Xilinx AI engine device driver

2020-12-09 Thread Daniel Vetter
On Tue, Dec 08, 2020 at 11:54:57AM -0800, Jiaying Liang wrote: > > On 12/8/20 9:12 AM, Nicolas Dufresne wrote: > > Le mercredi 18 novembre 2020 à 00:06 -0800, Wendy Liang a écrit : > > > Create AI engine device/partition hierarchical structure. > > > > > > Each AI engine device can have multiple

Re: WARNING in sk_stream_kill_queues (5)

2020-12-09 Thread Marco Elver
On Tue, Dec 08, 2020 at 08:06PM +0100, Marco Elver wrote: > On Thu, 3 Dec 2020 at 19:01, Eric Dumazet wrote: > > On 12/3/20 6:41 PM, Marco Elver wrote: > > > > > One more experiment -- simply adding > > > > > > --- a/net/core/skbuff.c > > > +++ b/net/core/skbuff.c > > > @@ -207,7 +207,21 @@ struct

Re: [PATCH] vdpa/mlx5: Use write memory barrier after updating CQ index

2020-12-09 Thread Michael S. Tsirkin
On Wed, Dec 09, 2020 at 11:38:36AM +0200, Eli Cohen wrote: > On Wed, Dec 09, 2020 at 03:05:42AM -0500, Michael S. Tsirkin wrote: > > On Wed, Dec 09, 2020 at 08:58:46AM +0200, Eli Cohen wrote: > > > On Wed, Dec 09, 2020 at 01:46:22AM -0500, Michael S. Tsirkin wrote: > > > > On Wed, Dec 09, 2020 at 0

[PATCH v2] mm/page_owner: Record timestamp and pid

2020-12-09 Thread Georgi Djakov
From: Liam Mark Collect the time for each allocation recorded in page owner so that allocation "surges" can be measured. Record the pid for each allocation recorded in page owner so that the source of allocation "surges" can be better identified. The above is very useful when doing memory analy

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-09 Thread Linus Walleij
On Wed, Dec 9, 2020 at 12:19 PM Arnd Bergmann wrote: > On Wed, Dec 9, 2020 at 9:51 AM Linus Walleij wrote: > > On Tue, Dec 8, 2020 at 3:07 PM Enrico Weigelt, metux IT consult > > wrote: > > > What we need to understand is if your new usecase is an outlier > > so it is simplest modeled by a "moc

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2020 at 12:29:07PM +, Ashish Kalra wrote: > As i mentioned in the main comments above, this cannot be called in > mem_encrypt_init() as that breaks reserve_crashkernel() which depends > on SWIOTLB buffer size Please elaborate how does it break. > and is called before mem_encry

[GIT PULL]: Generic phy updates for v5.11

2020-12-09 Thread Vinod Koul
Hello Greg, Here is the pull request for phy susbsystem. All the changes are already in linux-next, sorry for delayed request this time. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository

RE: ***UNCHECKED*** Re: [PATCH] Staging: silabs si4455 serial driver

2020-12-09 Thread Info
> On Wed, Dec 09, 2020 at 12:09:58PM +0100, Info wrote: > > This is a serial port driver for > > Silicon Labs Si4455 Sub-GHz transciver. > > > > Signed-off-by: József Horváth > > Note, your From: line does not match this line, so I can't take this. > > But: > > > --- > > .../bindings/staging/ser

Re: [RESEND PATCH V6 1/2] i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev struct

2020-12-09 Thread Akash Asthana
Hi Roja, On 12/3/2020 4:01 PM, Roja Rani Yarubandi wrote: Store DMA mapping data in geni_i2c_dev struct to enhance DMA mapping data scope. For example during shutdown callback to unmap DMA mapping, this stored DMA mapping data can be used to call geni_se_tx_dma_unprep and geni_se_rx_dma_unprep f

[PATCH v1 2/2] ARM: dts: add Protonic PRTI6G board

2020-12-09 Thread Oleksij Rempel
Protonic PRTI6G is a reference platform for industrial, safety critical applications Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-prti6g.dts | 356 2 files changed, 357 insertions(+) create mode 100644 arch/

[PATCH v1 1/2] dt-bindings: arm: fsl: add Protonic PRTI6G board

2020-12-09 Thread Oleksij Rempel
Add Protonic Holland PRTI6G, iMX6UL based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index ad95b29268d3

Re: linux-next: build warning after merge of the kbuild tree

2020-12-09 Thread Dominique Martinet
Stephen Rothwell wrote on Wed, Dec 09, 2020: > After merging the kbuild tree, today's linux-next build (x86_64 > modules_install) produced this warning: > > Warning: 'make modules_install' requires depmod. Please install it. > This is probably in the kmod package. > > Introduced by commit > >

[PATCH 2/3] block: blk_interposer - sample

2020-12-09 Thread Sergei Shtepa
This sample demonstrates how to use blk_interposer. It show how to properly connect the interposer module to kernel, and perform the simplest monitoring of the number of bio. Signed-off-by: Sergei Shtepa --- samples/blk_interposer/Makefile | 2 + samples/blk_interposer/blk-interposer.c

Re: [RFC PATCH 5/6] kvm: arm64: Fix constant-pool users in hyp

2020-12-09 Thread David Brazdil
Hey, relized I never replied to this... On Tue, Nov 24, 2020 at 03:08:20PM +0100, Ard Biesheuvel wrote: > On Thu, 19 Nov 2020 at 17:26, David Brazdil wrote: > > > > Hyp code used to use absolute addressing via a constant pool to obtain > > the kernel VA of 3 symbols - panic, __hyp_panic_string an

[PATCH 1/3] block: blk_interposer - Block Layer Interposer

2020-12-09 Thread Sergei Shtepa
The Block Layer Interposer (blk_interposer) allows to intercept bio. This allows to connect device mapper and other kernel modules to the block device stack on the fly. This simple hook allows to work modules that previously relied on the interception of the make_request_fn() function from the req

[PATCH v3 0/8] net: macb: add support for sama7g5

2020-12-09 Thread Claudiu Beznea
Hi, This series adds support for SAMA7G5 Ethernet interfaces: one 10/100Mbps and one 1Gbps interfaces. Along with it I also included a fix to disable clocks for SiFive FU540-C000 on failure path of fu540_c000_clk_init(). Thank you, Claudiu Beznea Changed in v3: - use clk_bulk_disable_unprepare

[PATCH 3/3] block: blk_interposer - sample config

2020-12-09 Thread Sergei Shtepa
Attaches the blk_interposer sample to the kernel assembly. Signed-off-by: Sergei Shtepa --- samples/Kconfig | 7 +++ samples/Makefile | 1 + 2 files changed, 8 insertions(+) diff --git a/samples/Kconfig b/samples/Kconfig index 0ed6e4d71d87..72e2a9399e10 100644 --- a/samples/Kconfig +++ b/s

[PATCH v3 7/8] net: macb: add support for sama7g5 gem interface

2020-12-09 Thread Claudiu Beznea
Add support for SAMA7G5 gigabit ethernet interface. Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb_main.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence

[PATCH v3 2/8] net: macb: add capability to not set the clock rate

2020-12-09 Thread Claudiu Beznea
SAMA7G5's ethernet IPs TX clock could be provided by its generic clock or by the external clock provided by the PHY. The internal IP logic divides properly this clock depending on the link speed. The patch adds a new capability so that macb_set_tx_clock() to not be called for IPs having this capabi

[PATCH v3 8/8] net: macb: add support for sama7g5 emac interface

2020-12-09 Thread Claudiu Beznea
Add support for SAMA7G5 10/100Mbps interface. Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c ind

[PATCH v1 1/5] powerpc/40x: Remove 40x platforms.

2020-12-09 Thread Christophe Leroy
From: Christophe Leroy 40x platforms have been orphaned for many years. Remove them. Signed-off-by: Christophe Leroy --- MAINTAINERS | 1 - arch/powerpc/configs/40x/acadia_defconfig | 61 arch/powerpc/configs/40x/kilauea_defconfig | 69

[PATCH v1 2/5] powerpc/boot: Remove all 40x platforms

2020-12-09 Thread Christophe Leroy
From: Christophe Leroy Remove 40x platforms from the boot directory. Signed-off-by: Christophe Leroy --- arch/powerpc/boot/4xx.c | 266 - arch/powerpc/boot/4xx.h | 4 - arch/powerpc/boot/Makefile | 11 - arch/powerpc/boot/cuboot-acadia.c |

<    1   2   3   4   5   6   7   8   9   10   >