Re: [PATCH 01/20] dt-bindings: usb: usb-hcd: Convert generic USB properties to DT schema

2020-10-16 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:43 +0300, Serge Semin wrote: > The generic USB HCD properties have been described in the legacy bindings > text file: Documentation/devicetree/bindings/usb/generic.txt . Let's > convert it' content into the USB HCD DT schema properties so all USB DT > nodes would be valida

Re: [PATCH] staging: ion: remove from the tree

2020-10-16 Thread John Stultz
On Fri, Oct 16, 2020 at 1:29 AM Greg Kroah-Hartman wrote: > > On Thu, Aug 27, 2020 at 09:31:27AM -0400, Laura Abbott wrote: > > On 8/27/20 8:36 AM, Greg Kroah-Hartman wrote: > > > The ION android code has long been marked to be removed, now that we > > > dma-buf support merged into the real part o

Re: [PATCH 03/20] dt-bindings: usb: usb-hcd: Add "ulpi/serial/hsic" PHY types

2020-10-16 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:45 +0300, Serge Semin wrote: > Aside from the UTMI+ there are also ULPI, Serial and HSIC PHY types > that can be specified in the phy_type HCD property. Add them to the > enumeration of the acceptable values. > > Signed-off-by: Serge Semin > > --- > > Changelog v2: > -

Re: [PATCH 02/20] dt-bindings: usb: usb-hcd: Add "otg-rev" property restriction

2020-10-16 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:44 +0300, Serge Semin wrote: > There are only four OTG revisions are currently supported by the kernel: > 0x0100, 0x0120, 0x0130, 0x0200. Any another value is considered as > invalid. > > Signed-off-by: Serge Semin > --- > Documentation/devicetree/bindings/usb/usb-hcd.y

Re: [PATCH 5.8 00/14] 5.8.16-rc1 review

2020-10-16 Thread Naresh Kamboju
On Fri, 16 Oct 2020 at 14:41, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.16 release. > There are 14 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH 2/2] dt-bindings: mfd: ahc1ec0.yaml: Add Advantech Embedded Controll - AHC1EC0

2020-10-16 Thread Rob Herring
On Wed, Oct 14, 2020 at 04:29:41PM +0800, Shihlun Lin wrote: > Add DT binding schema for Advantech embedded controller AHC1EC0. Where's the driver? > > Signed-off-by: Shihlun Lin > --- > .../devicetree/bindings/mfd/ahc1ec0.yaml | 76 +++ > 1 file changed, 76 insertions(+)

Re: For review: seccomp_user_notif(2) manual page

2020-10-16 Thread Michael Kerrisk (man-pages)
Hello Jann, Thanks for your reply! On 10/15/20 10:32 PM, Jann Horn wrote: > On Thu, Oct 15, 2020 at 1:24 PM Michael Kerrisk (man-pages) > wrote: >> On 9/30/20 5:53 PM, Jann Horn wrote: >>> On Wed, Sep 30, 2020 at 1:07 PM Michael Kerrisk (man-pages) >>> wrote: I knew it would be a big ask,

Re: [PATCH] mailbox: avoid timer start from callback

2020-10-16 Thread Jassi Brar
On Fri, Oct 16, 2020 at 12:50 PM Sudeep Holla wrote: > > On Fri, Oct 16, 2020 at 12:30:20PM -0500, jassisinghb...@gmail.com wrote: > > From: Jassi Brar > > > > If the txdone is done by polling, it is possible for msg_submit() to start > > the timer while txdone_hrtimer() callback is running. If t

Re: [PATCH 4/5] RISC-V: Protect .init.text & .init.data

2020-10-16 Thread Atish Patra
On Tue, Oct 13, 2020 at 10:24 PM Atish Patra wrote: > > On Tue, Oct 13, 2020 at 6:21 PM Jim Wilson wrote: > > > > On Tue, Oct 13, 2020 at 3:25 PM Atish Patra wrote: > > > This happens only when copy_from_user is called from function that is > > > annotated with __init. > > > Adding Kito & Jim fo

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-16 Thread Borislav Petkov
On Thu, Oct 15, 2020 at 02:20:36PM -0700, Ankur Arora wrote: > The case I was thinking of was that clear_huge_page() That loop in clear_gigantic_page() there could be optimized not to iterate over the pages but do a NTA moves in one go, provided they're contiguous. > or faultin_page() would faul

[PATCH] sched: cpufreq_schedutil: restore cached freq when next_f is not changed

2020-10-16 Thread Wei Wang
We have the raw cached freq to reduce the chance in calling cpufreq driver where it could be costly in some arch/SoC. Currently, the raw cached freq will be reset when next_f is changed for correctness. This patch changes it to maintain the cached value instead of dropping it to honor the purpose

Re: [PATCH 1/4] power: avs: qcom-cpr: Move the driver to the qcom specific drivers

2020-10-16 Thread Bjorn Andersson
On Tue 06 Oct 11:05 CDT 2020, Ulf Hansson wrote: > The avs drivers are all SoC specific drivers that doesn't share any code. > Instead they are located in a directory, mostly to keep similar > functionality together. From a maintenance point of view, it makes better > sense to collect SoC specific

Re: [PATCH] media: staging: rkisp1: cap: refactor enable/disable stream to allow multistreaming

