[PATCH v3 1/3] kvm: arm debug: introduce helper for single-step

2017-11-16 Thread Alex Bennée
After emulating instructions we may want return to user-space to handle a single-step. If single-step is enabled the helper set the run structure for return and returns true. Signed-off-by: Alex Bennée Reviewed-by: Julien Thierry --- v2 - kvm_arm_maybe_return_debug -> kvm_arm_handle_step_debug

[PATCH v3 3/3] kvm: arm64: handle single-step of userspace mmio instructions

2017-11-16 Thread Alex Bennée
The system state of KVM when using userspace emulation is not complete until we return into KVM_RUN. To handle mmio related updates we wait until they have been committed and then schedule our KVM_EXIT_DEBUG. The kvm_arm_handle_step_debug() helper tells us if we need to return and sets up the exit

Re: [PATCH 2/4] drm: amd: Fix line continuation formats

2017-11-16 Thread Harry Wentland
On 2017-11-16 10:27 AM, Joe Perches wrote: > Line continuations with excess spacing causes unexpected output. > > Miscellanea: > > o Added missing '\n' to a few of the coalesced pr_ formats > > Signed-off-by: Joe Perches > --- > drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 11 ---

Re: [RFC 06/19] s390/zcrypt: register matrix device with VFIO mediated device framework

2017-11-16 Thread Tony Krowiak
On 11/14/2017 08:14 AM, Cornelia Huck wrote: On Fri, 13 Oct 2017 13:38:51 -0400 Tony Krowiak wrote: Registers the matrix device created by the AP matrix bus with the VFIO mediated device framework. Registering the matrix device will create the sysfs structures needed to create mediated matrix

Product Enquiry

2017-11-16 Thread Carol Merck
Hello, We recently visited your website and we are interested in your models, We will like to make an order from your list of products. However, we would like to see your company's latest catalogs with the; minimum order quantity, delivery time/FOB, payment terms etc. Official order placement w

[PATCH 2/2] ALSA: mixart: Use common error handling code in snd_mixart_probe()

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 16:18:38 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- sound/pci/mixart/mixart.c | 61

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Russell King - ARM Linux
On Thu, Nov 16, 2017 at 04:26:51PM +0100, Marc Gonzalez wrote: > On 15/11/2017 14:13, Russell King - ARM Linux wrote: > > > udelay() needs to offer a consistent interface so that drivers know > > what to expect no matter what the implementation is. Making one > > implementation conform to your id

4.14 regression from commit d57ea877af38 media: rc: per-protocol repeat period

2017-11-16 Thread Matthias Reichl
The following commit introduced a regression commit d57ea877af38057b0ef31758cf3b99765dc33695 Author: Sean Young Date: Wed Aug 9 13:19:16 2017 -0400 media: rc: per-protocol repeat period CEC needs a keypress timeout of 550ms, which is too high for the IR protocols. Also fill in kno

[PATCH 1/2] ALSA: mixart: Adjust 23 function calls together with a variable assignment

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 15:26:12 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring --- sound/pci/mixart/mixart.c | 29

[PATCH 0/2] ALSA-miXart: Fine-tuning for seven function implementations

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 16:27:32 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Adjust 23 function calls together with a variable assignment Use common error handling code in snd_mixart_probe() sound/pci/mixart

Re: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t

2017-11-16 Thread Paul E. McKenney
On Thu, Nov 16, 2017 at 02:44:30PM +0100, Michal Hocko wrote: > On Mon 13-11-17 09:09:57, Reshetova, Elena wrote: > > > > > > > Note that there's work done on better documents and updates to this one. > > > One document that might be good to read (I have not in fact had time to > > > read it myse

Re: [RFC PATCH 1/2] arm64: write __range_ok() in C

2017-11-16 Thread Will Deacon
On Thu, Oct 26, 2017 at 10:09:41AM +0100, Mark Rutland wrote: > Currently arm64's __range_ok() is written in assembly for efficiency. > > This hides the logic from the compiler, preventing the compiler from > making some optimizations, such as re-ordering instructions or folding > multiple calls t

[PATCH 1/4] rk3399_dmc: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- drivers/devfreq/rk3399_dmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c index 5dfbfa3cc878..0938c97d46f0 100644

[PATCH 2/4] drm: amd: Fix line continuation formats

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Miscellanea: o Added missing '\n' to a few of the coalesced pr_ formats Signed-off-by: Joe Perches --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 11 - .../amd/powerplay/hwmgr/process_pptables_v1_0.c| 6 ++-

[PATCH 3/4] [media] dibx000_common: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- drivers/media/dvb-frontends/dibx000_common.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/dibx000_common.c b/drivers/media/dvb-frontends/dib

