Re: [Patch v3 10/13] x86/speculation: Add per thread STIBP flag

2018-10-18 Thread Thomas Gleixner
On Wed, 17 Oct 2018, Tim Chen wrote: Again the subject is misleading, It's suggesting that it adds a per thread flag. But the patch does way more than that. > Add per thread STIBP flag. When context switching to a process thread that > has the STIBP flag, the STIBP bit in the SPEC_CTRL MSR will

My Greeting?

2018-10-18 Thread Mr. David Keller
My Greeting, How are you today? Did you receive the letter i sent to you. Please answer me. Best Regard, Mr. David Keller.

[PATCH] softirq: modify comments about PF_MEMALLOC in __do_softirq

2018-10-18 Thread Yangtao Li
--- kernel/softirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/softirq.c b/kernel/softirq.c index 6f584861d329..6193e1d1b30d 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -257,7 +257,7 @@ asmlinkage __visible void __softirq_entry __do_softirq(void)

Re: [PATCH 2/5] nds32: Fix bug in bitfield.h

2018-10-18 Thread Mark Rutland
On Thu, Oct 18, 2018 at 04:43:14PM +0800, Nickhu wrote: > There two bitfield bug for perfomance counter > in bitfield.h: > > PFM_CTL_offSEL1 21 --> 16 > PFM_CTL_offSEL2 27 --> 22 > > This commit fix it. > > Signed-off-by: Nickhu This patch should probably be move

Re: [PATCH] pstore/ram: Clarify resource reservation labels

2018-10-18 Thread Dan Williams
[ add Ross ] On Thu, Oct 18, 2018 at 12:15 AM Kees Cook wrote: > > On Wed, Oct 17, 2018 at 5:49 PM, Dan Williams > wrote: > > On Wed, Oct 17, 2018 at 5:29 PM Kees Cook wrote: > >> > >> When ramoops reserved a memory region in the kernel, it had an unhelpful > >> label of "persistent_memory".

Photos 39

2018-10-18 Thread Nancy
We are an image team who can process 400+ images each day. If you need any image editing service, please let us know. Image cut out and clipping path, masking. Such as for ecommerce photos, jewelry photos retouching, beauty and skin images and wedding photos. We give test editing for your

[tip:irq/core] softirq: Fix typo in __do_softirq() comments

2018-10-18 Thread tip-bot for Yangtao Li
Commit-ID: e45506ac0af9b56b221863e9649fe122d8bb42ff Gitweb: https://git.kernel.org/tip/e45506ac0af9b56b221863e9649fe122d8bb42ff Author: Yangtao Li AuthorDate: Thu, 18 Oct 2018 10:21:33 -0400 Committer: Ingo Molnar CommitDate: Thu, 18 Oct 2018 18:10:23 +0200 softirq: Fix typo in

Re: [PATCH 04/11] x86/fpu: eager switch PKRU state

2018-10-18 Thread Sebastian Andrzej Siewior
On 2018-10-12 10:51:34 [-0700], Dave Hansen wrote: > > diff --git a/arch/x86/include/asm/fpu/internal.h > > b/arch/x86/include/asm/fpu/internal.h > > index 16c4077ffc945..956d967ca824a 100644 > > --- a/arch/x86/include/asm/fpu/internal.h > > +++ b/arch/x86/include/asm/fpu/internal.h > > @@

[tip:perf/core] kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack

2018-10-18 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: c2712b858187f5bcd7b042fe4daa3ba3a12635c0 Gitweb: https://git.kernel.org/tip/c2712b858187f5bcd7b042fe4daa3ba3a12635c0 Author: Steven Rostedt (VMware) AuthorDate: Wed, 17 Oct 2018 16:59:51 -0400 Committer: Ingo Molnar CommitDate: Thu, 18 Oct 2018 08:28:35 +0200 kprobes,

