[PATCH v5 2/2] phy: Add USB3 PHY support for Intel LGM SoC

2020-07-13 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for USB PHY on Intel LGM SoC. Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Philipp Zabel --- drivers/phy/Kconfig | 11 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-lgm-usb.c | 278

[PATCH v5 0/2] usb : phy: Add USB PHY support on Intel LGM SoC

2020-07-13 Thread Ramuthevar,Vadivel MuruganX
The USB PHY provides the optimized for low power dissipation while active, idle, or on standby. Requires minimal external components, a single resistor, for best operation. Supports 10/5-Gbps high-speed data transmission rates through 3-m USB 3.x cable --- v5: - As per Felipe and Greg's

Re: BUG: soft lockup in smp_call_function

2020-07-13 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:4437dd6e Merge tag 'io_uring-5.8-2020-07-12' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15998b4710 kernel config:

[PATCH 1/1] platform/x86: revert pcengines-apuv2 wire up simswitch gpio as led

2020-07-13 Thread Florian Eckert
This reverts commit 5037d4ddda31c2dbbb018109655f61054b1756dc. Explanation why this does not work: This change connects the simswap to the LED subsystem of the kernel. >From my point of view, it's nonsense. If we do it this way, then this can be switched relatively easily via the LED subsystem

Re: [PATCH v1 8/8] watchdog: f71808e_wdt: rename variant-independent identifiers appropriately

2020-07-13 Thread Ahmad Fatoum
On 6/30/20 11:29 PM, Guenter Roeck wrote: > On Thu, Jun 11, 2020 at 09:17:49PM +0200, Ahmad Fatoum wrote: >> Code for the common parts of the driver, either uses watchdog_ as >> prefix for the watchdog API or f71808e_ for everything else. >> >> The driver now supports 9 more variants besides

Re: [PATCH 1/3] ARM: dts: colibri-imx6: remove pinctrl-names orphan

2020-07-13 Thread Shawn Guo
On Fri, Jul 10, 2020 at 03:24:21PM +0200, Philippe Schenker wrote: > This is not necessary without a pinctrl-0 statement. Remove this > orphan. > > Signed-off-by: Philippe Schenker Applied all, thanks.

[PATCH] [NET] AX.25 Kconfig: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [5.8RC4][bugreport]WARNING: CPU: 28 PID: 211236 at fs/fuse/file.c:1684 tree_insert+0xaf/0xc0 [fuse]

2020-07-13 Thread Vasily Averin
On 7/13/20 11:02 AM, Mikhail Gavrilov wrote: > On Mon, 13 Jul 2020 at 12:11, Mikhail Gavrilov > wrote: >> >> On Mon, 13 Jul 2020 at 03:28, Mikhail Gavrilov >> wrote: >>> >>> Hi folks. >>> While testing 5.8 RCs I founded that kernel log flooded by the message >>> "WARNING: CPU: 28 PID: 211236 at

Re: [PATCH v4 2/2] Add Intel LGM soc DMA support.

2020-07-13 Thread Andy Shevchenko
On Mon, Jul 13, 2020 at 04:41:31PM +0800, Reddy, MallikarjunaX wrote: > On 7/9/2020 7:09 PM, Andy Shevchenko wrote: > > On Thu, Jul 09, 2020 at 02:01:06PM +0800, Amireddy Mallikarjuna reddy wrote: > > > Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. > > > > > > The main