[PATCH 0/4] treewide: Fix line continuation formats

2017-11-16 Thread Joe Perches
Avoid using line continations in formats as that causes unexpected output. Joe Perches (4): rk3399_dmc: Fix line continuation format drm: amd: Fix line continuation formats [media] dibx000_common: Fix line continuation format ima: Fix line continuation format drivers/devfreq/rk3399_dmc.c

[PATCH 4/4] ima: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- security/integrity/ima/ima_template.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/security/integrity/ima/ima_template.c b/security/integrity/ima/ima_template.c ind

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Marc Gonzalez
On 15/11/2017 14:13, Russell King - ARM Linux wrote: > udelay() needs to offer a consistent interface so that drivers know > what to expect no matter what the implementation is. Making one > implementation conform to your ideas while leaving the other > implementations with other expectations is

Re: [PATCH] drivers: base: cacheinfo: support DT overrides for cache type

2017-11-16 Thread Sudeep Holla
On 16/11/17 12:58, Tan Xiaojun wrote: > Since commit dfea747d2aba ("drivers: base: cacheinfo: support DT > overrides for cache properties"), we can set the correct cacheinfo > via DT. But the cache type can't be set in the same way. > > I found this may be a problem in recent tests. I tested L3

Re: [RFC 00/19] KVM: s390/crypto/vfio: guest dedicated crypto adapters

2017-11-16 Thread Tony Krowiak
On 11/14/2017 08:57 AM, Cornelia Huck wrote: On Tue, 31 Oct 2017 15:39:09 -0400 Tony Krowiak wrote: On 10/13/2017 01:38 PM, Tony Krowiak wrote: Ping Tony Krowiak (19): KVM: s390: SIE considerations for AP Queue virtualization KVM: s390: refactor crypto initialization s390/zcrypt:

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-16 Thread Viresh Kumar
On 16-11-17, 15:02, Ionela Voinescu wrote: > When it was added in lsk 3.18 in what was then a thermal driver for Juno > it was believed to have an effect in thermal mitigation, but that was > not proven later as to justify posting it upstream, and that is why the > code never made it in mainline. >

Re: linux-next: manual merge of the rseq tree with Linus' tree

2017-11-16 Thread Mathieu Desnoyers
- On Nov 15, 2017, at 10:00 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Nov 15, 2017, at 9:48 AM, Stephen Rothwell s...@canb.auug.org.au > wrote: > >> Hi Ingo, >> >> On Wed, 15 Nov 2017 09:07:12 +0100 Ingo Molnar wrote: >>> >>> There's absolutely no way such inv

[RFC PATCH 3/3] Update membarrier manpage for 4.14, 4.15

2017-11-16 Thread Mathieu Desnoyers
Add documentation for those new membarrier commands: New in 4.14: MEMBARRIER_CMD_PRIVATE_EXPEDITED MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED Adapt the MEMBARRIER_CMD_SHARED return value documentation to reflect that it now returns -EINVAL when issued on a system configured for noh

[RFC PATCH 2/3] Add rseq manpage

2017-11-16 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: "Paul E. McKenney" CC: Peter Zijlstra CC: Paul Turner CC: Thomas Gleixner CC: Andrew Hunter CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: "H. Peter Anvin" CC: Ben Maurer CC: Steven Rostedt CC: Josh Triplet

[RFC PATCH v2 0/3] Man pages for rseq, cpu_opv, update membarrier

2017-11-16 Thread Mathieu Desnoyers
This updated man pages series removes the "core serializing" membarrier commands documentation, which is now queued for 4.16. Feedback is welcome, Thanks! Mathieu Mathieu Desnoyers (3): Add cpu_opv system call manpage Add rseq manpage Update membarrier manpage for 4.14, 4.15 man2/cpu_op

[RFC PATCH 1/3] Add cpu_opv system call manpage

2017-11-16 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: "Paul E. McKenney" CC: Peter Zijlstra CC: Paul Turner CC: Thomas Gleixner CC: Andrew Hunter CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: "H. Peter Anvin" CC: Ben Maurer CC: Steven Rostedt CC: Josh Triplet

Re: [patch 1/7] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-16 Thread Jonas Oberg
Hi, > One other thing that occurred to me is that documentation files, too, > are copyrightable and should have license identifiers. Would it make sense to take an incremental approach to this? Get the source code and identifiers worked on by Thomas et al through first, then think about and fix u

Re: [PATCH] cpufreq: powernv: Return the actual CPU frequency in /proc/cpuinfo

2017-11-16 Thread Nicholas Piggin
On Fri, 6 Oct 2017 12:54:08 +0530 Shriya wrote: > Make /proc/cpuinfo read the frequency of the CPU it is running at > instead of reading the cached value of the last requested frequency. > In conditions like WOF/throttle CPU can be running at a different > frequency than the requested frequency.