Re: [PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

2018-10-18 Thread Robin Murphy
On 18/10/18 17:25, Du Changbin wrote: From: Changbin Du This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting this option will prevent the compiler from optimizing the kernel by auto-inlining functions not marked with the inline keyword. With this option, only functions

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-18 Thread Nadav Amit
at 10:29 AM, Andy Lutomirski wrote: > On Thu, Oct 18, 2018 at 10:25 AM Nadav Amit wrote: >> at 10:00 AM, Andy Lutomirski wrote: >> On Oct 18, 2018, at 9:47 AM, Nadav Amit wrote: at 8:51 PM, Andy Lutomirski wrote: >> On Wed, Oct 17, 2018 at 8:12 PM Nadav Amit

Re: [PATCH 05/11] x86/fpu: set PKRU state for kernel threads

2018-10-18 Thread Dave Hansen
On 10/18/2018 09:48 AM, Andy Lutomirski wrote: We might want to do this for cleanliness reasons... Maybe. But this *should* have no practical effects. Kernel threads have no real 'mm' and no user pages. They should not have do access to user mappings. Protection keys

[PATCH 4.18 18/53] scsi: ibmvscsis: Fix a stringop-overflow warning

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott [ Upstream commit d792d4c4fc866ae224b0b0ca2aabd87d23b4d6cc ] There's currently a warning about string overflow with strncat: drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In

[PATCH 4.18 02/53] soundwire: Fix incorrect exit after configuring stream

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Shreyas NC [ Upstream commit 3fef1a2259c556cce34df2791688cb3001f81c92 ] In sdw_stream_add_master() after the Master ports are configured, the stream is released incorrectly. So, fix it by

[PATCH 4.18 12/53] batman-adv: Prevent duplicated global TT entry

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit e7136e48ffdfb9f37b0820f619380485eb407361 ] The function batadv_tt_global_orig_entry_add is responsible for adding new tt_orig_list_entry to the orig_list. It

[PATCH 4.18 14/53] batman-adv: fix backbone_gw refcount on queue_work() failure

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Marek Lindner [ Upstream commit 5af96b9c59c72fb2af2d19c5cc2f3cdcee391dff ] The backbone_gw refcounter is to be decreased by the queued work and currently is never decreased if the

[PATCH 4.18 15/53] batman-adv: fix hardif_neigh refcount on queue_work() failure

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Marek Lindner [ Upstream commit 4c4af6900844ab04c9434c972021d7b48610e06a ] The hardif_neigh refcounter is to be decreased by the queued work and currently is never decreased if the

[PATCH 4.18 10/53] batman-adv: Prevent duplicated nc_node entry

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit fa122fec8640eb7186ce5a41b83a4c1744ceef8f ] The function batadv_nc_get_nc_node is responsible for adding new nc_nodes to the in_coding_list and

[PATCH 4.18 11/53] batman-adv: Prevent duplicated softif_vlan entry

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 94cb82f594ed86be303398d6dfc7640a6f1d45d4 ] The function batadv_softif_vlan_get is responsible for adding new softif_vlan to the softif_vlan_list. It first

[PATCH 4.18 21/53] Input: atakbd - fix Atari keymap

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab [ Upstream commit 9e62df51be993035c577371ffee5477697a56aad ] Fix errors in Atari keymap (mostly in keypad, help and undo keys). Patch provided on debian-68k ML by Andreas

[PATCH 4.18 23/53] selftests: pmtu: properly redirect stderr to /dev/null

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 0a286afee5a1e8dca86d824209dbd3200294f86f ] The cleanup function uses "$CMD 2 > /dev/null", which doesn't actually send stderr to /dev/null, so when the netns

[PATCH 4.18 22/53] Input: atakbd - fix Atari CapsLock behaviour

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Michael Schmitz [ Upstream commit 52d2c7bf7c90217fbe875d2d76f310979c48eb83 ] The CapsLock key on Atari keyboards is not a toggle, it does send the normal make and break scancodes. Drop the

[PATCH 4.18 20/53] intel_th: pci: Add Ice Lake PCH support

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin [ Upstream commit 59d08d00d43c644ee2011d7ff1807bdd69f31fe0 ] This adds Intel(R) Trace Hub PCI ID for Ice Lake PCH. Signed-off-by: Alexander Shishkin Signed-off-by: Greg

[PATCH 4.18 17/53] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Keerthy [ Upstream commit 3b7d96a0dbb6b630878597a1838fc39f808b761b ] The 32k clocksource is NONSTOP for non-am43 SoCs. Hence add the flag for all the other SoCs. Reported-by: Tony Lindgren

[PATCH 4.18 16/53] cxgb4: fix abort_req_rss6 struct

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise [ Upstream commit 9f34519a82356f6cf0ccb8480ee0ed99b3d0af75 ] Remove the incorrect WR_HDR field which can cause a misinterpretation of ABORT CPL by ULDs, such as iw_cxgb4. Fixes:

Re: linux-next: manual merge of the kselftest tree with the kvm tree

2018-10-18 Thread Shuah Khan
On 10/18/2018 04:51 AM, Paolo Bonzini wrote: > On 18/10/2018 06:50, Stephen Rothwell wrote: >> Hi Shuah, >> >> Today's linux-next merge of the kselftest tree got a conflict in: >> >> tools/testing/selftests/kvm/dirty_log_test.c >> >> between commit: >> >> fff8dcd7b4a2 ("kvm: selftests: port

Re: [PATCH 5/5] nds32: Add document for NDS32 PMU.

