Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-25 Thread Nathan Chancellor
On Fri, Jan 25, 2019 at 11:34:19PM -0800, Nick Desaulniers wrote: > On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor > wrote: > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > W= is not provided but this Makefile adds -Wall after this warning is > > disabled so

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 15:10, Tetsuo Handa wrote: > On 2019/01/26 11:41, Arkadiusz Miśkiewicz wrote: >> dmesg: >> http://ixion.pld-linux.org/~arekm/cgroup-oom-2.txt OK. There is a refcount leak bug in wake_oom_reaper() which became visible by enabling oom_group setting. static void wake_oom_reaper(struct

[PATCH v4] scsi/ata: Use unsigned int for cmd's type in ioctls in scsi_host_template

2019-01-25 Thread Nathan Chancellor
Clang warns several times in the scsi subsystem (trimmed for brevity): drivers/scsi/hpsa.c:6209:7: warning: overflow converting case value to switch condition type (2147762695 to 18446744071562347015) [-Wswitch] case CCISS_GETBUSTYPES: ^ drivers/scsi/hpsa.c:6208:7: warning:

Re: [PATCH 1/2] spi: support inter-word delay requirement for devices

2019-01-25 Thread Jonas Bonn
On 25/01/2019 18:50, Mark Brown wrote: On Fri, Jan 25, 2019 at 05:47:13PM +, Mark Brown wrote: On Fri, Jan 25, 2019 at 01:06:45PM +0100, Jonas Bonn wrote: Having this as device property rather than a transfer property allows this to be configured one time in setup() rather than having

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-25 Thread Nick Desaulniers
On Fri, Jan 25, 2019 at 11:34 PM Nick Desaulniers wrote: > > On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor > wrote: > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > W= is not provided but this Makefile adds -Wall after this warning is > > disabled so it

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-25 Thread Nick Desaulniers
On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor wrote: > > This warning is disabled by default in scripts/Makefile.extrawarn when > W= is not provided but this Makefile adds -Wall after this warning is > disabled so it shows up in the build when it shouldn't: > > In file included from

Re: LTP case read_all_proc fails on qemux86-64 since 5.0-rc1

2019-01-25 Thread He Zhe
On 1/26/19 3:32 AM, Jens Axboe wrote: > On 1/24/19 8:20 PM, Jens Axboe wrote: >> On 1/24/19 8:14 PM, He Zhe wrote: >>> On 1/25/19 10:26 AM, Jens Axboe wrote: On 1/24/19 7:22 PM, He Zhe wrote: > On 1/25/19 10:05 AM, Jens Axboe wrote: >> On 1/24/19 6:40 PM, He Zhe wrote: >>> On

From Mike Anderson,

2019-01-25 Thread Mike Anderson
Attn Dear: I write to you based on a request by an investor from Middle-east who wants to invest in any lucrative investment with you and your company or outside your country. He is looking for Joint Partnership who can manage fund based on his investment experience. My name is Mr. Mike

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-25 Thread Nathan Chancellor
On Sat, Jan 26, 2019 at 12:11:23AM -0700, Nathan Chancellor wrote: > This warning is disabled by default in scripts/Makefile.extrawarn when > W= is not provided but this Makefile adds -Wall after this warning is > disabled so it shows up in the build when it shouldn't: > > In file included from

[PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-25 Thread Nathan Chancellor
This warning is disabled by default in scripts/Makefile.extrawarn when W= is not provided but this Makefile adds -Wall after this warning is disabled so it shows up in the build when it shouldn't: In file included from drivers/gpu/drm/i915/intel_breadcrumbs.c:895:

Send photos to start

2019-01-25 Thread Carol
Send the photos to start editing. We can do white background for your photos, can add clipping path if needed. We can also sharpen your photos also give retouching. If you have the photos ready, please send a test photo to start. Thanks, Carol

[PATCH RESEND] libosd: Remove ignored __weak attribute

2019-01-25 Thread Nathan Chancellor
Clang warns that the __weak attribute is going to be ignored on osd_root_object because it's not in the correct location (needs to be after the type). ./include/scsi/osd_types.h:31:21: warning: 'weak' attribute only applies to variables, functions, and classes [-Wignored-attributes] static const

linux-5.0-rc3, ti-soc-thermal: unmet dependencies Kconfig warning

2019-01-25 Thread Randy Dunlap
Hi, FYI, I'm seeing this Kconfig warning in 5.0-rc3: WARNING: unmet direct dependencies detected for TI_SOC_THERMAL Depends on [n]: THERMAL [=y] && (ARCH_HAS_BANDGAP || COMPILE_TEST [=n]) && HAS_IOMEM [=y] Selected by [m]: - MMC_SDHCI_OMAP [=m] && MMC [=m] && MMC_SDHCI_PLTFM [=m] && OF

[PATCH RESEND] fs/exofs: Remove ignored __weak attribute

2019-01-25 Thread Nathan Chancellor
Clang warns that the __weak attribute is going to be ignored on g_attr_inode_data because it's not in the correct location (needs to be after the type). In file included from fs/exofs/dir.c:35: In file included from fs/exofs/exofs.h:41: fs/exofs/common.h:186:21: warning: 'weak' attribute only

Re: [PATCH v3 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Chao Yu
On 2019/1/26 11:48, Gao Xiang wrote: > From: Gao Xiang > > Let's add .get_acl() to read the file's acl from its xattrs > to make POSIX ACL usable. > > Here is the on-disk detail, > fullname: system.posix_acl_access > struct erofs_xattr_entry: > .e_name_len = 0 > .e_name_index =

[PATCH] ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized

2019-01-25 Thread Yizhuo
In function omap4_dsi_mux_pads(), local variable "reg" could be uninitialized if function regmap_read() returns -EINVAL. However, it will be used directly in the later context, which is potentially unsafe. Signed-off-by: Yizhuo --- arch/arm/mach-omap2/display.c | 7 ++- 1 file changed, 6

Re: [PATCH v3 0/3] adt7316 regmap implementation

2019-01-25 Thread Shreeya Patel
On Sat, 2019-01-26 at 10:42 +0530, Shreeya Patel wrote: > On Fri, 2019-01-25 at 18:22 -0700, Jeremy Fertic wrote: > > On Sun, Jan 20, 2019 at 09:06:30PM +0530, Shreeya Patel wrote: > > > This patchset consist of some initial patches for heading > > > towards the regmap implementation and also the

[PATCH] regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803

2019-01-25 Thread Vasily Khoruzhick
Looks like refactoring didn't go well and left ALDO2, DLDO2 and ELDO3 definitions broken for AXP803 - now they are using register address instead of mask. Fix it by using mask where necessary. Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks") Signed-off-by: Vasily Khoruzhick ---

[PATCH] irqchip/gic-v3-its: Lock its device list during find and create its device

2019-01-25 Thread Zheng Xiang
Currently each PCI device under a PCI Bridge shares the same device id and ITS device. Assume there are two PCI devices call its_msi_prepare concurrently and they are both going to find and create their ITS device. There is a chance that the later one couldn't find ITS device before the other one

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 11:41, Arkadiusz Miśkiewicz wrote: > dmesg: > http://ixion.pld-linux.org/~arekm/cgroup-oom-2.txt What is wrong with this output? It seems to me that the OOM killer is killing processes as soon as python 3 fork()s one. Although "potentially unexpected fatal signal 7." messages due to

Re: [RFC] Loading BTF and pretty printing maps with bpftool

2019-01-25 Thread Martin Lau
On Fri, Jan 25, 2019 at 11:20:57AM +0100, Arnaldo Carvalho de Melo wrote: > # bpftool version > bpftool v5.0.0-rc3 > # > > # bpftool prog | tail -6 > 309: tracepoint name sys_enter tag 819967866022f1e1 gpl > loaded_at 2019-01-25T11:05:41+0100 uid 0 > xlated 528B jited

Send photos to start

2019-01-25 Thread Carol
Send the photos to start editing. We can do white background for your photos, can add clipping path if needed. We can also sharpen your photos also give retouching. If you have the photos ready, please send a test photo to start. Thanks, Carol

Re: [PATCH v3 0/3] adt7316 regmap implementation

2019-01-25 Thread Shreeya Patel
On Fri, 2019-01-25 at 18:22 -0700, Jeremy Fertic wrote: > On Sun, Jan 20, 2019 at 09:06:30PM +0530, Shreeya Patel wrote: > > This patchset consist of some initial patches for heading > > towards the regmap implementation and also the final patch > > which enables the driver to use regmap API thus

Re: [PATCH] tty: Fix WARNING in tty_set_termios

2019-01-25 Thread Al Viro
On Fri, Jan 25, 2019 at 04:29:05PM -0700, Shuah Khan wrote: > tty_set_termios() has the following WARMN_ON which can be triggered with a > syscall to invoke TIOCGETD __NR_ioctl. > > WARN_ON(tty->driver->type == TTY_DRIVER_TYPE_PTY && > tty->driver->subtype == PTY_TYPE_MASTER); >

[PATCH 3/5] arm64: dts: bitmain: Add BM1880 SoC support

2019-01-25 Thread Manivannan Sadhasivam
Add devicetree support for Bitmain BM1880 SoC, consisting of a Dual core ARM Cortex A53 subsystem, a Single core RISC-V subsystem and a Tensor Processor subsystem. Only ARM Cortex A53 Application processor subsystem support is enabled for now. Signed-off-by: Manivannan Sadhasivam ---

[PATCH 4/5] arm64: dts: bitmain: Add Sophon Egde board support

2019-01-25 Thread Manivannan Sadhasivam
Add devicetree support for Sophon Edge board from Bitmain based on BM1880 SoC. This board is one of the 96Boards Consumer and AI platform. More information about this board can be found in 96Boards product page: https://www.96boards.org/documentation/consumer/sophon-edge/ Only UART peripheral

[PATCH 5/5] MAINTAINERS: Add entry for Bitmain SoC platform

2019-01-25 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Bitmain SoC platform with myself as the Maintainer. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 51029a425dbe..da85ffe5e3f4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH 2/5] arm64: Add ARCH_BITMAIN platform

2019-01-25 Thread Manivannan Sadhasivam
Add ARCH_BITMAIN for supporting Bitmain SoC platforms. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/Kconfig.platforms | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 251ecf34cb02..6bb7db9126f7 100644 ---

[PATCH 1/5] dt-bindings: arm: Document Bitmain BM1880 SoC

2019-01-25 Thread Manivannan Sadhasivam
Document Bitmain BM1880 SoC from Bitmain Technologies Ltd along with the Sophon Edge board. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/arm/bitmain.yaml | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[PATCH 0/5] Add initial Bitmain BM1880 SoC/Board support

2019-01-25 Thread Manivannan Sadhasivam
Hello, This patchset adds initial support for Bitmain BM1880 SoC and Sophon Edge board. BM1880 SoC consists of a Dual Core ARM Cortex A53 Application processor subsystem, a single core RISC-V subsystem and a Tensor Processor subsystem. This patchset adds support for only ARM Cortex A53

[PATCH RESEND] ARM: Ensure that NEON code always compiles with Clang

2019-01-25 Thread Nathan Chancellor
While building arm32 allyesconfig, I ran into the following errors: arch/arm/lib/xor-neon.c:17:2: error: You should compile this file with '-mfloat-abi=softfp -mfpu=neon' In file included from lib/raid6/neon1.c:27: /home/nathan/cbl/prebuilt/lib/clang/8.0.0/include/arm_neon.h:28:2:

[PATCH V3 1/3] i2c: tegra: Sort all the include headers alphabetically

2019-01-25 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C tegra driver Signed-off-by: Sowjanya Komatineni --- [V3] : Removed unsued headers in tegra I2C [V2] : Added this in V2 to sort the headers in tegra I2C drivers/i2c/busses/i2c-tegra.c | 20 +--- 1 file

[PATCH V3 3/3] i2c: tegra: Add DMA Support

2019-01-25 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's

[PATCH V3 2/3] i2c: tegra: Update transfer timeout

2019-01-25 Thread Sowjanya Komatineni
Update I2C transfer timeout based on transfer bytes and I2C bus rate to allow enough time during max transfer size based on the speed. Signed-off-by: Sowjanya Komatineni --- [V3] : Same as V2 [V2] : Added this patch in V2 series to allow enough time for data transfer to happen.

Send photos to start

2019-01-25 Thread Carol
Send the photos to start editing. We can do white background for your photos, can add clipping path if needed. We can also sharpen your photos also give retouching. If you have the photos ready, please send a test photo to start. Thanks, Carol

[PATCH v3 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Gao Xiang
From: Gao Xiang Let's add .get_acl() to read the file's acl from its xattrs to make POSIX ACL usable. Here is the on-disk detail, fullname: system.posix_acl_access struct erofs_xattr_entry: .e_name_len = 0 .e_name_index = EROFS_XATTR_INDEX_POSIX_ACL_ACCESS (2) fullname:

[PATCH v3 1/2] staging: erofs: use xattr_prefix to wrap up

2019-01-25 Thread Gao Xiang
From: Gao Xiang Let's use xattr_prefix instead of open code. No logic changes. Reviewed-by: Chao Yu Signed-off-by: Gao Xiang --- drivers/staging/erofs/xattr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/erofs/xattr.c b/drivers/staging/erofs/xattr.c

Re: [PATCH] drm/amd/display: Pass app_tf by value rather than by reference

2019-01-25 Thread Nathan Chancellor
On Fri, Dec 14, 2018 at 08:09:00PM +, Wentland, Harry wrote: > On 2018-12-11 5:07 p.m., Nick Desaulniers wrote: > > On Tue, Dec 11, 2018 at 1:42 PM Nathan Chancellor > > wrote: > >> > >> On Tue, Dec 11, 2018 at 01:25:00PM -0800, Nick Desaulniers wrote: > >>> On Mon, Dec 10, 2018 at 3:42 PM

Re: [PATCH 1/3] input: misc: bma150: Use managed resources helpers

2019-01-25 Thread Jonathan Bakker
On 2019-01-25 5:29 p.m., Dmitry Torokhov wrote: > On Fri, Jan 25, 2019 at 07:43:58PM +0100, Paweł Chmiel wrote: >> From: Jonathan Bakker >> >> The driver can be cleaned up by using managed resource helpers >> >> Signed-off-by: Jonathan Bakker >> Signed-off-by: Paweł Chmiel >> --- >>

[PATCH 6/8] regulator: lp87565: Constify lp87565_buck_ramp_delay and lp87565_buck_ops

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp87565-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/lp87565-regulator.c b/drivers/regulator/lp87565-regulator.c index c192357d1dea..4ed41731a5b1 100644 ---

[PATCH 4/8] regulator: lp873x: Constify lp873x_buck01_ops and lp873x_ldo01_ops

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp873x-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/lp873x-regulator.c b/drivers/regulator/lp873x-regulator.c index 70e3df653381..2ec5e833c379 100644 --- a/drivers/regulator/lp873x-regulator.c

[PATCH 2/8] regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp3972.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/lp3972.c b/drivers/regulator/lp3972.c index ff0c275f902e..fb098198b688 100644 --- a/drivers/regulator/lp3972.c +++ b/drivers/regulator/lp3972.c @@

[PATCH 7/8] regulator: lp8788-buck: Constify lp8788_buck_desc

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp8788-buck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c index ec46290b647e..30de784d8e30 100644 --- a/drivers/regulator/lp8788-buck.c +++

[PATCH 1/8] regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp3971.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c index 204b5c5270e0..9e45112658ba 100644 --- a/drivers/regulator/lp3971.c +++ b/drivers/regulator/lp3971.c @@

[PATCH 8/8] regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp8788-ldo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c index 2ee22e7ea675..a2ef146e6b3a 100644 --- a/drivers/regulator/lp8788-ldo.c +++

[PATCH 5/8] regulator: lp8755: Constify lp8755_regulators

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp8755.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c index 6d229ad4ef3e..14fd38807134 100644 --- a/drivers/regulator/lp8755.c +++ b/drivers/regulator/lp8755.c @@ -315,7

Re: [PATCH 3/3] input: dt-bindings: Add binding for bma150 sensor

2019-01-25 Thread Jonathan Bakker
On 2019-01-25 5:28 p.m., Dmitry Torokhov wrote: > On Fri, Jan 25, 2019 at 07:44:00PM +0100, Paweł Chmiel wrote: >> From: Jonathan Bakker >> >> Add device tree bindings for Bosch BMA150 Accelerometer Sensor >> >> Signed-off-by: Jonathan Bakker >> Signed-off-by: Paweł Chmiel >> --- >>

[PATCH 3/8] regulator: lp872x: Constify regulator_ops and regulator_desc

2019-01-25 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp872x.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c index 38992112fd6e..f8f875bad7dd 100644 --- a/drivers/regulator/lp872x.c +++

Heads up: next-20190115 and GCC 9.0 don't play nice.

2019-01-25 Thread valdis . kletnieks
So a GCC 9 escaped to Fedora Rawhide in the last few days, and things didn't go well. Fortunately, I had the 8.2.1-7 RPMs still around. Issue 1: There's a new warning added for taking the address of a member of a packed array. It wasn't *too* noisy. Issue 2: Looks like it's not ready for prime

Re: [PATCH V2 rdma-next 2/3] RDMA/hns: Fix the chip hanging caused by sending mailbox during reset

2019-01-25 Thread Wei Hu (Xavier)
On 2019/1/26 9:47, Wei Hu (Xavier) wrote: > > On 2019/1/26 5:50, Jason Gunthorpe wrote: >> On Fri, Jan 25, 2019 at 10:15:40AM +0800, Wei Hu (Xavier) wrote: >>> On 2019/1/25 2:31, Jason Gunthorpe wrote: On Thu, Jan 24, 2019 at 11:13:29AM +0800, Wei Hu (Xavier) wrote: > On 2019/1/24

[PATCH V3 rdma-next 2/3] RDMA/hns: Fix the chip hanging caused by sending mailbox during reset

2019-01-25 Thread Wei Hu (Xavier)
On hi08 chip, There is a possibility of chip hanging and some errors when sending mailbox & doorbell during reset. We can fix it by prohibiting mailbox and doorbell during reset and reset occurred to ensure that hardware can work normally. Fixes: a04ff739f2a9 ("RDMA/hns: Add command queue support

[PATCH V3 rdma-next 0/3] RDMA/hns: Some fixes for hns RoCE driver

2019-01-25 Thread Wei Hu (Xavier)
Hi, Jason and Doug This patch series includes three bugfixes for reset related operations and are maked based on wip/jgg-for-next branch. Best Regards Xavier Wei Hu (Xavier) (3): RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs RDMA/hns: Fix the chip hanging caused by

[PATCH V3 rdma-next 3/3] RDMA/hns: Fix the chip hanging caused by sending doorbell during reset

2019-01-25 Thread Wei Hu (Xavier)
On hi08 chip, There is a possibility of chip hanging when sending doorbell during reset. We can fix it by prohibiting doorbell during reset. Fixes: 2d40788825ac ("RDMA/hns: Add support for processing send wr and receive wr") Signed-off-by: Wei Hu (Xavier) --- v2->v3: Non change. v1->v2: Non

[PATCH V3 rdma-next 1/3] RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs

2019-01-25 Thread Wei Hu (Xavier)
In the reset process, the hns3 NIC driver notifies the RoCE driver to perform reset related processing by calling the .reset_notify() interface registered by the RoCE driver in hip08 SoC. In the current version, if a reset occurs simultaneously during the execution of rmmod or insmod ko, there

Re: [PATCH 4/4] dt-bindings: input: Add documentation for gp2a sensor

2019-01-25 Thread Jonathan Bakker
Hi Dmitry, Thanks for your review of the patches. Considering that the light sensor part should be in IIO, should the entire driver be rewritten as an IIO driver? There's already the driver for gp2ap020a00f there which is presumably the gp2ap002a00f's successor and does the same functions.

Re: [PATCH v2 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Gao Xiang
Hi Chao, On 2019/1/26 10:48, Chao Yu wrote: > On 2019/1/26 0:10, Gao Xiang wrote: >> Let's add .get_acl() to read the file's acl from its xattrs >> to make POSIX ACL usable. >> >> Here is the on-disk detail, >> fullname: system.posix_acl_access >> struct erofs_xattr_entry: >> .e_name_len

Re: [PATCH] f2fs: fix typos in code comments

2019-01-25 Thread Chao Yu
On 2019/1/25 15:35, Geliang Tang wrote: > lengh -> length > > Signed-off-by: Geliang Tang Reviewed-by: Chao Yu Thanks,

Re: [PATCH v2 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Chao Yu
On 2019/1/26 0:10, Gao Xiang wrote: > Let's add .get_acl() to read the file's acl from its xattrs > to make POSIX ACL usable. > > Here is the on-disk detail, > fullname: system.posix_acl_access > struct erofs_xattr_entry: > .e_name_len = 0 > .e_name_index =

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Arkadiusz Miśkiewicz
gt;> >> I can reproduce on next (5.0.0-rc3-next-20190125), too: >> > > Please try this patch. Doesn't help: [root@xps test]# python3 cg.py Created cgroup: /sys/fs/cgroup/test_2149 Start: pids.current: 0 Start: cgroup.procs: 0: pids.current: 97 0: cgroup.procs: 1: pids.curr

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Arkadiusz Miśkiewicz
t;>>>> Previously there was no such problem. >>>>>> >>>>> >>>>> I'm attaching reproducer. This time tried on different distribution >>>>> kernel (arch linux). >>>>> >>>>> After 60s pids.current

Re: [PATCH v2 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-01-25 Thread Hyun Kwon
Hi Vishal, Thanks for the patch. On Fri, 2019-01-25 at 09:52:56 -0800, Vishal Sagar wrote: > Add bindings documentation for Xilinx MIPI CSI-2 Rx Subsystem. > > The Xilinx MIPI CSI-2 Rx Subsystem consists of a CSI-2 Rx controller, a > DPHY in Rx mode, an optional I2C controller and a Video

Re: [PATCH v2 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2019-01-25 Thread Hyun Kwon
Hi Vishal, Thanks for the patch. On Fri, 2019-01-25 at 09:52:57 -0800, Vishal Sagar wrote: > The Xilinx MIPI CSI-2 Rx Subsystem soft IP is used to capture images > from MIPI CSI-2 camera sensors and output AXI4-Stream video data ready > for image processing. Please refer to PG232 for details. >

Re: [PATCH v15 23/26] sched: early boot clock

2019-01-25 Thread Jon DeVree
On Mon, Jan 07, 2019 at 20:04:41 -0500, Pavel Tatashin wrote: > I did exactly the same sequence on Kaby Lake CPU and could not > reproduce it. What is your host CPU? > I have some machines which display this bug and others that don't, so I was able to figure out the difference between their

Re: [PATCH v2 1/2] staging: erofs: use xattr_prefix to wrap up

2019-01-25 Thread Chao Yu
On 2019/1/26 0:10, Gao Xiang wrote: > Let's use xattr_prefix instead of open code. > No logic changes. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: possible deadlock in __do_page_fault

2019-01-25 Thread Tetsuo Handa
On 2019/01/24 22:46, Joel Fernandes wrote: > On Thu, Jan 24, 2019 at 10:52:30AM +0900, Tetsuo Handa wrote: >> Then, I'm tempted to eliminate shrinker and LRU list (like a draft patch >> shown >> below). I think this is not equivalent to current code because this shrinks >> upon only range_alloc()

RE: [PATCH V2 3/4] i2c: tegra: Add DMA Support

2019-01-25 Thread Sowjanya Komatineni
> > +static int tegra_i2c_init_dma_param(struct tegra_i2c_dev *i2c_dev, > > + bool dma_to_memory) > > +{ > > + struct dma_chan *dma_chan; > > + u32 *dma_buf; > > + dma_addr_t dma_phys; > > + int ret; > > + const char *chan_name = dma_to_memory ? "rx" : "tx";

Re: [PATCH v3 2/4] ASoC: add fsl_audmix DT binding documentation

2019-01-25 Thread Nicolin Chen
On Thu, Jan 17, 2019 at 12:46:29PM +, Viorel Suman wrote: > + - dais : Must contain a list of phandles to AUDMIX connected > + DAIs. The current implementation requires two phandles > + to SAI interfaces to be provided, the first SAI in

Re: [PATCH V2 rdma-next 2/3] RDMA/hns: Fix the chip hanging caused by sending mailbox during reset

2019-01-25 Thread Wei Hu (Xavier)
On 2019/1/26 5:50, Jason Gunthorpe wrote: > On Fri, Jan 25, 2019 at 10:15:40AM +0800, Wei Hu (Xavier) wrote: >> >> On 2019/1/25 2:31, Jason Gunthorpe wrote: >>> On Thu, Jan 24, 2019 at 11:13:29AM +0800, Wei Hu (Xavier) wrote: On 2019/1/24 6:40, Jason Gunthorpe wrote: > On Sat, Jan 19,

Re: [PATCH] ipmi_si: fix use-after-free of resource->name

2019-01-25 Thread Yang Yingliang
On 2019/1/26 4:35, Corey Minyard wrote: On Fri, Jan 25, 2019 at 10:30:59AM +0800, Yang Yingliang wrote: When we excute the following commands, we got oops rmmod ipmi_si cat /proc/ioports snip... If io_setup is called successful in try_smi_init() but try_smi_init() goes out_err before

Re: [RFC PATCH] mm: vmscan: do not iterate all mem cgroups for global direct reclaim

2019-01-25 Thread Yang Shi
On 1/24/19 12:43 AM, Michal Hocko wrote: On Wed 23-01-19 12:24:38, Yang Shi wrote: On 1/23/19 1:59 AM, Michal Hocko wrote: On Wed 23-01-19 04:09:42, Yang Shi wrote: In current implementation, both kswapd and direct reclaim has to iterate all mem cgroups. It is not a problem before

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Roman Gushchin
er. This time tried on different distribution > >>> kernel (arch linux). > >>> > >>> After 60s pids.current still shows 37 processes even if there are no > >>> processes running (according to ps aux). > >> > >> > >> The same te

Re: [PATCH 4/4] dt-bindings: input: Add documentation for gp2a sensor

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 06:50:45PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > This commit adds documentation for Sharp GP2AP002A00F. > It's Proximity/Opto Sensor connected over i2c. > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- >

Re: [PATCH 1/3] input: misc: bma150: Use managed resources helpers

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 07:43:58PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > The driver can be cleaned up by using managed resource helpers > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > drivers/input/misc/bma150.c | 40

Re: [PATCH 3/3] input: dt-bindings: Add binding for bma150 sensor

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 07:44:00PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Add device tree bindings for Bosch BMA150 Accelerometer Sensor > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > .../bindings/input/bosch,bma150.txt | 20

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 4:47, Arkadiusz Miśkiewicz wrote: >> Can you please see whether the problem can be reproduced on the >> current linux-next? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > I can reproduce on next (5.0.0-rc3-next-20190125),

[PATCH] drm/i915: Don't send MST hotplugs until after resume

2019-01-25 Thread Lyude Paul
Turns out we are sending a lot more hotplug events then we need, and this is causing some pretty serious issues. Currently, we call intel_dp_mst_resume() in i915_drm_resume() well before we have any sort of hotplugging setup. This is a pretty big problem, because in practice it will generally

Re: [PATCH v3 0/3] adt7316 regmap implementation

2019-01-25 Thread Jeremy Fertic
On Sun, Jan 20, 2019 at 09:06:30PM +0530, Shreeya Patel wrote: > This patchset consist of some initial patches for heading > towards the regmap implementation and also the final patch > which enables the driver to use regmap API thus removing > the redundant and common code. > > Changes in v3 >

Send photos to start

2019-01-25 Thread Carol
Send the photos to start editing. We can do white background for your photos, can add clipping path if needed. We can also sharpen your photos also give retouching. If you have the photos ready, please send a test photo to start. Thanks, Carol

Re: [PATCH 2/4] input: misc: gp2a: Add support for light sensor

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 06:50:43PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > The gp2a driver previously only supported the proximity part of the > sensor while the hardware supports both. > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- >

Re: [PATCH 1/4] input: misc: gp2a: Use managed resource helpers

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 06:50:42PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Simplify cleanup of failures by using managed resource helpers > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > drivers/input/misc/gp2ap002a00f.c | 37

[git pull] Input updates for v5.0-rc3

2019-01-25 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a fixup for the input_event fix for y2038 Sparc64, and couple other minor fixes. Changelog: - Anders Roxell (1):

Re: + memcg-do-not-report-racy-no-eligible-oom-tasks.patch added to -mm tree

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 3:33, Johannes Weiner wrote: > On Fri, Jan 25, 2019 at 06:24:16PM +0100, Michal Hocko wrote: >> On Fri 25-01-19 11:56:24, Johannes Weiner wrote: >>> It looks like this problem is happening in production systems: >>> >>> https://www.spinics.net/lists/cgroups/msg21268.html >>> >>>

Re: [PATCH] ASN.1: mark expected switch fall-throughs

2019-01-25 Thread Gustavo A. R. Silva
On 1/25/19 6:38 PM, Kees Cook wrote: > On Sat, Jan 26, 2019 at 9:49 AM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >>

Re: [PATCH v2 2/2] Input: st1232 - add support for st1633

2019-01-25 Thread Dmitry Torokhov
Hi Martin, On Thu, Jan 24, 2019 at 11:21:25AM +0100, Martin Kepplinger wrote: > From: Martin Kepplinger > > Add support for the Sitronix ST1633 touchscreen controller to the st1232 > driver. A protocol spec can be found here: > www.ampdisplay.com/documents/pdf/AM-320480B6TZQW-TC0H.pdf > >

Re: [PATCH] lib/cmdline.c: mark expected switch fall-throughs

2019-01-25 Thread Gustavo A. R. Silva
On 1/25/19 6:18 PM, Kees Cook wrote: > On Sat, Jan 26, 2019 at 9:31 AM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> lib/cmdline.c:137:7:

Re: [PATCH V2 3/4] i2c: tegra: Add DMA Support

2019-01-25 Thread Dmitry Osipenko
26.01.2019 3:28, Dmitry Osipenko пишет: > 24.01.2019 23:51, Sowjanya Komatineni пишет: >> This patch adds DMA support for Tegra I2C. >> >> Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for >> transfer size of the max FIFO depth and DMA mode is used for >> transfer size higher than

Re: [PATCH] ASN.1: mark expected switch fall-throughs

2019-01-25 Thread Kees Cook
On Sat, Jan 26, 2019 at 9:49 AM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > lib/asn1_decoder.c:386:6: warning: this statement may fall through >

Re: [PATCH 1/2] PCI: hv: Replace hv_vp_set with hv_vpset

2019-01-25 Thread Maya Nakamura
On Thu, Jan 24, 2019 at 02:12:13PM +0100, Vitaly Kuznetsov wrote: > Maya Nakamura writes: > > > @@ -460,12 +454,16 @@ struct hv_pcibus_device { > > struct msi_controller msi_chip; > > struct irq_domain *irq_domain; > > > > - /* hypercall arg, must not cross page boundary */ > > -

Re: [PATCH V2 3/4] i2c: tegra: Add DMA Support

2019-01-25 Thread Dmitry Osipenko
24.01.2019 23:51, Sowjanya Komatineni пишет: > This patch adds DMA support for Tegra I2C. > > Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > transfer size of the max FIFO depth and DMA mode is used for > transfer size higher than max FIFO depth to save CPU overhead. > > PIO

Re: [PATCH v10 1/4] media: Media Device Allocator API

2019-01-25 Thread shuah
Hi Sakari, On 1/25/19 8:38 AM, Sakari Ailus wrote: Hi Shuah, On Thu, Jan 24, 2019 at 01:32:38PM -0700, Shuah Khan wrote: Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB

Re: [PATCH 2/2] PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset()

2019-01-25 Thread Maya Nakamura
On Thu, Jan 24, 2019 at 03:29:18PM +0300, Dan Carpenter wrote: > On Wed, Jan 23, 2019 at 01:02:12PM -0800, Maya Nakamura wrote: > > @@ -908,12 +906,12 @@ static void hv_irq_unmask(struct irq_data *data) > > struct retarget_msi_interrupt *params; > > struct hv_pcibus_device *hbus; > >

[GIT] Networking

2019-01-25 Thread David Miller
This is a resend of the previous pull request with the qed changes reverted. 1) Count ttl-dropped frames properly in mac80211, from Bob Copeland. 2) Integer overflow in ktime handling of bcm can code, from Oliver Hartkopp. 3) Fix RX desc handling wrt. hw checksumming in ravb, from Simon

Re: [PATCH] lib/cmdline.c: mark expected switch fall-throughs

2019-01-25 Thread Kees Cook
On Sat, Jan 26, 2019 at 9:31 AM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > lib/cmdline.c:137:7: warning: this statement may fall through >

Re: [PATCH] staging:iio:ad7152: Rename misspelled RESEVERD -> RESERVED

2019-01-25 Thread Rodrigo Ribeiro
Em sex, 25 de jan de 2019 às 21:46, Rodrigo Ribeiro escreveu: > > Em sex, 25 de jan de 2019 às 06:20, Alexandru Ardelean > escreveu: > > > > On Thu, Jan 24, 2019 at 9:35 PM Rodrigo Ribeiro > > wrote: > > > > > > Remove the checkpatch.pl check: > > > > > > CHECK: 'RESEVERD' may be misspelled -

Re: [ 1/1] scsi: qcom-ufs: Add support for bus voting using ICB framework

2019-01-25 Thread Evan Green
On Fri, Jan 25, 2019 at 2:29 AM Asutosh Das (asd) wrote: > > On 1/24/2019 10:22 PM, Evan Green wrote: > > On Wed, Jan 23, 2019 at 11:02 PM Asutosh Das > > wrote: > >> > >> Adapt to the new ICB framework for bus bandwidth voting. > >> > >> This requires the source/destination port ids. > >> Also

Re: linux-next: Fixes tag needs some work in the input-current tree

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 3:56 PM Dmitry Torokhov wrote: > > Hi Stephen, > > On Thu, Jan 24, 2019 at 3:09 AM Stephen Rothwell > wrote: > > > > Hi Dmitry, > > > > In commit > > > > ec87da107d11 ("Input: olpc_apsp - assign priv->dev earlier") > > > > Fixes tag > > > > Fixes: commit af518342effd

Re: linux-next: Fixes tag needs some work in the input-current tree

2019-01-25 Thread Dmitry Torokhov
Hi Stephen, On Thu, Jan 24, 2019 at 3:09 AM Stephen Rothwell wrote: > > Hi Dmitry, > > In commit > > ec87da107d11 ("Input: olpc_apsp - assign priv->dev earlier") > > Fixes tag > > Fixes: commit af518342effd ("Input: olpc_apsp - check FIFO status on > open(), not probe()") > > has these

Re: [PATCH] staging:iio:ad7152: Rename misspelled RESEVERD -> RESERVED

2019-01-25 Thread Rodrigo Ribeiro
Em sex, 25 de jan de 2019 às 06:20, Alexandru Ardelean escreveu: > > On Thu, Jan 24, 2019 at 9:35 PM Rodrigo Ribeiro wrote: > > > > Remove the checkpatch.pl check: > > > > CHECK: 'RESEVERD' may be misspelled - perhaps 'RESERVED'? > > Hey, Hi, Thanks for answering. > A bit curios about this

[PATCH 1/7] clk: gcc-qcs404: Add PCIe resets

2019-01-25 Thread Bjorn Andersson
Enabling PCIe requires several of the PCIe related resets from GCC, so add them all. Signed-off-by: Bjorn Andersson --- Stephen, I suggest that we merge this patch through Andy's devicetree branch, together with the DT patch in the end of this series. drivers/clk/qcom/gcc-qcs404.c

[PATCH 0/7] QCS404 PCIe PHY and controller

2019-01-25 Thread Bjorn Andersson
This series adds support for the PCIe controller and PHY found in the Qualcomm platform QCS404. Bjorn Andersson (7): clk: gcc-qcs404: Add PCIe resets dt-bindings: phy: Add binding for Qualcomm PCIe2 PHY phy: qcom: Add Qualcomm PCIe2 PHY driver PCI: qcom: Use clk_bulk API for 2.4.0

  1   2   3   4   5   6   7   8   9   >