Bank transactions report

2018-08-09 Thread
CONGRATULATIONS 2018 BMC Q-DRAFT CONSULT AWARDEES THE NASSCOM SERVICE BMC Q-DRAFT CONSULT PROGRAM RECOGNIZES THE TOP INDIVIDUAL CONTRIBUTORS IN SURVEY SERVICE ONLINE COMMUNITY. THE NASSCOM BMC Q-DRAFT CONSULT ARE WELL KNOWN BY THE WORLDS COLLECTIVE COMMUNITY FOR THEIR PRODUCT EXPERTISE AND CON

Re: [PATCH v3 7/7] firmware: coreboot: Request table region for exclusive access

2018-08-09 Thread Stephen Boyd
Quoting Julius Werner (2018-08-09 14:07:31) > On Thu, Aug 9, 2018 at 10:17 AM Stephen Boyd wrote: > > > > Call request_mem_region() on the entire coreboot table to make sure > > other devices don't attempt to map the coreboot table in their drivers. > > If drivers need that support, it would be be

Re: [PATCH v8 0/4] Add parameter for disabling ACS redirection for P2P

2018-08-09 Thread Bjorn Helgaas
On Mon, Jul 30, 2018 at 10:18:36AM -0600, Logan Gunthorpe wrote: > Changes since v6: > * Fixed order of operations for device specific disable function as > noticed by Alex > * Rebased onto v4.18-rc5 (no conflicts) > > Changes since v5: > * Add a quirk to handle the Intel SPT PCH case (as pointe

[PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-09 Thread Palmer Dabbelt
This would be necessary to make non-SMP builds work, but there is another error in the implementation of our syscall linkage that actually just causes sys_riscv_flush_icache to never build. I've build tested this on allnoconfig and allnoconfig+SMP=y, as well as defconfig like normal. CC: Christop

[PATCH v3 2/3] staging: fbtft: Replaces (1 << n) for macro BIT(n) - Style

2018-08-09 Thread Leonardo Brás
Use of default macro BIT(n) instead of (1 << n). Helps readability. Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft.h | 56 +-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft

[PATCH v3 3/3] staging: fbtft: Corrects long index line - Style

2018-08-09 Thread Leonardo Brás
Reduces the index size to keep the code more readable. Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft-sysfs.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-sysfs.c b/drivers/staging/fbtft/fbtft-sysfs.c index 2a5c630dab87..4040

[PATCH v3 2/2] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h

2018-08-09 Thread Palmer Dabbelt
This file is expected to be included multiple times in the same file in order to allow the __SYSCALL macro to generate system call tables. With a global include guard we end up missing __NR_riscv_flush_icache in the syscall table, which results in icache flushes that escape the vDSO call to not ac

RISC-V: Don't use a global include guard for uapi/asm/syscalls.

2018-08-09 Thread Palmer Dabbelt
It turns out that we weren't actually hooking sys_riscv_flush_icache into the syscall table, which results in any flush_icache() call that escapes the vDSO to silently do nothing. Changes since v2: * sys_riscv_flush_icache actually flushes the icache when SMP=n. Thanks to Andrew for pointing o

[PATCH v3 0/3] Style changes

2018-08-09 Thread Leonardo Brás
Some style changes to help readability. Leonardo Brás (3): staging: fbtft: Includes description to mutex and spinlock - Style staging: fbtft: Replaces (1 << n) for macro BIT(n) - Style staging: fbtft: Corrects long index line - Style drivers/staging/fbtft/fbtft-sysfs.c | 5 ++- drivers/s

[PATCH v3 1/3] staging: fbtft: Includes description to mutex and spinlock - Style

2018-08-09 Thread Leonardo Brás
Adds comments explaining what are the spinlock and mutex used for. Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h index 798a8fe98e95..958835da433c

Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level

2018-08-09 Thread rishabhb
On 2018-08-06 01:53, Rafael J. Wysocki wrote: On Fri, Aug 3, 2018 at 12:20 AM, Sodagudi Prasad wrote: From: RAFAEL J. WYSOCKI Date: Wed, Aug 1, 2018 at 2:21 PM Subject: Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level To: Rishabh Bhatnagar Cc: "Rafael J. Wysocki" , Greg

Re: [PATCH 5/5] fs/locks: create a tree of dependent requests.

2018-08-09 Thread NeilBrown
On Thu, Aug 09 2018, J. Bruce Fields wrote: > On Thu, Aug 09, 2018 at 12:04:41PM +1000, NeilBrown wrote: >> When we find an existing lock which conflicts with a request, >> and the request wants to wait, we currently add the request >> to a list. When the lock is removed, the whole list is woken.

Re: [PATCH RESEND v2] arm64: clean the additional checks before calling ghes_notify_sea()

2018-08-09 Thread gengdongjiu
2018-08-10 5:05 GMT+08:00 Tyler Baicar : > On Thu, Aug 9, 2018 at 8:32 AM, gengdongjiu wrote: >> >> 2018-08-08 0:26 GMT+08:00 Dongjiu Geng : >> > In order to remove the additional check before calling the >> > ghes_notify_sea(), make stub definition when !CONFIG_ACPI_APEI_SEA. >> > >> > After this

Re: [PATCH v2 2/2] firmware: coreboot: Collapse platform drivers into bus core

2018-08-09 Thread kbuild test robot
Hi Stephen, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.18-rc8 next-20180809] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 0/5 - V2] locks: avoid thundering-herd wake-ups

