Re: Regression on todays tip/master (commit 16f70beccf43)

2020-07-24 Thread Joerg Roedel
On Fri, Jul 24, 2020 at 04:50:53PM +0200, Joerg Roedel wrote: > Next thing is, I can reliable reproduce it with yesterdays tip/master > (commit 16f70beccf43), but did not see it with tip/master pulled today > (commit c02699cd25e8) yet. Next bisection try ended with this log: # bad: [16f70beccf43f

Re: [PATCH v3 2/2] mtd: rawnand: ingenic: Limit MTD_NAND_JZ4780 to architecture only

2020-07-24 Thread Krzysztof Kozlowski
On Fri, 24 Jul 2020 at 17:19, Paul Cercueil wrote: > > Hi Krzysztof, > > > Le ven. 24 juil. 2020 à 16:54, Krzysztof Kozlowski a > écrit : > > Enabling the MTD_NAND_JZ4780 driver makes sense only for specific > > hardware - the Ingenic SoC architecture. Set it's dependency to > > MACH_INGENIC so

[no subject]

2020-07-24 Thread Lerynne West
\ Mrs.Lerynne West Hallo, Sie haben eine Spende in Höhe von 2.800.000,00 €. Ich habe die America-Lotterie in Amerika im Wert von 343 Millionen Dollar gewonnen und einen Teil davon an fünf glückliche Menschen und Wohltätigkeitsorganisationen gespendet, um an das Leben meines verstorbenen Soh

