Re: [PATCH v2 2/3] ARM: at91: pm: add per soc validation of pm modes

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 14:42, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hello, > > On 04/08/2020 14:07:37+0300, Claudiu Beznea wrote: >> void __init at91rm9200_pm_init(void) >> { >> + static const int modes[] __init

[PATCH RFC v3] s390: convert to GENERIC_VDSO

2020-08-04 Thread Sven Schnelle
here's the third version of the generic vdso patchset for s390. Changes in v3; - update the architecture specific data patch to the correct one. Changes in v2: - added patch from Thomas that adds vdso_update_begin()/vdso_update_end() - changed the s390 code to use the vdso update functions - chan

Re: Re: [PATCH v3 1/5] drm: mediatek: add ddp routing for mt7623

2020-08-04 Thread Chun-Kuang Hu
Frank Wunderlich 於 2020年8月4日 週二 下午10:44寫道: > > Hi, > > > Gesendet: Dienstag, 04. August 2020 um 16:34 Uhr > > Von: "Chun-Kuang Hu" > > > > -static const enum mtk_ddp_comp_id mt2712_mtk_ddp_main[] = { > > > +static enum mtk_ddp_comp_id mt2712_mtk_ddp_main[] = { > > > > Why do you remove 'const'? >

Re: kernel BUG at fs/inode.c:531!

2020-08-04 Thread nirinA raseliarison
hello, # CONFIG_READ_ONLY_THP_FOR_FS is not set Le mar. 4 août 2020 à 14:39, Matthew Wilcox a écrit : > > On Tue, Aug 04, 2020 at 01:19:13PM +0200, Jan Kara wrote: > > Hello! > > > > On Wed 27-05-20 21:05:55, nirinA raseliarison wrote: > > > i hit again this bug with: > > > > > > $ cat /proc/v

[PATCH v3 2/3] timekeeping/vsyscall: Provide vdso_update_begin/end()

2020-08-04 Thread Sven Schnelle
From: Thomas Gleixner Architectures can have the requirement to add additional architecture specific data to the VDSO data page which needs to be updated independent of the timekeeper updates. To protect these updates vs. concurrent readers and a conflicting update through timekeeping, provide h

media: ddbridge: potential buffer overflow in open

2020-08-04 Thread Evgeny Novikov
ddb_open() accesses iminor(inode) of the ddbs array that has 64 elements at most. There will be a buffer overflow if iminor(inode) is greater than 63. Found by Linux Driver Verification project (linuxtesting.org).

[PATCH v3 1/3] vdso: allow to add architecture-specific vdso data

2020-08-04 Thread Sven Schnelle
Add the possibility to add architecture specific vDSO data to struct vdso_data. This is useful if the arch specific user space VDSO code needs additional data during execution. If CONFIG_ARCH_HAS_VDSO_DATA is defined, the generic code will include asm/vdso/data.h which should contain 'struct arch_v

[PATCH v3 3/3] s390: convert to GENERIC_VDSO

2020-08-04 Thread Sven Schnelle
This patch converts s390 to the generic vDSO. There are a few special things on s390: - vDSO can be called without a stack frame - glibc did this in the past. So we need to allocate a stackframe on our own. - The former assembly code used stcke to get the TOD clock and applied time steering t

Re: kernel BUG at fs/inode.c:531!

2020-08-04 Thread nirinA raseliarison
hello! no issue yet with 5.8: Linux version 5.8.0.20200803 (nir...@supernova.org) (gcc (GCC) 10.2.0, GNU ld version 2.33.1-slack15) #1 SMP Mon Aug 3 16:17:10 EAT 2020 it seems that the bug was triggered when i ran programs compiled against gcc-9.3.0 under kernel build with gcc-10.1.0, but not sur

Re: [PATCH] Platform lockdown information in SYSFS

2020-08-04 Thread Daniel Gutson
On Tue, Aug 4, 2020 at 11:43 AM Greg Kroah-Hartman wrote: > > On Tue, Aug 04, 2020 at 11:37:02AM -0300, Daniel Gutson wrote: > > On Tue, Aug 4, 2020 at 11:23 AM Greg Kroah-Hartman < > > gre...@linuxfoundation.org> wrote: > > > > > > On Tue, Aug 04, 2020 at 10:50:13AM -0300, Daniel Gutson wrote: >

[PATCH] dt-bindings: gpio: Convert vf610 to json-schema

2020-08-04 Thread Anson Huang
Convert the vf610 gpio binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/gpio/gpio-vf610.txt| 63 - .../devicetree/bindings/gpio/gpio-vf610.yaml | 79 ++ 2 files changed, 79 insertions(+), 63 de

[GIT PULL] Please pull hmm changes

2020-08-04 Thread Jason Gunthorpe
Hi Linus, Ralph has been working on nouveau's use of hmm_range_fault() and migrate_vma() which resulted in this small series of improvements. There are two expected conflicts. Conflict with the kvm-ppc tree: https://lore.kernel.org/linux-next/20200730191610.204ed...@canb.auug.org.au/ This is be

Re: [PATCH v2 2/3] ARM: at91: pm: add per soc validation of pm modes

2020-08-04 Thread Alexandre Belloni
On 04/08/2020 15:00:38+, claudiu.bez...@microchip.com wrote: > > > On 04.08.2020 14:42, Alexandre Belloni wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hello, > > > > On 04/08/2020 14:07:37+0300, Claudiu Beznea wrote: > >>

[PATCH v6] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-08-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Allow intel_pstate to work in the passive mode with HWP enabled and make it set the HWP minimum performance limit (HWP floor) to the P-state value given by the target frequency supplied by the cpufreq governor, so as to prevent the HWP algorithm and the CPU scheduler from

[PATCH] mmc: s3cmci: remove empty kerneldoc comment

2020-08-04 Thread Krzysztof Kozlowski
Remove empty comment to fix W=1 compile warning: drivers/mmc/host/s3cmci.c:400: warning: Cannot understand * on line 400 - I thought it was a doc line Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/s3cmci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/hos

[PATCH] spi: s3c24xx: correct kerneldoc comment

2020-08-04 Thread Krzysztof Kozlowski
Correct the kerneldoc for structure to fix W=1 compile warning: drivers/spi/spi-s3c24xx.c:36: warning: cannot understand function prototype: 'struct s3c24xx_spi_devstate ' Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-s3c24xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

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

2020-08-04 Thread Lad, Prabhakar
Hi Geert, On Tue, Aug 4, 2020 at 11:17 AM Geert Uytterhoeven wrote: > > Hi Niklas, Prabhakar, > > On Tue, Aug 4, 2020 at 12:05 PM Niklas wrote: > > On 2020-08-04 09:04:25 +0100, Lad, Prabhakar wrote: > > > On Mon, Aug 3, 2020 at 8:28 PM Niklas > > > wrote: > > > > On 2020-08-03 20:17:54 +0100,

Re: [PATCH] PCI: rcar-gen2: Fix crash in resource_list_first_type()

2020-08-04 Thread Rob Herring
On Tue, Aug 4, 2020 at 6:04 AM Geert Uytterhoeven wrote: > > The conversion to modern host bridge probing made the driver allocate > its private data using devm_pci_alloc_host_bridge(), but forgot to > remove the old allocation. Hence part of the driver initialization is > done using the new inst

Re: [RFC PATCH] KVM: SVM: Disallow SEV if NPT is disabled

2020-08-04 Thread Brijesh Singh
On 7/31/20 3:51 PM, Sean Christopherson wrote: > Forcefully turn off SEV if NPT is disabled, e.g. via module param. SEV > requires NPT as the C-bit only exists if NPT is active. > > Fixes: e9df09428996f ("KVM: SVM: Add sev module_param") > Cc: sta...@vger.kernel.org > Cc: Tom Lendacky > Cc: Bri

Re: [PATCH] lz4: Fix kernel decompression speed

2020-08-04 Thread Arvind Sankar
On Tue, Aug 04, 2020 at 10:32:36AM +0200, Pavel Machek wrote: > Hi! > > > >> I've measured the kernel decompression speed using QEMU before and after > > >> this patch for the x86_64 and i386 architectures. The speed-up is about > > >> 10x as shown below. > > >> > > >> Code ArchKernel Siz

Re: [PATCH] lz4: Fix kernel decompression speed

2020-08-04 Thread Arvind Sankar
On Tue, Aug 04, 2020 at 02:57:50AM +, Nick Terrell wrote: > > > > On Aug 3, 2020, at 6:56 PM, Arvind Sankar wrote: > > > > > -- I see that ZSTD_copy8 is already using __builtin_memcpy, > > but there must be more that can be optimized? There's a couple 1/2-byte > > sized copies in huf_decom

Re: [PATCH v5 3/4] LSM: Define SELinux function to measure state and policy

2020-08-04 Thread Stephen Smalley
On 8/3/20 6:08 PM, Lakshmi Ramasubramanian wrote: On 8/3/20 2:07 PM, Stephen Smalley wrote: [   68.870715] irq event stamp: 23486085 [   68.870715] hardirqs last  enabled at (23486085): [] _raw_spin_unlock_irqrestore+0x46/0x60 [   68.870715] hardirqs last disabled at (23486084): [] _raw_spin_l

[GIT PULL] parisc architecture updates for kernel v5.9

2020-08-04 Thread Helge Deller
Hi Linus, please pull the parisc architecture updates for kernel 5.9-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.9-1 The majority of the patches are reverts of previous commits regarding the parisc-specific low level spinlocking code and barrier ha

Re: [PATCH] RTC: Implement pretimeout watchdog for DS1307

2020-08-04 Thread Alexandre Belloni
Hi, The subject prefix is not correct, it should be rtc: ds1307: Also, shouldn't that kind of software timeout which doesn't actually depend on the hardware better be handled in the watchdog core? Then this will benefit all the watchdog and will certainly avoid a lot of code duplication. On 04/0

Re: [PATCH] mtd: spi-nor: intel-spi: Do not try to make the SPI flash chip writable

2020-08-04 Thread Arnd Bergmann
On Tue, Aug 4, 2020 at 3:58 PM Daniel Gutson wrote: > > Context, the intel-spi has a module argument that controls > whether the driver attempts to turn the SPI flash chip writeable. > The default value is FALSE (don't try to make it writeable). > However, this flag applies only for a number of de

Aw: Re: [PATCH v3 5/5] arm: dts: mt7623: add display subsystem related device nodes

2020-08-04 Thread Frank Wunderlich
Hi Except mmsys (i added in Patch #1) all mt7623-compatibles are not defined in code and fallback (mt2701-x/mt8173-x) is used. If i add it in dt-binding, it should be added in code too, right? or should i remove mt7623 compatibles and only add documentation for new mmsys? regards Frank > Ges

Re: [PATCH v7 1/3] binder: move structs from core file to header file

2020-08-04 Thread Todd Kjos
On Tue, Aug 4, 2020 at 6:59 AM Frankie Chang wrote: > > From: "Frankie.Chang" > > Moving all structs to header file makes module more > extendable, and makes all these structs to be defined > in the same file. > > Signed-off-by: Frankie.Chang Acked-by: Todd Kjos > --- > drivers/android/binde

Re: [PATCH] staging: wfx: fixed misspelled word in comment

2020-08-04 Thread Randy Dunlap
On 8/4/20 7:58 AM, Aditya Bansal wrote: > From: Aditya Bansal > > Subject: [PATCH] fixed typo in driver/staging/wfx/hif_tx.c file > > Correct the spelling of function > > Signed-off-by: Aditya Bansal > --- > > diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c > index 51

Re: [PATCH v7 2/3] binder: add trace at free transaction.

2020-08-04 Thread Todd Kjos
On Tue, Aug 4, 2020 at 7:09 AM Frankie Chang wrote: > > From: "Frankie.Chang" > > Since the original trace_binder_transaction_received cannot > precisely present the real finished time of transaction, adding a > trace_binder_txn_latency_free at the point of free transaction > may be more close to

Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver

2020-08-04 Thread Chun-Kuang Hu
Neal Liu 於 2020年8月4日 週二 上午10:19寫道: > > > On Tue, 2020-08-04 at 00:13 +0800, Chun-Kuang Hu wrote: > > Hi, Neal: > > > > Neal Liu 於 2020年8月3日 週一 上午11:32寫道: > > > > > > Hi Chun-Kuang, > > > > > > On Fri, 2020-07-31 at 23:03 +0800, Chun-Kuang Hu wrote: > > > > Hi, Neal: > > > > > > > > Neal Liu 於 20

Re: [PATCH v7 3/3] binder: add transaction latency tracer

2020-08-04 Thread Todd Kjos
On Tue, Aug 4, 2020 at 6:59 AM Frankie Chang wrote: > > From: "Frankie.Chang" > > Record start/end timestamp for binder transaction. > When transaction is completed or transaction is free, > it would be checked if transaction latency over threshold > (default 2 sec), if yes, printing related info

Re: [PATCH v5 3/4] LSM: Define SELinux function to measure state and policy

2020-08-04 Thread Stephen Smalley
On 8/4/20 11:20 AM, Stephen Smalley wrote: On 8/3/20 6:08 PM, Lakshmi Ramasubramanian wrote: On 8/3/20 2:07 PM, Stephen Smalley wrote: [   68.870715] irq event stamp: 23486085 [   68.870715] hardirqs last  enabled at (23486085): [] _raw_spin_unlock_irqrestore+0x46/0x60 [   68.870715] hardirq

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

2020-08-04 Thread Geert Uytterhoeven
Hi Prabhakar, On Tue, Aug 4, 2020 at 5:12 PM Lad, Prabhakar wrote: > On Tue, Aug 4, 2020 at 11:17 AM Geert Uytterhoeven > wrote: > > On Tue, Aug 4, 2020 at 12:05 PM Niklas > > wrote: > > > On 2020-08-04 09:04:25 +0100, Lad, Prabhakar wrote: > > > > On Mon, Aug 3, 2020 at 8:28 PM Niklas > >

Re: [PATCH 2/2] speakup: only build serialio when ISA is enabled

2020-08-04 Thread Samuel Thibault
Greg KH, le mar. 04 août 2020 13:58:17 +0200, a ecrit: > ERROR: modpost: "spk_serial_io_ops" > [drivers/accessibility/speakup/speakup_keypc.ko] undefined! > ERROR: modpost: "spk_stop_serial_interrupt" > [drivers/accessibility/speakup/speakup_keypc.ko] undefined! Oh, indeed, these are

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-04 Thread Pierre-Louis Bossart
On 8/3/20 11:33 PM, Lu, Brent wrote: For avoid further misunderstanding: it's fine that CRAS *uses* such a short period. It's often required for achieving a short latency. However, the question is whether the driver can set *only* this value for making it working. IOW, if we don't have thi

WARNING: suspicious RCU usage in ovs_flow_tbl_destroy

2020-08-04 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2f631133 net: Pass NULL to skb_network_protocol() when we .. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12daae2a90 kernel config: https://syzkaller.appspot.com/x/.config?x=91a13b78c7dc258d das

Re: [PATCH 3/3] drm/msm/dpu: add support for clk and bw scaling for display

2020-08-04 Thread Rob Clark
On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota wrote: > > This change adds support to scale src clk and bandwidth as > per composition requirements. > > Interconnect registration for bw has been moved to mdp > device node from mdss to facilitate the scaling. > > Changes in v1: > - Address armv7 com

Re: [PATCH 00/18] VFS: Filesystem information [ver #21]

2020-08-04 Thread James Bottomley
On Mon, 2020-08-03 at 14:36 +0100, David Howells wrote: > Here's a set of patches that adds a system call, fsinfo(), that > allows information about the VFS, mount topology, superblock and > files to be retrieved. > > The patchset is based on top of the notifications patchset and allows > event co

Aw: Re: [PATCH v3 5/5] arm: dts: mt7623: add display subsystem related device nodes

2020-08-04 Thread Frank Wunderlich
> Gesendet: Dienstag, 04. August 2020 um 17:00 Uhr > Von: "Chun-Kuang Hu" > > + display_components: dispsys@1400 { > > + compatible = "mediatek,mt7623-mmsys", > > +"mediatek,mt2701-mmsys"; > > In mediatek,mmsys.txt [3], this should be: > > mmsys

Re: [PATCH v1 3/3] kernel/configs: don't include PCI_QUIRKS in KVM guest configs

2020-08-04 Thread Alex Bennée
Marc Zyngier writes: > On 2020-08-04 15:44, Alex Bennée wrote: >> Marc Zyngier writes: >> >>> On 2020-08-04 13:44, Alex Bennée wrote: The VIRTIO_PCI support is an idealised PCI bus, we don't need a bunch of bloat for real world hardware for a VirtIO guest. >>> >>> Who says this gue

Re: [PATCH v4] sched: Provide USF for the portable equipment.

2020-08-04 Thread Randy Dunlap
On 8/4/20 12:50 AM, Dongdong Yang wrote: > From: Dongdong Yang > > --- > > diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu > b/Documentation/ABI/testing/sysfs-devices-system-cpu > index b555df8..e299418 100644 > --- a/Documentation/ABI/testing/sysfs-devices-system-cpu > +++ b/Do

Re: [PATCH 1/3] arm64: dts: sc7180: add interconnect bindings for display

2020-08-04 Thread Rob Clark
On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota wrote: > > From: Krishna Manikandan > > This change adds the interconnect bindings to the > MDSS node. This will establish Display to DDR path > for bus bandwidth voting. > > Changes in v2: > - Change in commit message(Matthias Kaehlcke) > > Ch

Re: [PATCH 2/3] arm64: dts: sc7180: add bus clock to mdp node for sc7180 target

2020-08-04 Thread Rob Clark
On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota wrote: > > From: Krishna Manikandan > > Move the bus clock to mdp device node,in order > to facilitate bus band width scaling on sc7180 > target. > > The parent device MDSS will not vote for bus bw, > instead the vote will be triggered by mdp device >

Re: [PATCH] staging: wfx: fixed misspelled word in comment

2020-08-04 Thread Joe Perches
On Tue, 2020-08-04 at 08:24 -0700, Randy Dunlap wrote: > On 8/4/20 7:58 AM, Aditya Bansal wrote: > > From: Aditya Bansal > > > > Subject: [PATCH] fixed typo in driver/staging/wfx/hif_tx.c file > > > > Correct the spelling of function > > > > Signed-off-by: Aditya Bansal > > --- > > > > diff -

Re: [PATCH 2/2] dmabuf/tracing: Add dma-buf trace events

2020-08-04 Thread Kalesh Singh
On Tue, Aug 04, 2020 at 02:09:13AM +0100, Al Viro wrote: > On Mon, Aug 03, 2020 at 11:28:31PM +0100, Al Viro wrote: > > > IOW, what the hell is that horror for? You do realize, for example, that > > there's > > such thing as dup(), right? And dup2() as well. And while we are at it, > > how >

KASAN: use-after-free Write in hci_conn_del

2020-08-04 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bcf87687 Linux 5.8 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1418439290 kernel config: https://syzkaller.appspot.com/x/.config?x=19b11af1e394136d dashboard link: https://syzkaller.appspot.com

Re: [PATCH v2 2/3] ARM: at91: pm: add per soc validation of pm modes

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 18:08, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 04/08/2020 15:00:38+, claudiu.bez...@microchip.com wrote: >> >> >> On 04.08.2020 14:42, Alexandre Belloni wrote: >>> EXTERNAL EMAIL: Do not cli

WARNING: suspicious RCU usage in ovs_flow_tbl_masks_cache_size

2020-08-04 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2f631133 net: Pass NULL to skb_network_protocol() when we .. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12c1f77090 kernel config: https://syzkaller.appspot.com/x/.config?x=91a13b78c7dc258d das

KASAN: use-after-free Read in __sco_sock_close

2020-08-04 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bcf87687 Linux 5.8 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=107dbe0a90 kernel config: https://syzkaller.appspot.com/x/.config?x=4b489d75d0c8859d dashboard link: https://syzkaller.appspot.com

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-08-04 Thread Madhavan T. Venkataraman
Hey Mark, I am working on putting together an improved definition of trampfd per Andy's comment. I will try to address your comments in that improved definition. Once I send that out, I will respond to your emails as well. Thanks. Madhavan On 8/4/20 8:55 AM, Mark Rutland wrote: > On Mon, Aug 03

[PATCHv2 net-next--in-reply-to=<20200707171515.110818-1-izabela.bakoll...@gmail.com>] dropwatch: Support monitoring of dropped frames

2020-08-04 Thread izabela . bakollari
From: Izabela Bakollari Dropwatch is a utility that monitors dropped frames by having userspace record them over the dropwatch protocol over a file. This augument allows live monitoring of dropped frames using tools like tcpdump. With this feature, dropwatch allows two additional commands (start

Re: [PATCH 2/2] speakup: only build serialio when ISA is enabled

2020-08-04 Thread Greg KH
On Tue, Aug 04, 2020 at 05:35:42PM +0200, Samuel Thibault wrote: > Greg KH, le mar. 04 août 2020 13:58:17 +0200, a ecrit: > > ERROR: modpost: "spk_serial_io_ops" > > [drivers/accessibility/speakup/speakup_keypc.ko] undefined! > > ERROR: modpost: "spk_stop_serial_interrupt" > > [drivers/ac

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

2020-08-04 Thread Ian Rogers
On Tue, Aug 4, 2020 at 7:49 AM Adrian Hunter wrote: > > On 4/08/20 4:33 pm, Ian Rogers wrote: > > On Tue, Aug 4, 2020 at 3:08 AM Adrian Hunter > > wrote: > >> > >> On 28/07/20 11:57 am, Ian Rogers wrote: > >>> If events in a group explicitly set a frequency or period with leader > >>> sampling,

Re: [PATCH] Platform lockdown information in SYSFS

2020-08-04 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 12:05:25PM -0300, Daniel Gutson wrote: > On Tue, Aug 4, 2020 at 11:43 AM Greg Kroah-Hartman > wrote: > > > > On Tue, Aug 04, 2020 at 11:37:02AM -0300, Daniel Gutson wrote: > > > On Tue, Aug 4, 2020 at 11:23 AM Greg Kroah-Hartman < > > > gre...@linuxfoundation.org> wrote: >

Re: [PATCH v3 00/11] fix swiotlb-xen for RPi4

2020-08-04 Thread Stefano Stabellini
On Tue, 4 Aug 2020, Jürgen Groß wrote: > On 11.07.20 00:34, Stefano Stabellini wrote: > > Hi all, > > > > This series is a collection of fixes to get Linux running on the RPi4 as > > dom0. Conceptually there are only two significant changes: > > > > - make sure not to call virt_to_page on vmalloc

Re: [PATCH v2 3/3] arm64: dts: rockchip: add rk3318 A95X Z2 board

2020-08-04 Thread Johan Jonker
Hi Robin, Thank you for your review. Added some questions in return. This dts file seems to be some sort of variation of rk3328-box-liantong.dtsi in the manufacturer tree. Depending on the design the vendor then changes the wifi chip or removes the spdif connector to save some cost. On 8/3/20 11

Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver

2020-08-04 Thread Chun-Kuang Hu
Neal Liu 於 2020年8月4日 週二 上午10:08寫道: > > On Tue, 2020-08-04 at 00:04 +0800, Chun-Kuang Hu wrote: > > Hi, Neal: > > > > Neal Liu 於 2020年8月3日 週一 下午12:01寫道: > > > > > > Hi Chun-Kuang, > > > > > > On Sat, 2020-08-01 at 08:12 +0800, Chun-Kuang Hu wrote: > > > > Hi, Neal: > > > > > > > > This patch is fo

Re: [PATCH v2 2/3] ARM: at91: pm: add per soc validation of pm modes

2020-08-04 Thread Alexandre Belloni
On 04/08/2020 15:45:40+, claudiu.bez...@microchip.com wrote: > > > On 04.08.2020 18:08, Alexandre Belloni wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > On 04/08/2020 15:00:38+, claudiu.bez...@microchip.com wrote: > >> >

Re: [PATCH v5 3/4] LSM: Define SELinux function to measure state and policy

2020-08-04 Thread Lakshmi Ramasubramanian
On 8/4/20 8:29 AM, Stephen Smalley wrote: Perhaps vmalloc would be better than using kmalloc? If there are better options for such large buffer allocation, please let me know. kvmalloc() can be used to select whichever one is most appropriate. Other option would be for ima to compute and sav

[PATCH v3] ALSA: hda/hdmi: Add quirk to force connectivity

2020-08-04 Thread Kai-Heng Feng
HDMI on some platforms doesn't enable audio support because its Port Connectivity [31:30] is set to AC_JACK_PORT_NONE: Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0b94:

Re: [PATCH] clk: at91: clk-main: update key before writing AT91_CKGR_MOR

2020-08-04 Thread Alexandre Belloni
On 30/07/2020 12:03:23+0300, Claudiu Beznea wrote: > SAMA5D2 datasheet specifies on chapter 33.22.8 (PMC Clock Generator > Main Oscillator Register) that writing any value other than > 0x37 on KEY field aborts the write operation. Use the key when > selecting main clock parent. > > Fixes: 27cb1c20

Re: Re: [PATCH v3 5/5] arm: dts: mt7623: add display subsystem related device nodes

2020-08-04 Thread Chun-Kuang Hu
Hi, Frank: Frank Wunderlich 於 2020年8月4日 週二 下午11:23寫道: > > Hi > > Except mmsys (i added in Patch #1) all mt7623-compatibles are not defined in > code and fallback (mt2701-x/mt8173-x) is used. If i add it in dt-binding, it > should be added in code too, right? or should i remove mt7623 compatible

[PATCHv2 1/2] speakup: Fix wait_for_xmitr for ttyio case

2020-08-04 Thread Samuel Thibault
This was missed while introducing the tty-based serial access. The only remaining use of wait_for_xmitr with tty-based access is in spk_synth_is_alive_restart to check whether the synth can be restarted. With tty-based this is up to the tty layer to cope with the buffering etc. so we can just say

[PATCHv2 2/2] speakup: only build serialio when ISA is enabled

2020-08-04 Thread Samuel Thibault
Drivers using serialio were already made available in Kconfig only under the ISA condition. Signed-off-by: Samuel Thibault Index: linux-2.6/drivers/accessibility/speakup/Makefile === --- linux-2.6.orig/drivers/accessibility/speakup/

[PATCH] scsi: ufs-qcom: Remove unused msm bus scaling apis

2020-08-04 Thread Sai Prakash Ranjan
MSM bus scaling has moved on to use interconnect framework and downstream bus scaling apis like msm_bus_scale*() does not exist anymore in the kernel. Currently they are guarded by a config which also does not exist and hence there are no build failures reported. Remove these unused apis as they ar

Re: [PATCHv2 net-next--in-reply-to=<20200707171515.110818-1-izabela.bakoll...@gmail.com>] dropwatch: Support monitoring of dropped frames

2020-08-04 Thread Izabela Bakollari
I am reverting my last patch because of the malformatted subject. Thanks, Izabela On Tue, Aug 4, 2020 at 5:48 PM wrote: > > From: Izabela Bakollari > > Dropwatch is a utility that monitors dropped frames by having userspace > record them over the dropwatch protocol over a file. This augument >

Re: [PATCH v5 13/36] vmlinux.lds.h: add PGO and AutoFDO input sections

2020-08-04 Thread Arvind Sankar
On Mon, Aug 03, 2020 at 09:45:32PM -0700, Andi Kleen wrote: > > Why is that? Both .text and .text.hot have alignment of 2^4 (default > > function alignment on x86) by default, so it doesn't seem like it should > > matter for packing density. Avoiding interspersing cold text among > > You may lose

Re: [PATCH] drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi

2020-08-04 Thread Lyude Paul
Heh, I remember this being mentioned to me way back but completely forgot to ever go fix it. Thanks for the patch! Reviewed-by: Lyude Paul This is missing a Fixes: tag though: Fixes: 1e797f556c61 ("drm/dp: Split drm_dp_mst_allocate_vcpi") Cc: # v4.12+ So I will go ahead and add that, th

Re: [PATCH] staging: wfx: fixed misspelled word in comment

2020-08-04 Thread Aditya Bansal
Should I correct all the instances of the "careful" and submit the patch including both "carefull" and "function" word correct? or only for the "carefull"? I have already submitted one for the "funcion" word. On Tue, Aug 4, 2020 at 9:13 PM Joe Perches wrote: > > On Tue, 2020-08-04 at 08:24 -0700,

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-04 Thread Deven Bowers
On 8/2/2020 9:43 AM, James Bottomley wrote: On Sun, 2020-08-02 at 16:31 +0200, Pavel Machek wrote: On Sun 2020-08-02 10:03:00, Sasha Levin wrote: On Sun, Aug 02, 2020 at 01:55:45PM +0200, Pavel Machek wrote: Hi! IPE is a Linux Security Module which allows for a configurable policy to enfo

[PATCHv2 net-next] dropwatch: Support monitoring of dropped frames

2020-08-04 Thread izabela . bakollari
From: Izabela Bakollari Dropwatch is a utility that monitors dropped frames by having userspace record them over the dropwatch protocol over a file. This augument allows live monitoring of dropped frames using tools like tcpdump. With this feature, dropwatch allows two additional commands (start

Re: [PATCH] PCI: rcar-gen2: Fix crash in resource_list_first_type()

2020-08-04 Thread Lorenzo Pieralisi
On Tue, Aug 04, 2020 at 02:04:30PM +0200, Geert Uytterhoeven wrote: > The conversion to modern host bridge probing made the driver allocate > its private data using devm_pci_alloc_host_bridge(), but forgot to > remove the old allocation. Hence part of the driver initialization is > done using the

Re: [PATCH 2/2] speakup: only build serialio when ISA is enabled

2020-08-04 Thread Samuel Thibault
Greg KH, le mar. 04 août 2020 17:49:52 +0200, a ecrit: > > #define inb(c) ({ u8 __v; __io_pbr(); __v = > > readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; }) > > > > and thus yes it's arithmetic over a (void*) pointer, the caller cannot > > do anything about it. > > And t

Re: [PATCH] RTC: Implement pretimeout watchdog for DS1307

2020-08-04 Thread Guenter Roeck
On 8/4/20 8:20 AM, Alexandre Belloni wrote: > Hi, > > The subject prefix is not correct, it should be rtc: ds1307: > > Also, shouldn't that kind of software timeout which doesn't actually > depend on the hardware better be handled in the watchdog core? Then this > will benefit all the watchdog an

Re: iTCO watchdog last reboot reason?

2020-08-04 Thread Guenter Roeck
On 8/4/20 7:41 AM, Naveen Kumar P wrote: > [ Please keep me in CC as I'm not subscribed to the list] > > Hi everyone, > > I enabled the iTCO watchdog in my Linux system. > > sudo cat /dev/watchdog perfectly reboots my system. But, is there a > way to find out on each boot if the machine was rebo

[PATCH] RAS/CEC: Fix cec_init prototype

2020-08-04 Thread Luca Stefani
* late_initcall expects a function to return an integer Signed-off-by: Luca Stefani --- drivers/ras/cec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c index 569d9ad2c594..e048e0e3949a 100644 --- a/drivers/ras/cec.c +++ b/drive

Re: [PATCH] drm/amd/display: use correct scale for actual_brightness

2020-08-04 Thread Kazlauskas, Nicholas
This is a cleaner change the other proposed patch since it doesn't need to modify the exist conversion functions but I'd be worried about broken userspace relying on 0-255 as the only acceptable range. Not an expert on existing implementations to point out a specific one though. Regards, Nic

[PATCH] MAINTAINERS: Add Tom Rix as fpga reviewer

2020-08-04 Thread trix
From: Tom Rix I take care of fpga kernel and userspace for Red Hat and would like help out more with the mainline kernel. Signed-off-by: Tom Rix --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ce2737b1feb5..6fdb01776413 100644 --- a/MAINTAI

[PATCH V4 linux-next 03/12] vhost-vdpa: support get/set backend features

2020-08-04 Thread Eli Cohen
From: Jason Wang This patch makes userspace can get and set backend features to vhost-vdpa. Signed-off-by: Cindy Lu Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 563a

[PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices

2020-08-04 Thread Eli Cohen
Hi Michael, please note that this series depends on mlx5 core device driver patches in mlx5-next branch in git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git. git pull git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git mlx5-next They also depend Jason Wang's patches:

[PATCH V4 linux-next 07/12] net/vdpa: Use struct for set/get vq state

2020-08-04 Thread Eli Cohen
For now VQ state involves 16 bit available index value encoded in u64 variable. In the future it will be extended to contain more fields. Use struct to contain the state, now containing only a single u16 for the available index. In the future we can add fields to this struct. Reviewed-by: Parav Pa

[PATCH V4 linux-next 05/12] vdpasim: support batch updating

2020-08-04 Thread Eli Cohen
From: Jason Wang The vDPA simulator support both set_map() and dma_map()/dma_unmap() operations. But vhost-vdpa can only use one of them. So this patch introduce a module parameter (batch_mapping) that let vpda_sim to support only one of those dma operations. The batched mapping via set_map() is

[PATCH V4 linux-next 10/12] vdpa/mlx5: Add support library for mlx5 VDPA implementation

2020-08-04 Thread Eli Cohen
Following patches introduce VDPA network driver for Mellanox Connectx6 devices. This patch provides functionality that will be used by those patches. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/Kconfig | 9 + drivers/vdpa/Makefile | 1 + dr

Re: [PATCH] drm/amd/display: use correct scale for actual_brightness

2020-08-04 Thread Kazlauskas, Nicholas
On 2020-08-03 4:02 p.m., Alexander Monakov wrote: Documentation for sysfs backlight level interface requires that values in both 'brightness' and 'actual_brightness' files are interpreted to be in range from 0 to the value given in the 'max_brightness' file. With amdgpu, max_brightness gives 255

[PATCH V4 linux-next 06/12] vdpa: remove hard coded virtq num

2020-08-04 Thread Eli Cohen
From: Max Gurtovoy This will enable vdpa providers to add support for multi queue feature and publish it to upper layers (vhost and virtio). Signed-off-by: Max Gurtovoy Reviewed-by: Jason Wang --- drivers/vdpa/ifcvf/ifcvf_main.c | 3 ++- drivers/vdpa/vdpa.c | 3 +++ drivers/vdpa

Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()

2020-08-04 Thread James Smart
On 7/30/2020 11:56 PM, Jing Xiangfeng wrote: lpfc_init() misses to call misc_deregister() in an error path. Add a label 'unregister' to fix it. Signed-off-by: Jing Xiangfeng --- drivers/scsi/lpfc/lpfc_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Looks fine. Revi

[PATCH V4 linux-next 04/12] vhost-vdpa: support IOTLB batching hints

2020-08-04 Thread Eli Cohen
From: Jason Wang This patches extend the vhost IOTLB API to accept batch updating hints form userspace. When userspace wants update the device IOTLB in a batch, it may do: 1) Write vhost_iotlb_msg with VHOST_IOTLB_BATCH_BEGIN flag 2) Perform a batch of IOTLB updating via VHOST_IOTLB_UPDATE/INVAL

[PATCH V4 linux-next 09/12] vdpa/mlx5: Add hardware descriptive header file

2020-08-04 Thread Eli Cohen
Keep all vdpa related hardware definitions in this file. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/mlx5/core/mlx5_vdpa_ifc.h | 168 + 1 file changed, 168 insertions(+) create mode 100644 drivers/vdpa/mlx5/core/mlx5_vdpa_ifc.h diff --git a/driv

Re: [PATCH] PCI: rcar-gen2: Fix crash in resource_list_first_type()

2020-08-04 Thread Bjorn Helgaas
On Tue, Aug 04, 2020 at 05:13:25PM +0100, Lorenzo Pieralisi wrote: > On Tue, Aug 04, 2020 at 02:04:30PM +0200, Geert Uytterhoeven wrote: > > The conversion to modern host bridge probing made the driver allocate > > its private data using devm_pci_alloc_host_bridge(), but forgot to > > remove the ol

[PATCH V4 linux-next 11/12] vdpa/mlx5: Add shared memory registration code

2020-08-04 Thread Eli Cohen
Add code to support registering address space region for the device. The virtio driver can run as either: 1. Guest virtio driver 2. Userspace virtio driver on the host 3. Kernel virtio driver on the host In any case a memory key object is required to provide access to memory for the device. This

[PATCH 1/2] tty/sysrq: Extend the sysrq_key_table to cover capital letters

2020-08-04 Thread Andrzej Pietrasiewicz
All slots in sysrq_key_table[] are either used, reserved or at least commented with their intended use. This patch adds capital letter versions available, which means adding 26 more entries. For already existing SysRq operations the user presses Alt-SysRq-, and for the newly added ones Alt-Shift-S

Re: [PATCH] staging: wfx: fixed misspelled word in comment

2020-08-04 Thread Joe Perches
On Tue, 2020-08-04 at 16:07 +0530, Aditya Bansal wrote: > Should I correct all the instances of the "careful" and submit the > patch including both "carefull" and "function" word correct? or only > for the "carefull"? I have already submitted one for the "funcion" > word. I suggest submitting a V2

[PATCH 2/2] tty/sysrq: Add configurable handler to execute a compound action

2020-08-04 Thread Andrzej Pietrasiewicz
Userland might want to execute e.g. 'w' (show blocked tasks), followed by 's' (sync), followed by 1000 ms delay and then followed by 'c' (crash) upon a single magic SysRq. Or one might want to execute the famous "Raising Elephants Is So Utterly Boring" action. This patch adds a configurable handler

Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit

2020-08-04 Thread Vitor Massaru Iha
Hi Peter, On Tue, Aug 4, 2020 at 11:23 AM wrote: > > On Tue, Aug 04, 2020 at 10:46:21AM -0300, Vitor Massaru Iha wrote: > > On Tue, Aug 4, 2020 at 10:25 AM wrote: > > > On Wed, Jul 29, 2020 at 06:57:17PM -0300, Vitor Massaru Iha wrote: > > > > > > > The results can be seen this way: > > > > > >

[PATCH V4 linux-next 08/12] vdpa: Modify get_vq_state() to return error code

2020-08-04 Thread Eli Cohen
Modify get_vq_state() so it returns an error code. In case of hardware acceleration, the available index may be retrieved from the device, an operation that can possibly fail. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/ifcvf/ifcvf_main.c | 5 +++-- drivers/vdpa/vdpa_si

[PATCH 0/2] Add configurable handler to execute a compound action

2020-08-04 Thread Andrzej Pietrasiewicz
Patch 2/2 adds a configurable handler to execute a compound action. Userland might want to execute e.g. 'w' (show blocked tasks), followed by 's' (sync), followed by 1000 ms delay and then followed by 'c' (crash) upon a single magic SysRq. Or one might want to execute the famous "Raising Elephants

[PATCH V4 linux-next 01/12] vhost-vdpa: refine ioctl pre-processing

2020-08-04 Thread Eli Cohen
From: Jason Wang Switch to use 'switch' to make the codes more easier to be extended. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 16e0ffb115be..563ae6204052 100

[PATCH V4 linux-next 02/12] vhost: generialize backend features setting/getting

2020-08-04 Thread Eli Cohen
From: Jason Wang Move the backend features setting/getting from net.c to vhost.c to be reused by vhost-vdpa. Signed-off-by: Jason Wang --- drivers/vhost/net.c | 18 ++ drivers/vhost/vhost.c | 15 +++ drivers/vhost/vhost.h | 2 ++ 3 files changed, 19 insertions(+)

Re: [PATCH] drm/amd/display: use correct scale for actual_brightness

2020-08-04 Thread Alexander Monakov
On Tue, 4 Aug 2020, Kazlauskas, Nicholas wrote: > This is a cleaner change the other proposed patch since it doesn't need to Can you give a URL to the other patch please? > modify the exist conversion functions but I'd be worried about broken > userspace relying on 0-255 as the only acceptabl

[PATCH 1/9] mfd: mt6360: Rearrange include file

2020-08-04 Thread Gene Chen
From: Gene Chen Rearrange include file without sorting by alphabet. Signed-off-by: Gene Chen --- drivers/mfd/mt6360-core.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c index e9cacc2..c7a955f 100644 --- a/driver

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