2018-08-09 Thread NeilBrown
On Thu, Aug 09 2018, J. Bruce Fields wrote: > I think there's also a problem with multiple tasks sharing the same > lock owner. > > So, all locks are exclusive locks for the same range. We have four > tasks. Tasks 1 and 4 share the same owner, the others' owners are > distinct. > > - Task

want to edit

2018-08-09 Thread Tony
We just found that you need image editing. We are an image studio, we do all kinds of image editing such as for e-commerce photos, jewelry images and portrait mages. Our service includes cutting out and clipping path etc , we also do retouching. You may send us a photo, testing will be provided

Re: [PATCH v3 5/7] firmware: coreboot: Remap RAM with memremap() instead of ioremap()

2018-08-09 Thread Stephen Boyd
Quoting Julius Werner (2018-08-09 11:24:29) > One thing to note is that we still want this space to be mappable by > userspace applications via /dev/mem, so we need to make sure that > there's no weird memory type mismatch that causes problems with that. > Adding Aaron to see if he has any concerns

[PATCH v2] clk: qcom: Add some missing gcc clks for msm8996

2018-08-09 Thread Bjorn Andersson
From: Rajendra Nayak Add a few missing gcc clks for msm8996 Signed-off-by: Rajendra Nayak [bjorn: omit aggre0_noc_qosgen_extref_clk] Signed-off-by: Bjorn Andersson --- Changes since v1: - Dropped LPASS SMMU clocks already introduced by Srinivas drivers/clk/qcom/gcc-msm8996.c |

Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver

