Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-24 Thread Hugh Dickins
On Thu, 20 Jul 2017, Tetsuo Handa wrote: > Hugh Dickins wrote: > > You probably won't welcome getting into alternatives at this late stage; > > but after hacking around it one way or another because of its pointless > > lockups, I lost patience with that too_many_isolated() loop a few months > > ba

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-24 Thread Hugh Dickins
On Thu, 20 Jul 2017, Michal Hocko wrote: > On Wed 19-07-17 18:54:40, Hugh Dickins wrote: > [...] > > You probably won't welcome getting into alternatives at this late stage; > > but after hacking around it one way or another because of its pointless > > lockups, I lost patience with that too_many_i

[PATCH v2 2/4] crypto: add crypto_(un)register_ahashes()

2017-07-24 Thread Lars Persson
From: Rabin Vincent There are already helpers to (un)register multiple normal and AEAD algos. Add one for ahashes too. Signed-off-by: Lars Persson --- crypto/ahash.c | 29 + include/crypto/internal/hash.h | 2 ++ 2 files changed, 31 insertions(+)

[PATCH v2 4/4] MAINTAINERS: Add ARTPEC crypto maintainer

2017-07-24 Thread Lars Persson
Assign the Axis kernel team as maintainer for crypto drivers under drivers/crypto/axis. Signed-off-by: Lars Persson --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index d5b6c71e783e..72186cf9820d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1129,6

[PATCH v2 0/4] crypto: add driver for Axis ARTPEC crypto accelerator

2017-07-24 Thread Lars Persson
This series adds a driver for the crypto accelerator in the ARTPEC series of SoCs from Axis Communications AB. Changelog v2: - Use xts_check_key() for xts keys. - Use CRYPTO_ALG_TYPE_SKCIPHER instead of CRYPTO_ALG_TYPE_ABLKCIPHER in cra_flags. Lars Persson (3): dt-bindings: crypto: add ARTPEC

[PATCH v2 1/4] dt-bindings: crypto: add ARTPEC crypto

2017-07-24 Thread Lars Persson
Document the device tree bindings for the ARTPEC crypto accelerator on ARTPEC-6 and ARTPEC-7 SoCs. Signed-off-by: Lars Persson --- .../devicetree/bindings/crypto/artpec6-crypto.txt| 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v2 3/4] crypto: axis: add ARTPEC-6/7 crypto accelerator driver

2017-07-24 Thread Lars Persson
This is an asynchronous crypto API driver for the accelerator present in the ARTPEC-6 and -7 SoCs from Axis Communications AB. The driver supports AES in ECB/CTR/CBC/XTS/GCM modes and SHA1/2 hash standards. Signed-off-by: Lars Persson --- drivers/crypto/Kconfig | 21 + drivers/c

Re: [PATCH] Staging: greybus: Match alignment with open parenthesis.

2017-07-24 Thread Dan Carpenter
I don't understand why greybus has to be special instead of the same as everything else. Who cares about this stuff really? Just do whatever is easiest and most common. regards, dan carpenter

Re: [PATCH v2 1/2] x86/amd: Refactor topology extension related code

2017-07-24 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 10:28:34AM +0700, Suravee Suthikulpanit wrote: > Are you referring to the part that I moved the "node_id = ecx & 0xff" ... Yes, that's what I'm referring to. Btw, I went and did it myself, now look at my diff below. Now that diff is pretty straight-forward - stuff is picked

PERHATIAN

2017-07-24 Thread Administrator
PERHATIAN Kotak surat Anda telah melebihi batas penyimpanan, yaitu 5 GB seperti yang didefinisikan oleh administrator, yang saat ini berjalan pada 10.9GB, Anda mungkin tidak dapat mengirim atau menerima surat baru sampai Anda kembali memvalidasi email mailbox Anda. Untuk memvalidasi ulang kotak

Re: [PATCH] media: imx: prpencvf: enable double write reduction

2017-07-24 Thread Philipp Zabel
Hi Steve, On Sat, 2017-07-22 at 15:04 -0700, Steve Longerbeam wrote: > Hi Philipp, > > This is the same as your patch to CSI, applied to ic-prpencvf. > > I'm not really sure what this cpmem bit is doing. The U/V planes > in memory are already subsampled by 2 in both width and height. > This must

Re: [PATCH] media: imx: prpencvf: enable double write reduction

2017-07-24 Thread Philipp Zabel
On Sat, 2017-07-22 at 14:21 -0700, Steve Longerbeam wrote: > For the write channels with 4:2:0 subsampled YUV formats, avoid chroma > overdraw by only writing chroma for even lines. Reduces necessary write > memory bandwidth by at least 25% (more with rotation enabled). > > Signed-off-by: Steve Lo

