Hello Dear.

2018-08-31 Thread michel
With Due Respect, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of

Re: [GIT PULL] Char/Misc driver patches for 4.19-rc1

2018-08-31 Thread Greg KH
On Fri, Aug 31, 2018 at 01:19:36PM +0200, Pavel Machek wrote: > Hi! > > > - gnss, finally an in-kernel GPS subsystem to try to tame all of > > the crazy out-of-tree drivers that have been floating around > > for years, combined with some really hacky userspace > >

Give retouching

2018-08-31 Thread Jimmy Wilson
Hi, Have you received my email from last week? I would like to speak with the person who manage your photos for your company? We are here to provide you all kinds of imaging editing. What we can provide you: Cutting out for photos Clipping path for photos Masking for photos Retouching for

[PATCH rdma-next] RDMA/qedr: remove set but not used variable 'ctx'

2018-08-31 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/infiniband/hw/qedr/verbs.c: In function 'qedr_create_srq': drivers/infiniband/hw/qedr/verbs.c:1450:24: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/infiniband/hw/qedr/verbs.c |

[PATCH] x86/fault: Decode page fault OOPSes better

2018-08-31 Thread Andy Lutomirski
One of Linus' favorite hobbies seems to be looking at OOPSes and decoding the error code in his head. This is not one of my favorite hobbies :) Teach the page fault OOPS hander to decode the error code. If it's a !USER fault from user mode, print an explicit note to that effect and print out

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-31 Thread Andy Lutomirski
(Hi, Florian!) On Fri, Aug 31, 2018 at 6:59 PM, Matt Rickard wrote: > Process clock_gettime(CLOCK_TAI) in vDSO. > This makes the call about as fast as CLOCK_REALTIME and CLOCK_MONOTONIC: > > nanoseconds > before after clockname > - - > 23387 CLOCK_TAI > 96

Re: [PATCH v5 1/2] clk: Add of_clk_get_by_name_optional() function