2018-10-18 Thread Mark Rutland
On Thu, Oct 18, 2018 at 04:43:17PM +0800, Nickhu wrote: > The document for how to add NDS32 PMU > in devicetree. > > Signed-off-by: Nickhu > --- > Documentation/devicetree/bindings/nds32/pmu.txt | 17 + > 1 file changed, 17 insertions(+) > create mode 100644

Re: [PATCH V9 18/21] dt-bindings: csky CPU Bindings

2018-10-18 Thread Rob Herring
On Tue, 16 Oct 2018 10:58:37 +0800, Guo Ren wrote: > This patch adds the documentation to describe that how to add cpu nodes in > dts for SMP. > > Signed-off-by: Guo Ren > Cc: Rob Herring > --- > Changelog: > - Add compatible. > - Remove status part. > --- > --- >

Re: [PATCH 2/3] uapi: get rid of STATX_ALL

2018-10-18 Thread Miklos Szeredi
On Thu, Oct 18, 2018 at 3:15 PM, Florian Weimer wrote: > * Miklos Szeredi: > >> #define STATX__RESERVED 0x8000U /* Reserved for future >> struct statx expansion */ > > What about this? Isn't it similar to STATX_ALL in the sense that we > don't know yet what it will mean?

Re: [Ksummit-discuss] [PATCH v3 1/3] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-18 Thread James Bottomley
On Wed, 2018-10-17 at 12:53 -0700, Frank Rowand wrote: > On 10/17/18 12:08, James Bottomley wrote: [...] > > > Trying to understand how you are understanding my comment vs what > > > I intended to communicate, it seems to me that you are focused on > > > the "where allowed" and I am focused on the

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > The error message: > = > util/symbol-elf.c:46:12: error: static declaration of 'elf_getphdrnum' > follows non-static declaration > static int elf_getphdrnum(Elf *elf,

Re: [PATCH 2/3] uapi: get rid of STATX_ALL

2018-10-18 Thread David Howells
Miklos Szeredi wrote: > Constants of the *_ALL type can be actively harmful due to the fact that > developers will usually fail to consider the possible effects of future > changes to the definition. > > Remove STATX_ALL from the uapi, while no damage has been done yet. You don't know that

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-18 Thread Josh Poimboeuf
On Thu, Oct 18, 2018 at 04:54:56PM +0200, Petr Mladek wrote: > On Mon 2018-10-15 18:01:43, Miroslav Benes wrote: > > On Fri, 12 Oct 2018, Petr Mladek wrote: > > > > > On Wed 2018-09-05 11:34:06, Miroslav Benes wrote: > > > > On Tue, 28 Aug 2018, Petr Mladek wrote: > > > > > Also the API and logic

Re: [Patch v3 13/13] x86/speculation: Create PRCTL interface to restrict indirect branch speculation

2018-10-18 Thread Thomas Gleixner
On Wed, 17 Oct 2018, Tim Chen wrote: > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -4196,7 +4196,10 @@ > lite - turn on mitigation for non-dumpable >processes (i.e.

Re: [PATCH 5/5] mm/memory-hotplug: Rework unregister_mem_sect_under_nodes

2018-10-18 Thread Jonathan Cameron
On Thu, 18 Oct 2018 17:02:21 +0200 Oscar Salvador wrote: > On Thu, Oct 18, 2018 at 03:24:34PM +0100, Jonathan Cameron wrote: > > Tested-by: Jonathan Cameron > > Thanks a lot Jonathan for having tested it! > > Did you test the whole serie or only this patch? > Since you have caught some bugs

[PATCH v2 07/10] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2018-10-18 Thread Lokesh Vutla
Texas Instruments' K3 generation SoCs has an IP Interrupt Router that does allows for multiplexing of input interrupts to host interrupt controller. Interrupt Router inputs are either from a peripheral or from an Interrupt Aggregator which is another interrupt controller. Configuration of the

[PATCH v2 10/10] soc: ti: am6: Enable interrupt controller drivers

2018-10-18 Thread Lokesh Vutla
Select all the TISCI dependent interrupt controller drivers for AM6 SoC. Suggested-by: Marc Zyngier Signed-off-by: Lokesh Vutla --- Changes since v1: - new patch drivers/soc/ti/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig index

[PATCH v2 05/10] firmware: ti_sci: Add helper apis to manage resources

2018-10-18 Thread Lokesh Vutla
Each resource with in the device can be uniquely identified by a type and subtype as defined by TISCI. Since this is generic across the devices, resource allocation also can be made generic instead of each client driver handling the resource. So add helper apis to manage the resource.

[PATCH v2 08/10] dt-bindings: irqchip: Introduce TISCI Interrupt Aggregator bindings

2018-10-18 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt Aggregator driver. Signed-off-by: Lokesh Vutla --- Changes since v1: - New patch .../interrupt-controller/ti,sci-inta.txt | 74 +++ MAINTAINERS | 1 + 2 files changed, 75 insertions(+)

[PATCH v2 04/10] firmware: ti_sci: Add RM mapping table for am654

2018-10-18 Thread Lokesh Vutla
From: Peter Ujfalusi Add the resource mapping table for AM654 SoC as defined in http://downloads.ti.com/tisci/esd/latest/5_soc_doc/am6x/resasg_types.html Introduce a new compatible for AM654 "ti,am654-sci" for using this resource map table. Signed-off-by: Peter Ujfalusi Signed-off-by: Lokesh

[PATCH v2 03/10] firmware: ti_sci: Add support for IRQ management

2018-10-18 Thread Lokesh Vutla
TISCI abstracts the handling of IRQ routes where interrupt sources are not directly connected to interrupt controller. Add support for the set of TISCI commands for requesting and releasing IRQs. Signed-off-by: Lokesh Vutla --- Changes since v1: - None. drivers/firmware/ti_sci.c |

[PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-18 Thread Lokesh Vutla
Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator which is an interrupt controller that does the following: - Converts events to interrupts that can be understood by an interrupt router. - Allows for multiplexing of events to interrupts. - Allows for grouping of multiple

[PATCH v2 06/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2018-10-18 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt router driver. Signed-off-by: Lokesh Vutla --- Changes since v1: - Drop dependency on GIC - Updated supported interrupt types. .../interrupt-controller/ti,sci-intr.txt | 81 +++ MAINTAINERS |

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-18 Thread Thara Gopinath
On 10/18/2018 02:48 AM, Ingo Molnar wrote: > > * Thara Gopinath wrote: > >> On 10/16/2018 03:33 AM, Ingo Molnar wrote: >>> >>> * Thara Gopinath wrote: >>> >> Regarding testing, basic build, boot and sanity testing have been >> performed on hikey960 mainline kernel with debian file

[PATCH] arm64: defconfig: Enable some IPMI configs

2018-10-18 Thread John Garry
The arm64 port now runs on servers which use IPMI. This patch enables relevant core configs to save manually enabling them when testing mainline. Signed-off-by: John Garry diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index db8d364..fe8c097 100644 ---

Re: [PATCH 05/11] x86/fpu: set PKRU state for kernel threads

2018-10-18 Thread Andy Lutomirski
> On Oct 18, 2018, at 9:26 AM, Sebastian Andrzej Siewior > wrote: > >> On 2018-10-12 11:02:18 [-0700], Andy Lutomirski wrote: >> On Fri, Oct 12, 2018 at 10:54 AM Dave Hansen >> wrote: >>> On 10/04/2018 07:05 AM, Sebastian Andrzej Siewior wrote: The PKRU value is not set for

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-18 Thread Nadav Amit
at 8:51 PM, Andy Lutomirski wrote: > On Wed, Oct 17, 2018 at 8:12 PM Nadav Amit wrote: >> at 6:22 PM, Andy Lutomirski wrote: >> On Oct 17, 2018, at 5:54 PM, Nadav Amit wrote: It is sometimes beneficial to prevent preemption for very few instructions, or prevent

Re: [PATCH v5 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver

2018-10-18 Thread Rob Herring
On Thu, 18 Oct 2018 13:09:04 +0800, Jianxin Pan wrote: > From: Liang Yang > > Add Amlogic NAND controller dt-bindings for Meson SoC, > Current this driver support GXBB/GXL/AXG platform. > > Signed-off-by: Liang Yang > Signed-off-by: Yixun Lan > Signed-off-by: Jianxin Pan > --- >

Re: [PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

2018-10-18 Thread Du Changbin
On Thu, Oct 18, 2018 at 05:57:56PM +0100, Robin Murphy wrote: > On 18/10/18 17:25, Du Changbin wrote: > > From: Changbin Du > > > > This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting > > this option will prevent the compiler from optimizing the kernel by > > auto-inlining

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-18 Thread Andy Lutomirski
On Thu, Oct 18, 2018 at 10:25 AM Nadav Amit wrote: > > at 10:00 AM, Andy Lutomirski wrote: > > > > > > >> On Oct 18, 2018, at 9:47 AM, Nadav Amit wrote: > >> > >> at 8:51 PM, Andy Lutomirski wrote: > >> > On Wed, Oct 17, 2018 at 8:12 PM Nadav Amit wrote: > at 6:22 PM, Andy

Re: [PATCH] [sound/i2c/cs8427] Fix int to char conversion

2018-10-18 Thread Takashi Iwai
On Thu, 18 Oct 2018 15:47:55 +0200, Philipp K wrote: > > [1 ] > > On Thu, Oct 18, 2018, 15:46 Takashi Iwai wrote: > > On Thu, 18 Oct 2018 12:33:02 +0200, > Philipp Klocke wrote: > > > > Compiling with clang yields the following warning: > > > >

Re: [PATCH 2/3] uapi: get rid of STATX_ALL

2018-10-18 Thread Miklos Szeredi
On Thu, Oct 18, 2018 at 4:32 PM, Miklos Szeredi wrote: > On Thu, Oct 18, 2018 at 3:15 PM, Florian Weimer wrote: >> * Miklos Szeredi: >> >>> #define STATX__RESERVED 0x8000U /* Reserved for >>> future struct statx expansion */ >> >> What about this? Isn't it similar to

Re: [PATCH 5/5] mm/memory-hotplug: Rework unregister_mem_sect_under_nodes

2018-10-18 Thread Oscar Salvador
On Thu, Oct 18, 2018 at 03:24:34PM +0100, Jonathan Cameron wrote: > Tested-by: Jonathan Cameron Thanks a lot Jonathan for having tested it! Did you test the whole serie or only this patch? Since you have caught some bugs testing the memory-hotplug code on ARM64, I wonder if you could test it

Re: [PATCH v2 2/4] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-10-18 Thread Marcel Holtmann
Hi Lars, > Add pn532 to the trivial-devices.txt binding doc. > > Signed-off-by: Lars Poeschel > --- > Documentation/devicetree/bindings/trivial-devices.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/trivial-devices.txt >

[PATCH v2 2/2] phy: ocelot-serdes: fix out-of-bounds read

2018-10-18 Thread Gustavo A. R. Silva
Currently, there is an out-of-bounds read on array ctrl->phys, once variable i reaches the maximum array size of SERDES_MAX in the for loop. Fix this by changing the condition in the for loop from i <= SERDES_MAX to i < SERDES_MAX. Addresses-Coverity-ID: 1473966 ("Out-of-bounds read")

Re: linux-next: Tree for Oct 18

2018-10-18 Thread Guenter Roeck
On Thu, Oct 18, 2018 at 06:02:16PM +1100, Stephen Rothwell wrote: > Hi all, > > News: I will not be doing linux-next releases next week. Unfortunately > this will probably be the first week of the merge window. :-( > Note: Every individual on Cc: might want to have a look. Either one of your

Re: linux-next: Tree for Oct 18 (cpufreq: intel_pstate)

2018-10-18 Thread Randy Dunlap
On 10/18/18 12:02 AM, Stephen Rothwell wrote: > Hi all, > > News: I will not be doing linux-next releases next week. Unfortunately > this will probably be the first week of the merge window. :-( > > Changes since 20181017: > on x86_64 or i386: ../drivers/cpufreq/intel_pstate.c: In function

Re: [PATCH v5 2/3] clk: meson: add DT documentation for emmc clock controller

2018-10-18 Thread Stephen Boyd
Quoting Jianxin Pan (2018-10-17 22:07:24) > diff --git a/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt > b/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt > new file mode 100644 > index 000..9e6d343 > --- /dev/null > +++

Re: [PATCH 04/11] x86/fpu: eager switch PKRU state

2018-10-18 Thread Dave Hansen
>>> diff --git a/arch/x86/include/asm/pkeys.h b/arch/x86/include/asm/pkeys.h >>> index 19b137f1b3beb..b184f916319e5 100644 >>> --- a/arch/x86/include/asm/pkeys.h >>> +++ b/arch/x86/include/asm/pkeys.h >>> @@ -119,7 +119,7 @@ extern int arch_set_user_pkey_access(struct task_struct >>> *tsk, int

[PATCH 4.18 24/53] net: emac: fix fixed-link setup for the RTL8363SB switch

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter [ Upstream commit 08e39982ef64f800fd1f9b9b92968d14d5fafa82 ] On the Netgear WNDAP620, the emac ethernet isn't receiving nor xmitting any frames from/to the RTL8363SB

[PATCH 4.18 29/53] qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sudarsana Reddy Kalluru [ Upstream commit 0216da9413afa546627a1b0d319dfd17fef34050 ] In certain multi-function switch dependent modes, firmware adds vlan tag 0 to the untagged frames. This

[PATCH 4.18 03/53] soundwire: Fix acquiring bus lock twice during master release

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sanyog Kale [ Upstream commit 8d6ccf5cebbc7ed1dee9986e36853a78dfb64084 ] As part of sdw_stream_remove_master(), sdw_stream_remove_slave() is called which results in bus lock being acquired

[PATCH 4.18 28/53] qed: Fix populating the invalid stag value in multi function mode.

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sudarsana Reddy Kalluru [ Upstream commit 50fdf60181b01b7383b85d4b9acbb842263d96a2 ] In multi-function mode, driver receives the stag value (outer vlan) for a PF from management FW (MFW). If

[PATCH 4.18 26/53] net/smc: fix non-blocking connect problem

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun [ Upstream commit 648a5a7aed346c3b8fe7c32a835edfb0dfbf4451 ] In state SMC_INIT smc_poll() delegates polling to the internal CLC socket. This means, once the connect worker has

[PATCH 4.18 27/53] net/smc: fix sizeof to int comparison

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: YueHaibing [ Upstream commit 381897798a94065ffcad0772eecdc6b04a7ff23d ] Comparing an int to a size, which is unsigned, causes the int to become unsigned, giving the wrong result.

[PATCH 4.18 25/53] ravb: do not write 1 to reserved bits

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Kazuya Mizuguchi [ Upstream commit 2fe397a3959de8a472f165e6d152f64cb77fa2cc ] EtherAVB hardware requires 0 to be written to status register bits in order to clear them, however, care must be

[PATCH 4.18 32/53] scsi: lpfc: Synchronize access to remoteport via rport

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: James Smart [ Upstream commit 9e210178267b80c4eeb832fade7e146a18c84915 ] The driver currently uses the ndlp to get the local rport which is then used to get the nvme transport remoteport

[PATCH 4.18 38/53] bpf: test_maps, only support ESTABLISHED socks

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: John Fastabend [ Upstream commit 5028027844cfc6168e39650abecd817ba64c9d98 ] Ensure that sockets added to a sock{map|hash} that is not in the ESTABLISHED state is rejected. Fixes:

[PATCH 4.18 33/53] drm: mali-dp: Call drm_crtc_vblank_reset on device init

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexandru Gheorghe [ Upstream commit 69be1984ded00a11b1ed0888c6d8e4f35370372f ] Currently, if userspace calls drm_wait_vblank before the crtc is activated the crtc vblank_enable hook is

[PATCH 4.18 35/53] scsi: sd: dont crash the host on invalid commands

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn [ Upstream commit f1f1fadacaf08b7cf11714c0c29f8fa4d4ef68a9 ] When sd_init_command() get's a command with a unknown req_op() it crashes the system via BUG(). This makes

[PATCH 4.18 30/53] PCI: dwc: Fix scheduling while atomic issues

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang [ Upstream commit 9024143e700f89d74b8cdaf316a3499d74fc56fe ] When programming the inbound/outbound ATUs, we call usleep_range() after each checking PCIE_ATU_ENABLE bit.

[PATCH 4.18 31/53] RDMA/uverbs: Fix validity check for modify QP

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Majd Dibbiny [ Upstream commit 4eeed3686981ff887bbdd7254139e2eca276534c ] Uverbs shouldn't enforce QP state in the command unless the user set the QP state bit in the attribute mask. In

[PATCH 4.18 34/53] scsi: ipr: System hung while dlpar adding primary ipr adapter back

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Wen Xiong [ Upstream commit 318ddb34b2052f838aa243d07173e2badf3e630e ] While dlpar adding primary ipr adapter back, driver goes through adapter initialization then schedule ipr_worker_thread

Re: [PATCH 2/3] uapi: get rid of STATX_ALL

2018-10-18 Thread Florian Weimer
* Miklos Szeredi: > #define STATX__RESERVED 0x8000U /* Reserved for future > struct statx expansion */ What about this? Isn't it similar to STATX_ALL in the sense that we don't know yet what it will mean?

Re: [PATCH 1/5] nds32: Perf porting

2018-10-18 Thread Mark Rutland
HI, On Thu, Oct 18, 2018 at 04:43:13PM +0800, Nickhu wrote: > +#define PFM_CTL_OVF(idx) PFM_CTL_mskOVF ## idx > +#define PFM_CTL_EN(idx) PFM_CTL_mskEN ## idx > +#define PFM_CTL_OFFSEL(idx) PFM_CTL_offSEL ## idx > +#define PFM_CTL_IE(idx)

Re: [PATCH] arm64/pvpanic-mmio : add pvpanic mmio device

2018-10-18 Thread Mark Rutland
On Thu, Oct 18, 2018 at 09:56:11AM +0800, peng.h...@zte.com.cn wrote: > >Hi, > > > >[adding devicetree] > > > >On Wed, Oct 17, 2018 at 06:08:23PM +0800, Peng Hao wrote: [...] > >> +#define PVPANIC_MMIO_CRASHED(1 << 0) > > > >This looks like it's identical to PVPANIC_PANICKED in the existing

[PATCH 1/4] x86/mm: surround level4_kernel_pgt with #ifdef CONFIG_X86_5LEVEL...#endif

2018-10-18 Thread Du Changbin
From: Changbin Du The level4_kernel_pgt is only defined when X86_5LEVEL is enabled. So surround level4_kernel_pgt with #ifdef CONFIG_X86_5LEVEL...#endif to make code correct. Signed-off-by: Changbin Du Acked-by: Steven Rostedt (VMware) --- arch/x86/include/asm/pgtable_64.h | 2 ++

[PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

2018-10-18 Thread Du Changbin
From: Changbin Du This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting this option will prevent the compiler from optimizing the kernel by auto-inlining functions not marked with the inline keyword. With this option, only functions explicitly marked with "inline" will be

[PATCH 0/4] kernel hacking: GCC optimization for better debug experience (-Og)

2018-10-18 Thread Du Changbin
Hi all, I have posted this series several months ago but interrupted by personal affairs. Now I get time to complete this task. Thanks for all of the reviewers. I know some kernel developers was searching for a method to dissable GCC optimizations, probably they want to apply GCC '-O0' option.

[PATCH 4/4] kernel hacking: new config CC_OPTIMIZE_FOR_DEBUGGING to apply GCC -Og optimization

2018-10-18 Thread Du Changbin
From: Changbin Du This will apply GCC '-Og' optimization level which is supported since GCC 4.8. This optimization level offers a reasonable level of optimization while maintaining fast compilation and a good debugging experience. It is similar to '-O1' while perferring to keep debug ability

[PATCH 3/4] ARM: mm: fix build error in fix_to_virt with CONFIG_CC_OPTIMIZE_FOR_DEBUGGING

2018-10-18 Thread Du Changbin
From: Changbin Du With '-Og' optimization level, GCC would not optimize a count for a loop as a constant value. But BUILD_BUG_ON() only accept compile-time constant values. Let's use __fix_to_virt() to avoid the error. arch/arm/mm/mmu.o: In function `fix_to_virt':

Re: [PATCH 05/11] x86/fpu: set PKRU state for kernel threads

2018-10-18 Thread Sebastian Andrzej Siewior
On 2018-10-12 11:02:18 [-0700], Andy Lutomirski wrote: > On Fri, Oct 12, 2018 at 10:54 AM Dave Hansen > wrote: > > > > On 10/04/2018 07:05 AM, Sebastian Andrzej Siewior wrote: > > > The PKRU value is not set for kernel threads because they do not have > > > the ->initialized value set. As a

Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

2018-10-18 Thread Masahiro Yamada
On Thu, Oct 18, 2018 at 6:18 PM Borislav Petkov wrote: > > On Wed, Oct 17, 2018 at 09:40:53PM -0300, Leonardo Bras wrote: > > The idea was to put it as default and fix all the shadowing warnings. > > What do you think? I am open to suggestions. > > That's Masahiro's call. In the rest of the

Re: [PATCH v5 3/3] clk: meson: add sub MMC clock controller driver

2018-10-18 Thread Stephen Boyd
Quoting Jianxin Pan (2018-10-17 22:07:25) > diff --git a/drivers/clk/meson/clk-regmap.c b/drivers/clk/meson/clk-regmap.c > index 305ee30..f96314d 100644 > --- a/drivers/clk/meson/clk-regmap.c > +++ b/drivers/clk/meson/clk-regmap.c > @@ -113,8 +113,25 @@ static int clk_regmap_div_set_rate(struct

[PATCH 4.18 13/53] batman-adv: Prevent duplicated tvlv handler

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit ae3cdc97dc10c7a3b31f297dab429bfb774c9ccb ] The function batadv_tvlv_handler_register is responsible for adding new tvlv_handler to the handler_list. It first

[PATCH 4.18 01/53] soundwire: Fix duplicate stream state assignment

2018-10-18 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Shreyas NC [ Upstream commit 0aebe40bae6cf5652fdc3d05ecee15fbf5748194 ] For a SoundWire stream it is expected that a Slave is added to the stream before Master is added. So, move the stream

Re: [PATCH 3/3] statx: add STATX_ATTRIBUTES flag

2018-10-18 Thread David Howells
Miklos Szeredi wrote: > + /* Having anything in attributes_mask means attributes are valid. */ > + if (tmp.stx_attributes_mask) > + tmp.stx_mask |= STATX_ATTRIBUTES; That would be superfluous, since userspace can make this check too. Note that fsinfo() might inform you

RE: [PATCH v4 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-10-18 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of > Shameerali Kolothum Thodi > Sent: 18 October 2018 14:34 > To: Robin Murphy ; lorenzo.pieral...@arm.com; > jean-philippe.bruc...@arm.com > Cc: mark.rutl...@arm.com; vkil...@codeaurora.org; >

Re: [PATCH V2 3/4] vmbus: add per-channel sysfs info

2018-10-18 Thread Olaf Hering
Am Sun, 17 Sep 2017 20:54:18 -0700 schrieb k...@exchange.microsoft.com: > This extends existing vmbus related sysfs structure to provide per-channel > state information. This is useful when diagnosing issues with multiple > queues in networking and storage. > +++ b/drivers/hv/vmbus_drv.c >

[PATCH] firmware: coreboot: Fix a missing-check bug

2018-10-18 Thread Wenwen Wang
In coreboot_table_init(), a for loop is used to copy the entries of the coreboot table. For each entry, the header of the entry, which is a structure coreboot_table_entry and includes the size of the entry, is firstly copied from the IO region 'ptr_entry' to 'entry' through the first

Photos 40

2018-10-18 Thread Nancy
We are an image team who can process 400+ images each day. If you need any image editing service, please let us know. Image cut out and clipping path, masking. Such as for ecommerce photos, jewelry photos retouching, beauty and skin images and wedding photos. We give test editing for your

Re: [PATCH] softirq: modify comments about PF_MEMALLOC in __do_softirq

2018-10-18 Thread Frank Lee
>On Thu, 18 Oct 2018 >Ingo Molnar wrote: >* Yangtao Li wrote: > >> --- >> kernel/softirq.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/kernel/softirq.c b/kernel/softirq.c >> index 6f584861d329..6193e1d1b30d 100644 >> --- a/kernel/softirq.c >> +++

Re: [PATCH V2 3/4] vmbus: add per-channel sysfs info

2018-10-18 Thread Stephen Hemminger
On Thu, 18 Oct 2018 17:19:53 +0200 Olaf Hering wrote: > Am Sun, 17 Sep 2017 20:54:18 -0700 > schrieb k...@exchange.microsoft.com: > > > This extends existing vmbus related sysfs structure to provide per-channel > > state information. This is useful when diagnosing issues with multiple > >

Re: [PATCH 1/2] staging: iio: ad7606: Move out of staging

2018-10-18 Thread Lars-Peter Clausen
On 10/18/2018 02:55 PM, Dan Carpenter wrote: > On Thu, Oct 18, 2018 at 12:10:32PM +0300, Stefan Popa wrote: >> +static int ad7606_read_samples(struct ad7606_state *st) >> +{ >> +unsigned int num = st->chip_info->num_channels; >> +u16 *data = st->data; >> +int ret; >> + >> +/* >> +

Re: [PATCH v2] clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock

2018-10-18 Thread Stephen Boyd
Quoting Icenowy Zheng (2018-10-18 00:07:29) > In the user manual of A64 SoC, the bit 22 and 23 of pll-mipi control > register is called "LDO{1,2}_EN", and according to the BSP source code > from Allwinner , the LDOs are enabled during the clock's enabling > process. > > The clock failed to

Re: [PATCH] drivers/vfio: Fix an 8-byte alignment issue

2018-10-18 Thread Joe Perches
On Wed, 2018-10-17 at 13:18 -0500, Wenwen Wang wrote: > This patch adds a 4-byte reserved field in the structure > vfio_eeh_pe_op to make sure that the u64 fields in the structure > vfio_eeh_pe_err are 8-byte aligned. > > Signed-off-by: Wenwen Wang > --- > include/uapi/linux/vfio.h | 1 + > 1

Re: [PATCH] perf: Set PLT entry/header sizes properly on Sparc.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 17, 2018 at 12:08:59PM -0700, David Miller escreveu: > > Using the sh_entsize for both values isn't correct. It happens > to be correct on x86... > > For both 32-bit and 64-bit sparc, there are four PLT entries in the > PLT section. Thanks, applied. - Arnaldo

Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

2018-10-18 Thread Petr Mladek
On Thu 2018-10-18 13:27:39, Sergey Senozhatsky wrote: > On (10/18/18 11:46), Tetsuo Handa wrote: > > Sergey Senozhatsky wrote: > > > > > > int printk_ratelimit_interval(void) > > > { > > >int ret = DEFAULT_RATELIMIT_INTERVAL; > > >struct tty_driver *driver = NULL; > > >

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-18 Thread Petr Mladek
On Mon 2018-10-15 18:01:43, Miroslav Benes wrote: > On Fri, 12 Oct 2018, Petr Mladek wrote: > > > On Wed 2018-09-05 11:34:06, Miroslav Benes wrote: > > > On Tue, 28 Aug 2018, Petr Mladek wrote: > > > > Also the API and logic is much easier. It is enough to call > > > > klp_enable_patch() in

Re: [Patch v3 11/13] x86/speculation: Add Spectre v2 lite app to app protection mode

2018-10-18 Thread Thomas Gleixner
On Wed, 17 Oct 2018, Tim Chen wrote: > Currently the STIBP is always turned on for CPUs vulnerable to Spectre V2. > A new lite protection mode option is created. In this new mode, we protect > security sensitive processes with STIBP and IBPB against application to > application attack based on

  1   2   3   4   5   6   7   8   9   10   >