Re: [PATCH 075/141] crypto: ccree - Fix fall-through warnings for Clang

2020-11-21 Thread Gilad Ben-Yossef
On Fri, Nov 20, 2020 at 8:34 PM Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple > warnings by explicitly adding multiple break statements instead of > letting the code fall through to the next case. > > Link: https://github.com/KSPP/linux/issu

[PATCH v3] crypto: ccree - rework cache parameters handling

2020-11-21 Thread Gilad Ben-Yossef
Rework the setting of DMA cache parameters, program more appropriate values and explicitly set sharability domain. Signed-off-by: Gilad Ben-Yossef --- Changes from previous versions: - After discussion with Rob H., drop notion of setting the parameters from device tree and just use good defaul

[RFC PATCH v3 2/2] ACPI: Advertise Interrupt ResourceSource support

2020-11-21 Thread Chen Baozi
As mentioned in ACPI v6.3, Table 6-200, the platform will indicate to the OS whether or not it supports usage of ResourceSource. If not set, the OS may choose to ignore the ResourceSource parameter in the extended interrupt descriptor. Since we support parsing ResoureSource field of interrupts both

[RFC PATCH v3 1/2] PCI/ACPI: Add stacked IRQ domain support to PCI Interrupt Link

2020-11-21 Thread Chen Baozi
The ResourceSource field of an Extended Interrupt Descriptor was ignored when the driver is parsing _PRS method of PNP0C0F PCI Interrupt Link devices, which means PCI INTx would be always registered under the GSI domain. This patch introduces stacked IRQ domain support to PCI Interrupt Link devices

Re: [External] Re: [PATCH v5 00/21] Free some vmemmap pages of hugetlb page

2020-11-21 Thread Muchun Song
On Sat, Nov 21, 2020 at 1:47 AM Mike Kravetz wrote: > > On 11/20/20 1:43 AM, David Hildenbrand wrote: > > On 20.11.20 10:39, Michal Hocko wrote: > >> On Fri 20-11-20 10:27:05, David Hildenbrand wrote: > >>> On 20.11.20 09:42, Michal Hocko wrote: > On Fri 20-11-20 14:43:04, Muchun Song wrote:

Notice-004

2020-11-21 Thread Trustees
Once again we are trying to reach you as regards the estate of Late George Brumley, you were made one of the beneficiaries of his estate. Do get back to me at your earliest convenience. The Trustees

[PATCH] arm64: update RANDOMIZE_MODULE_REGION_FULL config description

2020-11-21 Thread youngjun
module randomization is reduced. (range to 2 GB) RANDOMIZE_MODULE_REGION_FULL config description is not updated. update RANDOMIZE_MODULE_REGION_FULL config description. Signed-off-by: youngjun --- arch/arm64/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-11-21 Thread Jürgen Groß
On 20.11.20 12:59, Peter Zijlstra wrote: On Fri, Nov 20, 2020 at 12:46:23PM +0100, Juergen Gross wrote: +static __always_inline void arch_local_irq_restore(unsigned long flags) +{ + if (!arch_irqs_disabled_flags(flags)) + arch_local_irq_enable(); +} If someone were to write

Re: [PATCH 4.9 00/16] 4.9.245-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:34, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.245 release. > There are 16 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. > > Res

Re: [PATCH 4.9 00/16] 4.9.245-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:34, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.245 release. > There are 16 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. > > Res

Re: [PATCH kernel v3] genirq/irqdomain: Add reference counting to IRQs

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

[PATCH] platform/x86: toshiba_acpi: Fix the wrong variable assignment

2020-11-21 Thread xiakaixu1987
From: Kaixu Xia The commit 78429e55e4057 ("platform/x86: toshiba_acpi: Clean up variable declaration") cleans up variable declaration in video_proc_write(). Seems it does the variable assignment in the wrong place, this results in dead code and changes the source code logic. Fix it by doing the a

[PATCH v3 1/4] remoteproc: sysmon: Ensure remote notification ordering

2020-11-21 Thread Bjorn Andersson
The reliance on the remoteproc's state for determining when to send sysmon notifications to a remote processor is racy with regard to concurrent remoteproc operations. Further more the advertisement of the state of other remote processor to a newly started remote processor might not only send the

[PATCH v3 2/4] remoteproc: sysmon: Expose the shutdown result

2020-11-21 Thread Bjorn Andersson
A graceful shutdown of the Qualcomm remote processors where traditionally performed by invoking a shared memory state signal and waiting for the associated ack. This was later superseded by the "sysmon" mechanism, where some form of shared memory bus is used to send a "graceful shutdown request" m

Re: [RFC PATCH v2 00/26] Make reporting-bugs easier to grasp and yet more detailed & helpful

2020-11-21 Thread Randy Dunlap
On 11/21/20 9:33 PM, Thorsten Leemhuis wrote: > Am 20.11.20 um 22:58 schrieb Jonathan Corbet: >> On Fri, 20 Nov 2020 11:46:07 +0100 >> Thorsten Leemhuis wrote: >>> Am 19.11.20 um 01:29 schrieb Jonathan Corbet: On Sun, 15 Nov 2020 11:13:52 +0100 Thorsten Leemhuis wrote: >>>    - Col