2018-08-31 Thread Stephen Boyd
Quoting Phil Edworthy (2018-08-31 07:07:22) > diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c > index 9ab3db8..4adb99e 100644 > --- a/drivers/clk/clkdev.c > +++ b/drivers/clk/clkdev.c > @@ -54,30 +54,29 @@ EXPORT_SYMBOL(of_clk_get); > > static struct clk *__of_clk_get_by_name(struct

Re: [PATCH] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-08-31 Thread Nishanth Menon
On 15:56-20180828, Kishon Vijay Abraham I wrote: [...] > cbass_mcu: interconnect@2838 { > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > - ranges = <0x2838

Re: [PATCH 2/3] of/fdt: avoid re-parsing '#{address,size}-cells' in of_fdt_limit_memory

2018-08-31 Thread kbuild test robot
Hi Rob, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on v4.19-rc1 next-20180831] [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

Re: REGRESSION: boot stalls on several old dual core Intel CPUs

2018-08-31 Thread Kevin Shanahan
On Thu, Aug 30, 2018 at 03:04:39PM +0200, Peter Zijlstra wrote: > On Thu, Aug 30, 2018 at 12:55:30PM +0200, Siegfried Metz wrote: > > Dear kernel developers, > > > > since mainline kernel 4.18 (up to the latest mainline kernel 4.18.5) > > Intel Core 2 Duo processors are affected by boot stalling

[GIT PULL] clk fixes for v4.19-rc1

2018-08-31 Thread sboyd
From: Stephen Boyd The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch

[PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-31 Thread Matt Rickard
Process clock_gettime(CLOCK_TAI) in vDSO. This makes the call about as fast as CLOCK_REALTIME and CLOCK_MONOTONIC: nanoseconds before after clockname - - 23387 CLOCK_TAI 9693 CLOCK_REALTIME 8887 CLOCK_MONOTONIC Signed-off-by: Matt Rickard ---

Re: [PATCH] mm: slowly shrink slabs with a relatively small number of objects

2018-08-31 Thread Rik van Riel
On Fri, 2018-08-31 at 14:31 -0700, Roman Gushchin wrote: > On Fri, Aug 31, 2018 at 05:15:39PM -0400, Rik van Riel wrote: > > On Fri, 2018-08-31 at 13:34 -0700, Roman Gushchin wrote: > > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > > index fa2c150ab7b9..c910cf6bf606 100644 > > > ---

Re: [PATCH 1/3] ARM: dts: qcom: Add SPMI PMIC Arbiter nodes for APQ8084 and MSM8974

2018-08-31 Thread Frank Rowand
On 08/31/18 16:01, Bjorn Andersson wrote: > On Fri 31 Aug 15:46 PDT 2018, Frank Rowand wrote: >>> + spmi_bus: spmi@fc4cf000 { >>> + compatible = "qcom,spmi-pmic-arb"; >>> + reg-names = "core", "intr", "cnfg"; >>> + reg = <0xfc4cf000

Re: [PATCH 0/4] of: Convert to using %pOFn for node name printf

2018-08-31 Thread Frank Rowand
On 08/28/18 08:52, Rob Herring wrote: > This is the DT portion of converting node name printf's to use the > %pOFn format specifier rather than device_node.name. Patches for other > subsystems are independent and have been sent separately. > > Rob > > Rob Herring (4): > of/unittest: remove

[PATCH 0/3] regmap: split regmap_config.use_single_rw

2018-08-31 Thread David Frey
This patch series splits regmap_config.use_single_rw into use_single_read and use_single_write. Motivation: When multiple sequential registers need to be read or written, the author can either choose to call regmap_bulk_read/write() once or call regmap_read/write() repeatedly. The _bulk option

[PATCH 1/3] regmap: fix comment for regmap.use_single_write

2018-08-31 Thread David Frey
Signed-off-by: David Frey --- drivers/base/regmap/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index a6bf34d6394e..16414ccace96 100644 --- a/drivers/base/regmap/internal.h +++

[PATCH 2/3] regmap: split up regmap_config.use_single_rw

2018-08-31 Thread David Frey
Split regmap_config.use_single_rw into use_single_read and use_single_write. This change enables drivers of devices which only support bulk operations in one direction to use the regmap_bulk_*() functions for both directions and have their bulk operation split into single operations only when

[PATCH 3/3] regmap: update users of regmap_config.use_single_rw

2018-08-31 Thread David Frey
Update all struct regmap_config instances where the use_single_rw member was set to instead set both use_single_read and use_single_write. No attempt was made to evaluate whether it is possible to set only one of use_single_read or use_single_write. Signed-off-by: David Frey ---

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-08-31 Thread Nick Desaulniers
Overall, pretty happy with this patch. Still some thoughts for a v3, thanks for sending it! On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda wrote: > > Instead of using version checks per-compiler to define (or not) > each attribute, use __has_attribute to test for them, following > the cleanup

[PATCH 07/20] staging:rtl8192u: Refactor RT_TRACE - Style

2018-08-31 Thread John Whitmore
Refactor the MACRO RT_TRACE to add parentheses around the parameter 'component', this clears the checkpatch warning with respect to precedence issues. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore ---

[PATCH 05/20] staging:rtl8192u: Rename RTL819xU_MODULE_NAME - Style

2018-08-31 Thread John Whitmore
Rename the MACRO RTL819xU_MODULE_NAME to RTL819XU_MODULE_NAME, this clears the checkpatch issue with CamelCase naming. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 03/20] staging:rtl8192u: Remove unused functions - Style

2018-08-31 Thread John Whitmore
Remove unused function declarations. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 10 -- drivers/staging/rtl8192u/r8192U_core.c | 7 --- 2 files changed, 17

[PATCH 09/20] staging:rtl8192u: Remove RT_DEBUG_DATA - Style

2018-08-31 Thread John Whitmore
Remove the RT_DEBUG_DATA Macro. The macro causes a number of checkpatch issues, and is not actually used in code, so can simply be removed without issue. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore ---

[PATCH 19/20] staging:rtl8192u: Rename LINIP - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'LINIP' to 'linip', this change is to conform to the coding style guidelines, member variables in lowercase. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h |

[PATCH 14/20] staging:rtl8192u: Rename Offset - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'Offset' to 'offset', this clears the checkpatch issue with CamelCase naming. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 20/20] staging:rtl8192u: Rename OWN - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'OWN' to 'own', this is to comply with the coding standard, where variables are named in lowercase. This is a simple coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2

[PATCH 02/20] staging:rtl8192u: Remove read_cam() - Style

2018-08-31 Thread John Whitmore
Remove the function read_cam(), as it is unused in code. Simple style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 -- drivers/staging/rtl8192u/r8192U_core.c | 9 - 2 files changed, 11 deletions(-)

[PATCH 01/20] staging:rtl8192u: Remove write_cam() - Style

2018-08-31 Thread John Whitmore
Remove the function write_cam() as it is unused. Simple style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 1 - drivers/staging/rtl8192u/r8192U_core.c | 7 --- 2 files changed, 8 deletions(-) diff --git

[PATCH 12/20] staging:rtl8192u: Rename CCK_Table_length - Style

2018-08-31 Thread John Whitmore
Rename the constant CCK_Table_length to CCK_TABLE_LENGTH, this clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h| 2 +-

[PATCH 16/20] staging:rtl8192u: Rename CmdInit - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'CmdInit, to 'cmd_init', this change clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 04/20] staging:rtl8192u: Add SPDX-License-Identifier - Style

2018-08-31 Thread John Whitmore
Add SPDX-License-Identifier tag to the start of header file. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 06/20] staging:rtl8192u: Rename Rx_Smooth_Factor - Style

2018-08-31 Thread John Whitmore
Rename the MACRO Rx_Smooth_Factor to RX_SMOOTH_FACTOR, this clears the checkpatch issue with CamelCase naming. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 11/20] staging:rtl8192u: Rename OFDM_Table_Length - Style