Re: [PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-24 Thread Daniel Bristot de Oliveira
On 7/24/20 9:14 AM, Juri Lelli wrote: > Hi, > > On 07/07/20 00:04, Peng Liu wrote: >> 'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when >> pushing a task")' >> introduced the update_rq_clock() to fix the "used-before-update" bug. >> >> 'commit f4904815f97a ("sched/deadline:

INVESTMENT

2020-07-24 Thread CHRISTOPHER WANG
Good day, You were recommended by a mutual associate. I write you regarding an investment of bearer bonds I made on behalf of a client. The investment was made in 2009 and has been under my management. The said investor is deceased. The window is now available to assign these bonds t

RE: [PATCH v8 net-next] net: hyperv: dump TX indirection table to ethtool regs

2020-07-24 Thread Haiyang Zhang
> -Original Message- > From: Chi Song > Sent: Friday, July 24, 2020 12:14 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > Wei Liu ; David S. Miller ; Jakub > Kicinski > Cc: linux-hyp...@vger.kernel.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject:

Re: [PATCH V7 08/14] perf/x86/intel: Generic support for hardware TopDown metrics

2020-07-24 Thread peterz
On Fri, Jul 24, 2020 at 03:19:06PM +0200, pet...@infradead.org wrote: > On Thu, Jul 23, 2020 at 10:11:11AM -0700, kan.li...@linux.intel.com wrote: > > @@ -3375,6 +3428,72 @@ static int intel_pmu_hw_config(struct perf_event > > *event) > > if (event->attr.type != PERF_TYPE_RAW) > >

Re: [PATCH v4] pwm: bcm-iproc: handle clk_get_rate() return

2020-07-24 Thread Ray Jui
Hi Thierry/Uwe, Do you have any further comment on this patch? If not, could you please help to pick it up? Thanks, Ray On 7/17/2020 9:46 PM, Scott Branden wrote: > From: Rayagonda Kokatanur > > Handle clk_get_rate() returning 0 to avoid possible division by zero. > > Fixes: daa5abc41c80 ("p

Re: [GIT PULL] interconnect changes for 5.9

2020-07-24 Thread Greg KH
On Fri, Jul 24, 2020 at 02:42:44PM +0300, Georgi Djakov wrote: > Hello Greg, > > This is the pull request with the interconnect changes for the 5.9-rc1 > merge window. It contains some tiny core framework improvements. These > will allow us to support new provider drivers for Samsung and Nvidia >

Re: [RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-24 Thread Oleg Nesterov
On 07/23, Linus Torvalds wrote: > > But I'll walk over my patch mentally one more time. Here's the current > version, anyway. Both patches look correct to me, feel free to add Reviewed-by: Oleg Nesterov > @@ -1013,18 +1014,40 @@ static int wake_page_function(wait_queue_entry_t > *wait, unsigne

RE: [RFC PATCH] one-bit-adc-dac: Add initial version of one bit ADC, DAC

2020-07-24 Thread Pop, Cristian
> -Original Message- > From: Jonathan Cameron > Sent: Monday, July 20, 2020 4:52 PM > To: Lars-Peter Clausen > Cc: Pop, Cristian ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH] one-bit-adc-dac: Add initial version of one bit ADC, > DAC > > [Exter

Re: [PATCH v3 2/2] mtd: rawnand: ingenic: Limit MTD_NAND_JZ4780 to architecture only

2020-07-24 Thread Paul Cercueil
Hi Krzysztof, Le ven. 24 juil. 2020 à 16:54, Krzysztof Kozlowski a écrit : Enabling the MTD_NAND_JZ4780 driver makes sense only for specific hardware - the Ingenic SoC architecture. Set it's dependency to MACH_INGENIC so it will not appear on unrelated architectures (easier job for downstrea

Re: [PATCH v1] spi: spi-topcliff-pch: use generic power management

2020-07-24 Thread Vaibhav Gupta
On Fri, Jul 24, 2020 at 01:51:49PM +0300, Andy Shevchenko wrote: > On Mon, Jul 20, 2020 at 7:31 PM Vaibhav Gupta > wrote: > > > > Drivers using legacy PM have to manage PCI states and device's PM states > > themselves. They also need to take care of configuration registers. > > > > With improved

[PATCH 2/2] media: i2c: ov772x: Add test pattern control

2020-07-24 Thread Lad Prabhakar
Add support for test pattern control supported by the sensor. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/media/i2c/ov772x.c | 25 - include/media/i2c/ov772x.h | 1 + 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov7

[PATCH 0/2] media: i2c: ov772x: Enable BT656 mode and test pattern support

2020-07-24 Thread Lad Prabhakar
Hi All, This patch series adds support for BT656 mode in the ov772x sensor and also enables color bar test pattern control. Cheers, Prabhakar Lad Prabhakar (2): media: i2c: ov772x: Add support for BT656 mode media: i2c: ov772x: Add test pattern control drivers/media/i2c/ov772x.c | 48 +

[PATCH 1/2] media: i2c: ov772x: Add support for BT656 mode

2020-07-24 Thread Lad Prabhakar
Add support to read the bus-type and enable BT656 mode if needed. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/media/i2c/ov772x.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/ov772x.c b/drivers/media/i2c/ov772x.

Re: [PATCH] PCI/P2PDMA: Add AMD Zen 2 root complex to the list of allowed bridges

2020-07-24 Thread Bjorn Helgaas
On Thu, Jul 23, 2020 at 02:10:52PM -0600, Logan Gunthorpe wrote: > On 2020-07-23 1:57 p.m., Bjorn Helgaas wrote: > > On Thu, Jul 23, 2020 at 02:01:17PM -0400, Alex Deucher wrote: > >> On Thu, Jul 23, 2020 at 1:43 PM Logan Gunthorpe > >> wrote: > >>> > >>> The AMD Zen 2 root complex (Starship/Mati

Re: [PATCH V4] mm/vmstat: Add events for THP migration without split

2020-07-24 Thread Daniel Jordan
I'm assuming the newly-enlarged positive error return of migrate_pages(2) won't have adverse effects in userspace. Didn't see issues with any user in debian codesearch, and can't imagine how it could be relied on. This look ok. Just some nits, take them or leave them as you prefer. Reviewed-by:

Re: [PATCH 1/2] firmware: qcom_scm: Add memory protect virtual address ranges

2020-07-24 Thread Stanimir Varbanov
Hi, Gentle ping for review. On 7/9/20 2:58 PM, Stanimir Varbanov wrote: > This adds a new SCM memprotect command to set virtual address ranges. > > Signed-off-by: Stanimir Varbanov > --- > drivers/firmware/qcom_scm.c | 24 > drivers/firmware/qcom_scm.h | 1 + > includ

Re: [PATCH 0/3] Drop unused MAX_PHYSADDR_BITS

2020-07-24 Thread Dave Hansen
On 7/23/20 4:15 PM, Arvind Sankar wrote: > This #define is not used anywhere, and has the wrong value on x86_64. Yeah, it certainly is unused. > I tried digging into the history a bit, but it seems to have been unused > even in the initial merge of sparsemem in v2.6.13, when it was first > define

Re: [PATCH v5 00/18] dynamic_debug fixes, cleanups, features, export

2020-07-24 Thread Greg KH
On Fri, Jul 24, 2020 at 04:59:00PM +0200, Greg KH wrote: > On Fri, Jul 24, 2020 at 09:48:54AM -0400, Jason Baron wrote: > > > > > > On 7/19/20 7:10 PM, Jim Cromie wrote: > > > this is v5, changes from previous: > > > - moved a chunk from patch 13 to 12, per Jason > > > - shorten logging prefix

Re: [PATCH v2 4/4] mm/hugetl.c: warn out if expected count of huge pages adjustment is not achieved

2020-07-24 Thread Baoquan He
On 07/23/20 at 11:21am, Mike Kravetz wrote: > On 7/23/20 2:11 AM, Baoquan He wrote: > > On 07/23/20 at 11:46am, Anshuman Khandual wrote: > >> > >> > >> On 07/23/2020 08:52 AM, Baoquan He wrote: > >>> A customer complained that no message is logged when the number of > >>> persistent huge pa

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Peter Zijlstra
On Fri, Jul 24, 2020 at 07:46:32AM -0700, Andi Kleen wrote: > > Something that seems to 'work' is: > > '{cycles,cpu/instructions,period=5/}', so maybe you can make the > > group modifier :S use any sampling event if there is one, and otherwise > > designate the leader. > > > > Then you can wri

[PATCH 2/2] media: rcar-vin: Add support to read renesas-vin-ycbcr-8b-g property

2020-07-24 Thread Lad Prabhakar
Add support to read "renesas-vin-ycbcr-8b-g" DT property and select the data pins accordingly for YCbCr422-8bit input Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/media/platform/rcar-vin/rcar-core.c | 4 +++- drivers/media/platform/rcar-vin/rcar-dma.c | 7 +++ drivers/med

[PATCH 0/2] media: rcar-vin: Add support to select data pins

2020-07-24 Thread Lad Prabhakar
Hi All, This patch series adds support to enable selecting data lines via DT. Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: media: renesas,vin: Document renesas-vin-ycbcr-8b-g property media: rcar-vin: Add support to read renesas-vin-ycbcr-8b-g property Documentation/devicetree/bin

[PATCH 1/2] dt-bindings: media: renesas,vin: Document renesas-vin-ycbcr-8b-g property

2020-07-24 Thread Lad Prabhakar
Add a DT property "renesas-vin-ycbcr-8b-g" to select YCbCr422 8-bit data input pins. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- Documentation/devicetree/bindings/media/renesas,vin.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindin

Re: [PATCH v5 00/18] dynamic_debug fixes, cleanups, features, export

2020-07-24 Thread Greg KH
On Fri, Jul 24, 2020 at 09:48:54AM -0400, Jason Baron wrote: > > > On 7/19/20 7:10 PM, Jim Cromie wrote: > > this is v5, changes from previous: > > - moved a chunk from patch 13 to 12, per Jason > > - shorten logging prefix to "dyndbg", drop __func__ > > - now with more commit-log advocacy > >

Re: [net-next v2 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-07-24 Thread Jiri Pirko
Fri, Jul 24, 2020 at 04:19:51PM CEST, vadym.koc...@plvision.eu wrote: >Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 >ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely >wireless SMB deployment. > >Prestera Switchdev is a firmware based driver that operates via

Re: [PATCH] drivers: isdn: capi: Fix data-race bug

2020-07-24 Thread Madhuparna Bhowmik
On Fri, Jul 24, 2020 at 08:57:47AM +0200, Greg KH wrote: > On Fri, Jul 24, 2020 at 10:18:07AM +0530, Madhuparna Bhowmik wrote: > > On Thu, Jul 23, 2020 at 03:11:58PM -0700, David Miller wrote: > > > From: madhuparnabhowmi...@gmail.com > > > Date: Wed, 22 Jul 2020 22:53:29 +0530 > > > > > > > From:

Re: [PATCH v5 5/6] kprobes: Use text_alloc() and text_free()

2020-07-24 Thread Masami Hiramatsu
On Fri, 24 Jul 2020 13:27:48 +0300 Mike Rapoport wrote: > On Fri, Jul 24, 2020 at 08:05:52AM +0300, Jarkko Sakkinen wrote: > > Use text_alloc() and text_free() instead of module_alloc() and > > module_memfree() when an arch provides them. > > > > Cc: linux...@kvack.org > > Cc: Andi Kleen > > Cc

Re: [PATCH 4/4] MAINTAINERS: Add an entry for MikroTik CRS3xx 98DX3236 boards

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 12:38:40PM +0200, Luka Kovacic wrote: > An entry is added for MikroTik CRS3xx 98DX3236 based switches. > > Signed-off-by: Luka Kovacic > Cc: Luka Perkov > Cc: Jakov Petrina Reviewed-by: Andrew Lunn Andrew

Re: [PATCH 3/4] arm: mvebu: dts: Add CRS328-4C-20S-4S board

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 12:38:39PM +0200, Luka Kovacic wrote: > MikroTik CRS328-4C-20S-4S board has a switch chip with an integrated > Marvell Prestera 98DX3236 CPU. > > This commit includes two board variants, namely the factory > default one and a Bit variant. The Bit variant has a > bigger Macr

RE: [PATCH V2 2/3] gpio: xilinx: Add interrupt support

2020-07-24 Thread Srinivas Neeli
Hi Linus, Thanks for the review > -Original Message- > From: Linus Walleij > Sent: Friday, July 24, 2020 2:52 PM > To: kernel test robot > Cc: Srinivas Neeli ; Bartosz Golaszewski > ; Michal Simek ; > Shubhrajyoti Datta ; Srinivas Goud > ; kbuild-...@lists.01.org; open list:GPIO SUBSYST

Re: [PATCH v4 2/5] media: venus: core: Fix error handling in probe

2020-07-24 Thread Stanimir Varbanov
On 7/23/20 2:26 PM, Rajendra Nayak wrote: > Post a successful pm_ops->core_get, an error in probe > should exit by doing a pm_ops->core_put which seems > to be missing. So fix it. > > Signed-off-by: Rajendra Nayak > --- > drivers/media/platform/qcom/venus/core.c | 15 ++- > 1 file

[PATCH v3 0/2] mips: jz4780: Kconfig cleanup

2020-07-24 Thread Krzysztof Kozlowski
Hi, This is a subset of my bigger work for memory controller drivers [1]. Patch #1 (memory): I can take it through my tree because of dependant work around compile testing. Patch #2: Independent, please pick it up if it looks good. [1] https://lore.kernel.org/lkml/20200724140345.GB13472@kozik-l

Re: [PATCH 2/4] arm: mvebu: dts: Add CRS305-1G-4S board

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 12:38:38PM +0200, Luka Kovacic wrote: > MikroTik CRS305-1G-4S board has a switch chip with an integrated > Marvell Prestera 98DX3236 CPU. > > This commit includes two board variants, namely the factory > default one and a Bit variant. The Bit variant has a > bigger Macronix

[PATCH v3 1/2] memory: jz4780-nemc: Limit dependency and compile testing to Ingenic architecture only

2020-07-24 Thread Krzysztof Kozlowski
Enabling the JZ4780_NEMC driver makes sense only for specific hardware - the Ingenic SoC architecture. Set it's dependency to MACH_INGENIC so it will not appear on unrelated architectures (easier job for downstream/distro kernel engineers). When compile testing, do not enable the driver on other

Re: [PATCH V4] Softirq:avoid large sched delay from the pending softirqs

2020-07-24 Thread Uladzislau Rezki
On Fri, Jul 24, 2020 at 10:31:23AM -0400, qianjun.ker...@gmail.com wrote: > From: jun qian > > When get the pending softirqs, it need to process all the pending > softirqs in the while loop. If the processing time of each pending > softirq is need more than 2 msec in this loop, or one of the soft

[PATCH v3 2/2] mtd: rawnand: ingenic: Limit MTD_NAND_JZ4780 to architecture only

2020-07-24 Thread Krzysztof Kozlowski
Enabling the MTD_NAND_JZ4780 driver makes sense only for specific hardware - the Ingenic SoC architecture. Set it's dependency to MACH_INGENIC so it will not appear on unrelated architectures (easier job for downstream/distro kernel engineers). Signed-off-by: Krzysztof Kozlowski --- Changes si

Re: [PATCH 1/4] arm: mvebu: dts: Add CRS326-24G-2S board

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 12:38:37PM +0200, Luka Kovacic wrote: > MikroTik CRS326-24G-2S board has a switch chip with an integrated > Marvell Prestera 98DX3236 CPU. > > This commit includes two board variants, namely the factory > default one and a Bit variant. The Bit variant has a > bigger Macroni

Re: [PATCH v2 0/3] net: dsa: mv88e6xxx: port mtu support

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 11:21:19AM +1200, Chris Packham wrote: > This series connects up the mv88e6xxx switches to the dsa infrastructure for > configuring the port MTU. The first patch is also a bug fix which might be a > candiatate for stable. > > I've rebased this series on top of net-next/mast

Rule about streaming DMA mapping

2020-07-24 Thread Jia-Ju Bai
Hello, From the book "Linux device drivers" (3rd edition), I find an interesting rule for streaming DMA mapping: Once a buffer has been mapped, it belongs to the device, not the processor. Until the buffer has been unmapped, the driver should not touch its contents in any way. Only after dma

[PATCH v5 2/3] dt-bindings: arm: stm32: document Odyssey compatible

2020-07-24 Thread Marcin Sloniewski
Document device tree bindings of Seeed SoM and carrier board. Signed-off-by: Marcin Sloniewski --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/b

Re: [PATCH v3 1/1] PCI/ATS: Check PRI supported on the PF device when SRIOV is enabled

2020-07-24 Thread Bjorn Helgaas
On Thu, Jul 23, 2020 at 03:37:29PM -0700, Ashok Raj wrote: > PASID and PRI capabilities are only enumerated in PF devices. VF devices > do not enumerate these capabilites. IOMMU drivers also need to enumerate > them before enabling features in the IOMMU. Extending the same support as > PASID featur

[PATCH v5 1/3] dt-bindings: vendor-prefixes: add Seeed Studio

2020-07-24 Thread Marcin Sloniewski
Add the "seeed" vendor prefix for Seeed Technology Co., Ltd Website: https://www.seeedstudio.com/ Signed-off-by: Marcin Sloniewski Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bind

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Peter Zijlstra
On Fri, Jul 24, 2020 at 07:39:08AM -0700, Andi Kleen wrote: > > The consequence is that SLOTS must be the leader, is that really a > > problem? You keep providing the {cycles, slots, metric-things} example, > > Yes that's a problem. One (major) use case for topdown is to > sample on lots of differ

[PATCH v5 3/3] ARM: dts: stm32: add initial support for stm32mp157-odyssey board

2020-07-24 Thread Marcin Sloniewski
Add support for Seeed Studio's stm32mp157c odyssey board. Board consists of SoM with stm32mp157c with 4GB eMMC and 512 MB DDR3 RAM and carrier board with USB and ETH interfaces, SD card connector, wifi and BT chip AP6236. In this patch only basic kernel boot is supported and interfacing SD card an

Re: Regression on todays tip/master (commit 16f70beccf43)

2020-07-24 Thread Joerg Roedel
On Fri, Jul 24, 2020 at 03:28:02PM +0200, Ingo Molnar wrote: > Given that you are perf stress-testing the box, some recent perf > commit would be the primary suspect - before doing a full bisect you > might want to try current perf/core (2ac5413e5edc) and its upstream > base: v5.8-rc3, to narrow

Re: [PATCH v2 3/3] net: dsa: mv88e6xxx: Use chip-wide max frame size for MTU

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 11:21:22AM +1200, Chris Packham wrote: > Some of the chips in the mv88e6xxx family don't support jumbo > configuration per port. But they do have a chip-wide max frame size that > can be used. Use this to approximate the behaviour of configuring a port > based MTU. > > Sign

Re: [PATCH v2 0/6] Add new controls for CQ and Frame-skip

2020-07-24 Thread Stanimir Varbanov
Hi Hans, Could you suggest how to proceed with this : - wait Samsung mainteners for ack. - make a pull request with your ack for samsung mfc driver changes. - make a pull request for constant quality only. - postpone the whole patchset for 5.10 merge window. On 7/21/20 10:45 AM, Stanimir Varbano

[tip: x86/build] x86/build: Move max-page-size option to LDFLAGS_vmlinux

2020-07-24 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/build branch of tip: Commit-ID: 587af649bcc04eb016822f209a975005c0092151 Gitweb: https://git.kernel.org/tip/587af649bcc04eb016822f209a975005c0092151 Author:Arvind Sankar AuthorDate:Wed, 22 Jul 2020 14:43:34 -04:00 Committer

Re: [PATCH v8 6/7] x86: Add support for ZSTD compressed kernel

2020-07-24 Thread Sedat Dilek
On Fri, Jul 24, 2020 at 4:30 PM Arvind Sankar wrote: > > On Fri, Jul 24, 2020 at 02:50:34AM +0200, Sedat Dilek wrote: > > On Thu, Jul 23, 2020 at 9:30 PM Nick Terrell wrote: > > > > > > From: Nick Terrell > > > > > > * Add support for zstd compressed kernel > > > * Define __DISABLE_EXPORTS in mi

Re: [PATCH v5 1/6] kprobes: Remove dependency to the module_mutex

2020-07-24 Thread Masami Hiramatsu
On Fri, 24 Jul 2020 08:05:48 +0300 Jarkko Sakkinen wrote: > Add lock_modules() and unlock_modules() wrappers for acquiring module_mutex > in order to remove the compile time dependency to it. This subject is a bit confusing. This is just wrapping modules_mutex in kpprobes. We still have compile

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Andi Kleen
> Something that seems to 'work' is: > '{cycles,cpu/instructions,period=5/}', so maybe you can make the > group modifier :S use any sampling event if there is one, and otherwise > designate the leader. > > Then you can write things like: > > '{slots, metric1, metric2, cpu/cycles,freq=5/

Re: [RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-24 Thread Oleg Nesterov
On 07/23, Linus Torvalds wrote: > > IOW, I think we should do something like this (this is on top of my > patch, since it has that wake_page_function() change in it, but notice > how we have the exact same issue in our traditional > autoremove_wake_function() usage). ... > +static inline void lis

Re: [PATCH for v5.9] USB: serial: Replace HTTP links with HTTPS ones

2020-07-24 Thread Johan Hovold
On Sun, Jul 19, 2020 at 06:19:20PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn

Re: [PATCH 1/2] Add UFFD_USER_MODE_ONLY

2020-07-24 Thread Lokesh Gidra
On Fri, Jul 24, 2020 at 7:28 AM Michael S. Tsirkin wrote: > > On Wed, Apr 22, 2020 at 05:26:31PM -0700, Daniel Colascione wrote: > > userfaultfd handles page faults from both user and kernel code. Add a > > new UFFD_USER_MODE_ONLY flag for userfaultfd(2) that makes the > > resulting userfaultfd o

Re: [PATCH] perf bench: Add benchmark of find_next_bit

2020-07-24 Thread Andi Kleen
On Fri, Jul 24, 2020 at 12:19:59AM -0700, Ian Rogers wrote: > for_each_set_bit, or similar functions like for_each_cpu, may be hot > within the kernel. If many bits were set then one could imagine on > Intel a "bt" instruction with every bit may be faster than the function > call and word length fi

Re: [PATCH -next] hwmon (pmbus/max20730): Whitespace cleanups in max20730.c

2020-07-24 Thread Guenter Roeck
On 7/24/20 7:39 AM, Guenter Roeck wrote: > On 7/24/20 3:11 AM, Wang ShaoBo wrote: >> Drop trailing whitespace. >> >> Signed-off-by: Wang ShaoBo >> --- >> drivers/hwmon/pmbus/max20730.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/hwmon/pmbus/max20730.c b

Re: [PATCH 0/2] Control over userfaultfd kernel-fault handling

2020-07-24 Thread Lokesh Gidra
On Fri, Jul 24, 2020 at 7:01 AM Michael S. Tsirkin wrote: > > On Wed, Apr 22, 2020 at 05:26:30PM -0700, Daniel Colascione wrote: > > This small patch series adds a new flag to userfaultfd(2) that allows > > callers to give up the ability to handle user-mode faults with the > > resulting UFFD file

Re: [PATCH v5 0/6] arm64: add the time namespace support

2020-07-24 Thread Catalin Marinas
On Fri, Jul 24, 2020 at 03:30:39PM +0200, Christian Brauner wrote: > On Thu, Jul 23, 2020 at 10:41:40AM -0700, Andrei Vagin wrote: > > On Wed, Jul 22, 2020 at 07:15:06PM +0100, Catalin Marinas wrote: > > > On Mon, Jul 13, 2020 at 06:57:43PM -0700, Andrei Vagin wrote: > > > > On Sat, Jul 04, 2020 at

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Andi Kleen
> The consequence is that SLOTS must be the leader, is that really a > problem? You keep providing the {cycles, slots, metric-things} example, Yes that's a problem. One (major) use case for topdown is to sample on lots of different events, but always create groups that also measure topdown metrics

Re: [PATCH -next] hwmon (pmbus/max20730): Whitespace cleanups in max20730.c

2020-07-24 Thread Guenter Roeck
On 7/24/20 3:11 AM, Wang ShaoBo wrote: > Drop trailing whitespace. > > Signed-off-by: Wang ShaoBo > --- > drivers/hwmon/pmbus/max20730.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/hwmon/pmbus/max20730.c b/drivers/hwmon/pmbus/max20730.c > index 3ddc19b81

Re: [PATCH v2 7/7] arm64: dts: qcom: sm8250: add interconnect nodes

2020-07-24 Thread Jonathan Marek
On 7/24/20 10:13 AM, Sibi Sankar wrote: Hey Jonathan, Thanks for the patch! Please use the suggested register space definitions instead. Thanks for the suggestions, I was unsure what to use for the sizes. The reg field is unused by the upstream driver so it is hard to figure out. However,

Re: [PATCH] ASoC: soc-component: don't report of_xlate_dai_name failures

2020-07-24 Thread Mark Brown
On Thu, 23 Jul 2020 16:20:20 +0200, Jerome Brunet wrote: > With commit e2329eeba45f ("ASoC: soc-component: add soc_component_err()") > every error different for ENOTSUPP or EPROBE_DEFER will log an error. > > However, as explained in snd_soc_get_dai_name(), this callback may error > to indicate th

Re: [PATCH v5 00/12] Initial MStar/Sigmastar ARMv7 SoC support

2020-07-24 Thread Arnd Bergmann
On Fri, Jul 10, 2020 at 11:46 AM Daniel Palmer wrote: > > This patch set adds initial support for MStar/Sigmastar's > Armv7 based SoCs. There is just enough here to get to a shell > with an initramfs but support for a lot of the hardware is > in progress and will follow. > > MStar also shipped chi

Re: [PATCH] regulator: fix memory leak on error path of regulator_register()

2020-07-24 Thread Mark Brown
On Fri, 24 Jul 2020 03:50:13 +0300, Vladimir Zapolskiy wrote: > The change corrects registration and deregistration on error path > of a regulator, the problem was manifested by a reported memory > leak on deferred probe: > > as3722-regulator as3722-regulator: regulator 13 register failed -517

Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"

2020-07-24 Thread Bjorn Helgaas
On Fri, Jul 24, 2020 at 12:57:51PM +0300, Mika Westerberg wrote: > On Thu, Jul 23, 2020 at 10:30:58PM +0200, Karol Herbst wrote: > > On Wed, Jul 22, 2020 at 11:25 AM Mika Westerberg > > wrote: > > > > > > On Tue, Jul 21, 2020 at 01:37:12PM -0500, Patrick Volkerding wrote: > > > > On 7/21/20 10:27

Re: [PATCH v2 4/4] xen: add helpers to allocate unpopulated memory

2020-07-24 Thread David Hildenbrand
CCing Dan On 24.07.20 14:42, Roger Pau Monne wrote: > To be used in order to create foreign mappings. This is based on the > ZONE_DEVICE facility which is used by persistent memory devices in > order to create struct pages and kernel virtual mappings for the IOMEM > areas of such devices. Note tha

Re: [PATCH 2/2] fsi/sbefifo: Fix reset timeout

2020-07-24 Thread Guenter Roeck
On 7/24/20 12:15 AM, Joel Stanley wrote: > From: Joachim Fenkes > > On BMCs with lower timer resolution than 1ms, msleep(1) will take > way longer than 1ms, so looping 10k times won't wait for 10s but > significantly longer. > > Fix this by using jiffies like the rest of the code. > > Fixes: 9f

Re: [PATCH v2 4/4] xen: add helpers to allocate unpopulated memory

2020-07-24 Thread Jürgen Groß
On 24.07.20 14:42, Roger Pau Monne wrote: To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory devices in order to create struct pages and kernel virtual mappings for the IOMEM areas of such devices. Note that on kernels with

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Peter Zijlstra
On Fri, Jul 24, 2020 at 10:19:25AM -0400, Liang, Kan wrote: > There will be a problem for the current perf tool, which assumes that the > leader event is the sampling event. > > I will check how can we specially handle it in the perf tool. Ah, okay. I've long lost track of how the tool works :/

Re: [PATCH v2 0/9] s390: implement and optimize vmemmap_free()

2020-07-24 Thread Heiko Carstens
On Wed, Jul 22, 2020 at 11:45:49AM +0200, David Hildenbrand wrote: > This series is based on the latest s390/features branch [1]. It > consolidates vmem_add_range(), vmem_remove_range(), and vmemmap_populate() > into a single, recursive page table walker. It then implements > vmemmap_free() and opt

Re: [PATCH] rtc: ds1307: provide an indication that the watchdog has fired

2020-07-24 Thread Guenter Roeck
On 7/23/20 9:50 PM, Chris Packham wrote: > There's not much feedback when the ds1388 watchdog fires. Generally it > yanks on the reset line and the board reboots. To provide some feedback > indicate that the watchdog has fired in the past. This should help > distinguish a watchdog triggered reset f

Re: 5.7 regression: Lots of PCIe AER errors and suspend failure without pcie=noaer

2020-07-24 Thread Kai-Heng Feng
Hi Robert, > On Jul 22, 2020, at 07:55, Robert Hancock wrote: > > On Fri, Jul 10, 2020 at 6:28 PM Robert Hancock wrote: >> >> On Fri, Jul 10, 2020 at 6:23 PM Robert Hancock wrote: >>> >>> Noticed a problem on my desktop with an Asus PRIME H270-PRO >>> motherboard after Fedora 32 upgraded to

[PATCH V4] Softirq:avoid large sched delay from the pending softirqs

2020-07-24 Thread qianjun . kernel
From: jun qian When get the pending softirqs, it need to process all the pending softirqs in the while loop. If the processing time of each pending softirq is need more than 2 msec in this loop, or one of the softirq will running a long time, according to the original code logic, it will process

Re: [PATCH v8 6/7] x86: Add support for ZSTD compressed kernel

2020-07-24 Thread Arvind Sankar
On Fri, Jul 24, 2020 at 02:50:34AM +0200, Sedat Dilek wrote: > On Thu, Jul 23, 2020 at 9:30 PM Nick Terrell wrote: > > > > From: Nick Terrell > > > > * Add support for zstd compressed kernel > > * Define __DISABLE_EXPORTS in misc.c > > * Bump the heap size for zstd. > > * Update the documentation

Re: [PATCH v2 5/7] interconnect: qcom: Add SM8250 interconnect provider driver

2020-07-24 Thread Sibi Sankar
Hey Jonathan, Thanks for the patch! On 2020-07-13 21:11, Jonathan Marek wrote: Add driver for the Qualcomm interconnect buses found in SM8250 based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-sl

Re: [PATCH v2 4/7] interconnect: qcom: Add SM8150 interconnect provider driver

2020-07-24 Thread Sibi Sankar
Hey Jonathan, Thanks for the patch! On 2020-07-13 21:11, Jonathan Marek wrote: Add driver for the Qualcomm interconnect buses found in SM8150 based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-sl

Re: [PATCH 1/2] Add UFFD_USER_MODE_ONLY

2020-07-24 Thread Michael S. Tsirkin
On Wed, Apr 22, 2020 at 05:26:31PM -0700, Daniel Colascione wrote: > userfaultfd handles page faults from both user and kernel code. Add a > new UFFD_USER_MODE_ONLY flag for userfaultfd(2) that makes the > resulting userfaultfd object refuse to handle faults from kernel mode, > treating these faul

Re: [patch V5 13/15] x86/entry: Use generic interrupt entry/exit code

2020-07-24 Thread Ingo Molnar
* Thomas Gleixner wrote: > From: Thomas Gleixner > > Replace the x86 code with the generic variant. Use temporary defines for > idtentry_* which will be cleaned up in the next step. > > Signed-off-by: Thomas Gleixner There was a comment that still referenced the old x86-specific API names

Re: [Phishing Risk] [External] Re: [PATCH v2] mm/hugetlb: add mempolicy check in the reservation routine

2020-07-24 Thread Michal Hocko
On Fri 24-07-20 21:56:29, Muchun Song wrote: > On Fri, Jul 24, 2020 at 7:34 PM Michal Hocko wrote: [...] > > I believe you can simplify this and use a similar pattern as the page > > allocator. Something like > > > > for_each_node_mask(node, mpol_allowed) { > > if (node_iss

Re: [patch V5 15/15] x86/kvm: Use generic xfer to guest work function

2020-07-24 Thread Ingo Molnar
* Thomas Gleixner wrote: > From: Thomas Gleixner > > Use the generic infrastructure to check for and handle pending work before > transitioning into guest mode. > > This now handles TIF_NOTIFY_RESUME as well which was ignored so > far. Handling it is important as this covers task work and ta

Re: [PATCHv2 2/2] hwrng: optee: fix wait use case

2020-07-24 Thread Jorge Ramirez-Ortiz, Foundries
On 24/07/20, Sumit Garg wrote: > On Thu, 23 Jul 2020 at 14:16, Jorge Ramirez-Ortiz wrote: > > > > The current code waits for data to be available before attempting a > > second read. However the second read would not be executed as the > > while loop exits. > > > > This fix does not wait if all da

[net-next v2 4/6] net: marvell: prestera: Add ethtool interface support

2020-07-24 Thread Vadym Kochan
The ethtool API provides support for the configuration of the following features: speed and duplex, auto-negotiation, MDI-x, forward error correction, port media type. The API also provides information about the port status, hardware and software statistic. The following limitation exists: - p

[net-next v2 5/6] net: marvell: prestera: Add Switchdev driver implementation

2020-07-24 Thread Vadym Kochan
The following features are supported: - VLAN-aware bridge offloading - VLAN-unaware bridge offloading - FDB offloading (learning, ageing) - Switchport configuration Currently there are some limitations like: - Only 1 VLAN-aware bridge instance supported - FDB ageing timeo

[net-next v2 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-07-24 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. The current implementation supports only boards designed for the Marvell Switchdev solution and requires special firmware. The core Preste

[net-next v2 2/6] net: marvell: prestera: Add PCI interface support

2020-07-24 Thread Vadym Kochan
Add PCI interface driver for Prestera Switch ASICs family devices, which provides: - Firmware loading mechanism - Requests & events handling to/from the firmware - Access to the firmware on the bus level The firmware has to be loaded each time device is reset. The driver is loading it

[net-next v2 6/6] dt-bindings: marvell,prestera: Add description for device-tree bindings

2020-07-24 Thread Vadym Kochan
Add brief description how to configure base mac address binding in device-tree. Describe requirement for the PCI port which is connected to the ASIC, to allow access to the firmware related registers. Signed-off-by: Vadym Kochan --- .../bindings/net/marvell,prestera.txt | 34 +++

[net-next v2 3/6] net: marvell: prestera: Add basic devlink support

2020-07-24 Thread Vadym Kochan
Add very basic support for devlink interface: - driver name - fw version - devlink ports Signed-off-by: Vadym Kochan --- drivers/net/ethernet/marvell/prestera/Kconfig | 1 + .../net/ethernet/marvell/prestera/Makefile| 2 +- .../net/ethernet/marvell/prestera/prestera.h | 4

[net-next v2 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-07-24 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. Prestera Switchdev is a firmware based driver that operates via PCI bus. The current implementation supports only boards designed for the

Re: [PATCH V7 07/14] perf/core: Add a new PERF_EV_CAP_COEXIST event capability

2020-07-24 Thread Liang, Kan
On 7/24/2020 9:54 AM, Peter Zijlstra wrote: On Fri, Jul 24, 2020 at 09:43:44AM -0400, Liang, Kan wrote: On 7/24/2020 7:46 AM, pet...@infradead.org wrote: On Fri, Jul 24, 2020 at 12:55:43PM +0200, pet...@infradead.org wrote: + event_sched_out(event, cpuctx, ctx); + perf_event_s

Re: [PATCH] media: davinci: vpif_capture: fix potential double free

2020-07-24 Thread Lad, Prabhakar
Hi Evgeny, Thank you for the patch. On Thu, Jul 23, 2020 at 6:04 PM Evgeny Novikov wrote: > > In case of errors vpif_probe_complete() releases memory for vpif_obj.sd > and unregisters the V4L2 device. But then this is done again by > vpif_probe() itself. The patch removes the cleaning from > vpi

Re: [PATCH v2 22/29] memory: omap-gpmc: Fix whitespace issue

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:31AM +0200, Krzysztof Kozlowski wrote: > Fix minor whitespace and comment issues. No functional changes. > > Signed-off-by: Krzysztof Kozlowski > > --- Applied (and part of pull request to arm-soc). For the other omap-gpmc testing is welcomed. Best regards, Krzy

[PATCH v1] scsi: ufs-mediatek: Prevent LPM operation on undeclared VCC

2020-07-24 Thread Stanley Chu
In some platforms, VCC regulator may not be declared in device tree to keep itself "always-on". In this case, hba->vreg_info.vcc is NULL and shall not be operated during any flow. Prevent possible NULL hba->vreg_info.vcc access in LPM mode by checking if it is valid first. Signed-off-by: Stanley

Re: [PATCH v2 23/29] memory: pl172: Add GPLv2 SPDX license header

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:32AM +0200, Krzysztof Kozlowski wrote: > Add GPLv2 license header and remove GPL boiler plate text. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/pl172.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) Applied (and part of pull request t

Re: [PATCH v2 27/29] memory: da8xx-ddrctl: Remove unused 'node' variable

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:36AM +0200, Krzysztof Kozlowski wrote: > The variable 'node' is not used. Remove it to silence compile warning: > > drivers/memory/da8xx-ddrctl.c: In function 'da8xx_ddrctl_probe': > drivers/memory/da8xx-ddrctl.c:105:22: warning: variable 'node' set but > no

Re: [PATCH v2 26/29] memory: fsl_ifc: Fix whitespace issues

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:35AM +0200, Krzysztof Kozlowski wrote: > Fix minor whitespace and comment issues. Do not break message strings. > No functional changes. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. New patch > --- > drivers/memory/fsl_ifc.c | 30

Re: [PATCH v2 19/29] memory: mtk-smi: Add argument to function pointer definition

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:28AM +0200, Krzysztof Kozlowski wrote: > Fix checkpatch warning: > WARNING: function definition argument 'struct device *' should also have > an identifier name > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/mtk-smi.c | 2 +- > 1 file changed, 1

Re: [PATCH v2 18/29] memory: brcmstb_dpfe: Remove unneeded braces

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:27AM +0200, Krzysztof Kozlowski wrote: > Single statement blocks don't need braces. Fixes checkpatch warning: > > WARNING: braces {} are not necessary for single statement blocks > > Signed-off-by: Krzysztof Kozlowski > Acked-by: Florian Fainelli > Acked-by: M

<    3   4   5   6   7   8   9   10   11   12   >