Re: [PATCH 01/13] timekeeping: add CONFIG_LEGACY_TIMER_TICK

2020-10-10 Thread Arnd Bergmann
On Sat, Oct 10, 2020 at 12:18 AM Finn Thain wrote: > On Thu, 8 Oct 2020, Arnd Bergmann wrote: > > It's good to see this code refactored in this way because, as well as > de-duplication, it reveals the logic that's common to the relevant > platforms and may shed some light on the need for that logi

Re: [PATCH v2 03/17] misc/habana: Stop using frame_vector helpers

2020-10-10 Thread Oded Gabbay
On Fri, Oct 9, 2020 at 10:59 AM Daniel Vetter wrote: > > All we need are a pages array, pin_user_pages_fast can give us that > directly. Plus this avoids the entire raw pfn side of get_vaddr_frames. > Thanks for the patch Daniel. > Signed-off-by: Daniel Vetter > Cc: Jason Gunthorpe > Cc: Andrew

Re: [PATCH v2 09/17] mm: Add unsafe_follow_pfn

2020-10-10 Thread Mauro Carvalho Chehab
Em Fri, 9 Oct 2020 19:52:05 +0200 Daniel Vetter escreveu: > On Fri, Oct 9, 2020 at 2:48 PM Jason Gunthorpe wrote: > > > > On Fri, Oct 09, 2020 at 02:37:23PM +0200, Mauro Carvalho Chehab wrote: > > > > > I'm not a mm/ expert, but, from what I understood from Daniel's patch > > > description is