Re: [PATCH] soc: qcom: smp2p: Access APCS as mailbox client

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 04:17 PST 2017, Arun Kumar Neelakantam wrote: > > diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c [..] > > + smp2p->mbox_client.dev = &pdev->dev; > > + smp2p->mbox_chan = mbox_request_channel(&smp2p->mbox_client, 0); > any reason why we are not using "knows_txdone

Re: [GIT PULL] sound updates for 4.15-rc1

2017-11-16 Thread Takashi Iwai
On Thu, 16 Nov 2017 15:55:35 +0100, Pierre-Louis Bossart wrote: > > On 11/15/17 1:34 AM, Takashi Iwai wrote: > > [Adding more people and alsa-devel to Cc] > > > > On Wed, 15 Nov 2017 03:40:09 +0100, > > Linus Torvalds wrote: > >> > >> On Tue, Nov 14, 2017 at 6:51 AM, Takashi Iwai wrote: > >>> > >

Re: [PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-16 Thread Ulf Hansson
On 12 November 2017 at 01:37, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Define and document a new driver flag, DPM_FLAG_LEAVE_SUSPENDED, to > instruct the PM core and middle-layer (bus type, PM domain, etc.) > code that it is desirable to leave the device in runtime suspend > after s

Re: [PATCH v3 1/6] ANDROID: binder: add support for RT prio inheritance.

2017-11-16 Thread Peter Zijlstra
On Thu, Nov 16, 2017 at 02:03:13PM +0100, Martijn Coenen wrote: > On Thu, Nov 16, 2017 at 12:27 PM, Peter Zijlstra wrote: > > But that's exactly what you get!? How would it ever get below > > min_node_prio? PI only ever (temporarily) raises prio, it never lowers > > it. > > Ah I guess we have di

RE: [PATCH V1] drivers:mtd:spi-nor:checkup FSR error bits

2017-11-16 Thread Bean Huo (beanhuo)
Ping SPI-NOR maintainers >-Original Message- >From: Bean Huo (beanhuo) >Sent: Samstag, 11. November 2017 21:49 >To: 'cyrille.pitc...@wedev4u.fr' ; >marek.va...@gmail.com >Cc: 'dw...@infradead.org' ; >computersforpe...@gmail.com; 'linux-...@lists.infradead.org' m...@lists.infradead.org>

Re: [patch 1/7] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-16 Thread Jonathan Corbet
On Sun, 12 Nov 2017 20:18:22 +0100 Thomas Gleixner wrote: > --- /dev/null > +++ b/Documentation/license-rules.rst > @@ -0,0 +1,310 @@ > +Linux kernel licensing rules > + > + > +The Linux Kernel is provided under the terms of the GNU General Public > +License version 2

Re: [PATCH] lib/stackdepot: use a non-instrumented version of memcmp()

2017-11-16 Thread Andrey Ryabinin
On 11/15/2017 08:34 PM, Alexander Potapenko wrote: > stackdepot used to call memcmp(), which compiler tools normally > instrument, therefore every lookup used to unnecessarily call > instrumented code. > This is somewhat ok in the case of KASAN, but under KMSAN a lot of time > was spent in the in

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-16 Thread Ionela Voinescu
Hi guys, On 15/11/17 18:20, Eduardo Valentin wrote: > On Wed, Nov 15, 2017 at 07:17:49PM +0100, Rafael J. Wysocki wrote: >> On Wed, Nov 15, 2017 at 4:43 PM, Eduardo Valentin >> wrote: >>> On Wed, Nov 15, 2017 at 11:18:03AM +0100, Daniel Lezcano wrote: On 15/11/2017 10:19, Viresh Kumar wrote

[PATCH] arm, ls1021a: add support for Moxa UC-8410A open platform

2017-11-16 Thread SZ Lin
Add support for Moxa UC-8410A open platform The UC-8410A computing platform is designed for embedded communication-centric industrial applications The features of UC-8410A are: * QSPI flash * SD slot * 3x LAN * 8x RS-232/422/485 ports, software-selectable * Mini PCIe form factor with PCIe/USB sig

Re: [GIT PULL] sound updates for 4.15-rc1

2017-11-16 Thread Pierre-Louis Bossart
On 11/15/17 1:34 AM, Takashi Iwai wrote: [Adding more people and alsa-devel to Cc] On Wed, 15 Nov 2017 03:40:09 +0100, Linus Torvalds wrote: On Tue, Nov 14, 2017 at 6:51 AM, Takashi Iwai wrote: please pull sound updates for v4.15-rc1 from: Hmm. Making "oldconfig" on my laptop with this, m

Re: [PATCH v2 07/14] regmap: Add SoundWire bus support

2017-11-16 Thread Mark Brown
On Thu, Nov 16, 2017 at 06:32:35PM +0530, Vinod Koul wrote: > On Thu, Nov 16, 2017 at 12:04:37PM +, Mark Brown wrote: > > On Fri, Nov 10, 2017 at 05:19:09PM +0530, Vinod Koul wrote: > > > +EXPORT_SYMBOL(__regmap_init_sdw); > > We still have plain EXPORT_SYMBOL() on the regmap exports... > I

Re: [PATCH 3/3] zfcp: drop open coded assignments of timer_list.function

2017-11-16 Thread Martin Schwidefsky
On Thu, 16 Nov 2017 14:16:39 +0100 Heiko Carstens wrote: > On Thu, Nov 16, 2017 at 01:38:18PM +0100, Steffen Maier wrote: > > If this has not been picked/merged yet (it's not in Linus' tree yet), > > could you please drop it because it's buggy? > > > > This would buy me time to come up with a pr

Re: [PATCH 0/8] USB: add device-tree support for interfaces

2017-11-16 Thread Rob Herring
On Thu, Nov 09, 2017 at 06:07:15PM +0100, Johan Hovold wrote: > This series adds support for representing USB interfaces in device tree > by implementing support for "interface nodes" and "combined nodes" from > the OF specification. > > This is needed to be able to describe non-discoverable prope

Re: [Part1 PATCH v7 00/17] x86: Secure Encrypted Virtualization (AMD)

2017-11-16 Thread Tom Lendacky
On 11/16/2017 4:02 AM, Borislav Petkov wrote: On Wed, Nov 15, 2017 at 03:57:13PM -0800, Steve Rutherford wrote: One piece that seems missing here is the handling of the vmm communication exception. What's the plan for non-automatic exits? In particular, what's the plan for emulated devices that

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-16 Thread Marc Zyngier
On Thu, Nov 16 2017 at 2:24:31 pm GMT, "Liuwenliang (Abbott Liu)" wrote: > On 16/11/17 17:54 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >>On Thu, Nov 16 2017 at 3:07:54 am GMT, "Liuwenliang (Abbott Liu)" >> wrote: On 15/11/17 13:16, Liuwenliang (Abbott Liu) wrote: > On 09/11/17

Re: [PATCH 1/6] perf inject: Document missing options

2017-11-16 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 16, 2017 at 11:26:02PM +0900, Sihyeon Jang escreveu: > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Sihyeon Jang Applied 1-6 - Arnaldo

[GIT PULL] Backlight for v4.15

2017-11-16 Thread Lee Jones
Hi Linus, Enjoy! The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-next-4.15 for you to fetch chang

RE: [PATCH v4 2/4] tpm: ignore burstcount to improve tpm_tis send() performance

2017-11-16 Thread Alexander.Steffen
> > On 10/20/2017 08:12 PM, alexander.stef...@infineon.com wrote: > > >> The TPM burstcount status indicates the number of bytes that can > > >> be sent to the TPM without causing bus wait states. Effectively, > > >> it is the number of empty bytes in the command FIFO. > > >> > > >> This patch opt

Re: [PATCH 4/8] dt-bindings: usb: document hub and host-controller properties

2017-11-16 Thread Rob Herring
On Thu, Nov 16, 2017 at 09:45:40AM +0100, Johan Hovold wrote: > On Wed, Nov 15, 2017 at 09:46:55AM -0600, Rob Herring wrote: > > On Thu, Nov 09, 2017 at 06:07:19PM +0100, Johan Hovold wrote: > > > Hub nodes and host-controller nodes with child nodes must specify values > > > for #address-cells (1)

[GIT PULL] MFD for v4.15

2017-11-16 Thread Lee Jones
Hi Linus, Enjoy! The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-next-4.15 for you to fetch changes up to b259

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-16 Thread Liuwenliang (Abbott Liu)
On 16/11/17 17:54 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >On Thu, Nov 16 2017 at 3:07:54 am GMT, "Liuwenliang (Abbott Liu)" > wrote: >>>On 15/11/17 13:16, Liuwenliang (Abbott Liu) wrote: On 09/11/17 18:36 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: > On Wed, Nov 15 201

[PATCH 4/6] perf sched: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-sched.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt index 55b6733..c7e50f2 100644 --- a/tools/perf/Docume

[PATCH 6/6] perf buildid-cache: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-buildid-cache.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/Documentation/perf-buildid-cache.txt b/tools/perf/Documentation/perf-buildid-cache.txt index 8468100..73c2650 100644

[PATCH 5/6] perf evlist: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-evlist.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-evlist.txt b/tools/perf/Documentation/perf-evlist.txt index 6f7200f..c0a6640 100644 --- a/tools/perf/Doc

[PATCH 3/6] perf timechart: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-timechart.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.txt index df98d1c..ef0c756 100

[PATCH 2/6] perf trace: Document missing option, colons

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-trace.txt | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf/Documentation/perf-trace.txt index d53bea6..6909cf1

[PATCH 1/6] perf inject: Document missing options

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-inject.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt index 87b2588..a64d658 100644 --- a/tools/perf/Doc

Re: [RFC 05/19] s390/zcrypt: base implementation of AP matrix device driver

2017-11-16 Thread Tony Krowiak
On 11/16/2017 07:35 AM, Cornelia Huck wrote: On Thu, 16 Nov 2017 13:02:26 +0100 Pierre Morel wrote: On 14/11/2017 17:37, Tony Krowiak wrote: On 11/14/2017 07:40 AM, Cornelia Huck wrote: On Fri, 13 Oct 2017 13:38:50 -0400 Tony Krowiak wrote: diff --git a/arch/s390/Kconfig b/arch/s390/Kconfi

Re: [RFC 05/19] s390/zcrypt: base implementation of AP matrix device driver

2017-11-16 Thread Pierre Morel
On 16/11/2017 13:35, Cornelia Huck wrote: On Thu, 16 Nov 2017 13:02:26 +0100 Pierre Morel wrote: On 14/11/2017 17:37, Tony Krowiak wrote: On 11/14/2017 07:40 AM, Cornelia Huck wrote: On Fri, 13 Oct 2017 13:38:50 -0400 Tony Krowiak wrote: diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig

RE: [PATCH] arm64: dts: ls1088a: add fsl-mc hardware resource manager node

2017-11-16 Thread Ioana Ciornei
See comments inline. > > On Wed, Nov 08, 2017 at 03:30:05PM +0200, Ioana Ciornei wrote: > > Add the fsl-mc node in the LS1088A device tree. > > > > Signed-off-by: Ioana Ciornei > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 62 > ++ > > 1 file changed, 62 i

Re: [PATCH v2] mm: show total hugetlb memory consumption in /proc/meminfo

2017-11-16 Thread Johannes Weiner
On Wed, Nov 15, 2017 at 11:14:09PM +, Roman Gushchin wrote: > Currently we display some hugepage statistics (total, free, etc) > in /proc/meminfo, but only for default hugepage size (e.g. 2Mb). > > If hugepages of different sizes are used (like 2Mb and 1Gb on x86-64), > /proc/meminfo output ca

[PATCH v4] sched: Update runnable propagation rule

2017-11-16 Thread Vincent Guittot
Unlike running, the runnable part can't be directly propagated through the hierarchy when we migrate a task. The main reason is that runnable time can be shared with other sched_entities that stay on the rq and this runnable time will also remain on prev cfs_rq and must not be removed. Instead, we

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

2017-11-16 Thread Pablo Neira Ayuso
On Thu, Nov 16, 2017 at 09:46:17AM +1100, Stephen Rothwell wrote: > Hi Pablo, > > On Thu, 9 Nov 2017 00:40:14 +0100 Pablo Neira Ayuso > wrote: > > > > On Wed, Nov 08, 2017 at 07:00:52PM +1100, Stephen Rothwell wrote: > > > > > > On Tue, 7 Nov 2017 11:02:48 +1100 Stephen Rothwell > > > wrote:

Re: [PATCH v2 8/8] arm64: dts: actions: Add S700 SPS node

2017-11-16 Thread Andreas Färber
Am 14.11.2017 um 00:34 schrieb Andreas Färber: > Add a node to the S700 Device Tree for the Smart Power System (SPS). > > Signed-off-by: Andreas Färber > --- > v2: New > > To be squashed into 5/8 if binding gets acked. > > arch/arm64/boot/dts/actions/s700.dtsi | 6 ++ > 1 file changed,

Re: [PATCH] perf kmem: Change a word from migratetype to migrate_type for unity

2017-11-16 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 16, 2017 at 10:41:46PM +0900, Sihyeon Jang escreveu: > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Sihyeon Jang Please describe the problem and why such word change is warranted. Its not enough to say what is being done, you need to say _why_. And this seems bogus, look:

[RFC v2 1/2] backlight: pwm_bl: linear interpolation between values of brightness-levels

2017-11-16 Thread Enric Balletbo i Serra
Setting use-linear-interpolation in the dts will allow you to have linear interpolation between values of brightness-levels. There are now 256 between each of the values of brightness-levels. If something is requested halfway between 2 values, we'll use linear interpolation. This way a high resol

[RFC v2 2/2] backlight: pwm_bl: compute brightness of LED linearly to human eye.

2017-11-16 Thread Enric Balletbo i Serra
When you want to change the brightness using a PWM signal, one thing you need to consider is how human perceive the brightness. Human perceive the brightness change non-linearly, we have better sensitivity at low luminance than high luminance, so to achieve perceived linear dimming, the brightness

[RFC v2 0/2] backlight: pwm_bl: support linear brightness to human eye

2017-11-16 Thread Enric Balletbo i Serra
Dear all, This patch series is a second RFC to know your opinion about the way to solve the problems exposed in the first RFC [1] The first patch what tries to solve is the problem of granularity for high resolution PWMs. The idea is simple interpolate between 2 brightness values so we can have a

[PATCH v3] sched: Update runnable propagation rule

2017-11-16 Thread Vincent Guittot
Unlike running, the runnable part can't be directly propagated through the hierarchy when we migrate a task. The main reason is that runnable time can be shared with other sched_entities that stay on the rq and this runnable time will also remain on prev cfs_rq and must not be removed. Instead, we

[PATCH] dt-bindings: remove file that was added accidentally

2017-11-16 Thread Rob Clark
I think this snuck in when I applied the patch for f97decac5f4c (didn't apply cleanly, required some manual applying + git-add). It is unused and shouldn't be here. My bad. Fixes: f97decac5f4c "drm/msm: Support multiple ringbuffers" Signed-off-by: Rob Clark --- include/dt-bindings/msm/msm-bus-

Re: [PATCH v2 7/8] soc: actions: sps: Add S700

2017-11-16 Thread Andreas Färber
Am 14.11.2017 um 00:34 schrieb Andreas Färber: > Add power domains for S700 SoC. > > Signed-off-by: Andreas Färber > --- > v2: New > > drivers/soc/actions/owl-sps.c | 42 ++ > 1 file changed, 42 insertions(+) Queued on v4.16/drivers: https://git.kernel

Re: [PATCH v2 1/8] dt-bindings: arm: actions: Add S700 and CubieBoard7

2017-11-16 Thread Andreas Färber
Am 14.11.2017 um 00:34 schrieb Andreas Färber: > Document the Actions Semi S700 SoC and the Cubietech CubieBoard7. > > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- > v1 -> v2: Unchanged > > Documentation/devicetree/bindings/arm/actions.txt | 15 +++ > 1 file change

Re: [PATCH net] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2017-11-16 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Wed, 15 Nov 2017 22:17:48 -0600 > > Alexandar Potapenko while testing the kernel with KMSAN and syzkaller > discovered that in some configurations sctp would leak 4 bytes of > kernel stack. > > Working with his reproducer I discovered that th

[PATCH 12/16] nsproxy: convert nsproxy.count to refcount_t

2017-11-16 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCHv3 2/2] x86/selftests: Add test for mapping placement for 5-level paging

2017-11-16 Thread Kirill A. Shutemov
With 5-level paging, we have 56-bit virtual address space available for userspace. But we don't want to expose userspace to addresses above 47-bits, unless it asked specifically for it. We use mmap(2) hint address as a way for kernel to know if it's okay to allocate virtual memory above 47-bit. L

Re: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-11-16 Thread Rafael J. Wysocki
On Thursday, November 16, 2017 10:22:41 AM CET Johan Hovold wrote: > On Sun, Nov 12, 2017 at 01:27:30AM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The check for "active" children in __pm_runtime_set_status(), when > > trying to set the parent device status to "suspended",

[PATCH 00/16] v6 kernel core pieces refcount conversions

2017-11-16 Thread Elena Reshetova
Changes in v6: * memory ordering differences are outlined in each patch together with potential problematic areas. Note: I didn't include any statements in individual patches on why I think the memory ordering changes do not matter in that particular case since ultimately these are only

[PATCH v1 5/5] platform/x86: intel_telemetry: Improve S0ix logs

2017-11-16 Thread Souvik Kumar Chakravarty
Suspend with shallow wakes is not a useful parameter since the phenomena does not exist on deployed devices and is only a parameter of use during device power-on phase. The field always reads zero. Additionally there are other easier methods to detect it, e.g., if the S0ix counter increments by mor

[PATCH v1 4/5] platform/x86: intel_telemetry: Remove redundancies

2017-11-16 Thread Souvik Kumar Chakravarty
This patch removes unnecessary header files and newlines. It also fixes some alignment issues. Signed-off-by: Souvik Kumar Chakravarty --- drivers/platform/x86/intel_telemetry_debugfs.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/platform/x86/intel_tel

[PATCH v1 0/5] platform/x86: intel_telemetry: Fix counters and formatting

2017-11-16 Thread Souvik Kumar Chakravarty
This patchset fixes https://bugzilla.kernel.org/show_bug.cgi?id=197833, and other issues related to telemetry counters. It also cleans up formatting and removes redundanant code. It is rebased on top of the TESTING branch. Souvik Kumar Chakravarty (5): platform/x86: intel_pmc_ipc: Fix register

[PATCH v1 1/5] platform/x86: intel_pmc_ipc: Fix register names

2017-11-16 Thread Souvik Kumar Chakravarty
GCR TELEM register names have been fixed as per the External Design Sepcification (EDS) of Apollolake and GeminiLake. This makes it possible to fetch the complete 64-bit S0ix counter using exported APIs. This patch also fixes some alignment issues in the macro definition section. Signed-off-by: S

[PATCH v1 2/5] platform/x86: intel_telemetry: Fix suspend stats

2017-11-16 Thread Souvik Kumar Chakravarty
Suspend stats are not reported consistently due to a limitation in the PMC firmware. This limitation causes a delay in updating the s0ix counters and residencies in the telemetry log upon s0ix exit. As a consequence, reading these counters from the suspend-exit notifier may result in zero read. Th

[PATCH 11/16] uprobes: convert uprobe.ref to refcount_t

2017-11-16 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH v1 3/5] platform/x86: intel_telemetry: Fix local variables