2018-08-31 Thread John Whitmore
Rename the defined constant OFDM_Table_Length to OFDM_TABLE_LENGTH, this clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h| 2 +-

[PATCH 00/20] staging:rtl8192u: r8192U.h cleanup - Style

2018-08-31 Thread John Whitmore
Yet another series of patchs to cleanup and clear some checkpatch isses, this time the file r8192U.h. These are all simple changes which are mostly renaming variables. A MACRO has been removed as it's not used in the code, and added SPDX-License-Identifier. John Whitmore (20): staging:rtl8192u:

[PATCH 08/20] staging:rtl8192u: Fix space characters - Style

2018-08-31 Thread John Whitmore
Fix the spacing issues, remove space after cast operation, and replace spaces at start of line with tab. These changes are purely coding style changes to resolve checkpatch issues. There should be no impact on runtime code execution. Signed-off-by: John Whitmore ---

[PATCH 10/20] staging:rtl8192u: Rename PHY_Beacon_RSSI_SLID_WIN_MAX - Style

2018-08-31 Thread John Whitmore
Rename the Macro PHY_Beacon_RSSI_SLID_WIN_MAX to PHY_BEACON_RSSI_SLID_WIN_MAX, this clears the checkpatch issue with CamelCase naming. This is purely a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h |

[PATCH 13/20] staging:rtl8192u: Rename PktSize Style

2018-08-31 Thread John Whitmore
Rename the member variable 'PktSize' to 'pkt_size', this change clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 17/20] staging:rtl8192u: Rename LastSeg - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'LastSeg' to 'last_seg', this change clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 18/20] staging:rtl8192u: Rename FirstSeg - Style

2018-08-31 Thread John Whitmore
Rename the member variable 'FirstSeg' to 'first_seg', this change clears the checkpatch issue with CamelCase naming. This is a simple coding style change and as such should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 2 +-

[PATCH 15/20] staging:rtl8192u: Rename Reserved... structure members - Style

2018-08-31 Thread John Whitmore
Rename the 'Reserved...' members of the 'tx_desc_819x_usb' structure to 'reserved...'. This change clears the checkpatch issue with CamelCase naming. This is a simple coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore ---

Re: [PATCH 1/3] ARM: dts: qcom: Add SPMI PMIC Arbiter nodes for APQ8084 and MSM8974

