Re: [PATCH resend] staging: lustre: osc: clean up whitespace and align function parameters

2015-06-02 Thread Sudip Mukherjee
On Tue, Jun 02, 2015 at 11:32:19AM -0400, Chris Hanna wrote: > Signed-off-by: Chris Hanna > > Minor changes to remove excessive whitespace and improve > readability of functions. this description should come above your Signed-off-by line. regards sudip -- To unsubscribe from this list: send

Re: [RFC][PATCH 0/2] Android style loosening of cgroup attach permissions

2015-06-02 Thread Tejun Heo
Hello, John. On Tue, Jun 02, 2015 at 12:07:23PM -0700, John Stultz wrote: > On Wed, May 20, 2015 at 8:41 PM, John Stultz wrote: > > As a heads up, this is just a first RFC and not a submission. > > > > Android currently loosens the cgroup attchment permissions, allowing > > tasks with

Re: [PATCH] Fix No space after the declaration

2015-06-02 Thread Sudip Mukherjee
On Wed, Jun 03, 2015 at 10:22:33AM +0530, aparnak wrote: > Added a new line > > Signed-off-by: aparnak Please use your full name in From header and Signed-off-by. and subject should have been: [PATCH] staging: lustre: llite: Fix No space after the declaration regards sudip -- To unsubscribe

Re: [PATCH v4 3/3] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2015-06-02 Thread Tejun Heo
Hello, Robert. Maybe qualifying the subject that it's only for single IRQ would be a good idea? > @@ -52,6 +53,7 @@ > > enum { > AHCI_PCI_BAR_STA2X11= 0, > + AHCI_PCI_BAR_CAVIUM = 0, > AHCI_PCI_BAR_ENMOTUS= 2, > AHCI_PCI_BAR_STANDARD = 5, I thought I

[PATCH 3/3] xen/block: add multi-page ring support

2015-06-02 Thread Bob Liu
Extend xen/block to support multi-page ring, so that more requests can be issued by using more than one pages as the request ring between blkfront and backend. As a result, the performance can get improved significantly. We got some impressive improvements on our highend iscsi storage cluster

[PATCH 1/3] drivers: xen-blkback: delay pending_req allocation to connect_ring

2015-06-02 Thread Bob Liu
This is a pre-patch for multi-page ring feature. In connect_ring, we can know exactly how many pages are used for the shared ring, delay pending_req allocation here so that we won't waste too much memory. Signed-off-by: Bob Liu --- drivers/block/xen-blkback/common.h |2 +-

[PATCH 2/3] driver: xen-blkfront: move talk_to_blkback to a more suitable place

2015-06-02 Thread Bob Liu
The major responsibility of talk_to_blkback() is allocate and initialize the request ring and write the ring info to xenstore. But this work should be done after backend entered 'XenbusStateInitWait' as defined in the protocol file. See xen/include/public/io/blkif.h in XEN git tree: Front

Re: [PATCH v4 2/3] ahci: Store irq number in struct ahci_host_priv

2015-06-02 Thread Tejun Heo
On Sun, May 31, 2015 at 01:55:18PM +0200, Robert Richter wrote: > From: Robert Richter > > Currently, ahci supports only msi and intx. To also support msix the > handling of the irq number need to be changed. The irq number for msix > devices is taken from msi_list instead of pci_dev. Thus, the

Re: [GIT PULL] phy: for v4.2 merge window

2015-06-02 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 03 June 2015 10:44 AM, Greg KH wrote: On Tue, Jun 02, 2015 at 08:13:31PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, Here's the PHY pull request for 4.2 merge window. Please find below the list of changes that goes in this pull request. There was a merge conflict in

[PATCH v4] Add TI CDCE925 I2C controlled clock synthesizer driver

2015-06-02 Thread Mike Looijmans
This driver supports the TI CDCE925 programmable clock synthesizer. The chip contains two PLLs with spread-spectrum clocking support and five output dividers. The driver only supports the following setup, and uses a fixed setting for the output muxes: Y1 is derived from the input clock Y2 and

Re: Fwd: [RFC] make kthread_worker_fn to be freezable

2015-06-02 Thread Tejun Heo
On Tue, Jun 02, 2015 at 11:13:44AM +0800, yalin wang wrote: > this means i need create kthread like this : > > struct task_struct *kworker_task = kthread_run(kthread_worker_fn, > , "nvme%d", dev->instance); > kworker_task->flags &= ~PF_NOFREEZE; > is it safe to do like this ? It's not. > i

Re: [GIT PULL] phy: for v4.2 merge window

2015-06-02 Thread Greg KH
On Tue, Jun 02, 2015 at 08:13:31PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Here's the PHY pull request for 4.2 merge window. Please find below > the list of changes that goes in this pull request. > > There was a merge conflict in Makefile and Kconfig while trying to merge > with

[PATCH] of: clean-up unnecessary libfdt include paths

2015-06-02 Thread Rob Herring
With the latest dtc import include fixups, it is no longer necessary to add explicit include paths to use libfdt. Remove these across the kernel. Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Grant Likely Cc:

Re: [GIT PULL] extcon next for 4.2

2015-06-02 Thread Greg KH
On Wed, Jun 03, 2015 at 10:30:35AM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next full request for v4.2. I add detailed description of this > pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > The following changes since

