Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-23 Thread David Miller
From: Konstantin Khlebnikov Date: Sun, 21 Feb 2016 10:11:02 +0300 > Currently initial net.ipv4.conf.all.* and net.ipv4.conf.default.* are > copied from init network namespace because static structures are used > for init_net. This makes no sense because new netns might be created > from any netns

Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:37 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:08PM -0600, Aravind Gopalakrishnan wrote: /* AMD-specific bits */ #define MCI_STATUS_DEFERRED (1ULL<<44) /* declare an uncorrected error */ #define MCI_STATUS_POISON (1ULL<<43) /* access poisonous data */ +#

Re: [PATCH] hpsa: update MAINTAINERS with new e-mail

2016-02-23 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread H. Peter Anvin
On 02/23/2016 03:08 PM, Luis R. Rodriguez wrote: > > OK yes I see the issue now. I've modified this to use const, and > retested the kprobe patch and it works well still. kprobe would not > use LINKTABLE_TEXT, instead it uses its own macro, however users of > LINKTABLE_TEXT would then have const d

Re: [PATCH v4] spi: master driver to enable RTC on ICPDAS LP-8841

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 01:44:28PM +0300, Sergei Ianovich wrote: > ICP DAS LP-8841 contains a DS-1302 RTC. This driver provides an SPI > master which makes the RTC usable. The driver is not supposed to work > with anything else. > > The driver uses the standard MicroWire half-duplex transfer timin

[PATCH v4 0/5] getcpu_cache system call for 4.6

2016-02-23 Thread Mathieu Desnoyers
Hi, Here is a patchset implementing a cache for the CPU number of the currently running thread in user-space. Benchmarks comparing this approach to a getcpu based on system call on ARM show a 44x speedup. They show a 14x speedup on x86-64 compared to executing lsl from a vDSO through glibc. I'm

[PATCH v4 4/5] getcpu_cache: x86 32/64 resume notifier

2016-02-23 Thread Mathieu Desnoyers
Call the getcpu_cache_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Signed-off-by: Mathieu Desnoyers CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter CC: Peter Zijlstra CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lamet

[PATCH v4 3/5] getcpu_cache: wire up ARM system call

2016-02-23 Thread Mathieu Desnoyers
Wire up the getcpu cache system call on 32-bit ARM. This provides an ABI improving the speed of a getcpu operation on ARM by skipping the getcpu system call on the fast path. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Tu

[PATCH v4 5/5] getcpu_cache: wire up x86 32/64 system call

2016-02-23 Thread Mathieu Desnoyers
Wire up the getcpu_cache system call on x86 32/64. This provides an ABI improving the speed of a getcpu operation on x86 by removing the need to perform a function call, "lsl" instruction, or system call on the fast path. Signed-off-by: Mathieu Desnoyers CC: Thomas Gleixner CC: Paul Turner CC:

[PATCH v4 2/5] getcpu_cache: ARM resume notifier

2016-02-23 Thread Mathieu Desnoyers
Call the getcpu_cache_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter CC: Peter Zijlstra CC: Andy Luto

[PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-02-23 Thread Mathieu Desnoyers
Expose a new system call allowing threads to register one userspace memory area where to store the CPU number on which the calling thread is running. Scheduler migration sets the TIF_NOTIFY_RESUME flag on the current thread. Upon return to user-space, a notify-resume handler updates the current CPU

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 01:54:57PM +0300, Sergei Ianovich wrote: > DS1302 is half-duplex SPI device. The driver respects this fact now. > > Pin configurations should be implemented using SPI subsystem. > > Signed-off-by: Sergei Ianovich > CC: Alexandre Belloni > CC: Rob Herring > >v6..v7

Re: [PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-23 Thread Stefan Agner
Any comments on this? Also added Manfred, Tomi and Boris to CC which previously attended in similar discussions. Previous discussions: http://thread.gmane.org/gmane.linux.kernel.api/12830 http://thread.gmane.org/gmane.comp.video.dri.devel/96240/ I think one of the main observation so far was tha

Re: [PATCH v3 1/2] mm: introduce page reference manipulation functions

2016-02-23 Thread Andrew Morton
On Tue, 23 Feb 2016 16:21:17 +0900 js1...@gmail.com wrote: > From: Joonsoo Kim > > Success of CMA allocation largely depends on success of migration > and key factor of it is page reference count. Until now, page reference > is manipulated by direct calling atomic functions so we cannot follow u

Re: [PATCH 2/2] device property: fix for a case of use-after-free

2016-02-23 Thread Rafael J. Wysocki
On Monday, February 22, 2016 05:04:04 PM Shevchenko, Andriy wrote: > On Mon, 2016-02-22 at 17:40 +0200, Andy Shevchenko wrote: > > On Mon, 2016-02-22 at 16:50 +0200, Heikki Krogerus wrote: > > > In device_remove_property_set(), if the primary fwnode is > > > of type "pset", it has to be set pointin

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 08:28:14PM +0200, Laurent Pinchart wrote: > Hi Javier, > > On Tuesday 23 February 2016 15:23:48 Javier Martinez Canillas wrote: > > On 02/23/2016 03:02 PM, Laurent Pinchart wrote: > > > On Tuesday 23 February 2016 13:27:51 Javier Martinez Canillas wrote: > > >> On 02/23/201

Re: [PATCH 0/2] device property: fix for couple of bugs

2016-02-23 Thread Rafael J. Wysocki
On Monday, February 22, 2016 04:50:39 PM Heikki Krogerus wrote: > Hi, > > The fwnode->secondary is causing problems when a property_set is > providing the primary fwnode. > > Both of these fixes are a bit clumsy looking IMO, but I didn't have > better ideas. I think the second one fixing the use-

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread Luis R. Rodriguez
On Tue, Feb 23, 2016 at 3:22 PM, H. Peter Anvin wrote: > On 02/23/2016 03:08 PM, Luis R. Rodriguez wrote: >> >> OK yes I see the issue now. I've modified this to use const, and >> retested the kprobe patch and it works well still. kprobe would not >> use LINKTABLE_TEXT, instead it uses its own mac

Re: [PATCH 1/6] dax: Use vmf->gfp_mask

2016-02-23 Thread Ross Zwisler
On Sun, Jan 31, 2016 at 11:19:50PM +1100, Matthew Wilcox wrote: > We were assuming that it was OK to do a GFP_KERNEL allocation in page > fault context. That appears to be largely true, but filesystems are > permitted to override that in their setting of mapping->gfp_flags, which > the VM then mas

Re: [UPDATE] [PATCH v3 1/5] ACPI / processor : add support for ACPI0010 processor container

2016-02-23 Thread Rafael J. Wysocki
On Wednesday, February 17, 2016 11:54:19 AM Sudeep Holla wrote: > ACPI 6.0 adds support for optional processor container device which may > contain child objects that are either processor devices or other processor > containers. This allows representing hierarchical processor topologies. > > It is

Re: [PATCH 2/3] ARM: omap1: avoid unused variable warning

2016-02-23 Thread Aaro Koskinen
On Tue, Feb 23, 2016 at 02:57:52PM +0100, Arnd Bergmann wrote: > The osk_mistral_init() contains code that is only compiled when > CONFIG_PM is set, but it uses a variable that is declared outside > of the #ifdef: > > arch/arm/mach-omap1/board-osk.c: In function 'osk_mistral_init': > arch/arm/mach

Re: [PATCH 3/3] ARM: omap1/ams-delta: warn about failed regulator enable

2016-02-23 Thread Aaro Koskinen
On Tue, Feb 23, 2016 at 02:57:53PM +0100, Arnd Bergmann wrote: > The modem pm handler in the ams-delta board uses regulator_enable() > but does not check for a successful return code: > > board-ams-delta.c:521:3: error: ignoring return value of 'regulator_enable', > declared with attribute warn_u

Re: [UPDATE] [PATCH v3 2/5] ACPI / sleep: move acpi_processor_sleep to sleep.c

2016-02-23 Thread Rafael J. Wysocki
On Wednesday, February 17, 2016 12:03:23 PM Sudeep Holla wrote: > acpi_processor_sleep is neither related nor used by CPUIdle framework. > It's used in system suspend/resume path as a syscore operation. It makes > more sense to move it to acpi/sleep.c where all the S-state transition > (a.k.a. Linu

Re: [PATCH] VMD: Attach vmd resources to parent domain's resource tree

2016-02-23 Thread Jon Derrick
On Tue, Feb 23, 2016 at 11:16:11PM +, Keith Busch wrote: > On Tue, Feb 23, 2016 at 02:50:13PM -0700, Jon Derrick wrote: > > This patch attaches the new VMD domain's resources to the VMD device's > > resources. This allows /proc/iomem to display a more complete picture. > > > > Before: > > c0

Re: [PATCH 3.14 35/37] serial: 8250_pci: Add support for 16 port Exar boards

2016-02-23 Thread Greg Kroah-Hartman
On Mon, Nov 23, 2015 at 03:23:02PM +0100, Soeren Grunewald wrote: > Dear Greg, > > Could you please also add upstream commit > 899f0c1c7dbcc487fdc8756a49ff70b1d5d75f89 > > There was a merge conflict in the 4-1.y tree with another back-ported patch. > But in 3.14 this shouldn't be the case. Now a

[PATCH 4/5] mtd: nand: gpmi: support NAND on i.MX6UL

2016-02-23 Thread Han Xu
From: Han Xu support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/g

[PATCH 2/5] mtd: nand: gpmi: document the clocks and clock-names in DT property

2016-02-23 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-n

[PATCH 0/5] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-02-23 Thread Han Xu
add support for gpmi nand on i.MX6UL and i.MX7D, document the related properties in DT and add the HW bitflip detection and correction for i.MX6QP and i.MX7D. The two document related patch are new and other three patches have no code change. Han Xu (5): mtd: nand: gpmi: add GPMI NAND support f

[PATCH 5/5] mtd: nand: gpmi: document the new supported chip in DT

2016-02-23 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index c

[PATCH 3/5] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-02-23 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nan

Re: [PATCH v3] sscanf: implement basic character sets

2016-02-23 Thread Rasmus Villemoes
On Tue, Feb 23 2016, Rasmus Villemoes wrote: > On that note, it seems that your field width handling is off-by-one. Sorry about that, it's me who's off-by-one. Rasmus > To get rid of the allocation, why not use a small bitmap? Something like > > { > char *s = (char *)va_arg(args, char *); >

Re: [PATCH V3] AHCI: Workaround for ThunderX Errata#22536

2016-02-23 Thread Tirumalesh Chalamarla
Hi Tejun, Any more comments on this? Thanks, Tirumalesh. On 02/16/2016 12:08 PM, tchalama...@caviumnetworks.com wrote: From: Tirumalesh Chalamarla Due to Errata in ThunderX, HOST_IRQ_STAT should be cleared before leaving the interrupt handler. The patch attempts to satisfy the need. Change

linux-next: manual merge of the pci tree with the pci-current tree

2016-02-23 Thread Stephen Rothwell
Hi Bjorn, Today's linux-next merge of the pci tree got a conflict in: drivers/pci/probe.c between commit: 788858ebc49a ("PCI: Look up IRQ domain by fwnode_handle") from the pci-current tree and commit: 5bd28338d681 ("PCI: Remove includes of empty asm-generic/pci-bridge.h") from the pci

Re: [PATCH v8 1/4] firmware: introduce sysfs driver for QEMU's fw_cfg device

2016-02-23 Thread Gabriel L. Somlo
On Tue, Feb 23, 2016 at 04:14:46PM +0200, Michael S. Tsirkin wrote: > On Tue, Feb 23, 2016 at 08:47:00AM -0500, Gabriel L. Somlo wrote: > > On Tue, Feb 23, 2016 at 07:07:36AM +0200, Michael S. Tsirkin wrote: > > > On Mon, Feb 22, 2016 at 03:26:23PM -0500, Gabriel L. Somlo wrote: > > > > On Mon, Feb

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread H. Peter Anvin
On 02/23/2016 03:36 PM, Luis R. Rodriguez wrote: > >> 4. the only useful operator on a range is "is address X inside this >>range"; this operator is likely *not* useful for a table, since >>if you have to ever invoke it you are probably doing something very >>wrong. > > kprobe uses it

[PATCH v3] arm64: Add workaround for Cavium erratum 27456

2016-02-23 Thread David Daney
From: Andrew Pinski On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI instructions may cause the icache to become corrupted if it contains data for a non-current ASID. This patch implements the workaround (which flushes the local icache when switching the mm) by using code patching. Si

Re: [RFC PATCH 00/27] Move LRU page reclaim from zones to nodes v2

2016-02-23 Thread Johannes Weiner
On Tue, Feb 23, 2016 at 09:58:59PM +, Mel Gorman wrote: > On Tue, Feb 23, 2016 at 12:59:15PM -0800, Johannes Weiner wrote: > > The problem is that kswapd will stay awake and continuously draw > > subsequent allocations into a single zone, thus utilizing only a > > fraction of available memory.

Re: [PATCH 1/4] soc: rockchip: add bindings for Rockchip grf

2016-02-23 Thread Jianqun Xu
Hi Rob 在 24/02/2016 06:15, Rob Herring 写道: On Tue, Feb 23, 2016 at 03:01:01PM +0800, jianqun.xu wrote: From: Jianqun Xu Add devicetree bindings for Rockchip grf which found on Rockchip SoCs. Signed-off-by: Jianqun Xu --- changes in v2: - add grf.txt (Heiko) .../devicetree/bindings/soc/ro

Re: [PATCH] Re: Broken userspace crypto in linux-4.1.18

2016-02-23 Thread Thomas D.
Hi, I have applied Milan's patch on top of 4.1.18. I can reboot and open all of my LUKS-encrypted disks. "cryptsetup benchmark" also works. However, don't we need all the recent changes from "crypto/algif_skcipher.c", too? -Thomas

[ANNOUNCE] sdparm 1.10 available

2016-02-23 Thread Douglas Gilbert
sdparm is a command line utility designed to get and set SCSI device parameters (cf hdparm for ATA disks). The parameters are held in mode pages. Apart from SCSI devices (e.g. disks, tapes and enclosures) sdparm can be used on any device that uses a SCSI command set. sdparm also can decode VPD pag

Re: [PATCH RESEND 2/2] usb: dwc2: Move host-specific core functions into hcd.c

2016-02-23 Thread Doug Anderson
John, On Tue, Feb 23, 2016 at 1:33 PM, John Youn wrote: > +u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) You seem to have lost the function comments for dwc2_calc_frame_interval(). Was that intentional? If not, can you add them back? > +/** > + * dwc2_hc_do_ping() - Starts a PING t

Re: [PATCH RESEND 1/2] usb: dwc2: Move register save and restore functions

2016-02-23 Thread Doug Anderson
John, On Tue, Feb 23, 2016 at 1:33 PM, John Youn wrote: > Move the register save and restore functions into the host and gadget > specific files. > > Signed-off-by: John Youn > --- > drivers/usb/dwc2/core.c | 183 > -- > drivers/usb/dwc2/core.h |

[PATCH] arm64/efi: check SetupMode when determining Secure Boot status

2016-02-23 Thread Linn Crosetto
According to the UEFI specification, the platform is operating in secure boot mode if SetupMode is 0 and SecureBoot is 1, and cannot operate in secure boot mode if SetupMode is set to 1. Check the value of SetupMode when determining the state of Secure Boot. Signed-off-by: Linn Crosetto --- driv

Re: [PATCH v2] mm: scale kswapd watermarks in proportion to memory

2016-02-23 Thread Johannes Weiner
On Mon, Feb 22, 2016 at 06:23:19PM -0800, David Rientjes wrote: > On Mon, 22 Feb 2016, Johannes Weiner wrote: > > > In machines with 140G of memory and enterprise flash storage, we have > > seen read and write bursts routinely exceed the kswapd watermarks and > > cause thundering herds in direct r

[patch] mm, mempool: only set __GFP_NOMEMALLOC if there are free elements

2016-02-23 Thread David Rientjes
If an oom killed thread calls mempool_alloc(), it is possible that it'll loop forever if there are no elements on the freelist since __GFP_NOMEMALLOC prevents it from accessing needed memory reserves in oom conditions. Only set __GFP_NOMEMALLOC if there are elements on the freelist. If there are

Re: [PATCH v6 0/3] Add host controller drivers for Cavium ThunderX PCI

2016-02-23 Thread David Daney
Bjorn, I haven't seen any feedback on this revision of the patch set. Are there any remaining issues that you are aware of that are blocking these? Thanks in advance, David Daney On 02/08/2016 03:55 PM, David Daney wrote: From: David Daney Some Cavium ThunderX processors require quirky a

Re: [PATCH v2] mm: scale kswapd watermarks in proportion to memory

2016-02-23 Thread David Rientjes
On Mon, 22 Feb 2016, Johannes Weiner wrote: > In machines with 140G of memory and enterprise flash storage, we have > seen read and write bursts routinely exceed the kswapd watermarks and > cause thundering herds in direct reclaim. Unfortunately, the only way > to tune kswapd aggressiveness is thr

[RESEND PATCH] clk: rockchip: include downstream muxes into fractional dividers on rk3368

2016-02-23 Thread Elaine Zhang
During the initial conversion to the newly introduced combined fractional dividers+muxes the rk3368 clocks were left out, so convert them now. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3368.c | 97 --- 1 file changed, 60 insertions(+), 37 dele

Re: [PATCH 3.2 00/67] 3.2.78-rc1 review

2016-02-23 Thread Ben Hutchings
This is the combined diff for 3.2.78-rc1 relative to 3.2.77. Ben. -- Ben Hutchings Beware of programmers who carry screwdrivers. - Leonard Brandwein diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt index b318a7848add..b9cea8fe47f0 100644 --- a/Documentation/sysctl/fs.txt ++

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-23 Thread Sai Praneeth Prakhya
On Tue, 2016-02-23 at 09:47 -0800, Andy Lutomirski wrote: > On Feb 23, 2016 1:09 AM, <"tip-bot for Sai Praneeth > "@zytor.com> wrote: > > Something's wrong with tip-bot. This should say: > > > commit 397630150632639b3ca5b4414accd5011c45e276 > Author: Sai Praneeth > Date: We

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread Luis R. Rodriguez
On Tue, Feb 23, 2016 at 04:06:55PM -0800, H. Peter Anvin wrote: > On 02/23/2016 03:36 PM, Luis R. Rodriguez wrote: > > > >> 4. the only useful operator on a range is "is address X inside this > >>range"; this operator is likely *not* useful for a table, since

Re: call_usermodehelper in containers

2016-02-23 Thread Ian Kent
On Tue, 2016-02-23 at 09:36 -0500, J. Bruce Fields wrote: > On Tue, Feb 23, 2016 at 10:55:30AM +0800, Ian Kent wrote: > > You know, wrt. the mechanism Oleg suggested, I've been wondering if > > it's > > even necessary to capture process template information for > > execution. > > > > Isn't the mai

Re: [PATCH v4 3/5] getcpu_cache: wire up ARM system call

2016-02-23 Thread kbuild test robot
Hi Mathieu, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.5-rc5] [cannot apply to next-20160223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Mathieu-Desnoyers

linux-next: build failure after merge of the mac80211-next tree

2016-02-23 Thread Stephen Rothwell
t run time. I think that you might need: static const char * const rfkill_types[NUM_RFKILL_TYPES] I have used the mac80211-next from next-20160223 for today. -- Cheers, Stephen Rothwell

Re: 4.4.1 skb_warn_bad_offload+0xc5/0x110

2016-02-23 Thread Wakko Warner
Please keep me in CC. Hannes Frederic Sowa wrote: > [full-quote for netdev] > > Hello, > > On 16.02.2016 01:08, Wakko Warner wrote: > >I've been seeing the following on some of my VMs ran under qemu. The VMs do > >not have internet connectivity. This happened when some files were accessed > >v

[PATCH v4 (updated)] getcpu_cache: wire up ARM system call

2016-02-23 Thread Mathieu Desnoyers
Wire up the getcpu cache system call on 32-bit ARM. This provides an ABI improving the speed of a getcpu operation on ARM by skipping the getcpu system call on the fast path. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Tu

[genirq] aff62cf66a: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2016-02-23 Thread kernel test robot
This is a multi-part message in MIME format. Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core commit aff62cf66ad6065ce04fc3454a11ec19714537fb Author: Daniel Lezcano AuthorDate: Thu Jan 1

[slab] a1fd55538c: WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2601 trace_hardirqs_on_caller()

2016-02-23 Thread kernel test robot
This is a multi-part message in MIME format. Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit a1fd55538cae9f411059c9b067a3d48c41aa876b Author: Jesper Dangaard Brouer AuthorD

[PATCHv2] net: fix bridge multicast packet checksum validation

2016-02-23 Thread Linus Lüssing
We need to update the skb->csum after pulling the skb, otherwise an unnecessary checksum (re)computation can ocure for IGMP/MLD packets in the bridge code. Additionally this fixes the following splats for network devices / bridge ports with support for and enabled RX checksum offloading: [...] [

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-23 Thread Bjorn Helgaas
On Tue, Feb 23, 2016 at 02:47:22AM +, Gabriele Paoloni wrote: > > -Original Message- > > From: Gabriele Paoloni > > Sent: 10 February 2016 22:45 > > To: Mark Rutland > > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > > qiujiang; bhelg...@google.com; a...@arndb.de

Re: [lkp] [printk] 34578dc67f: EIP is at vprintk_emit+0x1ea/0x600

2016-02-23 Thread Sergey Senozhatsky
Hello, Cc Rob, Frank, Grant On (02/24/16 00:53), Sergey Senozhatsky wrote: [..] > 284 [0.00] per task-struct memory footprint: 2112 bytes > 285 [0.00] per task-struct memory footprint: 2112 bytes > 286 [0.00] > 287 [0.00] ---

[RFC/RFT][PATCH v2 0/2] cpufreq: New governor based on scheduler-provided utilization data

2016-02-23 Thread Rafael J. Wysocki
On Monday, February 22, 2016 12:16:11 AM Rafael J. Wysocki wrote: > Hi Everyone, > > Usually, I don't send introductory messages for single patches, but this > one is an exception, because I didn't want to put all of my considerations > into the patch changelog. > > So I have been told for a few

[RFC/RFT][PATCH v2 2/2] cpufreq: schedutil: Switching frequencies from interrupt context

2016-02-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core and the schedutil governor to use that method if available. Introduce a new cpufreq driver callback, ->fast_switch, to be invoked for freque

[RFC/RFT][PATCH v2 1/2] cpufreq: New governor using utilization data from the scheduler

2016-02-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new cpufreq scaling governor, called "schedutil", that uses scheduler-provided CPU utilization information as input for making its decisions. Doing that is possible after commit fe7034338ba0 (cpufreq: Add mechanism for registering utilization update callbacks) that

Re: [RFC/RFT][PATCH 1/1] cpufreq: New governor using utilization data from the scheduler

2016-02-23 Thread Rafael J. Wysocki
On Monday, February 22, 2016 11:20:33 PM Steve Muckle wrote: > On 02/22/2016 03:02 PM, Rafael J. Wysocki wrote: > >> I guess the first (macro) question is why did you decide to go with a > >> complete new governor, where new here is w.r.t. the sched-freq solution. > > > > Probably the most compreh

Re: [PATCH v4 0/5] getcpu_cache system call for 4.6

2016-02-23 Thread H. Peter Anvin
On 02/23/2016 03:28 PM, Mathieu Desnoyers wrote: > Hi, > > Here is a patchset implementing a cache for the CPU number of the > currently running thread in user-space. > > Benchmarks comparing this approach to a getcpu based on system call on > ARM show a 44x speedup. They show a 14x speedup on x8

[PATCH] mm: readahead: do not cap readahead() and MADV_WILLNEED

2016-02-23 Thread Johannes Weiner
All readahead is currently capped to a maximum of the device readahead limit, which defaults to 128k. For heuristics-based readahead this makes perfect sense, too, but unfortunately the limit is also applied to the explicit readahead() or madvise(MADV_WILLNEED) syscalls, and 128k is an awfully low

Re: [PATCHv2] net: fix bridge multicast packet checksum validation

2016-02-23 Thread kbuild test robot
Hi Linus, [auto build test ERROR on net/master] [also build test ERROR on v4.5-rc5 next-20160223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Linus-L-ssing/net-fix-bridge-multicast-packet

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread H. Peter Anvin
On 02/23/2016 01:49 PM, Eric W. Biederman wrote: > > So I could really respect a patch header line that said: > tree abcdef0123456789...0123456789abcdef > > Where the numbers where the truncated tree hash before and after a patch > was applied. That would seem to give a little bit of extra sanit

[PATCH] include/linux: Fix misspellings in comments.

2016-02-23 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder --- include/linux/amba/mmci.h| 2 +- include/linux/bio.h | 2 +- include/linux/bpf.h | 2 +- include/linux/cgroup-defs.h | 2 +- include/linux/clk/ti.h |

Re: 4.4.1 skb_warn_bad_offload+0xc5/0x110

2016-02-23 Thread Wakko Warner
Please keep me in CC. Wakko Warner wrote: > > Hannes Frederic Sowa wrote: > > [full-quote for netdev] > > > > Hello, > > > > On 16.02.2016 01:08, Wakko Warner wrote: > > >I've been seeing the following on some of my VMs ran under qemu. The VMs > > >do > > >not have internet connectivity. Thi

[PATCH] ext4: Fix misspellings in comments.

2016-02-23 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder --- fs/ext4/ext4_extents.h | 2 +- fs/ext4/extents.c | 2 +- fs/ext4/ialloc.c | 2 +- fs/ext4/mballoc.c | 2 +- fs/ext4/migrate.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/ext4/ext4_extents.h b/fs/ext4/ext4_extent

Re: [PATCH v10 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-02-23 Thread Rafael J. Wysocki
On Tuesday, February 23, 2016 11:10:07 AM Juri Lelli wrote: > On 22/02/16 22:41, Rafael J. Wysocki wrote: > > On Mon, Feb 22, 2016 at 10:42 AM, Juri Lelli wrote: > > > Hi Rafael, > > > > > > On 19/02/16 23:26, Rafael J. Wysocki wrote: > > >> On Friday, February 19, 2016 05:26:04 PM Juri Lelli wrot

Re: [PATCH v10 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-02-23 Thread Rafael J. Wysocki
On Tuesday, February 23, 2016 11:01:18 AM Juri Lelli wrote: > On 22/02/16 22:26, Rafael J. Wysocki wrote: > > On Mon, Feb 22, 2016 at 10:32 AM, Juri Lelli wrote: > > > On 19/02/16 23:14, Rafael J. Wysocki wrote: > > >> On Friday, February 19, 2016 08:09:17 AM Juri Lelli wrote: > > >> > Hi Rafael,

Re: [PATCH v3 1/3] lib/percpu-list: Per-cpu list with associated per-cpu locks

2016-02-23 Thread Boqun Feng
Hi Waiman, On Tue, Feb 23, 2016 at 02:04:30PM -0500, Waiman Long wrote: > Linked list is used everywhere in the Linux kernel. However, if many > threads are trying to add or delete entries into the same linked list, > it can create a performance bottleneck. > > This patch introduces a new per-cpu

Re: [PATCH 10/48] perf tools: Introduce bpf-output event

2016-02-23 Thread Wangnan (F)
On 2016/2/24 1:45, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 22, 2016 at 09:10:37AM +, Wang Nan escreveu: Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program output data to perf ring buffer through a new type

Re: [PATCH] hpsa: update MAINTAINERS with new e-mail

2016-02-23 Thread Martin K. Petersen
> "Don" == Don Brace writes: Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 10/48] perf tools: Introduce bpf-output event

2016-02-23 Thread Wangnan (F)
On 2016/2/24 9:58, Wangnan (F) wrote: On 2016/2/24 1:45, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 22, 2016 at 09:10:37AM +, Wang Nan escreveu: Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program output dat

Re: [PATCH 01/10] mtip32xx: Abort secure erase when drive is mounted

2016-02-23 Thread Asai Thambi SP
On 2/23/2016 8:11 AM, Jens Axboe wrote: > On Mon, Feb 22 2016, Asai Thambi SP wrote: >> >> To avoid erasing a device with a mounted filesystem, try to get exclusive >> access to the blkdev object corresponding to the device. > > I don't think this needs to be in the kernel, why not just check from

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-23 Thread H. Peter Anvin
On February 23, 2016 10:08:06 AM PST, Linus Torvalds wrote: >On Tue, Feb 23, 2016 at 9:47 AM, Andy Lutomirski >wrote: >> On Feb 23, 2016 1:09 AM, <"tip-bot for Sai Praneeth >> "@zytor.com> wrote: >> >> Something's wrong with tip-bot. This should say: > >Yeah, there's about 50

Re: [PATCH 00/10] mtip32xx: various fixes

2016-02-23 Thread Asai Thambi SP
On 2/23/2016 8:14 AM, Jens Axboe wrote: > On Mon, Feb 22 2016, Asai Thambi SP wrote: >> Hi Jens, >> >> This patchset includes various fixes for mtip32xx driver, tested >> on kernel 4.5-rc3 >> >> Selvan Mani (10): >> mtip32xx: Abort secure erase when drive is mounted >> mtip32xx: Fix broken ser

Re: [PATCH 01/10] mtip32xx: Abort secure erase when drive is mounted

2016-02-23 Thread Jens Axboe
On 02/23/2016 07:08 PM, Asai Thambi SP wrote: On 2/23/2016 8:11 AM, Jens Axboe wrote: On Mon, Feb 22 2016, Asai Thambi SP wrote: To avoid erasing a device with a mounted filesystem, try to get exclusive access to the blkdev object corresponding to the device. I don't think this needs to be i

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-23 Thread H. Peter Anvin
On February 23, 2016 6:09:19 PM PST, "H. Peter Anvin" wrote: >On February 23, 2016 10:08:06 AM PST, Linus Torvalds > wrote: >>On Tue, Feb 23, 2016 at 9:47 AM, Andy Lutomirski >>wrote: >>> On Feb 23, 2016 1:09 AM, <"tip-bot for Sai Praneeth >>> "@zytor.com> wrote: >>> >>> Somethi

[PATCH 0/8] nfit, libnvdimm: async address range scrub

2016-02-23 Thread Dan Williams
Given the capacities of next generation persistent memory devices a scrub operation to find all poison may take 10s of seconds. We want this scrub work to be done asynchronously with the rest of system initialization, so we move it out of line from the NFIT probing, i.e. acpi_nfit_add(). However,

[PATCH 1/8] libnvdimm, nfit: centralize command status translation

2016-02-23 Thread Dan Williams
The return value from an 'ndctl_fn' reports the command execution status, i.e. was the command properly formatted and was it successfully submitted to the bus provider. The new 'cmd_rc' parameter allows the bus provider to communicate command specific results, translated into common error codes.

Re: [v2 PATCH 1/3] scsi:stex.c Support to Pegasus series.

2016-02-23 Thread Martin K. Petersen
> "Charles" == Charles Chiou writes: Charles> Pegasus is a high performace hardware RAID solution designed to Charles> unleash the raw power of Thunderbolt technology. Applied patches 1-3 to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH 2/8] libnvdimm: protect nvdimm_{bus|namespace}_add_poison() with nvdimm_bus_lock()

2016-02-23 Thread Dan Williams
In preparation for making poison list retrieval asynchronus to region registration, add protection for walking and mutating the bus-level poison list. Cc: Vishal Verma Signed-off-by: Dan Williams --- drivers/nvdimm/core.c | 101 +++-- 1 file changed,

[PATCH 8/8] tools/testing/nvdimm: expand ars unit testing

2016-02-23 Thread Dan Williams
Simulate platform-firmware-initiated and asynchronous scrub results. This injects poison in the middle of all nfit_test pmem address ranges. Signed-off-by: Dan Williams --- tools/testing/nvdimm/test/nfit.c | 112 +++--- 1 file changed, 90 insertions(+), 22 deleti

[PATCH 7/8] nfit: disable userspace initiated ars during scrub

2016-02-23 Thread Dan Williams
While the nfit driver is issuing address range scrub commands and reaping the results do not permit an ars_start command issued from userspace. The scrub thread assumes that all ars completions are for scrubs initiated by platform firmware at boot, or by the nfit driver. Signed-off-by: Dan Willia

[PATCH 6/8] nfit: scrub and register regions in a workqueue

2016-02-23 Thread Dan Williams
Address range scrub is a potentially long running process that we want to complete before any pmem regions are registered. Perform this operation asynchronously to allow other drivers to load in the meantime. Platform firmware may have initiated a partial scrub prior to the driver loading, so we

[PATCH 3/8] libnvdimm: async notification support

2016-02-23 Thread Dan Williams
In preparation for asynchronous address range scrub support add an ability for the pmem driver to dynamically consume address range scrub results. Signed-off-by: Dan Williams --- drivers/nvdimm/bus.c| 26 ++ drivers/nvdimm/nd.h |2 ++ drivers/nvdimm/pmem.c

[PATCH 4/8] nfit, tools/testing/nvdimm: unify common init for acpi_nfit_desc

2016-02-23 Thread Dan Williams
The nvdimm unit test infrastructure performs its own initialization of an acpi_nfit_desc to specify test overrides over the native implementation. Make it clear which attributes and operations it is overriding by re-using acpi_nfit_init_desc() as a common starting point. Signed-off-by: Dan Willia

[PATCH 5/8] nfit, libnvdimm: async region scrub workqueue

2016-02-23 Thread Dan Williams
Introduce a workqueue that will be used to run address range scrub asynchronously with the rest of nvdimm device probing. Userspace still wants notification when probing operations complete, so introduce a new callback to flush this workqueue when userspace is awaiting probe completion. Signed-of

Re: [PATCH] Re: Broken userspace crypto in linux-4.1.18

2016-02-23 Thread Greg KH
On Wed, Feb 24, 2016 at 01:10:55AM +0100, Thomas D. wrote: > Hi, > > I have applied Milan's patch on top of 4.1.18. I can reboot and open all > of my LUKS-encrypted disks. "cryptsetup benchmark" also works. > > However, don't we need all the recent changes from > "crypto/algif_skcipher.c", too?

Re: [PATCH v6 7/7] clk: mediatek: Enable critical clocks for MT2701

2016-02-23 Thread James Liao
Hi Mike, On Mon, 2016-02-15 at 17:50 +0800, James Liao wrote: > On Thu, 2016-02-11 at 13:35 -0800, Michael Turquette wrote: > > Hi James, > > > > Quoting James Liao (2016-02-05 01:37:30) > > > Some system clocks should be turned on by default on MT2701. > > > This patch enable these clocks when r

Re: [PATCH 3/4] sched/deadline: Tracepoints for deadline scheduler

2016-02-23 Thread Daniel Bristot de Oliveira
On 02/23/2016 07:44 AM, Peter Zijlstra wrote: > Now ideally we'd do something like the below, but because trainwreck, we > cannot actually do this I think :-( Some other considerations: 1) The majority of tasks run on NORMAL scheduler with default nice. So, prev=NORMAL:{0,0,0} and next=NORMAL:{

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread Fengguang Wu
Hi Eric, On Tue, Feb 23, 2016 at 01:56:07PM -0600, Eric W. Biederman wrote: > > Fengguag Wu, Xiaolong Ye, have you attempted to use the truncated > sha1 of the file the patch applies to? Git already places a file sha1 > at the top of a patch. See the index line? > > > diff --git a/fs/namespace

Re: [PATCH] mm: readahead: do not cap readahead() and MADV_WILLNEED

2016-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2016 at 5:38 PM, Johannes Weiner wrote: > > Since both readahead() and MADV_WILLNEED take an explicit length > parameter, it seems weird to truncate that request quietly. Just do > what the user asked for and leave the limiting to the heuristics. Why the hell do people continue to

linux-next: manual merge of the kvm-arm tree with the arm64 tree

2016-02-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in: arch/arm64/include/asm/kvm_host.h between commit: a0bf9776cd0b ("arm64: kvm: deal with kernel symbols outside of linear mapping") from the arm64 tree and commit: 67aaab4cff18 ("arm64: KVM: Move __cpu_init_stage2 af

Re: [PATCH 01/10] mtip32xx: Abort secure erase when drive is mounted

2016-02-23 Thread Asai Thambi SP
On 2/23/2016 6:14 PM, Jens Axboe wrote: > On 02/23/2016 07:08 PM, Asai Thambi SP wrote: >> On 2/23/2016 8:11 AM, Jens Axboe wrote: >>> On Mon, Feb 22 2016, Asai Thambi SP wrote: To avoid erasing a device with a mounted filesystem, try to get exclusive access to the blkdev object cor

<    4   5   6   7   8   9   10   11   12   13   >