2018-08-31 Thread Bjorn Andersson
On Fri 31 Aug 15:46 PDT 2018, Frank Rowand wrote: > > + spmi_bus: spmi@fc4cf000 { > > + compatible = "qcom,spmi-pmic-arb"; > > + reg-names = "core", "intr", "cnfg"; > > + reg = <0xfc4cf000 0x1000>, > > +

Re: VirtIO console hangs

2018-08-31 Thread Nicholas Piggin
On Fri, 31 Aug 2018 15:17:44 + Matteo Croce wrote: > On Fri, Aug 31, 2018 at 3:49 AM Nicholas Piggin wrote: > > > > On Tue, 28 Aug 2018 15:00:14 + > > Matteo Croce wrote: > > > > > On Tue, Aug 28, 2018 at 2:35 PM Nicholas Piggin > > > wrote: > > > > > > > > On Tue, 28 Aug 2018

Re: Make perf script easier to use for itrace

2018-08-31 Thread Kim Phillips
On Fri, 31 Aug 2018 15:01:56 -0700 Andi Kleen wrote: > Also available in > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git > pt/easy-script-2 > > v1: Initial post > v2: Address review comments. Minor fixes to descriptions. Now builds > everywhere. OK, I grabbed the

[PATCH v2] PCI: qcom: Fix error handling in pm_runtime support

2018-08-31 Thread Bjorn Andersson
The driver does not cope with the fact that probe can fail in a number of cases after enabling pm_runtime on the device, this results in warnings about "Unbalanced pm_runtime_enable". Further more if probe fails after invoking host_init the power-domain will be left referenced. As it's not

Re: VirtIO console hangs

2018-08-31 Thread Nicholas Piggin
On Fri, 31 Aug 2018 15:17:44 + Matteo Croce wrote: > On Fri, Aug 31, 2018 at 3:49 AM Nicholas Piggin wrote: > > > > On Tue, 28 Aug 2018 15:00:14 + > > Matteo Croce wrote: > > > > > On Tue, Aug 28, 2018 at 2:35 PM Nicholas Piggin > > > wrote: > > > > > > > > On Tue, 28 Aug 2018

Re: [PATCH 1/3] ARM: dts: qcom: Add SPMI PMIC Arbiter nodes for APQ8084 and MSM8974

2018-08-31 Thread Frank Rowand
Hi All, The email for Ivan is no longer valid. Can anyone else help me with my question? Thanks, Frank On 08/31/18 15:46, Frank Rowand wrote: > Hi Ivan, > > > On 02/03/15 04:17, Ivan T. Ivanov wrote: >> Add SPMI PMIC Arbiter configuration nodes for APQ8084 and MSM8974. >> >> Signed-off-by:

Re: [PATCH 1/3] ARM: dts: qcom: Add SPMI PMIC Arbiter nodes for APQ8084 and MSM8974

2018-08-31 Thread Frank Rowand
Hi Ivan, On 02/03/15 04:17, Ivan T. Ivanov wrote: > Add SPMI PMIC Arbiter configuration nodes for APQ8084 and MSM8974. > > Signed-off-by: Ivan T. Ivanov > --- > arch/arm/boot/dts/qcom-apq8084.dtsi | 16 > arch/arm/boot/dts/qcom-msm8974.dtsi | 16 > 2 files

[PATCH] sched/fair: fix vruntime_normalized for remote non-migration wakeup

2018-08-31 Thread Steve Muckle
When a task which previously ran on a given CPU is remotely queued to wake up on that same CPU, there is a period where the task's state is TASK_WAKING and its vruntime is not normalized. This is not accounted for in vruntime_normalized() which will cause an error in the task's vruntime if it is

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
On Sat, Sep 1, 2018 at 12:10 AM, Miguel Ojeda wrote: > arch/parisc/boot/compressed/misc.c:#define malloc malloc_gzip > include/linux/decompress/mm.h:#define malloc(a) kmalloc(a, GFP_KERNEL) > lib/inflate.c:#define malloc(a) kmalloc(a, GFP_KERNEL) > include/linux/compiler_types.h:#define

Re: [PATCH 6/7] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests

2018-08-31 Thread Luc Van Oostenryck
On Fri, Aug 31, 2018 at 11:55:51PM +0200, Miguel Ojeda wrote: > Hi Nick, > > On Fri, Aug 31, 2018 at 11:38 PM, Nick Desaulniers > wrote: > > On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda > > wrote: > >> > >> Sparse knows about a few more attributes now, so we can remove > >> the __CHECKER__

Re: WARNING in apparmor_secid_to_secctx

2018-08-31 Thread Dmitry Vyukov
On Fri, Aug 31, 2018 at 9:17 AM, Stephen Smalley wrote: > On 08/31/2018 12:16 PM, Stephen Smalley wrote: >> >> On 08/31/2018 12:07 PM, Paul Moore wrote: >>> >>> On Fri, Aug 31, 2018 at 12:01 PM Stephen Smalley >>> wrote: On 08/29/2018 10:21 PM, Dmitry Vyukov wrote: > > On Wed,

[PATCH] kbuild: modules_install: Warn if System.map file is not found

2018-08-31 Thread Randy Dunlap
From: Randy Dunlap If there is no System.map file for "make modules_install", scripts/depmod.sh will silently exit with success, having done nothing. Since this is an unexpected situation, change it to report a Warning for the missing file. The behavior is not changed except for the Warning

Re: [PATCH] docs: fix typo in table describing 4.16 development cycle

2018-08-31 Thread Jonathan Corbet
On Sat, 18 Aug 2018 02:33:30 +0900 Akinobu Mita wrote: > Fix s/4.17/4.16/ typo. > > Fixes: 8962e40c1993 ("docs: update kernel versions and dates in tables") > Cc: Tim Bird > Cc: Jonathan Corbet > Signed-off-by: Akinobu Mita > --- > Documentation/process/2.Process.rst | 2 +- > 1 file

Re: [PATCH 01/21] staging:rtl8192u: Rename AdvCoding - Style

2018-08-31 Thread John Whitmore
On Thu, Aug 30, 2018 at 03:34:01PM -0700, Joe Perches wrote: > On Wed, 2018-08-29 at 22:55 +0100, John Whitmore wrote: > > On Wed, Aug 29, 2018 at 04:21:54PM -0500, Larry Finger wrote: > > > On 08/29/2018 04:14 PM, Joe Perches wrote: > [] > > > > Perhaps support for the chipset could be converted

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-08-31 Thread Steve Muckle
On 08/29/2018 08:33 AM, Dietmar Eggemann wrote: Yes, this solves the issue for the case I described. Using 'p->sched_remote_wakeup' (WF_MIGRATED) looks more elegant than using 'p->sched_class == _sched_class'. It's confirmed that this patch solves the original issue we saw (and my test case

[PATCH 0/3] x86/pti: Get rid of entry trampolines and add some docs

2018-08-31 Thread Andy Lutomirski
This gets rid of entry trampolines. It's more or less the same as the RFC version, except that I rebased it to v4.19-rc1 due to massive conflicts with some perf changes. I have *not* reverted all of the perf support for entry trampolines -- I leave that to the perf crew, if needed. Andy

[PATCH 3/3] x86/pti/64: Remove the SYSCALL64 entry trampoline

2018-08-31 Thread Andy Lutomirski
The SYSCALL64 trampoline has a couple of nice properties: - The usual sequence of SWAPGS followed by two GS-relative accesses to set up RSP is somewhat slow because the GS-relative accesses need to wait for SWAPGS to finish. The trampoline approach allows RIP-relative accesses to set

[PATCH 1/3] x86/entry/64: Document idtentry

2018-08-31 Thread Andy Lutomirski
The idtentry macro is complicated and magical. Document what it does to help future readers and to allow future patches to adjust the code and docs at the same time. Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_64.S | 35 +++ arch/x86/kernel/traps.c

[PATCH 2/3] x86/entry/64: Use the TSS sp2 slot for rsp_scratch

2018-08-31 Thread Andy Lutomirski
In the non-trampoline SYSCALL64 path, we use a percpu variable to temporarily store the user RSP value. Instead of a separate variable, use the otherwise unused sp2 slot in the TSS. This will improve cache locality, as the sp1 slot is already used in the same code to find the kernel stack. It

[PATCH v6 3/3] staging: mt7621-mmc: Fix debug macro IRQ_MSG and its usages

2018-08-31 Thread Nishad Kamdar
Replace all usages of IRQ_MSG with with dev_ without __func__ or __LINE__ or current->comm and current->pid. Remove the do {} while(0) loop for the single statement macro. Drop IRQ_MSG from dbg.h. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- Changes in v6: - No change Changes in

[PATCH v6 2/3] staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages

2018-08-31 Thread Nishad Kamdar
Replace all usages of ERR_MSG with with dev_ without __func__ or __LINE__ or current->comm and current->pid. Remove the do {} while(0) loop for the single statement macro. Delete commented ERR_MSG() usage. Drop ERR_MSG from dbg.h. Issue found by checkpatch. Signed-off-by: Nishad Kamdar ---

[PATCH v6 1/3] staging: mt7621-mmc: Delete N_MSG() and all its users

2018-08-31 Thread Nishad Kamdar
This patch removes N_MSG() and all its users since it is a no-op. Signed-off-by: Nishad Kamdar --- Changes in v6: - Delete N_MSG() and all its users. Changes in v5: - Remove commented code for N_MSG() --- drivers/staging/mt7621-mmc/dbg.h | 10 -- drivers/staging/mt7621-mmc/sd.c | 242

Re: [PATCH v2 1/2] compiler-clang.h: Add CLANG_VERSION and __diag macros

2018-08-31 Thread Miguel Ojeda
Hi Nick, On Fri, Aug 31, 2018 at 11:50 PM, Nick Desaulniers wrote: > + Miguel and Joe > > This is the old patch I had sent for detecting Clang version. If we > wanted to set a minimal version, this plus the actual version should > do it. Probably could drop the diag stuff, as we changed clang

[PATCH v6 0/3] staging: mt7621-mmc: Fix debug macros and their usages

2018-08-31 Thread Nishad Kamdar
This patchset fixes the three debug macros N_MSG, ERR_MSG, and IRQ_MSG. Each patch fixes one particular macro and its usages. For N_MSG, deletes the macro and its users as it is a no-op. For ERR_MSG and IRQ_MSG, replaces printk with dev_ without __func__ or __LINE__ or current->comm and

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
Hi Ramus, On Fri, Aug 31, 2018 at 11:49 PM, Rasmus Villemoes wrote: > On 2018-08-31 19:05, Miguel Ojeda wrote: >> The attribute syntax optionally allows to surround attribute names >> with "__" in order to avoid collisions with macros of the same name >> (see

[PATCH v2 09/10] tools, perf, script: Add --call-trace and --call-ret-trace

2018-08-31 Thread Andi Kleen
From: Andi Kleen Add short cut options to print PT call trace and call-ret-trace, for calls and call and returns. Roughly corresponds to ftrace function tracer and function graph tracer. Just makes these common use cases nicer to use. % perf record -a -e intel_pt// sleep 1 % perf script

[PATCH v2 04/10] perf, tools, script: Allow sym and dso without ip, addr

2018-08-31 Thread Andi Kleen
From: Andi Kleen Currently sym and dso require printing ip and addr because the print function is tied to those outputs. With callindent it makes sense to print the symbol or dso without numerical IP or ADDR. So change the dependency check to only check the underlying attribute. This allows to

[PATCH v2 02/10] tools, pager: Support overwriting the pager

2018-08-31 Thread Andi Kleen
From: Andi Kleen Add an interface to the auto pager code that allows callers to overwrite the pager. Signed-off-by: Andi Kleen --- tools/lib/subcmd/pager.c | 11 ++- tools/lib/subcmd/pager.h | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH v2 01/10] perf tools: Report itrace options in help

2018-08-31 Thread Andi Kleen
From: Andi Kleen I often forget all the options that --itrace accepts. Instead of burying them in the man page only report them in the normal command line help too to make them easier accessible. v2: Align Signed-off-by: Andi Kleen --- tools/perf/builtin-inject.c | 3 ++-

[PATCH v2 08/10] perf, tools, script: Make itrace script default to all calls

2018-08-31 Thread Andi Kleen
From: Andi Kleen By default perf script for itrace outputs sampled instructions or branches. In my experience this is confusing to users because it's hard to correlate with real program behavior. The sampling makes sense for tools like report that actually sample to reduce the run time, but run

Make perf script easier to use for itrace

2018-08-31 Thread Andi Kleen
Implement a range of improvements to make it easier to look at itrace traces with perf script. Nothing here couldn't be done before with some additional scripting, but add simple high level options to make it easier to use. % perf record -e intel_pt//k -a sleep 1 Show function calls: % perf

[PATCH v2 05/10] tools, perf, script: Set user_set/wildcard_set for +- fields in -F

2018-08-31 Thread Andi Kleen
From: Andi Kleen The branch target output relies on the user_set flag to determine if the branch target should be implicitely printed. When modifying the fields with + or - also set user_set, so that ADDR can be removed. We also need to set wildcard_set to make the initial sanity check pass.

Re: Access to non-RAM pages

2018-08-31 Thread Jiri Kosina
On Wed, 29 Aug 2018, Juergen Gross wrote: > While being very unlikely I still believe this is possible. Any > thoughts? So in theory we should somehow test whether the next page is some form of mmio/gart/... mapping, but I guess that by itself would kill the performance advantage of the whole

[PATCH v2 07/10] perf, tools, script: Print DSO for callindent

2018-08-31 Thread Andi Kleen
From: Andi Kleen Now that we don't need to print the IP/ADDR for callindent the DSO is also not printed. It's useful for some cases, so add an own DSO printout for callindent for the case when IP/ADDR is not enabled. Before: % perf script --itrace=cr -F +callindent,-ip,-sym,-symoff,-addr

[PATCH v2 10/10] tools, perf, script: Implement --graph-function

2018-08-31 Thread Andi Kleen
From: Andi Kleen Add a ftrace style --graph-function argument to perf script that allows to print itrace function calls only below a given function. This makes it easier to find the code of interest in a large trace. % perf record -e intel_pt//k -a sleep 1 % perf script --graph-function

[PATCH v2 06/10] perf, tools, script: Implement - for typed fields

2018-08-31 Thread Andi Kleen
From: Andi Kleen For perf script -F the - removal of fields didn't work for typed fields, only for untyped. Add the REMOVE case for this variant too. v2: Use correct index Signed-off-by: Andi Kleen --- tools/perf/builtin-script.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 03/10] tools, perf, script: Add --insn-trace for instruction decoding

2018-08-31 Thread Andi Kleen
From: Andi Kleen Add a --insn-trace short hand option for decoding and disassembling instruction streams for intel_pt. This automatically pipes the output into the xed disassembler to generate disassembled instructions. This just makes this use model much nicer to use Before % perf record -e

Re: [PATCH 6/7] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests

2018-08-31 Thread Miguel Ojeda
Hi Nick, On Fri, Aug 31, 2018 at 11:38 PM, Nick Desaulniers wrote: > On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda > wrote: >> >> Sparse knows about a few more attributes now, so we can remove >> the __CHECKER__ conditions from them (which, in turn, allow us >> to move some of them later on to

Re: [PATCH v2 1/2] compiler-clang.h: Add CLANG_VERSION and __diag macros

2018-08-31 Thread Nick Desaulniers
+ Miguel and Joe This is the old patch I had sent for detecting Clang version. If we wanted to set a minimal version, this plus the actual version should do it. Probably could drop the diag stuff, as we changed clang to not warn in this case, so my solution using _Pragma is obsolete. On Mon,

RE: Affinity managed interrupts vs non-managed interrupts

2018-08-31 Thread Kashyap Desai
> > > > It is not yet finalized, but it can be based on per sdev outstanding, > > shost_busy etc. > > We want to use special 16 reply queue for IO acceleration (these queues are > > working interrupt coalescing mode. This is a h/w feature) > > TBH, this does not make any sense whatsoever. Why are

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Rasmus Villemoes
On 2018-08-31 19:05, Miguel Ojeda wrote: > The attribute syntax optionally allows to surround attribute names > with "__" in order to avoid collisions with macros of the same name > (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). > > This homogenizes all attributes to use the

Re: [PATCH 6/7] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests

2018-08-31 Thread Nick Desaulniers
On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda wrote: > > Sparse knows about a few more attributes now, so we can remove > the __CHECKER__ conditions from them (which, in turn, allow us > to move some of them later on to compiler_attributes.h). > > * assume_aligned: since sparse's commit ffc860b

Re: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-31 Thread Dr. Greg
On Fri, Aug 31, 2018 at 10:43:30AM -0700, Sean Christopherson wrote: Good afternoon to everyone. > > Sorry I missed this one. To be honest I don't know. I checked the > > SDM and all I can find is: > > > > "On reset, the default value is the digest of Intel's signing key." > I confirmed the

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-31 Thread Frank Rowand
On 08/31/18 13:55, Bjorn Andersson wrote: > On Fri 31 Aug 13:41 PDT 2018, Frank Rowand wrote: > >> On 08/30/18 21:07, Bjorn Andersson wrote: >>> On Thu 30 Aug 20:57 PDT 2018, Frank Rowand wrote: >>> Hi Bjorn, On 04/19/18 18:17, Bjorn Andersson wrote: > Attempt to acquire

Re: [PATCH] mm: slowly shrink slabs with a relatively small number of objects

2018-08-31 Thread Roman Gushchin
On Fri, Aug 31, 2018 at 05:15:39PM -0400, Rik van Riel wrote: > On Fri, 2018-08-31 at 13:34 -0700, Roman Gushchin wrote: > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > index fa2c150ab7b9..c910cf6bf606 100644 > > --- a/mm/vmscan.c > > +++ b/mm/vmscan.c > > @@ -476,6 +476,10 @@ static unsigned

Re: [PATCH] staging: android: ion: check for kref overflow

2018-08-31 Thread Daniel Rosenberg
On 08/31/2018 08:56 AM, Greg Kroah-Hartman wrote: On Thu, Aug 30, 2018 at 06:36:18PM -0700, Daniel Rosenberg wrote: The sign off was on the 4.4.y version that I cherry-picked this from. Ah that wasn't obvious at all. What is that git commit id? You need to give us a hint as to what is

Re: [rfc] leds: add TI LMU backlight driver

2018-08-31 Thread Pavel Machek
Hi! > > Aha. I did not realize that was for same hardware... I should have > > cc-ed you, I guess. > > No worries Jacek cc'd me. Good. > >> I do not like this driver. > >> I don't like that it smashes numerous devices into some structure with > >> varying register maps. > >> > > > > Can you

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-08-31 Thread Scott Branden
Hi Olof/Ard, On 18-08-30 09:23 AM, Ard Biesheuvel wrote: On 30 August 2018 at 17:06, Olof Johansson wrote: On Wed, Aug 29, 2018 at 10:54 PM, Ard Biesheuvel wrote: On 29 August 2018 at 20:59, Scott Branden wrote: Hi Olof, On 18-08-29 11:44 AM, Olof Johansson wrote: Hi, On Wed, Aug 29,

Re: [PATCH 1/7] Compiler Attributes: remove unused attributes

2018-08-31 Thread Nick Desaulniers
On Fri, Aug 31, 2018 at 1:23 PM Miguel Ojeda wrote: > > On Fri, Aug 31, 2018 at 8:43 PM, Nick Desaulniers > wrote: > > On Fri, Aug 31, 2018 at 10:28 AM Joe Perches wrote: > >> > >> On Fri, 2018-08-31 at 19:05 +0200, Miguel Ojeda wrote: > >> > __optimize and __deprecate_for_modules are unused in

Re: [PATCH v2] gpio: brcmstb: allow 0 width GPIO banks

2018-08-31 Thread Gregory Fong
On Fri, Aug 17, 2018 at 4:48 PM wrote: > > From: Justin Chen > > Sometimes we have empty banks within the GPIO block. This commit allows > proper handling of 0 width GPIO banks. We handle 0 width GPIO banks by > incrementing the bank and number of GPIOs, but not initializing them. > This will

Re: [PATCH 05/23] selftest: vm: add unlikely() to BUG_ON()

2018-08-31 Thread Igor Stoppa
Hi Dmitry, On 31/08/18 02:04, Dmitry Safonov wrote: Probably, the one from "tools/include/linux/compiler.h" can be used in tools directory. Thank you for the advice. It seems to work now. -- igor

[PATCH] selftest: vm: add unlikely() to BUG_ON()

2018-08-31 Thread Igor Stoppa
BUG_ON() is unlikely() to BUG() For unlikely(), borrow the definition from tools/include/linux/compiler.h Signed-off-by: Igor Stoppa Cc: Dmitry Safonov Cc: Shuah Khan Cc: linux-kselft...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- tools/testing/selftests/vm/map_populate.c | 6 +-

[PATCH] clk: fix clk_calc_subtree compute duplications

2018-08-31 Thread Derek Basehore
clk_calc_subtree was called at every step up the clk tree in clk_calc_new_rates. Since it recursively calls itself for its children, this means it would be called once on each clk for each step above the top clk is. This is fixed by adding a non-recursive function called at every step in

Cutting out

2018-08-31 Thread Jimmy Wilson
Hi, Have you received my email from last week? I would like to speak with the person who manage your photos for your company? We are here to provide you all kinds of imaging editing. What we can provide you: Cutting out for photos Clipping path for photos Masking for photos Retouching for

Re: [PATCH RESEND] mips: switch to NO_BOOTMEM

2018-08-31 Thread Mike Rapoport
Hi Paul, On Thu, Aug 30, 2018 at 02:48:57PM -0700, Paul Burton wrote: > Hi Mike, > > On Mon, Aug 27, 2018 at 10:59:35AM +0300, Mike Rapoport wrote: > > MIPS already has memblock support and all the memory is already registered > > with it. > > > > This patch replaces bootmem memory reservations

Re: [PATCH 5/8] RISC-V: Rename im_okay_therefore_i_am to found_boot_cpu

2018-08-31 Thread Atish Patra
On 8/30/18 10:54 PM, Christoph Hellwig wrote: On Thu, Aug 30, 2018 at 09:11:11AM -0700, Atish Patra wrote: On 8/30/18 7:41 AM, Christoph Hellwig wrote: struct device_node *dn = NULL; - int hart, im_okay_therefore_i_am = 0; + int hart, found_boot_cpu = 0; If you rename

Re: [PATCH 4/7] Compiler Attributes: homogenize __must_be_array

2018-08-31 Thread Nick Desaulniers
On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda wrote: > > Different definitions of __must_be_array: > > * gcc: disabled for __CHECKER__ > > * clang: same definition as gcc's, but without __CHECKER__ > > * intel: the comment claims __builtin_types_compatible_p() > is unsupported; but icc

Re: [PATCH] mm: slowly shrink slabs with a relatively small number of objects

2018-08-31 Thread Rik van Riel
On Fri, 2018-08-31 at 13:34 -0700, Roman Gushchin wrote: > diff --git a/mm/vmscan.c b/mm/vmscan.c > index fa2c150ab7b9..c910cf6bf606 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -476,6 +476,10 @@ static unsigned long do_shrink_slab(struct > shrink_control *shrinkctl, > delta =

Re: [PATCH 3/7] Compiler Attributes: remove unneeded tests

2018-08-31 Thread Nick Desaulniers
On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda wrote: > > Attributes const and always_inline have tests around them > which are unneeded, since they are supported by gcc >= 4.6, > clang >= 3 and icc >= 13. See https://godbolt.org/z/no0OZH > > In the case of gnu_inline, we do not need to test for >

  1   2   3   4   5   6   >