[PATCH v3 4/4] remoteproc: sysmon: Improve error messages

2020-11-21 Thread Bjorn Andersson
Improve the style of a few of the error messages printed by the sysmon implementation and fix the copy-pasted shutdown error in the send-event function. Tested-by: Steev Klimaszewski Reviewed-by: Rishabh Bhatnagar Signed-off-by: Bjorn Andersson --- Change since v2: - None drivers/remoteproc/

[PATCH v3 0/4] remoteproc: Improvement for the Qualcomm sysmon

2020-11-21 Thread Bjorn Andersson
The core part of this series is the update to the sysmon driver to ensure that notifications sent to the remote processor are consistent and always present valid state transitions. In testing this I finally took the time to fix up the issue of the SMP2P based graceful shutdown in the remoteproc dr

[PATCH v3 3/4] remoteproc: qcom: q6v5: Query sysmon before graceful shutdown

2020-11-21 Thread Bjorn Andersson
Requesting a graceful shutdown through the shared memory state signals will not be acked in the event that sysmon has already successfully shut down the remote firmware. So extend the stop request API to optionally take the remoteproc's sysmon instance and query if there's already been a successful

Re: [RFC PATCH v2 00/26] Make reporting-bugs easier to grasp and yet more detailed & helpful

2020-11-21 Thread Thorsten Leemhuis
Am 20.11.20 um 22:58 schrieb Jonathan Corbet: On Fri, 20 Nov 2020 11:46:07 +0100 Thorsten Leemhuis wrote: Am 19.11.20 um 01:29 schrieb Jonathan Corbet: On Sun, 15 Nov 2020 11:13:52 +0100 Thorsten Leemhuis wrote: - Collapse the whole thing down to a patch adding reporting-bugs-v2.rst

Re: [PATCH v2 2/3] remoteproc: Introduce deny_sysfs_ops flag

2020-11-21 Thread Bjorn Andersson
On Fri 20 Nov 21:44 CST 2020, Suman Anna wrote: > On 11/20/20 9:38 PM, Bjorn Andersson wrote: > > On Fri 20 Nov 21:01 CST 2020, Suman Anna wrote: > > > >> The remoteproc framework provides sysfs interfaces for changing > >> the firmware name and for starting/stopping a remote processor > >> throu

Re: [PATCH] remoteproc: Add module parameter 'auto_boot'

2020-11-21 Thread Bjorn Andersson
On Sat 21 Nov 12:38 CST 2020, Paul Cercueil wrote: > Hi Mathieu, > > Le ven. 20 nov. 2020 à 15:37, Mathieu Poirier a > écrit : > > Hi Paul, > > > > On Sun, Nov 15, 2020 at 11:50:56AM +, Paul Cercueil wrote: > > > Until now the remoteproc core would always default to trying to > > > boot th

Re: [PATCH] ACPI: Let ACPI know we support Generic Initiator Affinity Structures

2020-11-21 Thread Chen Baozi
Hi Jonathan, I have found the value of OSC_SB_GENERIC_INITIATOR_SUPPORT is wrong when reading source code of driver/acpi/bus.c in the linux-next On Wed, Sep 30, 2020 at 10:05:44PM +0800, Jonathan Cameron wrote: > Until we tell ACPI that we support generic initiators, it will have > to operate in

Re: [PATCH 2/2] hwspinlock: add sunxi hardware spinlock support

2020-11-21 Thread Bjorn Andersson
On Wed 18 Nov 04:02 CST 2020, Wilken Gottwalt wrote: > Adds the sunxi_hwspinlock driver and updates makefiles/maintainers. > > Signed-off-by: Wilken Gottwalt > --- > MAINTAINERS | 6 + > drivers/hwspinlock/Kconfig| 9 + > drivers/hwspinlock/Makefile

Re: [PATCH v4 2/3] fscrypt: Have filesystems handle their d_ops

2020-11-21 Thread Gao Xiang
Hi all, On Thu, Nov 19, 2020 at 06:09:03AM +, Daniel Rosenberg wrote: > This shifts the responsibility of setting up dentry operations from > fscrypt to the individual filesystems, allowing them to have their own > operations while still setting fscrypt's d_revalidate as appropriate. > > Most

Re: [PATCH v4 1/3] libfs: Add generic function for setting dentry_ops

2020-11-21 Thread Gabriel Krisman Bertazi
Daniel Rosenberg writes: > This adds a function to set dentry operations at lookup time that will > work for both encrypted filenames and casefolded filenames. > > A filesystem that supports both features simultaneously can use this > function during lookup preparations to set up its dentry opera

Re: [PATCH v4 2/3] fscrypt: Have filesystems handle their d_ops

2020-11-21 Thread Gabriel Krisman Bertazi
Daniel Rosenberg writes: > This shifts the responsibility of setting up dentry operations from > fscrypt to the individual filesystems, allowing them to have their own > operations while still setting fscrypt's d_revalidate as appropriate. > > Most filesystems can just use generic_set_encrypted_c