[PATCH] tracing: Fix trace_pipe_raw read panic

2017-07-24 Thread Chunyu Hu
per_cpu trace directories and files are created for all possible cpus, but only the cpus which have ever been on-lined have their own per cpu ring buffer (allocated by cpuhp threads). While trace_buffers_open, the open handler for trace file 'trace_pipe_raw' is always trying to access field of ring

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

2017-07-24 Thread Michal Hocko
From: Michal Hocko David has noticed that the oom killer might kill additional tasks while the exiting oom victim hasn't terminated yet because the oom_reaper marks the curent victim MMF_OOM_SKIP too early when mm->mm_users dropped down to 0. The race is as follows oom_reap_task

Re: [PATCH 1/3] irq/irq_sim: add a simple interrupt simulator framework

2017-07-24 Thread Lars-Peter Clausen
On 07/19/2017 02:20 PM, Bartosz Golaszewski wrote: [...] > +void irq_sim_fini(struct irq_sim *sim) > +{ Not very likely to happen in practice, but for correctness we should probably put a irq_work_sync() here for each of the IRQs to make sure that the memory associated with the irq_sim_work_ctx st

Re: [PATCH 4/4] perf stat: Use group read for event groups

2017-07-24 Thread Jiri Olsa
On Sun, Jul 23, 2017 at 09:53:00AM +0900, Namhyung Kim wrote: SNIP > > Link: http://lkml.kernel.org/n/tip-b6g8qarwvptr81cqdtfst...@git.kernel.org > > Signed-off-by: Jiri Olsa > > --- > > tools/perf/builtin-stat.c | 30 +++--- > > tools/perf/util/counts.h | 1 + > > too

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
Hi Yasuaki, On Fri, Jul 14, 2017 at 10:44:14PM +0800, joeyli wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote:

Re: [PATCH] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-24 Thread Hans de Goede
Hi, On 24-07-17 08:45, Martin Kepplinger wrote: This fixes typos in vboxvideo's help text. Signed-off-by: Martin Kepplinger Looks good to me: Acked-by: Hans de Goede Regards, Hans --- drivers/staging/vboxvideo/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 1/3] staging: pi433: Style fix - align block comments

2017-07-24 Thread Dan Carpenter
On Sat, Jul 22, 2017 at 03:50:50PM +1200, Derek Robson wrote: > + * // RegOsc1 > + * #define OSC1_RCCAL_START 0x80 > + * #define OSC1_RCCAL_DONE 0x40 > + * Why do we have all these commented out defines? regards, dan carpenter

Re: [PATCH 1/3] iio: adc: stm32: fix common clock rate

2017-07-24 Thread Fabrice Gasnier
On 07/23/2017 12:51 PM, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 14:35:30 +0200 > Fabrice Gasnier wrote: > >> Fixes commit 95e339b6e85d ("iio: adc: stm32: add support for STM32H7") >> >> Fix common clock rate used then by stm32-adc sub-devices: take common >> prescaler into account. >> Fix A

Re: [PATCH] perf tool sort: Use default sort if evlist is empty

2017-07-24 Thread Jiri Olsa
On Sun, Jul 23, 2017 at 08:09:49AM +0900, Namhyung Kim wrote: SNIP > > > also I've got another crash for (added -a option for above example): > > > > > > [root@krava perf]# ./perf record -e 'sched:sched_switch' -a sleep > > > 1 | ./perf report > > > # To display the perf.data he

[PATCH v5 02/14] spi: qup: Setup DMA mode correctly

2017-07-24 Thread Varadarajan Narayanan
To operate in DMA mode, the buffer should be aligned and the size of the transfer should be a multiple of block size (for v1). And the no. of words being transferred should be programmed in the count registers appropriately. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- dri

[PATCH v5 01/14] spi: qup: Enable chip select support

2017-07-24 Thread Varadarajan Narayanan
Enable chip select support for QUP versions later than v1. The chip select support was broken in QUP version 1. Hence the chip select support was removed earlier in an earlier commit (4a8573abe "spi: qup: Remove chip select function"). Since the chip select support is functional in recent versions

[PATCH v5 00/14] spi: qup: Fixes and add support for >64k transfers

2017-07-24 Thread Varadarajan Narayanan
v5: Incorporate feedback from Mark Brown and Geert Uytterhoeven spi: qup: Enable chip select support Update commit log. Include the commit's description Removed "spi: qup: Add completion structures for DMA". This introduced separate completion struc

[PATCH v5 05/14] spi: qup: Fix error handling in spi_qup_prep_sg

2017-07-24 Thread Varadarajan Narayanan
Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index e6294f8..aa1b7b8 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -311,8 +311,8 @@ static int

[PATCH v5 03/14] spi: qup: Add completion timeout

2017-07-24 Thread Varadarajan Narayanan
Add i/o completion timeout for DMA and PIO modes. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index abe799b..92922b

[PATCH v5 08/14] spi: qup: refactor spi_qup_io_config into two functions

2017-07-24 Thread Varadarajan Narayanan
This is in preparation for handling transactions larger than 64K-1 bytes in block mode, which is currently unsupported and quietly fails. We need to break these into two functions 1) prep is called once per spi_message and 2) io_config is called once per spi-qup bus transaction This is just refac