Re: [PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-13 Thread Amit Tomer
Hi, > But this regulator is only used for the eMMC there, which we apparently > don't have on the Cubieboard 7? We do have eMMC present on Cubieboard 7 (both the versions of Cubieboard7), and the regulator name is similar to what is used in "s900-bubblegum-96.dts" .i.e. "vcc_3v1". But Since

Re: [PATCH] Input: break joystick limitation of maximum 80 buttons

2020-07-13 Thread Andy Shevchenko
On Sun, Jul 12, 2020 at 07:54:54AM +0800, Wei Shuai wrote: > The joystick max buttons 80 limitation comes from > > #define BTN_JOYSTICK 0x120 > #define BTN_DEAD 0x12f > #define BTN_TRIGGER_HAPPY 0x2c0 > #define KEY_MAX 0x2ff > > include/uapi/linux/input-event-codes.h > > according to function

Re: [PATCH v4] ARM: dts: vfxxx: Add node for CAAM

2020-07-13 Thread Shawn Guo
On Fri, Jul 10, 2020 at 07:02:45PM -0700, Chris Healy wrote: > From: Andrey Smirnov > > Add node for CAAM device in NXP Vybrid SoC. > > Signed-off-by: Andrey Smirnov > Signed-off-by: Chris Healy > Reviewed-by: Fabio Estevam > --- > v4: > - really add reviewed by from Fabio Estevam > v3: > -

Re: [PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-13 Thread Amit Tomer
Hi, > Fixed regulators are used to nicely model the regulators which aren't tied to > any PMIC. But for some cases we use them to represent supplies when there is > no support for the specific PMIC present in the kernel and they are turned > on/configured by the bootloader (this is what happening

Re: [PATCH] ARM: dts: vf610-zii-spb4: Add node for switch watchdog

2020-07-13 Thread Shawn Guo
On Sun, Jul 12, 2020 at 01:03:57AM -0700, Chris Healy wrote: > Add I2C child node for switch watchdog present on SPB4 > > Signed-off-by: Chris Healy Applied, thanks.

[PATCH 1/4] dma-mapping: Add bounced DMA ops

2020-07-13 Thread Claire Chang
The bounced DMA ops provide an implementation of DMA ops that bounce streaming DMA in and out of a specially allocated region. Only the operations relevant to streaming DMA are supported. Signed-off-by: Claire Chang --- include/linux/device.h | 3 + include/linux/dma-mapping.h | 1 +

[PATCH 0/4] Bounced DMA support

2020-07-13 Thread Claire Chang
This series implements mitigations for lack of DMA access control on systems without an IOMMU, which could result in the DMA accessing the system memory at unexpected times and/or unexpected addresses, possibly leading to data leakage or corruption. For example, we plan to use the PCI-e bus for

[PATCH 4/4] of: Add plumbing for bounced DMA pool

2020-07-13 Thread Claire Chang
If a device is not behind an IOMMU, we look up the device node and set up the bounced DMA when the bounced-dma property is presented. One can specify two reserved-memory nodes in the device tree. One with shared-dma-pool to handle the coherent DMA buffer allocation, and another one with

[PATCH 3/4] dt-bindings: of: Add plumbing for bounced DMA pool

2020-07-13 Thread Claire Chang
Introduce the new compatible string, bounced-dma-pool, for bounced DMA. One can specify the address and length of the bounced memory region by bounced-dma-pool in the device tree. Signed-off-by: Claire Chang --- .../reserved-memory/reserved-memory.txt | 36 +++ 1 file

[PATCH 2/4] dma-mapping: Add bounced DMA pool

2020-07-13 Thread Claire Chang
Add the initialization function to create bounce buffer pools from matching reserved-memory nodes in the device tree. The bounce buffer pools provide a basic level of protection against the DMA overwriting buffer contents at unexpected times. However, to protect against general data leakage and

Re: [PATCH 5/6] uaccess: add force_uaccess_{begin,end} helpers

2020-07-13 Thread Geert Uytterhoeven
On Fri, Jul 10, 2020 at 3:57 PM Christoph Hellwig wrote: > Add helpers to wraper the get_fs/set_fs magic for undoing any damage to wrap > done by set_fs(KERNEL_DS). There is no real functional benefit, but this > documents the intent of these calls better, and will allow stubbing the >

[PATCH] Staging: speakup: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [Linux-kernel-mentees] [PATCH net] qrtr: Fix ZERO_SIZE_PTR deref in qrtr_tun_write_iter()

2020-07-13 Thread Dan Carpenter
On Sun, Jul 12, 2020 at 02:36:31PM -0700, Eric Biggers wrote: > On Sun, Jul 12, 2020 at 05:03:00PM -0400, Peilin Ye wrote: > > qrtr_tun_write_iter() is dereferencing `ZERO_SIZE_PTR`s when `from->count` > > equals to zero. Fix it by rejecting zero-length kzalloc() requests. > > > > This patch

Re: [PATCH 4/6] uaccess: remove segment_eq

2020-07-13 Thread Geert Uytterhoeven
On Fri, Jul 10, 2020 at 3:58 PM Christoph Hellwig wrote: > segment_eq is only used to implement uaccess_kernel. Just open code > uaccess_kernel in the arch uaccess headers and remove one layer of > indirection. > > Signed-off-by: Christoph Hellwig > arch/m68k/include/asm/segment.h | 2

Re: [PATCH 1/2] mfd: intel-m10-bmc: add Max10 BMC chip support for Intel FPGA PAC

2020-07-13 Thread Lee Jones
On Mon, 13 Jul 2020, Xu Yilun wrote: > This patch implements the basic functions of the BMC chip for some Intel > FPGA PCIe Acceleration Cards (PAC). The BMC is implemented using the > intel max10 CPLD. > > This BMC chip is connected to FPGA by a SPI bus. To provide reliable > register access

Re: [PATCH 2/2] locking/pvqspinlock: Optionally store lock holder cpu into lock

2020-07-13 Thread Peter Zijlstra
On Sun, Jul 12, 2020 at 07:05:36PM -0400, Waiman Long wrote: > On 7/12/20 1:34 PM, Peter Zijlstra wrote: > > And this kills it,.. if it doesn't make unconditional sense, we're not > > going to do this. It's just too ugly. > > > You mean it has to be unconditional, no option config if we want to

[PATCH] USB: ohci: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v5 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-13 Thread Bean Huo
On Mon, 2020-07-13 at 10:27 +0900, Daejun Park wrote: > Hi Bart, > > > > Bart - how do you want to proceed? > > > > Hi Avri and Daejun, > > > > As far as I can see none of the five patches have Reviewed-by tags > > yet. I > > think that Martin expects formal reviews for this patch series from >

Re: [PATCH RFC 0/3] io_uring: add restrictions to support untrusted applications and guests

2020-07-13 Thread Stefan Hajnoczi
On Fri, Jul 10, 2020 at 06:20:17PM +0200, Stefano Garzarella wrote: > On Fri, Jul 10, 2020 at 11:33:09AM -0400, Konrad Rzeszutek Wilk wrote: > > .snip.. > > > Just to recap the proposal, the idea is to add some restrictions to the > > > operations (sqe, register, fixed file) to safely allow

Re: [PATCH V6 0/6] Support building i.MX ARMv8 platforms clock driver as module

2020-07-13 Thread Shawn Guo
On Tue, Jul 07, 2020 at 01:09:33PM +0800, Anson Huang wrote: > Nowdays, there are more and more requirements of building SoC specific drivers > as modules, such as Android GKI (generic kernel image), this patch set > supports > building i.MX ARMv8 SoCs clock drivers as modules, > > The

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-13 Thread Vinod Koul
On 09-07-20, 08:23, Dave Jiang wrote: > > > On 7/8/2020 10:35 PM, Jiri Slaby wrote: > > On 07. 07. 20, 17:42, Dave Jiang wrote: > > > On 7/6/2020 11:05 PM, Jiri Slaby wrote: > > > > On 26. 06. 20, 20:09, Dave Jiang wrote: > > > > > Check dma device list and channel list for empty before iterate

linux-next: Tree for Jul 13

2020-07-13 Thread Stephen Rothwell
Hi all, News: to check Linus' recent tree (and therefore linux-next) with sparse, you will need a very new version of sparse. Linus says: Sparse is really easy to build and install as a regular user. Just do mkdir -p ~/src ; cd ~/src git clone

RE: [PATCH v4] 9p: retrieve fid from file when file instance exist.

2020-07-13 Thread Jianyong Wu
> -Original Message- > From: Dominique Martinet > Sent: Friday, July 10, 2020 7:09 PM > To: Jianyong Wu > Cc: eri...@gmail.com; lu...@ionkov.net; v9fs- > develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Steve > Capper ; Kaly Xin ; Justin He > ; Wei Chen > Subject: Re:

Re: [PATCH] vsock/virtio: annotate 'the_virtio_vsock' RCU pointer

2020-07-13 Thread Stefan Hajnoczi
On Fri, Jul 10, 2020 at 02:12:43PM +0200, Stefano Garzarella wrote: > Commit 0deab087b16a ("vsock/virtio: use RCU to avoid use-after-free > on the_virtio_vsock") starts to use RCU to protect 'the_virtio_vsock' > pointer, but we forgot to annotate it. > > This patch adds the annotation to fix the

Re: [PATCH] vhost/scsi: fix up req type endian-ness

2020-07-13 Thread Stefan Hajnoczi
On Fri, Jul 10, 2020 at 06:48:51AM -0400, Michael S. Tsirkin wrote: > vhost/scsi doesn't handle type conversion correctly > for request type when using virtio 1.0 and up for BE, > or cross-endian platforms. > > Fix it up using vhost_32_to_cpu. > > Cc: sta...@vger.kernel.org > Signed-off-by:

Re: [PATCH v4 4/4] thermal: core: Add notifications call in the framework

2020-07-13 Thread Marek Szyprowski
Hi On 07.07.2020 11:15, Marek Szyprowski wrote: > On 06.07.2020 15:46, Daniel Lezcano wrote: >> On 06/07/2020 15:17, Marek Szyprowski wrote: >>> On 06.07.2020 12:55, Daniel Lezcano wrote: The generic netlink protocol is implemented but the different notification functions are not yet

[PATCH] doc/zh_CN: add Chinese translation prefer section

2020-07-13 Thread Alex Shi
The add words is: Translation Plan Welcome for any part of kernel doc Chinese translation, expecially for admin-guide part. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: Harry Wei Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/conf.py

RE: objtool clac/stac handling change..

2020-07-13 Thread David Laight
From: Linus Torvalds > Sent: 10 July 2020 23:37 > On Tue, Jul 7, 2020 at 5:35 AM David Laight wrote: > > > > > > So separate copy and checksum passes should easily exceed 4 bytes/clock, > > but I suspect that doing them together never does. > > (Unless the buffer is too big for the L1 cache.) >

Re: [PATCH v10 11/17] mtd: spi-nor: sfdp: do not make invalid quad enable fatal

2020-07-13 Thread Tudor.Ambarus
On 6/23/20 9:30 PM, Pratyush Yadav wrote: > The Micron MT35XU512ABA flash does not support the quad enable bit. But > instead of programming the Quad Enable Require field to 000b ("Device > does not have a QE bit"), it is programmed to 111b ("Reserved"). > > While this is technically incorrect,

[PATCH] WAN: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

RE

2020-07-13 Thread Lerynne West
Hallo, Sie haben eine Spende von 2.800.000,00 Euro, ich gewann die Amerika-Lotterie in Amerika im Wert von 343 Millionen Dollar und ich spende einen Teil davon an funf gluckliche Menschen und Wohltatigkeitshauser in Erinnerung an meinen verstorbenen Sohn, der an Krebs gestorben ist, um das

[rcu:rcu/test 64/65] include/linux/kernel.h:1002:17: warning: cast to pointer from integer of different size

2020-07-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test head: e4d26431bafa60b212117ec5750833d39ce1b2aa commit: f89bf7a94ffa9446a341fefc18153e8f9bebffbb [64/65] kvm: mmu: page_track: Fix RCU list API usage config: x86_64-rhel (attached as .config) compiler: gcc-9

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread Takashi Iwai
On Mon, 13 Jul 2020 10:43:28 +0200, Julia Lawall wrote: > > > > On Mon, 13 Jul 2020, Takashi Iwai wrote: > > > On Wed, 08 Jul 2020 20:14:27 +0200, > > Dan Williams wrote: > > > > > > +Recommended replacements for 'blacklist/whitelist' are: > > > +'denylist / allowlist' > > > +

[PATCH v3 1/2] phy: Add new PHY attribute max_link_rate and APIs to get/set PHY attributes

2020-07-13 Thread Swapnil Jakhade
Add new PHY attribute max_link_rate to struct phy_attrs. Add a pair of PHY APIs to get/set all the PHY attributes. Use phy_set_attrs() to set attribute values in the PHY provider driver. Use phy_get_attrs() to get attribute values in the controller driver. Signed-off-by: Yuti Amonkar

[PATCH v3 2/2] phy: cadence-torrent: Use kernel PHY API to set PHY attributes

2020-07-13 Thread Swapnil Jakhade
Use generic PHY framework function phy_set_attrs() to set number of lanes and maximum link rate supported by PHY. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c

[PATCH v3 0/2] Add new PHY APIs to framework to get/set PHY attributes

2020-07-13 Thread Swapnil Jakhade
This patch series adds a new pair of PHY APIs that can be used to get/set all the PHY attributes. It also adds a new PHY attribute max_link_rate. It includes following patches: 1. v3-0001-phy-Add-new-PHY-attribute-max_link_rate-and-APIs-.patch This patch adds max_link_rate as a new PHY attribute

[RESEND PATCH v3 2/2] mfd: da9063: Add support for latest DA silicon revision

2020-07-13 Thread Adam Thomson
This update adds new regmap tables to support the latest DA silicon which will automatically be selected based on the chip and variant information read from the device. Signed-off-by: Adam Thomson Acked-for-MFD-by: Lee Jones --- v3: - No change v2: - No change drivers/mfd/da9063-i2c.c

[RESEND PATCH v3 1/2] mfd: da9063: Fix revision handling to correctly select reg tables

2020-07-13 Thread Adam Thomson
The current implementation performs checking in the i2c_probe() function of the variant_code but does this immediately after the containing struct has been initialised as all zero. This means the check for variant code will always default to using the BB tables and will never select AD. The

[RESEND PATCH v3 0/2] Resolve revision handling and add support for DA silicon

2020-07-13 Thread Adam Thomson
This patch set fixes the currently broken revision handling in the driver's i2c_probe() function and then adds DA support to existing permitted revisions. v3: - Replaced magic numbers around I2C paged access code with enums and defines - Small style tidy ups as requested by Lee Jones v2: -

Re: [PATCH v7 2/8] cpufreq: mediatek: Enable clock and regulator

2020-07-13 Thread Viresh Kumar
On 10-07-20, 10:31, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > Need to enable regulator, > so that the max/min requested value will be recorded > even it is not applied right away. > > Intermediate clock is not always enabled by ccf in different projects, > so cpufreq should enable it

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread Julia Lawall
On Mon, 13 Jul 2020, Takashi Iwai wrote: > On Mon, 13 Jul 2020 10:43:28 +0200, > Julia Lawall wrote: > > > > > > > > On Mon, 13 Jul 2020, Takashi Iwai wrote: > > > > > On Wed, 08 Jul 2020 20:14:27 +0200, > > > Dan Williams wrote: > > > > > > > > +Recommended replacements for

Re: [PATCH v7 5/8] opp: Modify opp API, dev_pm_opp_get_freq(), find freq in opp, even it is disabled

2020-07-13 Thread Viresh Kumar
On 10-07-20, 10:31, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > Modify dev_pm_opp_get_freq() to return freqeuncy > even this opp item is not available. > So that we can get the information of disable opp items. > > Change-Id: I54dacf13050397f5080ccdb8b07d6220e7461e4e > CR-Id: >

[PATCH] alpha: Kconfig: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread Takashi Iwai
On Mon, 13 Jul 2020 11:39:56 +0200, Julia Lawall wrote: > > > > On Mon, 13 Jul 2020, Takashi Iwai wrote: > > > On Mon, 13 Jul 2020 10:43:28 +0200, > > Julia Lawall wrote: > > > > > > > > > > > > On Mon, 13 Jul 2020, Takashi Iwai wrote: > > > > > > > On Wed, 08 Jul 2020 20:14:27 +0200, > > > >

drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c:365:6: warning: no previous prototype for 'mt7915_sta_add_debugfs'

2020-07-13 Thread kernel test robot
config: i386-randconfig-r025-20200713 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce (this is a W=1 build): git checkout ec9742a8f38ef69876e9f04be68d985c6bbb8f5f # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue

Re: [PATCH v4 4/4] thermal: core: Add notifications call in the framework

2020-07-13 Thread Daniel Lezcano
Added Arnd in Cc. On 13/07/2020 11:31, Marek Szyprowski wrote: > Hi > > On 07.07.2020 11:15, Marek Szyprowski wrote: >> On 06.07.2020 15:46, Daniel Lezcano wrote: >>> On 06/07/2020 15:17, Marek Szyprowski wrote: On 06.07.2020 12:55, Daniel Lezcano wrote: > The generic netlink protocol

Re: [PATCH] asm-generic/sembuf: Update architecture related information in comment

2020-07-13 Thread Viresh Kumar
On 20-05-20, 15:53, Viresh Kumar wrote: > The structure came originally from x86_32 but is used by most of the > architectures now. Update the comment which says it is for x86 only. > > Signed-off-by: Viresh Kumar > --- > include/uapi/asm-generic/sembuf.h | 6 +++--- > 1 file changed, 3

Re: [PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-13 Thread Ahmad Fatoum
Hello Philippe, On 7/10/20 3:24 PM, Philippe Schenker wrote: > Since the runtime-pm wakeup bug was fixed in > drivers/usb/chipidea/core.c usb dual-role host/device switching is > working. So make use of it. > > Signed-off-by: Philippe Schenker > > --- > >

Re: [PATCH v8 00/12] Introduce CAP_PERFMON to secure system performance monitoring and observability

2020-07-13 Thread Alexey Budankov
On 10.07.2020 20:09, Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 10, 2020 at 05:30:50PM +0300, Alexey Budankov escreveu: >> On 10.07.2020 16:31, Ravi Bangoria wrote: Currently access to perf_events, i915_perf and other performance monitoring and observability subsystems of the kernel

Build regressions/improvements in v5.8-rc5

2020-07-13 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.8-rc5[1] compared to v5.7[2]. Summarized: - build errors: +7/-4 - build warnings: +39/-41 JFYI, when comparing v5.8-rc5[1] to v5.8-rc4[3], the summaries are: - build errors: +3/-0 - build warnings: +1/-0 Note that

[PATCH] arch/sparc: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [LKP] Re: [bpf] af7ec13833: will-it-scale.per_process_ops -2.5% regression

2020-07-13 Thread Feng Tang
On Fri, Jul 03, 2020 at 01:54:39PM +0800, Rong Chen wrote: > > This commit should not cause regression. > > > > Probably the variation of performance is caused by test environment > > which you may want to investigate further to reduce false alarming. > > Thanks! > > Hi Yonghong, > > It's a

[PATCH] arm64: dts: ipq6018: Add NAND nodes

2020-07-13 Thread Robert Marko
IPQ6018 uses the same NAND and controller as IPQ8074 which is supported by the Qualcomm NANDC driver. So lets add the NAND node as well as node for the BAM DMA controller that is supported by the BAM DMA driver. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 27

Re: Build regressions/improvements in v5.8-rc5

2020-07-13 Thread Geert Uytterhoeven
On Mon, Jul 13, 2020 at 11:51 AM Geert Uytterhoeven wrote: > JFYI, when comparing v5.8-rc5[1] to v5.8-rc4[3], the summaries are: > - build errors: +3/-0 + /kisskb/src/include/linux/compiler-gcc.h: error: #error Sorry, your compiler is too old - please upgrade it.: => 15:3 +

[PATCH 0/2] MTE support for KVM guest

2020-07-13 Thread Steven Price
These patches add support to KVM to enable MTE within a guest. They are based on Catalin's v6 MTE user-space support series[1]. Changes since the previous RFC posting[2]: * Correctly read/write TFSR_EL1 using {read,write}_sysreg_el1() * Set SCTLR_EL2.ITFSB bit for non-VHE * Minor updates to deal

[PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-07-13 Thread Steven Price
Define the new system registers that MTE introduces and context switch them. Also hide the MTE feature from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price --- arch/arm64/include/asm/kvm_host.h | 7 +++ arch/arm64/include/asm/sysreg.h | 3 ++-

Re: [PATCH v1 2/6] [media] cx23885: use generic power management

2020-07-13 Thread Hans Verkuil
On 29/06/2020 09:36, Vaibhav Gupta wrote: > The .suspend() and .resume() callbacks are not defined for this driver. > Still, their power managemgement stucture can be easily upgraded to management structure > gemeric, without affecting its normal behaviour. generic > > Hence, define them NULL

[PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-07-13 Thread Steven Price
Add a new VCPU features 'KVM_ARM_VCPU_MTE' which enables memory tagging on a VCPU. When enabled on any VCPU in the virtual machine this causes all pages that are faulted into the VM to have the PG_mte_tagged flag set (and the tag storage cleared if this is the first use). Signed-off-by: Steven

Re: [PATCH v2 0/3] Power10 basic energy management

2020-07-13 Thread Pratik Sampat
Thank you for your comments, On 13/07/20 10:53 am, Nicholas Piggin wrote: Excerpts from Pratik Rajesh Sampat's message of July 10, 2020 3:22 pm: Changelog v1 --> v2: 1. Save-restore DAWR and DAWRX unconditionally as they are lost in shallow idle states too 2. Rename pnv_first_spr_loss_level to

Re: [PATCH 2/6] nds32: use uaccess_kernel in show_regs

2020-07-13 Thread Greentime Hu
Christoph Hellwig 於 2020年7月10日 週五 下午9:57寫道: > > Use the uaccess_kernel helper instead of duplicating it. > > Signed-off-by: Christoph Hellwig > --- > arch/nds32/kernel/process.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/nds32/kernel/process.c

Re: [PATCH v1 3/6] [media] cx25821: use generic power management

2020-07-13 Thread Hans Verkuil
On 29/06/2020 09:36, Vaibhav Gupta wrote: > The .suspend() and .resume() callbacks are not defined for this driver. > Still, their power managemgement stucture can be easily upgraded to > gemeric, without affecting its normal behaviour. > > Hence, define them NULL and use struct dev_pm_ops type

Re: [PATCH v2 3/3] arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE

2020-07-13 Thread Catalin Marinas
On Sun, Jul 12, 2020 at 05:59:17PM +0100, Valentin Schneider wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 66dc41fd49f2..96d478fb7a2e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -100,6 +100,7 @@ config ARM64 > select FRAME_POINTER > select

RE: [PATCH] drivers: soc: Fix mailbox suspend/resume no irq for IMX SCU

2020-07-13 Thread Aisheng Dong
> From: Vincenzo Frascino > Sent: Monday, July 6, 2020 11:00 PM > > imx_mu_suspend_noirq()/imx_mu_resume_noirq() are currently used only > when CONFIG_PM_SLEEP configuration options is enabled. Having it disabled > triggers the following warning at compile time: > >

[PATCH] arm64: arch_timer: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v6 1/2] net: macb: WoL support for GEM type of Ethernet controller

2020-07-13 Thread nicolas.ferre
From: Nicolas Ferre Adapt the Wake-on-Lan feature to the Cadence GEM Ethernet controller. This controller has different register layout and cannot be handled by previous code. We disable completely interrupts on all the queues but the queue 0. Handling of WoL interrupt is done in another

[PATCH v6 0/2] net: macb: Wake-on-Lan magic packet GEM and MACB handling

2020-07-13 Thread nicolas.ferre
From: Nicolas Ferre Hi, Here is the second part of support for WoL magic-packet on the current macb driver. This one is addressing the bulk of the feature and is based on current net-next/master. MACB and GEM code must co-exist and as they don't share exactly the same register layout, I had

[PATCH v6 2/2] net: macb: Add WoL interrupt support for MACB type of Ethernet controller

2020-07-13 Thread nicolas.ferre
From: Nicolas Ferre Handle the Wake-on-Lan interrupt for the Cadence MACB Ethernet controller. As we do for the GEM version, we handle of WoL interrupt in a specialized interrupt handler for MACB version that is positionned just between suspend() and resume() calls. Cc: Claudiu Beznea Cc:

Re: [PATCH 4/6] uaccess: remove segment_eq

2020-07-13 Thread Greentime Hu
Christoph Hellwig 於 2020年7月10日 週五 下午9:57寫道: > > segment_eq is only used to implement uaccess_kernel. Just open code > uaccess_kernel in the arch uaccess headers and remove one layer of > indirection. > > Signed-off-by: Christoph Hellwig > --- > arch/alpha/include/asm/uaccess.h | 2 +- >

[PATCH v2 5/9] usb: cdns3: drd: changed return type from int to bool

2020-07-13 Thread Pawel Laszczak
Patch changes return type from int to bool for cdns3_is_host and cdns3_is_device functions. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/drd.c | 16 drivers/usb/cdns3/drd.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH v2 3/9] usb: cnds3: drd: deleted !=

2020-07-13 Thread Pawel Laszczak
Patch deletes unnecessary != from condition statement in cdns3_drd_init function. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/drd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c index 4939a568d8a2..6d2da504ad49

[PATCH v2 2/9] usb: cdns3: drd: removed not needed variables initialization

2020-07-13 Thread Pawel Laszczak
Patch remove some variables initialization from core.c and drd.c file. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/core.c | 4 ++-- drivers/usb/cdns3/drd.c | 19 +-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/usb/cdns3/core.c

[PATCH v2 7/9] usb: cdns3: core: removed 'goto not_otg'

2020-07-13 Thread Pawel Laszczak
Patch removes 'goto not_otg' instruction from cdns3_hw_role_state_machine function. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/core.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index

[PATCH v2 6/9] usb: cdns3: Added CDNS3_ID_PERIPHERAL and CDNS3_ID_HOST

2020-07-13 Thread Pawel Laszczak
Patch adds 2 definitions that make it easier to understand the code. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/drd.c | 4 ++-- drivers/usb/cdns3/drd.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c index

[PATCH v2 0/9] usb: cdns3: Improvements for cdns3 DRD code

2020-07-13 Thread Pawel Laszczak
Series introduce some improvements to drd.c, drd.h and core.c files of cdns3 driver. Except for the first (1/9) patch that removes not needed function, the rest patches make improvements suggested by Dan Carpenter during reviewing CDNSP driver. CDNSP is the next Cadence USBSSP driver which will

[PATCH v2 1/9] usb: cdns3: core: removed cdns3_get_current_role_driver function

2020-07-13 Thread Pawel Laszczak
Function is not used in driver so it can be removed. Signed-off-by: Pawel Laszczak Reviewed-by: Peter Chen --- drivers/usb/cdns3/core.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index 59e5e213a99b..1f77fb5aefbf 100644 ---

[PATCH v2 4/9] usb: cdns3: drd: return IRQ_NONE explicitly.

2020-07-13 Thread Pawel Laszczak
IRQ_NONE can be returned indirect. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/drd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c index 6d2da504ad49..05a9f7d54c46 100644 --- a/drivers/usb/cdns3/drd.c +++

Re: [PATCH 5/6] uaccess: add force_uaccess_{begin,end} helpers

2020-07-13 Thread Greentime Hu
Christoph Hellwig 於 2020年7月10日 週五 下午9:57寫道: > > Add helpers to wraper the get_fs/set_fs magic for undoing any damange > done by set_fs(KERNEL_DS). There is no real functional benefit, but this > documents the intent of these calls better, and will allow stubbing the > functions out easily for

[PATCH v2 9/9] usb: cdns3: drd: simplify *switch_gadet and *switch_host

2020-07-13 Thread Pawel Laszczak
Patch split function cdns3_drd_switch_gadget and cdns3_drd_switch_host into: - cdns3_drd_host_on - cdns3_drd_host_off - cdns3_drd_gadget_on - cdns3_drd_gadgett_off These functions don't have any shared code so it's better to have smaller, faster and easier functions. Signed-off-by: Pawel

[PATCH v2 8/9] usb: cdns3: core: removed overwriting some error code

2020-07-13 Thread Pawel Laszczak
Some error code can be preserved, so we can remove overwriting error code returned by some functions. Signed-off-by: Pawel Laszczak Reviewed-by: Peter Chen --- drivers/usb/cdns3/core.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/cdns3/core.c

RE: [PATCH] phy: renesas: rcar-gen3-usb2: fix SError happen if DEBUG_SHIRQ is enabled

2020-07-13 Thread Yoshihiro Shimoda
Hi Vinod, > From: Vinod Koul, Sent: Monday, July 13, 2020 2:17 PM > > Hi Yoshihiro, > > On 09-07-20, 19:36, Yoshihiro Shimoda wrote: > > If CONFIG_DEBUG_SHIRQ was enabled, r8a77951-salvator-xs could boot > > correctly. If we appended "earlycon keep_bootcon" to the kernel > > command like, we

Re: [PATCH 0/5] arm64: perf: Proper cap_user_time* support

2020-07-13 Thread Will Deacon
Hi Leo, On Mon, Jul 13, 2020 at 02:08:00PM +0800, Leo Yan wrote: > On Tue, May 12, 2020 at 02:40:58PM +0200, Peter Zijlstra wrote: > > Prompted by Leo's patches, here a series that corrects the arm64 perf > > cap_user_time situation. > > I checked the latest mainline kernel code base, found

[PATCH] arm64: dts: ti: k3-*: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] iommu/mediatek: Include liunx/dma-mapping.h

2020-07-13 Thread Joerg Roedel
From: Joerg Roedel This fixes a compile error when cross-compiling the driver on x86-32. Signed-off-by: Joerg Roedel --- drivers/iommu/mtk_iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h index 6ff62452bbf9..122925dbe547 100644

Re: [PATCH RFC] kprobes: Remove MODULES dependency

2020-07-13 Thread Peter Zijlstra
On Mon, Jul 13, 2020 at 08:05:49AM +0300, Jarkko Sakkinen wrote: > On Fri, Jul 10, 2020 at 12:49:10PM +0200, Peter Zijlstra wrote: > > On Fri, Jul 10, 2020 at 01:36:38PM +0300, Jarkko Sakkinen wrote: > > > Just so that I know (and learn), what did exactly disable optprobes? > > > > So regular,

Re: [Freedreno] [v1] drm/msm/dpu: enumerate second cursor pipe for external interface

2020-07-13 Thread kalyan_t
On 2020-07-10 22:19, Rob Clark wrote: On Thu, Jun 25, 2020 at 5:46 AM Kalyan Thota wrote: Setup an RGB HW pipe as cursor which can be used on secondary interface. For SC7180 2 HW pipes are enumerated as cursors 1 - primary interface 2 - secondary interface Signed-off-by: Kalyan Thota ---

Re: WARNING in submit_bio_checks

2020-07-13 Thread Christoph Hellwig
On Fri, Jul 10, 2020 at 10:34:19PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: This is not a crash, but a WARN_ONCE. A pre-existing one that just slightly changed the printed message recently.

[PATCH] atm: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v7 3/3] leds: trigger: implement a tty trigger

2020-07-13 Thread Uwe Kleine-König
Hello Pavel, On Sun, Jul 12, 2020 at 10:24:53AM +0200, Pavel Machek wrote: > > +++ b/drivers/leds/trigger/ledtrig-tty.c > > @@ -0,0 +1,192 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > 2.0+ is preffered. My employer requests GPL-2.0-only for kernel code. > > + while (firstrun || > > +

[PATCH] ASoC: rockchip: spdif: Handle clk by pm runtime

2020-07-13 Thread Sugar Zhang
This patch handle the clk by pm runtime mechanism to simplify the clk management. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_spdif.c | 59 +++-- 1 file changed, 17 insertions(+), 42 deletions(-) diff --git a/sound/soc/rockchip/rockchip_spdif.c

Re: [PATCH v4 4/4] thermal: core: Add notifications call in the framework

2020-07-13 Thread Daniel Lezcano
On 13/07/2020 11:31, Marek Szyprowski wrote: > Hi > > On 07.07.2020 11:15, Marek Szyprowski wrote: >> On 06.07.2020 15:46, Daniel Lezcano wrote: >>> On 06/07/2020 15:17, Marek Szyprowski wrote: On 06.07.2020 12:55, Daniel Lezcano wrote: > The generic netlink protocol is implemented but

Re: [PATCH v5 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-13 Thread Daejun Park
Hi Bean > > Hi Bart, > > > > > > Bart - how do you want to proceed? > > > > > > Hi Avri and Daejun, > > > > > > As far as I can see none of the five patches have Reviewed-by tags > > > yet. I > > > think that Martin expects formal reviews for this patch series from > > > one or > > > more

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