Re: [PATCH v2] drivers/net/wan/lapbether: Use needed_headroom instead of hard_header_len

2020-08-04 Thread Xie He
On Tue, Aug 4, 2020 at 3:07 AM Xie He wrote: > > Maybe we could contact . It seems to be the > manager of VGER mail lists. Oh. No. Majordomo seems to be a robot.

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-08-04 Thread Vasundhara Volam
On Mon, Aug 3, 2020 at 7:23 PM Moshe Shemesh wrote: > > > On 8/3/2020 3:47 PM, Vasundhara Volam wrote: > > On Mon, Aug 3, 2020 at 5:47 PM Moshe Shemesh wrote: > >> > >> On 8/3/2020 1:24 PM, Vasundhara Volam wrote: > >>> On Tue, Jul 28, 2020 at 10:13 PM Jacob Keller > >>> wrote: > > On

Re: [PATCH v2][next] printk: ringbuffer: support dataless records

2020-08-04 Thread Petr Mladek
On Tue 2020-07-21 15:31:28, John Ogness wrote: > With commit ("printk: use the lockless ringbuffer"), printk() > started silently dropping messages without text because such > records are not supported by the new printk ringbuffer. > > Add support for such records. > > Currently dataless records

Re: [PATCH] PM: runtime: Add kerneldoc comments to multiple helpers

2020-08-04 Thread Rafael J. Wysocki
Hi Sakari, On Tue, Aug 4, 2020 at 1:05 AM Sakari Ailus wrote: > > Hi Rafael, > > On Mon, Aug 03, 2020 at 01:36:52PM +0200, Rafael J. Wysocki wrote: > > Hi Sakari, > > > > On Mon, Aug 3, 2020 at 10:53 AM Sakari Ailus > > wrote: > > > > > > Hi Rafael, > > > > > > Thanks for the patch. > > > > > >

[PATCH] MAINTAINERS: Remove myself as LED subsystem maintainer

2020-08-04 Thread Jacek Anaszewski
It don't have enough time for reviewing patches and thus don't want to be listed as regular LED maintainer. Nonetheless I may still give a review from time to time. Signed-off-by: Jacek Anaszewski --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS inde

[GIT PULL] Hyper-V commits for 5.9

2020-08-04 Thread Wei Liu
Hi Linus Please pull the following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git tags/hyperv-next-signed for you to

Re: [PATCH v10 3/5] KASAN: Port KASAN Tests to KUnit

2020-08-04 Thread Andrey Konovalov
On Tue, Aug 4, 2020 at 12:59 AM David Gow wrote: > > On Sat, Aug 1, 2020 at 3:10 PM David Gow wrote: > > > > From: Patricia Alfonso > > > > Transfer all previous tests for KASAN to KUnit so they can be run > > more easily. Using kunit_tool, developers can run these tests with their > > other KUn

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

2020-08-04 Thread Geert Uytterhoeven
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, Lad, Prabhakar wrote: > > > > On Mon, Aug 3, 2020 at 7:06 PM Niklas > > > > wrote: > >

Re: [PATCH 02/18] fsinfo: Add fsinfo() syscall to query filesystem information [ver #21]

2020-08-04 Thread Miklos Szeredi
On Mon, Aug 03, 2020 at 02:36:42PM +0100, David Howells wrote: > Add a system call to allow filesystem information to be queried. A request > value can be given to indicate the desired attribute. Support is provided > for enumerating multi-value attributes. > > === > NEW SYSTEM CALL

[PATCH 0/2] selftests: rtnetlink: Fix for false-negative return values

2020-08-04 Thread Po-Hsu Lin
This patchset will address the false-negative return value issue caused by the following: 1. The return value "ret" in this script will be reset to 0 from the beginning of each sub-test in rtnetlink.sh, therefore this rtnetlink test will always pass if the last sub-test has passed. 2.

[PATCH 1/2] selftests: rtnetlink: correct the final return value for the test

2020-08-04 Thread Po-Hsu Lin
The return value "ret" will be reset to 0 from the beginning of each sub-test in rtnetlink.sh, therefore this test will always pass if the last sub-test has passed: $ sudo ./rtnetlink.sh PASS: policy routing PASS: route get PASS: preferred_lft addresses have expired PASS: promot

[PATCH 2/2] selftests: rtnetlink: make kci_test_encap() return sub-test result

2020-08-04 Thread Po-Hsu Lin
kci_test_encap() is actually composed by two different sub-tests, kci_test_encap_vxlan() and kci_test_encap_fou() Therefore we should check the test result of these two in kci_test_encap() to let the script be aware of the pass / fail status. Otherwise it will generate false-negative result like b

Re: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-04 Thread Sudeep Holla
+Marc Z On Tue, Aug 04, 2020 at 04:56:57PM +0800, Jason Liu wrote: > No need to do the irq_chip->irq_mask() if it already masked. > BTW, unconditionally do the irq_chip->irq_mask() will also bring issues > when the irq_chip in the runtime PM suspend. Accessing registers of the > irq_chip will brin

Re: [PATCH v2 0/3] media: vimc: Allow multiple capture devices to use the same sensor

2020-08-04 Thread Kieran Bingham
Hi Kaaira, On 31/07/2020 18:22, Kaaira Gupta wrote: > Hi everyone, > > On Wed, Jul 29, 2020 at 05:24:25PM +0200, Dafna Hirschfeld wrote: >> >> >> On 29.07.20 15:27, Kieran Bingham wrote: >>> Hi Dafna, Kaaira, >>> >>> On 29/07/2020 14:16, Dafna Hirschfeld wrote: On 29.07.20 15:05, K

Re: [PATCH] mm: sort freelist by rank number

2020-08-04 Thread Cho KyongHo
On Tue, Aug 04, 2020 at 11:12:55AM +0200, Vlastimil Babka wrote: > On 8/4/20 4:35 AM, Cho KyongHo wrote: > > On Mon, Aug 03, 2020 at 05:45:55PM +0200, Vlastimil Babka wrote: > >> On 8/3/20 9:57 AM, David Hildenbrand wrote: > >> > On 03.08.20 08:10, pullip@samsung.com wrote: > >> >> From: Cho Ky

Re: [PATCH 0/4] CPUFreq statistics retrieved by drivers

2020-08-04 Thread Lukasz Luba
On 8/4/20 6:35 AM, Viresh Kumar wrote: On 30-07-20, 10:36, Lukasz Luba wrote: On 7/30/20 10:10 AM, Sudeep Holla wrote: On Thu, Jul 30, 2020 at 02:23:33PM +0530, Viresh Kumar wrote: On 29-07-20, 16:12, Lukasz Luba wrote: The existing CPUFreq framework does not tracks the statistics when the

Re: [PATCH v2 00/10] msm8992/4 updates

2020-08-04 Thread Konrad Dybcio
Bumping in case it was overlooked, hope to get this in the 5.9 merge window :) Konrad

