[tip:efi/urgent] efi/efi_test: Prevent an Oops in efi_runtime_query_capsulecaps()

2017-10-25 Thread tip-bot for Dan Carpenter
Commit-ID: 092e72c9edab16d4d6ad10c683a95047d53b6db4 Gitweb: https://git.kernel.org/tip/092e72c9edab16d4d6ad10c683a95047d53b6db4 Author: Dan Carpenter AuthorDate: Wed, 25 Oct 2017 11:04:47 +0100 Committer: Ingo Molnar CommitDate: Wed, 25 Oct

[tip:efi/urgent] efi/efi_test: Prevent an Oops in efi_runtime_query_capsulecaps()

2017-10-25 Thread tip-bot for Dan Carpenter
Commit-ID: 092e72c9edab16d4d6ad10c683a95047d53b6db4 Gitweb: https://git.kernel.org/tip/092e72c9edab16d4d6ad10c683a95047d53b6db4 Author: Dan Carpenter AuthorDate: Wed, 25 Oct 2017 11:04:47 +0100 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 12:10:59 +0200 efi/efi_test: Prevent an

Re: [v2,2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-25 Thread Guenter Roeck
On 10/25/2017 03:29 AM, Eric Long wrote: Hi Guenter, Sorry for late reply, and thanks for your detail comments. On Sun, Oct 22, 2017 at 09:07:29AM -0700, Guenter Roeck wrote: On Tue, Sep 12, 2017 at 07:40:09PM +0800, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860

Re: [v2,2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-25 Thread Guenter Roeck
On 10/25/2017 03:29 AM, Eric Long wrote: Hi Guenter, Sorry for late reply, and thanks for your detail comments. On Sun, Oct 22, 2017 at 09:07:29AM -0700, Guenter Roeck wrote: On Tue, Sep 12, 2017 at 07:40:09PM +0800, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860

Re: [PATCH] perf vendor events arm64: Add hip08 implementation defined PMU core events

2017-10-25 Thread John Garry
On 25/10/2017 11:06, Ganapatrao Kulkarni wrote: Hi John, On Thu, Oct 19, 2017 at 3:59 PM, John Garry wrote: #Family-model,Version,Filename,EventType 0x420f5160,v1,cavium,core 0x420f5161,v1,cavium,core certainly, there is Part number(PartNum, bits

Re: [PATCH] perf vendor events arm64: Add hip08 implementation defined PMU core events

2017-10-25 Thread John Garry
On 25/10/2017 11:06, Ganapatrao Kulkarni wrote: Hi John, On Thu, Oct 19, 2017 at 3:59 PM, John Garry wrote: #Family-model,Version,Filename,EventType 0x420f5160,v1,cavium,core 0x420f5161,v1,cavium,core certainly, there is Part number(PartNum, bits [15:4] ) change from

Re: [PATCH] perf/tools : remove default system_wide in sched record

2017-10-25 Thread chengjian (D)
On 2017/10/25 10:23, Namhyung Kim wrote: On Tue, Oct 24, 2017 at 10:46:44AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Oct 24, 2017 at 03:45:34PM +0800, Cheng Jian escreveu: When running perf sched record, there is a bug. It's system_wide when we specify a command line. Humm, isn't

Re: [PATCH] perf/tools : remove default system_wide in sched record

2017-10-25 Thread chengjian (D)
On 2017/10/25 10:23, Namhyung Kim wrote: On Tue, Oct 24, 2017 at 10:46:44AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Oct 24, 2017 at 03:45:34PM +0800, Cheng Jian escreveu: When running perf sched record, there is a bug. It's system_wide when we specify a command line. Humm, isn't

Re: [PATCH net-next 1/2] net: dsa: lan9303: Move struct lan9303 to include/linux/lan9303.h

2017-10-25 Thread Egil Hjelmeland
On 24. okt. 2017 18:31, Andrew Lunn wrote: On Tue, Oct 24, 2017 at 11:35:14AM +0200, Egil Hjelmeland wrote: The next patch require net/dsa/tag_lan9303.c to access struct lan9303. Therefore move struct lan9303 definitions from drivers/net/dsa/lan9303.h to new file include/linux/lan9303.h.

Re: [PATCH net-next 1/2] net: dsa: lan9303: Move struct lan9303 to include/linux/lan9303.h

2017-10-25 Thread Egil Hjelmeland
On 24. okt. 2017 18:31, Andrew Lunn wrote: On Tue, Oct 24, 2017 at 11:35:14AM +0200, Egil Hjelmeland wrote: The next patch require net/dsa/tag_lan9303.c to access struct lan9303. Therefore move struct lan9303 definitions from drivers/net/dsa/lan9303.h to new file include/linux/lan9303.h.

Re: [PATCH 08/13] x86/paravirt: Clean up paravirt_types.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Make paravirt_types.h more understandable: > > - Use more consistent and logical naming > - Simplify interfaces > - Put related macros together > - Improve whitespace > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross

Re: [PATCH 08/13] x86/paravirt: Clean up paravirt_types.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Make paravirt_types.h more understandable: > > - Use more consistent and logical naming > - Simplify interfaces > - Put related macros together > - Improve whitespace > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross Juergen

Re: [PATCH 07/13] x86/paravirt: Simplify ____PVOP_CALL()

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Remove the inline asm duplication in PVOP_CALL(). > > Also add 'IS_ENABLED(CONFIG_X86_32)' to the return variable logic, > making the code clearer and rendering the comment unnecessary. > > Signed-off-by: Josh Poimboeuf

Re: [PATCH 07/13] x86/paravirt: Simplify ____PVOP_CALL()

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Remove the inline asm duplication in PVOP_CALL(). > > Also add 'IS_ENABLED(CONFIG_X86_32)' to the return variable logic, > making the code clearer and rendering the comment unnecessary. > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross

Re: [PATCH 06/13] x86/paravirt: Clean up paravirt-asm.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Some cleanup to make the code easier to read and understand: > > - Use the common "PV_" prefix > - Simplify the PV_SITE macro interface > - Improve whitespace > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross

Re: [PATCH 06/13] x86/paravirt: Clean up paravirt-asm.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > Some cleanup to make the code easier to read and understand: > > - Use the common "PV_" prefix > - Simplify the PV_SITE macro interface > - Improve whitespace > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross Juergen

Re: [PATCH net-next 2/2] net: dsa: lan9303: Learn addresses on CPU port when bridged

2017-10-25 Thread Egil Hjelmeland
Hi Woojung! On 24. okt. 2017 19:18, woojung@microchip.com wrote: Hi Egil, +static inline int lan9303_tx_use_arl(struct dsa_port *dp, u8 *dest_addr) +{ + struct lan9303 *chip = dp->ds->priv; + + return chip->is_bridged && !ether_addr_equal(dest_addr, eth_stp_addr); +} static

Re: [PATCH net-next 2/2] net: dsa: lan9303: Learn addresses on CPU port when bridged

2017-10-25 Thread Egil Hjelmeland
Hi Woojung! On 24. okt. 2017 19:18, woojung@microchip.com wrote: Hi Egil, +static inline int lan9303_tx_use_arl(struct dsa_port *dp, u8 *dest_addr) +{ + struct lan9303 *chip = dp->ds->priv; + + return chip->is_bridged && !ether_addr_equal(dest_addr, eth_stp_addr); +} static

[PATCH] drivers/net: arcnet: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Michael Grzeschik Cc: net...@vger.kernel.org Signed-off-by: Kees Cook

[PATCH] drivers/net: arcnet: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Michael Grzeschik Cc: net...@vger.kernel.org Signed-off-by: Kees Cook ---

[PATCH] drivers/net: wan/sdla: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Allen Pais Cc: "David S. Miller" Cc: Tobias Klauser

[PATCH] drivers/net: wan/sdla: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Allen Pais Cc: "David S. Miller" Cc: Tobias Klauser Cc: net...@vger.kernel.org Signed-off-by: Kees

[PATCH] drivers/net: wan/lmc: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Allen Pais Cc: "David S. Miller" Cc:

[PATCH] drivers/net: wan/lmc: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Allen Pais Cc: "David S. Miller" Cc: net...@vger.kernel.org Signed-off-by: Kees Cook ---

[PATCH] drivers/net: sxgbe: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Byungho An Cc: Girish K S Cc: Vipul Pandya

[PATCH] drivers/net: sxgbe: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Byungho An Cc: Girish K S Cc: Vipul Pandya Cc: net...@vger.kernel.org Signed-off-by: Kees Cook ---

[PATCH] drivers/net: wan/dscc4: Remove unused timer

2017-10-25 Thread Kees Cook
This removes an entirely unused timer, which avoids needing to convert it to timer_setup(). Cc: Francois Romieu Cc: net...@vger.kernel.org Signed-off-by: Kees Cook --- drivers/net/wan/dscc4.c | 20 1 file changed, 20

[PATCH] drivers/net: realtek: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Realtek linux nic maintainers Cc: "David S. Miller" Cc:

[PATCH] drivers/net: wan/dscc4: Remove unused timer

2017-10-25 Thread Kees Cook
This removes an entirely unused timer, which avoids needing to convert it to timer_setup(). Cc: Francois Romieu Cc: net...@vger.kernel.org Signed-off-by: Kees Cook --- drivers/net/wan/dscc4.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/net/wan/dscc4.c

[PATCH] drivers/net: realtek: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Realtek linux nic maintainers Cc: "David S. Miller" Cc: David Howells Cc: Jay Vosburgh Cc: Allen

[PATCH] drivers/net: hamradio/yam: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Initialization was entirely missing. Cc: Jean-Paul Roubelat Cc: linux-h...@vger.kernel.org

Re: [PATCH v5 10/10] KVM: arm/arm64: vgic-its: Implement KVM_DEV_ARM_ITS_CTRL_RESET

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:29 pm BST, Eric Auger wrote: > On reset we clear the valid bits of GITS_CBASER and GITS_BASER. > We also clear command queue registers and free the cache (device, > collection, and lpi lists). > > Signed-off-by: Eric Auger

[PATCH] drivers/net: hamradio/yam: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Initialization was entirely missing. Cc: Jean-Paul Roubelat Cc: linux-h...@vger.kernel.org Cc:

Re: [PATCH v5 10/10] KVM: arm/arm64: vgic-its: Implement KVM_DEV_ARM_ITS_CTRL_RESET

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:29 pm BST, Eric Auger wrote: > On reset we clear the valid bits of GITS_CBASER and GITS_BASER. > We also clear command queue registers and free the cache (device, > collection, and lpi lists). > > Signed-off-by: Eric Auger > Reviewed-by: Christoffer Dall > > --- >

[PATCH] drivers/net: can: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Cc: "David S.

[PATCH] drivers/net: can: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Cc: "David S. Miller" Cc: Allen Pais Cc:

[PATCH] drivers/net: hippi: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Jes Sorensen Cc: linux-hi...@sunsite.dk Cc: net...@vger.kernel.org

[PATCH] drivers/net: netronome: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Jakub Kicinski Cc: "David S. Miller" Cc: Jiri

[PATCH] drivers/net: hippi: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Jes Sorensen Cc: linux-hi...@sunsite.dk Cc: net...@vger.kernel.org Signed-off-by: Kees Cook ---

[PATCH] drivers/net: netronome: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Jakub Kicinski Cc: "David S. Miller" Cc: Jiri Pirko Cc: Jamal Hadi Salim Cc: Simon Horman Cc:

[PATCH] drivers/net: nuvoton: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Wan ZongShun Cc: linux-arm-ker...@lists.infradead.org Cc: net...@vger.kernel.org

[PATCH] drivers/net: nuvoton: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Wan ZongShun Cc: linux-arm-ker...@lists.infradead.org Cc: net...@vger.kernel.org Signed-off-by: Kees

[PATCH] drivers/net: 3com/3c515: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: "David S. Miller" Cc: Thomas Gleixner Cc: Stephen Hemminger

[PATCH] drivers/net: 3com/3c515: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: "David S. Miller" Cc: Thomas Gleixner Cc: Stephen Hemminger Cc: Johannes Berg Cc:

Re: [PATCH] mm,page_alloc: Serialize out_of_memory() and allocation stall messages.

2017-10-25 Thread Tetsuo Handa
Tetsuo Handa wrote: > While warn_alloc() messages are completely unreadable, what we should note > are that > > (a) out_of_memory() => oom_kill_process() => dump_header() => show_mem() => > printk() > got stuck at console_unlock() despite this is schedulable context. > > -- >

Re: [PATCH] mm,page_alloc: Serialize out_of_memory() and allocation stall messages.

2017-10-25 Thread Tetsuo Handa
Tetsuo Handa wrote: > While warn_alloc() messages are completely unreadable, what we should note > are that > > (a) out_of_memory() => oom_kill_process() => dump_header() => show_mem() => > printk() > got stuck at console_unlock() despite this is schedulable context. > > -- >

Re: [PATCH v5 09/10] KVM: arm/arm64: Document KVM_DEV_ARM_ITS_CTRL_RESET

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:28 pm BST, Eric Auger wrote: > At the moment, the in-kernel emulated ITS is not properly reset. > On guest restart/reset some registers keep their old values and > internal structures like device, ITE, and collection lists are not > freed. > >

Re: [PATCH v5 09/10] KVM: arm/arm64: Document KVM_DEV_ARM_ITS_CTRL_RESET

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:28 pm BST, Eric Auger wrote: > At the moment, the in-kernel emulated ITS is not properly reset. > On guest restart/reset some registers keep their old values and > internal structures like device, ITE, and collection lists are not > freed. > > This may lead to

Re: [PATCH] watchdog: cpwd: Convert timers to use timer_setup()

2017-10-25 Thread Guenter Roeck
On 10/25/2017 03:32 AM, Kees Cook wrote: In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Switches to using the global that is used everywhere else. Cc:

Re: [PATCH] watchdog: cpwd: Convert timers to use timer_setup()

2017-10-25 Thread Guenter Roeck
On 10/25/2017 03:32 AM, Kees Cook wrote: In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Switches to using the global that is used everywhere else. Cc:

Re: [v2,2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-25 Thread Eric Long
Hi Guenter, Sorry for late reply, and thanks for your detail comments. On Sun, Oct 22, 2017 at 09:07:29AM -0700, Guenter Roeck wrote: > On Tue, Sep 12, 2017 at 07:40:09PM +0800, Eric Long wrote: > > This patch adds the watchdog driver for Spreadtrum SC9860 platform. > > > > Signed-off-by: Eric

Re: [v2,2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-25 Thread Eric Long
Hi Guenter, Sorry for late reply, and thanks for your detail comments. On Sun, Oct 22, 2017 at 09:07:29AM -0700, Guenter Roeck wrote: > On Tue, Sep 12, 2017 at 07:40:09PM +0800, Eric Long wrote: > > This patch adds the watchdog driver for Spreadtrum SC9860 platform. > > > > Signed-off-by: Eric

[PATCH] x86, calgary: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Muli Ben-Yehuda Cc: Jon Mason Cc: Thomas Gleixner

[PATCH] x86, calgary: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Muli Ben-Yehuda Cc: Jon Mason Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc:

Re: [PATCH] Input: gtco - fix potential out-of-bound access

2017-10-25 Thread Andrey Konovalov
On Tue, Oct 24, 2017 at 6:39 PM, Dmitry Torokhov wrote: > On Tue, Oct 24, 2017 at 01:04:03PM +0200, Andrey Konovalov wrote: >> On Tue, Oct 24, 2017 at 7:28 AM, Dmitry Torokhov >> wrote: >> > parse_hid_report_descriptor() has a while (i <

Re: [PATCH] Input: gtco - fix potential out-of-bound access

2017-10-25 Thread Andrey Konovalov
On Tue, Oct 24, 2017 at 6:39 PM, Dmitry Torokhov wrote: > On Tue, Oct 24, 2017 at 01:04:03PM +0200, Andrey Konovalov wrote: >> On Tue, Oct 24, 2017 at 7:28 AM, Dmitry Torokhov >> wrote: >> > parse_hid_report_descriptor() has a while (i < length) loop, which >> > only guarantees that there's at

Re: [PATCH 05/13] x86/paravirt: Move paravirt asm macros to paravirt-asm.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > The paravirt.h file is quite big and the asm interfaces for paravirt > don't need to be in the same file as the C interfaces. Move the asm > interfaces to a dedicated header file. > > Signed-off-by: Josh Poimboeuf Reviewed-by:

[PATCH] f2fs: fix to keep backward compatibility of flexible inline xattr feature

2017-10-25 Thread Chao Yu
Previously, in inode layout, we will always reserve 200 bytes for inline xattr space no matter the inode enables inline xattr feature or not, due to this reason, max inline size of inode is fixed, but now, if inline xattr is not enabled, max inline size of inode will be enlarged by 200 bytes, for

Re: [PATCH 05/13] x86/paravirt: Move paravirt asm macros to paravirt-asm.h

2017-10-25 Thread Juergen Gross
On 04/10/17 17:58, Josh Poimboeuf wrote: > The paravirt.h file is quite big and the asm interfaces for paravirt > don't need to be in the same file as the C interfaces. Move the asm > interfaces to a dedicated header file. > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross Juergen

[PATCH] f2fs: fix to keep backward compatibility of flexible inline xattr feature

2017-10-25 Thread Chao Yu
Previously, in inode layout, we will always reserve 200 bytes for inline xattr space no matter the inode enables inline xattr feature or not, due to this reason, max inline size of inode is fixed, but now, if inline xattr is not enabled, max inline size of inode will be enlarged by 200 bytes, for

[PATCH] watchdog: cpwd: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Switches to using the global that is used everywhere else. Cc: Wim Van Sebroeck Cc:

[PATCH] watchdog: cpwd: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Switches to using the global that is used everywhere else. Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc:

Re: [PATCH 0/2] KVM: fixes for the kernel-hardening tree

2017-10-25 Thread Christian Borntraeger
On 10/25/2017 11:45 AM, David Hildenbrand wrote: > On 23.10.2017 16:15, Paolo Bonzini wrote: >> On 23/10/2017 14:39, Cornelia Huck wrote: >>> On Mon, 23 Oct 2017 11:52:51 +0200 >>> David Hildenbrand wrote: >>> On 21.10.2017 01:25, Paolo Bonzini wrote: > Two KVM ioctls

Re: [PATCH v5 07/10] KVM: arm/arm64: vgic-its: New helper functions to free the caches

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:26 pm BST, Eric Auger wrote: > From: wanghaibin > > We create two new functions that free the device and > collection lists. They are currently called by vgic_its_destroy() > and other callers will be added in

Re: [PATCH 0/2] KVM: fixes for the kernel-hardening tree

2017-10-25 Thread Christian Borntraeger
On 10/25/2017 11:45 AM, David Hildenbrand wrote: > On 23.10.2017 16:15, Paolo Bonzini wrote: >> On 23/10/2017 14:39, Cornelia Huck wrote: >>> On Mon, 23 Oct 2017 11:52:51 +0200 >>> David Hildenbrand wrote: >>> On 21.10.2017 01:25, Paolo Bonzini wrote: > Two KVM ioctls

Re: [PATCH v5 07/10] KVM: arm/arm64: vgic-its: New helper functions to free the caches

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:26 pm BST, Eric Auger wrote: > From: wanghaibin > > We create two new functions that free the device and > collection lists. They are currently called by vgic_its_destroy() > and other callers will be added in subsequent patches. > > We also remove the check on

Re: [PATCH v5 07/10] KVM: arm/arm64: vgic-its: New helper functions to free the caches

2017-10-25 Thread Christoffer Dall
On Mon, Oct 23, 2017 at 04:08:26PM +0200, Eric Auger wrote: > From: wanghaibin > > We create two new functions that free the device and > collection lists. They are currently called by vgic_its_destroy() > and other callers will be added in subsequent patches. > > We

Re: [PATCH v5 07/10] KVM: arm/arm64: vgic-its: New helper functions to free the caches

2017-10-25 Thread Christoffer Dall
On Mon, Oct 23, 2017 at 04:08:26PM +0200, Eric Auger wrote: > From: wanghaibin > > We create two new functions that free the device and > collection lists. They are currently called by vgic_its_destroy() > and other callers will be added in subsequent patches. > > We also remove the check on

Re: [PATCH] bitmap: Fix optimization of bitmap_set/clear for big-endian machines

2017-10-25 Thread Michael Ellerman
Paul Mackerras writes: > On Wed, Oct 25, 2017 at 07:39:48AM +, Matthew Wilcox wrote: >> Hang on, don't tell me you found this by inspection. Are you not >> running the bitmap testcase, enabled by CONFIG_TEST_BITMAP? Either >> that should be producing an error, or there's a

Re: [PATCH] bitmap: Fix optimization of bitmap_set/clear for big-endian machines

2017-10-25 Thread Michael Ellerman
Paul Mackerras writes: > On Wed, Oct 25, 2017 at 07:39:48AM +, Matthew Wilcox wrote: >> Hang on, don't tell me you found this by inspection. Are you not >> running the bitmap testcase, enabled by CONFIG_TEST_BITMAP? Either >> that should be producing an error, or there's a missing test case,

[PATCH] leds: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Richard Purdie Cc: Jacek Anaszewski Cc: Pavel Machek

[PATCH] leds: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Richard Purdie Cc: Jacek Anaszewski Cc: Pavel Machek Cc: Willy Tarreau Cc:

[tip:locking/core] locking/atomics, net/netlink/netfilter: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 14cd5d4a0125f643350e7fa12f5384f1fc2d3e9d Gitweb: https://git.kernel.org/tip/14cd5d4a0125f643350e7fa12f5384f1fc2d3e9d Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:17 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, net/netlink/netfilter: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 14cd5d4a0125f643350e7fa12f5384f1fc2d3e9d Gitweb: https://git.kernel.org/tip/14cd5d4a0125f643350e7fa12f5384f1fc2d3e9d Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:17 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:00:59 +0200 locking/atomics,

Re: [PATCH net-next 2/2] net: dsa: lan9303: Learn addresses on CPU port when bridged

2017-10-25 Thread Egil Hjelmeland
On 24. okt. 2017 18:33, Andrew Lunn wrote: On Tue, Oct 24, 2017 at 11:35:15AM +0200, Egil Hjelmeland wrote: + */ +static inline int lan9303_tx_use_arl(struct dsa_port *dp, u8 *dest_addr) Hi Egil There is no need for the inline. The compiler will do that anyway, for a function like this. >

Re: [PATCH net-next 2/2] net: dsa: lan9303: Learn addresses on CPU port when bridged

2017-10-25 Thread Egil Hjelmeland
On 24. okt. 2017 18:33, Andrew Lunn wrote: On Tue, Oct 24, 2017 at 11:35:15AM +0200, Egil Hjelmeland wrote: + */ +static inline int lan9303_tx_use_arl(struct dsa_port *dp, u8 *dest_addr) Hi Egil There is no need for the inline. The compiler will do that anyway, for a function like this. >

[PATCH] s390/ap_bus: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Harald Freudenberger Cc: Martin Schwidefsky Cc: Heiko

[PATCH] s390/ap_bus: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Harald Freudenberger Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org

[tip:locking/core] locking/atomics, mm: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Paul E. McKenney
Commit-ID: b03a0fe0c5e4b46dcd400d27395b124499554a71 Gitweb: https://git.kernel.org/tip/b03a0fe0c5e4b46dcd400d27395b124499554a71 Author: Paul E. McKenney AuthorDate: Mon, 23 Oct 2017 14:07:25 -0700 Committer: Ingo Molnar CommitDate: Wed, 25

[tip:locking/core] locking/atomics, mm: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Paul E. McKenney
Commit-ID: b03a0fe0c5e4b46dcd400d27395b124499554a71 Gitweb: https://git.kernel.org/tip/b03a0fe0c5e4b46dcd400d27395b124499554a71 Author: Paul E. McKenney AuthorDate: Mon, 23 Oct 2017 14:07:25 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:06 +0200 locking/atomics, mm:

[tip:locking/core] locking/atomics, selftests/powerpc: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 564cbc87937d5de1b5b666b0ed68122d6c74fa07 Gitweb: https://git.kernel.org/tip/564cbc87937d5de1b5b666b0ed68122d6c74fa07 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:21 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, selftests/powerpc: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 564cbc87937d5de1b5b666b0ed68122d6c74fa07 Gitweb: https://git.kernel.org/tip/564cbc87937d5de1b5b666b0ed68122d6c74fa07 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:21 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:02 +0200 locking/atomics,

[PATCH] ia64: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. One less trivial change was removing the repeated casting for callers of bte_error_handler() by fixing its

[PATCH] ia64: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. One less trivial change was removing the repeated casting for callers of bte_error_handler() by fixing its

[tip:locking/core] locking/atomics, doc/filesystems: Convert ACCESS_ONCE() references

2017-10-25 Thread tip-bot for Paul E. McKenney
Commit-ID: 3587679d93d0b0e4c31e5a2ad1dffdfcb77e8526 Gitweb: https://git.kernel.org/tip/3587679d93d0b0e4c31e5a2ad1dffdfcb77e8526 Author: Paul E. McKenney AuthorDate: Mon, 23 Oct 2017 14:07:24 -0700 Committer: Ingo Molnar CommitDate: Wed, 25

[tip:locking/core] locking/atomics, doc/filesystems: Convert ACCESS_ONCE() references

2017-10-25 Thread tip-bot for Paul E. McKenney
Commit-ID: 3587679d93d0b0e4c31e5a2ad1dffdfcb77e8526 Gitweb: https://git.kernel.org/tip/3587679d93d0b0e4c31e5a2ad1dffdfcb77e8526 Author: Paul E. McKenney AuthorDate: Mon, 23 Oct 2017 14:07:24 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:05 +0200 locking/atomics,

[tip:locking/core] locking/atomics, workqueue: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: c95491ed6d6a958743d82bea1d053819988da418 Gitweb: https://git.kernel.org/tip/c95491ed6d6a958743d82bea1d053819988da418 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:22 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, workqueue: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: c95491ed6d6a958743d82bea1d053819988da418 Gitweb: https://git.kernel.org/tip/c95491ed6d6a958743d82bea1d053819988da418 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:22 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:03 +0200 locking/atomics,

Re: [PATCH] drm/i915/selftests: Convert timers to use timer_setup()

2017-10-25 Thread Chris Wilson
Quoting Chris Wilson (2017-10-24 17:17:09) > Quoting Kees Cook (2017-10-24 16:13:44) > > In preparation for unconditionally passing the struct timer_list pointer to > > all timer callbacks, switch to using the new timer_setup() and from_timer() > > to pass the timer pointer explicitly. > > > >

[tip:locking/core] locking/atomics, samples/mic/mpssd/mpssd.c: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 94bbc9c1a0b0967509f8ad91323245aad30572f7 Gitweb: https://git.kernel.org/tip/94bbc9c1a0b0967509f8ad91323245aad30572f7 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:20 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, samples/mic/mpssd/mpssd.c: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 94bbc9c1a0b0967509f8ad91323245aad30572f7 Gitweb: https://git.kernel.org/tip/94bbc9c1a0b0967509f8ad91323245aad30572f7 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:20 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:01 +0200 locking/atomics,

Re: [PATCH] drm/i915/selftests: Convert timers to use timer_setup()

2017-10-25 Thread Chris Wilson
Quoting Chris Wilson (2017-10-24 17:17:09) > Quoting Kees Cook (2017-10-24 16:13:44) > > In preparation for unconditionally passing the struct timer_list pointer to > > all timer callbacks, switch to using the new timer_setup() and from_timer() > > to pass the timer pointer explicitly. > > > >

[tip:locking/core] locking/atomics, rcutorture/formal: Prepare for ACCESS_ONCE() removal

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 5cd38016d0c88e3f67528c1a7380a6d5c90859e9 Gitweb: https://git.kernel.org/tip/5cd38016d0c88e3f67528c1a7380a6d5c90859e9 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:23 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, rcutorture/formal: Prepare for ACCESS_ONCE() removal

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: 5cd38016d0c88e3f67528c1a7380a6d5c90859e9 Gitweb: https://git.kernel.org/tip/5cd38016d0c88e3f67528c1a7380a6d5c90859e9 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:23 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:04 +0200 locking/atomics,

[tip:locking/core] locking/atomics, net/average: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: ef4d9af62f47e3070b00c3307a4d8eb5092bb9a2 Gitweb: https://git.kernel.org/tip/ef4d9af62f47e3070b00c3307a4d8eb5092bb9a2 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:19 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017

[tip:locking/core] locking/atomics, net/average: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()

2017-10-25 Thread tip-bot for Mark Rutland
Commit-ID: ef4d9af62f47e3070b00c3307a4d8eb5092bb9a2 Gitweb: https://git.kernel.org/tip/ef4d9af62f47e3070b00c3307a4d8eb5092bb9a2 Author: Mark Rutland AuthorDate: Mon, 23 Oct 2017 14:07:19 -0700 Committer: Ingo Molnar CommitDate: Wed, 25 Oct 2017 11:01:00 +0200 locking/atomics,

Re: [PATCH v5 08/10] KVM: arm/arm64: vgic-its: Free caches when GITS_BASER Valid bit is cleared

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:27 pm BST, Eric Auger wrote: > When the GITS_BASER.Valid gets cleared, the data structures in > guest RAM are not valid anymore. The device, collection > and LPI lists stored in the in-kernel ITS represent the same > information in some form of

Re: [PATCH v5 08/10] KVM: arm/arm64: vgic-its: Free caches when GITS_BASER Valid bit is cleared

2017-10-25 Thread Marc Zyngier
On Mon, Oct 23 2017 at 4:08:27 pm BST, Eric Auger wrote: > When the GITS_BASER.Valid gets cleared, the data structures in > guest RAM are not valid anymore. The device, collection > and LPI lists stored in the in-kernel ITS represent the same > information in some form of cache. So let's void

Re: [PATCH] sound: oss: waveartist: Convert timers to use timer_setup()

2017-10-25 Thread Takashi Iwai
On Wed, 25 Oct 2017 12:17:25 +0200, Kees Cook wrote: > > On Wed, Oct 25, 2017 at 3:06 AM, Takashi Iwai wrote: > > On Tue, 24 Oct 2017 22:07:34 +0200, > > Kees Cook wrote: > >> > >> On Tue, Oct 24, 2017 at 12:25 PM, Takashi Iwai wrote: > >> > On Tue, 24 Oct 2017

Re: [PATCH] sound: oss: waveartist: Convert timers to use timer_setup()

2017-10-25 Thread Takashi Iwai
On Wed, 25 Oct 2017 12:17:25 +0200, Kees Cook wrote: > > On Wed, Oct 25, 2017 at 3:06 AM, Takashi Iwai wrote: > > On Tue, 24 Oct 2017 22:07:34 +0200, > > Kees Cook wrote: > >> > >> On Tue, Oct 24, 2017 at 12:25 PM, Takashi Iwai wrote: > >> > On Tue, 24 Oct 2017 17:35:21 +0200, > >> > Kees Cook

<    6   7   8   9   10   11   12   13   14   15   >