2020-10-16 Thread Helen Koike
Hi Tomasz. On 10/16/20 11:53 AM, Tomasz Figa wrote: > On Fri, Oct 16, 2020 at 4:28 PM Dafna Hirschfeld > wrote: >> >> Hi, >> >> Am 15.10.20 um 21:57 schrieb Helen Koike: >>> Allow streaming from self picture path and main picture path at the same >>> time. >>> >>> Take care for s_stream() callbac

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-16 Thread Vladimir Oltean
On Fri, Oct 16, 2020 at 11:03:11AM -0700, Jakub Kicinski wrote: > On Fri, 16 Oct 2020 18:56:45 +0300 Vladimir Oltean wrote: > > > 3. "Manually" unsharing in dsa_slave_xmit(), reserving enough tailroom > > > for the tail tag (and ETH_ZLEN?). Would moving the "else" clause from > > > ksz_common_xmit(

Re: [PATCH 4/6] ACPICA: Add support for using logical addresses of GPE blocks

2020-10-16 Thread Matthieu Baerts
Hi Rafael, On 16/10/2020 19:15, Rafael J. Wysocki wrote: On Friday, October 16, 2020 4:30:55 PM CEST Matthieu Baerts wrote: By chance, do you already have a fix for that? Can you please try the appended patch? Thank you for the patch, this fixes the compilation warning I got. Reported-and

Re: [PATCH] media: staging: rkisp1: cap: refactor enable/disable stream to allow multistreaming

2020-10-16 Thread Helen Koike
On 10/16/20 11:28 AM, Dafna Hirschfeld wrote: > Hi, > > Am 15.10.20 um 21:57 schrieb Helen Koike: >> Allow streaming from self picture path and main picture path at the same >> time. >> >> Take care for s_stream() callbacks to not be called twice. >> When starting a stream, s_stream(true) shoul

Re: [PATCH] docs: deprecated.rst: Expand str*cpy() replacement notes

2020-10-16 Thread Gustavo A. R. Silva
On Thu, Oct 15, 2020 at 04:17:31PM -0700, Kees Cook wrote: > The notes on replacing the deprecated str*cpy() functions didn't call > enough attention to the change in return type. Add these details and > clean up the language a bit more. > > Signed-off-by: Kees Cook Acked-by: Gustavo A. R. Silva

Re: [PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-16 Thread Andrew Lunn
On Thu, Oct 15, 2020 at 10:44:35AM +0200, Łukasz Stelmach wrote: > Do not report advertised link modes (local and remote) when > autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits > the same behaviour and this patch aims at unifying the behavior of both > functions. Does etht

[PATCH 2/2] reboot: fix parsing of reboot cpu number

2020-10-16 Thread Matteo Croce
From: Matteo Croce The kernel cmdline reboot= argument allows to specify the CPU used for rebooting, with the syntax `s` among the other flags, e.g. reboot=soft,s4 reboot=warm,s31,force In the early days the parsing was done with simple_strtoul(), later deprecated in favor of the safer

[PATCH 1/2] reboot: fix overflow parsing reboot cpu number

2020-10-16 Thread Matteo Croce
From: Matteo Croce Limit the CPU number to num_possible_cpus(), because setting it to a value lower than INT_MAX but higher than NR_CPUS produces the following error on reboot and shutdown: BUG: unable to handle page fault for address: 90ab1bb0 #PF: supervisor read access in kern

[PATCH 0/2] fix parsing of reboot= cmdline

2020-10-16 Thread Matteo Croce
From: Matteo Croce The parsing of the reboot= cmdline has two major errors: - a missing bound check can crash the system on reboot - parsing of the cpu number only works if specified last Fix both, along with a small code refactor. Matteo Croce (2): reboot: fix overflow parsing reboot cpu num

[PATCH] tools/time: access /sys/kernel/debug/udelay_test before test.

2020-10-16 Thread Hui Su
before(when i did not compile udelay_test.ko): sh@ubuntu:~/workspace/compile/tools/time$ sudo ./udelay_test.sh ./udelay_test.sh: line 25: /sys/kernel/debug/udelay_test: Permission denied ./udelay_test.sh: line 26: /sys/kernel/debug/udelay_test: No such file or directory ./udelay_test.sh: line 25:

Re: [PATCH 5/5] task_work: use TIF_NOTIFY_SIGNAL if available

2020-10-16 Thread Jens Axboe
On 10/16/20 12:03 PM, Thomas Gleixner wrote: > On Fri, Oct 16 2020 at 08:53, Jens Axboe wrote: >> On 10/16/20 8:51 AM, Oleg Nesterov wrote: >>> On 10/16, Thomas Gleixner wrote: With moving the handling into get_signal() you don't need more changes to arch/* than adding the TIF bit, r

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-16 Thread Jakub Kicinski
On Fri, 16 Oct 2020 18:56:45 +0300 Vladimir Oltean wrote: > > 3. "Manually" unsharing in dsa_slave_xmit(), reserving enough tailroom > > for the tail tag (and ETH_ZLEN?). Would moving the "else" clause from > > ksz_common_xmit() to dsa_slave_xmit() do the job correctly? > > I was thinking about

Re: [PATCH 5/5] task_work: use TIF_NOTIFY_SIGNAL if available

2020-10-16 Thread Thomas Gleixner
On Fri, Oct 16 2020 at 08:53, Jens Axboe wrote: > On 10/16/20 8:51 AM, Oleg Nesterov wrote: >> On 10/16, Thomas Gleixner wrote: >>> >>> With moving the handling into get_signal() you don't need more changes >>> to arch/* than adding the TIF bit, right? >> >> we still need to do something like >>

Re: [PATCH v2 2/4] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-10-16 Thread Andrew Lunn
> >> +static void > >> +ax88796c_get_regs(struct net_device *ndev, struct ethtool_regs *regs, > >> void *_p) > >> +{ > >> + struct ax88796c_device *ax_local = to_ax88796c_device(ndev); > >> + u16 *p = _p; > >> + int offset, i; > >> + > >> + memset(p, 0, AX88796C_REGDUMP_LEN); > >> + > >> + fo

[PATCH] arm64: link with -z norelro regardless of CONFIG_RELOCATABLE

2020-10-16 Thread Nick Desaulniers
With CONFIG_EXPERT=y, CONFIG_KASAN=y, CONFIG_RANDOMIZE_BASE=n, CONFIG_RELOCATABLE=n, we observe the following failure when trying to link the kernel image with LD=ld.lld: error: section: .exit.data is not contiguous with other relro sections ld.lld defaults to -z relro while ld.bfd defaults to -z

Re: [PATCH] mailbox: avoid timer start from callback

2020-10-16 Thread Sudeep Holla
On Fri, Oct 16, 2020 at 12:30:20PM -0500, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > If the txdone is done by polling, it is possible for msg_submit() to start > the timer while txdone_hrtimer() callback is running. If the timer needs > recheduling, it could already be enqueued by the

Re: [PATCH] sched: cpufreq_schedutil: maintain raw cache when next_f is not changed

2020-10-16 Thread Wei Wang
On Fri, Oct 16, 2020 at 10:36 AM Rafael J. Wysocki wrote: > > On Fri, Oct 16, 2020 at 7:18 PM Wei Wang wrote: > > > > On Fri, Oct 16, 2020 at 10:01 AM Rafael J. Wysocki > > wrote: > > > > > > On Fri, Oct 16, 2020 at 6:36 PM Wei Wang wrote: > > > > > > > > Currently, raw cache will be reset whe

[PATCH v2] sound: sparc: dbri: fix repeated word 'the'

2020-10-16 Thread Randy Dunlap
2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20201016.orig/sound/sparc/dbri.c +++ linux-next-20201016/sound/sparc/dbri.c @@ -620,7 +620,7 @@ A circular command buffer is used here. while another can be executed. The scheme works by adding two WAIT commands after each sent b

[PATCH] ASoC: qcom: MSM8996 depends on COMMON_CLK

2020-10-16 Thread Randy Dunlap
: apq8096: Add db820c machine driver") Signed-off-by: Randy Dunlap Cc: Srinivas Kandagatla Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.org --- Found in linux-next but applies to mainline. sound/soc/qcom/Kconfig |1 + 1 file changed, 1 insertion(+)

[PATCH v2 7/7] MAINTAINERS: Add dts for Cirrus Logic Lochnagar on RPi4

2020-10-16 Thread Richard Fitzgerald
Update the Cirrus Logic driver maintainers to include the device tree files for using the Lochnagar with a Raspberry Pi 4. Signed-off-by: Richard Fitzgerald --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0f59b0412953..d0065cba9535 100644 --- a

[PATCH v2 3/7] ASoC: audio-graph-card: Support setting component plls and sysclks

2020-10-16 Thread Richard Fitzgerald
Some codecs need plls and/or sysclks to be configured using the snd_soc_component_set_[sysclk|pll] functions. These drivers cannot necessarily be converted to use the clock framework. If the codec is on a I2C/SPI bus, a nested clk_get would be needed to enable the bus clock. But the clock framework

[PATCH v2 5/7] ASoC: madera: Allow codecs to be selected from kernel config

2020-10-16 Thread Richard Fitzgerald
The codec Kconfig options were hidden and intended to be selected by the machine driver that requires them. But that means having either a dedicated machine driver or building all codecs. This patch makes the Kconfig options visible so that they can be selected independently of the machine driver,

Re: [PATCH] sched: cpufreq_schedutil: maintain raw cache when next_f is not changed

2020-10-16 Thread Rafael J. Wysocki
On Fri, Oct 16, 2020 at 7:18 PM Wei Wang wrote: > > On Fri, Oct 16, 2020 at 10:01 AM Rafael J. Wysocki wrote: > > > > On Fri, Oct 16, 2020 at 6:36 PM Wei Wang wrote: > > > > > > Currently, raw cache will be reset when next_f is changed after > > > get_next_freq for correctness. However, it may i

[PATCH v2 6/7] ARM: dts: Add dts for RPi4b + Cirrus Logic Lochnagar2 + CS47L15

2020-10-16 Thread Richard Fitzgerald
This adds a devicetree configuration for Raspberry Pi 4b connected to Cirrus Logic Lochnagar 2 audio development board and CS47L15 codec. The common (codec-independent) Lochnagar 2 configuration is separated into a dtsi to simplify re-using it for other codecs. Signed-off-by: Richard Fitzgerald

Re: [PATCH v9 10/15] PCI/ERR: Limit AER resets in pcie_do_recovery()

2020-10-16 Thread Sean V Kelley
On 16 Oct 2020, at 10:22, Bjorn Helgaas wrote: On Thu, Oct 15, 2020 at 05:11:08PM -0700, Sean V Kelley wrote: From: Sean V Kelley In some cases a bridge may not exist as the hardware controlling may be handled only by firmware and so is not visible to the OS. This scenario is also possible

[PATCH v2 0/7] Add support for Rpi4b + Cirrus Lochnagar2 and CS47L15

2020-10-16 Thread Richard Fitzgerald
This set of patches provides support for using the Raspberry Pi 4b with a Cirrus Logic Lochnagar 2 audio development platform plus Cirrus Logic CS47L15 codec. Patches are needed to audio-graph-card to enable support for setting the component sysclks and plls. The codec sysclks and plls cannot be p

[PATCH v2 2/7] ASoC: audio-graph-card: Add plls and sysclks DT bindings

2020-10-16 Thread Richard Fitzgerald
This adds the two new properties 'plls' and 'sysclks' to the dt bindings. These add the ability to set values that will be passed to snd_soc_component_set_sysclk() and snd_soc_component_set_pll(). Signed-off-by: Richard Fitzgerald --- .../bindings/sound/audio-graph-card.txt | 44 ++

[PATCH v2 1/7] of: base: Add of_count_phandle_with_fixed_args()

2020-10-16 Thread Richard Fitzgerald
Add an equivalent of of_count_phandle_with_args() for fixed argument sets, to pair with of_parse_phandle_with_fixed_args(). The existing of_count_phandle_with_args() is modified to be a private function that handles both cases and the public functions are trivial wrappers round that. Signed-off-b

[PATCH v2 4/7] ASoC: arizona: Allow codecs to be selected from kernel config

2020-10-16 Thread Richard Fitzgerald
The codec Kconfig options were hidden and intended to be selected by the machine driver that requires them. But that means having either a dedicated machine driver or building all codecs. This patch makes the Kconfig options visible so that they can be selected independently of the machine driver,

Re: [PATCH] mailbox: cancel timer before starting it

2020-10-16 Thread Jassi Brar
On Fri, Oct 16, 2020 at 4:00 AM Jerome Brunet wrote: > > > On Fri 16 Oct 2020 at 10:52, Ionela Voinescu wrote: > > > On Thursday 15 Oct 2020 at 13:45:54 (-0500), Jassi Brar wrote: > > [..] > >> > >> --- a/drivers/mailbox/mailbox.c > >> > >> +++ b/drivers/mailbox/mailbox.c > >> > >> @@ -82,9 +82,1

Re: [PATCH net] net: dsa: point out the tail taggers

2020-10-16 Thread Vladimir Oltean
On Sat, Oct 17, 2020 at 01:25:08AM +0800, kernel test robot wrote: > Hi Christian, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on net/master] > > url: > https://github.com/0day-ci/linux/commits/Christian-Eggers/net-dsa-point-out-the-tail-taggers/20201017-00

Re: [PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line

2020-10-16 Thread Borislav Petkov
On Fri, Oct 16, 2020 at 01:20:58PM -0400, Arvind Sankar wrote: > This patch depends on 1 to initialize boot_params before > initialize_identity_maps() is called. You want me to rework it to avoid > that? Yes please. If it doesn't become too ugly, that is. If it does, then we'll have to think of so

[PATCH] mailbox: avoid timer start from callback

2020-10-16 Thread jassisinghbrar
From: Jassi Brar If the txdone is done by polling, it is possible for msg_submit() to start the timer while txdone_hrtimer() callback is running. If the timer needs recheduling, it could already be enqueued by the time hrtimer_forward_now() is called, leading hrtimer to loudly complain. WARNING:

Re: [RFC PATCH] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-16 Thread Michal Koutný
On Fri, Oct 16, 2020 at 04:05:21PM +0100, Richard Palethorpe wrote: > I'm don't know if that could happen without reparenting. I suppose if > use_hierarchy=1 then actually this patch will result in root being > overcharged, so perhaps it should also check for use_hierarchy? Right, you'd need to d

Re: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-16 Thread Torsten Duwe
On Fri, Oct 02, 2020 at 03:56:28PM +0200, Stephan Mueller wrote: > Am Freitag, 2. Oktober 2020, 15:15:55 CEST schrieb Willy Tarreau: > > Hi Willy, > > > > And this is all ??? > > > > Possibly a lot of people got used to seeing the numerous versions > > and are less attentive to new series, it's

Re: [PATCH 2/3] dt-bindings: net: bluetooth: Add broadcom BCM4389 support

2020-10-16 Thread Rob Herring
On Wed, 14 Oct 2020 11:15:43 +0530, Amitesh Chandra wrote: > From: Amitesh Chandra > > Add bindings for BCM4389 bluetooth controller. > > Signed-off-by: Amitesh Chandra > --- > Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Ro

Re: [PATCH net] net: dsa: point out the tail taggers

2020-10-16 Thread kernel test robot
Hi Christian, Thank you for the patch! Yet something to improve: [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Christian-Eggers/net-dsa-point-out-the-tail-taggers/20201017-003007 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 2ecb

Re: [PATCH v2 2/3] dt-bindings: clock: Add YAML schemas for the QCOM Camera clock bindings.

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 22:41:49 +0530, Taniya Das wrote: > The Camera Subsystem clock provider have a bunch of generic properties > that are needed in a device tree. Add a YAML schemas for those. > > Add clock ids for camera clocks which are required to bring the camera > subsystem out of reset. > >

Re: [PATCH net] net: dsa: tag_ksz: KSZ8795 and KSZ9477 also use tail tags

2020-10-16 Thread Vladimir Oltean
On Fri, Oct 16, 2020 at 07:16:03PM +0200, Christian Eggers wrote: > I added it manually because the commit ID is not from Linus' tree. Is there > any > value using Fixes tags with id's from other trees? Yes, that's what "git merge" does, it keeps sha1sums. You should check out "git log --oneline

Re: [PATCH v3 1/3] dt-bindings: rtc: add trickle-voltage-millivolt

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 16:41:08 +0200, Alexandre Belloni wrote: > Some RTCs have a trickle charge that is able to output different voltages > depending on the type of the connected auxiliary power (battery, supercap, > ...). Add a property allowing to specify the necessary voltage. > > Signed-off-by:

Re: [PATCH v3 2/3] dt-bindings: rtc: rv3032: add RV-3032 bindings

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 16:41:09 +0200, Alexandre Belloni wrote: > Document the Microcrystal RV-3032 device tree bindings > > Signed-off-by: Alexandre Belloni > --- > changes in v3: > - remove rtc.yaml change > > > .../bindings/rtc/microcrystal,rv3032.yaml | 64 +++ > 1 file c

[PATCH v4 3/4] can: dev: __can_get_echo_skb(): fix the return length

2020-10-16 Thread Vincent Mailhol
The length of Remote Transmission Request (RTR) frames is always 0 bytes. The DLC represents the requested length, not the actual length of the RTR. But __can_get_echo_skb() returns the DLC value regardless. Apply get_can_len() function to retrieve the correct length. Signed-off-by: Vincent Mailh

Re: [PATCH v2] dt-bindings: clock: adi,axi-clkgen: convert old binding to yaml format

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 17:34:20 +0300, Alexandru Ardelean wrote: > This change converts the old binding for the AXI clkgen driver to a yaml > format. > > As maintainers, added: > - Lars-Peter Clausen - as original author of driver & >binding > - Michael Hennerich - as supporter of >Analog

Re: [PATCH v9 10/15] PCI/ERR: Limit AER resets in pcie_do_recovery()

2020-10-16 Thread Bjorn Helgaas
On Thu, Oct 15, 2020 at 05:11:08PM -0700, Sean V Kelley wrote: > From: Sean V Kelley > > In some cases a bridge may not exist as the hardware controlling may be > handled only by firmware and so is not visible to the OS. This scenario is > also possible in future use cases involving non-native us

[PATCH v4 2/4] can: dev: add a helper function to get the correct length of Classical frames

2020-10-16 Thread Vincent Mailhol
In classical CAN, the length of the data (i.e. CAN payload) is not always equal to the DLC! If the frame is a Remote Transmission Request (RTR), data length is always zero regardless of DLC value and else, if the DLC is greater than 8, the length is 8. Contrary to common belief, ISO 11898-1 Chapter

Re: [PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line

2020-10-16 Thread Arvind Sankar
On Fri, Oct 16, 2020 at 07:07:42PM +0200, Borislav Petkov wrote: > On Fri, Oct 16, 2020 at 12:47:55PM -0400, Arvind Sankar wrote: > > Just for clarity, by cleanups you mean patches 2 and 3? i.e. you want to > > see 1, 4, 2, 3? > > It is important for: > > [PATCH v2 4/5] x86/boot/64: Explicitly ma

Re: [PATCH v9 09/15] PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()

2020-10-16 Thread Bjorn Helgaas
On Thu, Oct 15, 2020 at 05:11:07PM -0700, Sean V Kelley wrote: > From: Sean V Kelley > > Consolidate subordinate bus checks with pci_walk_bus() into > pci_walk_bridge() for walking below potentially AER affected bridges. > > [bhelgaas: fix kerneldoc] > Suggested-by: Bjorn Helgaas > Link: > htt

[PATCH 1/2] dt-bindings: nvmem: mtk-efuse: add documentation for MT8516 SoC

2020-10-16 Thread Fabien Parent
Add binding documentation for MT8516 SoCs. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt ind

Re: [RESEND PATCH] soc: qcom: smp2p: Safely acquire spinlock without IRQs

2020-10-16 Thread Bjorn Andersson
On Tue 29 Sep 15:30 CDT 2020, Evan Green wrote: > smp2p_update_bits() should disable interrupts when it acquires its > spinlock. This is important because without the _irqsave, a priority > inversion can occur. > > This function is called both with interrupts enabled in > qcom_q6v5_request_stop()

[PATCH 2/2] arm64: dts: mediatek: mt8516: add efuse node

2020-10-16 Thread Fabien Parent
Add node to support e-fuses on MT8516 Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index 89af661e7f63..18ddea519be2 100644

Re: [PATCH v4 2/2] ASoC: dt-bindings: fsl_xcvr: Add document for XCVR

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 15:17:33 +0300, Viorel Suman (OSS) wrote: > From: Viorel Suman > > XCVR (Audio Transceiver) is a new IP module found on i.MX8MP. > > Signed-off-by: Viorel Suman > --- > .../devicetree/bindings/sound/fsl,xcvr.yaml | 104 ++ > 1 file changed, 104 insertions(

Re: [PATCH] sched: cpufreq_schedutil: maintain raw cache when next_f is not changed

2020-10-16 Thread Wei Wang
On Fri, Oct 16, 2020 at 10:01 AM Rafael J. Wysocki wrote: > > On Fri, Oct 16, 2020 at 6:36 PM Wei Wang wrote: > > > > Currently, raw cache will be reset when next_f is changed after > > get_next_freq for correctness. However, it may introduce more > > cycles. This patch changes it to maintain the

Re: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on

2020-10-16 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:9ff9b0d3 Merge tag 'net-next-5.10' of git://git.kernel.org.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1663860790 kernel config: https://syzkaller.appspot.com/x/.config?x=d13c3fa

[PATCH v4 1/4] can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context

2020-10-16 Thread Vincent Mailhol
If a driver calls can_get_echo_skb() during a hardware IRQ (which is often, but not always, the case), the 'WARN_ON(in_irq)' in net/core/skbuff.c#skb_release_head_state() might be triggered, under network congestion circumstances, together with the potential risk of a NULL pointer dereference. The

[PATCH net] net: dsa: tag_ksz: KSZ8795 and KSZ9477 also use tail tags

2020-10-16 Thread Christian Eggers
The Marvell 88E6060 uses tag_trailer.c and the KSZ8795, KSZ9477 and KSZ9893 switches also use tail tags. Fixes: 7a6ffe764be3 ("net: dsa: point out the tail taggers") Signed-off-by: Christian Eggers Reviewed-by: Florian Fainelli --- On Friday, 16 October 2020, 18:56:51 CEST, Vladimir Oltean wrote

Re: [PATCH 3/3] iio: adc: aspeed: Setting ref_voltage in probe

2020-10-16 Thread Rob Herring
On Tue, Oct 13, 2020 at 06:32:45PM +0800, Billy Tsai wrote: > At ast2600 ref_voltage becomes configurable and this property is board > dependency. > > Signed-off-by: Billy Tsai > --- > .../devicetree/bindings/iio/adc/aspeed_adc.txt | 16 +++- > 1 file changed, 15 insertions(+), 1 d

Re: [PATCH 4/6] ACPICA: Add support for using logical addresses of GPE blocks

2020-10-16 Thread Rafael J. Wysocki
On Friday, October 16, 2020 4:30:55 PM CEST Matthieu Baerts wrote: > Hi Rafael, Hi, > On 04/09/2020 19:24, Rafael J. Wysocki wrote: > > From: "Rafael J. Wysocki" > > > > The logical address of every GPE block in system memory must be > > known before passing it to acpi_ev_initialize_gpe_block()

Re: [PATCH v2 6/8] dt-bindings: usb: convert mediatek,mtk-xhci.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, Oct 13, 2020 at 04:52:05PM +0800, Chunfeng Yun wrote: > Convert mediatek,mtk-xhci.txt to YAML schema mediatek,mtk-xhci.yaml > There's some refactoring of usb-hcd.yaml and XHCI schema under review and this may need some refactoring on top of it. > Signed-off-by: Chunfeng Yun > --- > v2:

Re: [RFC PATCH] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-16 Thread Michal Koutný
On Fri, Oct 16, 2020 at 10:53:08AM -0400, Johannes Weiner wrote: > The central try_charge() function charges recursively all the way up > to and including the root. Except for use_hiearchy=0 (which is the case here as Richard wrote). The reparenting is hence somewhat incompatible with new_parent.

[PATCH v4 0/4] can: add support for ETAS ES58X CAN USB

2020-10-16 Thread Vincent Mailhol
The purpose of this patch series is to introduce a new CAN USB driver to support ETAS USB interfaces (ES58X series). During development, issues in drivers/net/can/dev.c were discovered, the fix for those issues are included in this patch series. We also propose to add one helper functions in incl

Re: [PATCH v2 5/8] dt-bindings: usb: convert mediatek, musb.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 16:52:04 +0800, Chunfeng Yun wrote: > Convert mediatek,musb.txt to YAML schema mediatek,musb.yaml > > Cc: Min Guo > Signed-off-by: Chunfeng Yun > --- > v2: new patch > --- > .../devicetree/bindings/usb/mediatek,musb.txt | 57 - > .../bindings/usb/mediatek,musb.yaml

Re: [PATCH v39 12/24] x86/sgx: Add SGX_IOC_ENCLAVE_CREATE

2020-10-16 Thread Dave Hansen
> +static u32 sgx_calc_ssa_frame_size(u32 miscselect, u64 xfrm) > +{ > + u32 size_max = PAGE_SIZE; > + u32 size; > + int i; > + > + for (i = 2; i < 64; i++) { Should this be: for (i = XFEATURE_YMM; i < XFEATURE_MAX; i++) { Basically, does this need to be 64, or should it

Re: [PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line

2020-10-16 Thread Borislav Petkov
On Fri, Oct 16, 2020 at 12:47:55PM -0400, Arvind Sankar wrote: > Just for clarity, by cleanups you mean patches 2 and 3? i.e. you want to > see 1, 4, 2, 3? It is important for: [PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line to come first so that it goes in now. The rest

Re: [PATCH v2 4/8] dt-bindings: phy: convert HDMI PHY binding to YAML schema

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 16:52:03 +0800, Chunfeng Yun wrote: > Convert HDMI PHY binding to YAML schema mediatek,ufs-phy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: fix binding check warning of reg in example > --- > .../display/mediatek/mediatek,hdmi.txt| 17 +--- > .../bindings/phy/medi

Re: [PATCH v2 3/8] dt-bindings: phy: convert phy-mtk-ufs.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, 13 Oct 2020 16:52:02 +0800, Chunfeng Yun wrote: > Convert phy-mtk-ufs.txt to YAML schema mediatek,ufs-phy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: fix binding check warning of reg in example > --- > .../bindings/phy/mediatek,ufs-phy.yaml| 64 +++ > .../dev

Re: [PATCH v2 2/8] dt-bindings: phy: convert phy-mtk-tphy.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, Oct 13, 2020 at 04:52:01PM +0800, Chunfeng Yun wrote: > Convert phy-mtk-tphy.txt to YAML schema mediatek,tphy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: modify description and compatible > --- > .../bindings/phy/mediatek,tphy.yaml | 263 ++ > .../devicetre

Re: [PATCH v2 2/8] dt-bindings: phy: convert phy-mtk-tphy.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, Oct 13, 2020 at 04:52:01PM +0800, Chunfeng Yun wrote: > Convert phy-mtk-tphy.txt to YAML schema mediatek,tphy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: modify description and compatible > --- > .../bindings/phy/mediatek,tphy.yaml | 263 ++ > .../devicetre

Re: [PATCH] RDMA/rxe: Fix possible NULL pointer dereference

2020-10-16 Thread Jason Gunthorpe
On Mon, Oct 12, 2020 at 05:52:30PM +0100, Alex Dewar wrote: > skb_clone() is called without checking if the returned pointer is NULL > before it is dereferenced. Fix by adding an additional error check. > > Fixes: e7ec96fc7932 ("RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()") > Addresses-Cover

Re: [RFC PATCH] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-16 Thread Roman Gushchin
On Fri, Oct 16, 2020 at 10:53:08AM -0400, Johannes Weiner wrote: > On Fri, Oct 16, 2020 at 11:47:02AM +0200, Michal Koutný wrote: > > Hello. > > > > On Wed, Oct 14, 2020 at 08:07:49PM +0100, Richard Palethorpe > > wrote: > > > SLAB objects which outlive their memcg are moved to their parent > >

Re: [PATCH v2] kcov, usbip: collect coverage from vhci_rx_loop

2020-10-16 Thread Shuah Khan
On 10/16/20 8:18 AM, Andrey Konovalov wrote: On Tue, Oct 13, 2020 at 7:28 PM Shuah Khan wrote: On 10/12/20 11:10 AM, Andrey Konovalov wrote: From: Nazime Hande Harputluoglu Add kcov_remote_start()/kcov_remote_stop() annotations to the vhci_rx_loop() function, which is responsible for parsin

Re: [PATCH] sched: cpufreq_schedutil: maintain raw cache when next_f is not changed

2020-10-16 Thread Rafael J. Wysocki
On Fri, Oct 16, 2020 at 6:36 PM Wei Wang wrote: > > Currently, raw cache will be reset when next_f is changed after > get_next_freq for correctness. However, it may introduce more > cycles. This patch changes it to maintain the cached value instead of > dropping it. IMV you need to be more specif

Re: [PATCH v2 1/8] dt-bindings: phy: convert phy-mtk-xsphy.txt to YAML schema

2020-10-16 Thread Rob Herring
On Tue, Oct 13, 2020 at 04:52:00PM +0800, Chunfeng Yun wrote: > Convert phy-mtk-xsphy.txt to YAML schema mediatek,xsphy.yaml > > Signed-off-by: Chunfeng Yun > --- > v2: modify description and compatible definition suggested by Rob > --- > .../bindings/phy/mediatek,xsphy.yaml | 200 +

Re: [PATCH] mm/slub: make add_full() condition more explicit

2020-10-16 Thread Vlastimil Babka
On 8/11/20 4:02 AM, wuyun...@huawei.com wrote: From: Abel Wu The commit below is incomplete, as it didn't handle the add_full() part. commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before remove_full()") This patch checks for SLAB_STORE_USER instead of kmem_cache_debug(), since

Re: [PATCH v2 23/24] RDMA: add a missing kernel-doc parameter markup

2020-10-16 Thread Jason Gunthorpe
On Tue, Oct 13, 2020 at 02:14:50PM +0200, Mauro Carvalho Chehab wrote: > Changeset 54816d3e69d1 ("RDMA: Explicitly pass in the dma_device to > ib_register_device") > added a new parameter to ib_register_device(). > > Document it. > > Fixes: 54816d3e69d1 ("RDMA: Explicitly pass in the dma_device

[PATCH v2 0/1] Add macro definition for the upcoming new OST driver.

2020-10-16 Thread Zhou Yanjie
Add new macro definition to "ingenic,sysost.h", exchange the original ABI values of OST_CLK_PERCPU_TIMER and OST_CLK_GLOBAL_TIMER, prepare for the upcoming new OST driver. I'm sure that exchanging the ABI values of OST_CLK_PERCPU_TIMER and OST_CLK_GLOBAL_TIMER will not affect the existing related

[PATCH v2 1/1] dt-bindings: timer: Add new OST support for the upcoming new driver.

2020-10-16 Thread Zhou Yanjie
The new OST has one global timer and two or four percpu timers, so there will be three combinations in the upcoming new OST driver: the original GLOBAL_TIMER + PERCPU_TIMER, the new GLOBAL_TIMER + PERCPU_TIMER0/1 and GLOBAL_TIMER + PERCPU_TIMER0/1/2/3, For this, add the macro definition about OST_C

Re: [PATCH 3/5] gpio: msc313: MStar MSC313 GPIO driver

2020-10-16 Thread Linus Walleij
Hi Daniel, thanks for your patch! Some comments below, we need some work but keep at it. On Sun, Oct 11, 2020 at 4:48 AM Daniel Palmer wrote: > This adds a driver that supports the GPIO block found in > MStar/SigmaStar ARMv7 SoCs. > > The controller seems to support 128 lines but where they >

Re: [PATCH net] net: dsa: point out the tail taggers

2020-10-16 Thread Vladimir Oltean
Hi Christian, On Fri, Oct 16, 2020 at 06:28:00PM +0200, Christian Eggers wrote: > From a recent commit with the same summary: > > "The Marvell 88E6060 uses tag_trailer.c and the KSZ8795, KSZ9477 and > KSZ9893 switches also use tail tags." > > Set "tail_tag" to true for KSZ8795 and KSZ9477 which

Re: [PATCH v2 3/4] regulator: add SCMI driver

2020-10-16 Thread Cristian Marussi
On Fri, Oct 16, 2020 at 04:09:42PM +0200, Etienne Carriere wrote: > Hi Cristian, > > Some minor comments... > > Etienne > > > On Thu, 15 Oct 2020 at 17:40, Cristian Marussi > wrote: > > > > Add a simple regulator based on SCMI Voltage Domain Protocol. > > > > Signed-off-by: Cristian Marussi

Re: [PATCH v2 1/4] firmware: arm_scmi: Add Voltage Domain Support

2020-10-16 Thread Cristian Marussi
On Fri, Oct 16, 2020 at 03:36:51PM +0200, Etienne Carriere wrote: > Hello Cristian, > > Thanks for the update. > Some minor comments below. > FYI I successfully tested this series. > Hi Etienne thanks for the review and for testing ! > Regards, > Etienne > > On Thu, 15 Oct 2020 at 17:40, Cris

Re: [RFC PATCH] net: bridge: call br_multicast_del_port before the port leaves

2020-10-16 Thread Vladimir Oltean
On Fri, Oct 16, 2020 at 01:43:06PM +, Nikolay Aleksandrov wrote: > It can potentially use after free, multicast resources (per-cpu stats) are > freed > in br_multicast_del_port() and can be used due to a race with port state > sync on other CPUs since the handler can still process packets. Tha

Re: [PATCH v2 00/20] Introduce the TDP MMU

2020-10-16 Thread Paolo Bonzini
On 14/10/20 20:26, Ben Gardon wrote: > arch/x86/include/asm/kvm_host.h | 14 + > arch/x86/kvm/Makefile |3 +- > arch/x86/kvm/mmu/mmu.c | 487 +++-- > arch/x86/kvm/mmu/mmu_internal.h | 242 +++ > arch/x86/kvm/mmu/paging_tmpl.h |3 +- > arch/x86/kvm/mmu/td

Re: [RESEND PATCH] soc: qcom: smp2p: Safely acquire spinlock without IRQs

2020-10-16 Thread Stephen Boyd
Quoting Evan Green (2020-09-29 13:30:57) > smp2p_update_bits() should disable interrupts when it acquires its > spinlock. This is important because without the _irqsave, a priority > inversion can occur. > > This function is called both with interrupts enabled in > qcom_q6v5_request_stop(), and wi

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-16 Thread Florian Fainelli
On 10/16/20 4:01 AM, Arnd Bergmann wrote: > On Fri, Oct 16, 2020 at 11:09 AM Zhen Lei wrote: >> >> The scripts/dtc/checks.c requires that the node have empty "dma-ranges" >> property must have the same "#address-cells" and "#size-cells" values as >> the parent node. Otherwise, the following warnin

Re: [PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line

2020-10-16 Thread Arvind Sankar
On Fri, Oct 16, 2020 at 06:27:59PM +0200, Borislav Petkov wrote: > On Thu, Oct 08, 2020 at 03:16:22PM -0400, Arvind Sankar wrote: > > Signed-off-by: Arvind Sankar > > --- > > arch/x86/boot/compressed/ident_map_64.c | 16 ++-- > > 1 file changed, 14 insertions(+), 2 deletions(-) > > O

Re: [PATCH net] net: dsa: point out the tail taggers

2020-10-16 Thread Florian Fainelli
On 10/16/20 9:28 AM, Christian Eggers wrote: > From a recent commit with the same summary: > > "The Marvell 88E6060 uses tag_trailer.c and the KSZ8795, KSZ9477 and > KSZ9893 switches also use tail tags." > > Set "tail_tag" to true for KSZ8795 and KSZ9477 which were missing in the > original comm

Re: [PATCH 5.9 00/15] 5.9.1-rc1 review

2020-10-16 Thread Jon Hunter
On 16/10/2020 10:08, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.9.1 release. > There are 15 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses shou

Re: [PATCH] reboot: fix parsing of reboot cpu number

2020-10-16 Thread Matteo Croce
On Fri, Oct 16, 2020 at 2:20 PM Petr Mladek wrote: > > On Wed 2020-10-14 23:27:46, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= argument allows to specify the CPU used > > for rebooting, with the syntax `s` among the other flags, e.g. > > > > reboot=soft,s4

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