Re: [PATCH 05/18] fsinfo: Allow fsinfo() to look up a mount object by ID [ver #21]

2020-08-04 Thread Miklos Szeredi
On Mon, Aug 03, 2020 at 02:37:08PM +0100, David Howells wrote: > Allow the fsinfo() syscall to look up a mount object by ID rather than by > pathname. This is necessary as there can be multiple mounts stacked up at > the same pathname and there's no way to look through them otherwise. > > This is

Re: [PATCH 1/6] xen/gntdev: Fix dmabuf import with non-zero sgt offset

2020-08-04 Thread Oleksandr Andrushchenko
On 8/4/20 9:11 AM, Jürgen Groß wrote: > On 31.07.20 14:51, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko >> >> It is possible that the scatter-gather table during dmabuf import has >> non-zero offset of the data, but user-space doesn't expect that. >> Fix this by failing the imp

Re: [PATCH] staging: Add Mediatek High Frequency Manager Framework

2020-08-04 Thread kernel test robot
Hi "hongxu.zhao", Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/hongxu-zhao/staging-Add-Mediatek-High-Frequency-Manager-Framework/20200804-155814 base: https://git.kernel.o

Re: [RFC PATCH kernel] serial_core: Check for port state when tty is in error state

2020-08-04 Thread Alexey Kardashevskiy
On 04/08/2020 20:09, Greg Kroah-Hartman wrote: > On Tue, Aug 04, 2020 at 08:02:27PM +1000, Alexey Kardashevskiy wrote: >> Ping? >> >> ps. Greg, your name came up in "git format-patch -M --stdout -1 HEAD | >> ./scripts/get_maintainer.pl --norolestats --l" ;) > > It's in my queue to review, but c

Re: [PATCH 0/4] CPUFreq statistics retrieved by drivers

2020-08-04 Thread Viresh Kumar
On 04-08-20, 11:29, Lukasz Luba wrote: > On 8/4/20 6:35 AM, Viresh Kumar wrote: > > IIUC, the only concern right now is to capture stats with fast switch ? > > Maybe we > > can do something else in that case and brainstorm a bit.. > > Correct, the fast switch is the only concern right now and not

Re: [RFC] memory: exynos5422-dmc: Document mutex scope

2020-08-04 Thread Lukasz Luba
Hi Krzysztof, On 7/24/20 7:08 PM, Krzysztof Kozlowski wrote: Document scope of the mutex used by driver. Signed-off-by: Krzysztof Kozlowski --- It seems mutex was introduced to protect: 1. setting actual frequency/voltage, 2. dmc->curr_rate (in exynos5_dmc_get_cur_freq()). However dmc->curr