2018-08-09 Thread Pavel Machek
Hi! > > Following node would describe strings connected to the outputs > > HVLED1 and HVLED2 controlled by bank A. > > > > led@0 { > > reg = <0>; > > led-sources = <0>. <1>; > > label = "white:first_backlight_cluster"; > > linux,default-trigger = "backlight"; > > }; > > > > > >

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-09 Thread Rafael J. Wysocki
On Tuesday, July 24, 2018 2:25:10 PM CEST Quentin Perret wrote: > Several subsystems in the kernel (task scheduler and/or thermal at the > time of writing) can benefit from knowing about the energy consumed by > CPUs. Yet, this information can come from different sources (DT or > firmware for examp

[PATCH] perf tools: Check for null when copying nsinfo.

2018-08-09 Thread Benno Evers
The argument to nsinfo__copy() was assumed to be valid, but some code paths exist that will lead to NULL being passed. In particular, running 'perf script -D' on a perf.data file containing an PERF_RECORD_MMAP event associating the '[vdso]' dso with pid 0 earlier in the event stream will lead to a

Re: [PATCH v3 1/4] dt-bindings: add binding for i.MX8MQ CCM

2018-08-09 Thread Rob Herring
On Thu, Aug 09, 2018 at 05:45:38PM +0300, Abel Vesa wrote: > From: Lucas Stach > > This adds the binding for the i.MX8MQ Clock Controller Module. > > Signed-off-by: Lucas Stach > Signed-off-by: Abel Vesa > --- > .../devicetree/bindings/clock/imx8mq-clock.txt | 20 + > include/dt-bindings

Re: [PATCH v5 2/6] dt-bindings: iio: accel: Add docs for ADXL372

2018-08-09 Thread Rob Herring
On Tue, Aug 07, 2018 at 05:52:16PM +0300, Stefan Popa wrote: > Add the device tree binding documentation for the ADXL372 3-axis digital > accelerometer. > > Signed-off-by: Stefan Popa > --- > .../devicetree/bindings/iio/accel/adxl372.txt | 22 > ++ > MAINTAINERS

Re: [PATCH] sched: idle: Reenable sched tick for cpuidle request

2018-08-09 Thread Rafael J. Wysocki
On Thursday, August 9, 2018 6:43:55 PM CEST Rafael J. Wysocki wrote: > On Thu, Aug 9, 2018 at 6:29 PM, wrote: > > On Thu, Aug 09, 2018 at 05:42:30PM +0200, Rafael J. Wysocki wrote: > > > > [...] > > > >> >> This issue can be easily reproduce with the case on Arm Hikey board: use > >> >> CPU0 to s

Re: [PATCH v6 3/5] thermal: qcom-spmi: Use PMIC thermal stage 2 for critical trip points

2018-08-09 Thread Doug Anderson
Hi, On Tue, Jul 31, 2018 at 11:59 AM, Matthias Kaehlcke wrote: > There are three thermal stages defined in the PMIC: > > stage 1: warning > stage 2: system should shut down > stage 3: emergency shut down > > By default the PMIC assumes that the OS isn't doing anything and thus > at stage 2 it doe

Re: [PATCH v2 2/2] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h

2018-08-09 Thread Guenter Roeck
On Thu, Aug 09, 2018 at 01:25:24PM -0700, Palmer Dabbelt wrote: > This file is expected to be included multiple times in the same file in > order to allow the __SYSCALL macro to generate system call tables. With > a global include guard we end up missing __NR_riscv_flush_icache in the > syscall ta

Re: [PATCH v2 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-09 Thread Guenter Roeck
On Thu, Aug 09, 2018 at 01:25:23PM -0700, Palmer Dabbelt wrote: > This would be necessary to make non-SMP builds work, but there is > another error in the implementation of our syscall linkage that actually > just causes sys_riscv_flush_icache to never build. I've build tested > this on allnoconfi

Re: [PATCH v1 10/10] MAINTAINERS: Add entry for Qualcomm TSENS thermal drivers

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:42PM +0530, Amit Kucheria wrote: > Create an entry for the TSENS drivers and mark them as maintained > > Signed-off-by: Amit Kucheria > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 68b4ff8ed205.

Re: [PATCH v3 7/7] firmware: coreboot: Request table region for exclusive access

2018-08-09 Thread Julius Werner
On Thu, Aug 9, 2018 at 10:17 AM Stephen Boyd wrote: > > Call request_mem_region() on the entire coreboot table to make sure > other devices don't attempt to map the coreboot table in their drivers. > If drivers need that support, it would be better to provide bus APIs > they can use to do that thr

[for-next][PATCH 1/6] tracing: Partial revert of "tracing: Centralize preemptirq tracepoints and unify their usage"

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Joel Fernandes created a nice patch that cleaned up the duplicate hooks used by lockdep and irqsoff latency tracer. It made both use tracepoints. But it caused lockdep to trigger several false positives. We have not figured out why yet, but removing lockdep from us

[for-next][PATCH 0/6] tracing: Last minute updates before pushing to linux-next

2018-08-09 Thread Steven Rostedt
Joel, These are the last minute updates I have on top of your changes. A couple of them I may have already posted to you. I'm trying to get my tests to all pass without errors or new warnings. My tests are still running, and hopefully this will have all the fixes. -- Steve git://git.kernel.or

[for-next][PATCH 2/6] tracing/irqsoff: Handle preempt_count for different configs

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" I was hitting the following warning: WARNING: CPU: 0 PID: 1 at kernel/trace/trace_irqsoff.c:631 tracer_hardirqs_off+0x15/0x2a Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.18.0-rc6-test+ #13 Hardware name: MSI MS-7823/CSM-H87M-G43 (MS-7823), BIO

[for-next][PATCH 4/6] ftrace: Remove unused pointer ftrace_swapper_pid

2018-08-09 Thread Steven Rostedt
From: Colin Ian King Pointer ftrace_swapper_pid is defined but is never used hence it is redundant and can be removed. The use of this variable was removed in commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like events do"). Cleans up clang warning: warning: 'ftrace_swapper_pid'

[for-next][PATCH 6/6] uprobes: Use synchronize_rcu() not synchronize_sched()

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" While debugging another bug, I was looking at all the synchronize*() functions being used in kernel/trace, and noticed that trace_uprobes was using synchronize_sched(), with a comment to synchronize with {u,ret}_probe_trace_func(). When looking at those functions,

[for-next][PATCH 5/6] tracing: Fix synchronizing to event changes with tracepoint_synchronize_unregister()

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Now that some trace events can be protected by srcu_read_lock(tracepoint_srcu), we need to make sure all locations that depend on this are also protected. There were many places that did a synchronize_sched() thinking that it was enough to protect againts access to

[for-next][PATCH 3/6] tracing: More reverting of "tracing: Centralize preemptirq tracepoints and unify their usage"

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Joel Fernandes created a nice patch that cleaned up the duplicate hooks used by lockdep and irqsoff latency tracer. It made both use tracepoints. But the latency tracer is triggering warnings when using tracepoints to call into the latency tracer's routines. Mainly

Re: [RESEND PATCH v1 2/2] cpuidle: menu: Dismiss tick impaction on correction factors

2018-08-09 Thread Rafael J. Wysocki
On Thu, Aug 9, 2018 at 7:20 PM, Leo Yan wrote: > If the idle duration predictor detects the tick is triggered, and with > meeting the condition 'data->next_timer_us > TICK_USEC', it will give a > big compensation for the 'measured' interval; this is purposed to avoid > artificially small correctio

Re: [PATCH v1 09/10] arm64: dts: qcom: Add reg-names for all tsens nodes

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:41PM +0530, Amit Kucheria wrote: > Instead of showing up as thermal-sensor@, the nodes will show up as > tsens0_tm, tsen1_tm, tsens1_srot, etc. in /proc/iomem making it easier to > read. > > IOW, > > 0c222000-0c2221fe : thermal-sensor@c263000 > 0c223000-0c2231fe : th

Re: WARNING in try_charge

2018-08-09 Thread Tetsuo Handa
On 2018/08/10 0:07, Michal Hocko wrote: > On Thu 09-08-18 22:57:43, Tetsuo Handa wrote: >> >From b1f38168f14397c7af9c122cd8207663d96e02ec Mon Sep 17 00:00:00 2001 >> From: Tetsuo Handa >> Date: Thu, 9 Aug 2018 22:49:40 +0900 >> Subject: [PATCH] mm, oom: task_will_free_mem(current) should retry unt

Re: [PATCH v3 6/7] firmware: coreboot: Only populate devices in coreboot_table_init()

2018-08-09 Thread Julius Werner
On Thu, Aug 9, 2018 at 10:17 AM Stephen Boyd wrote: > > This function checks the header for sanity, registers a bus, and > populates devices for each coreboot table entry. Let's just populate > devices here and pull the other bits up into the caller so that this > function can be repurposed for pu

Re: [PATCH v2] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h

2018-08-09 Thread Palmer Dabbelt
On Wed, 08 Aug 2018 22:58:30 PDT (-0700), Christoph Hellwig wrote: This actually seems to break the compilation for me in for-next: hch@carbon:~/work/linux$ make ARCH=riscv CALLscripts/checksyscalls.sh :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] CHK include/genera

Re: [PATCH] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h

2018-08-09 Thread Palmer Dabbelt
On Thu, 09 Aug 2018 06:26:12 PDT (-0700), li...@roeck-us.net wrote: On Fri, Aug 03, 2018 at 12:53:44PM -0700, Palmer Dabbelt wrote: This file is expected to be included multiple times in the same file in order to allow the __SYSCALL macro to generate system call tables. With a global include gu

Re: [PATCH v1 08/10] thermal: tsens: Get rid of 'id' field

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:40PM +0530, Amit Kucheria wrote: > The hw_id field in 'struct tsens_sensor' can do the job of tracking > unique ids for each sensor connected to each tsens device instance. It > also allows hw_ids to be overridden (e.g. 8916) in cases where some > sensors in a sequence

Re: [RFC PATCH 2/3] mm/memory_hotplug: Create __shrink_pages and move it to offline_pages

2018-08-09 Thread Oscar Salvador
On Thu, Aug 09, 2018 at 12:58:21PM -0400, Jerome Glisse wrote: > > I would really prefer to be explicit about these requirements rather > > than having subtle side effects quite deep in the memory hotplug code > > and checks for zone device sprinkled at places for special handling. > > I agree, i

[PATCH] checkpatch: DT bindings should be a separate patch

2018-08-09 Thread Rob Herring
Devicetree bindings should be their own patch as documented in Documentation/devicetree/bindings/submitting-patches.txt section I.1. This is because bindings are logically independent from a driver implementation, they have a different maintainer (even though they often are applied via the same tre

Re: [RESEND PATCH v1 1/2] cpuidle: menu: Correct the criteria for stopping tick

2018-08-09 Thread Rafael J. Wysocki
On Thu, Aug 9, 2018 at 7:20 PM, Leo Yan wrote: > The criteria for keeping tick running is the prediction duration is less > than TICK_USEC, Yes, because if the predicted idle duration is less than the tick period, stopping the tick is pointless overhead (if the governor predicts a CPU wakeup with

[PATCH v2 0/2] RISC-V: Don't use a global include guard for uapi/asm/syscalls.

2018-08-09 Thread Palmer Dabbelt
It turns out that we weren't actually hooking sys_riscv_flush_icache into the syscall table, which results in any flush_icache() call that escapes the vDSO to silently do nothing. Changes since v1: * sys_riscv_flush_icache is now defined even when SMP=n, which allows this patch set to build aga

[PATCH v2 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-09 Thread Palmer Dabbelt
This would be necessary to make non-SMP builds work, but there is another error in the implementation of our syscall linkage that actually just causes sys_riscv_flush_icache to never build. I've build tested this on allnoconfig and allnoconfig+SMP=y, as well as defconfig like normal. CC: Christop

[PATCH v2 2/2] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h

2018-08-09 Thread Palmer Dabbelt
This file is expected to be included multiple times in the same file in order to allow the __SYSCALL macro to generate system call tables. With a global include guard we end up missing __NR_riscv_flush_icache in the syscall table, which results in icache flushes that escape the vDSO call to not ac

Re: [PATCH v1 07/10] thermal: tsens: Check if the IP is correctly enabled by firmware

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:39PM +0530, Amit Kucheria wrote: > The SROT registers are initialised by the secure firmware at boot. We > don't have write access to the registers. Check if the block is enabled > before continuing. > > Signed-off-by: Amit Kucheria > --- > drivers/thermal/qcom/tsen

[PATCH v7 05/10] x86: alternatives: macrofy locks for better inlining

2018-08-09 Thread Nadav Amit
GCC considers the number of statements in inlined assembly blocks, according to new-lines and semicolons, as an indication to the cost of the block in time and space. This data is distorted by the kernel code, which puts information in alternative sections. As a result, the compiler may perform inc

[PATCH v7 04/10] x86: refcount: prevent gcc distortions

2018-08-09 Thread Nadav Amit
GCC considers the number of statements in inlined assembly blocks, according to new-lines and semicolons, as an indication to the cost of the block in time and space. This data is distorted by the kernel code, which puts information in alternative sections. As a result, the compiler may perform inc

Re: [PATCH v8 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-09 Thread Tony Krowiak
On 08/09/2018 04:17 AM, David Hildenbrand wrote: On 08.08.2018 16:44, Tony Krowiak wrote: From: Tony Krowiak Introduces a new CPU model feature and two CPU model facilities to support AP virtualization for KVM guests. CPU model feature: The KVM_S390_VM_CPU_FEAT_AP feature indicates that AP i

Re: [PATCH v7 01/10] xtensa: defining LINKER_SCRIPT for the linker script

2018-08-09 Thread Max Filippov
On Thu, Aug 9, 2018 at 1:15 PM, Nadav Amit wrote: > Defining the LINKER_SCRIPT when building the linker script as being done > in other architectures. This is required for the next Makefile changes > would otherwise break things. > > Cc: Chris Zankel > Cc: Max Filippov > Cc: linux-xte...@linux-x

Re: [PATCH v4 0/3] PCI: NVMe reset quirks

2018-08-09 Thread Bjorn Helgaas
On Thu, Aug 09, 2018 at 02:04:03PM -0600, Alex Williamson wrote: > v4: Fix 0-day i386 build error for readq, simply use readl > instead, the bits we're interested in are 24:31 and the NVMe > spec indicates that smaller, aligned accesses are allowed. > Update bz links for both device spe

[PATCH v2] selftests: membarrier: fix test by checking supported commands

2018-08-09 Thread Rafael David Tinoco
Makes membarrier_test compatible with older kernels (LTS) by checking if the membarrier features exist before running the tests. Link: https://bugs.linaro.org/show_bug.cgi?id=3771 Signed-off-by: Rafael David Tinoco Cc: #v4.17 --- .../selftests/membarrier/membarrier_test.c| 71 +++---

[PATCH v7 01/10] xtensa: defining LINKER_SCRIPT for the linker script

2018-08-09 Thread Nadav Amit
Defining the LINKER_SCRIPT when building the linker script as being done in other architectures. This is required for the next Makefile changes would otherwise break things. Cc: Chris Zankel Cc: Max Filippov Cc: linux-xte...@linux-xtensa.org Signed-off-by: Nadav Amit --- arch/xtensa/kernel/Mak

[PATCH v7 06/10] x86: bug: prevent gcc distortions

2018-08-09 Thread Nadav Amit
GCC considers the number of statements in inlined assembly blocks, according to new-lines and semicolons, as an indication to the cost of the block in time and space. This data is distorted by the kernel code, which puts information in alternative sections. As a result, the compiler may perform inc

Re: [PATCH v2 5/7] mhi_bus: core: add support to get external modem time

2018-08-09 Thread Randy Dunlap
On 07/09/2018 01:08 PM, Sujeev Dias wrote: > For accurate synchronizations between external modem and > host processor, mhi host will capture modem time relative > to host time. Client may use time measurements for adjusting > any drift between host and modem. > > Signed-off-by: Sujeev Dias > Rev

[PATCH v7 08/10] x86: extable: use macros instead of inline assembly

2018-08-09 Thread Nadav Amit
Use assembly macros for exception-tables and call them from inline assembly. This not only makes the code more readable and allows to avoid the duplicate implementation, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assemb

[PATCH v7 09/10] x86: cpufeature: use macros instead of inline assembly

2018-08-09 Thread Nadav Amit
Use assembly macros for static_cpu_has() and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. The patch slightly increases the kernel size

[PATCH v7 03/10] x86: objtool: use asm macro for better compiler decisions

2018-08-09 Thread Nadav Amit
GCC considers the number of statements in inlined assembly blocks, according to new-lines and semicolons, as an indication to the cost of the block in time and space. This data is distorted by the kernel code, which puts information in alternative sections. As a result, the compiler may perform inc

[PATCH v7 10/10] x86: jump-labels: use macros instead of inline assembly

2018-08-09 Thread Nadav Amit
Use assembly macros for jump-labels and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. As a result the code size is slightly increased.

[PATCH v7 02/10] Makefile: Prepare for using macros for inline asm

2018-08-09 Thread Nadav Amit
Using macros for inline assembly improves both readability and compilation decisions that are distorted by big assembly blocks that use alternative sections. Compile macros.S and use it to assemble all C files. Currently, only x86 will use it. Cc: Sam Ravnborg Cc: Masahiro Yamada Cc: Michal Mare

Re: [PATCH 0/3] introduce memory.oom.group

2018-08-09 Thread David Rientjes
On Wed, 8 Aug 2018, Michal Hocko wrote: > > > > In a cgroup-aware oom killer world, yes, we need the ability to specify > > > > that the usage of the entire subtree should be compared as a single > > > > entity with other cgroups. That is necessary for user subtrees but may > > > > not be nece

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-09 Thread Heiko Stuebner
Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > As the rk3399 ATF had been supported on ARM github [0], so we can add > idle-states for rk3399. > This patch adds idle-states bindings data collected through tests > experiments (latency and energy consumption) on rk3399 evb2 board. >

[PATCH] uprobes: Use synchronize_rcu() not synchronize_sched()

2018-08-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" While debugging another bug, I was looking at all the synchronize*() functions being used in kernel/trace, and noticed that trace_uprobes was using synchronize_sched(), with a comment to synchronize with {u,ret}_probe_trace_func(). When looking at those functions

[PATCH v4 2/3] PCI: Samsung SM961/PM961 NVMe disable before FLR quirk

2018-08-09 Thread Alex Williamson
The Samsung SM961/PM961 (960 EVO) sometimes fails to return from FLR with the PCI config space reading back as -1. A reproducible instance of this behavior is resolved by clearing the enable bit in the NVMe configuration register and waiting for the ready status to clear (disabling the NVMe contro

[PATCH v4 3/3] PCI: Intel DC P3700 NVMe delay after FLR quirk

2018-08-09 Thread Alex Williamson
Add a device specific reset for Intel DC P3700 NVMe device which exhibits a timeout failure in drivers waiting for the ready status to update after NVMe enable if the driver interacts with the device too quickly after FLR. As this has been observed in device assignment scenarios, resolve this with

[PATCH v4 1/3] PCI: Export pcie_has_flr()

2018-08-09 Thread Alex Williamson
pcie_flr() suggests pcie_has_flr() to ensure that PCIe FLR support is present prior to calling. pcie_flr() is exported while pcie_has_flr() is not. Resolve this. Signed-off-by: Alex Williamson --- drivers/pci/pci.c |3 ++- include/linux/pci.h |1 + 2 files changed, 3 insertions(+), 1

[PATCH v4 0/3] PCI: NVMe reset quirks

2018-08-09 Thread Alex Williamson
v4: Fix 0-day i386 build error for readq, simply use readl instead, the bits we're interested in are 24:31 and the NVMe spec indicates that smaller, aligned accesses are allowed. Update bz links for both device specific resets. v3: Separate quirks, only for the afflicted devices v2: A

Re: [PATCH 3/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_xmit.c

2018-08-09 Thread Joe Perches
On Thu, 2018-08-09 at 22:46 +0300, Dan Carpenter wrote: > On Thu, Aug 09, 2018 at 09:44:54PM +0200, Michael Straube wrote: > > Is the memory pointed to by sk_buff->data (always) __aligned(2) ? > Yes. Yup. It's actually set by ARCH_KMALLOC_MINALIGN, which is normally 8.

Re: [PATCH v8 07/22] KVM: s390: refactor crypto initialization

2018-08-09 Thread Tony Krowiak
On 08/09/2018 04:25 AM, David Hildenbrand wrote: On 08.08.2018 16:44, Tony Krowiak wrote: From: Tony Krowiak This patch refactors the code that initializes and sets up the crypto configuration for a guest. The following changes are implemented via this patch: 1. Prior to the introduction of A

Re: [PATCH v3 2/7] firmware: coreboot: Unmap ioregion on failure

2018-08-09 Thread Brian Norris
Hi, On Thu, Aug 09, 2018 at 12:40:31PM -0700, Stephen Boyd wrote: > Quoting Brian Norris (2018-08-09 10:49:38) > > On Thu, Aug 09, 2018 at 10:17:17AM -0700, Stephen Boyd wrote: > > > Both callers of coreboot_table_init() ioremap the pointer that comes in > > > but they don't unmap the memory on fa

Re: [PATCH 3/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_xmit.c

2018-08-09 Thread Dan Carpenter
On Thu, Aug 09, 2018 at 09:44:54PM +0200, Michael Straube wrote: > Is the memory pointed to by sk_buff->data (always) __aligned(2) ? Yes. regards, dan carpenter

Re: [PATCH v1 06/10] thermal: tsens: Add the SROT address map

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:38PM +0530, Amit Kucheria wrote: > On platforms whose device trees specify two address spaces for TSENS, the > second one points to the SROT registers. Initialise the SROT map on those > platforms. > > Signed-off-by: Amit Kucheria > --- > drivers/thermal/qcom/tsens-

Re: [PATCH 3/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_xmit.c

2018-08-09 Thread Michael Straube
On 8/9/18 8:03 PM, Michael Straube wrote: On 8/9/18 7:51 PM, Joe Perches wrote: On Thu, 2018-08-09 at 19:42 +0200, Michael Straube wrote: On 8/9/18 7:13 PM, Joe Perches wrote: On Thu, 2018-08-09 at 19:01 +0200, Michael Straube wrote: Use is_multicast_ether_addr instead of custom IS_MCAST in c

Re: [PATCH] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-09 Thread Alex G.
On 08/09/2018 02:18 PM, Bjorn Helgaas wrote: On Thu, Aug 09, 2018 at 02:00:23PM -0500, Alex G. wrote: On 08/09/2018 01:29 PM, Bjorn Helgaas wrote: On Thu, Aug 09, 2018 at 04:46:32PM +, alex_gagn...@dellteam.com wrote: On 08/09/2018 09:16 AM, Bjorn Helgaas wrote: (snip_ enable_ecr

Re: [PATCH v3 2/7] firmware: coreboot: Unmap ioregion on failure

2018-08-09 Thread Stephen Boyd
Quoting Brian Norris (2018-08-09 10:49:38) > On Thu, Aug 09, 2018 at 10:17:17AM -0700, Stephen Boyd wrote: > > Both callers of coreboot_table_init() ioremap the pointer that comes in > > but they don't unmap the memory on failure. Both of them also fail probe > > immediately with the return value o

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-09 Thread Doug Anderson
Hi, On Thu, Aug 9, 2018 at 11:24 AM, Trent Piepho wrote: > On Thu, 2018-08-09 at 11:03 -0700, Doug Anderson wrote: >> On Fri, Aug 3, 2018 at 5:18 AM, wrote: >> > > > + if (of_property_read_u32(pdev->dev.of_node, >> > > > "spi-max-frequency", >> > > > + &spi-

Re: [PATCH v3 3/3] PCI: Intel DC P3700 NVMe delay after FLR quirk

2018-08-09 Thread Bjorn Helgaas
On Tue, Jul 24, 2018 at 10:18:48AM -0600, Alex Williamson wrote: > On Tue, 24 Jul 2018 10:14:46 -0600 > Alex Williamson wrote: > > > Add a device specific reset for Intel DC P3700 NVMe device which > > exhibits a timeout failure in drivers waiting for the ready status to > > update after NVMe ena

Re: [PATCH v2 2/2] firmware: coreboot: Collapse platform drivers into bus core

2018-08-09 Thread kbuild test robot
Hi Stephen, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc8 next-20180808] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commit

Re: [PATCH v1 05/10] thermal: tsens: Rename map field in order to add a second address map

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:37PM +0530, Amit Kucheria wrote: > The TSENS driver currently only uses a limited set of registers from the TM > address space. So it was ok to map just that set of registers and call it > "map". > > We'd now like to map a second set: SROT registers to introduce new >

Re: [PATCH v1 04/10] thermal: tsens: Get rid of dead code

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:36PM +0530, Amit Kucheria wrote: > hw_id is dynamically allocated but not used anywhere. Get rid of dead > code. > > Signed-off-by: Amit Kucheria > --- > drivers/thermal/qcom/tsens.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/drivers/thermal/qcom/

Re: [PATCH v1 03/10] thermal: tsens: Add SPDX license identifiers

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:35PM +0530, Amit Kucheria wrote: > The TSENS drivers use a GPL-2.0 license. Replace with equivalent SPDX > tags and delete the full license text. > > Signed-off-by: Amit Kucheria > --- > drivers/thermal/qcom/tsens-8916.c | 11 +-- > drivers/thermal/qcom/ts

Re: [PATCH] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-09 Thread Bjorn Helgaas
On Thu, Aug 09, 2018 at 02:00:23PM -0500, Alex G. wrote: > On 08/09/2018 01:29 PM, Bjorn Helgaas wrote: > > On Thu, Aug 09, 2018 at 04:46:32PM +, alex_gagn...@dellteam.com wrote: > > > On 08/09/2018 09:16 AM, Bjorn Helgaas wrote: > (snip_ > > > > enable_ecrc_checking() > > > > disable_e

Re: [PATCH v1 02/10] dt-bindings: thermal: Fix a typo in documentation

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:34PM +0530, Amit Kucheria wrote: > c(1) + x(1) was actually meant to be c(1) * x(1). > > While we're at it, add some brackets to make it nicer to read. > > Signed-off-by: Amit Kucheria > --- > Documentation/devicetree/bindings/thermal/thermal.txt | 2 +- > 1 file c

Re: [PATCH v1 01/10] arm/arm64: dts: msm8974/msm8916: thermal: Split address space into two

2018-08-09 Thread Matthias Kaehlcke
On Thu, Aug 09, 2018 at 06:02:33PM +0530, Amit Kucheria wrote: > We've earlier added support to split the register address space into TM > and SROT regions. > > Split up the regmap address space into two for the remaining platforms that > have a similar register layout and make corresponding chang

Re: [PATCH] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-09 Thread Alex G.
On 08/09/2018 01:29 PM, Bjorn Helgaas wrote: On Thu, Aug 09, 2018 at 04:46:32PM +, alex_gagn...@dellteam.com wrote: On 08/09/2018 09:16 AM, Bjorn Helgaas wrote: (snip_ enable_ecrc_checking() disable_ecrc_checking() I don't immediately see how this would affect FFS, but the bit

[tip:x86/pti] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-09 Thread tip-bot for Joerg Roedel
Commit-ID: a13c600e15de44ccf03df28d3311ef3cb754ed9b Gitweb: https://git.kernel.org/tip/a13c600e15de44ccf03df28d3311ef3cb754ed9b Author: Joerg Roedel AuthorDate: Wed, 8 Aug 2018 13:16:40 +0200 Committer: Thomas Gleixner CommitDate: Thu, 9 Aug 2018 20:42:07 +0200 x86/mm/pti: Move user W+

[PATCH 1/2] PCI/ACPI: correct error message for ASPM disabling

2018-08-09 Thread Sinan Kaya
If _OSC execution fails today for platforms without an _OSC entry, code is printing a misleading message saying disabling ASPM as follows: acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM We need to ensure that platform supports ASPM to begin with. Signed-off-by: Sinan Kaya Reported-

[PATCH 2/2] PCI/ACPI: allow _OSC presence to be optional for PCI

2018-08-09 Thread Sinan Kaya
ACPI Spec 6.0 Section 6.2.11.3 OSC Implementation Example for PCI Host Bridge Devices: For a host bridge device that originates a PCI Express hierarchy, the _OSC interface defined in this section is required. For a host bridge device that originates a PCI/PCI-X bus hierarchy, inclusion of an _OSC

RE: [PATCH 2/2] x86/MCE/AMD: Skip creating kobjects with NULL names

2018-08-09 Thread Ghannam, Yazen
> -Original Message- > From: linux-edac-ow...@vger.kernel.org > On Behalf Of Borislav Petkov > Sent: Thursday, August 9, 2018 11:18 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; > tony.l...@intel.com; x...@kernel.org > Subject: Re: [PATCH 2/2] x86

[tip:x86/pti] x86/relocs: Add __end_rodata_aligned to S_REL

2018-08-09 Thread tip-bot for Joerg Roedel
Commit-ID: a29dba161ad1a01bbfbc80aa184b089ddd169a4e Gitweb: https://git.kernel.org/tip/a29dba161ad1a01bbfbc80aa184b089ddd169a4e Author: Joerg Roedel AuthorDate: Thu, 9 Aug 2018 11:44:49 +0200 Committer: Thomas Gleixner CommitDate: Thu, 9 Aug 2018 20:42:07 +0200 x86/relocs: Add __end_ro

Re: [PATCH v2 1/7] mhi_bus: core: initial checkin for modem host interface bus driver

2018-08-09 Thread Randy Dunlap
On 07/09/2018 01:08 PM, Sujeev Dias wrote: > This is the initial skeleton driver for mhi bus stack. MHI Host > Interface is a communication protocol to be used by the host to > control and communcate with modem over a high speed peripheral bus. communicate > This module will allow h

Re: [PATCH] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-09 Thread Bjorn Helgaas
On Thu, Aug 09, 2018 at 04:46:32PM +, alex_gagn...@dellteam.com wrote: > On 08/09/2018 09:16 AM, Bjorn Helgaas wrote: > > On Tue, Jul 17, 2018 at 10:31:23AM -0500, Alexandru Gagniuc wrote: > >> When we don't own AER, we shouldn't touch the AER error bits. This > >> happens unconditionally on de

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-09 Thread Trent Piepho
On Thu, 2018-08-09 at 11:03 -0700, Doug Anderson wrote: > On Fri, Aug 3, 2018 at 5:18 AM, wrote: > > > > + if (of_property_read_u32(pdev->dev.of_node, "spi-max-frequency", > > > > + &spi->max_speed_hz)) { > > > > > > > Why does this need to come from DT? > >

Re: [PATCH v3 5/7] firmware: coreboot: Remap RAM with memremap() instead of ioremap()

2018-08-09 Thread Julius Werner
One thing to note is that we still want this space to be mappable by userspace applications via /dev/mem, so we need to make sure that there's no weird memory type mismatch that causes problems with that. Adding Aaron to see if he has any concerns here, since I think he's seen something like that i

RE: [PATCH 1/2] x86/MCE/AMD: Check for NULL banks in THR interrupt handler

2018-08-09 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov > Sent: Thursday, August 9, 2018 11:16 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; > tony.l...@intel.com; x...@kernel.org > Subject: Re: [PATCH 1/2] x86/MCE/AMD: Check for NULL banks in THR > interrup

Re: [PATCH v3 3/7] firmware: coreboot: Make bus registration symmetric

2018-08-09 Thread Julius Werner
> @@ -138,8 +136,10 @@ int coreboot_table_init(struct device *dev, void __iomem > *ptr) > ptr_entry += entry.size; > } > > - if (ret) > + if (ret) { > + bus_unregister(&coreboot_bus_type); > iounmap(ptr); > + } nit: maybe cle

<    1   2   3   4   5   6   7   >