Re: [PATCH v2] iov: restore NumVFs register to 0 before return from virtfn_max_buses()

2015-10-26 Thread Alexander Duyck
On 10/15/2015 10:16 AM, Bjorn Helgaas wrote: Hi Ethan, On Wed, Sep 16, 2015 at 12:19:53PM +0900, Ethan Zhao wrote: After commit 4449f079722c ("PCI: Calculate maximum number of buses required for VFs"),the initial value of NumVFs register was left to non-zero after sriov_init() and no VFs was en

[PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- Changes in v2: - Decoupled tf->flags changes in ata_scsi_pass_thru() from this patch as per Tejun's suggestion.

Re: [PATCH 4/7 v2] pseries/iommu: implement DDW-aware dma_get_page_shift

2015-10-26 Thread Alexey Kardashevskiy
On 10/24/2015 07:59 AM, Nishanth Aravamudan wrote: When DDW (Dynamic DMA Windows) are present for a device, we have stored the TCE (Translation Control Entry) size in a special device tree property. Check if we have enabled DDW for the device and return the TCE size from that property if present.

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Mike Galbraith
On Tue, 2015-10-27 at 14:46 +0900, Tejun Heo wrote: > Hello, > > On Tue, Oct 27, 2015 at 06:42:11AM +0100, Mike Galbraith wrote: > > Sure, sounds fine, I just fervently hope that the below is foul swamp > > gas having nothing what so ever to do with your definition of "saner". > > lol, idk, you k

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Tejun Heo
On Tue, Oct 27, 2015 at 06:56:42AM +0100, Mike Galbraith wrote: > > Well, if you think certain things are being missed, please speak up. > > Not in some media campaign way but with technical reasoning and > > justifications. > > Inserting a middle-man is extremely unlikely to improve performance.

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-26 Thread Alexey Kardashevskiy
On 10/24/2015 07:57 AM, Nishanth Aravamudan wrote: On Power, the kernel's page size can differ from the IOMMU's page size, so we need to override the generic implementation, which always returns the kernel's page size. Lookup the IOMMU's page size from struct iommu_table, if available. Fallback t

Re: [PATCH v3 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-26 Thread Stephen Hemminger
> + > +static struct ethtool_ops nb8800_ethtool_ops = { Ops should be const > + .get_settings = nb8800_get_settings, > + .set_settings = nb8800_set_settings, > + .nway_reset = nb8800_nway_reset, > + .get_link = ethtool_op_get_link, > +

Linux 4.2.4 Random ext4 corruption (thinks active inodes are deleted)

2015-10-26 Thread Jeffrey Merkey
Same as before. Strange error with fuse trying to load (I think its related in some way with the writes being made to the /proc/sysrq), then strange errors. I am running on CENTOS 6.3 with 4.2.4 kernel. fsck cleans up the problem so its not a disk error, kernel error of some sort. Jeff Ebtables

Re: [PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-26 Thread Keerthy
Hi Heiko, On Monday 26 October 2015 02:43 PM, Heiko Schocher wrote: remove tps65217.dtsi and adapt all boards, which used it. I boot tested this on am335x-bone and am335x-boneblack boards and could successfully boot and i even checked the regulators registered am335x-bone: cat /sys/class/r

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Mike Galbraith
On Tue, 2015-10-27 at 15:00 +0900, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 06:56:42AM +0100, Mike Galbraith wrote: > > > Well, if you think certain things are being missed, please speak up. > > > Not in some media campaign way but with technical reasoning and > > > justifications. > > > > Inser

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread Tejun Heo
On Tue, Oct 27, 2015 at 11:19:15AM +0530, vinayak.k...@gmail.com wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale Applied to libata/for-4.4. Thanks

Re: [PATCHv12 26/37] mm: rework mapcount accounting to enable 4k mapping of THPs

2015-10-26 Thread Naoya Horiguchi
On Tue, Oct 06, 2015 at 06:23:53PM +0300, Kirill A. Shutemov wrote: > We're going to allow mapping of individual 4k pages of THP compound. > It means we need to track mapcount on per small page basis. > > Straight-forward approach is to use ->_mapcount in all subpages to track > how many time this

Re: Re: [PATCH v3 0/8] ftrace with regs + live patching for ppc64 LE (ABI v2)

2015-10-26 Thread kbuild test robot
Hi Torsten, [auto build test ERROR on powerpc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Torsten-Duwe/Re-PATCH-v3-0-8-ftrace-with-regs-live-patching-for-ppc64-LE-ABI-v2/20151027-020058 config: p

Re: [PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-26 Thread Heiko Schocher
Hello Keerthy, Am 27.10.2015 um 07:06 schrieb Keerthy: Hi Heiko, On Monday 26 October 2015 02:43 PM, Heiko Schocher wrote: remove tps65217.dtsi and adapt all boards, which used it. I boot tested this on am335x-bone and am335x-boneblack boards and could successfully boot and i even checked

Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator

2015-10-26 Thread Heiko Schocher
Hello Mark, Am 27.10.2015 um 03:12 schrieb Mark Brown: On Mon, Oct 26, 2015 at 12:25:17PM +0100, Heiko Schocher wrote: add DT support for the tps6502x regulators. Please use subject lines matching the style for the subsystem. Would be "regulator: tps6520x:" correct? + regulators = o

[PATCH v3 00/10] Add tune support of Mediatek MMC driver

2015-10-26 Thread Chaotian Jing
Change in v3: Fix checkpatch errors and warnings for patch 8 Split patch 9, make DT parts enabling hw reset separately Change in v2: Drop the 400mhz and use assigned-clock-parents to instead Split the original tune patch to several independent patches Re-write the mmc_send_tuning() Fix GPD checksu

[PATCH v3 02/10] mmc: dt-bindings: update Mediatek MMC bindings

2015-10-26 Thread Chaotian Jing
Add 400Mhz clock source for HS400 mode Signed-off-by: Chaotian Jing --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-s

[PATCH v3 08/10] mmc: mmc: extend the mmc_send_tuning()

2015-10-26 Thread Chaotian Jing
The mmc_execute_tuning() has already prepared the opcode, there is no need to prepare it again at mmc_send_tuning(), and, there is a BUG of mmc_send_tuning() to determine the opcode by bus width, assume eMMC was running at HS200, 4bit mode, then the mmc_send_tuning() will overwrite the opcode from

[PATCH v3 03/10] mmc: mediatek: make cmd_ints_mask to const

2015-10-26 Thread Chaotian Jing
cmd_ints_mask and data_ints_mask are constant value, so make it to const Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index b2e89d3..8b3e15d 100

[PATCH v3 10/10] arm64: dts: mediatek: add HS200/HS400/SDR50/SDR104 support

2015-10-26 Thread Chaotian Jing
add HS200/HS400 support for eMMC add SDR50/SDR104 support for SD Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/

[PATCH v3 07/10] arm64: dts: mediatek: add eMMC hw reset support

2015-10-26 Thread Chaotian Jing
Add eMMC hardware reset support Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 4be66ca..6d79ffc 100644 --- a/arch/arm

[PATCH v3 09/10] mmc: mediatek: add HS400 support

2015-10-26 Thread Chaotian Jing
add HS400 mode and tune support Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 249 +- 1 file changed, 244 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 5627644..39568cc 100644 ---

[PATCH v3 06/10] mmc: mediatek: add implement of ops->hw_reset()

2015-10-26 Thread Chaotian Jing
add implement of ops->hw_reset() for eMMC Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 3858163..5627644 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers

[PATCH v3 04/10] mmc: mediatek: change the argument "ddr" to "timing"

2015-10-26 Thread Chaotian Jing
use the ios->timing directly is better It can reflect current timing and do settings by timing Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.

[PATCH v3 05/10] mmc: mediatek: fix got GPD checksum error interrupt when data transfer

2015-10-26 Thread Chaotian Jing
Even if we only use one gpd, we need alloc 2 gpd and make the gpd->next pointer to the second gpd, or may get gpd checksum error, this was checked by hardware Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH v3 01/10] mmc: core: Add DT bindings for eMMC hardware reset support

2015-10-26 Thread Chaotian Jing
Sometime only need set MMC_CAP_HW_RESET for one of MMC hosts, So set it in device tree is better. Signed-off-by: Chaotian Jing --- Documentation/devicetree/bindings/mmc/mmc.txt | 1 + drivers/mmc/core/host.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentati

RE: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-26 Thread Zhao Qiang
On Tue, Oct 27, 2015 at 12:48 PM, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 27, 2015 12:48 PM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061 ; > b..

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread Vinayak Kale
On Tue, Oct 27, 2015 at 11:46 AM, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 11:19:15AM +0530, vinayak.k...@gmail.com wrote: >> From: Vinayak Kale >> >> This patch is needed to make NCQ commands with FPDMA protocol value >> (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. >> >> Signed

Re: [PATCH v4 1/7] usb: gadget: f_midi: Transmit data only when IN ep is enabled

2015-10-26 Thread Robert Baldyga
On 10/26/2015 11:49 PM, Felipe Tonello wrote: > Hi Robert, > > On Mon, Oct 26, 2015 at 10:13 PM, Robert Baldyga > wrote: >> Hi Felipe, >> >> On 10/26/2015 05:55 PM, Felipe F. Tonello wrote: >>> This makes sure f_midi doesn't try to enqueue data when the IN endpoint is >>> disabled, ie, USB cable

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-26 Thread xiakaixu
于 2015/10/23 23:12, Peter Zijlstra 写道: > On Fri, Oct 23, 2015 at 02:52:11PM +0200, Peter Zijlstra wrote: >> On Thu, Oct 22, 2015 at 06:28:22PM +0800, Wangnan (F) wrote: >>> information to analysis when glitch happen. Another way we are trying to >>> implement >>> now is to dynamically turn events o

Re: [RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-26 Thread Yunhong Jiang
On Mon, Oct 26, 2015 at 09:37:14PM -0600, Alex Williamson wrote: > On Mon, 2015-10-26 at 18:20 -0700, Yunhong Jiang wrote: > > An option to force VFIO PCI MSI/MSI-X handler as non-threaded IRQ, > > even when CONFIG_IRQ_FORCED_THREADING=y. This is uselful when > > assigning a device to a guest with

Re: [PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface

2015-10-26 Thread Robert Baldyga
On 10/26/2015 11:53 PM, Felipe Tonello wrote: > Hi Robert, > > On Mon, Oct 26, 2015 at 10:30 PM, Robert Baldyga > wrote: >> On 10/26/2015 05:55 PM, Felipe F. Tonello wrote: >>> This avoids duplication of USB requests for OUT endpoint and >>> re-enabling endpoints. >>> >>> Signed-off-by: Felipe F.

Re: [PATCH 3/5] mm: clear PG_dirty to mark page freeable

2015-10-26 Thread Minchan Kim
On Mon, Oct 26, 2015 at 06:28:13PM -0700, Hugh Dickins wrote: > On Mon, 19 Oct 2015, Minchan Kim wrote: > > > Basically, MADV_FREE relies on dirty bit in page table entry > > to decide whether VM allows to discard the page or not. > > IOW, if page table entry includes marked dirty bit, VM shouldn'

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-26 Thread Scott Wood
On Tue, 2015-10-27 at 01:24 -0500, Zhao Qiang-B45475 wrote: > On Tue, Oct 27, 2015 at 12:48 PM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 27, 2015 12:48 PM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxppc-

Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function

2015-10-26 Thread Robert Baldyga
On 10/26/2015 05:55 PM, Felipe F. Tonello wrote: > This function is shared between gadget functions, so this avoid unnecessary > duplicated code and potentially avoid memory leaks. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/function/f_midi.c | 6 -- > drivers/usb/g

Re: [PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-26 Thread Minchan Kim
On Mon, Oct 26, 2015 at 07:09:15PM -0700, Hugh Dickins wrote: > On Mon, 19 Oct 2015, Minchan Kim wrote: > > > I made reclaim path mess to check and free MADV_FREEed page. > > This patch simplify it with tweaking add_to_swap. > > > > So far, we mark page as PG_dirty when we add the page into > > s

character driver - poll() timeout

2015-10-26 Thread Muni Sekhar
[ Please keep me in CC as I'm not subscribed to the list] Hello, Is it possible to print the timeout value in character driver poll() API? User mode call: int poll(struct pollfd *fds, nfds_t nfds, int timeout) Kernel mode call: unsigned int driver_poll(struct file *filp, poll_table *wait) --

Re: [PATCH] scsi_sysfs: Fix queue_ramp_up_period return code

2015-10-26 Thread Hannes Reinecke
On 10/26/2015 03:54 PM, Peter Oberparleiter wrote: > Writing a number to /sys/bus/scsi/devices//queue_ramp_up_period > returns the value of that number instead of the number of bytes written. > This behavior can confuse programs expecting POSIX write() semantics. > Fix this by returning the number

Re: [PATCH 5/5] mm: mark stable page dirty in KSM

2015-10-26 Thread Minchan Kim
On Mon, Oct 26, 2015 at 07:23:12PM -0700, Hugh Dickins wrote: > On Mon, 19 Oct 2015, Minchan Kim wrote: > > > Stable page could be shared by several processes and last process > > could own the page among them after CoW or zapping for every process > > except last process happens. Then, page table

<    4   5   6   7   8   9