Re: [PATCH 06/18] fsinfo: Add a uniquifier ID to struct mount [ver #21]

2020-08-04 Thread Miklos Szeredi
On Mon, Aug 03, 2020 at 02:37:16PM +0100, David Howells wrote: > Add a uniquifier ID to struct mount that is effectively unique over the > kernel lifetime to deal around mnt_id values being reused. This can then > be exported through fsinfo() to allow detection of replacement mounts that > happen

Re: [Linux-kernel-mentees] [PATCH] Bluetooth: Initialize the TX queue lock when creating struct l2cap_chan in 6LOWPAN

2020-08-04 Thread Coiby Xu
On Tue, Aug 04, 2020 at 11:42:53AM +0200, Greg KH wrote: On Tue, Aug 04, 2020 at 05:39:37PM +0800, Coiby Xu wrote: When L2CAP channel is destroyed by hci_unregister_dev, it will acquire the spin lock of the (struct l2cap_chan *)->tx_q list to delete all the buffers. But sometimes when hci_unregi

Re: [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device

2020-08-04 Thread Suzuki K Poulose
Hi Qi On 08/03/2020 02:35 PM, Qi Liu wrote: Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08 contains ETMv4.2 device and Hip09 contains ETMv4.5 device. Does the ETMv4.5 on your system implement system instructions to access the ETMs ? If so, please could you give the follo

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

2020-08-04 Thread Qais Yousef
Hi Dongdong On 08/04/20 15:50, Dongdong Yang wrote: > +What:/sys/devices/system/cpu/sched_usf > + /sys/devices/system/cpu/sched_usf/sched_usf_non_ux_r > + /sys/devices/system/cpu/sched_usf/sched_usf_up_l0_r > + /sys/devices/system/cpu/sched_usf/s

Re: [PATCH 0/4] CPUFreq statistics retrieved by drivers

2020-08-04 Thread Lukasz Luba
On 8/4/20 11:38 AM, Viresh Kumar wrote: On 04-08-20, 11:29, Lukasz Luba wrote: On 8/4/20 6:35 AM, Viresh Kumar wrote: IIUC, the only concern right now is to capture stats with fast switch ? Maybe we can do something else in that case and brainstorm a bit.. Correct, the fast switch is the o

Re: [PATCH] nvmem: core: add sanity check in nvmem_device_read()

2020-08-04 Thread Bingbu Cao
On 8/4/20 6:03 PM, Srinivas Kandagatla wrote: > > > On 04/08/2020 10:58, Sakari Ailus wrote: >> Hi Bingbu, >> >> Thank you for the patch. >> >> On Tue, Aug 04, 2020 at 05:13:56PM +0800, Bingbu Cao wrote: >>> nvmem_device_read() could be called directly once nvmem device >>> registered, the sani

Re: [PATCH 1/2] sched/topology: Allow archs to override cpu_smt_mask

2020-08-04 Thread peterz
On Tue, Aug 04, 2020 at 09:03:06AM +0530, Srikar Dronamraju wrote: > cpu_smt_mask tracks topology_sibling_cpumask. This would be good for > most architectures. One of the users of cpu_smt_mask(), would be to > identify idle-cores. On Power9, a pair of cores can be presented by the > firmware as a b

RE: PATCH: rtsx_pci driver - don't disable the rts5229 card reader on Intel NUC boxes

2020-08-04 Thread 吳昊澄 Ricky
> -Original Message- > From: Chris Clayton [mailto:chris2...@googlemail.com] > Sent: Tuesday, August 04, 2020 4:51 PM > To: 吳昊澄 Ricky; gre...@linuxfoundation.org > Cc: LKML; rdun...@infradead.org; philqua...@gmail.com; Arnd Bergmann > Subject: Re: PATCH: rtsx_pci driver - don't disable the

Re: [PATCH 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-04 Thread peterz
On Tue, Aug 04, 2020 at 09:03:07AM +0530, Srikar Dronamraju wrote: > On Power9 a pair of cores can be presented by the firmware as a big-core > for backward compatibility reasons, with 4 threads per (small) core and 8 > threads per big-core. cpu_smt_mask() should generally point to the cpu mask > o

drivers/mtd/maps/physmap-ixp4xx.c:42:16: sparse: sparse: cast to restricted __be16

2020-08-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a commit: 2aba2f2a704d368583e832555b25d88265e62b6d mtd: physmap_of: add a hook for Intel IXP4xx flash probing date: 9 months ago config: arm-randconfig-s031-20200804

Re: [PATCH] cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0

2020-08-04 Thread Rafael J. Wysocki
On Mon, Aug 3, 2020 at 8:37 PM Srinivas Pandruvada wrote: > > The MSR_TURBO_RATIO_LIMIT can be 0. This is not an error. User can update > this MSR via BIOS settings on some systems or can use msr tools to update. > Also some systems boot with value = 0. > > This results in display of cpufreq/cpuin

Re: [PATCH] sched/fair: ignore cache hotness for SMT migration

2020-08-04 Thread peterz
On Mon, Aug 03, 2020 at 05:06:14PM -0700, Josh Don wrote: > SMT siblings share caches, so cache hotness should be irrelevant for > cross-sibling migration. > > Proposed-by: Venkatesh Pallipadi > Signed-off-by: Josh Don > --- > kernel/sched/fair.c | 3 +++ > 1 file changed, 3 insertions(+) > >

Re: [PATCH] nvmem: core: add sanity check in nvmem_device_read()

2020-08-04 Thread Sakari Ailus
On Tue, Aug 04, 2020 at 06:44:27PM +0800, Bingbu Cao wrote: > > On 8/4/20 6:03 PM, Srinivas Kandagatla wrote: > > > > > > On 04/08/2020 10:58, Sakari Ailus wrote: > >> Hi Bingbu, > >> > >> Thank you for the patch. > >> > >> On Tue, Aug 04, 2020 at 05:13:56PM +0800, Bingbu Cao wrote: > >>> nvmem_

Re: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-04 Thread Marc Zyngier
On 2020-08-04 09:56, Jason Liu wrote: No need to do the irq_chip->irq_mask() if it already masked. BTW, unconditionally do the irq_chip->irq_mask() will also bring issues when the irq_chip in the runtime PM suspend. Accessing registers of the irq_chip will bring in the exceptions. For example on

Re: [PATCH 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-04 Thread Valentin Schneider
On 04/08/20 11:46, pet...@infradead.org wrote: > On Tue, Aug 04, 2020 at 09:03:07AM +0530, Srikar Dronamraju wrote: >> On Power9 a pair of cores can be presented by the firmware as a big-core >> for backward compatibility reasons, with 4 threads per (small) core and 8 >> threads per big-core. cpu

[PATCH v3 3/5] drm: Add get_possible_crtc API for dpi, dsi

2020-08-04 Thread Frank Wunderlich
From: Stu Hsieh For current mediatek dsi encoder, its possible crtc is fixed in crtc 0, and mediatek dpi encoder's possible crtc is fixed in crtc 1. In some SoC the possible crtc is not fixed in this case, so search pipeline information to find out the correct possible crtc. Signed-off-by: Stu H

[PATCH v3 0/5] make hdmi work on bananapi-r2

2020-08-04 Thread Frank Wunderlich
From: Frank Wunderlich This Patch-Series adds missing Patches/Bugfixes to get hdmi working on BPI-R2 v2->v3: - use own mmsys-routing for mt7623 instead of code getting different routing from dts - remove ddp routing bls -> dpi from bpir2/rfb dts - updated some commit-Messages as suggested

[PATCH v3 4/5] drm/mediatek: dpi/dsi: change the getting possible_crtc way

2020-08-04 Thread Frank Wunderlich
From: Jitao Shi For current mediatek dsi encoder, its possible crtc is fixed in crtc 0, and mediatek dpi encoder's possible crtc is fixed in crtc 1. In some SoC the possible crtc is not fixed in this case, so call mtk_drm_find_possible_crtc_by_comp() to find out the correct possible crtc. Signed

[PATCH 1/6] clk: axi-clkgen: Add support for fractional dividers

2020-08-04 Thread Alexandru Ardelean
From: Lars-Peter Clausen The axi-clkgen has (optional) fractional dividers on the output clock divider and feedback clock divider path. Utilizing the fractional dividers allows for a better resolution of the output clock, being able to synthesize more frequencies. Rework the driver support to su

[PATCH 6/6] clk: axi-clkgen: Add support for FPGA info

2020-08-04 Thread Alexandru Ardelean
From: Mircea Caprioru This patch adds support for vco maximum and minimum ranges in accordance with fpga speed grade, voltage, device package, technology and family. This new information is extracted from two new registers implemented in the ip core: ADI_REG_FPGA_INFO and ADI_REG_FPGA_VOLTAGE, wh

[PATCH 4/6] clk: axi-clkgen: Respect ZYNQMP PFD/VCO frequency limits

2020-08-04 Thread Alexandru Ardelean
From: Mathias Tausen Since axi-clkgen is now supported on ZYNQMP, make sure the max/min frequencies of the PFD and VCO are respected. Signed-off-by: Mathias Tausen Signed-off-by: Alexandru Ardelean --- drivers/clk/clk-axi-clkgen.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dri

[PATCH 5/6] include: fpga: adi-axi-common.h: add definitions for supported FPGAs

2020-08-04 Thread Alexandru Ardelean
From: Mircea Caprioru All (newer) FPGA IP cores supported by Analog Devices, store information in the synthesized designs. This information describes various parameters, including the family of boards on which this is deployed, speed-grade, and so on. Currently, some of these definitions are dep

[PATCH v3 2/5] drm/mediatek: disable tmds on mt2701

2020-08-04 Thread Frank Wunderlich
From: chunhui dai disable tmds on phy on mt2701 to support other resolutions like 1280x1024 Signed-off-by: chunhui dai Signed-off-by: Frank Wunderlich Tested-by: Frank Wunderlich --- drivers/gpu/drm/mediatek/mtk_hdmi_phy.c| 3 +++ drivers/gpu/drm/mediatek/mtk_hdmi_phy.h| 1 +

Re: [PATCH v4 05/10] sched/topology: Define and assign sched_domain flag metadata

2020-08-04 Thread Valentin Schneider
On 04/08/20 12:08, pet...@infradead.org wrote: > On Fri, Jul 31, 2020 at 12:54:57PM +0100, Valentin Schneider wrote: >> +/* >> + * Domain members share CPU capacity (i.e. SMT) >> + * >> + * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer >> share >> + * CPU capacity. >> +

[PATCH v2 3/3] ARM: at91: pm: of_node_put() after its usage

2020-08-04 Thread Claudiu Beznea
Put node after it has been used. Fixes: 13f16017d3e3f ("ARM: at91: pm: Tie the USB clock mask to the pmc") Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 51902c4c9bb4..e332c6b15

Re: [PATCH 2/4] scmi: perf: Extend protocol to support performance statistics

2020-08-04 Thread Lukasz Luba
Hi Cristian, On 7/31/20 4:15 PM, Cristian Marussi wrote: Hi On Wed, Jul 29, 2020 at 04:12:06PM +0100, Lukasz Luba wrote: The firmware is able to maintain performance statistics and share with OS via shared memory. The memory region can be interpreted by the SCMI perf protocol after receiving a

[GIT PULL] sched/fifo changes for v5.9

2020-08-04 Thread Ingo Molnar
Linus, Please pull the latest sched/fifo git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-fifo-2020-08-04 # HEAD: 4fd5750af02ab7bba7c58a073060cc1da8a69173 sched,tracing: Convert to sched_set_fifo() This tree adds the sched_set_fifo*() encapsulation APIs to

Re: [RFC PATCH 0/5] madvise MADV_DOEXEC

2020-08-04 Thread Matthew Wilcox
On Tue, Aug 04, 2020 at 08:44:42AM +, David Laight wrote: > From: James Bottomley > > Sent: 03 August 2020 16:43 > > > > On Mon, 2020-08-03 at 10:28 -0500, Eric W. Biederman wrote: > > [...] > > > What is wrong with live migration between one qemu process and > > > another qemu process on the

Re: [PATCH v4 05/10] sched/topology: Define and assign sched_domain flag metadata

2020-08-04 Thread peterz
On Fri, Jul 31, 2020 at 12:54:57PM +0100, Valentin Schneider wrote: > +/* > + * Domain members share CPU capacity (i.e. SMT) > + * > + * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer > share > + * CPU capacity. > + */ > +SD_FLAG(SD_SHARE_CPUCAPACITY, 6, SDF_SHARED_CHILD)

Re: [PATCH v8 2/8] powerpc/vdso: Remove __kernel_datapage_offset and simplify __get_datapage()

2020-08-04 Thread Christophe Leroy
On 07/16/2020 02:59 AM, Michael Ellerman wrote: Christophe Leroy writes: The VDSO datapage and the text pages are always located immediately next to each other, so it can be hardcoded without an indirection through __kernel_datapage_offset In order to ease things, move the data page in fron

Re: [PATCH] vt: defer kfree() of vc_screenbuf in vc_do_resize()

2020-08-04 Thread Tetsuo Handa
Do you think this approach is acceptable? Or, do we need to modify set_origin() ? On 2020/07/29 23:57, Tetsuo Handa wrote: > syzbot is reporting UAF bug in set_origin() from vc_do_resize() [1], for > vc_do_resize() calls kfree(vc->vc_screenbuf) before calling set_origin(). > > Unfortunately, in

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

2020-08-04 Thread Jan Kara
Hello! On Wed 27-05-20 21:05:55, nirinA raseliarison wrote: > i hit again this bug with: > > $ cat /proc/version > Linux version 5.7.0-rc7.20200525 (nir...@supernova.org) (gcc version > 10.1.0 (GCC), GNU ld version 2.33.1-slack15) #1 SMP Mon May 25 > 02:49:28 EAT 2020 Thanks for report! I see th

Re: [PATCH v8 5/8] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-08-04 Thread Christophe Leroy
On 07/15/2020 01:04 AM, Michael Ellerman wrote: Christophe Leroy writes: Prepare for switching VDSO to generic C implementation in following patch. Here, we: - Modify __get_datapage() to take an offset - Prepare the helpers to call the C VDSO functions - Prepare the required callbacks for th

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

2020-08-04 Thread Samuel Thibault
Drivers using serialio are already made available in Kconfig only under the ISA condition. This solves warnings in inb/outb macros on platform that do not have support for ISA. Signed-off-by: Samuel Thibault Index: linux-2.6/drivers/accessibility/speakup/Makefile ==

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

2020-08-04 Thread Claudiu Beznea
Not all SoCs supports all the PM mode. User may end up settings, e.g. backup mode, on a non SAMA5D2 device, but the mode to not be valid. If backup mode is used on a devices not supporting it there will be no way of resuming other than rebooting. Signed-off-by: Claudiu Beznea --- arch/arm/mach-a

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

2020-08-04 Thread Frank Wunderlich
From: Ryder Lee Add display subsystem related device nodes for MT7623. Cc: CK Hu Signed-off-by: chunhui dai Signed-off-by: Bibby Hsieh Signed-off-by: Ryder Lee Signed-off-by: Frank Wunderlich Tested-by: Frank Wunderlich --- changed v2->v3: drop bls to dpi routing --- arch/arm/boot/dts/m

[PATCH 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

[PATCH v2 1/3] ARM: at91: pm: add support for ULP0 fast wakeup

2020-08-04 Thread Claudiu Beznea
ULP0 fast improves suspend/resume time with few milliseconds the drawback being the power consumption. The mean values measured for suspend/resume time are as follows (measured on SAMA5D2 Xplained board), ULP0 compared with fast ULP0: - ulp0 fast: suspend time: 169 ms, resume time: 216 ms - ulp0

[PATCH v2 0/3] AT91 PM improvements

2020-08-04 Thread Claudiu Beznea
Hi, This series adds ULP0 fast mode intended to reduce the suspend/resume time in the detriment of power consumption (patch 1/3). Along with this patch 2/3 adds code to avoid requesting a PM mode not available on platforms not supporting it. Patch 3/3 decrements a device_node refcount after its us

[PATCH 3/6] clk: axi-clkgen: add support for ZynqMP (UltraScale)

2020-08-04 Thread Alexandru Ardelean
From: Dragos Bogdan This IP core also works and is supported on the Xilinx ZynqMP (UltraScale) FPGA boards. This patch enables the driver to be available on these platforms as well. Signed-off-by: Dragos Bogdan Signed-off-by: Alexandru Ardelean --- drivers/clk/Kconfig | 2 +- 1 file changed,

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

2020-08-04 Thread Frank Wunderlich
From: Frank Wunderlich on BPi-R2/mt7623 main-path have to be routed to DPI0 (hdmi) instead of DSI0 using compatible "mt7623-mmsys" already defined in dts Signed-off-by: Frank Wunderlich --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 25 - 1 file changed, 24 insertions(+),

[PATCH 0/6] clk: axi-clk-gen: misc updates to the driver

2020-08-04 Thread Alexandru Ardelean
These patches synchronize the driver with the current state in the Analog Devices Linux tree: https://github.com/analogdevicesinc/linux/ They have been in the tree for about 2-3, so they did receive some testing. Highlights are: * Add support for fractional dividers (Lars-Peter Clausen) * Enabl

[GIT PULL] thread changes for v5.9

2020-08-04 Thread Christian Brauner
Hi Linus, Here are the changes for v5.9: /* Summary */ This contains the changes to add the missing support for attaching to time namespaces via pidfds. Last cycle setns() was changed to support attaching to multiple namespaces atomically. This requires all namespaces to have a point of no return

Re: [PATCH 2/3] sched/doc: Document capacity aware scheduling

2020-08-04 Thread peterz
On Fri, Jul 31, 2020 at 08:20:15PM +0100, Valentin Schneider wrote: > Add some documentation detailing the concepts, requirements and > implementation of capacity aware scheduling across the different scheduler > classes. > > Signed-off-by: Valentin Schneider > --- > Documentation/scheduler/inde

[GIT PULL] fork cleanup for v5.9

2020-08-04 Thread Christian Brauner
Hi Linus, /* Summary */ This is a series announced some time back (cf. [2]) when we reworked a chunk of the process creation paths in the kernel and switched to struct {kernel_}clone_args. High-level this does two main things: 1. Remove the double export of both do_fork() and _do_fork() where do_

Re: [PATCH v1 1/2] Missing instruction_pointer_set() instances

2020-08-04 Thread peterz
On Fri, Jul 31, 2020 at 10:56:16AM +0800, Jin Yao wrote: > There is a potential security issue that perf kernel samples > may be leaked even though kernel sampling is disabled. For fixing > the potential leakage, the idea is to use instruction_pointer_set > to set invalid ip address in leaked perf

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

2020-08-04 Thread Greg KH
On Tue, Aug 04, 2020 at 01:13:32PM +0200, Samuel Thibault wrote: > Drivers using serialio are already made available in Kconfig only under > the ISA condition. > > This solves warnings in inb/outb macros on platform that do not have > support for ISA. > > Signed-off-by: Samuel Thibault > > Ind

[GIT PULL] checkpoint/restore changes for v5.9

2020-08-04 Thread Christian Brauner
Hi Linus, /* Summary */ This pull request contains the changes to enable unprivileged checkpoint/restore of processes. Given that this work has been going on for quite some time the first sentence in this summary is hopefully more exciting than the actual final code changes required. Unprivileged

[v1] drm/msm/dpu: update reservations in commit path

2020-08-04 Thread Kalyan Thota
DPU resources reserved in the atomic_check path gets unwinded during modeset operation before commit happens in a non seamless transition. Update the reservations in the commit path to avoid resource failures. Secondly have dummy reservations in atomic_check path so that we can gracefully fail the

[GIT PULL] close_range for v5.9

2020-08-04 Thread Christian Brauner
Hi Linus, Here's the pull request for close_range() for v5.9. /* Summary */ This adds the close_range() syscall. It allows to efficiently close a range of file descriptors up to all file descriptors of a calling task. This is coordinated with the FreeBSD folks which have copied our version of th

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

2020-08-04 Thread Greg KH
On Tue, Aug 04, 2020 at 01:13:32PM +0200, Samuel Thibault wrote: > Drivers using serialio are already made available in Kconfig only under > the ISA condition. > > This solves warnings in inb/outb macros on platform that do not have > support for ISA. > > Signed-off-by: Samuel Thibault > > Ind

Re: [PATCH 02/18] fsinfo: Add fsinfo() syscall to query filesystem information [ver #21]

2020-08-04 Thread David Howells
Miklos Szeredi wrote: > > __u32 Mth; > > The Mth field seems to be unused in this patchset. Since the struct is > extensible, I guess there's no point in adding it now. Yeah - I was using it to index through the server address lists for network filesystems (ie. the Mth address of

Re: arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data'

2020-08-04 Thread Jiaxun Yang
在 2020/8/4 上午7:58, Joshua Kinard 写道: On 8/3/2020 15:49, Mike Rapoport wrote: Hi, On Tue, Aug 04, 2020 at 01:39:14AM +0800, kernel test robot wrote: Hi Mike, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bcf

Re: [PATCH v2 1/1] netfilter: nat: add a range check for l3/l4 protonum

2020-08-04 Thread Pablo Neira Ayuso
Hi, This patch is much smaller and if you confirm this is address the issue, then this is awesome. On Mon, Aug 03, 2020 at 06:31:56PM +, William Mcvicker wrote: [...] > diff --git a/net/netfilter/nf_conntrack_netlink.c > b/net/netfilter/nf_conntrack_netlink.c > index 31fa94064a62..56d310f8b2

Re: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-04 Thread Sudeep Holla
On Tue, Aug 04, 2020 at 11:58:47AM +0100, Marc Zyngier wrote: > On 2020-08-04 09:56, Jason Liu wrote: > > No need to do the irq_chip->irq_mask() if it already masked. > > BTW, unconditionally do the irq_chip->irq_mask() will also bring issues > > when the irq_chip in the runtime PM suspend. Accessi

[PATCH v19 0/3] da7280: haptic driver submission

2020-08-04 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH v19 1/3] MAINTAINERS file update for DA7280 [PATCH v19 2/3] DA7280 DT Binding [PATCH v19 3/3] DA7280 Driver This patch applies against linux-next and v5.8 Thank you, Roy Im, Dialo

[PATCH v19 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2020-08-04 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: Corrected file list order. v11: No changes. v10: No c

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

2020-08-04 Thread Matthew Wilcox
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/version > > Linux version 5.7.0-rc7.20200525 (nir...@supernova.org) (gcc version > > 10.1.0 (GCC), GNU ld version 2.33.1-s

[PATCH v19 3/3] Input: new da7280 haptic driver

2020-08-04 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Reviewed-by: Jes Sorensen . Signed-off-by: Roy Im --- v19: - Corrected some errors and replaced some code to pro

Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5]

2020-08-04 Thread Ian Kent
On Mon, 2020-08-03 at 11:29 +0200, Miklos Szeredi wrote: > On Thu, Jul 23, 2020 at 12:48 PM David Howells > wrote: > > > > > __u32 topology_changes; > > > > __u32 attr_changes; > > > > __u32 aux_topology_changes; > > > > > > Being 32bit this

[PATCH v19 2/3] dt-bindings: input: Add document bindings for DA7280

2020-08-04 Thread Roy Im
Add device tree binding information for DA7280 haptic driver. Example bindings for DA7280 are added. Reviewed-by: Rob Herring . Signed-off-by: Roy Im --- v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: No changes. v11:

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

2020-08-04 Thread Alexandre Belloni
Hello, On 04/08/2020 14:07:37+0300, Claudiu Beznea wrote: > void __init at91rm9200_pm_init(void) > { > + static const int modes[] __initconst = { You don't need that to be static as it is now local to the function. > + AT91_PM_STANDBY, AT91_PM_ULP0 > + }; > + > if (!I

Re: [PATCH] ALSA: hda/hdmi: Add pins with jack detection support

2020-08-04 Thread Kai-Heng Feng
> On Aug 4, 2020, at 17:48, Takashi Iwai wrote: > > On Tue, 04 Aug 2020 11:31:59 +0200, > Kai-Heng Feng wrote: >> >> >> >>> On Aug 4, 2020, at 17:04, Takashi Iwai wrote: >>> >>> On Tue, 04 Aug 2020 09:29:25 +0200, >>> Kai-Heng Feng wrote: HDMI on some platforms doesn't enable a

Re: [PATCH] mac80211: use eth_zero_addr() to clear mac address

2020-08-04 Thread linmiaohe
> David Miller wrote: >>From: linmiaohe >>Date: Sat, 1 Aug 2020 17:12:38 +0800 >> >> From: Miaohe Lin >> >> Use eth_zero_addr() to clear mac address instead of memset(). >> >> Signed-off-by: Miaohe Lin > >If you're going to make this change, you should probably convert this macro to >use eth_

[PATCH] net: Fix potential out of bound write in skb_try_coalesce()

2020-08-04 Thread linmiaohe
From: Miaohe Lin The head_frag of skb would occupy one extra skb_frag_t. Take it into account or out of bound write to skb frags may happen. Signed-off-by: Miaohe Lin --- net/core/skbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c

[PATCH 3/3] arm64: dts: sc7180: Add assigned-performance-states for i2c

2020-08-04 Thread Rajendra Nayak
qup-i2c devices on sc7180 are clocked with a fixed clock (19.2 Mhz) Though qup-i2c does not support DVFS, it still needs to vote for a performance state on 'cx' to satisfy the 19.2 Mhz clock frequency requirement. Use 'assigned-performance-states' to pass this information from device tree, and als

[PATCH 2/3] PM / Domains: Add support for 'assigned-performance-states'

2020-08-04 Thread Rajendra Nayak
For devices which have 'assigned-performance-states' specified in DT, set the specified performance state during attach and drop it on detach. Also drop/set as part of runtime suspend/resume callbacks. Signed-off-by: Rajendra Nayak --- drivers/base/power/domain.c | 27 +++

[PATCH 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property

2020-08-04 Thread Rajendra Nayak
While most devices within power-domains which support performance states, scale the performance state dynamically, some devices might want to set a static/default performance state while the device is active. These devices typically would also run of a fixed clock and not support dyamically scaling

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

2020-08-04 Thread Sven Schnelle
Hi, Sven Schnelle writes: > 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/dat

[PATCH 0/3] Add support for assigned-performance-states

2020-08-04 Thread Rajendra Nayak
Some devics within power-domains with performance states do not support DVFS, but still need to vote on a default/static state while they are active. Add support for a new device tree property which the clients can use to specify this and add support in kernel to parse this value and vote. Rajendr

[PATCH v9 3/5] powerpc/vdso: Save and restore TOC pointer on PPC64

2020-08-04 Thread Christophe Leroy
On PPC64, the TOC pointer needs to be saved and restored. Suggested-by: Michael Ellerman Signed-off-by: Christophe Leroy --- v9: New. I'm not sure this is really needed, I can't see the VDSO C code doing anything with r2, at least on ppc64_defconfig. So I let you decide whether you take it or

[PATCH v9 1/5] powerpc/processor: Move cpu_relax() into asm/vdso/processor.h

2020-08-04 Thread Christophe Leroy
cpu_relax() need to be in asm/vdso/processor.h to be used by the C VDSO generic library. Move it there. Signed-off-by: Christophe Leroy --- v9: Forgot to remove cpu_relax() from processor.h in v8 --- arch/powerpc/include/asm/processor.h | 13 ++--- arch/powerpc/include/asm/vdso/pro

[PATCH v9 2/5] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-08-04 Thread Christophe Leroy
Prepare for switching VDSO to generic C implementation in following patch. Here, we: - Prepare the helpers to call the C VDSO functions - Prepare the required callbacks for the C VDSO functions - Prepare the clocksource.h files to define VDSO_ARCH_CLOCKMODES - Add the C trampolines to the generic C

Re: [PATCH] ALSA: hda/hdmi: Add pins with jack detection support

2020-08-04 Thread Takashi Iwai
On Tue, 04 Aug 2020 13:42:03 +0200, Kai-Heng Feng wrote: > > > > > On Aug 4, 2020, at 17:48, Takashi Iwai wrote: > > > > On Tue, 04 Aug 2020 11:31:59 +0200, > > Kai-Heng Feng wrote: > >> > >> > >> > >>> On Aug 4, 2020, at 17:04, Takashi Iwai wrote: > >>> > >>> On Tue, 04 Aug 2020 09:29:25

[PATCH v9 5/5] powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32

2020-08-04 Thread Christophe Leroy
Provides __kernel_clock_gettime64() on vdso32. This is the 64 bits version of __kernel_clock_gettime() which is y2038 compliant. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso32/gettimeofday.S | 9 + arch/powerpc/kernel/vdso32/vdso32.lds.S| 1 + arch/powerpc/kernel/vds

[PATCH v9 0/5] powerpc: switch VDSO to C implementation

2020-08-04 Thread Christophe Leroy
This is the nineth version of a series to switch powerpc VDSO to generic C implementation. Main changes since v8 are: - Dropped the patches which put the VDSO datapage in front of VDSO text in the mapping - Adds a second stack frame because the caller doesn't set one, at least on PPC64 - Saving

[PATCH] venus: fixes for list corruption

2020-08-04 Thread Vikash Garodia
From: Vikash Garodia There are few list handling issues while adding and deleting node in the registered buf list in the driver. 1. list addition - buffer added into the list during buf_init while not deleted during cleanup. 2. list deletion - In capture streamoff, the list was reinitialized. As

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