[PATCH v2] USB: usbmon: Remove timeval usage for timestamp

2015-10-29 Thread Tina Ruchandani
struct timeval' uses 32-bits for its seconds field and will overflow in the year 2038 and beyond. This patch replaces the usage of 'struct timeval' in mon_get_timestamp() with timespec64 which uses a 64-bit seconds field and is y2038-safe. mon_get_timestamp() truncates the timestamp at 4096

Re: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support

2015-10-29 Thread Ley Foon Tan
On Fri, Oct 30, 2015 at 7:22 AM, Bjorn Helgaas wrote: >> >>> >> >>> I applied these to pci/host-altera for v4.4, thanks! >> >>> >> >>> I squashed these into three patches: >> >>> >> >>> - add msi.h to Kbuild >> >>> - add Altera host driver (including DT binding and MAINTAINERS update) >> >>>

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-29 Thread Kamezawa Hiroyuki
On 2015/10/30 0:17, mho...@kernel.org wrote: > From: Michal Hocko > > wait_iff_congested has been used to throttle allocator before it retried > another round of direct reclaim to allow the writeback to make some > progress and prevent reclaim from looping over dirty/writeback pages > without

[RESEND PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr

2015-10-29 Thread Tina Ruchandani
struct mon_bin_hdr allows for a 64-bit seconds timestamp. The code currently uses 'struct timeval' to populate the timestamp in mon_bin_hdr, which has a 32-bit seconds field and will overflow in year 2038 and beyond. This patch replaces 'struct timeval' with 'struct timespec64' which is y2038

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-29 Thread Vineet Gupta
+CC Claudiu: ARC gcc expert (please scroll to botom) On Friday 30 October 2015 06:56 AM, Nicolas Pitre wrote: > On Wed, 28 Oct 2015, Nicolas Pitre wrote: > >> On Thu, 29 Oct 2015, Alexey Brodkin wrote: >> >>> Fortunately we already have much better __div64_32() for 32-bit ARM. >>> There in case

[PATCH v4 5/6] arm64: insn: add instruction decoders for ldp/stp and add/sub

2015-10-29 Thread AKASHI Takahiro
A function prologue analyzer is a requisite for implementing stack tracer and getting better views of stack usages on arm64. To implement a function prologue analyzer, we have to be able to decode, at least, stp, add, sub and mov instructions. This patch adds decoders for those instructions, that

[PATCH v4 2/6] arm64: ftrace: modify a stack frame in a safe way

2015-10-29 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame by calling ftrace_prepare_return() in a traced function's function prologue. The current code does this modification before preserving an original address at ftrace_push_return_trace() and there is always a small window of

[PATCH v4 6/6] arm64: ftrace: add arch-specific stack tracer

2015-10-29 Thread AKASHI Takahiro
Stack tracer on arm64, check_stack(), is uniqeue in the following points: * analyze a function prologue of a traced function to estimate a more accurate stack pointer value, replacing naive ' + 0x10.' * use walk_stackframe(), instead of slurping stack contents as orignal check_stack() does, to

[PATCH v4 4/6] ftrace: allow arch-specific stack tracer

2015-10-29 Thread AKASHI Takahiro
A stack frame may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as current check_stack() does, in order to calcurate a stack index (height) at a given function call. At least not on arm64. In addition, there is a

[PATCH v4 3/6] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-29 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's output. This patch replaces such entries with originals values preserved in current->ret_stack[].

[PATCH v4 0/6] arm64: ftrace: fix incorrect output from stack tracer

2015-10-29 Thread AKASHI Takahiro
This is the fourth patch series for fixing stack tracer on arm64. The original issue was reported by Jungseok[1], and then I found more issues[2]. (Steven, Jungseok, sorry for not replying to your comments directly.) I address here all the issues and implement fixes described in [2] except for

[PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined by stack tracer

2015-10-29 Thread AKASHI Takahiro
On arm64, no PC values returned by save_stack_trace() will match to LR values saved in stack frames on a stack after the following commit: commit e306dfd06fcb ("ARM64: unwind: Fix PC calculation") As a result, the output from stack tracer will be messed up. This patch introduces an

Re: [PATCH v2 1/7] PCI: Set SR-IOV NumVFs to zero after enumeration

2015-10-29 Thread Wei Yang
On Fri, Oct 30, 2015 at 11:48:21AM +0800, Wei Yang wrote: >On Thu, Oct 29, 2015 at 05:22:54PM -0500, Bjorn Helgaas wrote: >>ines: 115 >> >>From: Alexander Duyck >> >>The enumeration path should leave NumVFs set to zero. But after >>4449f079722c ("PCI: Calculate maximum number of buses required

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-29 Thread Kamezawa Hiroyuki
On 2015/10/30 0:17, mho...@kernel.org wrote: > From: Michal Hocko > > __alloc_pages_slowpath has traditionally relied on the direct reclaim > and did_some_progress as an indicator that it makes sense to retry > allocation rather than declaring OOM. shrink_zones had to rely on > zone_reclaimable

Re: [PATCH v2 7/7] PCI: Set NumVFs before computing how many buses VFs require

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:36PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >VF bus numbers depend on the First VF Offset and VF Stride, and per >sections 3.3.9 and 3.3.10 of the SR-IOV spec r1.1, these depend on the >NumVF value. > >Wait until after we set NumVFs to compute and

Re: [PATCH v2 6/7] PCI: Fix sriov_enable() error path for pcibios_enable_sriov() failures

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:29PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Disable VFs if pcibios_enable_sriov() fails, just like we do for other >errors in sriov_enable(). Call pcibios_sriov_disable() if virtfn_add() >fails. > >[bhelgaas: changelog, split to separate patch for

Re: [PATCH v2 5/7] PCI: Wait 1 second between disabling VFs and clearing NumVFs

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:22PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Per sec 3.3.3.1 of the SR-IOV spec, r1.1, we must allow 1.0s after clearing >VF Enable before reading any field in the SR-IOV Extended Capability. > >Wait 1 second before calling pci_iov_set_numvfs(), which

Re: [PATCH v2 4/7] PCI: Reorder pcibios_sriov_disable()

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:15PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Move pcibios_sriov_disable() up so it's defined before a future use. > >[bhelgaas: split to separate patch for reviewability] >Signed-off-by: Alexander Duyck >Signed-off-by: Bjorn Helgaas Reviewed-by: Wei

Re: [PATCH v2 3/7] PCI: Remove VFs in reverse order if virtfn_add() fails

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:08PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >If virtfn_add() fails, we call virtfn_remove() for any previously added >devices. Remove the devices in reverse order (first-added is >last-removed), which is more natural and doesn't require an additional

Re: [PATCH v2 2/7] PCI: Remove redundant validation of SR-IOV offset/stride registers

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:01PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Previously, we read, validated, and cached PCI_SRIOV_VF_OFFSET and >PCI_SRIOV_VF_STRIDE in sriov_enable(). But sriov_init() now does >that via compute_max_vf_buses(), so we don't need to do it again. >

[git pull] drm fixes

2015-10-29 Thread Dave Airlie
Hi Linus, Two patches for fix a regression in backlight handling on some old radeon laptops. Regards, Dave. The following changes since commit 8a28d67457b613258aa0578ccece206d166f2b9f: Merge tag 'powerpc-4.3-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2015-10-28

Re: [PATCH v4 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-29 Thread Brian Norris
Hi Bayi, On Fri, Oct 30, 2015 at 10:12:39AM +0800, bayi.cheng wrote: > Hi Brian, The current station is as follows. > > 1: put 0x9F to MTK_NOR_PRGDATA5_REG, and five 0x0 to > MTK_NOR_PRGDATA4_REG ~ MTK_NOR_PRGDATA0_REG, then set (1 + 5) * 8 > to MTK_NOR_CNT_REG, for this way, we can read five

[PATCH] NET: ATM: MPOA: Remove 32-bit timekeeping

2015-10-29 Thread Tina Ruchandani
net/atm/mpoa_* files use 'struct timeval' to store event timestamps. struct timeval uses a 32-bit seconds field which will overflow in the year 2038 and beyond. Morever, the timestamps are being compared only to get seconds elapsed, so struct timeval which stores a seconds and microseconds field

Re: [PATCH v5 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-29 Thread Brian Norris
Hi Bayi, (I drafted most of this before you clarified on how to read out 6 bytes of ID. So a bit of this is slightly out-of-date. Still, I think most of the comments and much of the appended patch should be useful to you.) On Mon, Oct 26, 2015 at 09:40:38PM +0800, Bayi Cheng wrote: > add spi nor

Re: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI

2015-10-29 Thread Hanjun Guo
Hi Jon, On 2015/10/30 12:07, Jon Masters wrote: > Hi Tomasz, > > Thanks for posting this series. > > On 10/27/2015 12:38 PM, Tomasz Nowicki wrote: > >> From the functionality point of view this series might be split into two >> logic parts: >> 1. Making MMCONFIG code arch-agnostic which allows

Re: [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-10-29 Thread kbuild test robot
Hi Sinan, [auto build test WARNING on lwn/docs-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-management-driver/20151030-111408 coccinelle warnings:

[PATCH] dma: fix platform_no_drv_owner.cocci warnings

2015-10-29 Thread kbuild test robot
drivers/dma/qcom_hidma_mgmt.c:852:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Sinan Kaya Signed-off-by: Fengguang Wu --- qcom_hidma_mgmt.c |1

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-29 Thread Hillf Danton
> --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3191,8 +3191,23 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > order, >*/ > if (__zone_watermark_ok(zone, order, min_wmark_pages(zone), > ac->high_zoneidx, alloc_flags,

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-29 Thread Hillf Danton
> +/* > + * Number of backoff steps for potentially reclaimable pages if the direct > reclaim > + * cannot make any progress. Each step will reduce 1/MAX_STALL_BACKOFF of the > + * reclaimable memory. > + */ > +#define MAX_STALL_BACKOFF 16 > + > static inline struct page * >

[PATCH v6] isdn: Use ktime_t instead of 'struct timeval'

2015-10-29 Thread Tina Ruchandani
'struct timeval' uses 32-bit representation for seconds which will overflow in year 2038 and beyond. mISDN/clock.c needs to compute and store elapsed time in intervals of 125 microseconds. This patch replaces the usage of 'struct timeval' with 64-bit ktime_t which is y2038 safe. The patch also

Re: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI

2015-10-29 Thread Jon Masters
Hi Tomasz, Thanks for posting this series. On 10/27/2015 12:38 PM, Tomasz Nowicki wrote: > From the functionality point of view this series might be split into two > logic parts: > 1. Making MMCONFIG code arch-agnostic which allows all architectures to > collect >PCI config regions and

Re: [RFC 00/11] DAX fsynx/msync support

2015-10-29 Thread Dave Chinner
On Thu, Oct 29, 2015 at 02:12:04PM -0600, Ross Zwisler wrote: > This patch series adds support for fsync/msync to DAX. > > Patches 1 through 8 add various utilities that the DAX code will eventually > need, and the DAX code itself is added by patch 9. Patches 10 and 11 are > filesystem changes

Re: [PATCH v2 1/7] PCI: Set SR-IOV NumVFs to zero after enumeration

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:22:54PM -0500, Bjorn Helgaas wrote: >ines: 115 > >From: Alexander Duyck > >The enumeration path should leave NumVFs set to zero. But after >4449f079722c ("PCI: Calculate maximum number of buses required for VFs"), >we call virtfn_max_buses() in the enumeration path,

Re: [PATCH v2 1/4] clocksource: rockchip: Make the driver more compatible

2015-10-29 Thread Caesar Wang
Hi Daniel, 在 2015年10月01日 03:14, Heiko Stübner 写道: Hi Daniel, Am Dienstag, 29. September 2015, 06:18:03 schrieb Daniel Lezcano: On 09/25/2015 04:14 AM, Caesar Wang wrote: Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform, There are some failure with build up on timer driver for

Re: [PATCH v3 2/4] lib/string_helpers.c: protect string_get_size() against blk_size=0

2015-10-29 Thread James Bottomley
On Fri, 2015-10-30 at 01:32 +0200, Andy Shevchenko wrote: > On Fri, Oct 30, 2015 at 1:00 AM, James Bottomley wrote: > > On Thu, 2015-10-29 at 17:30 +0100, Vitaly Kuznetsov wrote: > >> Division by zero happens if blk_size=0 is supplied to string_get_size(). > >> Add WARN_ON() and set size to 0 to

Re: [PATCH] mm/hugetlb: Unmap pages if page fault raced with hole punch

2015-10-29 Thread Hugh Dickins
On Thu, 29 Oct 2015, Mike Kravetz wrote: > This patch is a combination of: > [PATCH v2 4/4] mm/hugetlb: Unmap pages to remove if page fault raced > with hole punch and, > [PATCH] mm/hugetlb: i_mmap_lock_write before unmapping in > remove_inode_hugepages > This patch can replace the

Re: [PATCH v3 1/4] lib/string_helpers: change blk_size to u32 for string_get_size() interface

2015-10-29 Thread James Bottomley
On Fri, 2015-10-30 at 00:19 +0100, Rasmus Villemoes wrote: > On Thu, Oct 29 2015, James Bottomley wrote: > > > On Thu, 2015-10-29 at 17:30 +0100, Vitaly Kuznetsov wrote: > >> string_get_size() can't really handle huge block sizes, especially > >> blk_size > U32_MAX but string_get_size()

Re: [PATCH] usb: dwc2: host: Fix remote wakeup when not in DWC2_L2

2015-10-29 Thread John Youn
On 10/29/2015 9:43 AM, Doug Anderson wrote: > John, > > On Thu, Oct 22, 2015 at 1:05 PM, Douglas Anderson > wrote: >> In commit 734643dfbdde ("usb: dwc2: host: add flag to reflect bus >> state") we changed dwc2_port_suspend() not to set the lx_state >> anymore (instead it sets the new

[PATCH V6 RESEND 1/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-10-29 Thread Chen Feng
Add DT bindings documentation for hi6220 SoC reset controller. Signed-off-by: Chen Feng --- .../bindings/reset/hisilicon,hi6220-reset.txt | 34 +++ include/dt-bindings/reset/hisi,hi6220-resets.h | 67 ++ 2 files changed, 101 insertions(+) create mode 100644

[PATCH V6 RESEND 3/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-10-29 Thread Chen Feng
Add reset controller for hi6220 hikey-board. Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..e45dbb1 100644 ---

[PATCH V6 RESEND 2/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-10-29 Thread Chen Feng
Add reset driver for hi6220-hikey board,this driver supply deassert of IP on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig| 5 ++ drivers/reset/hisilicon/Makefile

[PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-10-29 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. This version of the driver does not support virtualization on this release and only memcpy interface support is included. Signed-off-by: Sinan Kaya ---

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

2015-10-29 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. The management driver is executed in hypervisor context and is the main managment for all channels provided by the device. The channel

Re: [PATCH] ASoC: Intel: Skylake: fix typo in sizeof

2015-10-29 Thread Mark Brown
On Thu, Oct 29, 2015 at 11:04:41PM +0100, Vincent Stehlé wrote: > The size of the pointer to a data structure to send is erroneously > passed to sst_ipc_tx_message_wait() as its tx_bytes argument. It should > be given the size of the pointed skl_ipc_dxstate_info structure instead. This was

Re: [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-29 Thread Lan Tianyu
On 2015年10月30日 00:17, Alexander Duyck wrote: > On 10/29/2015 01:33 AM, Lan Tianyu wrote: >> On 2015年10月29日 14:58, Alexander Duyck wrote: >>> Your code was having to do a bunch of shuffling in order to get things >>> set up so that you could bring the interface back up. I would argue >>> that it

[PATCH v2] serial: 8250_uniphier: add earlycon support

2015-10-29 Thread Masahiro Yamada
This reuses the code of drivers/tty/serial/8250/8250_early.c except - Overwrite device->port.iotype and device->port.regshift for UPIO_MEM32 because of_setup_earlycon() has set them for UPIO_MEM. - Set device->baud to zero to prevent early8250_setup() from initializing the divisor

Re: [PATCH V6 2/3] Add reset controller for hi6220 SoC platform.

2015-10-29 Thread chenfeng
Hi, On 2015/10/30 0:14, Philipp Zabel wrote: > Am Donnerstag, den 29.10.2015, 20:55 +0800 schrieb Chen Feng: >> reset: add driver for hi6220 reset controller > > Same comment as for patch 1, this should probably be the subject, > the commit message body was better in V4. > >> Signed-off-by:

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: >>> So problem (no LCD backlight) must have been introduced between >>> those. >> >> Well this looks like it might have something to do with it will >> attempt a build just before it. -- >> commit 4281f46ef839050d2ef60348f661eb463c21cc2e

[PATCH v3 0/3] serial: 8250_early: simplify serial_putc()

2015-10-29 Thread Masahiro Yamada
Changes in v3: - Split into three patches. - Confirm the empty TX only after sending each character. Changes in v2: - split into two patches Masahiro Yamada (3): serial: 8250_early: do not save and restore IER in write callback serial: 8250_early: confirm empty transmitter after

[PATCH v3 1/3] serial: 8250_early: do not save and restore IER in write callback

2015-10-29 Thread Masahiro Yamada
The IER has already been masked in early_serial8250_setup(), there is no reason to save and restore it every time early_serial8250_write() is called. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff

[PATCH v3 3/3] serial: 8250_early: squash wait_for_xmitr() into serial_putc()

2015-10-29 Thread Masahiro Yamada
Now, wait_for_xmitr() is only called from serial_putc(), and both are short enough. They can be merged into a single function. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH v3 2/3] serial: 8250_early: confirm empty transmitter after sending characters

2015-10-29 Thread Masahiro Yamada
The current code waits until the transmitter becomes empty, before sending each character, and after finishing the whole string. This seems a bit redundant. It can be more efficient by checking the transmitter only after sending each character. This should be safe because the transmitter is

[PATCH] net: hisilicon: Remove .owner assignment from platform_driver

2015-10-29 Thread huangdaode
platform_driver doesn't need to set .owner, because platform_driver_register() will set it. Signed-off-by: huangdaode --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Dmitry Torokhov
On Thu, Oct 29, 2015 at 09:08:45PM -0500, Michael Welling wrote: > Dmitry, > > On Thu, Oct 29, 2015 at 06:45:22PM -0700, Dmitry Torokhov wrote: > > Hi Michael, > > > > On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > > > Adds support for the i2c based tsc2004. > > > > > > Due

Re: [PATCH v5] clk: add CS2000 Fractional-N driver

2015-10-29 Thread Kuninori Morimoto
Hi ping ? [R] 森本 wrote: > > From: Kuninori Morimoto > > This patch adds CS2000 Fractional-N driver as clock provider. > > Signed-off-by: Kuninori Morimoto > --- > v4 -> v5 > > - remove "clock-frequency" > - use dev on clk_register() > - remove CLK_IS_BASIC > - .enable -> .prepare

Re: [PATCH] Staging: comedi: fixed comment, added a new line

2015-10-29 Thread Greg KH
On Thu, Oct 29, 2015 at 11:52:33PM +0100, Philippe Loctaux wrote: > >From 16dae6c28a46ae257dcedd51d973aee7821053f3 Mon Sep 17 00:00:00 2001 > From: Philippe Loctaux > Date: Thu, 29 Oct 2015 22:45:16 +0100 > Subject: [PATCH] Staging: comedi: fixed comment, added a new line Why is this header all

Applied "regmap-mmio: Use native endianness for read/write" to the regmap tree

2015-10-29 Thread Mark Brown
The patch regmap-mmio: Use native endianness for read/write has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Michael Welling
Dmitry, On Thu, Oct 29, 2015 at 06:45:22PM -0700, Dmitry Torokhov wrote: > Hi Michael, > > On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > > Adds support for the i2c based tsc2004. > > > > Due to the overlapping functionality of the tsc2004 and tsc2005 > > the common code was

xt_TEE.c:undefined reference to `nf_dup_ipv6'

2015-10-29 Thread kbuild test robot
Hi Pablo, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8a28d67457b613258aa0578ccece206d166f2b9f commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b netfilter: factor out packet duplication for IPv4/IPv6 date: 3

Re: [PATCH 1/2] pinctrl: uniphier: enable UniPhier SoCs pinctrl drivers by default

2015-10-29 Thread Masahiro Yamada
Hi Linus, 2015-10-29 22:33 GMT+09:00 Linus Walleij : > On Tue, Oct 27, 2015 at 3:28 AM, Masahiro Yamada > wrote: > >> Add "default y" to the Kconfig rather than adding entries into >> arch/arm/configs/multi_v7_defconfig. >> >> Signed-off-by: Masahiro Yamada > > (...) >> config

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

2015-10-29 Thread Jiang Liu
On 2015/10/30 7:46, 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: [PATCH 0/2] power: Add support for TI BQ24261 charger

2015-10-29 Thread Krzysztof Kozlowski
2015-10-30 1:37 GMT+09:00 Ramakrishna Pallala : > This patch series adds the support for TI BQ24261 charger driver. > > TI BQ24261 charger driver relies on extcon notifications to get the > charger cable type and based on that it will set the charging parameters. > > Ramakrishna Pallala (2): >

Re: [PATCH 1/2] dt: power: Add support for TI BQ24261 charger

2015-10-29 Thread Krzysztof Kozlowski
2015-10-30 1:37 GMT+09:00 Ramakrishna Pallala : > This patch adds the device tree documentation for TI BQ24261 charger. > > Signed-off-by: Ramakrishna Pallala > Signed-off-by: Jenny TC > --- > .../devicetree/bindings/power/bq24261.txt | 34 > > 1 file changed,

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Dmitry Torokhov
Hi Michael, On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > Adds support for the i2c based tsc2004. > > Due to the overlapping functionality of the tsc2004 and tsc2005 > the common code was moved to a core driver (tsc200x-core). > > Signed-off-by: Michael Welling In

Re: [PATCH 07/17] fs/ext4: remove unnecessary new_valid_dev check

2015-10-29 Thread Yaowei Bai
On Thu, Oct 29, 2015 at 02:09:01PM -0400, Theodore Ts'o wrote: > On Mon, Sep 28, 2015 at 09:50:37PM +0800, Yaowei Bai wrote: > > As new_valid_dev always returns 1, so !new_valid_dev check is not > > needed, remove it. > > > > Signed-off-by: Yaowei Bai > > Thanks, applied. Ted, this patch has

Re: [PATCH] md/raid5: fix locking in handle_stripe_clean_event()

2015-10-29 Thread Neil Brown
On Fri, Oct 30 2015, Roman Gushchin wrote: > 29.10.2015, 03:35, "Neil Brown" : >> On Wed, Oct 28 2015, Roman Gushchin wrote: >> >>>  After commit 566c09c53455 ("raid5: relieve lock contention in >>> get_active_stripe()") >>>  __find_stripe() is called under conf->hash_locks + hash. >>>  But

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-29 Thread David Miller
From: Nishanth Aravamudan Date: Thu, 29 Oct 2015 08:57:01 -0700 > So, would that imply changing just the NVMe driver code rather than > adding the dma_page_shift API at all? What about > architectures that can support the larger page sizes? There is an > implied performance impact, at least, of

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-29 Thread Nicolas Pitre
On Wed, 28 Oct 2015, Nicolas Pitre wrote: > On Thu, 29 Oct 2015, Alexey Brodkin wrote: > > > Fortunately we already have much better __div64_32() for 32-bit ARM. > > There in case of division by constant preprocessor calculates so-called > > "magic number" which is later used in multiplications

[PATCH 2/3] PM / OPP: Add {opp-microvolt|opp-microamp|turbo-mode|opp-suspend}- binding

2015-10-29 Thread Viresh Kumar
Depending on the version of hardware or its properties, which are only known at runtime, various properties of the OPP can change. For example, an OPP with frequency 1.2 GHz, may have different voltage/current requirements based on the version of the hardware it is running on. Similarly, it may or

[PATCH 3/3] PM / OPP: Remove 'operating-points-names' binding

2015-10-29 Thread Viresh Kumar
These aren't used until now by any DT files and wouldn't be used now as we have a better scheme in place now, i.e. opp-property- properties. Remove the (useless) binding without breaking ABI. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/opp/opp.txt | 62

[PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding

2015-10-29 Thread Viresh Kumar
We may want to enable only a subset of OPPs, from the bigger list of OPPs, based on what version of the hardware we are running on. This would enable us to not duplicate OPP tables for every version of the hardware we support. To enable that, this patch defines a new property 'opp-supported-hw'.

Re: [alsa-devel] [PATCH V2 02/10] ASoC: img: Add driver for I2S input controller

2015-10-29 Thread Mark Brown
On Thu, Oct 29, 2015 at 03:42:59PM +, Damien Horsley wrote: > For the I2S In, there is another issue with flushing on stream close. If > the stream is stopped, then reconfigured to use a larger number of > channels (without the stream being closed), then the per-channel fifos > will become

Re: [PATCH v4 0/6] virtio core DMA API conversion

2015-10-29 Thread Andy Lutomirski
On Thu, Oct 29, 2015 at 6:09 PM, Andy Lutomirski wrote: > This switches virtio to use the DMA API unconditionally. I'm sure > it breaks things, but it seems to work on x86 using virtio-pci, with > and without Xen, and using both the modern 1.0 variant and the > legacy variant. ... > Andy

[PATCH v4 0/6] virtio core DMA API conversion

2015-10-29 Thread Andy Lutomirski
This switches virtio to use the DMA API unconditionally. I'm sure it breaks things, but it seems to work on x86 using virtio-pci, with and without Xen, and using both the modern 1.0 variant and the legacy variant. This appears to work on native and Xen x86_64 using both modern and legacy

[PATCH v9 15/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-10-29 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Tested-by: Heiko Stuebner Tested-by: Javier Martinez Canillas

[PATCH v4 1/6] virtio-net: Stop doing DMA from the stack

2015-10-29 Thread Andy Lutomirski
From: "Michael S. Tsirkin" Once virtio starts using the DMA API, we won't be able to safely DMA from the stack. virtio-net does a couple of config DMA requests from small stack buffers -- switch to using dynamically-allocated memory. This should have no effect on any performance-critical code

[PATCH v4 3/6] virtio_pci: Use the DMA API

2015-10-29 Thread Andy Lutomirski
This fixes virtio-pci on platforms and busses that have IOMMUs. This will break the experimental QEMU Q35 IOMMU support until QEMU is fixed. In exchange, it fixes physical virtio hardware as well as virtio-pci running under Xen. We should clean up the virtqueue API to do its own allocation and

[PATCH v4 2/6] virtio_ring: Support DMA APIs

2015-10-29 Thread Andy Lutomirski
virtio_ring currently sends the device (usually a hypervisor) physical addresses of its I/O buffers. This is okay when DMA addresses and physical addresses are the same thing, but this isn't always the case. For example, this never works on Xen guests, and it is likely to fail if a physical

[PATCH v4 6/6] virtio_pci: Use the DMA API

2015-10-29 Thread Andy Lutomirski
This switches to vring_create_virtqueue, simplifying the driver and adding DMA API support. Signed-off-by: Andy Lutomirski --- drivers/virtio/virtio_pci_common.h | 7 - drivers/virtio/virtio_pci_legacy.c | 39 +++- drivers/virtio/virtio_pci_modern.c | 61

[PATCH v4 4/6] virtio: Add improved queue allocation API

2015-10-29 Thread Andy Lutomirski
This leaves vring_new_virtqueue alone for compatbility, but it adds two new improved APIs: vring_create_virtqueue: Creates a virtqueue backed by automatically allocated coherent memory. (Some day it this could be extended to support non-coherent memory, too, if there ends up being a platform on

[PATCH v4 5/6] virtio_mmio: Use the DMA API

2015-10-29 Thread Andy Lutomirski
This switches to vring_create_virtqueue, simplifying the driver and adding DMA API support. Signed-off-by: Andy Lutomirski --- drivers/virtio/virtio_mmio.c | 67 ++-- 1 file changed, 15 insertions(+), 52 deletions(-) diff --git

Re: [PATCH v8 0/17] Add Analogix Core Display Port Driver

2015-10-29 Thread Yakir Yang
Hi Heiko, On 10/30/2015 01:49 AM, Heiko Stuebner wrote: Am Mittwoch, 28. Oktober 2015, 16:15:43 schrieb Yakir Yang: Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Michael Welling
On Fri, Oct 30, 2015 at 09:39:05AM +0900, Mark Brown wrote: > On Thu, Oct 29, 2015 at 03:23:31PM -0700, Dmitry Torokhov wrote: > > > However, you have regmap in the driver core already. Mark, is it > > possible to have regmap API also allow doing raw underlying protocol > > transfer so that

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-29 Thread Christoph Lameter
On Thu, 29 Oct 2015, Tejun Heo wrote: > Wait, this series doesn't include Tetsuo's change. Of course it won't > fix the deadlock problem. What's necessary is Tetsuo's patch + > WQ_MEM_RECLAIM. This series is only dealing with vmstat changes. Do I get an ack here? -- To unsubscribe from this

Re: [RESEND, tip/locking/core, v5, 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-29 Thread Boqun Feng
On Tue, Oct 27, 2015 at 11:06:52AM +0800, Boqun Feng wrote: > On Tue, Oct 27, 2015 at 01:33:47PM +1100, Michael Ellerman wrote: > > On Mon, 2015-26-10 at 10:15:36 UTC, Boqun Feng wrote: > > > This patch fixes two problems to make value-returning atomics and > > > {cmp}xchg fully ordered on PPC. >

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Michel Dänzer
On 29.10.2015 23:26, Simon Wood wrote: > On Thu, October 29, 2015 8:07 am, Simon Wood wrote: >> > >>> Well, I can confirm that the patch stopped the Oops - but unfortunatly >>> the screen is still dark. >>> >>> Also, Oops _does_ happen with rc2 but the screens is OK with that... >>> Back >>> to

[PATCH v3 2/2] cputime: remove extra cost in task_cputime

2015-10-29 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto There is an extra cost in task_cputime() and task_cputime_scaled() when nohz_full is not activated. This patch removes that cost. When vtime accounting is not enabled, we don't need to get deltas of utime and stime with seqlock. This patch adds a shortcut route if vtime

[PATCH v3 1/2] cputime: fix invalid gtime in proc

2015-10-29 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto /proc/stats shows invalid gtime when the thread is running in guest. When vtime accounting is not enabled, we cannot get a valid delta. The delta is calculated now - tsk->vtime_snap, but tsk->vtime_snap is only updated when vtime accounting is enabled. This patch makes

Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-10-29 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:46 AM, wrote: > From: Jake Oshins > > This defines the channel type for PCI front-ends in Hyper-V VMs. > > Signed-off-by: Jake Oshins > --- > include/linux/hyperv.h | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/include/linux/hyperv.h

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Mark Brown
On Thu, Oct 29, 2015 at 03:23:31PM -0700, Dmitry Torokhov wrote: > However, you have regmap in the driver core already. Mark, is it > possible to have regmap API also allow doing raw underlying protocol > transfer so that consumers could issue command requests without needing > to know if they

Re: [patch] blk-mq: avoid excessive boot delays with large lun counts

2015-10-29 Thread Ming Lei
On Thu, Oct 29, 2015 at 11:18 PM, Jeff Moyer wrote: > Ming Lei writes: > >> Looks we should have cleared the TAG_SHARED flag during >> blk_mq_init_hctx() and just let blk_mq_update_tag_set_depth() >> deal with that, then the race can be avoided. > > The whole point of the patch set is to

Re: [PATCH v4 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-10-29 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:46 AM, wrote: > From: Jake Oshins > > This patch adds a second way of finding an IRQ domain associated with > a root PCI bus. After looking to see if one can be found through > the OF tree, it attempts to look up the IRQ domain through an > fwnode_handle stored in the

Hallo,

2015-10-29 Thread Prestige Finance Ltd
-- Hallo,     Ich bin Mrs. Sara Philipp Darlehensmittel von Prestige Finance Ltd wir sind Darlehen Kreditgeber und Immobilien wollen wir diejenigen, die finanzielle Hilfe benötigen zu erreichen. Wir bieten Business-Darlehen, persönliche Darlehen, Autokredite, Darlehen, Ausbildung und

Re: [PATCH net] i40e: Look up MAC address in Open Firmware or IDPROM

2015-10-29 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:34 AM, Sowmini Varadhan wrote: > > > This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC > address in Open Firmware or IDPROM"). > > As with that fix, attempt to look up the MAC address in Open Firmware > on systems that uspport it, and use IDPROM on

ATTN:

2015-10-29 Thread michael
Two million dollars donated to you, contact donor on (michaeldun...@yeah.net) via email. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

RE: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-29 Thread Lijun Pan
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 27, 2015 12:17 AM > To: Pan Lijun-B44306 > Cc: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org; Yoder Stuart-B08248 > ; katz Itai-RM05202 ; > Rivera Jose-B46482

[GIT PULL] PCI fixes for v4.3

2015-10-29 Thread Bjorn Helgaas
Hi Linus, Sorry for this last-minute update; it's been in -next for quite a while, but I forgot about it until I started getting ready for the merge window. It's small and fixes a way a user could cause a panic via sysfs, so I think it's worth getting it in v4.3. Bjorn The following changes

Re: [PATCH] checkpatch: fix a number of COMPLEX_MACRO false positives

2015-10-29 Thread Vladimir Zapolskiy
On 30.10.2015 00:46, Joe Perches wrote: > On Thu, 2015-10-29 at 23:36 +0200, Vladimir Zapolskiy wrote: >> A simple search over the kernel souce displays a number of correctly >> defined multiline macro, which generally are used as an array element >> initializer: >> >> % find ../linux -type f |

[PATCH v4 1/7] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-10-29 Thread jakeo
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processor to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

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

2015-10-29 Thread jakeo
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 --- arch/x86/include/asm/pci.h | 11 +++ 1 file changed, 11

  1   2   3   4   5   6   7   8   9   10   >