[PATCH] stmmac: ipq806x: Return error values instead of pointers

2015-12-02 Thread Stephen Boyd
Typically we return error pointers when we want to use those pointers in the non-error case, but this function is just returning error pointers or NULL for success. Change the style to plain int to follow normal kernel coding styles. Cc: Joachim Eastwood Signed-off-by: Stephen Boyd ---

[PATCH] ASoC: mediatek: Use current HW pointer for pointer callback

2015-12-02 Thread Koro Chen
Previously we recorded "last interrupt position" and used it in pointer callback. This is not correct implementation, and it causes underruns when user space monitors buffer level to decide when to send next data chunk in low latency application. Remove position recording in IRQ handler and also

RE: [PATCH 1/4] EDAC: add DDR4 flag

2015-12-02 Thread Anaczkowski, Lukasz
-Original Message- From: Borislav Petkov [mailto:b...@alien8.de] Sent: Wednesday, December 2, 2015 8:28 PM To: Chrzaniuk, Hubert Cc: Anaczkowski, Lukasz ; mche...@osg.samsung.com; dougthomp...@xmission.com; linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; Snow, Jim M Subject:

Re: [PATCH v2 1/1] atm: solos-pci: Replace simple_strtol by kstrtoint

2015-12-02 Thread LABBE Corentin
On Wed, Dec 02, 2015 at 05:02:19PM +0300, Sergei Shtylyov wrote: > Hello. > > On 12/2/2015 3:54 PM, LABBE Corentin wrote: > > > The simple_strtol function is obsolete. > > This patch replace it by kstrtoint. > > This will simplify code, since some error case not handled by > > simple_strtol are

Re: [PATCH] Improve Atheros ethernet driver not to do order 4 GFP_ATOMIC allocation

2015-12-02 Thread Pavel Machek
On Wed 2015-12-02 22:43:31, Chris Snook wrote: > On Tue, Dec 1, 2015 at 12:35 PM David Miller wrote: > > > From: Michal Hocko > > Date: Mon, 30 Nov 2015 14:21:29 +0100 > > > > > On Sat 28-11-15 15:51:13, Pavel Machek wrote: > > >> > > >> atl1c driver is doing order-4 allocation with GFP_ATOMIC

Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled

