Re: [PATCH v4 4/9] ARM: dts: at91: sama5d2: add classd nodes

2017-07-25 Thread Alexandre Belloni
On 25/07/2017 at 09:37:05 +0200, Quentin Schulz wrote: > From: Cyrille Pitchen > > This patch adds nodes for the classd device and its generated clock. > > Signed-off-by: Cyrille Pitchen > Signed-off-by: Nicolas Ferre > Signed-off-by: Quentin Schulz > --- > arch/arm/boot/dts/sama5d2.dtsi | 3

Re: [PATCH v2] drm/hisilicon: fix build error without fbdev emulation

2017-07-25 Thread Arnd Bergmann
On Wed, Jul 26, 2017 at 7:55 AM, Daniel Vetter wrote: > On Tue, Jul 25, 2017 at 8:05 PM, Arnd Bergmann wrote: >> We cannot reference priv->fbdev outside of the #ifdef: >> >> drivers/net/virtio_net.c:1881:12: error: 'virtnet_restore_up' defined but >> not used [-Werror=unused-function] >> static

Re: [PATCH v4 0/9] add support for Sama5d2 audio PLLs and enable ClassD

2017-07-25 Thread Alexandre Belloni
On 25/07/2017 at 17:44:19 +0200, Nicolas Ferre wrote: > On 25/07/2017 at 09:37, Quentin Schulz wrote: > > This patch series adds support for the audio PLLs and enables ClassD that > > can be found in ATMEL Sama5d2 SoC. > > > > There are two audio PLLs (PMC and PAD) that shares the same parent (FRA

Re: [patches] [PATCH 17/17] RISC-V: Build Infastructure

2017-07-25 Thread Arnd Bergmann
On Wed, Jul 26, 2017 at 7:20 AM, Palmer Dabbelt wrote: > On Tue, 25 Jul 2017 19:57:17 PDT (-0700), j.neuschae...@gmx.net wrote: >> On Tue, Jul 11, 2017 at 06:31:30PM -0700, Palmer Dabbelt wrote: >>> This patch contains all the build infastructure that actually enables >>> the RISC-V port. This in

RE: [PATCH v8 1/1] f2fs: dax: implement direct access

2017-07-25 Thread sunqiuyang
Hi, Considering the current interfaces of F2FS and EXT4, my thought is that we can define a generic user-modifiable flag FS_DAX_FL, which can be included in the i_flags field of [f2fs | ext4]_inode_info. Thus, DAX can be enabled in either of the two ways below: 1) mount the FS with a "dax" o

Re: [PATCH v2 00/10] Constify attribute_group structures

2017-07-25 Thread Arvind Yadav
Hi Kalle, On Tuesday 25 July 2017 06:25 PM, Kalle Valo wrote: Arvind Yadav writes: attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] ne

Re: [PATCH v2 00/10] Constify attribute_group structures

2017-07-25 Thread Arvind Yadav
Hi Kalle, On Tuesday 25 July 2017 06:25 PM, Kalle Valo wrote: Arvind Yadav writes: attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] ne

[PATCH v2 0/4] Enable usb2 function on poplar board

2017-07-25 Thread Jiancheng Xue
This patchset is mainly used to enable the usb2 function on poplar board, including usb2 phy drivers, dts nodes and configs. Jiancheng Xue (3): dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy arm64: dts: hisilicon: add usb2 controller and phy nodes for poplar board. a

[PATCH v2 3/4] arm64: dts: hisilicon: add usb2 controller and phy nodes for poplar board.

2017-07-25 Thread Jiancheng Xue
Add usb2 controller and phy nodes for poplar board. Signed-off-by: Jiancheng Xue Reviewed-by: Daniel Thompson --- .../boot/dts/hisilicon/hi3798cv200-poplar.dts | 13 + arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 60 ++ 2 files changed, 73 insertions(+) dif

[PATCH v2 4/4] arm64: defconfig: enable some drivers for hi3798cv200-poplar board.

2017-07-25 Thread Jiancheng Xue
Enable GMAC,I2C,USB2-PHY for hi3798cv200-poplar board. Signed-off-by: Jiancheng Xue --- arch/arm64/configs/defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..93c709d7 100644 --- a/arch/arm64/configs/defconf

[PATCH v2 2/4] phy: add inno-usb2-phy driver for hi3798cv200 SoC

2017-07-25 Thread Jiancheng Xue
From: Pengcheng Li Add inno-usb2-phy driver for hi3798cv200 SoC. Signed-off-by: Pengcheng Li Signed-off-by: Jiancheng Xue --- drivers/phy/hisilicon/Kconfig | 11 +- drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 236 +

[PATCH v2 1/4] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy

2017-07-25 Thread Jiancheng Xue
Add support for hisi-inno-usb2 phy. Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt diff --git a/Documentation/devic

Re: Qemu problems in -next with 's390/spinlock: add niai spinlock hints'