Re: [PATCH v1 0/2] scatterlist: introduce sg_nents_for_len

2015-06-02 Thread Herbert Xu
On Mon, Jun 01, 2015 at 11:15:19AM -0500, Tom Lendacky wrote: > This series introduces and makes use of a new scatterlist function named > sg_nents_for_len. The purpose of this function is determine the number > of scatterlist entries required to satisify a specified length. The > resulting count

Re: [RFC][PATCH 00/10] zsmalloc auto-compaction

2015-06-02 Thread Sergey Senozhatsky
On (05/30/15 00:05), Sergey Senozhatsky wrote: > RFC > > this is 4.3 material, but I wanted to publish it sooner to gain > responses and to settle it down before 4.3 merge window opens. > > in short, this series tweaks zsmalloc's compaction and adds > auto-compaction support. auto-compaction is

Re: [PATCH] crypto: prevent nx 842 load if no hw driver

2015-06-02 Thread Herbert Xu
On Thu, May 28, 2015 at 04:21:31PM -0400, Dan Streetman wrote: > Change the nx-842 common driver to wait for loading of both platform > drivers, and fail loading if the platform driver pointer is not set. > Add an independent platform driver pointer, that the platform drivers > set if they find

Re: [PATCH] powerpc/eeh: Fix trivial error in eeh_restore_dev_state()

2015-06-02 Thread Guo Wen Shan
David Gibson wrote on 03/06/2015 14:52:59: > From: David Gibson > To: Guo Wen Shan/Australia/IBM@IBMAU, m...@ellerman.id.au > Cc: b...@kernel.crashing.org, pau...@samba.org, linuxppc- > d...@lists.ozlabs.org, linux-kernel@vger.kernel.org, David Gibson > > Date: 03/06/2015 14:53 > Subject:

Re: [RFC 2/4] mm/balloon: apply driver page migratable into balloon driver

2015-06-02 Thread Gioh Kim
On Tue, Jun 2, 2015 at 10:27 AM, Gioh Kim wrote: Apply driver page migration into balloon driver. Signed-off-by: Gioh Kim --- drivers/virtio/virtio_balloon.c| 2 ++ fs/proc/page.c | 4 +-- include/linux/balloon_compaction.h | 42

Re: [RFC][PATCH 7/7] sched,dl: Convert switched_{from,to}_dl() / prio_changed_dl() to balance callbacks

2015-06-02 Thread Kamalesh Babulal
* Peter Zijlstra [2015-06-01 15:58:25]: [...] > > -static DEFINE_PER_CPU(struct callback_head, dl_balance_head); > +static DEFINE_PER_CPU(struct callback_head, dl_push_head); > +static DEFINE_PER_CPU(struct callback_head, dl_pull_head); > > static void push_dl_tasks(struct rq *); > +static

[PATCH] powerpc/eeh: Fix trivial error in eeh_restore_dev_state()

2015-06-02 Thread David Gibson
Commit 28158cd "powerpc/eeh: Enhance pcibios_set_pcie_reset_state()" introduced a fix for a problem where certain configurations could lead to pci_reset_function() destroying the state of PCI devices other than the one specified. Unfortunately, the fix has a trivial bug - it calls

[PATCH] Fix No space after the declaration

2015-06-02 Thread aparnak
Added a new line Signed-off-by: aparnak --- drivers/staging/lustre/lustre/llite/llite_capa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/lustre/lustre/llite/llite_capa.c b/drivers/staging/lustre/lustre/llite/llite_capa.c index aec9a44..a626871 100644 ---

Re: [RFC][PATCH 1/7] sched: Replace post_schedule with a balance callback list

2015-06-02 Thread Kamalesh Babulal
* Peter Zijlstra [2015-06-01 15:58:19]: [...] > --- a/kernel/sched/deadline.c > +++ b/kernel/sched/deadline.c > @@ -213,9 +213,16 @@ static inline bool need_pull_dl_task(str > return dl_task(prev); > } > > -static inline void set_post_schedule(struct rq *rq) > +static

[PATCH v2] ASoC: qcom: Remove QCOM dependency from LPASS variants

2015-06-02 Thread Kenneth Westfield
From: Kenneth Westfield Building with the following config options ... CONFIG_COMPILE_TEST=y # CONFIG_SND_SOC_QCOM is not set CONFIG_SND_SOC_LPASS_IPQ806X=m CONFIG_SND_SOC_STORM=m ... causes the following build warning: warning: (SND_SOC_STORM) selects SND_SOC_LPASS_IPQ806X which has

Re: [PATCH 03/36] mmu_notifier: pass page pointer to mmu_notifier_invalidate_page()

2015-06-02 Thread John Hubbard
On Thu, 21 May 2015, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Listener of mm event might not have easy way to get the struct page > behind and address invalidated with mmu_notifier_invalidate_page() s/behind and address/behind an address/ > function as this happens after the cpu

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-02 Thread Linus Torvalds
On Tue, Jun 2, 2015 at 12:33 PM, Thomas Gleixner wrote: > > Is there really no smarter way to figure out the TSC frequency on > modern systems? Sadly, if there is, we have yet to find it. I don't think the mentioned intel_pstate thing gets it right either. Yes, it gets some "theoretical

Re: [RFC 7/9] net: dsa: mv88e6352: lock CPU port from learning addresses