Re: [RFC PATCH 1/3] leds: Add driver for QPNP flash led

2020-11-21 Thread Bjorn Andersson
On Fri 06 Nov 10:58 CST 2020, N?colas F. R. A. Prado wrote: > Add driver for the QPNP flash LED. It works over SPMI and is part of the > PM8941 PMIC. > > Signed-off-by: Nícolas F. R. A. Prado > --- > drivers/leds/Kconfig |9 + > drivers/leds/Makefile|1 + > drivers/leds/leds-qpn

Re: [PATCH] clk: qcom: camcc-sc7180: Use runtime PM ops instead of clk ones

2020-11-21 Thread Bjorn Andersson
On Sat 14 Nov 11:44 CST 2020, Stephen Boyd wrote: > Let's call pm_runtime_get() here instead of calling the PM clk APIs > directly. This avoids a compilation problem on CONFIG_PM=n where the > pm_clk_runtime_{resume,suspend}() functions don't exist and covers the > intent, i.e. enable the clks for

Re: [PATCH v5 5/5] PCI: qcom: Add support for configuring BDF to SID mapping for SM8250

2020-11-21 Thread Bjorn Andersson
On Tue 27 Oct 12:00 CDT 2020, Manivannan Sadhasivam wrote: > For SM8250, we need to write the BDF to SID mapping in PCIe controller > register space for proper working. This is accomplished by extracting > the BDF and SID values from "iommu-map" property in DT and writing those > in the register a

Re: [PATCH v5 4/5] PCI: qcom: Add SM8250 SoC support

2020-11-21 Thread Bjorn Andersson
On Tue 27 Oct 12:00 CDT 2020, Manivannan Sadhasivam wrote: > The PCIe IP (rev 1.9.0) on SM8250 SoC is similar to the one used on > SDM845. Hence the support is added reusing the members of ops_2_7_0. > The key difference between ops_2_7_0 and ops_1_9_0 is the config_sid > callback, which will be a

Re: [PATCH v5 3/5] dt-bindings: pci: qcom: Document PCIe bindings for SM8250 SoC

2020-11-21 Thread Bjorn Andersson
On Tue 27 Oct 12:00 CDT 2020, Manivannan Sadhasivam wrote: > Document the PCIe DT bindings for SM8250 SoC. The PCIe IP is similar to > the one used on SDM845, hence just add the compatible along with the > optional "atu" register region. > > Signed-off-by: Manivannan Sadhasivam > Acked-by: Rob H

Re: [PATCH RFC 01/10] vmalloc: Add basic perm alloc implementation

2020-11-21 Thread Andy Lutomirski
On Fri, Nov 20, 2020 at 12:30 PM Rick Edgecombe wrote: > > In order to allow for future arch specific optimizations for vmalloc > permissions, first add an implementation of a new interface that will > work cross arch by using the existing set_memory_() functions. > > When allocating some memory t

Re: [PATCH] i2c: qup: Fix error return code in qup_i2c_bam_schedule_desc()

2020-11-21 Thread Bjorn Andersson
On Mon 16 Nov 08:10 CST 2020, Zhihao Cheng wrote: > Fix to return the error code from qup_i2c_change_state() > instaed of 0 in qup_i2c_bam_schedule_desc(). > > Fixes: fbf9921f8b35d9b2 ("i2c: qup: Fix error handling") > Reported-by: Hulk Robot > Signed-off-by: Zhihao Cheng > --- > drivers/i2c/b

Re: [PATCH v7 3/7] kernel: Implement selective syscall userspace redirection

2020-11-21 Thread Andy Lutomirski
On Fri, Nov 20, 2020 at 4:18 PM Kees Cook wrote: > > On Thu, Nov 19, 2020 at 12:43:05PM -0500, Gabriel Krisman Bertazi wrote: > > The existing interface could be extended with a flags field as part of > > the opcode passed in argument 2, which is currently reserved, and then > > return a FD, just

ERROR: "dfltcc_inflate" undefined!

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a349e4c659609fd20e4beea89e5c4a4038e33a95 commit: 12619610006371bfc30159937d4546e731d7b297 lib/zlib: add s390 hardware support for kernel zlib_inflate date: 10 months ago config: s390-randconfig-r003-202011