2017-07-25 Thread Martin Schwidefsky
On Wed, 26 Jul 2017 08:05:27 +0200 Heiko Carstens wrote: > On Wed, Jul 26, 2017 at 07:40:44AM +0200, Martin Schwidefsky wrote: > > On Wed, 26 Jul 2017 07:00:33 +0200 > > Heiko Carstens wrote: > > > > > On Tue, Jul 25, 2017 at 06:14:51PM -0700, Guenter Roeck wrote: > > > > Hi Martin, > > > >

Re: [PATCH V3 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-25 Thread Viresh Kumar
On 24-07-17, 15:47, Peter Zijlstra wrote: > I said nothing about the shared locking. That is indeed required. All I > said is that those two tests you add could be left out. I was right, I didn't understood your comment at all :( > > > That would then continue to process the iowait and other acco

[PATCH v6 4/7] drm/rockchip: vop: group vop registers

2017-07-25 Thread Mark Yao
Grouping the vop registers facilitates make register definition clearer, and also is useful for different vop reuse the same group register. Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 99 drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 60 +

[PATCH v6 5/7] drm/rockchip: vop: add a series of vop support

2017-07-25 Thread Mark Yao
Vop Full framework now has following vops: IP versionchipname 3.1 rk3288 3.2 rk3368 3.4 rk3366 3.5 rk3399 big 3.6 rk3399 lit 3.7 rk3228 3.8 rk3328 The above IP version is from H/W define, some of vop support ge

[PATCH v6 7/7] drm/rockchip: vop: rk3328: fix overlay abnormal

2017-07-25 Thread Mark Yao
It's a hardware bug, all window's overlay channel reset value is same, hardware overlay would be die. so we must initial difference id for each overlay channel. The Channel register is supported on all vop will full design. Following is the details for this register VOP_WIN0_CTRL2 bit[7:4] win_

[PATCH v6 3/7] drm/rockchip: vop: move line_flag_num to interrupt registers

2017-07-25 Thread Mark Yao
In the hardware design process, the design of line flags register is associated with the interrupt register, placing the line flags in the interrupt definition is more reasonable, and it would make multi-vop define easilier. Signed-off-by: Mark Yao Reviewed-by: Sean Paul --- Changes in v6: - fix

[PATCH v6 2/7] drm/rockchip: vop: move write_relaxed flags to vop register

2017-07-25 Thread Mark Yao
Since the drm atomic framework, only a small part of the vop register needs sync write, Currently seems only following registers need sync write: cfg_done, standby and interrupt related register. All ctrl registers are using the sync write method that is inefficient, hardcode the write_relaxed

[PATCH v6 1/7] drm/rockchip: vop: initialize registers directly

2017-07-25 Thread Mark Yao
At present we are using init_table to initialize some registers, but the Register init table use un-document define, it is unreadable, and sometimes we only want to update tiny bits, init table method is not friendly, it's diffcult to reuse for difference chips. To make it clean, initialize regist

[PATCH v6 0/7] drm/rockchip: add all full framework vop support

2017-07-25 Thread Mark Yao
These patches try to make all current rockchip full framework vop works on drm, fill missing vop on full framework. Vop Full framework now has following vops: IP versionchipname 3.1 rk3288 3.2 rk3368 3.4 rk3366 3.5 rk3399 big

[lkp-robot] [lib] e859afe1ee: kernel_BUG_at_lib/test_rhashtable.c

2017-07-25 Thread kernel test robot
FYI, we noticed the following commit: commit: e859afe1ee0c5ae981c55387ccd45eba258a7842 ("lib: test_rhashtable: fix for large entry counts") https://git.kernel.org/cgit/linux/kernel/git/davem/net.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 420M caused below

[PATCH v6 6/7] dt-bindings: display: rockchip: fill Documents for vop series

2017-07-25 Thread Mark Yao
Signed-off-by: Mark Yao Acked-by: Rob Herring --- Changes in v5: - clean document commit title - move changes description out of docummit commit msg Changes in v2: - rename rk322x to rk3228 - correct some vop registers define Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt

Re: [PATCH v5 3/7] drm/rockchip: vop: move line_flag_num to interrupt registers

2017-07-25 Thread Mark yao
On 2017年07月26日 05:54, Heiko Stuebner wrote: Hi Mark, Am Donnerstag, 20. Juli 2017, 10:43:32 CEST schrieb Mark Yao: In the hardware design process, the design of line flags register is associated with the interrupt register, placing the line flags in the interrupt definition is more reasonable,

Re: [PATCH v5 2/7] drm/rockchip: vop: move write_relaxed flags to vop register

2017-07-25 Thread Mark yao
On 2017年07月26日 05:47, Heiko Stuebner wrote: Hi Mark, Am Donnerstag, 20. Juli 2017, 10:43:27 CEST schrieb Mark Yao: Since the drm atomic framework, only a small part of the vop register needs sync write, Currently seems only following registers need sync write: cfg_done, standby and interrup

Re: [PATCH] ACPI, APEI: Fixup incorrect 16-bit access width firmware bug

2017-07-25 Thread Liwei Song
On 07/21/2017 05:56 PM, Andy Shevchenko wrote: > On Fri, Jul 21, 2017 at 12:41 PM, Song liwei wrote: > >> [Firmware Bug]: APEI: Invalid bit width + offset in GAR [0xb2/16/0/1/1] >> >> This is due to an 8-bit access width is specified for a 16-bit register, >> Do bit_width check just like what t

linux-next: Tree for Jul 26

2017-07-25 Thread Stephen Rothwell
Hi all, Changes since 20170725: Non-merge commits (relative to Linus' tree): 2358 2466 files changed, 86994 insertions(+), 44655 deletions(-) I have created today's linux-next tree at git://git.kernel.o

linux-next: unsigned commits in the drm-misc tree

2017-07-25 Thread Stephen Rothwell
Hi all, I noticed a set of commits that have no Signed-off-by from their committer: d9864a1d2dfc ("drm/stm: drv: Rename platform driver name") to ed34d261a12a ("drm/stm: dsi: Constify phy ops structure") -- Cheers, Stephen Rothwell

Re: [PATCH V3 3/9] cpufreq: Cap the default transition delay value to 10 ms

2017-07-25 Thread Viresh Kumar
On 25-07-17, 14:54, Leonard Crestez wrote: Thanks for reporting Leonard, really appreciate it. > This patch made it's way into linux-next and it seems to cause imx socs > to almost always hang around their max frequency with the ondemand > governor, even when almost completely idle. The lowest fr

Re: Qemu problems in -next with 's390/spinlock: add niai spinlock hints'

2017-07-25 Thread Heiko Carstens
On Wed, Jul 26, 2017 at 07:40:44AM +0200, Martin Schwidefsky wrote: > On Wed, 26 Jul 2017 07:00:33 +0200 > Heiko Carstens wrote: > > > On Tue, Jul 25, 2017 at 06:14:51PM -0700, Guenter Roeck wrote: > > > Hi Martin, > > > > > > my s390 qemu tests in linux-next stopped working a few days ago. > >

[Kein Betreff]

2017-07-25 Thread Lars Reichardt
unsubscribe linux-kernel

[RFC] hwmon: (ibmpowernv) Add support for reset-history sensors

2017-07-25 Thread Shilpasri G Bhat
In P9, OCC allows for clearing the sensor min-max history. This patch exports attribute to reset history when set will clear the history of all the sensors owned by CSM and belonging to the chip. Signed-off-by: Shilpasri G Bhat --- This patch is on top of this patchset: https://www.mail-archive.c

Re: [PATCH v2] drm/hisilicon: fix build error without fbdev emulation

2017-07-25 Thread Daniel Vetter
On Tue, Jul 25, 2017 at 8:05 PM, Arnd Bergmann wrote: > We cannot reference priv->fbdev outside of the #ifdef: > > drivers/net/virtio_net.c:1881:12: error: 'virtnet_restore_up' defined but not > used [-Werror=unused-function] > static int virtnet_restore_up(struct virtio_device *vdev) > drivers/

Re: [PATCH V2] selftests/vm: Add tests to validate mirror functionality with mremap

2017-07-25 Thread Michal Hocko
On Wed 26-07-17 09:54:26, Anshuman Khandual wrote: > On 07/25/2017 07:06 PM, Michal Hocko wrote: > > On Tue 25-07-17 12:06:57, Anshuman Khandual wrote: > > [...] > >> diff --git a/tools/testing/selftests/vm/mremap_mirror_private_anon.c > >> b/tools/testing/selftests/vm/mremap_mirror_private_anon.c

Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-25 Thread Michal Hocko
On Tue 25-07-17 21:19:52, Andrea Arcangeli wrote: > On Tue, Jul 25, 2017 at 06:04:00PM +0200, Michal Hocko wrote: > > - down_write(&mm->mmap_sem); > > + if (tsk_is_oom_victim(current)) > > + down_write(&mm->mmap_sem); > > free_pgtables(&tlb, vma, FIRST_USER_ADDRESS, USER_PGTABLES_

[PATCH v2 01/11] ASoC: samsung: s3c2412: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- Chnage in v2 : Error handling for things done in s3c_i2sv2_probe(). sound/soc/samsung/s3c2412-i2s.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-25 Thread Michal Hocko
On Tue 25-07-17 20:26:19, Andrea Arcangeli wrote: > On Tue, Jul 25, 2017 at 05:45:14PM +0200, Michal Hocko wrote: > > That problem is real though as reported by David. > > I'm not against fixing it, I just think it's not a major concern, and > the solution doesn't seem optimal as measured by Kiril

Re: [PATCH V2 1/4] hw_breakpoint: Add step_needed event attribute

2017-07-25 Thread Pratyush Anand
On Tuesday 25 July 2017 06:57 PM, Will Deacon wrote: On Fri, Jul 07, 2017 at 05:33:57PM +0530, Pratyush Anand wrote: Architecture like ARM64 currently allows to use default hw breakpoint single step handler only to perf. However, some other users like few systemtap tests or kernel test in samp

Re: Qemu problems in -next with 's390/spinlock: add niai spinlock hints'

2017-07-25 Thread Martin Schwidefsky
On Wed, 26 Jul 2017 07:00:33 +0200 Heiko Carstens wrote: > On Tue, Jul 25, 2017 at 06:14:51PM -0700, Guenter Roeck wrote: > > Hi Martin, > > > > my s390 qemu tests in linux-next stopped working a few days ago. > > Bisect points to commit 's390/spinlock: add niai spinlock hints'. > > > > Looking

[PATCH 3/6] dma: bcm-sba-raid: pre-ack async tx descriptor

2017-07-25 Thread Anup Patel
We should pre-ack async tx descriptor at time of allocating SBA request (just like other RAID drivers). Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/dma/bcm-sba-raid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/bcm-sba-raid.c b/driv

[PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests

2017-07-25 Thread Anup Patel
We should peek mbox channels when we are left with no free sba_requests in sba_alloc_request() Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/dma/bcm-sba-raid.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a

[PATCH 6/6] arm64: dts: Add SBA-RAID DT nodes for Stingray SoC

2017-07-25 Thread Anup Patel
This patch adds Broadcom SBA-RAID DT nodes for Stingray SoC. The Stingray SoC has total 32 SBA-RAID FlexRM rings and it has 8 CPUs so we create 8 SBA-RAID instances (one for each CPU). This way Linux DMAENGINE will have one SBA-RAID DMA device for each CPU. Signed-off-by: Anup Patel --- .../boo

[PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-25 Thread Anup Patel
This patch breaks sba_process_deferred_requests() into two parts sba_process_received_request() and _sba_process_pending_requests() for readability. In addition, we remove redundant SBA_REQUEST_STATE_RECEIVED state and ensure that all requests in a chained request should be freed only after all ha

[PATCH 5/6] dma: bcm-sba-raid: Add debugfs support

2017-07-25 Thread Anup Patel
This patch adds debugfs support to report stats via debugfs which in-turn will help debug hang situations. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/dma/bcm-sba-raid.c | 82 +- 1 file changed, 81 insertions

[PATCH 0/6] Broadcom SBA-RAID driver improvements

2017-07-25 Thread Anup Patel
This patchset does various improvments to Broadcom SBA-RAID driver and also adds SBA-RAID DT nodes for Stingray SOC. The patches are based on "[PATCH v2 0/7] FlexRM driver improvements" and can also be found at sba-raid-imp-v1 branch of https://github.com/Broadcom/arm64-linux.git Anup Patel (6):

[PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver

2017-07-25 Thread Anup Patel
This patch improves memory allocation in SBA RAID driver in following ways: 1. Simplify struct sba_request to reduce memory consumption 2. Allocate sba resources before registering dma device Signed-off-by: Anup Patel Reviewed-by: Scott Branden Reviewed-by: Ray Jui Reviewed-by: Vikram Prakash

Re: [PATCH V2 4/4] arm64: disable irq between breakpoint and step exception

2017-07-25 Thread Pratyush Anand
Hi Will, Thanks for your review. On Tuesday 25 July 2017 06:55 PM, Will Deacon wrote: On Fri, Jul 07, 2017 at 05:34:00PM +0530, Pratyush Anand wrote: If an interrupt is generated between breakpoint and step handler then step handler can not get correct step address. This situation can easily b

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-07-25 Thread Vinod Koul
On Mon, Jul 24, 2017 at 01:55:10PM +, Pierre Yves MORDRET wrote: > >> + > >> + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > >> + if (!res) > >> + return -ENODEV; > >> + > >> + iomem = devm_ioremap_resource(&pdev->dev, res); > >> + if (!iomem) > >> + return -ENO

Re: [patches] [PATCH 17/17] RISC-V: Build Infastructure

2017-07-25 Thread Palmer Dabbelt
On Tue, 25 Jul 2017 19:57:17 PDT (-0700), j.neuschae...@gmx.net wrote: > On Tue, Jul 11, 2017 at 06:31:30PM -0700, Palmer Dabbelt wrote: >> This patch contains all the build infastructure that actually enables >> the RISC-V port. This includes Makefiles, linker scripts, and Kconfig >> files. It a

Re: [PATCH 1/1] usb: xhci: Handle USB transaction error on address command

2017-07-25 Thread Lu Baolu
Hi, On 07/26/2017 01:11 PM, Xing, Zhengjun wrote: > > > On 7/25/2017 1:09 PM, Lu Baolu wrote: >> Xhci driver handles USB transaction errors on transfer events, >> but transaction errors are possible on address device command >> completion events as well. >> >> The xHCI specification (section 4.6.5

[PATCH V8 2/3] powernv: Add support to set power-shifting-ratio

2017-07-25 Thread Shilpasri G Bhat
This patch adds support to set power-shifting-ratio for CPU-GPU which is used by OCC power capping algorithm. Signed-off-by: Shilpasri G Bhat --- Changes from V7: - Replaced sscanf with kstrtoint arch/powerpc/include/asm/opal-api.h| 4 +- arch/powerpc/include/asm/opal.h

[PATCH V8 3/3] powernv: Add support to clear sensor groups data

2017-07-25 Thread Shilpasri G Bhat
Adds support for clearing different sensor groups. OCC inband sensor groups like CSM, Profiler, Job Scheduler can be cleared using this driver. The min/max of all sensors belonging to these sensor groups will be cleared. Signed-off-by: Shilpasri G Bhat --- Changes from V7: - s/send_occ_command/op

[PATCH V8 1/3] powernv: powercap: Add support for powercap framework

2017-07-25 Thread Shilpasri G Bhat
Adds a generic powercap framework to change the system powercap inband through OPAL-OCC command/response interface. Signed-off-by: Shilpasri G Bhat --- Changes from V7: - Replaced sscanf with kstrtoint arch/powerpc/include/asm/opal-api.h| 5 +- arch/powerpc/include/asm/opal.h

[PATCH V8 0/3] powernv : Add support for OPAL-OCC command/response interface

2017-07-25 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. The following commands are supported: 1) Set system powercap 2) Set CPU-GPU powe

Re: Qemu problems in -next with 's390/spinlock: add niai spinlock hints'

2017-07-25 Thread Heiko Carstens
On Tue, Jul 25, 2017 at 06:14:51PM -0700, Guenter Roeck wrote: > Hi Martin, > > my s390 qemu tests in linux-next stopped working a few days ago. > Bisect points to commit 's390/spinlock: add niai spinlock hints'. > > Looking at the patch, this isn't really surprising; at least to me it looks > li

Re: [PATCH v2 2/4] dmaengine: Add STM32 MDMA driver

2017-07-25 Thread Vinod Koul
On Mon, Jul 24, 2017 at 09:34:18AM +, Pierre Yves MORDRET wrote: > > On 07/21/2017 12:32 PM, Pierre Yves MORDRET wrote: > > > > > > On 07/21/2017 11:54 AM, Vinod Koul wrote: > >> On Fri, Jul 21, 2017 at 09:30:00AM +, Pierre Yves MORDRET wrote: > > +static enum dma_slave_buswidth s

[PATCH] drm: adding SDI to drm_connector_enum_list

2017-07-25 Thread Saurabh Sengar
adding SDI to drm connector list Signed-off-by: Saurabh Sengar --- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 2db7fb5..ea48ddb 100644 --- a/dr

Re: [PATCH 29/32] tracing: Add 'last error' error facility for hist triggers

2017-07-25 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:30PM -0500, Tom Zanussi wrote: > With the addition of variables and actions, it's become necessary to > provide more detailed error information to users about syntax errors. > > Add a 'last error' facility accessible via the erroring event's 'hist' > file. Reading th

Re: [PATCH v2 1/3] ptp: introduce ptp auxiliary worker

2017-07-25 Thread Richard Cochran
On Wed, Jul 26, 2017 at 06:24:39AM +0200, Richard Cochran wrote: > Thanks for coding this up. I'd like to get some broader review. On > the next round, please include lkml, John Stultz, and Thomas Gleixner. I just noticed that you already have lkml. Thanks, Richard

Re: [RFC Part1 PATCH v3 03/17] x86/mm: Secure Encrypted Virtualization (SEV) support

2017-07-25 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 02:07:43PM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Provide support for Secure Encyrpted Virtualization (SEV). This initial Your subject misses a verb and patch subjects should have an active verb denoting what the patch does. The sentence above is a good exam

Re: [PATCH V2] selftests/vm: Add tests to validate mirror functionality with mremap

2017-07-25 Thread Anshuman Khandual
On 07/25/2017 07:06 PM, Michal Hocko wrote: > On Tue 25-07-17 12:06:57, Anshuman Khandual wrote: > [...] >> diff --git a/tools/testing/selftests/vm/mremap_mirror_private_anon.c >> b/tools/testing/selftests/vm/mremap_mirror_private_anon.c > [...] >> +ptr = mmap(NULL, alloc_size, PROT_READ | PRO

Re: [PATCH v2 1/3] ptp: introduce ptp auxiliary worker

2017-07-25 Thread Richard Cochran
Thanks for coding this up. I'd like to get some broader review. On the next round, please include lkml, John Stultz, and Thomas Gleixner. On Tue, Jul 25, 2017 at 03:24:18PM -0500, Grygorii Strashko wrote: > @@ -217,6 +231,19 @@ struct ptp_clock *ptp_clock_register(struct > ptp_clock_info *info

Re: [PATCH net-next] virtio-net: mark PM functions as __maybe_unused

2017-07-25 Thread David Miller
From: Arnd Bergmann Date: Tue, 25 Jul 2017 17:35:50 +0200 > After removing the reset function, the freeze and restore functions > are now unused when CONFIG_PM_SLEEP is disabled: > > drivers/net/virtio_net.c:1881:12: error: 'virtnet_restore_up' defined but not > used [-Werror=unused-function] >

[PATCH v4] mm: Add SLUB free list pointer obfuscation

2017-07-25 Thread Kees Cook
This SLUB free list pointer obfuscation code is modified from Brad Spengler/PaX Team's code in the last public patch of grsecurity/PaX based on my understanding of the code. Changes or omissions from the original code are mine and don't reflect the original grsecurity/PaX code. This adds a per-cac

Re: [linux-sunxi] Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards

2017-07-25 Thread Chen-Yu Tsai
On Wed, Jul 26, 2017 at 7:54 AM, Icenowy Zheng wrote: > > > 于 2017年7月25日 GMT+08:00 下午10:31:27, Maxime Ripard > 写到: >>On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: >>> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icen...@aosc.io wrote: >>> > 在 2017-07-24 15:58,Maxime Ripard 写道: >>>

[PATCH] irqchip: create a Kconfig menu for irqchip drivers

2017-07-25 Thread Masahiro Yamada
Some irqchip drivers have a Kconfig prompt. When we run menuconfig or friends, those drivers are directly listed in the "Device Drivers" menu level. This does not look nice. Create a sub-system level menu. Signed-off-by: Masahiro Yamada --- drivers/irqchip/Kconfig | 4 1 file changed, 4

[PATCH v7] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-07-25 Thread Baoquan He
Currently KASLR will parse all e820 entries of RAM type and add all candidate position into slots array. Then we will choose one slot randomly as the new position which kernel will be decompressed into and run at. On system with EFI enabled, e820 memory regions are coming from EFI memory regions b

Re: [PATCH v3 10/15] exec: Use secureexec for setting dumpability

2017-07-25 Thread Kees Cook
On Tue, Jul 18, 2017 at 3:25 PM, Kees Cook wrote: > The examination of "current" to decide dumpability is wrong. This was a > check of and euid/uid (or egid/gid) mismatch in the existing process, > not the newly created one. This appears to stretch back into even the > "history.git" tree. Luckily,

Re: [PATCH v3 05/15] smack: Refactor to remove bprm_secureexec hook

2017-07-25 Thread Kees Cook
On Tue, Jul 18, 2017 at 3:25 PM, Kees Cook wrote: > The Smack bprm_secureexec hook can be merged with the bprm_set_creds > hook since it's dealing with the same information, and all of the details > are finalized during the first call to the bprm_set_creds hook via > prepare_binprm() (subsequent c

Re: [PATCH] virtio-net: fix module unloading

2017-07-25 Thread Jason Wang
On 2017年07月24日 21:38, Andrew Jones wrote: Unregister the driver before removing multi-instance hotplug callbacks. This order avoids the warning issued from __cpuhp_remove_state_cpuslocked when the number of remaining instances isn't yet zero. Fixes: 8017c279196a ("net/virtio-net: Convert to ho

Re: [PATCH] x86/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask

2017-07-25 Thread Borislav Petkov
On Thu, Jul 20, 2017 at 04:52:08AM -0500, Suravee Suthikulpanit wrote: > With X86_FEATURE_TOPOEXT, current logic default to using APIC ID > to calculate cpumask for shared_cpu_map. However, since APIC IDs > are not guarantee to be contiguous for cores across different L3, > such as in family17h sys

[PATCH] fortify: Use WARN instead of BUG for now

2017-07-25 Thread Kees Cook
While CONFIG_FORTIFY_SOURCE continues to shake out, don't unconditionally use BUG(), opting instead for WARN(). At the same time, expand the runtime detection to provide a better hint about what went wrong. Cc: Daniel Micay Suggested-by: Linus Torvalds Signed-off-by: Kees Cook --- Sending to ak

Re: [PATCH v2] include/linux/vfio.h: Guard powerpc-specific functions with CONFIG_VFIO_SPAPR_EEH

2017-07-25 Thread David Gibson
On Tue, Jul 18, 2017 at 02:22:20PM -0300, Murilo Opsfelder Araujo wrote: > When CONFIG_EEH=y and CONFIG_VFIO_SPAPR_EEH=n, build fails with the > following: > > drivers/vfio/pci/vfio_pci.o: In function `.vfio_pci_release': > vfio_pci.c:(.text+0xa98): undefined reference to > `.vfio_spapr_p

Re: [PATCH v12 5/8] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-07-25 Thread Wei Wang
On 07/23/2017 09:45 AM, Michael S. Tsirkin wrote: On Fri, Jul 14, 2017 at 03:12:43PM +0800, Wei Wang wrote: On 07/14/2017 04:19 AM, Michael S. Tsirkin wrote: On Thu, Jul 13, 2017 at 03:42:35PM +0800, Wei Wang wrote: On 07/12/2017 09:56 PM, Michael S. Tsirkin wrote: So the way I see it, there

[PATCH] clk: uniphier: remove sLD3 SoC support

2017-07-25 Thread Masahiro Yamada
This SoC is too old. It is difficult to maintain any longer. Signed-off-by: Masahiro Yamada --- .../devicetree/bindings/clock/uniphier-clock.txt | 5 --- drivers/clk/uniphier/clk-uniphier-core.c | 16 +++-- drivers/clk/uniphier/clk-uniphier-mio.c| 4 +-- drivers/c

Re: [PATCH net-next] virtio-net: mark PM functions as __maybe_unused

2017-07-25 Thread Jason Wang
On 2017年07月25日 23:35, Arnd Bergmann wrote: After removing the reset function, the freeze and restore functions are now unused when CONFIG_PM_SLEEP is disabled: drivers/net/virtio_net.c:1881:12: error: 'virtnet_restore_up' defined but not used [-Werror=unused-function] static int virtnet_res

Re: [PATCH net-next V2 5/5] virtio-net: switch off offloads on demand if possible on XDP set

2017-07-25 Thread Jason Wang
On 2017年07月25日 05:29, Michael S. Tsirkin wrote: On Wed, Jul 19, 2017 at 04:54:49PM +0800, Jason Wang wrote: Current XDP implementation wants guest offloads feature to be disabled on device. This is inconvenient and means guest can't benefit from offloads if XDP is not used. This patch tries to

Re: [PATCH V3 1/3] x86/numa_emulation: refine the calculation of max_emu_nid and dfl_phys_nid

2017-07-25 Thread Wei Yang
On Tue, Jul 18, 2017 at 01:03:39PM +0200, Borislav Petkov wrote: >On Sat, Jul 08, 2017 at 09:30:57AM +0800, Wei Yang wrote: >> max_emu_nid and dfl_phys_nid is calculated from emu_nid_to_phys[], which is >> calculated in split_nodes_xxx_interleave(). From the logic in these > >$ git grep split_nodes

Re: [PATCH v3 2/3] usb: phy: Add USB charger support

2017-07-25 Thread Baolin Wang
Hi Manu, On 25 July 2017 at 19:19, Manu Gautam wrote: > Hi, > > > On 7/25/2017 1:30 PM, Baolin Wang wrote: >> This patch introduces the usb charger support based on usb phy that >> makes an enhancement to a power driver. The basic conception of the >> usb charger is that, when one usb charger is

Re: [PATCH 3.18 00/60] 3.18.63-stable review

2017-07-25 Thread Guenter Roeck
On 07/25/2017 12:15 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.63 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-25 Thread Baolin Wang
Hi, On 25 July 2017 at 17:59, Sebastian Reichel wrote: > Hi, > > On Tue, Jul 25, 2017 at 04:00:01PM +0800, Baolin Wang wrote: >> Integrate with the newly added USB charger interface to limit the current >> we draw from the USB input based on the input device configuration >> identified by the USB

Re: [PATCH 24/32] tracing: Add 'onmax' hist trigger action support

2017-07-25 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:25PM -0500, Tom Zanussi wrote: > Add an 'onmax(var).save(field,...)' hist trigger action which is > invoked whenever an event exceeds the current maximum. > > The end result is that the trace event fields or variables specified > as the onmax.save() params will be sav

Re: [PATCH] initcall_debug: add deferred probe times

2017-07-25 Thread Todd Poynor
On Tue, Jul 25, 2017 at 4:40 PM, Greg Kroah-Hartman wrote: > On Tue, Jul 25, 2017 at 04:31:59PM -0700, Todd Poynor wrote: >> initcall_debug attributes all deferred device probe retries for the >> late_initcall level to function deferred_probe_initcall. Add logs of >> the individual device probe r

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-25 Thread Serge E. Hallyn
On Fri, Jul 14, 2017 at 03:26:14PM -0400, Mimi Zohar wrote: > On Fri, 2017-07-14 at 13:17 -0500, Eric W. Biederman wrote: > > Which brings us to the semantic question of would it be nice to have > > stacked IMA/EVM on the same file. > > > > I really don't think we do. I think allowing multiple ke

Re: [patches] [PATCH 17/17] RISC-V: Build Infastructure

2017-07-25 Thread Jonathan Neuschäfer
On Tue, Jul 11, 2017 at 06:31:30PM -0700, Palmer Dabbelt wrote: > This patch contains all the build infastructure that actually enables > the RISC-V port. This includes Makefiles, linker scripts, and Kconfig > files. It also contains the only top-level change, which adds RISC-V to > the list of a

Re: [PATCH 4.12 000/196] 4.12.4-stable review

2017-07-25 Thread Guenter Roeck
On 07/25/2017 12:19 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.12.4 release. There are 196 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

RE: [PATCH V2 00/10] clk: add imx7ulp clk support

2017-07-25 Thread A.s. Dong
Ping... > -Original Message- > From: Dong Aisheng [mailto:aisheng.d...@nxp.com] > Sent: Thursday, July 13, 2017 7:47 PM > To: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > sb...@codeaurora.org; mturque...@baylibre.com; A.s. Dong; > do

Re: [PATCH 4.9 000/125] 4.9.40-stable review

2017-07-25 Thread Guenter Roeck
On 07/25/2017 12:18 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.40 release. There are 125 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 4.4 00/83] 4.4.79-stable review

2017-07-25 Thread Guenter Roeck
On 07/25/2017 12:18 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.79 release. There are 83 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH v4 0/4] Add support for ThunderX2 pmu events using json files

2017-07-25 Thread Zhangshaokun
Hi Ganapat I have tested patch-v4 on Hisilicon's hip08 board for implementation defined PMU events, and it works, So Tested-by: Shaokun Zhang Thanks. Shaokun On 2017/7/20 13:56, Ganapatrao Kulkarni wrote: > Extending json/jevent framework for parsing arm64 event files. > Adding jevents for Th

[PATCH] Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count

2017-07-25 Thread Manny Vindiola
The field in hfa384x_ps_user_count was defined as u16 but used as __le16 Changed type to __le16 for consistency Signed-off-by: Manny Vindiola --- drivers/staging/wlan-ng/hfa384x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/sta

Re: [PATCH RESEND] arm64: arch_timer: fix the infinite recursion when enable ftrace and erratum workaround

2017-07-25 Thread Ding Tianhong
On 2017/7/10 19:22, Mark Rutland wrote: > On Sun, Jul 09, 2017 at 04:30:54PM +0800, Ding Tianhong wrote: >> When enable preempt and debug ftrace, and perform the following steps, the >> system will hang: >> mount -t debugfs nodev /sys/kernel/debug/ >> cd /sys/kernel/debug/tracing/ >> echo functio

Re: [PATCH v2 0/2] ARM: dts: sabrelite/nitrogen6x: fix USB PHY reset

2017-07-25 Thread Shawn Guo
On Mon, Jul 24, 2017 at 02:59:56PM +0200, Gary Bisson wrote: > Gary Bisson (2): > ARM: dts: imx6qdl-sabrelite: fix USB PHY reset > ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset Applied both, thanks.

Re: [PATCH 23/32] tracing: Add 'onmatch' hist trigger action support

2017-07-25 Thread Namhyung Kim
Hi Tom, On Mon, Jun 26, 2017 at 05:49:24PM -0500, Tom Zanussi wrote: > Add an 'onmatch(matching.event).(param list)' > hist trigger action which is invoked with the set of variables or > event fields named in the 'param list'. The result is the generation > of a synthetic event that consists of t

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-25 Thread Daniel Micay
It was known that there are going to be bugs to work through, many of them relatively benign like the leaks of data near string constants (probably other string constants) in rodata. It makes sense to have it default to WARN with BUG / noreturn as a non-default configuration option for it, I guess

Re: USB disk speed regression WD Elements - with bisect result 22547c4cc4fe20698a6a85a55b8788859134b8e4

2017-07-25 Thread Guenter Roeck
On 07/25/2017 12:50 PM, Alan Stern wrote: On Tue, 25 Jul 2017, Zdenek Kabelac wrote: Dne 25.7.2017 v 19:02 Alan Stern napsal(a): On Tue, 25 Jul 2017, Zdenek Kabelac wrote: And in fact it's the very same commit - which adds this message (just check current 4.13 with and without this commit re

Re: [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb

2017-07-25 Thread Shawn Guo
On Thu, Jul 20, 2017 at 10:38:26AM +0800, yinbo@nxp.com wrote: > From: "yinbo.zhu" > > Signed-off-by: yinbo.zhu The subject should be prefixed like 'arm64: dts: ls1088a: ...'. And the current subject is confusing. You are adding USB support rather than fixing something. Also empty commit

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-25 Thread Wei Wang
On 07/25/2017 10:53 PM, Michal Hocko wrote: On Tue 25-07-17 14:47:16, Wang, Wei W wrote: On Tuesday, July 25, 2017 8:42 PM, hal Hocko wrote: On Tue 25-07-17 19:56:24, Wei Wang wrote: On 07/25/2017 07:25 PM, Michal Hocko wrote: On Tue 25-07-17 17:32:00, Wei Wang wrote: On 07/24/2017 05:00 PM,

Re: [PATCH v2] hwmon: (it87) Reapply probe path chip registers settings after resume

2017-07-25 Thread Guenter Roeck
On 07/24/2017 12:37 PM, Maciej S. Szmigiero wrote: After a suspend / resume cycle we possibly need to reapply chip registers settings that we had set or fixed in a probe path, since they might have been reset to default values or set incorrectly by a BIOS again. Tested on a Gigabyte M720-US3 boa

[PATCH 1/3] ARM: dts: am335x-evm: Enable NAND dma prefetch by default

2017-07-25 Thread Franklin S Cooper Jr
Currently the default method of prefetch polled shows the highest possible read and write speed when minimal non NAND background activity is being done. But it is also very CPU intensive to reach these high speeds (CPU load of 99% via mtd performance tests). While DMA prefetch only uses 50% of the

  1   2   3   4   5   6   7   8   9   10   >