[PATCH 0/2] mmc: renesas_sdhi: clean-up and fix CONFIG stuff for renesas_sdhi

2017-11-06 Thread Masahiro Yamada
Masahiro Yamada (2): mmc: renesas_sdhi: consilidate DMAC CONFIG options mmc: renesas_shci: remove wrong depends on to enable compile test drivers/mmc/host/Kconfig | 5 ++--- drivers/mmc/host/Makefile | 8 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) -- 2.7.4

[PATCH 2/2] mmc: renesas_shci: remove wrong depends on to enable compile test

2017-11-06 Thread Masahiro Yamada
ARCH_RENESAS is a stronger condition than (ARM || ARM64). If ARCH_RENESAS is enabled, (ARM || ARM64) is met as well. What is worse, the first depends on line prevents COMPILE_TEST from enabling this driver. It should be removed. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/Kconfig | 1

[PATCH 1/2] mmc: renesas_sdhi: consilidate DMAC CONFIG options

2017-11-06 Thread Masahiro Yamada
The description in the Makefile is odd. Fix the CONFIG selection in a cleaner way. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/Kconfig | 4 ++-- drivers/mmc/host/Makefile | 8 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mm

Re: [PATCH 1/3] dt-bindings: clk: Hi3660: Document stub clock

2017-11-06 Thread Leo Yan
On Mon, Nov 06, 2017 at 04:13:37PM -0600, Rob Herring wrote: > On Fri, Nov 03, 2017 at 03:25:05PM +0800, Kaihua Zhong wrote: > > From: Leo Yan > > > > Document the DT binding for stub clock which is used for CPU, > > GPU and DDR frequency scaling. > > > > Signed-off-by: Leo Yan > > --- > > Doc

Re: [RFC PATCH] mm, oom_reaper: gather each vma to prevent leaking TLB entry