[PATCH v5 10/14] spi: qup: allow block mode to generate multiple transactions

2017-07-24 Thread Varadarajan Narayanan
This let's you write more to the SPI bus than 64K-1 which is important if the block size of a SPI device is >= 64K or some other device wants to do something larger. This has the benefit of completely removing spi_message from the spi-qup transactions Signed-off-by: Matthew McClintock Signed-off

[PATCH v5 09/14] spi: qup: call io_config in mode specific function

2017-07-24 Thread Varadarajan Narayanan
DMA transactions should only only need to call io_config only once, but block mode might call it several times to setup several transactions so it can handle reads/writes larger than the max size per transaction, so we move the call to the do_ functions. This is just refactoring, there should be n

[PATCH v5 13/14] spi: qup: Ensure done detection

2017-07-24 Thread Varadarajan Narayanan
This patch fixes an issue where a SPI transaction has completed, but the done condition is missed. This occurs because at the time of interrupt the MAX_INPUT_DONE_FLAG is not asserted. However, in the process of reading blocks of data from the FIFO, the last portion of data comes in. The opflags

Re: [PATCH 2/3] staging: pi433: - style fix, space before tabs

2017-07-24 Thread Dan Carpenter
On Sat, Jul 22, 2017 at 10:48:24AM +0200, Marcus Wolf wrote: > Reviewed-by: Marcus Wolf > > >From my point of view, the rearrangement of the block of SET_CHECKED reduces > >the > readability a lot. I like same stuff to be aligned (all brakets below each > other > as a column, all spi->dev below

[PATCH v5 14/14] spi: qup: Fix QUP version identify method

2017-07-24 Thread Varadarajan Narayanan
Use of_device_get_match_data to identify QUP version instead of of_device_is_compatible. Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 4c3c938..1364516

[PATCH v5 12/14] spi: qup: allow multiple DMA transactions per spi xfer

2017-07-24 Thread Varadarajan Narayanan
Much like the block mode changes, we are breaking up DMA transactions into 64K chunks so we can reset the QUP engine. Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 93 +++ 1 file changed, 65 ins

[PATCH v5 07/14] spi: qup: Do block sized read/write in block mode

2017-07-24 Thread Varadarajan Narayanan
This patch corrects the behavior of the BLOCK transactions. During block transactions, the controller must be read/written to in block size transactions. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 151 +++--

[PATCH v5 11/14] spi: qup: refactor spi_qup_prep_sg

2017-07-24 Thread Varadarajan Narayanan
Take specific sgl and nent to be prepared. This is in preparation for splitting DMA into multiple transacations, this contains no code changes just refactoring. Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 23 ++- 1 file

[PATCH v5 06/14] spi: qup: Fix transaction done signaling

2017-07-24 Thread Varadarajan Narayanan
Wait to signal done until we get all of the interrupts we are expecting to get for a transaction. If we don't wait for the input done flag, we can be in between transactions when the done flag comes in and this can mess up the next transaction. While here cleaning up the code which sets controlle

[PATCH v5 04/14] spi: qup: Place the QUP in run mode before DMA

2017-07-24 Thread Varadarajan Narayanan
Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 92922b6..e6294f8 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -34

Re: [PATCH 3/3] staging: pi433: - style fix, space at start of line

2017-07-24 Thread Dan Carpenter
On Sat, Jul 22, 2017 at 03:51:21PM +1200, Derek Robson wrote: > Fixed checkpatch errors of "please, no spaces at the start of a line" > > Signed-off-by: Derek Robson > --- > drivers/staging/pi433/rf69.c | 4 +- > drivers/staging/pi433/rf69_enum.h | 206 > +++--

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-07-24 Thread Luca Abeni
Hi Peter, I put this change in a local tree together with other fixes / cleanups I plan to submit in the next weeks. Should I send it together with the other patches, or are you going to apply it separately? In the first case, what is the correct authorship / SOB chain (I ask because I keep gettin

Re: [PATCH 2/3] dt-bindings: iio: adc: stm32: add optional min-sample-time

2017-07-24 Thread Fabrice Gasnier
On 07/23/2017 12:53 PM, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 14:35:31 +0200 > Fabrice Gasnier wrote: > >> STM32 ADC allows each channel to be sampled with a different sampling >> time. There's an application note that deals with this: 'How to get >> the best ADC accuracy in STM32...' It

Re: [PATCH] [RESEND] nfs: blocklayout: avoid warnings on 32-bit sector_t

2017-07-24 Thread Christoph Hellwig
A 32-bit will also cause run-time problems. I think the block layout code should instead grow a depends on 64BIT || LBDAF to ensure we always have a 64-bit sector_t.

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

2017-07-24 Thread Maxime Ripard
On Sat, Jul 22, 2017 at 10:28:49AM +0800, Icenowy Zheng wrote: > Allwinner A64 SoC has an EMAC which is used to provide Ethernet > function on several boards. > > The EMAC itself doesn't have a fixed MAC address, but the sunxi > mainline U-Boot have the ability to generate one based on the eFUSE >

Re: [PATCH v2 0/2] AXP803 regulators support for Pine64 and SoPine

2017-07-24 Thread Maxime Ripard
On Sat, Jul 22, 2017 at 10:18:41AM +0800, Icenowy Zheng wrote: > The Pine64 and SoPine w/ baseboard boards have an AXP803 PMIC, and the > regulators of the PMIC are used. > > This patchset adds the regulators to the device tree of these two boards. > > The first patch is for Pine64 and the second

Re: [PATCH 1/3] staging: pi433: Style fix - align block comments

2017-07-24 Thread Marcus Wolf
Hi Dan, when I started with the RFM69CW about two years ago (at the beginning not as a driver, but everything within the applicaton) I kind of automatically produced a list of all registers of the chip (most probably by importing and reorganizing the datasheet in Excel). Everytime I need to touch

Re: [PATCH] [RESEND] gpu: ipu-v3: add DRM dependency

2017-07-24 Thread Philipp Zabel
Hi Arnd, On Fri, 2017-07-21 at 22:56 +0200, Arnd Bergmann wrote: > The new PRE/PRG driver code causes a link failure when DRM is disabled: > > drivers/gpu/ipu-v3/ipu-pre.o: In function `ipu_pre_configure': > ipu-pre.c:(.text.ipu_pre_configure+0x18): undefined reference to > `drm_format_info' > d

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-07-24 Thread Luca Abeni
Hi Peter, On Fri, 24 Mar 2017 22:47:15 +0100 luca abeni wrote: > Hi Peter, > > On Fri, 24 Mar 2017 14:20:41 +0100 > Peter Zijlstra wrote: > > > On Fri, Mar 24, 2017 at 04:52:55AM +0100, luca abeni wrote: > > > > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > > index d67ee

Re: [PATCH 1/2] mmc/host: add FSP2(ppc476fpe) into depends for sdhci-st

2017-07-24 Thread Adrian Hunter
On 23/06/17 18:47, Ivan Mikhaylov wrote: > * shdci-st driver can be used for ppc476 fsp2 soc shdci-st -> sdhci-st > > Signed-off-by: Ivan Mikhaylov Acked-by: Adrian Hunter > --- > drivers/mmc/host/Kconfig |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/driver

Re: [PATCH] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-24 Thread Dan Carpenter
On Mon, Jul 24, 2017 at 08:45:16AM +0200, Martin Kepplinger wrote: > This fixes typos in vboxvideo's help text. > > Signed-off-by: Martin Kepplinger > --- > drivers/staging/vboxvideo/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/vboxvideo/K

ammin

2017-07-24 Thread Sistemi amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: [PATCH v2] ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials

2017-07-24 Thread Miklos Szeredi
On Sat, Jul 22, 2017 at 11:30 AM, Amir Goldstein wrote: > Bumped into this patch (Now upstream commit 51f8f3c4e225) and realized > it is missing cc: stable # v4.8 > > At least this docker PR suggests that regression introduced in v4.8 will not > be > appreciated down the road: > https://github.co

Re: [PATCH] HID: rmi: Make sure the HID device is opened on resume

2017-07-24 Thread Benjamin Tissoires
On Jul 22 2017 or thereabouts, Lyude wrote: > So it looks like that suspend/resume has actually always been broken on > hid-rmi. The fact it worked was a rather silly coincidence that was > relying on the HID device to already be opened upon resume. This means > that so long as anything was reading

Re: [PATCH 3/3] iio: adc: stm32: add optional min-sample-time

2017-07-24 Thread Fabrice Gasnier
On 07/23/2017 01:00 PM, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 14:35:32 +0200 > Fabrice Gasnier wrote: > >> STM32 ADC allows each channel to be sampled with a different sampling time, >> by setting SMPR registers. Basically, value depends on local electrical >> properties. Selecting correc

[PATCH] KVM: LAPIC: Fix cancel preemption timer repeatedly due to preemption

2017-07-24 Thread Wanpeng Li
From: Wanpeng Li Preemption can occur in the preemption timer expiration handler: CPU0CPU1 preemption timer vmexit handle_preemption_timer(vCPU0) kvm_lapic_expired_hv_timer hv_timer_is_use == true sched_out sched_in

Re: [PATCH v2] ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials

2017-07-24 Thread Miklos Szeredi
On Tue, Jan 10, 2017 at 8:17 PM, Vivek Goyal wrote: > On Tue, Jan 10, 2017 at 09:30:21PM +0300, Konstantin Khlebnikov wrote: >> If overlay was mounted by root then quota set for upper layer does not work >> because overlay now always use mounter's credentials for operations. >> Also overlay might

Re: linux-next: build failure after merge of the drm-misc tree

2017-07-24 Thread Daniel Vetter
On Mon, Jul 24, 2017 at 2:03 AM, Stephen Rothwell wrote: > Hi Daniel, > > On Fri, 21 Jul 2017 09:24:49 +0200 Daniel Vetter > wrote: >> >> How are we going to handle this now? The refactor is deeply burried in >> drm-misc, I guess you could cherry-pick the relevant patches over. But >> that'll pr

[PATCH v2] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-24 Thread Martin Kepplinger
This fixes typos in vboxvideo's help text. Most notably, "to builtin this module" becomes "to build this driver built-in to the kernel". Signed-off-by: Martin Kepplinger --- Thanks Dan. I actually also had the feeling that even though it's better, it's not as clear as it could be. It's either a

Re: [PATCH v3 3/5] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-07-24 Thread Maxime Ripard
On Sun, Jul 23, 2017 at 10:13:52PM +0800, Icenowy Zheng wrote: > This adds support for the Allwinner H3 thermal sensor. > > Allwinner H3 has a thermal sensor like the one in A33, but have its > registers nearly all re-arranged, sample clock moved to CCU and a pair > of bus clock and reset added. I

[PATCH v3] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-24 Thread Martin Kepplinger
This fixes typos in vboxvideo's help text. Most notably, "to builtin this module" becomes "to build this driver built-in to the kernel". Signed-off-by: Martin Kepplinger --- revision history v3: Avoid a repetition of "this driver". v2: Say "to build this driver built-in to the

Re: [PATCH v3] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-24 Thread Dan Carpenter
Looks good. Thanks. regards, dan carpenter

Re: [PATCH 054/102] PCI: rockchip: explicitly request exclusive reset control

2017-07-24 Thread Philipp Zabel
Hi Shawn, On Sat, 2017-07-22 at 21:12 +0800, Shawn Lin wrote: > Hi Philipp, > > On 2017/7/19 23:25, Philipp Zabel wrote: > > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > > reset lines") started to transition the reset control request API calls > > to explicitly state

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-07-24 Thread Neil Armstrong
On 07/18/2017 11:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Thierry Reding > Cc: Carlo Caione

Re: [PATCH v3 3/9] clk: at91: add audio pll clock drivers

2017-07-24 Thread Quentin Schulz
Hi Stephen, On 22/07/2017 00:20, Stephen Boyd wrote: > On 07/13, Quentin Schulz wrote: >> diff --git a/drivers/clk/at91/clk-audio-pll-pad.c >> b/drivers/clk/at91/clk-audio-pll-pad.c >> new file mode 100644 >> index ..10dd6d625696 >> --- /dev/null >> +++ b/drivers/clk/at91/clk-audio-pl

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Manu Gautam
Hi Baolin, On 7/24/2017 11:26 AM, Baolin Wang wrote: Other than what I pushed in my patch - ("usb: dwc3: Don't reinitialize core during host bus-suspend/resume") Just performing pm_request_resume or handling same in dwc3 glue driver should be sufficient. >>> Yes. >>> Als

Re: [PATCH v6 0/2] x86: Implement fast refcount overflow protection

2017-07-24 Thread Peter Zijlstra
On Mon, Jul 24, 2017 at 04:38:06PM +1000, Michael Ellerman wrote: > What I'm not entirely clear on is what the best trade off is in terms of > overhead vs checks. The summary of behaviour between the fast and full > versions you promised Ingo will help there I think. That's something that's proba

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-07-24 Thread Luca Abeni
Hi all, I have this patch in a local tree, together with other fixes / cleanups I plan to submit in the next weeks... Since I see that the patch has not been applied, I wonder if some changes are needed before submitting it another time. If anyone has requests for changes in the patch, let me kno

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

2017-07-24 Thread Gary Bisson
Hi all, This series is follow-up to those two patches: https://patchwork.kernel.org/patch/9395531/ https://patchwork.kernel.org/patch/9395539/ At the time they were refused because a pwrseq library was supposed to get in. Unfortunately that plan hasn't succeeded yet so re-submitting the original

[PATCH 2/2] ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
Declared as a regulator since the driver doesn't have a reset-gpios property for this. This ensures that the PHY is woken up, not depending on the state the second stage bootloader leaves the pin. This is a workaround until a proper mechanism is provided to reset such devices like the pwrseq libr

[PATCH 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
Declared as a regulator since the driver doesn't have a reset-gpios property for this. This ensures that the PHY is woken up, not depending on the state the second stage bootloader leaves the pin. This is a workaround until a proper mechanism is provided to reset such devices like the pwrseq libr

Re: [PATCH v2] mm/mremap: Fail map duplication attempts for private mappings

2017-07-24 Thread Michal Hocko
On Fri 21-07-17 14:18:31, Mike Kravetz wrote: [...] > >From 5c4a1602bd6a942544ed011dc0a72fd258e874b2 Mon Sep 17 00:00:00 2001 > From: Mike Kravetz > Date: Wed, 12 Jul 2017 13:52:47 -0700 > Subject: [PATCH] mm/mremap: Fail map duplication attempts for private mappings > > mremap will attempt to cr

Re: [PATCH v2] cpufreq: s5pv210: add missing of_node_put

2017-07-24 Thread Viresh Kumar
On 21-07-17, 21:53, Julia Lawall wrote: > for_each_compatible_node performs an of_node_get on each iteration, so a > return from the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > local idexpression n; > exp

Re: [PATCH 07/10] cpufreq: dt: Add support for some new Allwinner SoCs

2017-07-24 Thread Viresh Kumar
On 23-07-17, 18:27, Icenowy Zheng wrote: > Some new Allwinner SoCs get supported in the kernel after the > compatibles are added to cpufreq-dt-platdev driver. > > Add their compatible strings in the cpufreq-dt-platdev driver. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Signed-off-by: Iceno

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread Michal Hocko
On Wed 19-07-17 17:09:10, Joey Lee wrote: > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: [...] > > The problem I have with this expectation is that userspace will never > > have a good atomic view of the whole container. So it can only try to > > I agreed! > > Even a userspace ap

Re: [PATCH v7 1/3] perf: cavium: Support memory controller PMU counters

2017-07-24 Thread Jan Glauber
Hi Jonathan, On Wed, Jul 19, 2017 at 09:31:01PM +0800, Jonathan Cameron wrote: > On Wed, 19 Jul 2017 14:08:45 +0200 > Jan Glauber wrote: > > > Add support for the PMU counters on Cavium SOC memory controllers. > > > > This patch also adds generic functions to allow supporting more > > devices w

Re: [PATCH v7 1/2] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-24 Thread Viresh Kumar
On 23-07-17, 08:54, Joel Fernandes wrote: > Currently the iowait_boost feature in schedutil makes the frequency go to max > on iowait wakeups. This feature was added to handle a case that Peter > described where the throughput of operations involving continuous I/O requests > [1] is reduced due to

[PATCH v2] KVM: LAPIC: Fix cancel preemption timer repeatedly due to preemption

2017-07-24 Thread Wanpeng Li
From: Wanpeng Li Preemption can occur in the preemption timer expiration handler: CPU0CPU1 preemption timer vmexit handle_preemption_timer(vCPU0) kvm_lapic_expired_hv_timer hv_timer_is_use == true sched_out sched_in

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

2017-07-24 Thread Michal Hocko
On Wed 19-07-17 20:01:18, Wei Wang wrote: > On 07/19/2017 04:13 PM, Michal Hocko wrote: [... > >All you should need is the check for the page reference count, no? I > >assume you do some sort of pfn walk and so you should be able to get an > >access to the struct page. > > Not necessarily - the g

Re: [PATCH] tracing: Fix trace_pipe_raw read panic

2017-07-24 Thread Chunyu Hu
On 24 July 2017 at 03:21, Chunyu Hu wrote: > per_cpu trace directories and files are created for all possible cpus, > but only the cpus which have ever been on-lined have their own per cpu > ring buffer (allocated by cpuhp threads). While trace_buffers_open, the > open handler for trace file 'trac

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-07-24 Thread Peter Zijlstra
On Mon, Jul 24, 2017 at 10:06:09AM +0200, Luca Abeni wrote: > > Yes, grouping all the flags in a single field was my intention too... I > > planned to submit a patch to do this after merging the reclaiming > > patches... But maybe it is better to do this first :) > > I implemented this change, but

[PATCH] ASoC: max98090 - Expose HP out enable.

2017-07-24 Thread Enric Balletbo i Serra
From: Hsin-Yu Chao Expose the headphone output enables to user space. This will allow userspace to ensure that there is stable output before the headphones are turned on, avoiding a pop on insertion. Signed-off-by: Hsin-Yu Chao Signed-off-by: Enric Balletbo i Serra --- sound/soc/codecs/max98

Re: [PATCH v7 3/3] x86/refcount: Implement fast refcount overflow protection

2017-07-24 Thread Ingo Molnar
* Kees Cook wrote: > +config ARCH_HAS_REFCOUNT > + bool > + help > + An architecture selects this when it has implemented refcount_t > + using primitizes that provide a faster runtime at the expense > + of some full refcount state checks. The refcount overflow condition

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-07-24 Thread Peter Zijlstra
On Mon, Jul 24, 2017 at 09:54:54AM +0200, Luca Abeni wrote: > Hi Peter, > > I put this change in a local tree together with other fixes / cleanups > I plan to submit in the next weeks. Should I send it together with the > other patches, or are you going to apply it separately? Posting them in a s

Re: [PATCH 4.12 00/84] 4.12.3-stable review

2017-07-24 Thread Sjoerd Simons
On Sat, 2017-07-22 at 08:47 -0700, Kevin Hilman wrote: > + Sjoerd @ Collabora > > Shuah Khan writes: > > > On 07/19/2017 10:29 AM, kernelci.org bot wrote: > > > stable-rc/linux-4.12.y boot: 166 boots: 5 failed, 161 passed > > > (v4.12.2-85-g908a8d27d1c5) > > > > > > Full Boot Summary: https://k

Re: [PATCH 2/7] memory: atmel-ebi: Simplify SMC config code

2017-07-24 Thread Alexander Dahl
Hello Boris, while testing v4.13-rc2 on an at91sam9g20 baed platform I'm coming back to this topic. Meanwhile the whole new SMC and NAND below EBI stuff is in mainline, this TDF bug however is still in there. See below (all quoted code parts from v4.13-rc2): Am Donnerstag, 2. März 2017, 13:30:

[PATCH] f2fs: record quota during dot{,dot} recovery

2017-07-24 Thread Chao Yu
In ->lookup(), we will have a try to recover dot or dotdot for corrupted directory, once disk quota is on, if it allocates new block during dotdot recovery, we need to record disk quota info for the allocation, so this patch fixes this issue by adding missing dquot_initialize() in __recover_dot_den

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Baolin Wang
Hi Manu, On 24 July 2017 at 16:42, Manu Gautam wrote: > Hi Baolin, > > > On 7/24/2017 11:26 AM, Baolin Wang wrote: > > Other than what I pushed in my patch - > ("usb: dwc3: Don't reinitialize core during host bus-suspend/resume") > Just performing pm_request_resume or handling same in

Re: Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-24 Thread Steven Rostedt
On Mon, 24 Jul 2017 13:46:07 +0800 "Huang\, Ying" wrote: > Hi, Steven, > > We are working on parallelizing secondary CPU bootup. So we need to > measure the bootup time of secondary CPU, that is, measure time spent in > smp_init() and its callees. But we found that ftrace now doesn't > suppor

[PATCH v2] kmemleak: add oom= runtime parameter

2017-07-24 Thread shuwang
From: Shu Wang When running memory stress tests, kmemleak could be easily disabled in function create_object as system is out of memory and kmemleak failed to alloc from object_cache. Since there's no way to enable kmemleak after it's off, simply ignore the object_cache alloc failure will just lo

Re: [PATCH 2/4] ACPI: Make acpi_dev_get_resources() method agnostic

2017-07-24 Thread Lorenzo Pieralisi
On Sat, Jul 22, 2017 at 12:05:39AM +0200, Rafael J. Wysocki wrote: > On Thursday, July 20, 2017 03:45:14 PM Lorenzo Pieralisi wrote: > > The function acpi_dev_get_resources() is completely generic and > > can be used to parse resource objects that are not necessarily > > coming from the _CRS method

Re: [PATCH 2/2] platform/x86: alienware-wmi: fix format string overflow warning

2017-07-24 Thread Andy Shevchenko
On Thu, Jul 20, 2017 at 7:00 PM, Arnd Bergmann wrote: > gcc points out a possible format string overflow for a large value of 'zone': > > drivers/platform/x86/alienware-wmi.c: In function 'alienware_wmi_init': > drivers/platform/x86/alienware-wmi.c:461:24: error: '%02X' directive writing > betwee

Re: [PATCH] f2fs: let __get_victim successfully get a segno in corner case

2017-07-24 Thread Yunlong Song
Hi Jay, fggc_threshold is 507, reserved_segment is 462. On 2017/7/22 5:07, Jaegeuk Kim wrote: Hi Yunlong, On 07/20, Yunlong Song wrote: Hi, Jay, The distribution is like this, unit is segment counts: cnt_free: 0 (free blocks) cnt_full: 25182 (segment which has 512 blocks)

[PATCH v4 1/2] x86/amd: Refactor topology extension related code

2017-07-24 Thread Suravee Suthikulpanit
From: Borislav Petkov Refactoring in preparation for subsequent changes. There is no functional change. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/amd.c | 78 ++- 1 file changed, 44 insertions(+), 34 deletions(-) diff --git a/arch/

[PATCH v4 0/2] x86/amd: Refactor and fixup family17h cpu_core_id

2017-07-24 Thread Suravee Suthikulpanit
Changes from V3 (https://lkml.org/lkml/2017/7/24/2) * Use a cleaner version of refactor patch 1/2 from Boris instead. Changes from V2 (https://lkml.org/lkml/2017/7/21/730) * In patch 1/2 * Fix kbuild error for the __get_topoext() due to #ifdef CONFIG_SMP. * Do not move node_id declarat

[PATCH v4 2/2] x86/amd: Fixup cpu_core_id for family17h downcore configuration

2017-07-24 Thread Suravee Suthikulpanit
For family17h, current cpu_core_id is directly taken from the value CPUID_Fn801E_EBX[7:0] (CoreId), which is the physical ID of the core within a die. However, on system with downcore configuration (where not all physical cores within a die are available), this could result in the case where cp

Re: [PATCH v2 2/2] Telemetry: remove redundant macro definition

2017-07-24 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 2:02 AM, Darren Hart wrote: > On Fri, Jul 21, 2017 at 03:29:39AM +, Chakravarty, Souvik K wrote: >> Just missed the email from Darren. > > :-) > >> Reviewed-by: Souvik K Chakravarty > > Thank you Souvik. > > While these one liners are OK for trivial changes like this,

Re: [PATCH 6/9] mm, page_alloc: simplify zonelist initialization

2017-07-24 Thread Vlastimil Babka
On 07/21/2017 04:39 PM, Michal Hocko wrote: > From: Michal Hocko > > build_zonelists gradually builds zonelists from the nearest to the most > distant node. As we do not know how many populated zones we will have in > each node we rely on the _zoneref to terminate initialized part of the > zoneli

Re: WARN_ON_ONCE(work > weight) in napi_poll()

2017-07-24 Thread Andrey Ryabinin
On 07/18/2017 09:47 AM, Ryan Hsu wrote: > On 07/11/2017 06:19 PM, Igor Mitsyanko wrote: > >> On 07/11/2017 10:28 AM, Andrey Ryabinin wrote: >>> >>> It gave me this: >>> >>> [118648.825347] #1 quota too big 72 64 16 >>> [118648.825351] #2 quota too big 72 64 16 >>> [118648.825471] [ cut

Re: [PATCH 2/3] thunderbold: use uuid_t instead of uuid_be

2017-07-24 Thread Mika Westerberg
On Thu, Jul 20, 2017 at 09:56:23AM +0200, Christoph Hellwig wrote: > Switch thunderbolt to the new uuid type. > > Signed-off-by: Christoph Hellwig You have a typo in $subject: thunderbold -> thunderbolt. Otherwise looks good and still works fine :) Acked-by: Mika Westerberg

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > [...] > > > The problem I have with this expectation is that userspace will never > > > have a good atomic view of the whole

Re: Kernel BUG at fs/namei.c:248

2017-07-24 Thread Naresh Kamboju
This bug still occurring on linux-next : 4.13.0-rc2-next-20170724. >>> [ 1245.412625] kernel BUG at >>> /srv/oe/build/tmp-rpb-glibc/work-shared/hikey/kernel-source/fs/namei.c:248! >> >> Interesting... Looks like double-put or memory corruptor of some sort. >&

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

2017-07-24 Thread Pierre Yves MORDRET
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 stm32_mdma_get_max_width(u32 buf_len, > u32 tlen) > +{ > +e

  1   2   3   4   5   6   7   8   9   10   >