2015-12-02 Thread Peter Rosin
Hi! If I enable CONFIG_CPU_SW_DOMAIN_PAN, I sometimes (but not always) get the following (or very similar) on boot. Cheers, Peter Unhandled fault: page domain fault (0x81b) at 0x00086578 pgd = c281 [00086578] *pgd=22819831, *pte=224fe34f, *ppte=224fe83f Internal error: : 81b [#1] ARM

Re: [PATCH] clk: qcom: common: check for failure

2015-12-02 Thread Stephen Boyd
On 12/01, Sudip Mukherjee wrote: > We were not checking the return from devm_add_action() which can fail. > > Signed-off-by: Sudip Mukherjee > --- > drivers/clk/qcom/common.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/drivers/clk/qcom/common.c

Re: linux-next: build failure after merge of the block tree

2015-12-02 Thread Christoph Hellwig
On Wed, Dec 02, 2015 at 02:27:40PM -0700, Jens Axboe wrote: > On 12/02/2015 02:14 PM, Keith Busch wrote: >> On Wed, Dec 02, 2015 at 02:07:34PM -0700, Jens Axboe wrote: >>> Christoph, for-4.5/nvme also fails if integrity isn't enabled: >> >> I forgot about this since I've merged this in my repo to

Re: [PATCH v2] clk: sunxi: pll2: Fix clock running too fast

2015-12-02 Thread Stephen Boyd
On 12/01, Maxime Ripard wrote: > Contrary to what the datasheet says, the pre divider doesn't seem to be > incremented by one in the PLL2, but just uses the value from the register, > with 0 being a bypass. > > This fixes the audio playing too fast. > > Since we now have the same pre-divider

[PATCH v3 0/7] mm/compaction: redesign compaction: part1

2015-12-02 Thread Joonsoo Kim
Major changes from v2: o Split patchset into two parts, one is for replacing compaction deferring with compaction limit and the other is for changing scanner activity o Add some fixes and cleanup for current defer logic o Fix opposite direction problem in "skip useless pfn when..." patch o Reuse

[PATCH v3 3/7] mm/compaction: initialize compact_order_failed to MAX_ORDER

2015-12-02 Thread Joonsoo Kim
If compact_order_failed is initialized to 0 and order-9 compaction is continually failed, defer counter will be updated to activate deferring. Although other defer counters will be properly updated, compact_order_failed will not be updated because failed order cannot be lower than

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Namhyung Kim [mailto:namhy...@kernel.org] > >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: >> >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim >> > >> >Backtrace is a crucial info for debugging. And upcoming refcnt >> >tracking facility

[PATCH v3 4/7] mm/compaction: update defer counter when allocation is expected to succeed

2015-12-02 Thread Joonsoo Kim
It's rather strange that compact_considered and compact_defer_shift aren't updated but compact_order_failed is updated when allocation is expected to succeed. Regardless actual allocation success, deferring for current order will be disabled so it doesn't result in much difference to compaction

[PATCH v3 6/7] mm/compaction: introduce migration scan limit

2015-12-02 Thread Joonsoo Kim
This is preparation step to replace compaction deferring with compaction limit. Whole reason why we need to replace it will be mentioned in the following patch. In this patch, migration_scan_limit is assigned and accounted, but, not checked to finish. So, there is no functional change.

[PATCH v3 7/7] mm/compaction: replace compaction deferring with compaction limit

2015-12-02 Thread Joonsoo Kim
Compaction deferring effectively reduces compaction overhead if compaction success isn't expected. But, it is implemented that skipping a number of compaction requests until compaction is re-enabled. Due to this implementation, unfortunate compaction requestor will get whole compaction overhead

[PATCH v3 2/7] mm/compaction: remove unused defer_compaction() in compaction.h

2015-12-02 Thread Joonsoo Kim
It's not used externally. Remove it in compaction.h. Signed-off-by: Joonsoo Kim --- include/linux/compaction.h | 1 - mm/compaction.c| 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/compaction.h b/include/linux/compaction.h index 4cd4ddf..359b07a

[PATCH v3 5/7] mm/compaction: respect compaction order when updating defer counter

2015-12-02 Thread Joonsoo Kim
It doesn't make sense that we reset defer counter in compaction_defer_reset() when compaction request under the order of compact_order_failed succeed. Fix it. And, it does make sense that giving enough chance for updated failed order compaction before deferring. Change it. Signed-off-by: Joonsoo

[PATCH v3 1/7] mm/compaction: skip useless pfn when updating cached pfn

2015-12-02 Thread Joonsoo Kim
Cached pfn is used to determine the start position of scanner at next compaction run. Current cached pfn points the skipped pageblock so we uselessly checks whether pageblock is valid for compaction and skip-bit is set or not. If we set scanner's cached pfn to next pfn of skipped pageblock, we

[PATCH v5] clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver

2015-12-02 Thread Chen-Yu Tsai
The APBS clock on sun9i is the same as the APB0 clock on sun8i. With sun9i we are supporting the PRCM clocks by using CLK_OF_DECLARE, instead of through a PRCM mfd device and subdevices for each clock and reset control. As such we need a CLK_OF_DECLARE version of the sun8i-a23-apb0-clk driver.

Re: [PATCH V2] mm/hugetlb resv map memory leak for placeholder entries

2015-12-02 Thread Hillf Danton
> > Dmitry Vyukov reported the following memory leak > > unreferenced object 0x88002eaafd88 (size 32): > comm "a.out", pid 5063, jiffies 4295774645 (age 15.810s) > hex dump (first 32 bytes): > 28 e9 4e 63 00 88 ff ff 28 e9 4e 63 00 88 ff ff (.Nc(.Nc > 00 00 00 00 00 00

RE: [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-12-02 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Friday, November 20, 2015 4:36 PM > > > > > > > So, for non-opengl rendering qemu needs the guest framebuffer data so it > > > > can feed it into the vnc server. The vfio framebuffer region is meant > > > > to support this use case. > > > > > > what's the format

Re: Non-ascii mantainers

2015-12-02 Thread Michal Suchanek
On 1 December 2015 at 21:13, Andreas Mohr wrote: > Hi, > >> I don't really care if the maintainers are encoded or whatever. >> However, neither get_maintainers nor git format-patch encodes them and >> the listserver rejects them when not encoded. > > "neither ... nor" - IMHO transcoding should

Re: [PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Vlastimil Babka
On 3.12.2015 5:10, Joonsoo Kim wrote: > This patch uses is_via_compact_memory() to distinguish compaction > from sysfs or sysctl. And, this patch also reduces indentation > on compaction_defer_reset() by filtering these cases first > before checking watermark. > > There is no functional change. >

Re: [PATCH v6 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-12-02 Thread Jiang Liu
On 2015/11/3 5:33, ja...@microsoft.com wrote: > From: Jake Oshins > > This patch adds an fwnode_handle to struct pci_sysdata, which is > used by the next patch in the series when trying to locate an > IRQ domain associated with a root PCI bus. > > Signed-off-by: Jake Oshins > --- >

Re: xfstest failure with xfs, dax and v4.4-rc3

2015-12-02 Thread Dave Chinner
On Wed, Dec 02, 2015 at 10:12:29AM -0500, Jeff Moyer wrote: > Dave Chinner writes: > > > On Tue, Dec 01, 2015 at 03:43:46PM -0700, Ross Zwisler wrote: > >> I'm seeing a new intermittent xfstests failure with v4.4-rc3 using XFS and > >> DAX. The test that is failing is generic/083, and it fails

Re: [PATCH v3] clk: let of_clk_get_parent_name() fail for invalid clock-indices

2015-12-02 Thread Stephen Boyd
On 12/03, Masahiro Yamada wrote: > Currently, of_clk_get_parent_name() returns a wrong parent clock name > when "clock-indices" property exists and the target index is not > found in the property. In this case, NULL should be returned. > > For example, > > oscillator { >

[PATCH 1/2] ARM: dts: uniphier: change IRQ number of UART3 of PH1-Pro4 SoC

2015-12-02 Thread Masahiro Yamada
The UART3 is assigned with IRQ 29 for old SoCs, IRQ 177 for new ones, and PH1-Pro4 is on the boundary. PH1-sLD3: UART3 is unavailable PH1-LD4, PH1-sLD8: only IRQ 29 is supported PH1-Pro4: both IRQ 29 and 177 are supported PH1-Pro5, ProXstream2, PH1-LD6b: only IRQ 177 is supported This

[PATCH 2/2] ARM: dts: uniphier: factor out common nodes to uniphier-common32.dtsi

2015-12-02 Thread Masahiro Yamada
UniPhier SoCs (except PH1-sLD3) have several nodes in common. Factor out them into uniphier-common32.dtsi. This improves the code maintainability. PH1-sLD3 is so old that it has more or less different register maps than the others. So, it cannot be included in this refactoring. Signed-off-by:

[PATCH 0/2] ARM: dts: uniphier: clean up DTSIs by factoring the common parts out

2015-12-02 Thread Masahiro Yamada
Masahiro Yamada (2): ARM: dts: uniphier: change IRQ number of UART3 of PH1-Pro4 SoC ARM: dts: uniphier: factor out common nodes to uniphier-common32.dtsi arch/arm/boot/dts/uniphier-common32.dtsi| 135 + arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 265

Re: [PATCH v3 00/27] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-12-02 Thread Brian Norris
Hi, On Thu, Dec 03, 2015 at 11:38:14AM +0530, Roger Quadros wrote: > On 03/12/15 10:39, Brian Norris wrote: > > On Fri, Sep 18, 2015 at 05:53:22PM +0300, Roger Quadros wrote: > >> We do a couple of things in this series which result in > >> cleaner device tree implementation, faster perfomance

[PATCH] usb: xhci-mtk: fix bpkts value of LS/HS periodic eps not behind TT

2015-12-02 Thread Chunfeng Yun
when a LS or FS device doesn't connect though a HS hub, the @bPkts field of its periodic endpoint context should be set to 1. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk-sch.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git

[PATCH V8 0/5] dma: add Qualcomm Technologies HIDMA driver

2015-12-02 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of

[PATCH] usb: xhci: fix config fail of FS hub behind a HS hub with MTT

2015-12-02 Thread Chunfeng Yun
if a full speed hub connects to a high speed hub which supports MTT, the MTT field of its slot context will be set to 1 when xHCI driver setups an xHCI virtual device in xhci_setup_addressable_virt_dev(); once usb core fetch its hub descriptor, and need to update the xHC's internal data structures

[PATCH V8 2/5] dma: add Qualcomm Technologies HIDMA management driver

2015-12-02 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of

[PATCH V8 5/5] dma: qcom_hidma: add debugfs hooks

2015-12-02 Thread Sinan Kaya
Add debugfs hooks for debugging the execution behavior of the DMA channel. The debugfs hooks get initialized by the probe function and uninitialized by the remove function. A stats file is created in debugfs. The stats file will show the information about each HIDMA channel as well as each

[PATCH V8 1/5] dma: qcom_bam_dma: move to qcom directory

2015-12-02 Thread Sinan Kaya
Creating a QCOM directory for all QCOM DMA source files. Signed-off-by: Sinan Kaya Reviewed-by: Andy Gtoss --- drivers/dma/Kconfig| 11 ++- drivers/dma/Makefile | 2 +- drivers/dma/qcom/Kconfig | 8

[PATCH V8 4/5] dma: qcom_hidma: implement lower level hardware interface

2015-12-02 Thread Sinan Kaya
This patch implements the hardware hooks for the HIDMA channel driver. The main functions of interest are: - hidma_ll_init - hidma_ll_request - hidma_ll_queue_request - hidma_ll_hw_start OS layer calls the hidma_ll_init function during probe to set up the hardware. At this moment, the number of

[PATCH V8 3/5] dma: add Qualcomm Technologies HIDMA channel driver

2015-12-02 Thread Sinan Kaya
This patch adds support for hidma engine. The driver consists of two logical blocks. The DMA engine interface and the low-level interface. The hardware only supports memcpy/memset and this driver only support memcpy interface. HW and driver doesn't support slave interface. Signed-off-by: Sinan

Re: [PATCH v3 00/27] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-12-02 Thread Roger Quadros
Brian, On 03/12/15 10:39, Brian Norris wrote: > Hi, > > On Fri, Sep 18, 2015 at 05:53:22PM +0300, Roger Quadros wrote: >> Hi, >> >> We do a couple of things in this series which result in >> cleaner device tree implementation, faster perfomance and >> multi-platform support. As an added bonus we

Re: [PATCH v4 11/27] mtd: nand: omap: Clean up device tree support

2015-12-02 Thread Brian Norris
On Thu, Dec 03, 2015 at 11:27:13AM +0530, Roger Quadros wrote: > On 03/12/15 09:59, Brian Norris wrote: > > On Tue, Oct 06, 2015 at 01:35:48PM +0300, Roger Quadros wrote: > >> arch/arm/mach-omap2/gpmc-nand.c | 5 +- > >> drivers/memory/omap-gpmc.c | 143 > >>

Re: [PATCH 02/12] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-12-02 Thread Krzysztof Kozlowski
On 03.12.2015 06:19, Ben Gamari wrote: > From: Thomas Abraham > > With the addition of the new Samsung specific cpu-clock type, the > arm clock can be represented as a cpu-clock type. Add the CPU clock > configuration data and instantiate the CPU clock type for Exynos5420. > > Changes by

Re: [PATCH v3 0/8] phy: rockchip-usb: correct pll handling and usb-uart

2015-12-02 Thread Kishon Vijay Abraham I
Hi, On Wednesday 02 December 2015 09:02 PM, Heiko Stübner wrote: > Hi Kishon, > > Am Donnerstag, 19. November 2015, 22:22:21 schrieb Heiko Stuebner: >> changes in v3: >> - rebase on top of Julias of_node_put fix >> - address comments from Kishon Vijay Abraham >> - position of the devm_action

Re: [PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-02 Thread Viresh Kumar
Hi Ben, On 02-12-15, 22:19, Ben Gamari wrote: > > This patch series adds cpufreq support for the Exynos 5800, 5420, and 5422 > SOCs. In particular, it adds support for operating-points-v2 bindings to the > arm-big-little cpufreq driver and updates the above-mentioned SOCs' > devicetrees > to

Re: [tpmdd-devel] [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Jarkko Sakkinen
On Wed, Dec 02, 2015 at 12:11:55PM -0700, Jason Gunthorpe wrote: > On Wed, Dec 02, 2015 at 11:27:27AM -0700, Jason Gunthorpe wrote: > > > I'm guessing that if the driver probe order is tpm_crb,tpm_tis then > > things work because tpm_crb will claim the device first? Otherwise > > tpm_tis claims

Re: [PATCH v4 11/27] mtd: nand: omap: Clean up device tree support

2015-12-02 Thread Roger Quadros
Brian, On 03/12/15 09:59, Brian Norris wrote: > Hi Roger, > > On Tue, Oct 06, 2015 at 01:35:48PM +0300, Roger Quadros wrote: >> Move NAND specific device tree parsing to NAND driver. >> >> The NAND controller node must have a compatible id, register space >> resource and interrupt resource. >>

Re: [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Jarkko Sakkinen
On Wed, Dec 02, 2015 at 11:27:27AM -0700, Jason Gunthorpe wrote: > On Tue, Dec 01, 2015 at 11:33:51PM +0200, Jarkko Sakkinen wrote: > > On Tue, Dec 01, 2015 at 11:58:26AM -0700, Jason Gunthorpe wrote: > > > I went through the patches and didn't see anything that would shock me > > enough not to

Re: [PATCH v3 2/5] tty: Introduce SER_RS485_SOFTWARE read-only flag for struct serial_rs485

2015-12-02 Thread Matwey V. Kornilov
2015-12-03 2:20 GMT+03:00 Peter Hurley : > On 11/18/2015 02:49 PM, Matwey V. Kornilov wrote: >> 2015-11-18 22:39 GMT+03:00 Matwey V. Kornilov : >>> 2015-11-18 21:33 GMT+03:00 Peter Hurley : On 11/17/2015 03:20 AM, Matwey V. Kornilov wrote: > 2015-11-16 22:18 GMT+03:00 Peter Hurley :

[PATCH 0/2] regmap: mmio: clean up the code

2015-12-02 Thread Xiubo Li
Xiubo Li (2): regmap: mmio: remove the useless code regmap: mmio: Add regmap_mmio_get_min_stride drivers/base/regmap/regmap-mmio.c | 50 +++ 1 file changed, 30 insertions(+), 20 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line

[PATCH 1/2] regmap: mmio: remove the useless code

2015-12-02 Thread Xiubo Li
Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap-mmio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c index 426a57e..38d0dc0 100644 --- a/drivers/base/regmap/regmap-mmio.c +++ b/drivers/base/regmap/regmap-mmio.c @@

[PATCH 2/2] regmap: mmio: Add regmap_mmio_get_min_stride

2015-12-02 Thread Xiubo Li
Splite the minimal stride parsing into one signal function. Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap-mmio.c | 49 --- 1 file changed, 30 insertions(+), 19 deletions(-) diff --git a/drivers/base/regmap/regmap-mmio.c

Re: [PATCH net] ipv6: add complete rcu protection around np->opt

2015-12-02 Thread Eric Dumazet
On Wed, 2015-12-02 at 23:38 -0500, David Miller wrote: > From: Eric Dumazet > Date: Sun, 29 Nov 2015 19:37:57 -0800 > > > From: Eric Dumazet > > > > This patch addresses multiple problems : > > > > UDP/RAW sendmsg() need to get a stable struct ipv6_txoptions > > while socket is not locked :

Re: [PATCH v2 0/4] Add online file check feature

2015-12-02 Thread Greg KH
On Wed, Dec 02, 2015 at 07:05:27PM -0700, Gang He wrote: > Hello Pavel, > > > > >>> > > On Wed 2015-10-28 14:25:57, Gang He wrote: > >> When there are errors in the ocfs2 filesystem, > >> they are usually accompanied by the inode number which caused the error. > >> This inode number would be

[PATCH] clk: uniphier: add clock drivers for UniPhier SoCs

2015-12-02 Thread Masahiro Yamada
This is the initial commit for the UniPhier clock drivers, including support for PH1-sLD3, PH1-LD4, PH1-Pro4, PH1-sLD8, PH1-Pro5, and ProXstream2/PH1-LD6b. To improve the code maintainability, the driver consists of common functions (clk-uniphier-core.c) and clock data arrays needed to support

Re: [PATCH v3 00/27] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-12-02 Thread Brian Norris
Hi, On Fri, Sep 18, 2015 at 05:53:22PM +0300, Roger Quadros wrote: > Hi, > > We do a couple of things in this series which result in > cleaner device tree implementation, faster perfomance and > multi-platform support. As an added bonus we get new GPI/Interrupt pins > for use in the system. > >

Re: [PATCHv7 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-12-02 Thread Jassi Brar
On 2 December 2015 at 22:56, Moritz Fischer wrote: > Hi Jassi, > > thanks for your feedback. > > On Mon, Aug 10, 2015 at 1:05 AM, Jassi Brar wrote: >> On Wed, Jul 15, 2015 at 6:30 AM, Moritz Fischer >> wrote: >> >>> + >>> +static void xilinx_mbox_rx_data(struct mbox_chan *chan) >>> +{ >>> +

Re: [PATCH v3 04/27] mtd: nand: omap2: Use gpmc_omap_get_nand_ops() to get NAND registers

2015-12-02 Thread Brian Norris
On Fri, Sep 18, 2015 at 05:53:26PM +0300, Roger Quadros wrote: > Deprecate nand register passing via platform data and use > gpmc_omap_get_nand_ops() instead. > > Signed-off-by: Roger Quadros > --- > arch/arm/mach-omap2/gpmc-nand.c | 2 -- > drivers/mtd/nand/omap2.c

Re: [PATCH net-next] sfc: use ALIGN macro for aligning frame sizes

2015-12-02 Thread David Miller
From: Jarod Wilson Date: Mon, 30 Nov 2015 17:12:21 -0500 > Don't open-code it. > > CC: Solarflare linux maintainers > CC: Shradha Shah > CC: net...@vger.kernel.org > Signed-off-by: Jarod Wilson Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-02 Thread kbuild test robot
Hi yankejian, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.4-rc3 next-20151202] url: https://github.com/0day-ci/linux/commits/yankejian/ACPI-Add-phylib-support-code-for-mdio/20151203-115039 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2015-12-02 Thread David Miller
From: Robert Jarzmik Date: Mon, 30 Nov 2015 22:40:28 +0100 > Convert the dma transfers to be dmaengine based, now pxa has a dmaengine > slave driver. This makes this driver a bit more PXA agnostic. > > The driver was only compile tested. The risk is quite small as no > current PXA platform I'm

Re: [PATCH net] bridge: Only call /sbin/bridge-stp for the initial network namespace

2015-12-02 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Mon, 30 Nov 2015 15:38:15 -0600 > + if (dev_net(br->dev) == _net) Please respin this using net_eq() as Hannes pointed out. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] mfd: mc13xxx-core: use of_property_read_bool()

2015-12-02 Thread Saurabh Sengar
I couldn't see this patch applied in linux-next branch still. Regards, Saurabh On 24 November 2015 at 21:59, Lee Jones wrote: > On Mon, 16 Nov 2015, Saurabh Sengar wrote: > >> for checking if a property is present or not, >> use of_property_read_bool instead of of_get_property() >> >>

Re: [PATCH v3 18/27] mtd: nand: omap2: Implement NAND ready using gpiolib

2015-12-02 Thread Brian Norris
(to be clear, this branch of discussion isn't directly regarding the TI changes; we can handle any generic handling afterward, as long as we get the DT binding right now) On Tue, Oct 27, 2015 at 09:28:32AM +0100, Boris Brezillon wrote: > On Mon, 26 Oct 2015 13:49:00 -0700 > Brian Norris wrote: >

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-02 Thread kbuild test robot
Hi yankejian, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.4-rc3 next-20151202] url: https://github.com/0day-ci/linux/commits/yankejian/ACPI-Add-phylib-support-code-for-mdio/20151203-115039 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git

[PATCH v2 2/3] sched/cpupri: Cleanup of duplicate memory initialization

2015-12-02 Thread Xunlei Pang
There is already a memset clear operation for '*cp', so we can use alloc_cpumask_var() with __GFP_ZERO instead of zalloc_cpumask_var() to avoid duplicate clear for systems without CONFIG_CPUMASK_OFFSTACK set. Also omit "atomic_set(>count, 0);". Signed-off-by: Xunlei Pang ---

[PATCH v2 3/3] sched/cpudeadline: Cleanup of duplicate memory initialization

2015-12-02 Thread Xunlei Pang
There is already a memset clear operation for '*cp', so we can use alloc_cpumask_var() with __GFP_ZERO instead of zalloc_cpumask_var() to avoid duplicate clear for systems without CONFIG_CPUMASK_OFFSTACK set. Also omit "cp->size = 0;". Signed-off-by: Xunlei Pang --- kernel/sched/cpudeadline.c

[PATCH v2 1/3] sched/core: Clear the root_domain cpumasks in init_rootdomain()

2015-12-02 Thread Xunlei Pang
root_domain::rto_mask allocated through alloc_cpumask_var() contains garbage data with CONFIG_CPUMASK_OFFSTACK set, this may cause problems. For instance, When doing pull_rt_task(), it may do useless iterations if rto_mask retains some extra garbage bits. Worse still, this can violate the isolated

Re: [PATCH 01/12] cpufreq: arm_big_little: add cluster regulator support

2015-12-02 Thread Anand Moon
Hi Ben Gamari, On 3 December 2015 at 02:49, Ben Gamari wrote: > From: Bartlomiej Zolnierkiewicz > > Add cluster regulator support as a preparation to adding > generic arm_big_little_dt cpufreq_dt driver support for > ODROID-XU3 board. This allows arm_big_little[_dt] driver > to set not only

Re: [PATCH] sctp: use GFP_USER for user-controlled kmalloc

2015-12-02 Thread David Miller
From: Marcelo Ricardo Leitner Date: Mon, 30 Nov 2015 14:32:54 -0200 > Dmitry Vyukov reported that the user could trigger a kernel warning by > using a large len value for getsockopt SCTP_GET_LOCAL_ADDRS, as that > value directly affects the value used as a kmalloc() parameter. > > This patch

Re: [PATCH net] ipv6: add complete rcu protection around np->opt

2015-12-02 Thread David Miller
From: Eric Dumazet Date: Sun, 29 Nov 2015 19:37:57 -0800 > From: Eric Dumazet > > This patch addresses multiple problems : > > UDP/RAW sendmsg() need to get a stable struct ipv6_txoptions > while socket is not locked : Other threads can change np->opt > concurrently. Dmitry posted a syzkaller

Re: [PATCH net] bpf: fix allocation warnings in bpf maps and integer overflow

2015-12-02 Thread David Miller
From: Alexei Starovoitov Date: Sun, 29 Nov 2015 16:59:35 -0800 > From: Alexei Starovoitov > > For large map->value_size the user space can trigger memory allocation > warnings like: ... > To avoid never succeeding kmalloc with order >= MAX_ORDER check that > elem->value_size and computed

Re: [PATCH v2 2/3] sched/fair: Move hot load_avg into its own cacheline

2015-12-02 Thread Mike Galbraith
On Wed, 2015-12-02 at 13:41 -0500, Waiman Long wrote: > By doing so, the perf profile became: > >9.44% 0.00% java [kernel.vmlinux] [k] smp_apic_timer_interrupt >8.74% 0.01% java [kernel.vmlinux] [k] hrtimer_interrupt >7.83% 0.03% java [kernel.vmlinux] [k]

Re: [PATCH v4 11/27] mtd: nand: omap: Clean up device tree support

2015-12-02 Thread Brian Norris
Hi Roger, On Tue, Oct 06, 2015 at 01:35:48PM +0300, Roger Quadros wrote: > Move NAND specific device tree parsing to NAND driver. > > The NAND controller node must have a compatible id, register space > resource and interrupt resource. > > Signed-off-by: Roger Quadros This one's going to need

RE: [PATCH 0/2] Two fix for dwc2 gadget driver

2015-12-02 Thread Du, Changbin
> On 11/29/2015 9:29 PM, changbin...@intel.com wrote: > > From: "Du, Changbin" > > > > With the first patch, enable a enabled ep will return -EBUSY. > > The second patch forbid queuing on disabled ep to avoid panic. > > > The usb_ep->enabled flag was added in 4.4. > > It looks like these same

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-12-02 Thread Joonsoo Kim
On Tue, Nov 24, 2015 at 10:45:28AM +0900, Joonsoo Kim wrote: > On Mon, Nov 23, 2015 at 09:26:04AM -0500, Steven Rostedt wrote: > > On Mon, 23 Nov 2015 17:28:05 +0900 > > Joonsoo Kim wrote: > > > > > On Fri, Nov 20, 2015 at 11:42:25AM -0500, Steven Rostedt wrote: > > > > On Fri, 20 Nov 2015

[PATCH V2 4/6] cpufreq: governor: initialize/destroy timer_mutex with 'shared'

2015-12-02 Thread Viresh Kumar
timer_mutex is required to be initialized only while memory for 'shared' is allocated and in a similar way it is required to be destroyed only when memory for 'shared' is freed. There is no need to do the same every time we start/stop the governor. Move code to initialize/destroy timer_mutex to

Re: [PATCH V2 2/7] mm/gup: add gup trace points

2015-12-02 Thread Steven Rostedt
On Wed, 2 Dec 2015 15:36:50 -0800 Dave Hansen wrote: > On 12/02/2015 02:53 PM, Yang Shi wrote: > > diff --git a/mm/gup.c b/mm/gup.c > > index deafa2c..10245a4 100644 > > --- a/mm/gup.c > > +++ b/mm/gup.c > > @@ -13,6 +13,9 @@ > > #include > > #include > > > > +#define CREATE_TRACE_POINTS >

Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value

2015-12-02 Thread Joonsoo Kim
On Thu, Nov 26, 2015 at 10:52:52AM +0900, Joonsoo Kim wrote: > On Wed, Nov 25, 2015 at 10:04:44AM -0600, Christoph Lameter wrote: > > > Although vmstat values aren't designed for accuracy, these are already > > > used by some sensitive places so it is better to be more accurate. > > > > The

[PATCH] mm/compaction: restore COMPACT_CLUSTER_MAX to 32

2015-12-02 Thread Joonsoo Kim
Until now, COMPACT_CLUSTER_MAX is defined as SWAP_CLUSTER_MAX. Commit ("mm: increase SWAP_CLUSTER_MAX to batch TLB flushes") changes SWAP_CLUSTER_MAX from 32 to 256 to improve tlb flush performance so COMPACT_CLUSTER_MAX is also changed to 256. But, it has no justification on compaction-side and I

[PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Joonsoo Kim
This patch uses is_via_compact_memory() to distinguish compaction from sysfs or sysctl. And, this patch also reduces indentation on compaction_defer_reset() by filtering these cases first before checking watermark. There is no functional change. Acked-by: Yaowei Bai Acked-by: David Rientjes

[PATCH V2 6/6] cpufreq: ondemand: update update_sampling_rate() to make it more efficient

2015-12-02 Thread Viresh Kumar
Currently update_sampling_rate() runs over each online CPU and cancels/queues timers on all policy->cpus every time. This should be done just once for any cpu belonging to a policy. Create a cpumask and keep on clearing it as and when we process policies, so that we don't have to traverse through

[PATCH V2 5/6] cpufreq: governor: replace per-cpu delayed work with timers

2015-12-02 Thread Viresh Kumar
cpufreq governors evaluate load at sampling rate and based on that they update frequency for a group of CPUs belonging to the same cpufreq policy. This is required to be done in a single thread for all policy->cpus, but because we don't want to wakeup idle CPUs to do just that, we use deferrable

[PATCH V2 3/6] cpufreq: governor: Pass policy as argument to ->gov_dbs_timer()

2015-12-02 Thread Viresh Kumar
Pass 'policy' as argument to ->gov_dbs_timer() instead of cdbs and dbs_data. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_conservative.c | 6 +++--- drivers/cpufreq/cpufreq_governor.c | 2 +- drivers/cpufreq/cpufreq_governor.h | 3 +-- drivers/cpufreq/cpufreq_ondemand.c |

[PATCH V2 2/6] cpufreq: ondemand: Work is guaranteed to be pending

2015-12-02 Thread Viresh Kumar
We are guaranteed to have works scheduled for policy->cpus, as the policy isn't stopped yet. And so there is no need to check that again. Drop it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_ondemand.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH V2 1/7] trace/events: Add gup trace events

2015-12-02 Thread Steven Rostedt
On Wed, 2 Dec 2015 14:53:27 -0800 Yang Shi wrote: > page-faults events record the invoke to handle_mm_fault, but the invoke > may come from do_page_fault or gup. In some use cases, the finer event count > mey be needed, so add trace events support for: > > __get_user_pages >

[PATCH V2 1/6] cpufreq: ondemand: Update sampling rate only for concerned policies

2015-12-02 Thread Viresh Kumar
We are comparing policy->governor against cpufreq_gov_ondemand to make sure that we update sampling rate only for the concerned CPUs. But that isn't enough. In case of governor_per_policy, there can be multiple instances of ondemand governor and we will always end up updating all of them with

RE: Skylake (XPS 13 9350) TSC is way off

2015-12-02 Thread Brown, Len
> >> [0.00] tsc: PIT calibration matches HPET. 2 loops > >> [0.00] tsc: Detected 2399.975 MHz processor > >> [0.090897] TSC deadline timer enabled > >> [1.960034] tsc: Refined TSC clocksource calibration: 2400.007 MHz > turbostat version 4.10 10 Dec, 2015 - Len Brown >

[PATCH v2 4/9] ARM: dts: add dts files for hi3519-demb board

2015-12-02 Thread Jiancheng Xue
add dts files for hi3519-demb board Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 55 arch/arm/boot/dts/hi3519.dtsi | 129 ++ 3 files changed, 186 insertions(+) create

Re: [PATCH 2/2] perf hists browser: Reset selection when refresh

2015-12-02 Thread Wangnan (F)
On 2015/12/3 0:17, Namhyung Kim wrote: On Wed, Dec 02, 2015 at 12:51:33PM +, Wang Nan wrote: With following steps: Step 1: perf report Step 2: Use UP/DOWN to select an entry, don't press 'ENTER' Step 3: Use '/' to filter symbols, use a filter which returns empty result

Re: [PATCH v6 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-02 Thread Jiang Liu
On 2015/11/3 5:33, ja...@microsoft.com wrote: > From: Jake Oshins > > This patch introduces a new driver which exposes a root PCI bus whenever a PCI > Express device is passed through to a guest VM under Hyper-V. The device can > be single- or multi-function. The interrupts for the devices are

[PATCH v2 1/3] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-02 Thread Wang Nan
If feed perf a symbol filter in cmdline and the result is empty, pressing 'Enter' in the hist browser causes crash: # ./perf report perf.data <-- Common mistake for beginners Then press 'Enter': perf: Segmentation fault backtrace /home/wangnan/perf[0x53e578]

[PATCH v2 2/3] perf hists browser: Add NULL pointer check to prevent crash

2015-12-02 Thread Wang Nan
Before this patch we can trigger a segfault by following steps: Step 0: Use 'perf record' to generate a perf.data without callchain Step 1: perf report Step 2: Use UP/DOWN to select an entry, don't press 'ENTER' Step 3: Use '/' to filter symbols, use a filter which returns empty

[PATCH v2 0/3] perf hists browser: Avoid crash in some unusal operations

2015-12-02 Thread Wang Nan
When using symbol filter in hists browser, some unusal operations causes segfault. This patchset avoid those crashes. Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim Wang Nan (3): perf hists browser: Fix segfault if use symbol filter in cmdline perf hists browser: Add NULL pointer check to

[PATCH v2 3/3] perf hists browser: Reset selection when refresh

2015-12-02 Thread Wang Nan
With following steps: Step 1: perf report Step 2: Use UP/DOWN to select an entry, don't press 'ENTER' Step 3: Use '/' to filter symbols, use a filter which returns empty result Step 4: Press 'ENTER' We see that, even if we have filter all symbols (and the main interface is

[PATCH v2 9/9] dmaengine: Kconfig: rename ARCH_HI3xxx to ARCH_HI36xx

2015-12-02 Thread Jiancheng Xue
Rename ARCH_HI3xxx to ARCH_HI36xx. Signed-off-by: Jiancheng Xue --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index e6cd1a3..53d5676 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -279,7

[PATCH v2 7/9] ARM: hisi: rename ARCH_HI3xxx to ARCH_HI36xx

2015-12-02 Thread Jiancheng Xue
ARCH_HI3xxx just represents hi36xx soc family. Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 4 ++-- arch/arm/boot/dts/Makefile | 2 +- arch/arm/configs/hisi_defconfig | 2 +- arch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/mach-hisi/Kconfig |

[PATCH v2 8/9] clk: hisilicon: rename ARCH_HI3xxx to ARCH_HI36xx

2015-12-02 Thread Jiancheng Xue
Rename ARCH_HI3xxx to ARCH_HI36xx. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/hisilicon/Makefile b/drivers/clk/hisilicon/Makefile index 9a601c0..5a1c195 100644 ---

[PATCH v2 6/9] ARM: debug: add Hi3519 debug uart

2015-12-02 Thread Jiancheng Xue
Add the support of Hisilicon Hi3519 debug uart. Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 259c0ca..4d2ae2a 100644 --- a/arch/arm/Kconfig.debug +++

[PATCH v2 3/9] ARM: hisi: enable Hi3519 soc

2015-12-02 Thread Jiancheng Xue
Hi3519 SOC is mainly used for ip camera and sport dv solutions. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/Kconfig | 9 + arch/arm/mach-hisi/hisilicon.c | 9 + 2 files changed, 18 insertions(+) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig

[PATCH v2 5/9] ARM: config: enable ARCH_HI3519

2015-12-02 Thread Jiancheng Xue
enable ARCH_HI3519 in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..321d020 100644 --- a/arch/arm/configs/hisi_defconfig +++

Re: [dm-devel] [PATCH 0/2] Introduce the request handling for dm-crypt

2015-12-02 Thread Baolin Wang
On 3 December 2015 at 03:56, Alasdair G Kergon wrote: > On Wed, Dec 02, 2015 at 08:46:54PM +0800, Baolin Wang wrote: >> These are the benchmarks for request based dm-crypt. Please check it. > > Now please put request-based dm-crypt completely to one side and focus > just on the existing bio-based

  1   2   3   4   5   6   7   8   9   10   >