Re: [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM

2020-10-10 Thread Wolfram Sang
On Mon, Oct 05, 2020 at 02:49:49PM +0200, Geert Uytterhoeven wrote: > The Mellanox BlueField I2C controller is only present on Mellanox > BlueField SoCs. Hence add a dependency on MELLANOX_PLATFORM, to prevent > asking the user about this driver when configuring a kernel without > Mellanox platfor

Re: i8042_init: PS/2 mouse not detected with ACPIPnP/PnPBIOS

2020-10-10 Thread Paul Menzel
Dear Dmitry, dear Rafael, dear Len, Am 08.10.20 um 00:16 schrieb Dmitry Torokhov: On Wed, Oct 07, 2020 at 11:18:41PM +0200, Paul Menzel wrote: On the Asus F2A85-M PRO Linux 5.9-rc8 (and previous versions) does not recognize a plugged in PS/2 mouse using the Plug & Play method. The PS/2 keyb

Re: [PATCH 4/5] tracing: Add synthetic event error logging

2020-10-10 Thread Masami Hiramatsu
On Fri, 9 Oct 2020 10:17:10 -0500 Tom Zanussi wrote: > Add support for synthetic event error logging, which entails adding a > logging function for it, a way to save the synthetic event command, > and a set of specific synthetic event parse error strings and > handling. Thanks for fixing this.

Re: [PATCH v3] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-10 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2020 at 11:35:19AM +0200, Greg Kroah-Hartman wrote: > On Sat, Oct 10, 2020 at 01:59:32PM +0530, Anant Thazhemadam wrote: > > While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if > > wMaxPacketSize = 0 for the endpoints found. > > > > Some devices have isochronous

Re: [CRAZY-RFF] debugfs: track open files and release on remove

2020-10-10 Thread Greg KH
On Fri, Oct 09, 2020 at 10:48:09AM +0200, Johannes Berg wrote: > On Fri, 2020-10-09 at 10:47 +0200, Greg KH wrote: > > > > I think adding the .owner everywhere would be good, and perhaps we can > > > somehow put a check somewhere like > > > > > > WARN_ON(is_module_address((unsigned long)fops) &

HELLO

2020-10-10 Thread NP-GRUPP
Dear Sir/ Madam, In need of good storage services in Rotterdam for Petroleum products, D2, D6 etc??? We at NP-GRUPP LLC are here for you. NP-GRUPP LLC is a legally permitted mandate company in direct cooperation with widely recognized Russian refineries / Tank farms. We offer available petrol

Re: [PATCH v6 1/3] i2c: imx: Fix reset of I2SR_IAL flag

2020-10-10 Thread Wolfram Sang
On Fri, Oct 09, 2020 at 01:03:18PM +0200, Christian Eggers wrote: > According to the "VFxxx Controller Reference Manual" (and the comment > block starting at line 97), Vybrid requires writing a one for clearing > an interrupt flag. Syncing the method for clearing I2SR_IIF in > i2c_imx_isr(). > > S

PLEASE TAKE NOTE!

2020-10-10 Thread Mariacarmen Gutierrez
Hello friend! I would like to contact you personally for an important proposal that could of interest to you. I send this email only to know if this email address is functional. I have something very important to discuss with you. Contact me for details by: Email: fernrodyup1...@aol.com with yo

Re: [PATCH 1/3] i2c: owl: Clear NACK and BUS error bits

2020-10-10 Thread Wolfram Sang
On Fri, Oct 09, 2020 at 12:44:39AM +0300, Cristian Ciocaltea wrote: > When the NACK and BUS error bits are set by the hardware, the driver is > responsible for clearing them by writing "1" into the corresponding > status registers. > > Hence perform the necessary operations in owl_i2c_interrupt().

Re: [PATCH 3/8] staging: wfx: standardize the error when vif does not exist

2020-10-10 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2020 at 02:22:13PM +0200, Jérôme Pouiller wrote: > On Friday 9 October 2020 20:52:47 CEST Kalle Valo wrote: > > Jerome Pouiller writes: > > > > > From: Jérôme Pouiller > > > > > > Smatch complains: > > > > > >drivers/staging/wfx/hif_rx.c:177 hif_scan_complete_indication() war

Re: [PATCH] net: usb: rtl8150: don't incorrectly assign random MAC addresses

2020-10-10 Thread Jakub Kicinski
On Sat, 10 Oct 2020 12:14:59 +0530 Anant Thazhemadam wrote: > get_registers() directly returns the return value of > usb_control_msg_recv() - 0 if successful, and negative error number > otherwise. Are you expecting Greg to take this as a part of some USB subsystem changes? I don't see usb_contro

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-10 Thread Catalin Marinas
On Sat, Oct 10, 2020 at 12:53:19PM +0200, Nicolas Saenz Julienne wrote: > On Sat, 2020-10-10 at 12:36 +0200, Ard Biesheuvel wrote: > > On Fri, 9 Oct 2020 at 19:10, Catalin Marinas > > wrote: > > > On Fri, Oct 09, 2020 at 06:23:06PM +0200, Ard Biesheuvel wrote: > > > > On Fri, 9 Oct 2020 at 17:24,

Re: [PATCH v6 2/3] i2c: imx: Check for I2SR_IAL after every byte

2020-10-10 Thread Wolfram Sang
On Fri, Oct 09, 2020 at 01:03:19PM +0200, Christian Eggers wrote: > Arbitration Lost (IAL) can happen after every single byte transfer. If > arbitration is lost, the I2C hardware will autonomously switch from > master mode to slave. If a transfer is not aborted in this state, > consecutive transfer

Re: [PATCH v6 0/3] i2c: imx: Fix handling of arbitration loss

2020-10-10 Thread Wolfram Sang
> Changes in v5: Changes in v6 were missing... Because patch 1 was updated, I reverted it from for-current and will apply this series to for-next instead to give it some more time for testing. signature.asc Description: PGP signature

Re: [CRAZY-RFF] debugfs: track open files and release on remove

2020-10-10 Thread Johannes Berg
On Sat, 2020-10-10 at 11:38 +0200, Greg KH wrote: > On Fri, Oct 09, 2020 at 10:48:09AM +0200, Johannes Berg wrote: > > On Fri, 2020-10-09 at 10:47 +0200, Greg KH wrote: > > > > > > I think adding the .owner everywhere would be good, and perhaps we can > > > > somehow put a check somewhere like > >

Re: [PATCH] mm: validate inode in mapping_set_error

2020-10-10 Thread Jeff Layton
On Fri, 2020-10-09 at 17:06 -0700, Minchan Kim wrote: > The swap address_space doesn't have host. Thus, it makes kernel crash once > swap write meets error. Fix it. > > [1] 735e4ae5ba28, vfs: track per-sb writeback errors and report them to syncfs > Signed-off-by: Minchan Kim > --- > include/lin

Re: [PATCH 2/5] tracing: Move is_good_name() from trace_probe.h to trace.h

2020-10-10 Thread Masami Hiramatsu
On Fri, 9 Oct 2020 10:17:08 -0500 Tom Zanussi wrote: > is_good_name() is useful for other trace infrastructure, such as > synthetic events, so make it available via trace.h. > This looks good to me. Acked-by: Masami Hiramatsu Thanks! > Signed-off-by: Tom Zanussi > --- > kernel/trace/trac

Re: [PATCH 1/5] tracing: Don't show dynamic string internals in synthetic event description

2020-10-10 Thread Masami Hiramatsu
Hi Tom, On Fri, 9 Oct 2020 10:17:07 -0500 Tom Zanussi wrote: > For synthetic event dynamic fields, the type contains "__data_loc", > which is basically an internal part of the type which is only meant to > be displayed in the format, not in the event description itself, which > is confusing to

[GIT PULL] irqchip updates for 5.10

2020-10-10 Thread Marc Zyngier
Hi Thomas, This is the rather large set of irqchip updates for 5.10. This time around, we have three new drivers (MStar, Owl SIRQ and PRUSS), some cross-architecture updates (the arm/arm64 switch to standard IRQs for IPIs and the corresponding changes to their primary irqchip drivers), a number o

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-10 Thread Ard Biesheuvel
On Fri, 9 Oct 2020 at 19:10, Catalin Marinas wrote: > > On Fri, Oct 09, 2020 at 06:23:06PM +0200, Ard Biesheuvel wrote: > > On Fri, 9 Oct 2020 at 17:24, Lorenzo Pieralisi > > wrote: > > > We can move this check to IORT code and call it from arm64 if it > > > can be made to work. > > > > Finding t

Re: [PATCH 1/2] mm/mprotect: Call arch_validate_prot under mmap_lock and with length

2020-10-10 Thread Catalin Marinas
Hi Khalid, On Wed, Oct 07, 2020 at 02:14:09PM -0600, Khalid Aziz wrote: > On 10/7/20 1:39 AM, Jann Horn wrote: > > arch_validate_prot() is a hook that can validate whether a given set of > > protection flags is valid in an mprotect() operation. It is given the set > > of protection flags and the a

Re: [PATCH v4 seccomp 5/5] seccomp/cache: Report cache data through /proc/pid/seccomp_cache

2020-10-10 Thread YiFei Zhu
On Fri, Oct 9, 2020 at 6:14 PM Kees Cook wrote: > HAVE_ARCH_SECCOMP_CACHE isn't used any more. I think this was left over > from before. Oh, I was meant to add this to the dependencies of SECCOMP_CACHE_DEBUG. Is this something that would make sense? YiFei Zhu

Re: [PATCH 5/5] selftests/ftrace: Change synthetic event name for inter-event-combined test

2020-10-10 Thread Masami Hiramatsu
On Fri, 9 Oct 2020 10:17:11 -0500 Tom Zanussi wrote: > This test uses waking+wakeup_latency as an event name, which doesn't > make sense since it includes an operator. Illegal names are now > detected by the synthetic event command parsing, which causes this > test to fail. Change the name to

Re: [PATCH v2] iio: adc: ad7887: invert/rework external ref logic

2020-10-10 Thread Jonathan Cameron
On Fri, 2 Oct 2020 11:27:23 +0300 Alexandru Ardelean wrote: > This change inverts/reworks the logic to use an external reference via a > provided regulator. > > Now the driver tries to obtain a regulator. If one is found, then it is > used. The rest of the driver logic already checks if there is

Re: [PATCH v1 5/6] staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land

2020-10-10 Thread Benjamin Poirier
On 2020-10-10 18:00 +0800, Coiby Xu wrote: [...] > > > > Please also update drivers/staging/qlge/TODO accordingly. There is still > > a lot of debugging code IMO (the netif_printk statements - kernel > > tracing can be used instead of those) but this patch is a substantial > > improvement. > > Th

[PATCH] watchdog: via_wdt: add VX900 support

2020-10-10 Thread Wilken Gottwalt
Adds watchdog support for the VIA VX900 chip-set, which is fully backwards compatible to the older VIA chip-set watchdogs. Signed-off-by: Wilken Gottwalt --- drivers/watchdog/via_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c ind

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-10 Thread Thomas Gleixner
On Sat, Oct 10 2020 at 11:06, David Woodhouse wrote: > On Fri, 2020-10-09 at 01:27 +0200, Thomas Gleixner wrote: >> On Thu, Oct 08 2020 at 22:39, David Woodhouse wrote: >> For the next submission, can you please >> >> - pick up the -ENODEV changes for HPET/IOAPIC which I posted earlier > > I thin

[PATCH v2 5/5] mm: Update DMA zones description

2020-10-10 Thread Nicolas Saenz Julienne
The default behavior for arm64 changed, so reflect that. Signed-off-by: Nicolas Saenz Julienne Acked-by: Catalin Marinas --- include/linux/mmzone.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index fb3bf696c05e..4ee230

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-10 Thread Nicolas Saenz Julienne
On Sat, 2020-10-10 at 12:36 +0200, Ard Biesheuvel wrote: > On Fri, 9 Oct 2020 at 19:10, Catalin Marinas wrote: > > On Fri, Oct 09, 2020 at 06:23:06PM +0200, Ard Biesheuvel wrote: > > > On Fri, 9 Oct 2020 at 17:24, Lorenzo Pieralisi > > > wrote: > > > > We can move this check to IORT code and call

[PATCH v2 1/5] arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()

2020-10-10 Thread Nicolas Saenz Julienne
There no use for initializing it earlier in arm64_memblock_init(). Signed-off-by: Nicolas Saenz Julienne --- arch/arm64/mm/init.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index f6902a2b4ea6..0eca5865dcb1 100644 --- a

[PATCH 15/18] dt-bindings: usb: meson-g12a-usb: Discard FL-adj property

2020-10-10 Thread Serge Semin
An empty snps,quirk-frame-length-adjustment won't cause any change performed by the driver. Moreover the DT schema validation will fail, since it expects the property being assigned with some value. So just discard the property declaration then from the example. Signed-off-by: Serge Semin --- N

[PATCH 18/18] dt-bindings: usb: qcom,dwc3: Validate DWC3 sub-node

2020-10-10 Thread Serge Semin
Qualcomm msm8996/sc7180/sdm845 DWC3 compatible DT nodes are supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Let's use the available DWC USB3 DT schema to validate the Qualcomm DWC3 sub-nodes. Note since the generic DWC USB3 DT node is supposed to be n

[PATCH 17/18] dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node

2020-10-10 Thread Serge Semin
TI Keystone DWC3 compatible DT node is supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Since DWC USB3 has now got a DT schema describing it' DT node, let's make sure the TI Keystone DWC3 sub-node passes validation against it. Signed-off-by: Serge Semi

Re: [PATCH v9 1/6] fpga: dfl: fix the definitions of type & feature_id for dfl devices

2020-10-10 Thread Tom Rix
On 10/10/20 12:09 AM, Xu Yilun wrote: > The value of the field dfl_device.type comes from the 12 bits register > field DFH_ID according to DFL spec. So this patch changes the definition > of the type field to u16. > > Also it is not necessary to illustrate the valid bits of the type field > in co

[PATCH 16/18] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

2020-10-10 Thread Serge Semin
Amlogic G12A USB DT sub-nodes are supposed to be compatible with the generic DWC USB2 and USB3 devices. Since now we've got DT schemas for both of the later IP cores let's make sure that the Amlogic G12A USB DT nodes are fully evaluated including the DWC sub-nodes. Signed-off-by: Serge Semin ---

Re: [PATCH 1/2] net: store KCOV remote handle in sk_buff

2020-10-10 Thread Jakub Kicinski
On Sat, 10 Oct 2020 09:54:57 +0200 Dmitry Vyukov wrote: > On Sat, Oct 10, 2020 at 1:16 AM Jakub Kicinski wrote: > > On Wed, 7 Oct 2020 10:17:25 + Aleksandr Nogikh wrote: > > > From: Aleksandr Nogikh > > > > > > Remote KCOV coverage collection enables coverage-guided fuzzing of the > > > co

Re: [PATCHSET RFC v3 0/6] Add support for TIF_NOTIFY_SIGNAL

2020-10-10 Thread Jens Axboe
On 10/9/20 9:21 AM, Jens Axboe wrote: > On 10/9/20 2:01 AM, Miroslav Benes wrote: >> On Thu, 8 Oct 2020, Oleg Nesterov wrote: >> >>> On 10/05, Jens Axboe wrote: Hi, The goal is this patch series is to decouple TWA_SIGNAL based task_work from real signals and signal delivery

Re: [PATCH] iio: accel: mma8452: Constify static struct attribute_group

2020-10-10 Thread Jonathan Cameron
On Thu, 1 Oct 2020 01:29:39 +0200 Rikard Falkeborn wrote: > The only usage of mma8452_event_attribute_group is to assign its address > to the event_attrs field in the iio_info struct, which is a const > pointer. Make it const to allow the compiler to put it in read-only > memory. This was the on

[PATCH v2 4/5] arm64: mm: Dynamically resize zone_dma_bits based on system's constraints

2020-10-10 Thread Nicolas Saenz Julienne
With the help of of_dma_safe_phys_limit() we can get the topmost physical address accessible for DMA to the whole system and use that information to properly setup zone_dma_bits. Signed-off-by: Nicolas Saenz Julienne --- arch/arm64/include/asm/processor.h | 1 + arch/arm64/mm/init.c

Re: [PATCH] net: usb: usbnet: update __usbnet_{read|write}_cmd() to use new API

2020-10-10 Thread Jakub Kicinski
On Sat, 10 Oct 2020 12:26:23 +0530 Anant Thazhemadam wrote: > GPF_KERNEL You haven't even built this, let alone tested :/

INFO: task can't die in congestion_wait

2020-10-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a804ab08 Add linux-next specific files for 20201006 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=141b7afb90 kernel config: https://syzkaller.appspot.com/x/.config?x=26c1b4cc4a62ccb dashboard l

Re: [PATCH v4 1/5] arm64: Add framework to turn IPI as NMI

2020-10-10 Thread Masayoshi Mizuma
On Sat, Oct 10, 2020 at 10:34:04AM +0100, Marc Zyngier wrote: > On Sat, 10 Oct 2020 02:58:55 +0100, > Masayoshi Mizuma wrote: > > [...] > > > > +void ipi_nmi_setup(int cpu) > > > +{ > > > + if (!ipi_desc) > > > + return; > > > > ipi_nmi_setup() may be called twice for CPU0: > > > > s

Re: [PATCH] iio: dac: ad7303: remove platform data header

2020-10-10 Thread Jonathan Cameron
On Thu, 1 Oct 2020 17:10:04 +0300 Alexandru Ardelean wrote: > The information in the ad7303 platform_data header is unused, so it's dead > code. > This change removes it and it's inclusion from the driver. > > Signed-off-by: Alexandru Ardelean Applied. Thanks, Jonathan > --- > drivers/iio/da

Low Rate Loan./n.

2020-10-10 Thread Mr. Hashim Bin
Hello Dear, We are Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are interested for more details. Yours fa

[PATCH] ext2: Remove unnecessary blank

2020-10-10 Thread Xianting Tian
Remove unnecessary blank when calling kmalloc_array(). Signed-off-by: Xianting Tian --- fs/ext2/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 7fab2b3b5..551e69755 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -1070,7 +

Re: [PATCH v6 04/10] vfio/fsl-mc: Implement VFIO_DEVICE_GET_REGION_INFO ioctl call

2020-10-10 Thread Auger Eric
Hi Diana, On 10/5/20 7:36 PM, Diana Craciun wrote: > Expose to userspace information about the memory regions. > > Signed-off-by: Bharat Bhushan > Signed-off-by: Diana Craciun Reviewed-by: Eric Auger Thanks Eric > --- > drivers/vfio/fsl-mc/vfio_fsl_mc.c | 79 ++-

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

2020-10-10 Thread Tetsuo Handa
Since syzkaller continues various test cases until the kernel crashes, syzkaller tends to examine more locking dependencies than normal systems. As a result, syzbot is reporting that the fuzz testing was terminated due to hitting upper limits lockdep can track [1] [2] [3]. Peter Zijlstra does not

Re: [PATCH] net: stmmac: Don't call _irqoff() with hardirqs enabled

2020-10-10 Thread Jakub Kicinski
On Sat, 10 Oct 2020 15:08:15 +0200 Heiner Kallweit wrote: > On 09.10.2020 18:06, Heiner Kallweit wrote: > > On 09.10.2020 17:58, Jakub Kicinski wrote: > >> On Fri, 9 Oct 2020 16:54:06 +0200 Heiner Kallweit wrote: > >>> I'm thinking about a __napi_schedule version that disables hard irq's > >>>

Re: [PATCH] checkpatch: Check for .byte-spelled insn opcodes documentation on x86

2020-10-10 Thread Borislav Petkov
On Sat, Oct 10, 2020 at 08:27:20AM -0700, Joe Perches wrote: > Then this could use: > > /"\s*\.byte\s+(?:0x[0-9a-fA-F]{1,2}\s*,\s*){2,4}/ Yes, this is getting close. I've tweaked it a bit to: '/\s*\.byte\s+(?:0x[0-9a-f]{1,2}[\s,]*){2,}/i' which assumes at least 2 opcode bytes; upper limit can

Re: [PATCH] coccinelle: api: kfree_sensitive: print memset position

2020-10-10 Thread Julia Lawall
On Fri, 9 Oct 2020, Denis Efremov wrote: > Print memset() call position in addition to the kfree() position to > ease issues identification. > > Signed-off-by: Denis Efremov Applied, thanks. julia > --- > scripts/coccinelle/api/kfree_sensitive.cocci | 10 ++ > 1 file changed, 6 ins

Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

2020-10-10 Thread Randy Dunlap
On 10/10/20 12:13 AM, Rong Chen wrote: > > > On 10/10/20 11:49 AM, Randy Dunlap wrote: >> On 10/9/20 8:19 PM, Rong Chen wrote: >>> >>> On 10/8/20 3:15 PM, Pavel Machek wrote: Hi! > tree:   > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head:  

Re: [PATCH v6 02/10] vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind

2020-10-10 Thread Auger Eric
Hi Diana, On 10/5/20 7:36 PM, Diana Craciun wrote: > The DPRC (Data Path Resource Container) device is a bus device and has > child devices attached to it. When the vfio-fsl-mc driver is probed > the DPRC is scanned and the child devices discovered and initialized. > > Signed-off-by: Bharat Bhush

Re: [PATCH v3 0/6] iio: sx9310: Support setting various settings

2020-10-10 Thread Jonathan Cameron
On Tue, 6 Oct 2020 18:17:29 -0700 Stephen Boyd wrote: > I need to configure various settings such as thresholds, gain factors, > etc. on this device. Some settings matter at boot, while others can wait > for userspace to configure things. This patch series adds support to > set these various bit

Re: [PATCH] checkpatch: Check for .byte-spelled insn opcodes documentation on x86

2020-10-10 Thread Joe Perches
On Sat, 2020-10-10 at 12:54 +0200, Borislav Petkov wrote: > > checkpatch uses only a single line output only before $herecurr > > Output line length doesn't matter. [] > WARNING: Please document which binutils version supports these .byte-spelled > insn opcodes by adding "binutils version "

[PATCH 1/1] tracing/boot: Add ftrace.instance.*.alloc_snapshot option

2020-10-10 Thread Masami Hiramatsu
Add ftrace.instance.*.alloc_snapshot option. This option has been described in Documentation/trace/boottime-trace.rst but not implemented yet. ftrace.[instance.INSTANCE.]alloc_snapshot Allocate snapshot buffer. The difference from kernel.alloc_snapshot is that the kernel.alloc_snapshot will a

Re: [PATCH] x86/boot/64: Initialize 5-level paging variables earlier

2020-10-10 Thread Arvind Sankar
On Sat, Oct 10, 2020 at 03:11:10PM -0400, Arvind Sankar wrote: > Commit > ca0e22d4f011 ("x86/boot/compressed/64: Always switch to own page table") > started using a new set of pagetables even without KASLR. > > After that commit, initialize_identity_maps() is called before the > 5-level paging v

[PATCH 0/1] tracing/boot: Add alloc_snapshot for instance option

2020-10-10 Thread Masami Hiramatsu
Hi, Here is a patch to add ftrace[.instance.INSTANCE].alloc_snapshot option to allocate snapshot buffer for specific isntance. Actually, this has been described in Documentation/trace/boottime-trace.rst but I forgot to implement it. (Maybe I confused it with kernel.alloc_snapshot) Anyway, it is b

Re: [PATCH] net: usb: rtl8150: don't incorrectly assign random MAC addresses

2020-10-10 Thread Jakub Kicinski
On Sun, 11 Oct 2020 00:14:05 +0530 Anant Thazhemadam wrote: > Ah, my apologies. You're right. It doesn't look like those helpers have made > their way into the networking tree yet. > > (This gets mentioned here as well, >     https://www.mail-archive.com/netdev@vger.kernel.org/msg357843.html) > >

[PATCH 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature

2020-10-10 Thread Arpitha Raghunandan
Modifies fs/ext4/inode-test.c to use the parameterized testing feature of KUnit. Signed-off-by: Arpitha Raghunandan <98.a...@gmail.com> --- fs/ext4/inode-test.c | 64 +--- 1 file changed, 36 insertions(+), 28 deletions(-) diff --git a/fs/ext4/inode-test.c

Re: [PATCH v3] iio: adc: exynos: do not rely on 'users' counter in ISR

2020-10-10 Thread Jonathan Cameron
On Tue, 6 Oct 2020 14:55:09 -0700 dmitry.torok...@gmail.com wrote: > The order in which 'users' counter is decremented vs calling drivers' > close() method is implementation specific, and we should not rely on > it. Let's introduce driver private flag and use it to signal ISR > to exit when device

Re: [PATCH v4 0/4] iio: adc: at91: misc driver cleanups

2020-10-10 Thread Jonathan Cameron
On Wed, 30 Sep 2020 16:50:44 +0300 Alexandru Ardelean wrote: > This whole thing started because the lkp bot haunted me for a while with > this build warning: > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > >> 'at91_adc_dt_ids' [-Wunused-const-variable] >static const s

Re: [PATCH 3/8] staging: wfx: standardize the error when vif does not exist

2020-10-10 Thread Jérôme Pouiller
On Friday 9 October 2020 20:52:47 CEST Kalle Valo wrote: > Jerome Pouiller writes: > > > From: Jérôme Pouiller > > > > Smatch complains: > > > >drivers/staging/wfx/hif_rx.c:177 hif_scan_complete_indication() warn: > > potential NULL parameter dereference 'wvif' > >drivers/staging/wfx/da

Re: [PATCH v6 01/10] vfio/fsl-mc: Add VFIO framework skeleton for fsl-mc devices

2020-10-10 Thread Auger Eric
Hi Diana, On 10/5/20 7:36 PM, Diana Craciun wrote: > From: Bharat Bhushan > > DPAA2 (Data Path Acceleration Architecture) consists in > mechanisms for processing Ethernet packets, queue management, > accelerators, etc. > > The Management Complex (mc) is a hardware entity that manages the DPAA2

Re: [PATCH RFC PKS/PMEM 10/58] drivers/rdma: Utilize new kmap_thread()

2020-10-10 Thread Bernard Metzler
-ira.we...@intel.com wrote: - >To: "Andrew Morton" , "Thomas Gleixner" >, "Ingo Molnar" , "Borislav >Petkov" , "Andy Lutomirski" , "Peter >Zijlstra" >From: ira.we...@intel.com >Date: 10/09/2020 09:52PM >Cc: "Ira Weiny" , "Mike Marciniszyn" >, "Dennis Dalessandro" >, "Doug Ledford" , >"Jas

Re: [PATCH v2 09/17] mm: Add unsafe_follow_pfn

2020-10-10 Thread Tomasz Figa
Hi Mauro, On Fri, Oct 9, 2020 at 2:37 PM Mauro Carvalho Chehab wrote: > > Em Fri, 9 Oct 2020 09:21:11 -0300 > Jason Gunthorpe escreveu: > > > On Fri, Oct 09, 2020 at 12:34:21PM +0200, Mauro Carvalho Chehab wrote: > > > Hi, > > > > > > Em Fri, 9 Oct 2020 09:59:26 +0200 > > > Daniel Vetter escre

[PATCH] kthread: Add kthread_work tracepoints

2020-10-10 Thread Rob Clark
From: Rob Clark While migrating some code from wq to kthread_worker, I found that I missed the execute_start/end tracepoints. So add similar tracepoints for kthread_work. And for completeness, queue_work tracepoint (although this one differs slightly from the matching workqueue tracepoint). Si

RE: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-10-10 Thread Jun Li
> -Original Message- > From: ChiYuan Huang > Sent: Saturday, October 10, 2020 12:06 AM > To: Jun Li > Cc: Jun Li ; Guenter Roeck ; > Greg KH ; Heikki Krogerus > ; Linux USB List > ; lkml ; > cy_huang > Subject: Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count > not

[PATCH 05/18] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-10 Thread Serge Semin
The host controller device might be designed to work for the particular products or applications. In that case it' DT node is supposed to be equipped with the tpl-support property. Signed-off-by: Serge Semin --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 6 ++ 1 file changed, 6 ins

Re: inconsistent lock state in sco_conn_del

2020-10-10 Thread Xu, Yanfei
> syzbot has found a reproducer for the following issue on: > > HEAD commit:e8878ab8 Merge tag 'spi-fix-v5.9-rc4' of git://git.kernel... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1213075990 > kernel config: https://syzkaller.appspot.com/x/.co

Re: [PATCH 2/8] staging: wfx: check memory allocation

2020-10-10 Thread Jérôme Pouiller
On Friday 9 October 2020 20:51:01 CEST Kalle Valo wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Jerome Pouiller writes: > > > From: Jérôme Pouiller > > >

Re: [PATCH 3/8] staging: wfx: standardize the error when vif does not exist

2020-10-10 Thread Jérôme Pouiller
On Saturday 10 October 2020 14:40:34 CEST Greg Kroah-Hartman wrote: > On Sat, Oct 10, 2020 at 02:22:13PM +0200, Jérôme Pouiller wrote: > > On Friday 9 October 2020 20:52:47 CEST Kalle Valo wrote: > > > Jerome Pouiller writes: > > > > > > > From: Jérôme Pouiller > > > > > > > > Smatch complains: >

[PATCH 13/18] dt-bindings: usb: dwc3: Add Tx De-emphasis restrictions

2020-10-10 Thread Serge Semin
In accordance with the driver comments the PIPE3 de-emphasis can be tunned to be either -6dB, or -2.5dB or disabled. Let's add the de-emphasis property restriction so the DT schema would make sure the controller DT node is equipped with correct values. Signed-off-by: Serge Semin --- Documentatio

Re: [net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio

2020-10-10 Thread Jakub Kicinski
On Thu, 8 Oct 2020 20:17:06 +0530 Calvin Johnson wrote: > Better place for of_mdio.c is drivers/net/mdio. > Move of_mdio.c from drivers/of to drivers/net/mdio > > Signed-off-by: Calvin Johnson Applied, thank you.

Re: [PATCH v4 0/3] pinctrl: Ingenic: Add support for SSI and I2S pins.

2020-10-10 Thread Paul Cercueil
Hi Linus, Zhou, The first patch is bogus. Half of the SSI pins are wrong (GPIO chip D/E start at 0x60/0x80 respectively). Sorry for not catching that before. -Paul Le mar. 29 sept. 2020 à 14:48, Linus Walleij a écrit : On Sun, Sep 13, 2020 at 8:59 AM 周琰杰 (Zhou Yanjie) wrote: 1.Add SS

Re: [PATCH net-next] drivers/net/wan/hdlc_fr: Move the skb_headroom check out of fr_hard_header

2020-10-10 Thread Jakub Kicinski
On Wed, 7 Oct 2020 11:32:03 -0700 Xie He wrote: > Move the skb_headroom check out of fr_hard_header and into pvc_xmit. > This has two benefits: > > 1. Originally we only do this check for skbs sent by users on Ethernet- > emulating PVC devices. After the change we do this check for skbs sent on >

Re: [PATCH] checkpatch: Check for .byte-spelled insn opcodes documentation on x86

2020-10-10 Thread Joe Perches
On Sat, 2020-10-10 at 18:11 +0200, Borislav Petkov wrote: > On Sat, Oct 10, 2020 at 08:27:20AM -0700, Joe Perches wrote: > > Then this could use: > > > > /"\s*\.byte\s+(?:0x[0-9a-fA-F]{1,2}\s*,\s*){2,4}/ > > Yes, this is getting close. > > I've tweaked it a bit to: > > '/\s*\.byte\s+(?:0x[0-9a-

Re: [PATCH v2 2/4] time: make getboottime64 aware of time namespace

2020-10-10 Thread Thomas Gleixner
Michael, On Sat, Oct 10 2020 at 13:50, Michael Weiß wrote: > On 10.10.20 09:19, Andrei Vagin wrote: >> And I think we need to consider an option to not change getbootime64 and >> apply a timens offset right in the show_stat(fs/proc/stat.c) >> function. That's what I meant and failed to express co

Re: [PATCH v3 3/3] dt-bindings: iio: dac: ad5686: add binding

2020-10-10 Thread Jonathan Cameron
On Tue, 29 Sep 2020 13:53:00 -0500 Rob Herring wrote: > On Thu, 24 Sep 2020 14:52:14 -0500, Michael Auchter wrote: > > Add a binding for AD5686 > > > > Signed-off-by: Michael Auchter > > --- > > Changes since v1: > > - Keep supported device sorted > > - fix adc -> dac typo in schema path > > si

[PATCH 06/18] dt-bindings: usb: usb-hcd: Add generic "usb-phy" property

2020-10-10 Thread Serge Semin
Even though the Generic PHY framework is the more preferable way of setting the USB PHY up, there are still many dts-files and DT bindings which rely on having the legacy "usb-phy" specified to attach particular USB PHYs to USB cores. Let's have the "usb-phy" property described in the generic USB H

Re: [PATCH v6 10/10] vfio/fsl-mc: Add support for device reset

2020-10-10 Thread Auger Eric
Hi Diana, On 10/5/20 7:36 PM, Diana Craciun wrote: > Currently only resetting the DPRC container is supported which > will reset all the objects inside it. Resetting individual > objects is possible from the userspace by issueing commands > towards MC firmware. > > Signed-off-by: Diana Craciun R

Re: [PATCH v6 16/17] dt-bindings: arm: hisilicon: convert hisilicon,hi3798cv200-perictrl bindings to json-schema

2020-10-10 Thread Leizhen (ThunderTown)
On 2020/10/1 14:35, Krzysztof Kozlowski wrote: > On Wed, Sep 30, 2020 at 11:17:11AM +0800, Zhen Lei wrote: >> Convert the Hisilicon Hi3798CV200 Peripheral Controller binding to DT >> schema format using json-schema. >> >> Signed-off-by: Zhen Lei >> --- >> .../hisilicon/controller/hi3798cv200-p

[PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-10 Thread Ondrej Zary
When the router is rebooted without a power cycle, the USB device remains connected but its configuration is reset. This results in a non-working ethernet connection with messages like this in syslog: usb 2-2: RX packet too long: 65535 B Re-enable ethernet mode when receiving a packet with

Re: [PATCH] irqbypass: fix error handle when irq_bypass_register_producer() return fails

2020-10-10 Thread Alex Williamson
On Sat, 10 Oct 2020 19:01:30 +0800 gchen chen wrote: > Alex Williamson 于2020年10月10日周六 上午2:44写道: > > > > On Fri, 9 Oct 2020 12:30:04 +0800 > > gchen chen wrote: > > > > > Alex Williamson 于2020年9月30日周三 下午10:09写道: > > > > > > > > > > > > Please version your postings so we know which one to co

Re: SD_LOAD_BALANCE

2020-10-10 Thread Julia Lawall
Hello, Previously, I was wondering about why starting in Linux v5.8 my unblocking threads were moving to different sockets more frequently than in previous releases. Now, I think that I have found the reason. The first issue is the change from runnable load average to load average in computing w

[PATCH 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-10 Thread Serge Semin
DWC USB3 DT node is supposed to be compliant with the Generic xHCI Controller schema, but with additional vendor-specific properties, the controller-specific reference clocks and PHYs. So let's convert the currently available legacy text-based DWC USB3 bindings to the DT schema and make sure the DW

[PATCH 14/18] dt-bindings: usb: dwc3: Add Frame Length Adj restrictions

2020-10-10 Thread Serge Semin
In accordance with the IP core databook the snps,quirk-frame-length-adjustment property can be set within [0, 0x3F]. Let's make sure the DT schema applies a correct restriction on the property. Signed-off-by: Serge Semin --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++ 1 file cha

Re: [PULL REQUEST] i2c for v5.9

2020-10-10 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Oct 2020 20:28:52 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/da690031a5d6d50a361e3f19f3eeabd086a6f20d Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH] power: supply: ltc2941: Fix ptr to enum cast

2020-10-10 Thread Sebastian Reichel
Hi, On Sat, Oct 10, 2020 at 09:55:26AM +0300, Iskren Chernev wrote: > clang complains about casting pointers to smaller enum types. > > Signed-off-by: Iskren Chernev > --- Thanks, queued. -- Sebastian > drivers/power/supply/ltc2941-battery-gauge.c | 3 ++- > 1 file changed, 2 insertions(+),

Re: [PATCH 3/3] MIPS: Loongson64: Add /proc/boardinfo

2020-10-10 Thread Tiezhu Yang
On 10/10/2020 04:01 PM, Jiaxun Yang wrote: 在 2020/10/9 下午6:57, Tiezhu Yang 写道: Add /proc/boardinfo to get mainboard and BIOS info easily on the Loongson platform, this is useful to point out the current used mainboard type and BIOS version when there exists problems related with hardware or

Re: [PATCH] usb: host: fsl-mph-dr-of: check return of dma_set_mask()

2020-10-10 Thread Peter Chen
On 20-10-10 14:03:08, Ran Wang wrote: > fsl_usb2_device_register() should stop init if dma_set_mask() return > error. > > Fixes: cae058610465 ("drivers/usb/host: fsl: Set DMA_MASK of usb platform > device") > Signed-off-by: Ran Wang > --- > drivers/usb/host/fsl-mph-dr-of.c | 9 ++--- > 1 fi

Re: [PATCH v1 05/10] bus: mhi: core: Disable IRQs when powering down

2020-10-10 Thread Manu Gautam
Hi On 9/19/2020 7:32 AM, Bhaumik Bhatt wrote: > While powering down, the device may or may not acknowledge the MHI > RESET issued by host for graceful shutdown scenario which can lead > to a rogue device sending an interrupt after the clean-up has been > done. This can result in a tasklet being sc

[PATCH v2 3/4 RESEND] MIPS: Loongson64: Add /proc/boardinfo

2020-10-10 Thread Tiezhu Yang
Add /proc/boardinfo to get mainboard and BIOS info easily on the Loongson platform, this is useful to point out the current used mainboard type and BIOS version when there exists problems related with hardware or firmware. E.g. with this patch: [loongson@linux ~]$ cat /proc/boardinfo Board Info M

[PATCH v2 1/4 RESEND] MIPS: Loongson64: Select SMP in Kconfig to avoid build error

2020-10-10 Thread Tiezhu Yang
In the current code, CONFIG_SMP can be set as N by user on the Loongson platform, then there exists the following build error under !CONFIG_SMP: CC arch/mips/kernel/asm-offsets.s In file included from ./include/linux/gfp.h:9:0, from ./include/linux/xarray.h:14,

[PATCH v2 0/4 RESEND] Avoid build error, clean up numa.c and add /proc/boardinfo

2020-10-10 Thread Tiezhu Yang
[RESEND due to the following reason: Can not connect to recipient's server because of unstable network or firewall filter. rcpt handle timeout,last handle info: Host vger.kernel.org(23.128.96.18) command RCPT TO respond timeout or disconnected] v2: add patch #4 suggested by Jiaxun Tiezhu Yang (4

[PATCH v2 2/4 RESEND] MIPS: Loongson64: Clean up numa.c

2020-10-10 Thread Tiezhu Yang
(1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the related useless code. (2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of "end_pfn - start_pfn" to avoid the redundant calculation. (3) After commit 6fbde6b492df ("MIPS: Loongson64: Move files to the to

[PATCH v2 4/4 RESEND] docs: fs: proc.rst: Add boardinfo description for Loongson64

2020-10-10 Thread Tiezhu Yang
Add a description for /proc/boardinfo on the Loongson platform. Signed-off-by: Tiezhu Yang --- v2: new added patch Documentation/filesystems/proc.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 533c79e..3c4c

Re: [PATCH v1 06/10] bus: mhi: core: Improve shutdown handling after link down detection

2020-10-10 Thread Manu Gautam
On 9/19/2020 7:32 AM, Bhaumik Bhatt wrote: > If MHI were to attempt a device shutdown following an assumption > that the device is inaccessible, the host currently moves to a state > where device register accesses are allowed when they should not be. > This would end up allowing accesses to the d

<    1   2   3   4   >