Re: [PATCH] mmc: sdhci_am654: Add workaround for card detect debounce timer

2020-08-05 Thread Faiz Abbas
Hi Adrian, On 05/08/20 1:44 pm, Adrian Hunter wrote: > On 30/07/20 2:41 am, Faiz Abbas wrote: >> There is a one time delay because of a card detect debounce timer in the >> controller IP. This timer runs as soon as power is applied to the module >> regardless of whether a card is present or not an

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Colin Ian King
On 05/08/2020 09:06, Willem de Bruijn wrote: > On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: >> >> >> >> On 8/4/20 5:30 AM, Colin King wrote: >>> From: Colin Ian King >>> >>> The current test will exit with a failure if it cannot set affinity on >>> specific CPUs which is problematic when ru

file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-05 Thread Miklos Szeredi
On Tue, Aug 4, 2020 at 4:36 PM Miklos Szeredi wrote: > I think we already lost that with the xattr API, that should have been > done in a way that fits this philosophy. But given that we have "/" > as the only special purpose char in filenames, and even repetitions > are allowed, it's hard to t

Re: [PATCH 1/4] dt-binding: i2c: add generic properties for GPIO bus recovery

2020-08-05 Thread wsa
On Tue, Aug 04, 2020 at 12:59:23PM +0300, Codrin Ciubotariu wrote: > The I2C GPIO bus recovery properties consist of two GPIOS and one extra > pinctrl state ("gpio" or "recovery"). "recovery" pinctrl state is > considered deprecated and "gpio" should be used instead. > Not all are mandatory for rec

Re: [PATCH] mmc: Some Micron eMMC devices cause reboot to hang

2020-08-05 Thread Ulf Hansson
On Mon, 27 Jul 2020 at 15:07, Alan Cooper wrote: > > On Fri, Jul 24, 2020 at 7:03 AM Ulf Hansson wrote: > > > > On Tue, 21 Jul 2020 at 21:18, Al Cooper wrote: > > > > > > When using eMMC as the boot device, some Micron eMMC devices will > > > cause reboot to hang. This is a result of the eMMC de

Re: [GIT PULL] configfs updates for 5.9

2020-08-05 Thread Christoph Hellwig
On Tue, Aug 04, 2020 at 05:59:19PM -0700, Linus Torvalds wrote: > So again, doing that > > if (file_count(file) > 1) > > kind of check is very very wrong even outside of the fundamental race > with two close() calls at the same time. > > It is a very dangerous pattern, because it likely

[PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Jiang Ying
This patch is used to fix ext4 direct I/O read error when the read size is not aligned with block size. Then, I will use a test to explain the error. (1) Make a file that is not aligned with block size: $dd if=/dev/zero of=./test.jar bs=1000 count=3 (2) I wrote a source file named "direc

Re: [PATCH v2 15/17] memblock: remove unused memblock_mem_size()

2020-08-05 Thread Baoquan He
On 08/02/20 at 07:35pm, Mike Rapoport wrote: > From: Mike Rapoport > > The only user of memblock_mem_size() was x86 setup code, it is gone now and > memblock_mem_size() funciton can be removed. > > Signed-off-by: Mike Rapoport > --- > include/linux/memblock.h | 1 - > mm/memblock.c

Re: [GIT PULL] fork cleanup for v5.9

2020-08-05 Thread Christoph Hellwig
On Tue, Aug 04, 2020 at 01:28:01PM +0200, Christian Brauner wrote: > High-level this does two main things: > 1. Remove the double export of both do_fork() and _do_fork() where do_fork() >used the incosistent legacy clone calling convention. Now we only export >_do_fork() which is based on s

Re: [PATCH v2 4/4] media: i2c: ov5640: Fallback to parallel mode

2020-08-05 Thread Lad, Prabhakar
Hi Sakari, Thank you for the review. On Tue, Aug 4, 2020 at 9:18 AM Sakari Ailus wrote: > > Hi Prabhakar, > > On Mon, Aug 03, 2020 at 03:31:47PM +0100, Lad Prabhakar wrote: > > Fallback to parallel mode if bus_type doesn't match the supported > > interfaces by the driver. > > > > Signed-off-by:

Re: [PATCH 11/23] fs: Add /proc/namespaces/ directory

2020-08-05 Thread kernel test robot
namespaces-lineary/20200730-200346 base:04b4571786305a76ad81757bbec78eb16a5de582 config: i386-randconfig-s001-20200805 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-117-g8c7aee71-dirty # save th

Re: [PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-05 Thread wsa
On Tue, Aug 04, 2020 at 12:59:24PM +0300, Codrin Ciubotariu wrote: > Multiple I2C bus drivers use similar bindings to obtain information needed > for I2C recovery. For example, for platforms using device-tree, the > properties look something like this: > > &i2c { > ... > pinctrl-names

Re: Aw: Re: Re: [PATCH v4 6/6] arm: dts: mt7623: add display subsystem related device nodes

2020-08-05 Thread David Woodhouse
On Wed, 2020-08-05 at 09:27 +0200, Frank Wunderlich wrote: > or should we split dtsi to have a common part (mt7623.dtsi), and one for > soc (mt7623n.dtsi/mt7623a.dtsi)? > > mt7623.dtsi => mt7623n.dtsi => mt7623n-bananapi-bpi-r2.dts > mt7623.dtsi => mt7623a.dtsi => mt7623a-unielec-u7623.dts (not ex

[PATCH v3 1/3] ARM: at91: pm: add support for ULP0 fast wakeup

2020-08-05 Thread Claudiu Beznea
ULP0 fast improves suspend/resume time with few milliseconds the drawback being the power consumption. The mean values measured for suspend/resume time are as follows (measured on SAMA5D2 Xplained board), ULP0 compared with fast ULP0: - ulp0 fast: suspend time: 169 ms, resume time: 216 ms - ulp0

[PATCH v3 2/3] ARM: at91: pm: add per soc validation of pm modes

2020-08-05 Thread Claudiu Beznea
Not all SoCs supports all the PM mode. User may end up settings, e.g. backup mode, on a non SAMA5D2 device, but the mode to not be valid. If backup mode is used on a devices not supporting it there will be no way of resuming other than rebooting. Signed-off-by: Claudiu Beznea --- arch/arm/mach-a

[PATCH v3 3/3] ARM: at91: pm: of_node_put() after its usage

2020-08-05 Thread Claudiu Beznea
Put node after it has been used. Fixes: 13f16017d3e3f ("ARM: at91: pm: Tie the USB clock mask to the pmc") Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 4aaab918f982..9f1101de8

[PATCH] drm: sysfs: Add to get current mode

2020-08-05 Thread Sandy Huang
add this node to get the current true mode. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_sysfs.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 939f0032aab1..f39bcd34853b 100644 --- a/drive

[PATCH v3 0/3] AT91 PM improvements

2020-08-05 Thread Claudiu Beznea
Hi, This series adds ULP0 fast mode intended to reduce the suspend/resume time in the detriment of power consumption (patch 1/3). Along with this patch 2/3 adds code to avoid requesting a PM mode not available on platforms not supporting it. Patch 3/3 decrements a device_node refcount after its us

Re: arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data'

2020-08-05 Thread Thomas Bogendoerfer
On Mon, Aug 03, 2020 at 10:49:10PM +0300, Mike Rapoport wrote: > On Tue, Aug 04, 2020 at 01:39:14AM +0800, kernel test robot wrote: > [...] > > > > All errors (new ones prefixed by >>): > > > >In file included from arch/mips/include/asm/topology.h:11, > > from include/linu

Re: [PATCH v3 4/4] fpga: dfl: add support for N3000 nios private feature

2020-08-05 Thread Xu Yilun
Thanks for your quick response, I'm OK with most changes. Some comments inline. On Tue, Aug 04, 2020 at 08:56:12PM +0800, Wu, Hao wrote: > > Subject: [PATCH v3 4/4] fpga: dfl: add support for N3000 nios private > > feature > > > +#define NIOS_INIT0x1000 > > +#define NIOS_INIT_DONEBIT(0) > > +#de

Re: [PATCH v3 4/4] fpga: dfl: add support for N3000 nios private feature

2020-08-05 Thread Xu Yilun
Thanks for the word smith. I'll add these changes. Thanks, Yilun On Tue, Aug 04, 2020 at 11:45:33AM -0700, Tom Rix wrote: > Some minor edits. > > I have added definitions for fec, kr, and rs. > > Reviewed-by: Tom Rix > > Tom > > > --- /dev/null > > +++ b/Documentation/fpga/dfl-n3000-nios.rst

Re: [PATCH 3/4] i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs

2020-08-05 Thread wsa
On Tue, Aug 04, 2020 at 12:59:25PM +0300, Codrin Ciubotariu wrote: > Even if I2C bus GPIO recovery is optional, devm_gpiod_get() can return > -EPROBE_DEFER, so we should at least treat that. This ends up with > i2c_register_adapter() to be able to return -EPROBE_DEFER. > > Signed-off-by: Codrin Ci

Re: [PATCH 4/4] i2c: at91: Move to generic GPIO bus recovery

2020-08-05 Thread wsa
On Tue, Aug 04, 2020 at 12:59:26PM +0300, Codrin Ciubotariu wrote: > Make the Microchip at91 driver the first to use the generic GPIO bus > recovery support from the I2C core and discard the driver implementation. > > Signed-off-by: Codrin Ciubotariu Applied to for-next, thanks! signature.asc

Re: [PATCH v2] media: rcar-vin: Add support to select data pins for YCbCr422-8bit input

2020-08-05 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, Aug 5, 2020 at 10:01 AM Lad, Prabhakar wrote: > On Tue, Aug 4, 2020 at 4:32 PM Geert Uytterhoeven > wrote: > > On Tue, Aug 4, 2020 at 5:12 PM Lad, Prabhakar > > wrote: > > > On Tue, Aug 4, 2020 at 11:17 AM Geert Uytterhoeven > > > wrote: > > > > On Tue, Aug 4, 2020 at 1

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Willem de Bruijn
On Wed, Aug 5, 2020 at 10:22 AM Colin Ian King wrote: > > On 05/08/2020 09:06, Willem de Bruijn wrote: > > On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: > >> > >> > >> > >> On 8/4/20 5:30 AM, Colin King wrote: > >>> From: Colin Ian King > >>> > >>> The current test will exit with a failure

[PATCH] rtw88: 8821c: Add RFE 2 support

2020-08-05 Thread Kai-Heng Feng
8821CE with RFE 2 isn't supported: [ 12.404834] rtw_8821ce :02:00.0: rfe 2 isn't supported [ 12.404937] rtw_8821ce :02:00.0: failed to setup chip efuse info [ 12.404939] rtw_8821ce :02:00.0: failed to setup chip information It works well if both type0 tables are in use, so add it

Re: [PATCH v11 00/28] Add support for mt2701 JPEG ENC support

2020-08-05 Thread Hans Verkuil
On 04/08/2020 05:40, Xia Jiang wrote: > This patchset add support for mt2701 JPEG ENC support. I'm getting these compile warnings/errors: drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function ‘mtk_jpeg_enc_device_run’: drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:917:27: warning:

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Colin Ian King
On 05/08/2020 09:44, Willem de Bruijn wrote: > On Wed, Aug 5, 2020 at 10:22 AM Colin Ian King > wrote: >> >> On 05/08/2020 09:06, Willem de Bruijn wrote: >>> On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: On 8/4/20 5:30 AM, Colin King wrote: > From: Colin Ian King >>

Re: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-05 Thread Sudeep Holla
On Wed, Aug 05, 2020 at 06:31:20AM +, Jason Liu wrote: > > > > Indeed, the runtime PM ops in that driver looks dodgy. Any calls to mask_irq > > from drivers or anywhere with irqchip suspended with just blows up the > > system. > > If you look at the chip->irq_mask implementation on different pl

Re: [PATCH v2 2/3] ext4: limit the length of per-inode prealloc list

2020-08-05 Thread brookxu
Thx for your reply~. In our application scenario, we format an ext3 file system, and then create a daemon to write data to a sparse file. During the business operation, we found that the sys of some cpu is very high. Using the crash tool, we observe that the length of the prealloc list of the inode

Re: [PATCH 03/20] dt-bindings: ata: renesas,rcar-sata: Add r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document SATA support for the RZ/G2H, no driver change required. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytte

Re: [PATCH] PM: runtime: Add kerneldoc comments to multiple helpers

2020-08-05 Thread Sakari Ailus
Hi Rafael, On Tue, Aug 04, 2020 at 12:15:03PM +0200, Rafael J. Wysocki wrote: > Hi Sakari, > > On Tue, Aug 4, 2020 at 1:05 AM Sakari Ailus > wrote: > > > > Hi Rafael, > > > > On Mon, Aug 03, 2020 at 01:36:52PM +0200, Rafael J. Wysocki wrote: > > > Hi Sakari, > > > > > > On Mon, Aug 3, 2020 at 10

Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting

2020-08-05 Thread Dietmar Eggemann
On 04/08/2020 01:59, Valentin Schneider wrote: > > On 03/08/20 20:22, Thomas Gleixner wrote: >> Valentin, >> >> Valentin Schneider writes: >>> On 03/08/20 16:13, Thomas Gleixner wrote: Vladimir Oltean writes: >> 1) When irq accounting is disabled, RT throttling kicks in as >> e

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Jan Kara
Note to stable tree maintainers (summary from the rather long changelog): This is a non-upstream patch. It will not go upstream because the problem there has been fixed by converting ext4 to use iomap infrastructure. However that change is out of scope for stable kernels and this is a minimal fix f

Aw: Re: Re: Re: [PATCH v4 6/6] arm: dts: mt7623: add display subsystem related device nodes

2020-08-05 Thread Frank Wunderlich
> Gesendet: Mittwoch, 05. August 2020 um 10:36 Uhr > Von: "David Woodhouse" > > mt7623.dtsi => mt7623n.dtsi => mt7623n-bananapi-bpi-r2.dts > > mt7623.dtsi => mt7623a.dtsi => mt7623a-unielec-u7623.dts (not existing yet, > > openwrt seems to use a board-specific dtsi) > > Yes, I think we should. i

Re: [PATCH] ARM: at91: pm: remove unnecessary at91sam9x60_idle

2020-08-05 Thread Claudiu.Beznea
On 04.08.2020 14:56, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > cpu_do_idle() is already the default action for arm_pm_idle, there is no > need to open code it. > > Signed-off-by: Alexandre Belloni Reviewed-by:

Re: [PATCH v2 3/3] ext4: add needed paramter to ext4_mb_discard_preallocations trace

2020-08-05 Thread brookxu
Thanks, this is a good suggestion, and I will merged this patch with the previous patch. Thanks Andreas Dilger wrote on 2020/8/5 12:54: > On Aug 4, 2020, at 7:02 PM, brookxu wrote: >> Add the needed value to ext4_mb_discard_preallocations trace, so >> we can more easily observe the requested nu

Re: [PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-05 Thread wsa
Codrin, everyone > This patch series was previously sent as a RFC. Significant changes > since RFC: > - "recovery" pinctrl state marked as deprecared in bindings; > - move to "gpio" pinctrl state done after the call to prepare_recovery() > callback; > - glitch protection when SDA gpio is taken a

Re: [PATCH 05/20] dt-bindings: phy: renesas,usb2-phy: Add r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document SoC specific bindings for RZ/G2H (r8a774e1) SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

binfmt_elf: simplify error handling in load_elf_phdrs()

2020-08-05 Thread Rolf Eike Beer
--- fs/binfmt_elf.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 251298d25c8c..64b4b47448af 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -434,7 +434,7 @@ static struct elf_phdr *load_elf_phdrs(const struct elfhdr *

Re: [PATCH 01/20] dt-bindings: pci: rcar-pci: Add device tree support for r8a774e1

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:18 PM Lad Prabhakar wrote: > Add PCIe support for the RZ/G2H (a.k.a. R8A774E1). > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- The

[PATCH] staging: wfx: refactor to avoid duplication at hif_tx.c

2020-08-05 Thread Tomer Samara
Add functions wfx_full_send(), wfx_full_send_no_reply_async(), wfx_full_send_no_reply() and wfx_full_send_no_reply_free() which works as follow: wfx_full_send() - simple wrapper for both wfx_fill_header() and wfx_cmd_send(). wfx_full_send_no_reply_async() - wrapper for both but wi

Re: [PATCH v2 2/4] i2c: mediatek: Add access to more than 8GB dram in i2c driver

2020-08-05 Thread wsa
> > > -static inline u32 mtk_i2c_set_4g_mode(dma_addr_t addr) > > > -{ > > > - return (addr & BIT_ULL(32)) ? I2C_DMA_4G_MODE : I2C_DMA_CLR_FLAG; > > > > I think you missed my comment in the last version: > > I2C_DMA_4G_MODE is no longer needed, you can delete it. > > > > Regards, > > Matthias >

Re: [PATCH 07/20] dt-bindings: usb: renesas,usb3-peri: Document r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

[PATCH v2] scripts: coccicheck: Add chain mode to list of modes

2020-08-05 Thread Sumera Priyadarsini
This patch adds chain mode to the list of available modes in coccicheck. Signed-off-by: Sumera Priyadarsini --- Changes in v2: - Change coccinelle to coccicheck as suggested by Julia Lawall. --- scripts/coccicheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script

Re: [net v3] drivers/net/wan/lapbether: Use needed_headroom instead of hard_header_len

2020-08-05 Thread Xie He
On Tue, Aug 4, 2020 at 10:23 PM Martin Schiller wrote: > > > Adding skb_cow before these skb_push calls would indeed help > > preventing kernel panics, but that might not be the essential issue > > here, and it might also prevent us from discovering the real issue. (I > > guess this is also the re

Re: [PATCH 08/20] dt-bindings: usb: usb-xhci: Document r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document r8a774e1 xhci support. The driver will use the fallback > compatible string "renesas,rcar-gen3-xhci", therefore no driver > change is needed. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- > Docume

Re: [PATCH] net: openvswitch: silence suspicious RCU usage warning

2020-08-05 Thread Paolo Abeni
On Wed, 2020-08-05 at 15:19 +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > ovs_flow_tbl_destroy always is called from RCU callback > or error path. It is no need to check if rcu_read_lock > or lockdep_ovsl_is_held was held. > > ovs_dp_cmd_fill_info always is called with ovs_mut

Re: [PATCH 09/20] dt-bindings: phy: renesas,usb3-phy: Add r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [PATCH 11/20] dt-bindings: usb: renesas,usbhs: Add r8a774e1 support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [PATCH 12/20] dt-bindings: dma: renesas,usb-dmac: Add binding for r8a774e1

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Add binding for R8A774E1 SoC (RZ/G2H). > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of

Re: [PATCH] staging: wfx: refactor to avoid duplication at hif_tx.c

2020-08-05 Thread Greg KH
On Wed, Aug 05, 2020 at 11:56:08AM +0300, Tomer Samara wrote: > Add functions wfx_full_send(), wfx_full_send_no_reply_async(), > wfx_full_send_no_reply() and wfx_full_send_no_reply_free() > which works as follow: > wfx_full_send() - simple wrapper for both wfx_fill_header() > and

Re: [PATCH 14/20] dt-bindings: sound: renesas,rsnd: Document r8a774e1 bindings

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:20 PM Lad Prabhakar wrote: > Document SoC specific bindings for RZ/G2H (r8a774e1) SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH 5/9] rpmsg: introduce reserved rpmsg driver for ns announcement

2020-08-05 Thread kernel test robot
Hi Arnaud, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200730] [also build test WARNING on v5.8] [cannot apply to linux/master linus/master rpmsg/for-next v5.8-rc7 v5.8-rc6 v5.8-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. A

[PATCH] USB: lvtest: return proper error code in probe

2020-08-05 Thread Evgeny Novikov
lvs_rh_probe() can return some nonnegative value from usb_control_msg() when it is less than "USB_DT_HUB_NONVAR_SIZE + 2" that is considered as a failure. Make lvs_rh_probe() return -EINVAL in this case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov

Re: [PATCH v2 0/2] TypeC Connector Class driver improvements

2020-08-05 Thread Heikki Krogerus
On Thu, Jul 30, 2020 at 03:56:07PM -0700, Azhar Shaikh wrote: > Changes in v2: > * Patch 1: "platform/chrome: cros_ec_typec: Send enum values to > usb_role_switch_set_role()" > * Update the commit message to change 'USB_ROLE_HOST in case of > UFP.' to 'USB_ROLE_HOST in case of DF

[no subject]

2020-08-05 Thread robert
Good day my good friend. How are you doing today? It has been long i hear from you, what is going on your side? Today i am very much happy to inform you about my success in getting those inheritance funds transferred under the co-operation of a new partner from India Asia. He is a Canadian but bas

[PATCH v6 00/18] Add support for Nitro Enclaves

2020-08-05 Thread Andra Paraschiv
Nitro Enclaves (NE) is a new Amazon Elastic Compute Cloud (EC2) capability that allows customers to carve out isolated compute environments within EC2 instances [1]. For example, an application that processes sensitive data and runs in a VM, can be separated from other applications running in the

[PATCH v6 01/18] nitro_enclaves: Add ioctl interface definition

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves driver handles the enclave lifetime management. This includes enclave creation, termination and setting up its resources such as memory and CPU. An enclave runs alongside the VM that spawned it. It is abstracted as a process running in the VM that launched it. The process intera

[PATCH v6 02/18] nitro_enclaves: Define the PCI device interface

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves (NE) driver communicates with a new PCI device, that is exposed to a virtual machine (VM) and handles commands meant for handling enclaves lifetime e.g. creation, termination, setting memory regions. The communication with the PCI device is handled using a MMIO space and MSI-X in

Re: [PATCH v2 16/17] memblock: implement for_each_reserved_mem_region() using __next_mem_region()

2020-08-05 Thread Baoquan He
On 08/02/20 at 07:36pm, Mike Rapoport wrote: > From: Mike Rapoport > > Iteration over memblock.reserved with for_each_reserved_mem_region() used > __next_reserved_mem_region() that implemented a subset of > __next_mem_region(). > > Use __for_each_mem_range() and, essentially, __next_mem_region()

drivers/usb/host/ohci-sm501.c:177:20: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-05 Thread kernel test robot
ago config: openrisc-randconfig-s031-20200805 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

RE: [PATCH v3 4/4] fpga: dfl: add support for N3000 nios private feature

2020-08-05 Thread Wu, Hao
> Subject: Re: [PATCH v3 4/4] fpga: dfl: add support for N3000 nios private > feature > > Thanks for your quick response, I'm OK with most changes. Some comments > inline. > > On Tue, Aug 04, 2020 at 08:56:12PM +0800, Wu, Hao wrote: > > > Subject: [PATCH v3 4/4] fpga: dfl: add support for N3000 n

[PATCH v6 05/18] nitro_enclaves: Handle PCI device command requests

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves PCI device exposes a MMIO space that this driver uses to submit command requests and to receive command replies e.g. for enclave creation / termination or setting enclave resources. Add logic for handling PCI device command requests based on the given command type. Register an

[PATCH v6 04/18] nitro_enclaves: Init PCI device driver

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves PCI device is used by the kernel driver as a means of communication with the hypervisor on the host where the primary VM and the enclaves run. It handles requests with regard to enclave lifetime. Setup the PCI device driver and add support for MSI-X interrupts. Signed-off-by: A

[PATCH v6 06/18] nitro_enclaves: Handle out-of-band PCI device events

2020-08-05 Thread Andra Paraschiv
In addition to the replies sent by the Nitro Enclaves PCI device in response to command requests, out-of-band enclave events can happen e.g. an enclave crashes. In this case, the Nitro Enclaves driver needs to be aware of the event and notify the corresponding user space process that abstracts the

[PATCH v6 03/18] nitro_enclaves: Define enclave info for internal bookkeeping

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves driver keeps an internal info per each enclave. This is needed to be able to manage enclave resources state, enclave notifications and have a reference of the PCI device that handles command requests for enclave lifetime management. Signed-off-by: Alexandru-Catalin Vasile Sign

[PATCH v6 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-08-05 Thread Andra Paraschiv
The Nitro Enclaves driver provides an ioctl interface to the user space for enclave lifetime management e.g. enclave creation / termination and setting enclave resources such as memory and CPU. This ioctl interface is mapped to a Nitro Enclaves misc device. Signed-off-by: Andra Paraschiv --- Cha

[PATCH v6 11/18] nitro_enclaves: Add logic for setting an enclave memory region

2020-08-05 Thread Andra Paraschiv
Another resource that is being set for an enclave is memory. User space memory regions, that need to be backed by contiguous memory regions, are associated with the enclave. One solution for allocating / reserving contiguous memory regions, that is used for integration, is hugetlbfs. The user spac

[PATCH v6 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-08-05 Thread Andra Paraschiv
An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during the pool setup and online them back during the NE CPU pool teardown. The CPU offline is necessary so that the

[PATCH v6 08/18] nitro_enclaves: Add logic for creating an enclave VM

2020-08-05 Thread Andra Paraschiv
Add ioctl command logic for enclave VM creation. It triggers a slot allocation. The enclave resources will be associated with this slot and it will be used as an identifier for triggering enclave run. Return a file descriptor, namely enclave fd. This is further used by the associated user space en

[PATCH v6 12/18] nitro_enclaves: Add logic for starting an enclave

2020-08-05 Thread Andra Paraschiv
After all the enclave resources are set, the enclave is ready for beginning to run. Add ioctl command logic for starting an enclave after all its resources, memory regions and CPUs, have been set. The enclave start information includes the local channel addressing - vsock CID - and the flags asso

[PATCH v6 10/18] nitro_enclaves: Add logic for getting the enclave image load info

2020-08-05 Thread Andra Paraschiv
Before setting the memory regions for the enclave, the enclave image needs to be placed in memory. After the memory regions are set, this memory cannot be used anymore by the VM, being carved out. Add ioctl command logic to get the offset in enclave memory where to place the enclave image. Then th

[PATCH v6 16/18] nitro_enclaves: Add sample for ioctl interface usage

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Alexandru Vasile Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * Remove "rc" mentioning when printing errno string. * Remove the ioctl to query API version. * Include usage info for NUMA-aware hugetlb configuration. * Update documentation to kernel-doc format. * Add logic

[PATCH v6 15/18] nitro_enclaves: Add Makefile for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv Reviewed-by: Alexander Graf --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * No changes. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Makefile to match the dr

[PATCH v2] ACPI / APEI: do memory failure on the physical address reported by ARM processor error section

2020-08-05 Thread Xiaofei Tan
After the commit 8fcc4ae6faf8 ("arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work") applied, user-mode SEA is preferentially processed by APEI. Do memory failure to recover. But there are some problems: 1) The function apei_claim_sea() has processed an CPER, does not mean that me

[PATCH v6 18/18] MAINTAINERS: Add entry for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * No changes. v2 -> v3 * Update file entries to be in alphabetical order. v1 -> v2 * No changes. --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAI

RE: [PATCH v3 1/4] fpga: dfl: change data type of feature id to u16

2020-08-05 Thread Wu, Hao
> Subject: [PATCH v3 1/4] fpga: dfl: change data type of feature id to u16 > > The feature id is stored in a 12 bit field in DFH. So a u16 variable is > enough for feature id. > > This patch changes all feature id related places to fit u16. > > Signed-off-by: Xu Yilun > Reviewed-by: Tom Rix A

[PATCH v6 17/18] nitro_enclaves: Add overview documentation

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * Update doc type from .txt to .rst. * Update documentation based on the changes from v4. v2 -> v3 * No changes. v1 -> v2 * New in v2. --- Documentation/nitro_enclaves/ne_overview.rst | 8

[PATCH v6 14/18] nitro_enclaves: Add Kconfig for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * Add arch dependency for Arm / x86. v3 -> v4 * Add PCI and SMP dependencies. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Kconfig to m

[PATCH v6 13/18] nitro_enclaves: Add logic for terminating an enclave

2020-08-05 Thread Andra Paraschiv
An enclave is associated with an fd that is returned after the enclave creation logic is completed. This enclave fd is further used to setup enclave resources. Once the enclave needs to be terminated, the enclave fd is closed. Add logic for enclave termination, that is mapped to the enclave fd rel

Re: [PATCH v2 2/3] ext4: limit the length of per-inode prealloc list

2020-08-05 Thread brookxu
Add more... , As we expected, the running time of the test process is reduced significantly. Running time on unrepaired kernel: [root@TENCENT64 ~]# time taskset 0x01 ./sparse /data1/sparce.dat real    0m2.051s user    0m0.008s sys    0m2.026s Running time on repaired kernel: [root@TENCENT64 ~]# t

Re: [PATCH v1] i2c: eg20t: use generic power management

2020-08-05 Thread Wolfram Sang
On Mon, Jul 20, 2020 at 07:30:32PM +0530, 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 and powerful support of generic PM, PCI Core takes care of > above menti

Re: [PATCH] i2c: iproc: fix race between client unreg and isr

2020-08-05 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:43:40PM -0700, Ray Jui wrote: > > > On 7/27/2020 1:26 PM, Wolfram Sang wrote: > > On Mon, Jul 27, 2020 at 08:13:46PM +0200, Wolfram Sang wrote: > >> > >>> Can you confirm that even if we have irq pending at the i2c IP core > >>> level, as long as we execute Step 2. belo

Re: [PATCH v3] block: check queue's limits.discard_granularity in __blkdev_issue_discard()

2020-08-05 Thread Jinpu Wang
Hi Coly, one question below: Coly Li 于2020年8月5日周三 上午8:36写道: > > If create a loop device with a backing NVMe SSD, current loop device > driver doesn't correctly set its queue's limits.discard_granularity and > leaves it as 0. If a discard request at LBA 0 on this loop device, in > __blkdev_issue_

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

2020-08-05 Thread Wolfram Sang
> Yes, I've chosen "the easy way" of git commit --amend: > Editing the patch file. > I this a problem? Usually, yes. It can easily create inconsitencies which make me as a maintainer suspicious. signature.asc Description: PGP signature

fs/pstore/ram_core.c:542:36: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4da9f3302615f4191814f826054846bf843e24fa commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: arc-randconfig-s032-20200805 (attached

Re: [PATCH] i2c: bcm2835: Replace HTTP links with HTTPS ones

2020-08-05 Thread wsa
On Fri, Jul 17, 2020 at 08:52:47PM +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

drivers/hwmon/pc87427.c:188:9: sparse: sparse: cast removes address space '__iomem' of expression

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4da9f3302615f4191814f826054846bf843e24fa commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: riscv-randconfig-s032-20200805

[PATCH] powerpc/drmem: Don't compute the NUMA node for each LMB

2020-08-05 Thread Laurent Dufour
All the LMB from the same set of ibm,dynamic-memory-v2 property are sharing the same NUMA node. Don't compute that node for each one. Tested on a system with 1022 LMBs spread on 4 NUMA nodes, only 4 calls to lmb_set_nid() have been made instead of 1022. This should prevent some soft lockups when

Re: [PATCH v2 17/17] memblock: use separate iterators for memory and reserved regions

2020-08-05 Thread Baoquan He
On 08/02/20 at 07:36pm, Mike Rapoport wrote: > From: Mike Rapoport > > for_each_memblock() is used to iterate over memblock.memory in > a few places that use data from memblock_region rather than the memory > ranges. > > Introduce separate for_each_mem_region() and for_each_reserved_mem_region()

Re: [PATCH] i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

2020-08-05 Thread wsa
On Tue, Jun 16, 2020 at 07:41:30PM -0400, Jeffrey Lin wrote: > Value of /sys/devices/platform/lis3lv02d/position when > Horizontal: (36,-108,-1152) > Left elevated: (-432,-126,-1062) > Front elevated: (36,594,-936) > Upside down:(-126,-252,1098) > > Signed-off-by: Jeffrey

Re: [net v3] drivers/net/wan/lapbether: Use needed_headroom instead of hard_header_len

2020-08-05 Thread Willem de Bruijn
On Wed, Aug 5, 2020 at 10:57 AM Xie He wrote: > > On Tue, Aug 4, 2020 at 10:23 PM Martin Schiller wrote: > > > > > Adding skb_cow before these skb_push calls would indeed help > > > preventing kernel panics, but that might not be the essential issue > > > here, and it might also prevent us from d

Re: [PATCH 5.7 000/116] 5.7.13-rc3 review

2020-08-05 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 12:24:18PM -0700, Guenter Roeck wrote: > On Tue, Aug 04, 2020 at 10:53:53AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 116 patches in this series, all will be posted as a response > > to this one.

[PATCH v2 1/7] perf tools: Move parse_clockid into clockid object

2020-08-05 Thread Jiri Olsa
Move parse_clockid and all needed clcckid related stuff into clockid object. We are going to add clockid_name function in following change, so it's better it's placed in separated object and not in builtin-record.c. No functional change is intended. Signed-off-by: Jiri Olsa --- tools/perf/built

[PATCH v2 0/7] perf tools: Add wallclock time conversion support

2020-08-05 Thread Jiri Olsa
hi, this patchset is based on changes made by David Ahern long time ago. The perf code moved a lot since then, but the idea is the same. The patchset is adding the ability to display TOD/wallclock timestamp in 'perf script' output and in 'perf data convert --to-ctf' subcommand, so the converted CT

[PATCH v2 3/7] perf tools: Store clock references for -k/--clockid option

2020-08-05 Thread Jiri Olsa
Adding new CLOCK_DATA feature that stores reference times when -k/--clockid option is specified. It contains clock id and its reference time together with wall clock time taken at the 'same time', both values are in nanoseconds. The format of data is as below: struct { u32 version; /*

Re: [PATCH 5.7 000/116] 5.7.13-rc3 review

2020-08-05 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 02:21:31PM -0600, Shuah Khan wrote: > On 8/4/20 2:53 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 116 patches in this series, all will be posted as a response > > to this one. If anyone has any issues w

[PATCH v2 2/7] perf tools: Add clockid_name function

2020-08-05 Thread Jiri Olsa
Adding clockid_name function to get the clock name based on its clockid. It will be used in following changes. Signed-off-by: Jiri Olsa --- tools/perf/util/clockid.c | 11 +++ tools/perf/util/clockid.h | 2 ++ 2 files changed, 13 insertions(+) diff --git a/tools/perf/util/clockid.c b/t

Re: [PATCH v6] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-08-05 Thread Rafael J. Wysocki
Hi Doug, On Tue, Aug 4, 2020 at 7:07 PM Doug Smythies wrote: > > Hi Rafael, > > I was just writing you about V5 when this V6 came. > > On 2020.08.04 08:11 Rafael J. Wysocki wrote: > ... > > This is on top of the material already in the mainline. > > Oh, should have read that part better, > but di

  1   2   3   4   5   6   7   8   9   10   >