2015-06-02 Thread Guenter Roeck
On 06/02/2015 07:31 PM, Chris Healy wrote: Guenter, That's a very valid concern. I have a configuration with a 6352 controlled by a low end ARM core with a 100mbps connection on the CPU port. This switch needs to support passing multicast streams that are more than 100mbps on GigE links.

Re: [PATCH 0/3] GPIO support for BRCMSTB

2015-06-02 Thread Gregory Fong
On Tue, Jun 2, 2015 at 2:05 AM, Linus Walleij wrote: > On Wed, May 27, 2015 at 5:26 AM, Gregory Fong wrote: >> I've now actually attempted to use the gpiolib irqchip code. This >> driver can't directly use gpiochip_irqchip_add() because of the >> multiple gpiochip : one irqchip map. At first,

Re: linux-next: manual merge of the drivers-x86 tree with Linus' tree

2015-06-02 Thread Stephen Rothwell
Hi Darren, On Tue, 2 Jun 2015 20:27:50 -0700 Darren Hart wrote: > > Thanks for the heads' up. This happens because my -next branch is based on > *-rc1 > as I think was recommended at the last kernel summit. Since rc1 I sent Linus > the > G50-30, but by rc6 I didn't feel good about sending the

Re: [PATCH] MAINTAINERS: add zpool

2015-06-02 Thread Sergey Senozhatsky
On (06/02/15 14:30), Joe Perches wrote: > > >> +ZPOOL COMPRESSED PAGE STORAGE API > > >> +M: Dan Streetman > > >> +L: linux...@kvack.org > > >> +S: Maintained > > >> +F: mm/zpool.c > > >> +F: include/linux/zpool.h > > > > > > If zpool.h is only included from files in mm/, > > > maybe

Re: [PATCH v4 3/3] dell-laptop: Use dell-rbtn instead i8042 filter when possible

2015-06-02 Thread Darren Hart
On Wed, May 27, 2015 at 07:52:13PM -0700, Darren Hart wrote: > On Wed, May 27, 2015 at 11:28:25PM +0200, Pali Rohár wrote: > > Until now module dell-laptop registered rfkill device which used i8042 > > filter function for receiving HW switch rfkill events (handling special > > keycode). > > > >

Re: [PATCH] ACPI / osl: add acpi_os_down_wait to avoid a schedule BUG

2015-06-02 Thread Pan Xinhui
hello tianyu sorry for mistake, this issue did not happened in the latest codes. thanks for your reply. I noticed this panic is already fixed, so I port upstream patch into intel's branch. see https://android.intel.com/#/c/374113/ thanks, xinhui On 2015年06月03日 11:23, Lan Tianyu wrote:

[Patch v3 31/36] genirq: Move field 'affinity' from struct irq_data into struct irq_common_data

2015-06-02 Thread Jiang Liu
Irq affinity mask is per-irq instead of per irqchip, so move it into struct irq_common_data. Signed-off-by: Jiang Liu --- Hi Thomas, This version changes the patch to correctly support bisecting. Thanks! Gerry --- arch/x86/kernel/apic/vector.c |4 +--- include/linux/irq.h

[Patch v3 27/36] x86, irq: Use access helper irq_data_get_affinity_mask()

2015-06-02 Thread Jiang Liu
Use access helper irq_data_get_affinity_mask() to hide implementation details of struct irq_desc. Signed-off-by: Jiang Liu --- Hi Thomas, This version changes the patch to correctly support bisecting. Thanks! Gerry --- arch/x86/kernel/apic/io_apic.c |2 +-

Re: [PATCH v2] drm/rockchip: Add BGR formats to VOP

2015-06-02 Thread Mark yao
On 2015年05月30日 02:56, Tomasz Figa wrote: On Mon, May 11, 2015 at 7:55 PM, Tomasz Figa wrote: VOP can support BGR formats in all windows thanks to red/blue swap option provided in WINx_CTRL0 registers. This patch enables support for ABGR, XBGR, BGR888 and BGR565 formats by using this

Re: [linux-next] please include init-v4.1-rc6 branch for v4.2

2015-06-02 Thread Stephen Rothwell
Hi Paul, On Tue, 2 Jun 2015 19:23:18 -0400 Paul Gortmaker wrote: > > Please include init-v4.1-rc6 branch of: > git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git OK, I will add it in just before I merge Andrew's tree and see how it goes. > I've been cross building it and test

Re: [RFC 07/24] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-06-02 Thread Darren Hart
On Tue, Jun 02, 2015 at 07:09:28AM -0300, Henrique de Moraes Holschuh wrote: > Test results were sent to me privately, and they are correct, so... > Finn, unless there is some compelling reason not to - like they are MBs worth of data, please submit these to the list in the future so we have

linux-next: manual merge of the block tree with Linus' tree

2015-06-02 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in mm/page-writeback.c between commit 464d1387acb9 ("writeback: use |1 instead of +1 to protect against div by zero") from Linus' tree and commit de1fff37b278 ("writeback: s/bdi/wb/ in mm/page-writeback.c") from the block tree. I

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-02 Thread Andi Kleen
> Then the changelog should say that I think. The current text says > "Fast TSC calibration will always fail", which, to me, suggests that > either the slow calibration will work or that the changelog message > should be changed. Ok. No, the slow calibration works I believe. -Andi -- To

linux-next: manual merge of the block tree with Linus' tree