2017-11-06 Thread Michal Hocko
On Tue 07-11-17 00:54:32, Will Deacon wrote: > On Mon, Nov 06, 2017 at 01:27:26PM +0100, Michal Hocko wrote: > > On Mon 06-11-17 09:52:51, Michal Hocko wrote: > > > On Mon 06-11-17 15:04:40, Bob Liu wrote: > > > > On Mon, Nov 6, 2017 at 11:36 AM, Wang Nan wrote: > > > > > tlb_gather_mmu(&tlb, mm,

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-06 Thread Vladimir Zapolskiy
Hello Chris, On 11/07/2017 04:49 AM, Chris Zhong wrote: > The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by > GPIO1_D6, this pin should be pull down then pull up to reset the phy. > Add a phy-reset property in emac, make the phy can be reset when emac > power on. for PHY rese

Re: [PATCH] mm: page_ext: allocate page extension though first PFN is invalid

2017-11-06 Thread Michal Hocko
On Tue 07-11-17 07:30:05, Jaewon Kim wrote: > I wonder if you want me to split and resend the 2 patches, or if you > will use this mail thread for the further discussion. Please resend -- Michal Hocko SUSE Labs

Re: [PATCH v2 3/4] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-06 Thread Hans Verkuil
On 11/07/2017 07:04 AM, Tim Harvey wrote: > On Fri, Oct 20, 2017 at 7:00 AM, Tim Harvey wrote: >> On Thu, Oct 19, 2017 at 12:39 AM, Hans Verkuil wrote: >> Regarding video standard detection where this chip provides me with vertical-period, horizontal-period, and horizontal-pulse-w

[PATCH v3 1/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-11-06 Thread Rick Chen
ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set 32-bit timer0 as clock source and count downwards until underflow and restart again

[PATCH v3 2/3] clocksource/drivers/Kconfig: Support andestech atcpit100 timer

2017-11-06 Thread Rick Chen
Add CLKSRC_ATCPIT100 for Andestech atcpit100 timer selection. It often be used in Andestech AE3XX platform. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- drivers/clocksource/Kconfig | 6 ++ drivers/clocksource/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/driver

[PATCH v3 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-11-06 Thread Rick Chen
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Acked-by: Rob Herring Signed-off-by: Greentime Hu --- .../bindings/timer/andestech,atcpit100-timer.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Doc

[PATCH v3 0/3] *** Fix warning from kbuild test robot ***

2017-11-06 Thread Rick Chen
*** Fix warnings when make with ARCH=x86_64 from auto build test *** rick (3): clocksource/drivers/atcpit100: Add andestech atcpit100 timer clocksource/drivers/Kconfig: Support andestech atcpit100 timer dt-bindings: timer: Add andestech atcpit100 timer binding doc .../bindings/timer/andest

[PATCH v2 2/3] arm64: dts: ls1043a: Enable USB 3.0 phy driver

2017-11-06 Thread Ran Wang
This patch adds entries in dts to enable USB 3.0 PHY driver. Signed-off-by: Sriram Dash Signed-off-by: Ran Wang --- Change in v2: - Rename node name from 'usb3-phy' to 'usb-phy' - Adjust phy node position arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 33

[PATCH v2 1/3] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2017-11-06 Thread Ran Wang
Adds qoriq usb 3.0 phy driver to implement erratum related workaround for qoriq SoC. Signed-off-by: Sriram Dash Signed-off-by: Ran Wang --- Change in v2: - Replace funciont __raw_writel() by iowrite32be() - Remove qoriq_usb3_phy_read() and qoriq_usb3_phy_write() - Remove

[PATCH v2 3/3] usb: dwc3: Enable USB 3.0 phy driver

2017-11-06 Thread Ran Wang
Adds entry point at dwc3 core init function to enable USB 3.0 PHY driver. Signed-off-by: Ran Wang --- Change in v2: - New file drivers/usb/dwc3/core.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 03474d3575a

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-06 Thread Greg Kroah-Hartman
On Mon, Nov 06, 2017 at 11:20:40PM -0800, Christoph Hellwig wrote: > NAK, for both the libxfs patch and the kernel one. What libxfs patch? And what "kernel one" are you referring to here? > I wrote the file and it has no copyright header because it conatians > trivial, non-copyrightable code. W

Re: [PATCH v9 00/51] powerpc, mm: Memory Protection Keys

2017-11-06 Thread Florian Weimer
* Ram Pai: > On Mon, Nov 06, 2017 at 10:28:41PM +0100, Florian Weimer wrote: >> * Ram Pai: >> >> > Testing: >> > --- >> > This patch series has passed all the protection key >> > tests available in the selftest directory.The >> > tests are updated to work on both x86 and powerpc. >> > The sel

RE: [f2fs-dev] [PATCH] f2fs: keep scanning until enough free nids are acquired

2017-11-06 Thread Fan Li
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, November 07, 2017 11:41 AM > To: Fan Li > Cc: 'Chao Yu'; 'Chao Yu'; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] f2fs: keep scanning until eno

RE: [PATCH] storvsc: Avoid excessive host scan on controller change

2017-11-06 Thread Long Li
> From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Monday, November 6, 2017 7:40 PM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; James E . J . Bottomley > ; Martin K . Petersen > ; de...@linuxdriverproject.org; linux- > s...@vger.kernel.org; linux

WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-06 Thread Christoph Hellwig
NAK, for both the libxfs patch and the kernel one. I wrote the file and it has no copyright header because it conatians trivial, non-copyrightable code. I don't know why people think they can touch license information on files I've written without even asking me. Seems like this happened to vari

[PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-06 Thread Abhishek Goel
cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by searching for the first online cpu and uses it, instead of always using cpu0 for monitoring which may not be online. Signed-off-by: Abhishek Goel --- v2: Commit me

RE: [PATCH 0/4] fsl/fman: Fix some error handling code in mac_probe

2017-11-06 Thread Madalin-cristian Bucur
Hi Christophe, I'll review and test your fixes. Thank you! Madalin > -Original Message- > From: Christophe JAILLET [mailto:christophe.jail...@wanadoo.fr] > Sent: Monday, November 06, 2017 11:53 PM > To: Madalin-cristian Bucur > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; k

Re: [PATCH V3 02/11] dt-bindings: Add Spreadtrum clock binding documentation

2017-11-06 Thread Chunyan Zhang
Hi Rob, On 7 November 2017 at 01:15, Rob Herring wrote: > On Thu, Nov 02, 2017 at 02:56:17PM +0800, Chunyan Zhang wrote: >> Introduce a new binding with its documentation for Spreadtrum clock >> sub-framework. >> >> Signed-off-by: Chunyan Zhang >> --- >> Documentation/devicetree/bindings/clock/

Re: [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-06 Thread Chao Yu
On 2017/11/7 12:01, Yunlong Song wrote: > Sorry, misunderstanding, because I think when sync == true, FG_GC does not > check has_not_enough_free_secs, so maybe it does not have to do any gc > at all. > For example, if there are 100 segments for f2fs, and 20 segments are full or > valid blocks over

Re: [ata_scsi_offline_dev] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238

2017-11-06 Thread Hannes Reinecke
On 11/07/2017 12:12 AM, Linus Torvalds wrote: > On Mon, Nov 6, 2017 at 2:53 PM, Fengguang Wu wrote: >> >> The same dmesg happen to contain another libata related bug. Attached again. >> It's rare and in the error handling path, so unlikely a new regression. >> >> [ 49.608280] BUG: sleeping funct

Re: [PATCH 11/12] hwrng: bcm2835-rng: Enable BCM2835 RNG to work on BCM63xx platforms

2017-11-06 Thread Stefan Wahren
> Florian Fainelli hat am 6. November 2017 um 21:16 > geschrieben: > > > On 11/04/2017 11:27 AM, Stefan Wahren wrote: > > Hi Florian > > > >> Florian Fainelli hat am 2. November 2017 um 02:04 > >> geschrieben: > >> > >> > >> We have now incorporated all necessary functionality for the BCM63x

Re: [PATCH] remoteproc: qcom: use %pap format string for phys_addr_t

2017-11-06 Thread Bjorn Andersson
On Mon 06 Nov 05:37 PST 2017, Arnd Bergmann wrote: > We cannot cast a phys_addr_t variable to a pointer on 32-bit architectures > with CONFIG_PHYS_ADDR_T_64BIT set: > > In file included from include/linux/kernel.h:14:0, > from include/linux/clk.h:16, > from drive

Re: [PATCH for-next 2/4] RDMA/hns: Add IOMMU enable support in hip08

2017-11-06 Thread Leon Romanovsky
On Tue, Nov 07, 2017 at 10:45:29AM +0800, Wei Hu (Xavier) wrote: > > > On 2017/11/1 20:26, Robin Murphy wrote: > > On 01/11/17 07:46, Wei Hu (Xavier) wrote: > >> > >> On 2017/10/12 20:59, Robin Murphy wrote: > >>> On 12/10/17 13:31, Wei Hu (Xavier) wrote: > On 2017/10/1 0:10, Leon Romanovsky w

Re: [PATCH] IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey

2017-11-06 Thread Yuval Shaia
On Mon, Nov 06, 2017 at 08:35:14AM -0600, Gustavo A. R. Silva wrote: > Check on return value and goto label mbx_err are unnecessary. > > Addresses-Coverity-ID: 1268780 What's that? > Signed-off-by: Gustavo A. R. Silva > --- > drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 4 +--- > 1 file changed,

Re: [PATCH 2/4] fsl/fman: Remove some useless code

2017-11-06 Thread Christophe JAILLET
Le 06/11/2017 à 22:53, Christophe JAILLET a écrit : There is no need to release explicitly some devm_ allocated resources. If the 'mac_probe()' probe function fails, they will be released automatically, as already done in the other error handling paths of this function. Also goto '_return_of_get

Re: Proposal: single defconfig for all ARM

2017-11-06 Thread Pintu Kumar
On Tue, Nov 7, 2017 at 4:21 AM, Enrico Weigelt, metux IT consult wrote: > On 26.10.2017 18:26, Pintu Kumar wrote: >> >> Hi, >> >> My proposal is to maintain a common base defconfig file for all ARM >> products and only add the additional configs in the new defconfig >> file. >> I am not sure if th

[PATCH] lib/mpi: call cond_resched() from mpi_powm() loop

2017-11-06 Thread Eric Biggers
From: Eric Biggers On a non-preemptible kernel, if KEYCTL_DH_COMPUTE is called with the largest permitted inputs (16384 bits), the kernel spends 10+ seconds doing modular exponentiation in mpi_powm() without rescheduling. If all threads do it, it locks up the system. Moreover, it can cause rcu_

Re: [PATCH v4 20/20] cpufreq: scmi: add support for fast frequency switching

2017-11-06 Thread Viresh Kumar
On 03-11-17, 14:47, Sudeep Holla wrote: > The cpufreq core provides option for drivers to implement fast_switch > callback which is invoked for frequency switching from interrupt context. > > This patch adds support for fast_switch callback in SCMI cpufreq driver > by making use of polling based S

Re: [PATCH v4 19/20] cpufreq: add support for CPU DVFS based on SCMI message protocol

2017-11-06 Thread Viresh Kumar
On 03-11-17, 14:47, Sudeep Holla wrote: > On some ARM based systems, a separate Cortex-M based System Control > Processor(SCP) provides the overall power, clock, reset and system > control including CPU DVFS. SCMI Message Protocol is used to > communicate with the SCP. > > This patch adds a cpufre

Re: [PATCH v2 3/4] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-06 Thread Tim Harvey
On Fri, Oct 20, 2017 at 7:00 AM, Tim Harvey wrote: > On Thu, Oct 19, 2017 at 12:39 AM, Hans Verkuil wrote: > >>> >>> Regarding video standard detection where this chip provides me with >>> vertical-period, horizontal-period, and horizontal-pulse-width I >>> should be able to detect the standard

Re: [PATCH v2 0/2] remoteproc: increase debug capabilities

2017-11-06 Thread Bjorn Andersson
On Mon 06 Nov 09:09 PST 2017, Loic Pallardy wrote: > This series increases remoteproc debug capabilities by adding: > - associated resource table dump feature > - registered carveouts list dump feature > Looks good, patches applied to rproc-next Regards, Bjorn > --- > Changes from V1: > - Fix

Re: linux-next: build warning after merge of the regmap tree

2017-11-06 Thread Bjorn Andersson
On Mon 06 Nov 03:21 PST 2017, Mark Brown wrote: > On Mon, Nov 06, 2017 at 03:30:37PM +1100, Stephen Rothwell wrote: > > On Mon, 6 Nov 2017 15:21:57 +1100 Stephen Rothwell > > wrote: > > > On Mon, 6 Nov 2017 11:52:14 +1100 Stephen Rothwell > > > wrote: > > > > > After merging the regmap tree,

Re: [PATCH v3 4/4] ARM64: dts: meson: drop "sana" clock from SARADC

2017-11-06 Thread Yixun Lan
Hi On 11/07/17 13:37, Yixun Lan wrote: > From: Xingyu Chen > > The SAR ADC modules doesn't require The "sana" clock. > > Singed-off-by: Xingyu Chen > Signed-off-by: Yixun Lan > --- > arch/arm/boot/dts/meson8.dtsi | 5 ++--- > arch/arm/boot/dts/meson8b.dtsi | 5 ++--

Re: [f2fs-dev] [PATCH] f2fs: keep scanning until enough free nids are acquired

2017-11-06 Thread Chao Yu
On 2017/11/7 11:04, Fan Li wrote: > In current version, after scan_free_nid_bits, the scan is over if > nid_cnt[FREE_NID] != 0. > In most cases, there are still free nids in the free list during the scan, > and scan_free_nid_bits > usually can't increase nid_cnt[FREE_NID]. > It causes that __buil

Re: [PATCH] clk: meson: gxbb: fix wrong clock for SARADC/SANA

2017-11-06 Thread Yixun Lan
Hi Martin On 11/07/17 06:03, Martin Blumenstingl wrote: > Hi Yixun, > > On Mon, Nov 6, 2017 at 10:31 AM, Yixun Lan wrote: >> Hi Neil: >> >> >> On 11/06/17 16:57, Neil Armstrong wrote: >>> On 06/11/2017 08:52, Yixun Lan wrote: According to the datasheet, in Meson-GXBB/GXL series, The cl

RE: [PATCH v16 5/6] vfio: ABI for mdev display dma-buf operation

2017-11-06 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Gerd Hoffmann > Sent: Monday, November 6, 2017 5:01 PM > To: Zhang, Tina ; alex.william...@redhat.com; > ch...@chris-wilson.co.uk; joonas.lahti...@linux.intel.com; > zhen...@linu

[PATCH v2 1/3] f2fs: avoid opened loop codes in __add_ino_entry

2017-11-06 Thread Chao Yu
We will keep __add_ino_entry success all the time, for ENOMEM failure case, we have already handled it by using __GFP_NOFAIL flag, so we don't have to use additional opened loop codes here, remove them. Signed-off-by: Chao Yu --- v2: As Michal Hocko suggested, with __GFP_NOFAIL, MM will do all i

[PATCH v3 1/4] clk: meson: gxbb: fix wrong clock for SARADC/SANA

2017-11-06 Thread Yixun Lan
According to the datasheet, in Meson-GXBB/GXL series, The clock gate bit for SARADC is HHI_GCLK_MPEG2 bit[22], while clock gate bit for SANA is HHI_GCLK_MPEG0 bit[10]. Test passed at gxl-s905x-p212 board. The following published datasheets are wrong and should be updated [1] GXBB v1.1.4, page 57

[PATCH v3 4/4] ARM64: dts: meson: drop "sana" clock from SARADC

2017-11-06 Thread Yixun Lan
From: Xingyu Chen The SAR ADC modules doesn't require The "sana" clock. Singed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- arch/arm/boot/dts/meson8.dtsi | 5 ++--- arch/arm/boot/dts/meson8b.dtsi | 5 ++--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 3 +-- ar

[PATCH v3 2/4] iio: adc: meson-saradc: remove irrelevant clock "sana"

2017-11-06 Thread Yixun Lan
From: Xingyu Chen The "sana" clock is not used at SAR ADC module in Amlogic Meson SoC, it is irrelevant for the SAR ADC. Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- drivers/iio/adc/meson_saradc.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/iio/

[PATCH v3 4/4] ARM64: dts: meson: drop "sana" clock from SAR ADC

2017-11-06 Thread Yixun Lan
From: Xingyu Chen The SAR ADC modules doesn't require The "sana" clock. Singed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- arch/arm/boot/dts/meson8.dtsi | 5 ++--- arch/arm/boot/dts/meson8b.dtsi | 5 ++--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 3 +-- ar

[PATCH v3 3/4] dt-bindings: iio: adc: update the doc for SAR ADC

2017-11-06 Thread Yixun Lan
From: Xingyu Chen Update the doc as the SAR ADC modules doesn't require "sana" clock. Singed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v3 0/4] fix the clock setting for SAR ADC

2017-11-06 Thread Yixun Lan
patch [1/4]: Fix wrong SARADC/SANA clock gate bit in Meson-GXBB/GXL, the published datasheet also has wrong description about this. patch [2-4/4]: Drop the "sana" clock from SAR ADC module, From the hardware perspective, the SAR ADC module doesn't require "sana" clock to wrok. This should a

linux-next: Signed-off-by missing for commit in the arm64 tree

2017-11-06 Thread Stephen Rothwell
Hi Catalin, Commit 2c0db5b45071 ("rm64: Implement __lshrti3 library function") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell

Re: n900 in next-20170901

2017-11-06 Thread Joonsoo Kim
Hello, Sorry for dealy. I was on vacation during last week. On Thu, Oct 26, 2017 at 07:16:27AM -0700, Tony Lindgren wrote: > * Joonsoo Kim [171025 21:45]: > > On Wed, Oct 25, 2017 at 10:31:38AM -0700, Tony Lindgren wrote: > > > Great, this branch boots on n900! Early parts of the dmesg attached

linux-next: Tree for Nov 7

2017-11-06 Thread Stephen Rothwell
Hi all, Changes since 20171106: The powerpc tree still had its build failure for which I applied a patch. The crypto tree lost its build failure. The akpm tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 10912 10165 files ch

[PATCH v2 2/5] soc: qcom: Introduce QMI helpers

2017-11-06 Thread Bjorn Andersson
Drivers that needs to communicate with a remote QMI service all has to perform the operations of discovering the service, encoding and decoding the messages and operate the socket. This introduces an abstraction for these common operations, reducing most of the duplication in such cases. Signed-of

[PATCH v2 5/5] samples: Introduce Qualcomm QMI sample client

2017-11-06 Thread Bjorn Andersson
Introduce a sample driver that register for server notifications and spawn clients for each available test service (service 15). The spawned clients implements the interface for encoding "ping" and "data" requests and decode the responses from the remote. Signed-off-by: Bjorn Andersson --- Chang

[PATCH v2 1/5] soc: qcom: Introduce QMI encoder/decoder

2017-11-06 Thread Bjorn Andersson
Add the helper library for encoding and decoding QMI encoded messages. The implementation is taken from lib/qmi_encdec.c of the Qualcomm kernel (msm-3.18). Modifications has been made to the public API, source buffers has been made const and the debug-logging part was omitted, for now. Signed-off

[PATCH v2 3/5] remoteproc: Pass type of shutdown to subdev remove

2017-11-06 Thread Bjorn Andersson
remoteproc instances can be stopped either by invoking shutdown or by an attempt to recover from a crash. For some subdev types it's expected to clean up gracefully during a shutdown, but are unable to do so during a crash - so pass this information to the subdev remove functions. Signed-off-by: B

[PATCH v2 4/5] remoteproc: qcom: Introduce sysmon

2017-11-06 Thread Bjorn Andersson
The sysmon client communicates either via a dedicated SMD/GLINK channel or via QMI encoded messages over IPCROUTER with remote processors in order to perform graceful shutdown and inform about other remote processors shutting down. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch

[PATCH v2 0/5] In-kernel QMI helpers and sysmon

2017-11-06 Thread Bjorn Andersson
This series introduces a helper library for drivers that needs to implement clients or services in the kernel for communicating with QMI encoded messages. This is used by a set of drivers in order to implement control signaling that needs to happen between a driver and a service on a remote proces

Re: [PATCH v3 1/2] PM / domains: Rework governor code to be more consistent

2017-11-06 Thread Ramesh Thomas
On 2017-11-07 at 02:23:18 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The genpd governor currently uses negative PM QoS values to indicate > the "no suspend" condition and 0 as "no restriction", but it doesn't > use them consistently. Moreover, it tries to refresh QoS values fo

Re: POWER: Unexpected fault when writing to brk-allocated memory

2017-11-06 Thread Nicholas Piggin
C'ing everyone who was on the x86 56-bit user virtual address patch. I think we need more time to discuss this behaviour, in light of the regression Florian uncovered. I would propose we turn off the 56-bit user virtual address support for x86 for 4.14, and powerpc would follow and turn off its 51

Re: [PATCH v3 2/2] gpio: aspeed: Add support for reset tolerance

2017-11-06 Thread Joel Stanley
On Wed, Nov 1, 2017 at 2:34 PM, Andrew Jeffery wrote: > Use the new pinconf parameter for state persistence to expose the > associated capability of the Aspeed GPIO controller. > > Signed-off-by: Andrew Jeffery I took a look and checked the offsets against the datasheet. LGTM. Reviewed-by: Joel

RE: [PATCH v16 5/6] vfio: ABI for mdev display dma-buf operation

2017-11-06 Thread Zhang, Tina
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, November 7, 2017 4:37 AM > To: Gerd Hoffmann > Cc: Zhang, Tina ; Tian, Kevin ; > Daniel Vetter ; intel-...@lists.freedesktop.org; > joonas.lahti...@linux.intel.com; linux-kernel@vger.kernel.

[PATCH] qrtr: Move to postcore_initcall

2017-11-06 Thread Bjorn Andersson
Registering qrtr with module_init makes the ability of typical platform code to create AF_QIPCRTR socket during probe a matter of link order luck. Moving qrtr to postcore_initcall() avoids this. Signed-off-by: Bjorn Andersson --- net/qrtr/qrtr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[rbtree_test_init] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2017-11-06 Thread Fengguang Wu
Hi Davidlohr, Here's a warning in v4.14-rc8 -- it's not necessarily a new bug. [ 103.655201] xz_dec_test: module loaded [ 103.655994] xz_dec_test: Create a device node with 'mknod xz_dec_test c 249 0' and write .xz files to it. [ 103.796051] atomic64_test: passed for i386+ platform with CX8

[PATCH] documentation: update list of available compiled-in fonts

2017-11-06 Thread Randy Dunlap
From: Randy Dunlap Update list of available compiled-in fonts in lib/fonts/: add 6x10 and drop RomanLarge (which was reverted 12 years ago). Signed-off-by: Randy Dunlap Cc: Geert Uytterhoeven --- Documentation/fb/fbcon.txt |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lnx-

[test_drm_mm_init] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2017-11-06 Thread Fengguang Wu
Hi Chris, Here's a warning in v4.14-rc8 -- it's not necessarily a new bug. [ 134.914567] console [ttyS0] enabled [ 134.943214] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 134.974836] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 135.000528

Re: [PATCH v3 2/2] PM / QoS: Fix device resume latency framework

2017-11-06 Thread Ramesh Thomas
On 2017-11-07 at 02:27:05 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The special value of 0 for device resume latency PM QoS means > "no restriction", but there are two problems with that. > > First, device resume latency PM QoS requests with 0 as the > value are always put in

[interval_tree_test_init] BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]

2017-11-06 Thread Fengguang Wu
Hi Davidlohr, Here is a warning in v4.14-rc8 -- it's not necessarily a new bug. [ 265.102312] xz_dec_test: module loaded [ 265.111774] xz_dec_test: Create a device node with 'mknod xz_dec_test c 246 0' and write .xz files to it. [ 265.160320] atomic64_test: passed for x86-64 platform with C

Re: [PATCH 1/2] printk: Relocate wake_klogd check close to the end of console_unlock()

2017-11-06 Thread Sergey Senozhatsky
On (11/02/17 06:51), Tejun Heo wrote: > We mark for waking up klogd whenever we see a new message sequence in > the main loop. However, the actual wakeup is always at the end of the > function and we can easily test for the wakeup condition when we do > the final should-we-repeat check. > > Move

[sock_def_readable] WARNING: bad unlock balance detected!

2017-11-06 Thread Fengguang Wu
FYI, this warning shows up in both v4.14-rc8 and v4.13: [ 144.578809] br-lan: port 1(eth0) entered disabled state [ 144.581360] device eth0 left promiscuous mode [ 144.582699] br-lan: port 1(eth0) entered disabled state [ 144.685012] [ 144.685370] = [ 1

Re: [PATCH 4.4 28/40] drm/msm/dsi: Set msm_dsi->encoders before initializing bridge

2017-11-06 Thread Archit Taneja
Hi Greg, On 11/06/2017 03:15 PM, Greg Kroah-Hartman wrote: 4.4-stable review patch. If anyone has any objections, please let me know. This patch isn't needed on 4.4 or the 4.9 stable branches. This was required only after drm_bridge API was changed with the commit: (3bb80f2495) drm: bridge:

Re: [PATCH 0/4] scsi: qla2xxx: Convert timers to use timer_setup()

2017-11-06 Thread Bart Van Assche
On Mon, 2017-11-06 at 19:58 +, Madhani, Himanshu wrote: > On Nov 5, 2017, at 4:18 PM, Bart Van Assche wrote: > > The qla2xxx driver does not crash if apply these four patches on kernel > > v4.14-rc8 and load the qla2xxx driver on my test setup. Point-to-point > > mode seems broken again but I

Re: [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-06 Thread Yunlong Song
Sorry, misunderstanding, because I think when sync == true, FG_GC does not check has_not_enough_free_secs, so maybe it does not have to do any gc at all. For example, if there are 100 segments for f2fs, and 20 segments are full or valid blocks over fggc_threshold, then it is correct to fail in g

Re: [d_alloc_parallel] WARNING: bad unlock balance detected!

2017-11-06 Thread Fengguang Wu
CC locking people. On Tue, Nov 07, 2017 at 02:33:28AM +, Al Viro wrote: On Tue, Nov 07, 2017 at 10:01:13AM +0800, Fengguang Wu wrote: Hi, Here is a warning in v4.14-rc8 -- it's not necessarily a new bug. Why is it a bug at all? [ 428.512005] e1000: eth0 NIC Link is Up 1000 Mbps Full D

Re: [PATCH] mpt3sas: fix dma_addr_t casts

2017-11-06 Thread Martin K. Petersen
Arnd, > After taking a closer look, I found that the problem is that the new > code mixes up pointers and dma_addr_t values unnecessarily. > > This changes it to use the correct types consistently, which lets us > get rid of a lot of type casts in the process. I'm also renaming some > variables t

Re: [PATCH v2] scsi: be2iscsi: Use kasprintf

2017-11-06 Thread Martin K. Petersen
Jitendra, >> Use kasprintf instead of combination of kmalloc and sprintf. >> Also, remove BEISCSI_MSI_NAME macro used to specify size of string as >> kasprintf handles size computations. >> >> Signed-off-by: Himanshu Jha > Reviewed-by: Jitendra Bhivare Applied to 4.15/scsi-queue. -- Martin

Re: [PATCH] ASoC: intel: initialize return value properly

2017-11-06 Thread Vinod Koul
On Mon, Nov 06, 2017 at 02:30:36PM +0100, Arnd Bergmann wrote: > When CONFIG_SND_SOC_HDAC_HDMI is disabled, we can run into an > uninitialized variable: > > sound/soc/intel/skylake/skl.c: In function 'skl_resume': > sound/soc/intel/skylake/skl.c:326:6: error: 'ret' may be used uninitialized > in

Re: [RFC PATCH] mm, oom_reaper: gather each vma to prevent leaking TLB entry

2017-11-06 Thread Wangnan (F)
On 2017/11/6 19:57, Michal Hocko wrote: On Mon 06-11-17 19:03:34, Wangnan (F) wrote: On 2017/11/6 18:40, Michal Hocko wrote: On Mon 06-11-17 17:59:54, Wangnan (F) wrote: On 2017/11/6 16:52, Michal Hocko wrote: On Mon 06-11-17 15:04:40, Bob Liu wrote: On Mon, Nov 6, 2017 at 11:36 AM, Wang

Re: [PATCH v3] kbuild: fix linker feature test macros when cross compiling with Clang

2017-11-06 Thread Masahiro Yamada
2017-11-07 3:47 GMT+09:00 Nick Desaulniers : > I was not seeing my linker flags getting added when using ld-option when > cross compiling with Clang. Upon investigation, this seems to be due to > a difference in how GCC vs Clang handle cross compilation. > > GCC is configured at build time to suppo

Re: [PATCH v2] uvc: Add D3DFMT_L8 support

2017-11-06 Thread Laurent Pinchart
Hi Nicolas, Thank you for the patch. On Monday, 6 November 2017 22:13:28 EET Nicolas Dufresne wrote: > Microsoft HoloLense UVC sensor uses D3DFMT instead of FOURCC when > exposing formats. This adds support for D3DFMT_L8 as exposed from > the Acer Windows Mixed Reality Headset. > > Signed-off-by

Re: [PATCH] storvsc: Avoid excessive host scan on controller change

2017-11-06 Thread Martin K. Petersen
Long, > When there are multiple disks attached to the same SCSI controller, > the host may send several VSTOR_OPERATION_REMOVE_DEVICE or > VSTOR_OPERATION_ENUMERATE_BUS messages in a row, to indicate there is > a change on the SCSI controller. In response, storvsc rescans the SCSI > host. Applie

Re: [PATCH 3.16 153/294] dm: convert DM printk macros to pr_ macros

2017-11-06 Thread Mike Snitzer
On Mon, Nov 06 2017 at 10:19pm -0500, Joe Perches wrote: > On Mon, 2017-11-06 at 23:03 +, Ben Hutchings wrote: > > 3.16.50-rc1 review patch. If anyone has any objections, please let me know. > > Why include this? It's a simplification, not a bug fix. Logical reason is it serves as a prere

Re: [f2fs-dev] [PATCH] f2fs: keep scanning until enough free nids are acquired

2017-11-06 Thread Jaegeuk Kim
Hi, I merged this patch after fixing some broken format. Could you please check your email configuration? Thanks, On 11/07, Fan Li wrote: > In current version, after scan_free_nid_bits, the scan is over if > nid_cnt[FREE_NID] != 0. > In most cases, there are still free nids in the free list dur

Re: [ata_scsi_offline_dev] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238

2017-11-06 Thread Martin K. Petersen
Linus, > But it does seem to be a new regression in 4.14, caused by commit > 8a97712e5314 ("scsi: make 'state' device attribute pollable"), because > that's what added the sysfs_notify() call to scsi_device_set_state(), > which made that spinlock be a problem. > > That commit came in through the

Re: [kernel-hardening] Re: [PATCH resend 2/2] userns: control capabilities of some user namespaces

2017-11-06 Thread Serge E. Hallyn
On Mon, Nov 06, 2017 at 07:01:58PM -0500, Boris Lukashev wrote: > On Mon, Nov 6, 2017 at 6:39 PM, Serge E. Hallyn wrote: > > Quoting Boris Lukashev (blukas...@sempervictus.com): > >> On Mon, Nov 6, 2017 at 5:14 PM, Serge E. Hallyn wrote: > >> > Quoting Daniel Micay (danielmi...@gmail.com): > >> >

Re: [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-06 Thread Jaegeuk Kim
On 11/07, Yunlong Song wrote: > Because I find that some out-of-free problem is caused by the failure > of get victim target. For example, chao has pointed out that he has > found out a bug when adding this bug_on last week. That's NOT what I asked. Why not checking FG_GC all the time like this?

Re: [kernel-hardening] Re: [PATCH resend 2/2] userns: control capabilities of some user namespaces

2017-11-06 Thread Serge E. Hallyn
On Mon, Nov 06, 2017 at 09:16:03PM -0500, Daniel Micay wrote: > On Mon, 2017-11-06 at 16:14 -0600, Serge E. Hallyn wrote: > > Quoting Daniel Micay (danielmi...@gmail.com): > > > Substantial added attack surface will never go away as a problem. > > > There > > > aren't a finite number of vulnerabili

Re: [PATCH v2] tpm: Move Linux RNG connection to hwrng

2017-11-06 Thread PrasannaKumar Muralidharan
Hi Jason, On 6 November 2017 at 07:57, Jason Gunthorpe wrote: > On Sun, Nov 05, 2017 at 01:05:06PM +0200, Jarkko Sakkinen wrote: > >> I asked to create a series for a reason. Now this doesn't apply because I >> don't have an ancestor in my git history. > > It would be unusual for me to put your p

Re: [PATCH 3.16 153/294] dm: convert DM printk macros to pr_ macros

2017-11-06 Thread Joe Perches
On Mon, 2017-11-06 at 23:03 +, Ben Hutchings wrote: > 3.16.50-rc1 review patch. If anyone has any objections, please let me know. Why include this? It's a simplification, not a bug fix. > -- > > From: Joe Perches > > commit d2c3c8dcb5987b8352e82089c79a41b6e17e28d2 upstrea

Re: [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-06 Thread Yunlong Song
Because I find that some out-of-free problem is caused by the failure of get victim target. For example, chao has pointed out that he has found out a bug when adding this bug_on last week. On 2017/11/7 10:40, Jaegeuk Kim wrote: On 11/06, Jaegeuk Kim wrote: On 11/06, Yunlong Song wrote: Agree.

Re: AXP803 I2C support / AXP devicetree-bindings

2017-11-06 Thread Chen-Yu Tsai
On Tue, Nov 7, 2017 at 6:39 AM, Martin Blumenstingl wrote: > Hello, > > recently I discovered that there are some X-Powers AXP chips that > support both, Allwinner's own "RSB" as well as the I2C ("TWSI" in the > datasheet) busses. > > one chip that supports both interfaces is the AXP803 > the data

Re: [PATCH v3] f2fs: fix out-of-free problem caused by atomic write

2017-11-06 Thread Yunlong Song
I test it in an old kernel and find it hangs in gc process, maybe it is a bug of old kernel. On 2017/11/7 10:49, Jaegeuk Kim wrote: On 11/07, Yunlong Song wrote: This patch tries its best to collect prefree segments and make it free to be used in the commit process, or it will use up free segm

hello dear

2017-11-06 Thread Makena Jelani
I have the feeling that this piece of email will reach you in a perfect state of mind and in a better healthy condition, Despite we just know each other through internet, but understand that internet is like a global connective one village. My name is Miss Makena Jelani. I am 21 years old, I am fr

[PATCH] slub: Fix sysfs duplicate filename creation when slub_debug=O

2017-11-06 Thread miles.chen
From: Miles Chen When slub_debug=O is set. It is possible to clear debug flags for an "unmergeable" slab cache in kmem_cache_open(). It makes the "unmergeable" cache became "mergeable" in sysfs_slab_add(). These caches will generate their "unique IDs" by create_unique_id(), but it is possible to

[f2fs-dev] [PATCH] f2fs: keep scanning until enough free nids are acquired

2017-11-06 Thread Fan Li
In current version, after scan_free_nid_bits, the scan is over if nid_cnt[FREE_NID] != 0. In most cases, there are still free nids in the free list during the scan, and scan_free_nid_bits usually can't increase nid_cnt[FREE_NID]. It causes that __build_free_nids is called many times without solvi

Re: [RFC PATCH v2 for 4.15 08/14] Provide cpu_opv system call

2017-11-06 Thread Boqun Feng
On Tue, Nov 07, 2017 at 02:40:37AM +, Mathieu Desnoyers wrote: > - On Nov 6, 2017, at 9:07 PM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Mon, Nov 06, 2017 at 03:56:38PM -0500, Mathieu Desnoyers wrote: > > [...] > >> +static int cpu_op_pin_pages(unsigned long addr, unsigned long len,

Re: [PATCH 1/3] iommu/vt-d: Missing checks for pasid tables if allocation fails

2017-11-06 Thread Lu Baolu
Hi, On 11/07/2017 04:13 AM, Alex Williamson wrote: > On Thu, 19 Oct 2017 08:39:14 +0800 > Lu Baolu wrote: > >> intel_svm_alloc_pasid_tables() might return an error but never be >> checked by the callers. Later when intel_svm_bind_mm() is called, >> there are no checks for valid pasid tables befor

[PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-06 Thread Chris Zhong
The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by GPIO1_D6, this pin should be pull down then pull up to reset the phy. Add a phy-reset property in emac, make the phy can be reset when emac power on. Signed-off-by: Chris Zhong --- arch/arm/boot/dts/rk3066a-rayeager.dts | 2

Re: [PATCH v3] f2fs: fix out-of-free problem caused by atomic write

2017-11-06 Thread Jaegeuk Kim
On 11/07, Yunlong Song wrote: > This patch tries its best to collect prefree segments and make it free to be > used > in the commit process, or it will use up free segments since prefree > segments > can not be used during commit process. > > As for your suggestion, I do consider that in an initia

Re: [PATCH for-next 2/4] RDMA/hns: Add IOMMU enable support in hip08

2017-11-06 Thread Wei Hu (Xavier)
On 2017/11/1 20:26, Robin Murphy wrote: > On 01/11/17 07:46, Wei Hu (Xavier) wrote: >> >> On 2017/10/12 20:59, Robin Murphy wrote: >>> On 12/10/17 13:31, Wei Hu (Xavier) wrote: On 2017/10/1 0:10, Leon Romanovsky wrote: > On Sat, Sep 30, 2017 at 05:28:59PM +0800, Wei Hu (Xavier) wrote: >>

Re: [PATCH v3] f2fs: fix out-of-free problem caused by atomic write

2017-11-06 Thread Chao Yu
On 2017/11/7 10:24, Jaegeuk Kim wrote: > On 11/07, Chao Yu wrote: >> On 2017/11/7 9:55, Jaegeuk Kim wrote: >>> On 11/06, Yunlong Song wrote: f2fs_balance_fs only actives once in the commit_inmem_pages, but there are more than one page to commit, so all the other pages will miss the c

  1   2   3   4   5   6   7   8   9   10   >