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

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

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 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

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 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 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: [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 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: [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 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 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..

[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

[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 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 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 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 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 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 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 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

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

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: 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: [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: [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: [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] 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

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 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, > +

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 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 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 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.

[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 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

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

2015-10-26 Thread Tejun Heo
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 keep taking things in weird directions. Let's just stay technical,

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

2015-10-26 Thread Mike Galbraith
On Tue, 2015-10-27 at 12:16 +0900, Tejun Heo wrote: > Hello, Mike. > > On Sun, Oct 25, 2015 at 04:43:33AM +0100, Mike Galbraith wrote: > > I don't think it's weird, it's just a thought wrt where pigeon holing > > could lead: If you filter out current users who do so in a manner you > > consider t

Re: [PATCH 4/5] staging: fsl-mc: bus rescan attribute to sync kernel with MC

2015-10-26 Thread Greg KH
On Sun, Oct 25, 2015 at 05:41:22PM -0500, Lijun Pan wrote: > Introduce the rescan attribute as a bus attribute to > synchronize the fsl-mc bus objects and the MC firmware. > > To rescan the fsl-mc bus, e.g., > echo 1 > /sys/bus/fsl-mc/rescan > > Signed-off-by: Lijun Pan > --- > drivers/staging/

Re: [PATCH v2 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-26 Thread Alim Akhtar
Hello On 10/26/2015 07:59 PM, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: Hi Lee, Thanks for looking into this. On 10/26/2015 04:36 PM, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Paul E. McKenney
On Tue, Oct 27, 2015 at 02:19:39PM +0900, Tejun Heo wrote: > Hello, > > On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > > > I believe that the above should instead be: > > > > > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, > > I should have just used li

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Paul E. McKenney
On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > On Mon, Oct 26, 2015 at 11:55 PM, Paul E. McKenney > wrote: > >> struct bdi_writeback *last_wb = NULL; > >> struct bdi_writeback *wb = list_entry_rcu(&bdi->wb_list, > > > > I believe that the above should instead be:

Re: [PATCH 1/3] dt-bindings: add document of mediatek efuse driver

2015-10-26 Thread andrew-ct chen
On Mon, 2015-10-26 at 10:55 +, Srinivas Kandagatla wrote: > > On 26/10/15 10:23, Sascha Hauer wrote: > > On Mon, Oct 26, 2015 at 09:56:14AM +, Srinivas Kandagatla wrote: > >> > >> > >> On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > >>> From: Andrew-CT Chen > >>> > >>> Add Mediate

Re: [PATCH 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-10-26 Thread andrew-ct chen
On Mon, 2015-10-26 at 09:56 +, Srinivas Kandagatla wrote: > On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > > From: Andrew-CT Chen > > > > Add Mediatek EFUSE driver to access hardware data like > > thermal sensor calibration or HDMI impedance. > > > > Signed-off-by: Andrew-CT Chen >

Re: [PATCH] clk: qcom: msm8960: Fix dsi1/2 halt bits

2015-10-26 Thread Archit Taneja
On 10/27/2015 06:53 AM, Stephen Boyd wrote: The halt bits for these clocks seem wrong. I get the following warning while booting on an msm8960-cdp: WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:97 clk_branch_toggle+0xd0/0x138() dsi1_clk status stuck at 'on' Modules linked in: CPU: 0

Re: [PATCH] Staging: wilc1000: Fix warning prefer eth_broadcast_addr over memset()

2015-10-26 Thread Greg KH
On Tue, Oct 27, 2015 at 01:21:46AM +0530, Punit Vara wrote: > This patch is to the host_interface.c that fixes up following > warning by checkpatch.pl: > > -Prefer eth_broadcast_addr() over memset() > > Signed-off-by: Punit Vara > --- > drivers/staging/wilc1000/host_interface.c | 2 +- > 1 file

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Tejun Heo
Hello, On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > > I believe that the above should instead be: > > > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, I should have just used list_entry() here. It's just offseting the pointer to set up the initial ite

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

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 17:41 -0500, Lijun Pan wrote: > The kernel support for the restool (a user space resource management > tool) is a driver for the /dev/dprc.N device file. > Its purpose is to provide an ioctl interface, > which the restool uses to interact with the MC bus driver > and with the

Guten Tag.

2015-10-26 Thread zhongjun
Guten Tag, Ich brauche einen ausländischen Partner für einen gemeinsamen Geschäfts Vorschlag, der auf die Übertragung von einer großen Geldsumme an einem ausländischen Konto bezieht, als Empfänger der Mittel. Alles an dieser Transaktion rechtlich ohne Brücke der Finanzbehörde sowohl in meinem L

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread Laura Abbott
On 10/26/15 9:57 PM, j...@perches.com wrote: On 2015-10-26 19:47, Theodore Ts'o wrote: What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change unti

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread joe
On 2015-10-26 19:47, Theodore Ts'o wrote: What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change until the MAINTAINERS file is fully populated. T

Re: [PATCH v2 0/5] crypto: add algif_akcipher user space API

2015-10-26 Thread Marcel Holtmann
Hi Stephan, > This patch set adds the AF_ALG user space API to externalize the > asymmetric cipher API recently added to the kernel crypto API. > > The patch set is tested with the user space library of libkcapi [1]. > Use [1] test/test.sh for a full test run. The test covers the > following scen

Re: [PATCH 0/8] add missing of_node_put

2015-10-26 Thread David Miller
From: Julia Lawall Date: Sun, 25 Oct 2015 14:56:59 +0100 > The various for_each device_node iterators performs an of_node_get on each > iteration, so a break out of the loop requires an of_node_put. > > The complete semantic patch that fixes this problem is > (http://coccinelle.lip6.fr): ... S

Re: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 22:15 -0500, Zhao Qiang-B45475 wrote: > On Sat, 2015-10-24 at 04:59 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:59 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxpp

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

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 21:42 -0500, Zhao Qiang-B45475 wrote: > On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:56 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxppc-

Re: [PATCH net-next] bpf: make tracing helpers gpl only

2015-10-26 Thread David Miller
From: Alexei Starovoitov Date: Fri, 23 Oct 2015 14:58:19 -0700 > exported perf symbols are GPL only, mark eBPF helper functions > used in tracing as GPL only as well. > > Suggested-by: Peter Zijlstra > Signed-off-by: Alexei Starovoitov Applied. -- To unsubscribe from this list: send the line

Re: [PATCH v3 3/5] mtd: ofpart: update devicetree binding specification

2015-10-26 Thread Rob Herring
On Sun, Oct 11, 2015 at 3:04 PM, Brian Norris wrote: > Hi DT maintainers, > > It's a bit hypocritical of me, since I've been a slow reviewer as well, > but... can we get some review on this one? Usually, I'm comfortable > taking driver DT bindings without your review, but this one is a bit > more

Re: [GIT PULL] On-demand device probing

2015-10-26 Thread Rafael J. Wysocki
On Tuesday, October 20, 2015 12:04:05 PM Alan Stern wrote: > On Tue, 20 Oct 2015, Mark Brown wrote: > > > On Tue, Oct 20, 2015 at 10:40:03AM -0400, Alan Stern wrote: > > > > > Furthermore, that applies only to devices that use synchronous suspend. > > > Async suspend is becoming common, and the

Re: [PATCH v3 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-26 Thread David Miller
From: Alexei Starovoitov Date: Thu, 22 Oct 2015 17:10:14 -0700 > Fix safety checks for bpf_perf_event_read(): > - only non-inherited events can be added to perf_event_array map > (do this check statically at map insertion time) > - dynamically check that event is local and !pmu->count > Otherwi

[PATCH] kernel: power: replacing printk

2015-10-26 Thread Saurabh Sengar
replacing prink(s) with appropriate pr_info and pr_err Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 7e4cda4..2597a96 100644 --- a/kernel/power/suspend.

RE: [PATCH v3] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-26 Thread Yao Yuan
Hi Vinod, Thanks for your review. I did the test and it seems that it should be ok when CONFIG_PM is not defined. So I removed the protection code to make it more readable. Do you think is it ok? Best Regards, Yuan Yao > -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com]

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

2015-10-26 Thread yalin wang
> On Oct 27, 2015, at 10:09, 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 >> swap cache(ie,

Re: [net-next PATCHv2] bpf: Output error message to logbuf when loading failure

2015-10-26 Thread Wangnan (F)
On 2015/10/27 11:26, Alexei Starovoitov wrote: On Mon, Oct 26, 2015 at 07:13:08AM +, Wang Nan wrote: Many reasons can make bpf_prog_load() return EINVAL. This patch utilizes logbuf to deliver the actual reason of the failure. Without this patch, it is very easy for user to pass an object

[PATCH] drivers: of: removing assignment of 0 to static variable

2015-10-26 Thread Saurabh Sengar
no need to initialise static variable with 0, hence correcting it. Signed-off-by: Saurabh Sengar --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 6e82bc42..63699dd 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-26 Thread Huang Rui
On Fri, Oct 23, 2015 at 10:20:59PM +0800, Guenter Roeck wrote: > On 10/19/2015 07:28 PM, Huang Rui wrote: > > This patch introduces an algorithm that computes the average power by > > reading a delta value of “core power accumulator” register during > > measurement interval, and then dividing delta

Re: [PATCH net-next] seccomp, ptrace: add support for dumping seccomp filters

2015-10-26 Thread Alexei Starovoitov
On Tue, Oct 27, 2015 at 09:23:59AM +0900, Tycho Andersen wrote: > This patch adds support for dumping a process' (classic BPF) seccomp > filters via ptrace. > > PTRACE_SECCOMP_GET_FILTER allows the tracer to dump the user's classic BPF > seccomp filters. addr should be an integer which represents

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

2015-10-26 Thread Alex Williamson
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 low latency requirement since it > reduce the context switch to/from the

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Linus Torvalds
On Mon, Oct 26, 2015 at 11:55 PM, Paul E. McKenney wrote: >> struct bdi_writeback *last_wb = NULL; >> struct bdi_writeback *wb = list_entry_rcu(&bdi->wb_list, > > I believe that the above should instead be: > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, I

Re: [net-next PATCHv2] bpf: Output error message to logbuf when loading failure

2015-10-26 Thread Alexei Starovoitov
On Mon, Oct 26, 2015 at 07:13:08AM +, Wang Nan wrote: > Many reasons can make bpf_prog_load() return EINVAL. This patch utilizes > logbuf to deliver the actual reason of the failure. > > Without this patch, it is very easy for user to pass an object with > "version" section not match the kerne

Re: [RFC PATCH v2 1/2] perf tools: Set evsel->system_wide field for global system wide recording

2015-10-26 Thread Wangnan (F)
On 2015/10/26 21:02, Adrian Hunter wrote: On 26/10/15 14:39, Wangnan (F) wrote: On 2015/10/26 20:24, Adrian Hunter wrote: On 26/10/15 13:41, Wang Nan wrote: evsel->system_wide is introduced by commit bf8e8f4b832972c76d64ab2e2837 (perf evlist: Add 'system_wide' option), which is used for mix

Re: [RFC PATCH] x86/cpu: Move sparsely used bit leafs into scattered features (was: Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature)

2015-10-26 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 07:56:06PM -0700, Andy Lutomirski wrote: > How few features in one leaf do we need before calling it scattered > makes sense? These four might make sense to keep as is... Actually, according to hpa, all those leafs will be filled out gradually as they're apparently going t

Re: [PATCH] bpf: sample: define aarch64 specific registers

2015-10-26 Thread Alexei Starovoitov
On Mon, Oct 26, 2015 at 05:02:19PM -0700, Yang Shi wrote: > Define aarch64 specific registers for building bpf samples correctly. > > Signed-off-by: Yang Shi looks good to me. Acked-by: Alexei Starovoitov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH] ARM: dts: uniphier: add system-bus-controller nodes

2015-10-26 Thread Masahiro Yamada
The System Bus Controller block has two register regions, but having only the second one in a separate node was not nice. Replace it with a new node with two register regions in it. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 7 +++ arch/arm/boot/dts/un

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

2015-10-26 Thread Tejun Heo
Hello, Mike. On Sun, Oct 25, 2015 at 04:43:33AM +0100, Mike Galbraith wrote: > I don't think it's weird, it's just a thought wrt where pigeon holing > could lead: If you filter out current users who do so in a manner you > consider to be in some way odd, when all the filtering is done, you may >

[PATCH v2] blktrace: re-write setting q->blk_trace

2015-10-26 Thread Davidlohr Bueso
This is really about simplifying the double xchg patterns into a single cmpxchg, with the same logic. Other than the immediate cleanup, there are some subtleties this change deals with: (i) While the load of the old bt is fully ordered wrt everything, ie: old_bt = xchg(&q->blk_trace, bt);

[PATCH] perf tools: Allow BPF program attach to modules

2015-10-26 Thread Wang Nan
By extending the syntax of BPF object section names, this patch allows user to attach BPF programs to symbol in modules. For example: SEC("module=i915\n" "parse_cmds=i915_parse_cmds") int parse_cmds(void *ctx) { return 1; } Implementation is very simple: like what 'perf probe' does,

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

2015-10-26 Thread Boqun Feng
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. > > Hi Boqun, > > Can you please split this into two patches. One tha

[PATCH] blktrace: re-write setting q->blk_trace

2015-10-26 Thread Davidlohr Bueso
This is really about simplifying the double xchg patterns into a single cmpxchg, with the same logic. Other than the immediate cleanup, there are some subtleties this change deals with: (i) While the load of the old bt is fully ordered wrt everything, ie: old_bt = xchg(&q->blk_trace, bt);

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-26 Thread Jason Wang
On 10/26/2015 04:30 PM, Michael S. Tsirkin wrote: > On Mon, Oct 26, 2015 at 02:53:38PM +0800, Jason Wang wrote: >> >> On 10/26/2015 02:09 PM, Michael S. Tsirkin wrote: >>> On Mon, Oct 26, 2015 at 11:15:57AM +0800, Jason Wang wrote: On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: > On F

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-10-26 Thread Huan Wang
Hi, Mark, Could you comment this patch? It is based on your suggestion in https://patchwork.kernel.org/patch/6764231/ . Thanks. Best Regards, Alison Wang > -Original Message- > From: Alison Wang [mailto:b18...@freescale.com] > Sent: Friday, July 17, 2015 5:12 PM > To: m

Re: [RFC PATCH] x86/cpu: Move sparsely used bit leafs into scattered features (was: Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature)

2015-10-26 Thread Andy Lutomirski
On Mon, Oct 26, 2015 at 2:01 PM, Borislav Petkov wrote: > On Mon, Oct 26, 2015 at 09:22:50PM +0100, Borislav Petkov wrote: >> And btw, those Intel QoS single bit defines and the XSAVE stuff there >> should move to that function too - that's a pure waste having them in >> the cap_flags array. I'll

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-26 Thread Huang Rui
On Fri, Oct 23, 2015 at 03:27:02PM +0200, Borislav Petkov wrote: > On Tue, Oct 20, 2015 at 10:28:24AM +0800, Huang Rui wrote: > > This patch adds a member in fam15h_power_data which specifies the > > compute unit accumulated power. It adds do_read_registers_on_cu to do > > all the read to all MSRs

Re: [PATCH] perf, tools, stat: Implement --metric-only mode

2015-10-26 Thread Andi Kleen
Here's a v2 that fixes a problem in --per-core mode. --- Add a new mode to only print metrics. Sometimes we don't care about the raw values, just want the computed metrics. This allows more compact printing, so with -I each sample is only a single line. This also allows easier plotting and proces

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread Theodore Ts'o
What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change until the MAINTAINERS file is fully populated. Cheers,

[PATCH] ARM: multi_v7_defconfig: enable UniPhier I2C drivers

2015-10-26 Thread Masahiro Yamada
These two drivers were merged into the I2C sub-system by commit dd6fd4a32793 ("i2c: uniphier: add UniPhier FIFO-less I2C driver") and commit 6a62974b667f ("i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver"). Enable them from arch/arm/configs/multi_v7_defconfig. Signed-off-by: Masahiro Yamada

Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout

2015-10-26 Thread Andi Kleen
On Mon, Oct 26, 2015 at 04:32:06PM +0100, Jiri Olsa wrote: > On Fri, Oct 23, 2015 at 04:59:33PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Move the running/noise printing into printout to avoid > > duplicated code in the callers. > > > > v2: Merged with other patches. Remove unnecessa

[PATCH] mtd: blkdevs: fix potential deadlock + lockdep warnings

2015-10-26 Thread Brian Norris
Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing mtd->usecount") fixed a race condition but due to poor ordering of the mutex acquisition, introduced a potential deadlock. The deadlock can occur, for example, when rmmod'ing the m25p80 module, which will delete one or more MTDs,

[PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-26 Thread Brian Norris
It seems more logical to use a device node directly associated with the MTD master device (i.e., mtd->dev.of_node field) rather than requiring auxiliary partition parser information to be passed in by the driver in a separate struct. This patch supports the mtd->dev.of_node field, deprecates the p

Re: [PATCH v2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-26 Thread Ard Biesheuvel
On 27 October 2015 at 06:02, Matt Fleming wrote: > On Fri, 23 Oct, at 10:37:46AM, Ard Biesheuvel wrote: >> >> After looking at the original (already merged) patch 11/11 again, I >> realize this is still not right: the problem is that efi_memory_map's >> phys_map member uses a void* type to hold a

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

2015-10-26 Thread Michael Ellerman
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. Hi Boqun, Can you please split this into two patches. One that does the cmpxchg change and one that changes PPC_ATOMIC_ENTRY_BARRIER. Also g

[PATCH 3/5] mtd: spi-nor: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
Now that the SPI-NOR/MTD framework pass the 'flash_node' through to the partition parsing code, we don't have to do it ourselves. Also convert to mtd_device_register(), since we don't need the 2nd and 3rd parameters anymore. Signed-off-by: Brian Norris --- drivers/mtd/devices/m25p80.c | 8

[PATCH 5/5] mtd: drop 'of_node' partition parser data

2015-10-26 Thread Brian Norris
This field is no longer used anywhere, as it is superseded by mtd->dev.of_node. Signed-off-by: Brian Norris --- drivers/mtd/ofpart.c | 14 -- include/linux/mtd/partitions.h | 4 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/ofpart.c b/dri

[PATCH 4/5] mtd: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
We should assign the MTD dev.of_node instead of the parser data field. This gets us the equivalent partition parser behavior with fewer special fields and parameter passing. Also convert several of these to mtd_device_register(), since we don't need the 2nd and 3rd parameters anymore. Signed-off-

[PATCH 0/5] mtd: migrate 'of_node' handling to core, not in mtd_part_parser_data

2015-10-26 Thread Brian Norris
Hi, I noticed that, for MTD drivers that want to support DT partition parsing (essentially all recent ones), it's a bit awkward to set the tell MTD which DT node to use. I also noticed that this info is duplicated in a few places; namely, some sub-subsystems (like SPI NOR and NAND) need their own

[PATCH 2/5] mtd: nand: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
All of these drivers set up a parser data struct just to communicate DT partition data. This field has been deprecated and is instead supported by telling nand_scan_ident() about the 'flash_node'. This patch: * sets chip->flash_node for those drivers that didn't already (but used OF partitioni

Re: [PATCH 20/31] perf tools: Allow BPF program attach to uprobe events

2015-10-26 Thread Wangnan (F)
On 2015/10/14 20:41, Wang Nan wrote: This patch appends new syntax to BPF object section name to support probing at uprobe event. Now we can use BPF program like this: SEC( "target=/lib64/libc.so.6\n" "libcwrite=__write" ) int libcwrite(void *ctx) { return 1; } Where, in s

Re: [PATCH] scsi_sysfs: Fix queue_ramp_up_period return code

2015-10-26 Thread Bart Van Assche
On 10/26/15 07:54, 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 of bytes wr

  1   2   3   4   5   6   7   8   9   >