2015-06-02 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in include/linux/blkdev.h between commit 336b7e1f2309 ("block: remove export for blk_queue_bio") from Linus' tree and commit d40f75a06dd6 ("writeback, blkcg: restructure blk_{set|clear}_queue_congested()") from the block tree. I

Re: [PATCH 1/2] Doc:crypto: Fix typo in crypto-API.tmpl

2015-06-02 Thread Herbert Xu
On Wed, Jun 03, 2015 at 01:39:20AM +0900, Masanari Iida wrote: > This patch fix some spelling typo found in crypto-API.tmpl > > Signed-off-by: Masanari Iida Please resend your patches with a cc to linux-cry...@vger.kernel.org Thanks, -- Email: Herbert Xu Home Page:

Re: linux-next: manual merge of the drivers-x86 tree with Linus' tree

2015-06-02 Thread Darren Hart
On Tue, Jun 02, 2015 at 04:07:23PM +1000, Stephen Rothwell wrote: > Hi Darren, > > Today's linux-next merge of the drivers-x86 tree got a conflict in > drivers/platform/x86/ideapad-laptop.c between commit 9b071a43553d > ("ideapad_laptop: Add Lenovo G40-30 to devices without radio switch") > from

Re: [PATCH] ACPI / osl: add acpi_os_down_wait to avoid a schedule BUG

2015-06-02 Thread Lan Tianyu
On 2015年05月28日 14:33, Pan, XinhuiX wrote: > acpi_os_wait_semaphore can be called in local/hard irq disabled path. like in > cpu up/down callback. > So when dirver try to acquire the semaphore, current code may call down_wait > which might sleep. > Then hit panic as we can't schedule here. So

Re: [PATCH v9 5/6] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-06-02 Thread Bintian
Hello Mark, Rob and other ARM64 DT maintainers, Could you help to ack this patch? Thanks for your time. Bintian On 2015/5/30 9:51, Bintian Wang wrote: Add initial dtsi file to support Hisilicon Hi6220 SoC with support of Octal core CPUs in two clusters and each cluster has quard Cortex-A53.

Re: Regression: Disk corruption with dm-crypt and kernels >= 4.0

2015-06-02 Thread Abelardo Ricart III
On Tue, 2015-06-02 at 13:51 -0400, Mikulas Patocka wrote: > > On Mon, 18 May 2015, Abelardo Ricart III wrote: > > > On Fri, 2015-05-15 at 08:04 -0700, Brandon Smith wrote: > > > On 2015-05-01 (Fri) at 19:42:15 -0400, Abelardo Ricart III wrote: > > > > > > The patchset in question was tested

Re: [PATCH 12/15] KVM: MTRR: introduce mtrr_for_each_mem_type

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 10:26 PM, Paolo Bonzini wrote: On 01/06/2015 11:33, Paolo Bonzini wrote: + looker->mem_type = looker->mtrr_state->fixed_ranges[index]; + looker->start = fixed_mtrr_range_end_addr(seg, index); + return true; in mtrr_lookup_fixed_start is the same as this:

Re: [PATCH 14/15] KVM: MTRR: do not map huage page for non-consistent range

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 05:36 PM, Paolo Bonzini wrote: On 30/05/2015 12:59, Xiao Guangrong wrote: Currently guest MTRR is completely prohibited if cache snoop is supported on IOMMU (!noncoherent_dma) and host does the emulation based on the knowledge from host side, however, host side is not the good

Re: [PATCH v5 2/2] arch/x86: remove pci uart early console from early_prink.c

2015-06-02 Thread Bin Gao
On Wed, Jun 03, 2015 at 12:16:36AM +, Anderson, Stuart R wrote: > Bin, et al, > > What we are losing here is the ability to specify a UART by its bus address > instead of just supplying the memory or io address. There are some cases > where this is useful, though I admit it is probably not

Re: [PATCH 3/3] libnvdimm: Add sysfs numa_node to NVDIMM devices

2015-06-02 Thread Dan Williams
On Tue, Jun 2, 2015 at 6:01 PM, Dan Williams wrote: > On Tue, Jun 2, 2015 at 5:26 PM, Toshi Kani wrote: >> Since NVDIMMs are installed on memory slots, they expose the NUMA >> topology of a platform. >> >> This patch adds support of sysfs 'numa_node' to the NVDIMM devices >> under

Re: [PATCH v5 2/2] arch/x86: remove pci uart early console from early_prink.c

2015-06-02 Thread Bin Gao
On Tue, Jun 02, 2015 at 01:37:52PM -0700, Yinghai Lu wrote: > how about > earlyprintk=serial,ttyS0 > earlyprintk=ttyS0 > > Thanks > > Yinghai Yes, both work. -Bin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[RFC PATCH v6 23/30] perf tools: Make perf depend on libbpf

2015-06-02 Thread Wang Nan
By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is set. The newly introduced code is similar to libapi and libtraceevent building in Makefile.perf. MANIFEST is also updated for 'make