2017-11-16 Thread Souvik Kumar Chakravarty
Remove unnecesary 'static' qualifier. Signed-off-by: Souvik Kumar Chakravarty --- drivers/platform/x86/intel_telemetry_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel_telemetry_debugfs.c b/drivers/platform/x86/intel_telemetry_debugfs.

Re: [PATCH v5 06/11] intel_sgx: driver for Intel Software Guard Extensions

2017-11-16 Thread Jarkko Sakkinen
On Tue, Nov 14, 2017 at 10:12:25PM +0200, Jarkko Sakkinen wrote: > On Tue, Nov 14, 2017 at 10:41:50AM +1100, James Morris wrote: > > > + if (IS_ERR(secs_epc)) { > > > + ret = PTR_ERR(secs_epc); > > > + goto out; > > > + } > > > > > +out: > > > + if (encl) > > > + kref_put(&

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2017-11-16 Thread Mika Westerberg
On Wed, Nov 15, 2017 at 04:08:32PM +0800, Chris Chiu wrote: > Yes, that’s the most weird part. Sounds pretty much like a BIOS issue. Do you know if there is a newer BIOS and have you tried that already?

Re: [git pull] drm for v4.15

2017-11-16 Thread Rob Clark
On Wed, Nov 15, 2017 at 11:59 PM, Linus Torvalds wrote: > On Wed, Nov 15, 2017 at 6:34 PM, Dave Airlie wrote: >> >> There is some code touched on sound/soc, but I think the sound tree >> should have the same commits from the same base,so this may luck different >> if you pulled it as I generated

Re: [PATCH] staging: comedi: ni_atmio: Handle return value of pnp_*

2017-11-16 Thread Ian Abbott
On 16/11/17 04:32, Arvind Yadav wrote: pnp_irq() and pnp_port_start() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/comedi/drivers/ni_atmio.c

Re: [PATCH] samples: replace outdated permission statement with SPDX identifiers

2017-11-16 Thread Philippe Ombredanne
On Wed, Nov 15, 2017 at 9:44 PM, Martin Kepplinger wrote: > This replaces license permission statements that include a wrong postal > address of the FSF with only SPDX license identifiers; in the samples > directory. > > Signed-off-by: Martin Kepplinger FWIW, looking all good to me! Reviewed-by

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Robin Murphy
On 16/11/17 13:07, Yury Norov wrote: On Thu, Nov 16, 2017 at 11:54:33AM +, Will Deacon wrote: On Wed, Nov 15, 2017 at 01:34:21PM -0800, Sami Tolvanen wrote: From: Alex Matveev Use UNDEFINE_MRS_S and UNDEFINE_MSR_S to define corresponding macros in-place and workaround gcc and clang limita

Re: [PATCH] x86 / CPU: Always show current CPU frequency in /proc/cpuinfo

2017-11-16 Thread Rafael J. Wysocki
On Thursday, November 16, 2017 10:50:36 AM CET WANG Chao wrote: > On 11/16/17 at 01:24P, Rafael J. Wysocki wrote: > > On Wednesday, November 15, 2017 10:33:47 AM CET WANG Chao wrote: > > > On 11/15/17 at 02:13P, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > > > After commit

Re: [alsa-devel] [PATCH] SoC: intel: byt: Introduce new custom IN2 map

2017-11-16 Thread Carlo Caione
On Wed, Oct 18, 2017 at 7:05 PM, Pierre-Louis Bossart wrote: > On 10/18/17 11:49 AM, Carlo Caione wrote: >> >> From: Carlo Caione >> >> Introduce a new custom dapm routes map to quirk platforms with the >> internal mic connected to IN2P. > > > LGTM. If we start getting more quirks for this codec,

Re: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t

2017-11-16 Thread Michal Hocko
On Mon 13-11-17 09:09:57, Reshetova, Elena wrote: > > > > Note that there's work done on better documents and updates to this one. > > One document that might be good to read (I have not in fact had time to > > read it myself yet :-(): > > > > https://github.com/aparri/memory- > > model/blob/m

Re: [PATCH v2 1/4] omapdrm: fix compatible string for td028ttec1

2017-11-16 Thread H. Nikolaus Schaller
> Am 16.11.2017 um 13:32 schrieb Tomi Valkeinen : > > On 16/11/17 10:50, H. Nikolaus Schaller wrote: >> The vendor name was "toppoly" but other panels and the vendor list >> have defined it as "tpo". So let's fix it in driver and bindings. >> >> Signed-off-by: H. Nikolaus Schaller >> --- > >

[PATCH] platform/x86: Add Acer Wireless Radio Control driver

2017-11-16 Thread Chris Chiu
New Acer laptops in 2018 will have a separate ACPI device for notifications from the airplane mode hotkey. The device name in the DSDT is SMKB and its ACPI _HID is 10251229. For these models, when the airplane mode hotkey (Fn+F3) pressed, a query 0x02 is started in the Embedded Controller, and all

Re: [PATCH v2 6/8] dt-bindings: power: Add Actions Semi S700 SPS

2017-11-16 Thread Andreas Färber
Am 16.11.2017 um 05:35 schrieb Rob Herring: > On Tue, Nov 14, 2017 at 12:34:25AM +0100, Andreas Färber wrote: >> Define power domains for Actions Semi S700 SoC Smart Power System (SPS). >> >> Signed-off-by: Andreas Färber >> --- >> v2: New >> >> .../devicetree/bindings/power/actions,owl-sps.tx

Re: [linux-sunxi] Cedrus driver

2017-11-16 Thread Giulio Benetti
Hi, Il 16/11/2017 14:39, Maxime Ripard ha scritto: On Thu, Nov 16, 2017 at 02:17:08PM +0100, Giulio Benetti wrote: Hi Hans, Il 16/11/2017 14:12, Hans Verkuil ha scritto: On 16/11/17 13:57, Giulio Benetti wrote: Il 16/11/2017 13:53, Maxime Ripard ha scritto: On Thu, Nov 16, 2017 at 01:30:52P

[PATCH] perf kmem: Change a word from migratetype to migrate_type for unity

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/builtin-kmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 557d391..43858cd 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/built

Re: [PATCH v7 02/13] dt-bindings: Add SLIMbus bindings

2017-11-16 Thread Srinivas Kandagatla
Thanks for the review comments. On 16/11/17 13:09, Vinod Koul wrote: On Wed, Nov 15, 2017 at 02:10:32PM +, srinivas.kandaga...@linaro.org wrote: From: Sagar Dharia + +Child nodes: +Every SLIMbus controller node can contain zero or more child nodes +representing slave devices on the bus.

Re: [linux-sunxi] Cedrus driver

2017-11-16 Thread Hans Verkuil
On 16/11/17 14:17, Giulio Benetti wrote: > Hi Hans, > > Il 16/11/2017 14:12, Hans Verkuil ha scritto: >> On 16/11/17 13:57, Giulio Benetti wrote: >>> Il 16/11/2017 13:53, Maxime Ripard ha scritto: On Thu, Nov 16, 2017 at 01:30:52PM +0100, Giulio Benetti wrote: >> On Thu, Nov 16, 2017 at 1

Re: [PATCH 1/2] x86,kvm: move qemu/guest FPU switching out to vcpu_run

2017-11-16 Thread Paolo Bonzini
On 16/11/2017 14:35, Quan Xu wrote: > but we introduce another method: > >   -- When the VCPU thread is scheduled back in, the context > switch code will restore current->thread.fpu to the FPU > registers. > > > there is still a window to restore current->thread.fpu to the

Re: [alsa-devel] [PATCH v7 03/13] slimbus: Add SLIMbus bus type

2017-11-16 Thread Srinivas Kandagatla
Thanks for the review. On 16/11/17 13:18, Vinod Koul wrote: On Wed, Nov 15, 2017 at 02:10:33PM +, srinivas.kandaga...@linaro.org wrote: +menuconfig SLIMBUS + tristate "Slimbus support" + help + Slimbus is standard interface between System-on-Chip and audio codec, +

<    2   3   4   5   6   7   8   9   10   >