Re: [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for OnePlus 6 devices

2020-11-21 Thread Bjorn Andersson
On Thu 12 Nov 10:22 CST 2020, Caleb Connolly wrote: > The OnePlus 6/T has the same issue as the Yoga c630 causing a crash when DMA > is used for i2c, so disable it. > > https://patchwork.kernel.org/patch/11133827/ > > Signed-off-by: Caleb Connolly > --- > drivers/i2c/busses/i2c-qcom-geni.c | 6

[PATCH v2] arm64: dts: sdm845: Add iommus property to qup

2020-11-21 Thread Bjorn Andersson
From: Stephen Boyd The SMMU that sits in front of the QUP needs to be programmed properly so that the i2c geni driver can allocate DMA descriptors. Failure to do this leads to faults when using devices such as an i2c touchscreen where the transaction is larger than 32 bytes and we use a DMA buffe

Re: INFO: task hung in __io_uring_files_cancel

2020-11-21 Thread Pavel Begunkov
On 22/11/2020 03:04, Hillf Danton wrote: > On Sat, 21 Nov 2020 14:35:15 -0800 >> syzbot found the following issue on: >> >> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1040172650 >> final oops: https://syzkaller.appspot.com/x/report.txt?x=1240172650 >> console output: h

[PATCH] dt-bindings: phy: Convert Broadcom SATA PHY to YAML

2020-11-21 Thread Florian Fainelli
Update the Broadcom SATA PHY Device Tree binding to a YAML format. Suggested-by: Vinod Koul Signed-off-by: Florian Fainelli --- This is based on phy/next and it depends on the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git/commit/?h=next&id=6d3b3f88423e4edc0

Re: [PATCH V6 1/3] soc: qcom: geni: Remove "iova" check

2020-11-21 Thread Bjorn Andersson
On Fri 30 Oct 09:59 CDT 2020, Roja Rani Yarubandi wrote: > Remove "iova" check from geni_se_tx_dma_unprep and geni_se_rx_dma_unprep > functions as checking with dma_mapping_error() is enough. > Applied this patch towards v5.11. Thank you, Bjorn > Signed-off-by: Roja Rani Yarubandi > --- > Cha

Re: [PATCH 2/2] soc: qcom: aoss: Add debugfs send entry

2020-11-21 Thread Bjorn Andersson
On Mon 02 Nov 21:19 CST 2020, Chris Lew wrote: > It can be useful to control the different power states of various > parts of hardware for device testing. Add a debugfs node to send > messages through qmp to aoss for debugging and testing purposes. > > Signed-off-by: Chris Lew > --- > drivers/s

Re: [RFC] MAINTAINERS tag for cleanup robot

2020-11-21 Thread Matthew Wilcox
On Sat, Nov 21, 2020 at 08:50:58AM -0800, t...@redhat.com wrote: > The fixer review is > https://reviews.llvm.org/D91789 > > A run over allyesconfig for x86_64 finds 62 issues, 5 are false positives. > The false positives are caused by macros passed to other macros and by > some macro expansions t

[PATCH v2] lib/lz4: explicitly support in-place decompression

2020-11-21 Thread Gao Xiang
LZ4 final literal copy could be overlapped when doing in-place decompression, so it's unsafe to just use memcpy() on an optimized memcpy approach but memmove() instead. Upstream LZ4 has updated this years ago [1] (and the impact is non-sensible [2] plus only a few bytes remain), this commit just s

Re: [PATCH 072/141] can: peak_usb: Fix fall-through warnings for Clang

2020-11-21 Thread Joe Perches
On Sun, 2020-11-22 at 00:04 +0100, Marc Kleine-Budde wrote: > On 11/21/20 8:50 PM, Joe Perches wrote: > > > What about moving the default to the end if the case, which is more > > > common anyways: > > > > > > diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.c > > > b/drivers/net/can/usb/

Re: [PATCH v4] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-21 Thread Joe Perches
On Sun, 2020-11-22 at 02:34 +0530, Aditya Srivastava wrote: > Currently, checkpatch warns if logical continuations are placed at the > start of a line and not at the end of previous line. > > E.g., running checkpatch on commit 3485507fc272 ("staging: > bcm2835-camera: Reduce length of enum names")

[PATCH net] ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init

2020-11-21 Thread Wang Hai
kmemleak report a memory leak as follows: unreferenced object 0x8880059c6a00 (size 64): comm "ip", pid 23696, jiffies 4296590183 (age 1755.384s) hex dump (first 32 bytes): 20 01 00 10 00 00 00 00 00 00 00 00 00 00 00 00 ... 1c 00 00 00 00 00 00 00 00 00 00 00 07 00 00

Re: [PATCH v2 4/4] iio: hid-sensors: Add hinge sensor driver

2020-11-21 Thread Pandruvada, Srinivas
On Sat, 2020-11-21 at 17:46 -0800, Srinivas Pandruvada wrote: > On Sat, 2020-11-21 at 17:56 +, Jonathan Cameron wrote: > > On Thu, 19 Nov 2020 18:03:31 +0800 > > Ye Xiang wrote: > > > > > The Hinge sensor is a common custom sensor on laptops. It > > > calculates > > > the angle between the li

Re: [PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2020-11-21 Thread Dmitry Osipenko
22.11.2020 04:02, Ezequiel Garcia пишет: > Hi Dmitry, > ... >> +++ b/drivers/staging/media/tegra-vde/TODO >> @@ -0,0 +1,4 @@ >> +TODO: >> + - Implement V4L2 API once it gains support for stateless decoders. >> + >> +Contact: Dmitry Osipenko > > The API for H264 stateless decoding is ready.

Re: [PATCH v3] lockdep: Allow tuning tracing capacity constants.

2020-11-21 Thread Tetsuo Handa
On 2020/11/20 18:27, Dmitry Vyukov wrote: > Peter, so far it looks like just a very large, but normal graph to me. > The cheapest from an engineering point of view solution would be just > to increase the constants. I assume a 2x increase should buy us lots > of time to overflow. > I can think of m

Re: [PATCH v2 2/4] iio: hid-sensor-trigger: Decrement runtime pm enable count on driver removal

2020-11-21 Thread Pandruvada, Srinivas
On Sat, 2020-11-21 at 17:22 +, Jonathan Cameron wrote: > On Thu, 19 Nov 2020 18:03:29 +0800 > Ye Xiang wrote: > > > To avoid pm_runtime_disable called repeatedly by hid sensor > > drivers, > > decrease runtime pm enable count after call it. > > > > Signed-off-by: Ye Xiang > This sounds like

Re: [PATCH net-next v3 00/12] net: dsa: microchip: PTP support for KSZ956x

2020-11-21 Thread Richard Cochran
On Sat, Nov 21, 2020 at 03:26:11AM +0200, Vladimir Oltean wrote: > On Thu, Nov 19, 2020 at 06:51:15PM +, tristram...@microchip.com wrote: > > I think the right implementation is for the driver to remember this receive > > timestamp > > of Pdelay_Req and puts it in the tail tag when it sees a

Re: [PATCH v2 4/4] iio: hid-sensors: Add hinge sensor driver

2020-11-21 Thread Pandruvada, Srinivas
On Sat, 2020-11-21 at 17:56 +, Jonathan Cameron wrote: > On Thu, 19 Nov 2020 18:03:31 +0800 > Ye Xiang wrote: > > > The Hinge sensor is a common custom sensor on laptops. It > > calculates > > the angle between the lid (screen) and the base (keyboard). In > > addition, > > it also exposes scr

[Patch v2 1/1] PCI: pciehp: Add support for handling MRL events

2020-11-21 Thread Ashok Raj
When Mechanical Retention Lock (MRL) is present, Linux doesn't process those change events. Support for these can be found starting Icelake Server. The following changes need to be enabled when MRL is present. 1. Subscribe to MRL change events in SlotControl. 2. When MRL is closed, - If there

Re: [PATCH net-next v3 00/12] net: dsa: microchip: PTP support for KSZ956x

2020-11-21 Thread Richard Cochran
On Sat, Nov 21, 2020 at 03:26:11AM +0200, Vladimir Oltean wrote: > On Thu, Nov 19, 2020 at 06:51:15PM +, tristram...@microchip.com wrote: > > The receive and transmit latencies are different for different connected > > speed. So the > > driver needs to change them when the link changes. For

Re: [PATCH 1/1] pci: pciehp: Handle MRL interrupts to enable slot for hotplug.

2020-11-21 Thread Raj, Ashok
On Sat, Nov 21, 2020 at 12:10:50PM +0100, Lukas Wunner wrote: > > > > > + /* > > > > +* If ATTN is present and MRL is triggered > > > > +* ignore the Presence Change Event. > > > > +*/ > > > > + if (ATTN_BUTTN(ctrl) && (events & PCI_EXP_SLTSTA_MRLSC)) > > > > +

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
Thanks for the clarification! This sounds good to me. I will send a revised patch. Best, - Tong > On Nov 21, 2020, at 4:57 PM, Anders Larsen wrote: > > On Saturday, 2020-11-21 22:47 Tong Zhang wrote: >> >>> On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: >>> >>> On Friday, 2020-11-20 22:21

[PATCH v2] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
the di_fname may not terminated by '\0', use strnlen to prevent buffer overrun [ 513.248784] qnx4_readdir: bread failed (3718095557) [ 513.250880] == [ 513.251109] BUG: KASAN: use-after-free in strlen+0x1f/0x40 [ 513.251268] Read

include/net/sock.h:379:34: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean

2020-11-21 Thread kernel test robot
Hi Tariq, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a349e4c659609fd20e4beea89e5c4a4038e33a95 commit: 5229a96e59ec32466add5e87b537cc3f244afb06 net/mlx5e: Accel, Expose flow steering API for rules add/del date:

Re: [PATCH v2 2/2] fpga: dfl: look for vendor specific capability

2020-11-21 Thread Moritz Fischer
Hi Matthew, On Wed, Nov 18, 2020 at 11:01:51AM -0800, matthew.gerl...@linux.intel.com wrote: > From: Matthew Gerlach > > A DFL may not begin at offset 0 of BAR 0. A PCIe vendor > specific capability can be used to specify the start of a > number of DFLs. > > Signed-off-by: Matthew Gerlach > -

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-21 Thread Moritz Fischer
Richard, On Wed, Nov 18, 2020 at 12:16:09PM -0600, Richard Gong wrote: > > > -#define COMMAND_RECONFIG_FLAG_PARTIAL1 > > > +#define COMMAND_RECONFIG_FLAG_PARTIAL0 > > > +#define COMMAND_AUTHENTICATE_BITSTREAM 1 > > > > Can you explain how this commit by itself doesn't break things? > >

Re: Performance regressions in "boot_time" tests in Linux 5.8 Kernel

2020-11-21 Thread b...@redhat.com
On 11/20/20 at 03:11am, Rahul Gopakumar wrote: > Hi Baoquan, > > To which commit should we apply the draft patch. We tried applying > the patch to the commit 3e4fb4346c781068610d03c12b16c0cfb0fd24a3 > (the one we used for applying the previous patch) but it fails. I tested on 5.10-rc3+. You can a

Re: [PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2020-11-21 Thread Ezequiel Garcia
Hi Dmitry, On Mon, 11 Dec 2017 at 21:27, Dmitry Osipenko wrote: > > NVIDIA Tegra20/30/114/124/132 SoC's have video decoder engine that > supports standard set of video formats like H.264 / MPEG-4 / WMV / VC1. > > Signed-off-by: Dmitry Osipenko > --- > MAINTAINERS

Re: [PATCH 086/141] hwmon: (corsair-cpro) Fix fall-through warnings for Clang

2020-11-21 Thread Guenter Roeck
On Sat, Nov 21, 2020 at 12:00:30PM -0800, Joe Perches wrote: > On Sat, 2020-11-21 at 10:50 -0800, Guenter Roeck wrote: > > On Fri, Nov 20, 2020 at 12:36:04PM -0600, Gustavo A. R. Silva wrote: > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > > by explicitly adding a

Re: [PATCH v3 07/13] media: controls: Validate H264 stateless controls

2020-11-21 Thread Ezequiel Garcia
On Fri, 2020-11-20 at 10:30 +0100, Hans Verkuil wrote: > On 18/11/2020 19:46, Ezequiel Garcia wrote: > > Check that all the fields that correspond or are related > > to a H264 specification syntax element have legal values. > > > > Signed-off-by: Ezequiel Garcia > > --- > > drivers/media/v4l2-co

Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons

2020-11-21 Thread Sven Eckelmann
On Wednesday, 29 April 2020 18:53:47 CET Ronald G. Minnich wrote: > From: Boris Brezillon > > Looks like some drivers define MTD names with a colon in it, thus > making mtdpart= parsing impossible. Let's fix the parser to gracefully > handle that case: the last ':' in a partition definition seque

Re: [PATCH v2] drivers: fpga: Specify HAS_IOMEM dependency for FPGA_DFL

2020-11-21 Thread Moritz Fischer
On Fri, Nov 20, 2020 at 03:46:48PM -0800, David Gow wrote: > Because dfl.c uses the 'devm_ioremap', 'devm_iounmap', > 'devm_ioremap_resource', and 'devm_platform_ioremap_resource' > functions, it should depend on HAS_IOMEM. > > This fixes make allyesconfig under UML (ARCH=um), which doesn't provid

Re: [PATCH] octeontx2-af: Add support for RSS hashing based on Transport protocol field

2020-11-21 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 20 Nov 2020 15:09:06 +0530 you wrote: > Add support to choose RSS flow key algorithm with IPv4 transport protocol > field included in hashing input data. This will be enabled by default. > There-by enabling 3/5 tupl

[PATCH v7 1/5] dma-buf: system_heap: Rework system heap to use sgtables instead of pagelists

2020-11-21 Thread John Stultz
In preparation for some patches to optmize the system heap code, rework the dmabuf exporter to utilize sgtables rather then pageslists for tracking the associated pages. This will allow for large order page allocations, as well as more efficient page pooling. In doing so, the system heap stops us

[PATCH v7 5/5] dma-buf: system_heap: Allocate higher order pages if available

2020-11-21 Thread John Stultz
While the system heap can return non-contiguous pages, try to allocate larger order pages if possible. This will allow slight performance gains and make implementing page pooling easier. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasa

[PATCH v7 2/5] dma-buf: heaps: Move heap-helper logic into the cma_heap implementation

2020-11-21 Thread John Stultz
Since the heap-helpers logic ended up not being as generic as hoped, move the heap-helpers dma_buf_ops implementations into the cma_heap directly. This will allow us to remove the heap_helpers code in a following patch. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hri

[PATCH v7 3/5] dma-buf: heaps: Remove heap-helpers code

2020-11-21 Thread John Stultz
The heap-helpers code was not as generic as initially hoped and it is now not being used, so remove it from the tree. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasaryan Cc: Sandeep Patil Cc: Daniel Mentz Cc: Chris Goldsworthy Cc:

[PATCH v7 4/5] dma-buf: heaps: Skip sync if not mapped

2020-11-21 Thread John Stultz
This patch is basically a port of Ørjan Eide's similar patch for ION https://lore.kernel.org/lkml/20200414134629.54567-1-orjan.e...@arm.com/ Only sync the sg-list of dma-buf heap attachment when the attachment is actually mapped on the device. dma-bufs may be synced at any time. It can be reache

[PATCH v7 0/5] dma-buf: Code rework and performance improvements for system heap

2020-11-21 Thread John Stultz
Hey All, So Sumit noted a flub I made in adapting the last series to the new dma-buf-map code that is in drm-misc-next. Thus I wanted to send this (hopefully) last revision of my patch series of performance optimizations to the dma-buf system heap, once again against drm-misc-next. This series r

[PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-21 Thread Finn Thain
Don't add platform resources that won't be used. This avoids a recently-added warning from the driver core, that can show up on a multi-platform kernel when !MACH_IS_MAC. [ cut here ] WARNING: CPU: 0 PID: 0 at drivers/base/platform.c:224 platform_get_irq_optional+0x8e/0xce

Re: [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST

2020-11-21 Thread Fabio Estevam
On Sat, Nov 21, 2020 at 7:45 PM Alexandre Belloni wrote: > > Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers. > > Signed-off-by: Alexandre Belloni Reviewed-by: Fabio Estevam

[tip:ras/core] BUILD SUCCESS 4a24d80b8c3e9f89d6a6a7b89bd057c463b638d3

2020-11-21 Thread kernel test robot
-20201121 i386 randconfig-a003-20201121 i386 randconfig-a002-20201121 i386 randconfig-a005-20201121 i386 randconfig-a001-20201121 i386 randconfig-a006-20201121 x86_64 randconfig-a015-20201121 x86_64

[PATCH] rtc: test: remove debug message

2020-11-21 Thread Alexandre Belloni
Remove leftover debug message Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index b092a1648513..7e0d8fb26465 100644 --- a/drivers/rtc/rtc-test.c +++ b/drivers/rtc/rtc-test.c @@ -50,7

Re: [PATCH 072/141] can: peak_usb: Fix fall-through warnings for Clang

2020-11-21 Thread Marc Kleine-Budde
On 11/21/20 8:50 PM, Joe Perches wrote: >> What about moving the default to the end if the case, which is more common >> anyways: >> >> diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.c >> b/drivers/net/can/usb/peak_usb/pcan_usb_core.c > [] >> @@ -295,16 +295,16 @@ static void peak_usb_wr

Re: [GIT PULL] io_uring fixes for 5.10-rc

2020-11-21 Thread Jens Axboe
On 11/21/20 11:07 AM, Linus Torvalds wrote: > On Fri, Nov 20, 2020 at 7:00 PM Jens Axboe wrote: >> >> Actually, I think we can do even better. How about just having >> do_filp_open() exit after LOOKUP_RCU fails, if LOOKUP_RCU was already >> set in the lookup flags? Then we don't need to change muc

Re: [PATCH net] devlink: Fix reload stats structure

2020-11-21 Thread Jakub Kicinski
On Fri, 20 Nov 2020 15:40:37 +0200 Moshe Shemesh wrote: > Fix reload stats structure exposed to the user. Change stats structure > hierarchy to have the reload action as a parent of the stat entry and > then stat entry includes value per limit. This will also help to avoid > string concatenation on

[PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST

2020-11-21 Thread Alexandre Belloni
Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 4d2c5d1f75cc..9341ab15241e 100644 --- a/drivers/rtc/Kc

Re: [PATCH net-next 0/5] net: hns3: misc updates for -next

2020-11-21 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 20 Nov 2020 17:16:18 +0800 you wrote: > This series includes some misc updates for the HNS3 ethernet driver. > > #1 adds support for 1280 queues > #2 adds mapping for BAR45 which is needed by RoCE client. > #3 ext

INFO: task hung in __io_uring_files_cancel

2020-11-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7c8ca812 Add linux-next specific files for 20201117 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12d2d19150 kernel config: https://syzkaller.appspot.com/x/.config?x=ff4bc71371dc5b13 dashboard

[PATCH] dm crypt: Constify static crypt_iv_operations

2020-11-21 Thread Rikard Falkeborn
The only usage of these structs is to assign their address to the iv_gen_ops field in the crypt config struct, which is a pointer to const. Make them const like the rest of the static crypt_iv_operations structs. This allows the compiler to put them in read-only memory. Signed-off-by: Rikard Falke

Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14

2020-11-21 Thread Jakub Kicinski
On Thu, 19 Nov 2020 18:24:39 +0100 Yves-Alexis Perez wrote: > Starting with iOS 14 released in September 2020, connectivity using the > personal hotspot USB tethering function of iOS devices is broken. > > Communication between the host and the device (for example ICMP traffic > or DNS resolution

Re: [PATCH 1/3] pwm: pca9685: Switch to atomic API

2020-11-21 Thread Sven Van Asbroeck
On Sat, Nov 21, 2020 at 9:58 AM Clemens Gruber wrote: > > I'd rather continue supporting this driver with !CONFIG_PM. (In our > company we have a product with a !CONFIG_PM build using this driver) Absolutely, makes sense. If you do add support for !CONFIG_PM, then it's important that both PM and

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Saturday, 2020-11-21 22:47 Tong Zhang wrote: > > > On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: > > > > On Friday, 2020-11-20 22:21 Tong Zhang wrote: > >> the di_fname may not terminated by '\0', use strnlen to prevent buffer > >> overrun > >> > >> --- > >> fs/qnx4/namei.c | 2 +- > >> 1

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Tong Zhang
> On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: > > On Friday, 2020-11-20 22:21 Tong Zhang wrote: >> the di_fname may not terminated by '\0', use strnlen to prevent buffer >> overrun >> >> --- >> fs/qnx4/namei.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/fs

Re: [PATCH v2 net] ptp: clockmatrix: bug fix for idtcm_strverscmp

2020-11-21 Thread Jakub Kicinski
On Wed, 18 Nov 2020 22:50:24 -0500 min.li...@renesas.com wrote: > From: Min Li > > Feed kstrtou8 with NULL terminated string. > > Changes since v1: > -Only strcpy 15 characters to leave 1 space for '\0' > > Signed-off-by: Min Li > -static int idtcm_strverscmp(const char *ver1, const char *ver

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Friday, 2020-11-20 22:21 Tong Zhang wrote: > the di_fname may not terminated by '\0', use strnlen to prevent buffer > overrun > > --- > fs/qnx4/namei.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c > index 8d72221735d7..c0e79094f578

[tip:x86/cleanups] BUILD SUCCESS ab09b58e4bdfdbcec425e54ebeaf6e209a96318f

2020-11-21 Thread kernel test robot
allnoconfig i386 randconfig-a004-20201121 i386 randconfig-a003-20201121 i386 randconfig-a002-20201121 i386 randconfig-a005-20201121 i386 randconfig-a001-20201121 i386 randconfig-a006-20201121 x86_64

[PATCH v2] checkpatch: add --fix option for INCLUDE_LINUX

2020-11-21 Thread Dwaipayan Ray
Provide fix option to INCLUDE_LINUX check to replace asm includes. Macros of type: #include are corrected to: #include Signed-off-by: Dwaipayan Ray --- Changes in v2: - Use \Q..\E quoting - Use @ as regex delimiter scripts/checkpatch.pl | 7 +-- 1 file changed, 5 insertions(+), 2 del

Re: [PATCH] cxgb4: Fix build failure when CONFIG_TLS=m

2020-11-21 Thread Jakub Kicinski
On Fri, 20 Nov 2020 13:25:28 -0600 Tom Seewald wrote: > After commit 9d2e5e9eeb59 ("cxgb4/ch_ktls: decrypted bit is not enough") > whenever CONFIG_TLS=m and CONFIG_CHELSIO_T4=y, the following build > failure occurs: > > ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o: in function > `cxgb_selec

[PATCH v4] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-21 Thread Aditya Srivastava
Currently, checkpatch warns if logical continuations are placed at the start of a line and not at the end of previous line. E.g., running checkpatch on commit 3485507fc272 ("staging: bcm2835-camera: Reduce length of enum names") reports: CHECK:LOGICAL_CONTINUATIONS: Logical continuations should b

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 21:58:37 +0100 Johannes Berg wrote: > On Sat, 2020-11-21 at 12:55 -0800, Jakub Kicinski wrote: > > It is more complicated. We can go back to an skb field if this work is > > expected to yield results for mac80211. Would you mind sending a patch? > > I can do that, but I'm not

[PATCH 2/2] HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse

2020-11-21 Thread YOSHIOKA Takuma
Enables three buttons (Fn1, Fn2, and Fn3) on the ELECOM M-XGL20DLBK wireless mouse. While this mouse is EX-G brand, report descriptor is a bit different from EX-G trackball mouse. To enable extra buttons, report should be rewritten in a similar way to trackballs, but with different position parame

[PATCH 1/2] HID: elecom: rewrite report based on model specific parameters

2020-11-21 Thread YOSHIOKA Takuma
The report descriptor for EX-G wireless mouse (M-XGL20DLBK) is a bit different from that for trackball mice such as DEFT. For such mouse, the current `mouse_button_fixup` cannot be used as is, because it uses hard-coded indices for a report descriptor. Add parameters to `mouse_button_fixup` functi

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Johannes Berg
On Sat, 2020-11-21 at 12:55 -0800, Jakub Kicinski wrote: > [snip] > Ack, you have to figure out all the places anyway, the question is > whether you put probes there or calls in the source code. > > Shifting the maintenance burden but also BPF is flexibility. Yeah, true. Though I'd argue also vis

Re: [PATCH v5 2/3] net: add kcov handle to skb extensions

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 20:30:44 +0100 Johannes Berg wrote: > On Sat, 2020-11-21 at 10:35 -0800, Jakub Kicinski wrote: > > On Sat, 21 Nov 2020 19:12:21 +0100 Johannes Berg wrote: > > > > So I'm leaning towards reverting the whole thing. You can attach > > > > kretprobes and record the information you

Re: [PATCH] ilog2: Improve ilog2 for constant arguments

2020-11-21 Thread Luc Van Oostenryck
On Sat, Nov 21, 2020 at 09:29:54PM +0100, Jakub Jelinek wrote: > On Sat, Nov 21, 2020 at 09:23:10PM +0100, Luc Van Oostenryck wrote: > > On Fri, Nov 20, 2020 at 01:51:54PM +0100, Peter Zijlstra wrote: > > > > > > Other option would be to change the const_ilog2 macro, though as the > > > descriptio

  1   2   3   4   >