Re: [PATCH 12/15] KVM: MTRR: introduce mtrr_for_each_mem_type

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 05:33 PM, Paolo Bonzini wrote: On 30/05/2015 12:59, Xiao Guangrong wrote: +struct mtrr_looker { + /* input fields. */ + struct kvm_mtrr *mtrr_state; + u64 start; + u64 end; s/looker/iter/ or s/looker/lookup/ Good to me. +static void

Re: [PATCH v12 8/8] cgroup: implement the PIDs subsystem

2015-06-02 Thread Aleksa Sarai
>> That's complete and utter nonsense. What has the parent limit to do >> with the overflow of the child limit? I didn't read this sentence properly. It's because you're migrating *from* the parent to the child. If you have the right to attach to the child from the parent, then you also have the

Re: [patch 2/2] w1: unlock correct lock on error in w1_seq_show()

2015-06-02 Thread David Fries
On Tue, Jun 02, 2015 at 09:54:10PM -0400, Matt Campbell wrote: > Thanks for the response, I will try to answer your questions. > > The other function besides temp conversion and EEPROM write that > requires a delay is the initial CHAIN on command. The datasheet says > to "Wait for chain to

Re: [PATCH 10/15] KVM: MTRR: sort variable MTRRs

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 05:27 PM, Paolo Bonzini wrote: On 30/05/2015 12:59, Xiao Guangrong wrote: Sort all valid variable MTRRs based on its base address, it will help us to check a range to see if it's fully contained in variable MTRRs Signed-off-by: Xiao Guangrong ---

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-06-02 Thread Don Zickus
On Mon, May 04, 2015 at 06:06:24PM -0400, Chris Metcalf wrote: > On 5/1/2015 5:23 PM, Frederic Weisbecker wrote: > >On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: > > > >>For example, booting with only cpu 0 as a housekeeping core (and > >>therefore all watchdogs 1-35 on my 36-core

Re: [PATCH 08/15] KVM: MTRR: introduce fixed_mtrr_segment table

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 05:25 PM, Paolo Bonzini wrote: On 30/05/2015 12:59, Xiao Guangrong wrote: This table summarizes the information of fixed MTRRs and introduce some APIs to abstract its operation which helps us to clean up the code and will be used in later patches Signed-off-by: Xiao Guangrong

Re: [RFC 5/9] net: dsa: mv88e6352: disable mirroring

2015-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2015 at 09:12:30PM -0400, Vivien Didelot wrote: > Hi Guenter, Andrew, > > On Jun 2, 2015, at 10:53 AM, Andrew Lunn and...@lunn.ch wrote: > On Tue, Jun 02, 2015 at 07:16:10AM -0700, Guenter Roeck wrote: > >> On 06/01/2015 06:27 PM, Vivien Didelot wrote: > >> >Disable the mirroring

Re: [PATCH v4 06/11] md/raid5: get rid of bio_fits_rdev()

2015-06-02 Thread NeilBrown
On Tue, 26 May 2015 15:32:38 -0700 Ming Lin wrote: > On Tue, May 26, 2015 at 7:33 AM, Ming Lin wrote: > > On Mon, May 25, 2015 at 7:17 AM, Christoph Hellwig wrote: > >> On Mon, May 25, 2015 at 05:54:14PM +1000, NeilBrown wrote: > >>> Did I write that? I guess I did :-( > >>> I meant *after*.

Re: [PATCH v4 06/11] md/raid5: get rid of bio_fits_rdev()

2015-06-02 Thread NeilBrown
On Tue, 26 May 2015 16:42:35 -0700 Ming Lin wrote: > On Tue, May 26, 2015 at 4:03 PM, NeilBrown wrote: > > On Tue, 26 May 2015 15:32:38 -0700 Ming Lin wrote: > > > >> On Tue, May 26, 2015 at 7:33 AM, Ming Lin wrote: > >> > On Mon, May 25, 2015 at 7:17 AM, Christoph Hellwig wrote: > >> >> On

Re: [PATCH v4 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-06-02 Thread NeilBrown
On Tue, 26 May 2015 16:34:14 +0100 Alasdair G Kergon wrote: > On Tue, May 26, 2015 at 08:02:08AM -0700, Ming Lin wrote: > > Now bio_add_page() can build lager bios. > > And blk_queue_split() can split the bios in ->make_request() if needed. > > But why not try to make the bio the right size in

[GIT PULL REQUEST] more md bug fixes for 4.1-rc

2015-06-02 Thread NeilBrown
Hi Linus, please pull these fixes. I think raid5 is all working nicely again now. I think there is still a race somewhere in starting the recovery thread, but it is minor and I suspect I'll have it nailed soon. Not quite this week though. Thanks, NeilBrown The following changes since

Re: [RFC 7/9] net: dsa: mv88e6352: lock CPU port from learning addresses

2015-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2015 at 09:06:15PM -0400, Vivien Didelot wrote: > Hi Guenter, > > On Jun 2, 2015, at 10:24 AM, Guenter Roeck li...@roeck-us.net wrote: > On 06/01/2015 06:27 PM, Vivien Didelot wrote: > >> This commit disables SA learning and refreshing for the CPU port. > >> > > > > Hi Vivien, >

Re: LOCKDEP warning due to ext_devt_lock

2015-06-02 Thread NeilBrown
On Wed, 27 May 2015 21:32:21 -0600 Jens Axboe wrote: > On 05/27/2015 08:32 PM, NeilBrown wrote: > > > > Hi Keith, > > I'm getting lockdep warning around use of ext_devt_lock. > > > > [11428.266019] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. > > > > As you say in > >

LOCKDEP warning due to ext_devt_lock

2015-06-02 Thread NeilBrown
Hi Keith, I'm getting lockdep warning around use of ext_devt_lock. [11428.266019] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. As you say in 2da78092dda1 ("block: Fix dev_t minor allocation lifetime") ext_devt_lock can be taken from call_rcu's soft-irq. I think that means it

Re: [RFC 3/9] net: dsa: mv88e6xxx: add support for VTU ops

2015-06-02 Thread Guenter Roeck
On Tue, Jun 02, 2015 at 09:39:50PM -0400, Vivien Didelot wrote: > Guenter, > > On Jun 2, 2015, at 2:50 AM, Guenter Roeck li...@roeck-us.net wrote: > > On 06/01/2015 06:27 PM, Vivien Didelot wrote: > >> +/* Bringing an interface up adds it to the VLAN 0. Ignore this. */ > >> +if (!vid) >

Re: [PATCH 07/15] KVM: MTRR: improve kvm_mtrr_get_guest_memory_type

2015-06-02 Thread Xiao Guangrong
On 06/01/2015 05:16 PM, Paolo Bonzini wrote: On 30/05/2015 12:59, Xiao Guangrong wrote: - kvm_mtrr_get_guest_memory_type() only checks one page in MTRRs so that it's unnecessary to check to see if the range is partially covered in MTRR - optimize the check of overlap memory

[network feature request] Optimized sys_accept and sys_connect

2015-06-02 Thread Alexey Syrnikov
Hello, kernel developers. Many network server (HTTP for example) currently work in such way: accept -> read (once) -> write (typically once) -> close So, this sequence can be optimized by making accept and read in one syscall. When socket ready to accept it can already have data (delivered in

Re: [PATCH 05/15] KVM: MTRR: clean up mtrr default type

2015-06-02 Thread Xiao Guangrong
Thanks for your review, Paolo! On 06/01/2015 05:11 PM, Paolo Bonzini wrote: struct kvm_vcpu_arch { diff --git a/arch/x86/kvm/mtrr.c b/arch/x86/kvm/mtrr.c index 562341b..6de49dd 100644 --- a/arch/x86/kvm/mtrr.c +++ b/arch/x86/kvm/mtrr.c @@ -105,7 +105,6 @@ EXPORT_SYMBOL_GPL(kvm_mtrr_valid);

Re: [PATCH 1/3] MIPS: R6: Use lightweight SYNC instruction in smp_* memory barriers

2015-06-02 Thread Leonid Yegoshin
On 06/02/2015 04:56 PM, David Daney wrote: On 06/02/2015 09:15 AM, Maciej W. Rozycki wrote: On Tue, 2 Jun 2015, James Hogan wrote: binutils appears to support the sync_mb, sync_rmb, sync_wmb aliases since version 2.21. Can we safely use them? I suggest that we don't -- we still

Re: [patch 2/2] w1: unlock correct lock on error in w1_seq_show()

2015-06-02 Thread Matt Campbell
Thanks for the response, I will try to answer your questions. The other function besides temp conversion and EEPROM write that requires a delay is the initial CHAIN on command. The datasheet says to "Wait for chain to charge" but it does not offer ANY indication on how to do so. I did discover

Re: [Patch v3 27/36] x86, irq: Use access helper irq_data_get_affinity_mask()

2015-06-02 Thread Jiang Liu
On 2015/6/3 3:19, Thomas Gleixner wrote: > On Mon, 1 Jun 2015, Jiang Liu wrote: > >> diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c >> index 9b62f690b0ff..dfa3a5f5b3d3 100644 >> --- a/arch/x86/kernel/apic/vector.c >> +++ b/arch/x86/kernel/apic/vector.c >> @@ -494,9

Re: [RFC 6/9] net: dsa: mv88e6352: allow egress of unknown multicast

2015-06-02 Thread Vivien Didelot
Hi Guenter, On Jun 2, 2015, at 10:20 AM, Guenter Roeck li...@roeck-us.net wrote: > On 06/01/2015 06:27 PM, Vivien Didelot wrote: >> This patch disables egress of unknown unicast destination addresses. >> > > Hi Vivien, > > seems to me this patch is unrelated to the rest of the series. > > Not

[PATCH] Fix typo in the comment

2015-06-02 Thread 명혁
This patch fix a spelling typo in the comment in synclink.c and synclinkmp.c. Signed-off-by: Hyuk Myeong --- drivers/tty/synclink.c | 4 ++-- drivers/tty/synclinkmp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index

Re: [RFC 2/4] mm/balloon: apply driver page migratable into balloon driver

2015-06-02 Thread Konstantin Khlebnikov
On Tue, Jun 2, 2015 at 10:27 AM, Gioh Kim wrote: > Apply driver page migration into balloon driver. > > Signed-off-by: Gioh Kim > --- > drivers/virtio/virtio_balloon.c| 2 ++ > fs/proc/page.c | 4 +-- > include/linux/balloon_compaction.h | 42

Re: [RFC 3/9] net: dsa: mv88e6xxx: add support for VTU ops

2015-06-02 Thread Vivien Didelot
Guenter, On Jun 2, 2015, at 2:50 AM, Guenter Roeck li...@roeck-us.net wrote: > On 06/01/2015 06:27 PM, Vivien Didelot wrote: >> +/* Bringing an interface up adds it to the VLAN 0. Ignore this. */ >> +if (!vid) >> +return 0; >> + > > Me puzzled ;-). I brought this and the fid

RE: [PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-06-02 Thread peterpandong
Ping > > Currently nand_bbt.c is tied with struct nand_chip, and it makes other > NAND family chips hard to use nand_bbt.c. Maybe it's the reason why > onenand has own bbt(onenand_bbt.c). > > Parameterize a few relevant device detail information into a new > nand_bbt struct, and set some hooks

[GIT PULL] extcon next for 4.2

2015-06-02 Thread Chanwoo Choi
Dear Greg, This is extcon-next full request for v4.2. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit e26081808edadfd257c6c9d81014e3b25e9a6118: Linux 4.1-rc4 (2015-05-18

Re: [PATCH v2 1/4] drivers/rtc/pcf8563: Replace deprecated rtc_time_to_tm() and rtc_tm_to_time()

2015-06-02 Thread pang . xunlei
Hi Alexandre, Alexandre Belloni wrote 2015-06-03 AM 12:41:25: > Re: [PATCH v2 1/4] drivers/rtc/pcf8563: Replace deprecated > rtc_time_to_tm() and rtc_tm_to_time() > > On 03/06/2015 at 00:23:40 +0900, pang.xun...@zte.com.cn wrote : > > Apologies for the spamming, please ignore all those former

Re: [RFC PATCH v5 03/30] tools build: Add feature check for eBPF API

2015-06-02 Thread Wangnan (F)
On 2015/6/3 6:11, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 01, 2015 at 07:37:49AM +, Wang Nan escreveu: In this patch, eBPF API is checked by compiling a c source file which uses fields in bpf_attr which will be used by libbpf. Something is missing, where is the message saying that I

Re: [RFC 5/9] net: dsa: mv88e6352: disable mirroring

2015-06-02 Thread Vivien Didelot
Hi Guenter, Andrew, On Jun 2, 2015, at 10:53 AM, Andrew Lunn and...@lunn.ch wrote: On Tue, Jun 02, 2015 at 07:16:10AM -0700, Guenter Roeck wrote: >> On 06/01/2015 06:27 PM, Vivien Didelot wrote: >> >Disable the mirroring policy in the monitor control register, since this >> >feature is not

Re: [PATCH v1 7/9]powerpc/powernv: Event attr creation and PMU registration

2015-06-02 Thread Daniel Axtens
On Tue, 2015-06-02 at 21:29 +0530, Madhavan Srinivasan wrote: > Patch adds common event attribute function and Nest pmu registration call. > > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Sukadev Bhattiprolu > Cc: Anshuman Khandual > Cc: Stephane Eranian >

Re: [patch 2/2] w1: unlock correct lock on error in w1_seq_show()

2015-06-02 Thread David Fries
The source code is as good as it gets, that's why I posted those two lines from the w1.h file. Maybe it could be expanded upon, mutex is more for adding or removing slaves and the like modifications to w1_master data structure, where bus_mutex is what make sure something else doesn't try to talk

Re: [RFC 7/9] net: dsa: mv88e6352: lock CPU port from learning addresses

2015-06-02 Thread Vivien Didelot
Hi Guenter, On Jun 2, 2015, at 10:24 AM, Guenter Roeck li...@roeck-us.net wrote: On 06/01/2015 06:27 PM, Vivien Didelot wrote: >> This commit disables SA learning and refreshing for the CPU port. >> > > Hi Vivien, > > This patch also seems to be unrelated to the rest of the series. > > Can you

RE: [v8 3/9] iommu, x86: Implement irq_set_vcpu_affinity for intel_ir_chip

2015-06-02 Thread Wu, Feng
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Tuesday, June 02, 2015 9:59 PM > To: Wu, Feng > Cc: j...@8bytes.org; dw...@infradead.org; jiang@linux.intel.com; > io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Subject: Re: [v8 3/9]

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable display on Trats2board

2015-06-02 Thread Kukjin Kim
On 05/24/15 05:27, Arnd Bergmann wrote: > On Saturday 23 May 2015 11:18:58 Kukjin Kim wrote: >> On 05/22/15 18:11, Javier Martinez Canillas wrote: >>> Hello Krzysztof, >>> >>> On 05/22/2015 02:48 AM, Krzysztof Kozlowski wrote: Enable the Exynos DSI and S6E8AA0 panel for full X11 display on

Re: [PATCH 3/3] libnvdimm: Add sysfs numa_node to NVDIMM devices

2015-06-02 Thread Dan Williams
On Tue, Jun 2, 2015 at 5:26 PM, Toshi Kani wrote: > Since NVDIMMs are installed on memory slots, they expose the NUMA > topology of a platform. > > This patch adds support of sysfs 'numa_node' to the NVDIMM devices > under /sys/bus/nd/devices, such as regionN, namespaceN.0, and bttN. > When bttN

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-02 Thread Andy Lutomirski
On Tue, Jun 2, 2015 at 5:39 PM, Andi Kleen wrote: > On Tue, Jun 02, 2015 at 05:21:27PM -0700, Andy Lutomirski wrote: >> On Tue, Jun 2, 2015 at 4:38 PM, Andi Kleen wrote: >> > On Tue, Jun 02, 2015 at 11:03:26PM +0200, Thomas Gleixner wrote: >> >> >> >> >> >> On Tue, 2 Jun 2015, Andi Kleen wrote:

Re: [PATCH v1 8/9] powerpc/powernv: Add OPAL support for Nest PMU

2015-06-02 Thread Daniel Axtens
> +int64_t opal_nest_ima_control(uint32_t value); If I'm understanding things correctly, you call this function in patch 3. Quoting from that patch: > +static void nest_init(void *dummy) > +{ > + opal_nest_ima_control(P8_NEST_ENGINE_START); > +} Does this patch need to be moved earlier in

Re: [PATCH v1 6/9]powerpc/powernv: dt parser function for nest pmu and its events

2015-06-02 Thread Daniel Axtens
> +static int nest_pmu_create(struct device_node *dev, int pmu_index) > +{ > + struct ppc64_nest_ima_events **p8_events_arr; > + struct ppc64_nest_ima_events *p8_events; > + struct property *pp; > + char *buf; > + const __be32 *lval; > + u32 val; > + int len, idx = 0;

[PATCH 2/3] acpi: Add export to acpi_map_pxm_to_node()

2015-06-02 Thread Toshi Kani
acpi_get_node() allows ACPI kernel modules to map a proximity ID to a node ID from ACPI _PXM method. Some ACPI static tables, such as SRAT, DMAR, PMTT and NFIT, also contain proximity IDs. This patch exports acpi_map_pxm_to_node() so that ACPI kernel modules can call this function to map a

[PATCH 0/3] Add NUMA support for NVDIMM devices

2015-06-02 Thread Toshi Kani
Since NVDIMMs are installed on memory slots, they expose the NUMA topology of a platform. This patchset adds support of sysfs 'numa_node' to the NVDIMM devices under /sys/bus/nd/devices. With this change, numactl(8) accepts 'block:' and 'file:' paths of pmem and btt devices as shown in the

[PATCH 3/3] libnvdimm: Add sysfs numa_node to NVDIMM devices

2015-06-02 Thread Toshi Kani
Since NVDIMMs are installed on memory slots, they expose the NUMA topology of a platform. This patch adds support of sysfs 'numa_node' to the NVDIMM devices under /sys/bus/nd/devices, such as regionN, namespaceN.0, and bttN. When bttN is not set up, its numa_node returns -1 (NUMA_NO_NODE).

[PATCH 1/3] acpi: Fix acpi_map_pxm_to_node() to handle numa_off

2015-06-02 Thread Toshi Kani
When numa_off is set, NUMA is turned off and node 0 is the only valid node on the system. The kernel skips parsing ACPI SRAT table in this case. Change acpi_map_pxm_to_node() to always return 0 when numa_off is set. Also move the range check of a proximity ID from acpi_get_node() to

Re: [RFC 2/9] net: dsa: add basic support for VLAN operations

2015-06-02 Thread Vivien Didelot
Hi Guenter, On Jun 2, 2015, at 10:42 AM, Guenter Roeck li...@roeck-us.net wrote: On 06/01/2015 06:27 PM, Vivien Didelot wrote: >> This patch adds the glue between DSA and switchdev to add and delete >> SWITCHDEV_OBJ_PORT_VLAN objects. >> >> This will allow the DSA switch drivers implementing the

Re: [PATCH][V3] usb: isp1760: check for null return from kzalloc

2015-06-02 Thread Laurent Pinchart
Hi Colin, Thank you for the patch. On Tuesday 02 June 2015 19:05:13 Colin King wrote: > From: Colin Ian King > > isp1760_ep_alloc_request allocates a structure with kzalloc without checking > for NULL and then returns a pointer to one of the structure fields. As the > field happens to be the

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-02 Thread Andi Kleen
On Tue, Jun 02, 2015 at 05:21:27PM -0700, Andy Lutomirski wrote: > On Tue, Jun 2, 2015 at 4:38 PM, Andi Kleen wrote: > > On Tue, Jun 02, 2015 at 11:03:26PM +0200, Thomas Gleixner wrote: > >> > >> > >> On Tue, 2 Jun 2015, Andi Kleen wrote: > >> > >> > > There's the code in tsc_msr.c. It should be

Re: [PATCH v1 5/9]powerpc/powernv: nest pmu feature detection support

2015-06-02 Thread Daniel Axtens
On Tue, 2015-06-02 at 21:29 +0530, Madhavan Srinivasan wrote: > Patch adds a device tree function to detect the nest pmu > support. Function will look for specific dt property "ibm,ima-chip" > as a detection mechanism for the nest pmu. > > For Nest pmu, device tree will have two set of

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-02 Thread Andy Lutomirski
On Tue, Jun 2, 2015 at 4:38 PM, Andi Kleen wrote: > On Tue, Jun 02, 2015 at 11:03:26PM +0200, Thomas Gleixner wrote: >> >> >> On Tue, 2 Jun 2015, Andi Kleen wrote: >> >> > > There's the code in tsc_msr.c. It should be relatively >> > > straightforward to extend it to cover everything that

RE: [PATCH v5 2/2] arch/x86: remove pci uart early console from early_prink.c

2015-06-02 Thread Anderson, Stuart R
Bin, et al, What we are losing here is the ability to specify a UART by its bus address instead of just supplying the memory or io address. There are some cases where this is useful, though I admit it is probably not going to be widely used. I have seen a platform where the location of the

  1   2   3   4   5   6   7   8   9   10   >