Re: [PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-03-23 Thread Hemant Kumar
Hi Michael, These patches were posted a month back. We don't have any review comments to handle at this time. Can you pull these patches to your tree? Please, do let me know if you want me to rebase these patches to a different tree (like Arnaldo's/tip etc). On 02/27/2015 03:13 PM, Hemant Kum

Re: [alsa-devel] [PATCH] MAINTAINERS: Add maintainer for maxim codecs

2015-03-23 Thread anish
On Mon, Mar 23, 2015 at 11:32 PM, Takashi Iwai wrote: > At Mon, 23 Mar 2015 17:04:26 -0700, > anish wrote: >> >> Hello, >> >> I was wondering if this patch is in any of the queue? > > I guess it's not. One of the reasons is that you don't know whom to > reach; it's a problem as a subsystem mainta

linux-next: manual merge of the kselftest tree with the powerpc-mpe tree

2015-03-23 Thread Stephen Rothwell
Hi Shuah, Today's linux-next merge of the kselftest tree got a conflict in tools/testing/selftests/powerpc/Makefile between commit a908f5de3b10 ("selftests/powerpc: Rename TARGETS in powerpc selftests makefile") from the powerpc-mpe tree and commit 6faeeea44b84 ("selftests: Add install support for

Re: [PATCH] x86: vdso32/syscall.S: do not load __USER32_DS to %ss

2015-03-23 Thread Ingo Molnar
* Denys Vlasenko wrote: > On Mon, Mar 23, 2015 at 9:38 PM, Andy Lutomirski wrote: > > Actually, I want to remove the added comment in the code. I don't see > > why we should have a specific comment about SS and not about, say, CS, > > ESP, or anything else. OK? > > Ok. Might be nice to plac

Re: [PATCH 1/1] X86, UV: Update UV APIC driver check

2015-03-23 Thread Ingo Molnar
* Mike Travis wrote: > Fix a bug in the oem check function that determines if the system > is a UV system and the BIOS is compatible with the kernel's UV apic > driver. This prevents some possibly obscure panics and guards the > system against being started on SGI hardware that does not have th

Re: [alsa-devel] [PATCH] MAINTAINERS: Add maintainer for maxim codecs

2015-03-23 Thread Takashi Iwai
At Mon, 23 Mar 2015 17:04:26 -0700, anish wrote: > > Hello, > > I was wondering if this patch is in any of the queue? I guess it's not. One of the reasons is that you don't know whom to reach; it's a problem as a subsystem maintainer. Also, you never seem to appear in the commit history of the

pull-request: wireless-drivers 2015-03-24

2015-03-23 Thread Kalle Valo
Hi Dave, here are few more fixes I would like to still get to 4.0 if possible, detailed info in the tag below. Please let me know if there are any problems. Kalle The following changes since commit 3f1615340acea54e21f4b9d4d65921540dca84b2: brcmfmac: Perform bound checking on vendor command bu

[PATCH] staging: rts5208: Fixed 80 char & indent warnings

2015-03-23 Thread Ragavendra Nagraj
This patch fixes the 80 char length warnings and an indent suspect warning identified by the checkpath.pl script for the entire ms.c file leaving with no more warnings or errors left to be fixed for it. Signed-off-by: Ragavendra Nagraj --- drivers/staging/rts5208/ms.c | 43

Re: [Ocfs2-devel] [PATCH 1/4 V2] ocfs2: use retval instead of status for checking error

2015-03-23 Thread DaeSeok Youn
Hi, Andrew. 2015-03-20 10:17 GMT+09:00 Joseph Qi : > Hi Andrew, > > On 2015/3/20 6:23, Andrew Morton wrote: >> On Sat, 28 Feb 2015 08:48:40 +0900 Daeseok Youn >> wrote: >> >>> The use of 'status' in __ocfs2_add_entry() can return wrong >>> status when some functions are failed. >>> >>> If ocfs2_

[no subject]

2015-03-23 Thread Anurag Aggarwal
unsubscribe linux-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Fwd:

2015-03-23 Thread Anurag Aggarwal
unsubscribe linux-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Namhyung Kim
Hi Joonsoo, On Tue, Mar 24, 2015 at 02:26:39PM +0900, Joonsoo Kim wrote: > 2015-03-24 9:18 GMT+09:00 Namhyung Kim : > > On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: > >> 2015-03-23 15:30 GMT+09:00 Namhyung Kim : > >> > The perf kmem command records and analyze kernel memory allocat

Re: Logitech T650 is unusable since 3.19.0

2015-03-23 Thread Peter Hutterer
On Mon, Mar 23, 2015 at 10:59:24AM -0400, Benjamin Tissoires wrote: > Hi, > > On Mon, Mar 23, 2015 at 5:09 AM, Borislav Petkov wrote: > > CC people. > > > > On Mon, Mar 23, 2015 at 11:21:02AM +0300, Лежанкин Иван wrote: > >> Hi, > >> > >> after update from 3.18.7 to 3.19.x my Logitech touchpad be

Re: Re: [PATCH] ACPI: Adjust the return value of _REV on x86

2015-03-23 Thread Mario Limonciello
On 03/23/2015 07:04 AM, Matt Fleming wrote: On Mon, 16 Mar, at 04:21:51PM, Jason Ekstrand wrote: Sadly no, Dell are not doing something useful. Their use of _REV is entirely misguided for the same reasons using _OSI(Linux) is discouraged in drivers/acpi/osl.c; namely that working around kernel b

[PATCH] coresight: adding basic support for Spreadtrum SC9836

2015-03-23 Thread Chunyan Zhang
Support only for ETB, FUNNEL, STM are included currently. Support for ETM, TPIU and the replicator linked to it are not included in this version patch. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc9836.dtsi | 57 1 file changed, 57 insertions(+

Re: [PATCH] staging: unisys: handle major number properly

2015-03-23 Thread Sudip Mukherjee
On Mon, Mar 23, 2015 at 10:04:40PM +0100, Greg Kroah-Hartman wrote: > On Tue, Mar 17, 2015 at 08:31:24PM +0530, Sudip Mukherjee wrote: > > This doesn't apply anymore, due to other changes recently to this > driver. > > But even if it did, I don't think it is correct. I really don't > understand w

[PATCH 1/1] ocfs2: incorrect check for debugfs returns

2015-03-23 Thread Chengyu Song
debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would crash the kernel. This patch tries to solve this problem by fixing certain ch

[PATCH] pci: iproc: fix PCIE_IPROC in Kconfig

2015-03-23 Thread Ray Jui
Make PCIE_IPROC depending on both OF and ARM and default to be disabled, so it cannot be accidentally enabled by other platforms PCIE_IPROC is meant to be enabled by a front-end bus driver. Curenntly it's enabled by PCIE_IPROC_PLTFM driver Signed-off-by: Ray Jui --- drivers/pci/host/Kconfig |

linux-next: manual merge of the staging tree with the v4l-dvb tree

2015-03-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/media/mn88473/mn88473.c between commit 3b786f131645 ("[media] mn88473: calculate the IF register values") from the v4l-dvb tree and commit b4c2c314c140 ("Staging: media: mn88473: Match alignment with open paren

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Joonsoo Kim
2015-03-24 9:18 GMT+09:00 Namhyung Kim : > On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: >> 2015-03-23 15:30 GMT+09:00 Namhyung Kim : >> > The perf kmem command records and analyze kernel memory allocation >> > only for SLAB objects. This patch implement a simple page allocator >> >

Re: [PATCH] ARM: cygnus: fix const declaration bcm_cygnus_dt_compat

2015-03-23 Thread Ray Jui
On 3/23/2015 10:18 PM, Scott Branden wrote: > Hi Stefan, > > On 15-03-21 04:45 PM, Stefan Agner wrote: >> The const declaration for char* is actually duplicated, however >> the array of strings is currently not constant. However, typically >> the dt_compat array is declared as const char *const.

Re: [PATCH 0/5] Driver for pxa architectures

2015-03-23 Thread Arnd Bergmann
On Monday 23 March 2015, Robert Jarzmik wrote: > Arnd Bergmann writes: > > ... removed people not concerned by pxa story ... > > >> As for XIP support, I don't have a clear view if it's a requirement for > >> multiplatform nor if it works in these builds. > > > > It would be nice to not have to

Re: [PATCH] ARM: cygnus: fix const declaration bcm_cygnus_dt_compat

2015-03-23 Thread Scott Branden
Hi Stefan, On 15-03-21 04:45 PM, Stefan Agner wrote: The const declaration for char* is actually duplicated, however the array of strings is currently not constant. However, typically the dt_compat array is declared as const char *const. Follow that convention and also add the __initconst macro

[PATCH v2] f2fs: limit b_size of mapped bh in f2fs_map_bh

2015-03-23 Thread Chao Yu
Map bh over max size which caller defined is not needed, limit it in f2fs_map_bh. Signed-off-by: Chao Yu --- v2 change log: - use min() for cleanup code suggested by Jaegeuk Kim. fs/f2fs/data.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f

RE: [PATCH 1/4] f2fs: limit b_size of mapped bh in f2fs_map_bh

2015-03-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, March 24, 2015 12:42 PM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/4] f2fs: limit b_size of mapped bh in

[PATCH] staging: sm750fb: Fixed C99 comments warnings

2015-03-23 Thread Ragavendra Nagraj
This patch fixes the C99-style "// ..." comments warnings identified by the checkpath.pl script for the entire ddk750_chip.c file by using the appropriate C89 "/* ... */" style comments accordingly. Signed-off-by: Ragavendra Nagraj --- drivers/staging/sm750fb/ddk750_chip.c | 12 ++-- 1

[PATCH 2/2] staging: sm7xxfb: add MODULE_DEVICE_TABLE

2015-03-23 Thread Sudip Mukherjee
add MODULE_DEVICE_TABLE to support hot-plugging. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 6e9b2aa..15509a6 100644 --- a/drivers/staging/s

[PATCH 1/2] staging: sm7xxfb: start using module parameters

2015-03-23 Thread Sudip Mukherjee
add module parameters so that we can configure X and Y resolutions and bpp when using this driver as a module. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers

[PATCH] staging: panel: fix lcd type

2015-03-23 Thread Sudip Mukherjee
the lcd type as defined in the Kconfig is not matching in the code. as a result the rs, rw and en pins were getting interchanged. Kconfig defines the value of PANEL_LCD to be 1 if we select custom configuration but in the code LCD_TYPE_CUSTOM is defined as 5. my hardware is LCD_TYPE_CUSTOM, but th

Re: [PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-23 Thread Archit Taneja
On 03/24/2015 03:40 AM, "Stéphane Viau" wrote: Hi Archit, Hi Stephane, On 03/14/2015 01:19 AM, Stephane Viau wrote: Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track of

Re: [PATCH 1/1] cifs: potential memory leaks when parsing mnt opts

2015-03-23 Thread Steve French
Nice catch. Merged into cifs-2.6.git for-next On Sat, Mar 21, 2015 at 6:08 PM, Taesoo Kim wrote: > For example, when mount opt is redundently specified > (e.g., "user=A,user=B,user=C"), kernel kept allocating new key/val > with kstrdup() and overwrite previous ptr (to be freed). > > Althouhg mkf

Re: [PATCH 1/4] f2fs: limit b_size of mapped bh in f2fs_map_bh

2015-03-23 Thread Jaegeuk Kim
Hi Chao, On Mon, Mar 23, 2015 at 10:28:00AM +0800, Chao Yu wrote: > Map bh over max size which caller defined is not needed, limit it in > f2fs_map_bh. > > Signed-off-by: Chao Yu > --- > fs/f2fs/data.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/fs/f2fs/data

Re: [V4.0-rc5 Regression] drm/intel problem

2015-03-23 Thread Dave Airlie
> The display remains dark in V4.0-rc5 except of a small white line > at the top of the screen so I can't see anything. RC4 was good. > The latest good kernel that I know of is at least > 4.0.0-rc4-00199-gb314aca. I'm hoping the fix I just sent Linus is the fix for this, otherwise Daniel and co

Re: [PATCH v2] kernel/panic/kexec: fix "crash_kexec_post_notifiers" option issue in oops path

2015-03-23 Thread Masami Hiramatsu
(2015/03/23 23:31), Vivek Goyal wrote: [...] Secondly, and more importantly, the whole premise of commit f06e5153f4ae is broken IMHO: "This can help rare situations where kdump fails because of unstable crashed kernel or hardware failure (memory corruption on critical >

[PATCH v8 27/30] PCI: Rename __pci_create_root_bus() to pci_create_root_bus()

2015-03-23 Thread Yijing Wang
Now no one use pci_create_root_bus(), we could remove it and rename __pci_create_root_bus() to pci_create_root_bus(). Signed-off-by: wangyij...@huawei.com --- drivers/pci/probe.c | 35 +-- include/linux/pci.h |3 --- 2 files changed, 9 insertions(+), 29 delet

[PATCH v8 04/30] PCI: Move pci_bus_assign_domain_nr() declaration into drivers/pci/pci.h

2015-03-23 Thread Yijing Wang
pci_bus_assign_domain_nr() is only called in probe.c, Move pci_bus_assign_domain_nr() declaration into drivers/pci/pci.h. Signed-off-by: Yijing Wang --- drivers/pci/pci.h |9 + include/linux/pci.h |6 -- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v8 06/30] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-23 Thread Yijing Wang
This patch separate pci_host_bridge creation out of pci_create_root_bus(), and try to make a generic pci_host_bridge, then we could make it hold host bridge specific operations like pcibios_root_bridge_prepare(). The changes are transparent to platform host bridge drivers. Signed-off-by: Yijing Wa

[PATCH v8 02/30] PCI: Remove deprecated pci_scan_bus_parented()

2015-03-23 Thread Yijing Wang
No one uses pci_scan_bus_parented() any more, remove it. Signed-off-by: Yijing Wang --- drivers/pci/probe.c | 19 --- include/linux/pci.h |2 -- 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 8ef0375..699a238

[PATCH v8 09/30] PCI: Introduce pci_host_first_busnr() function

2015-03-23 Thread Yijing Wang
Use it to get the first bus number of the bus resource. Signed-off-by: Yijing Wang --- drivers/pci/pci.h | 11 +++ drivers/pci/probe.c | 19 ++- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 8526790..886d

[PATCH v8 26/30] PCI/xgene: Use pci_scan_root_bus() instead of pci_create_root_bus()

2015-03-23 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Tanmay Inamdar --- drivers/pci/host/pci-xgene.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/ho

[PATCH v8 25/30] PCI/designware: Use pci_scan_root_bus() for simplicity

2015-03-23 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Mohit Kumar CC: Jingoo Han --- drivers/pci/host/pcie-designware.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host/pcie-des

[PATCH v8 28/30] PCI: Remove platform specific pci_domain_nr()

2015-03-23 Thread Yijing Wang
Now pci_host_bridge holds the domain number, so we could eliminate all platform specific pci_domain_nr(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- arch/alpha/include/asm/pci.h |2 -- arch/ia64/include/asm/pci.h |1 - arch/microblaze/pci/pci-common.c | 11 --

[PATCH v8 05/30] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-03-23 Thread Yijing Wang
Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. In the later patch, we would assign domain in pci_create_host_bridge, clean up the pci_bus_assign_domain_nr() and move this function into drivers/pci/host-bridge.c. Signed-off-by: Yijing Wang --- drivers/pci/pci.c

[PATCH v8 07/30] PCI: Add default bus resource in pci_host_bridge

2015-03-23 Thread Yijing Wang
If there is no busn resource provided for pci_scan_root_bus(), we would insert a default bus resource (root_bus_number, 255) in root bus, and update the max bus number we found after pci_scan_child_bus(). We also need to hold the default bus resource in pci_host_bridge, then we could identify wheth

[PATCH v8 08/30] PCI: Update pci_host_bridge bus resource

2015-03-23 Thread Yijing Wang
From: Yijing Wang Sometimes, the bus resource start number is not equal to root bus number. For example, in pci_scan_bus(), we always add the default bus resource which start bus number is 0, but the root bus number callers given may != 0, so we need to update pci_host_bridge bus resource, becaus

[PATCH v8 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-23 Thread Yijing Wang
Introduce pci_host_bridge_list to manage pci host bridges in system, this make us have the ability to check whether the new host would conflict with existing one. Then we could remove bus alreay exist check in __pci_create_root_bus(). Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c |

[PATCH v8 15/30] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-23 Thread Yijing Wang
Introduce new scan function pci_scan_host_bridge() to support host bridge drivers that need to provide platform own pci_host_bridge_ops. Signed-off-by: Yijing Wang --- drivers/pci/probe.c | 22 ++ include/linux/pci.h |3 +++ 2 files changed, 25 insertions(+), 0 deletion

[PATCH v8 13/30] PCI: Move pcibios_root_bridge_prepare() to pci_create_host_bridge()

2015-03-23 Thread Yijing Wang
Move pcibios_root_bridge_prepare() to pci_create_host_bridge(). Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c | 16 +--- drivers/pci/probe.c |3 --- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bri

[PATCH v8 12/30] powerpc/PCI: Rename pcibios_root_bridge_prepare() to pcibios_set_root_bus_speed()

2015-03-23 Thread Yijing Wang
pcibios_root_bridge_prepare() in powerpc set root bus speed, it's not the preparation for pci host bridge. Rename it for better readability, and we could move pcibios_root_bridge_prepare() to pci_create_host_bridge(), in which root bus is not created. We will clean up these weak functions, and add

[PATCH v8 17/30] x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-23 Thread Yijing Wang
Signed-off-by: Yijing Wang CC: Thomas Gleixner CC: x...@kernel.org --- arch/x86/pci/acpi.c | 37 + 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index d2655d5..877acaf 100644 --- a/arch/x86/pci/acp

[PATCH v8 11/30] PCI: Save sysdata in pci_host_bridge drvdata

2015-03-23 Thread Yijing Wang
Save platform specific sysdata in pci_host_bridge drvdata, host bridge specific operation need to access it before the pci bus creation. Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c |3 ++- drivers/pci/pci.h |2 +- drivers/pci/probe.c | 20 ++--

[PATCH v8 21/30] sparc/PCI: Use pci_scan_host_bridge() for simplicity

2015-03-23 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide sparc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang CC: "David S. Miller" CC: sparcli...@vger.kernel.org --- arch/sparc/kernel/pci.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions(

[PATCH v8 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-03-23 Thread Yijing Wang
v7->v8: Fix some cross building errors found by kbuild test. Drop the rename patch for find_pci_host_bridge(). v6->v7: Drop previous patch which combined the domain and bus in one argument. Make the pci_host_bridge hold the default busn resource, so we could

Re: [pci:pci/enumeration-yw7 32/35] drivers/pci/host-bridge.c:147:24: sparse: symbol 'pci_find_host_bridge' was not declared. Should it be static?

2015-03-23 Thread Yijing Wang
On 2015/3/24 10:29, Bjorn Helgaas wrote: > On Mon, Mar 23, 2015 at 8:15 PM, Yijing Wang wrote: sparse warnings: (new ones prefixed by >>) >> drivers/pci/host-bridge.c:147:24: sparse: symbol 'pci_find_host_bridge' >> was not declared. Should it be static? Please review

[PATCH v8 19/30] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-03-23 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c | 60 +++-- 1 files changed, 37

[PATCH v8 23/30] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-23 Thread Yijing Wang
Mvebu_pcie_scan_bus() is not necessary, we could use pci_common_init_dev() instead of pci_common_init(), and pass the device pointer as the parent. Then pci_scan_root_bus() will be called to scan the pci busses. Signed-off-by: Yijing Wang CC: Thomas Petazzoni CC: Jason Cooper --- drivers/pci/h

[PATCH v8 29/30] PCI: Remove pci_bus_assign_domain_nr()

2015-03-23 Thread Yijing Wang
Now we save the domain number in pci_host_bridge, we could remove pci_bus_assign_domain_nr() and clean the domain member in pci_bus. Also move pci_host_assign_domain_nr() to drivers/pci/host-bridge.c for simplicity. Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c | 63

[PATCH v8 30/30] PCI: Clean up CONFIG_PCI_DOMAINS_GENERIC

2015-03-23 Thread Yijing Wang
Now we could clean up CONFIG_PCI_DOMAINS_GENERIC. Signed-off-by: Yijing Wang --- arch/arm/Kconfig |3 --- arch/arm64/Kconfig|3 --- drivers/pci/host-bridge.c | 11 ++- drivers/pci/pci.c |2 -- 4 files changed, 6 insertions(+), 13 deletions(-) diff

[PATCH v8 24/30] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-23 Thread Yijing Wang
Now pci_scan_root_bus() is almost similar to pci_create_root_bus() + pci_scan_child_bus(). So we could use common pci_scan_root_bus() in pci_common_init_dev() to scan pci busses. tegra_pcie_scan_bus() is redundant, remove it. Signed-off-by: Yijing Wang CC: Thierry Reding CC: linux-te...@vger.ker

[PATCH v8 22/30] parisc/PCI: Use pci_scan_root_bus() for simplicity

2015-03-23 Thread Yijing Wang
From: Yijing Wang Now pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), we could use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: "James E.J. Bottomley" CC: linux-par...@vger.kernel.org --- drivers

[PATCH v8 20/30] PCI: Remove pcibios_root_bridge_prepare() and pcibos_set_root_bus_speed()

2015-03-23 Thread Yijing Wang
Now no one use weak pcibios_root_bridge_prepare() and pcibios_set_root_bus_speed, we could clean up them. Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c |4 drivers/pci/probe.c | 18 +- include/linux/pci.h |2 -- 3 files changed, 1 insertions(

[PATCH v8 18/30] ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-23 Thread Yijing Wang
From: Yijing Wang Signed-off-by: Yijing Wang CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org --- arch/ia64/pci/pci.c | 34 +++--- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index c642bc8.

[PATCH v8 14/30] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-23 Thread Yijing Wang
Now we have weak functions like pcibios_root_bridge_prepare() to setup pci host bridge, We could introduce pci_host_bridge_ops which contain host bridge specific ops to setup pci_host_bridge. Then host bridge driver could add pci_host_bridge_ops hooks intead of weak function to setup pci_host_bridg

[PATCH v8 03/30] PCI: Save domain in pci_host_bridge

2015-03-23 Thread Yijing Wang
Save domain in pci_host_bridge, so we could get domain from pci_host_bridge, and at the end of series, we could clean up the arch specific pci_domain_nr(). For arm, we pass -1 as the domain number, we would update the domain number in core by pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang

[PATCH v8 16/30] PCI: Introduce pci_bus_child_max_busnr()

2015-03-23 Thread Yijing Wang
Sometimes, we want to know the highest reserved busnr for children bus. Because parent's bus->busn_res may have padding in it. For example, some host drivers don't know the bus end, so they supply the bus resource (root_bus, 255), they want to update the max bus number after pci scan complete. But

[PATCH v8 01/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-23 Thread Yijing Wang
From: Arnd Bergmann Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Konrad Rzeszutek Wilk CC: xen-de...@lists.xenproject.org --- drivers/pci/xen-pcifront.c | 16 +--- 1 files changed, 13

Re: Re: [PATCH v2] kernel/panic/kexec: fix "crash_kexec_post_notifiers" option issue in oops path

2015-03-23 Thread Masami Hiramatsu
(2015/03/23 16:19), Ingo Molnar wrote: > > * Baoquan He wrote: > >> CC more people ... >> >> On 03/07/15 at 01:31am, "Hatayama, Daisuke/畑山 大輔" wrote: >>> The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced >>> "crash_kexec_post_notifiers" kernel boot option, which toggles >>> wheather

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

2015-03-23 Thread Stephen Rothwell
Hi Al, On Fri, 13 Mar 2015 12:02:50 +1100 Stephen Rothwell wrote: > > After merging the vfs tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > fs/ext4/indirect.c: In function 'ext4_ind_direct_IO': > fs/ext4/indirect.c:653:2: error: implicit declaration of function

Re: Fund Release Notification $10.5 Million USD

2015-03-23 Thread Mr. Henly Anderson Delany
Good day! Re: Fund Release Notification $10.5 Million USD Please be informed that we have received a notification for the release and transfer of your sum We are the Financial consultants/Bendigo Bank Australia. This Bank which we represent in the Australia has directed us to process the release

[PATCH 1/1] nfsd: incorrect check for debugfs returns

2015-03-23 Thread Chengyu Song
debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would crash the kernel. Signed-off-by: Chengyu Song --- fs/nfsd/fault_inject.c |

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

2015-03-23 Thread David Miller
From: Stephen Rothwell Date: Tue, 24 Mar 2015 13:45:08 +1100 > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > crypto/algif_skcipher.c: In function 'skcipher_async_cb': > crypto/algif_skcipher.c:109:2: error: implicit declaration of functio

Re: [Bugfix] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-23 Thread Jiang Liu
On 2015/3/24 10:42, Bjorn Helgaas wrote: > On Mon, Mar 23, 2015 at 9:22 PM, Jiang Liu wrote: >> On 2015/3/24 0:48, Bjorn Helgaas wrote: >>> On Mon, Mar 23, 2015 at 03:22:14PM +0800, Jiang Liu wrote: Commit 63f1789ec716("Ignore resources consumed by host bridge itself") tries to ignore re

linux-next: build failure after merge of the net-next tree

2015-03-23 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: crypto/algif_skcipher.c: In function 'skcipher_async_cb': crypto/algif_skcipher.c:109:2: error: implicit declaration of function 'aio_complete' [-Werror=implicit-function-declaration] aio_

Re: [Bugfix] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-23 Thread Bjorn Helgaas
On Mon, Mar 23, 2015 at 9:22 PM, Jiang Liu wrote: > On 2015/3/24 0:48, Bjorn Helgaas wrote: >> On Mon, Mar 23, 2015 at 03:22:14PM +0800, Jiang Liu wrote: >>> Commit 63f1789ec716("Ignore resources consumed by host bridge itself") >>> tries to ignore resources consumed by PCI host bridge itself by >

Re: [PATCH] tty/n_gsm.c: fix a memory leak when gsmtty is removed

2015-03-23 Thread Pan Xinhui
hi, Jiri thanks for your kind reply, and the nice advices. :) On 2015年03月23日 23:23, Jiri Slaby wrote: On 03/24/2015, 08:22 AM, Pan Xinhui wrote: In gsmtty_remove, we will put dlci. when dlci's ref-count is zero, tty_port_destructor will be called, and it will check if port->itty is NULL

Re: [PATCH net v2] tcp: prevent fetching dst twice in early demux code

2015-03-23 Thread David Miller
From: Michal Kubecek Date: Mon, 23 Mar 2015 15:14:00 +0100 (CET) > On s390x, gcc 4.8 compiles this part of tcp_v6_early_demux() > > struct dst_entry *dst = sk->sk_rx_dst; > > if (dst) > dst = dst_check(dst, inet6_sk(sk)->rx_dst_cookie); > > to code reading sk->s

[PATCH 1/1] gfs2: incorrect check for debugfs returns

2015-03-23 Thread Chengyu Song
debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would crash the kernel. Signed-off-by: Chengyu Song --- fs/gfs2/glock.c | 47

[PATCH v3 2/2] f2fs: enable fast symlink by utilizing inline data

2015-03-23 Thread Wanpeng Li
Fast symlink can utilize inline data flow to avoid using any i_addr region, since we need to handle many cases such as truncation, roll-forward recovery, and fsck/dump tools. Signed-off-by: Wanpeng Li --- fs/f2fs/inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2f

[PATCH v3 1/2] f2fs: enable inline data by default

2015-03-23 Thread Wanpeng Li
Enable inline_data feature by default since it brings us better performance and space utilization and now has already stable. Add another option noinline_data to disable it during mount. Suggested-by: Jaegeuk Kim Suggested-by: Chao Yu Signed-off-by: Wanpeng Li --- v2 -> v3: * reuse F2FS_MOUNT_

Re: [PATCH] mtd: Expand the ecc placement locations to 1260

2015-03-23 Thread punnaiah choudary kalluri
On Fri, Mar 20, 2015 at 4:51 AM, Jeff Lauruhn (jlauruhn) wrote: > This device has a Page size x8: 17,600 bytes (16,384 + 1216 bytes) and > minimum required ECC 24-bit ECC per 1100 bytes of data. Spare area needed > for ECC would be ECC * M, where M is (codeword <= 2^m-1). In this case M=14, >

Re: [PATCH 2/5] powerpc: Remove powerpc specific byteswap from bt8xx DVB driver

2015-03-23 Thread Benjamin Herrenschmidt
On Tue, 2015-02-03 at 16:36 +1100, David Gibson wrote: > The bt8xx PCI DVB driver includes a powerpc specific hack, using one of > the powerpc specific byteswapping functions in an IO helper macro. > > There's no reason to use the powerpc specific function instead of a > generic byteswap, so this

RE: [v4 2/8] iommu, x86: Define new irte structure for VT-d Posted-Interrupts

2015-03-23 Thread Wu, Feng
> -Original Message- > From: Joerg Roedel [mailto:j...@8bytes.org] > Sent: Monday, March 23, 2015 7:58 PM > To: Wu, Feng > Cc: dw...@infradead.org; jiang@linux.intel.com; > io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Subject: Re: [v4 2/8] iommu, x86: Define new ir

Re: [pci:pci/enumeration-yw7 32/35] drivers/pci/host-bridge.c:147:24: sparse: symbol 'pci_find_host_bridge' was not declared. Should it be static?

2015-03-23 Thread Bjorn Helgaas
On Mon, Mar 23, 2015 at 8:15 PM, Yijing Wang wrote: >>> sparse warnings: (new ones prefixed by >>) >>> > drivers/pci/host-bridge.c:147:24: sparse: symbol 'pci_find_host_bridge' > was not declared. Should it be static? >>> >>> Please review and possibly fold the followup patch. >> >> It do

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-23 Thread David Miller
From: Pablo Neira Ayuso Date: Mon, 23 Mar 2015 13:47:23 +0100 > On Mon, Mar 23, 2015 at 02:08:41PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the net-next tree got a conflict in >> net/netfilter/nf_tables_core.c between commit 4017a7ee693d ("netfilter: >> restore

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-23 Thread Walter Lozano
Hi Dinh On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen wrote: > Hi Walter, > > On 3/19/15 4:27 PM, Walter Lozano wrote: >> Hi Dinh, >> >> On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano >> wrote: >>> On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar >>> wrote: Hi! On Wed, Dec 24, 2

Re: [RFC PATCH] sg3_utils: Added hybrid information log utility

2015-03-23 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/15/2014 07:46 PM, Phillip Susi wrote: > On 11/25/2014 02:13 PM, Akers, Jason B wrote: >> Hi Phillip, It turns out that this patch was based on an old >> github repository that doesn't appear to be updated. Doug >> Gilbert reached out after the

Re: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-23 Thread Viresh Kumar
On 23 March 2015 at 22:13, Bartlomiej Zolnierkiewicz wrote: > Would you pick this patch up or should I resend it to Rafael? Please resend it to Rafael and cc me and linux-pm list.. Also add my Ack to it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [Bugfix] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-23 Thread Jiang Liu
On 2015/3/24 0:48, Bjorn Helgaas wrote: > On Mon, Mar 23, 2015 at 03:22:14PM +0800, Jiang Liu wrote: >> Commit 63f1789ec716("Ignore resources consumed by host bridge itself") >> tries to ignore resources consumed by PCI host bridge itself by >> checking IORESOURCE_WINDOW flag, which causes regressi

[git pull] Please pull mpe/linux.git powerpc-4.0-3 tag

2015-03-23 Thread Michael Ellerman
Hi Linus, Please pull some powerpc fixes for 4.0: The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.0-3 f

Re: [LKP] [x86/platform, acpi] 7486341a98f: genirq: Flags mismatch irq 8. 00000080 (mmc0) vs. 00000000 (rtc0)

2015-03-23 Thread Li, Aubrey
On 2015/3/24 8:53, Huang Ying wrote: > On Mon, 2015-03-23 at 14:18 +0800, Li, Aubrey wrote: >> On 2015/3/20 16:38, Huang Ying wrote: >>> FYI, we noticed the below changes on >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>> commit 7486341a98f26857f383aec88ffa109500

Re: rhashtable: warnings caused by "rhashtable: Fix use-after-free in rhashtable_walk_stop"

2015-03-23 Thread David Miller
From: Herbert Xu Date: Tue, 24 Mar 2015 09:53:17 +1100 > rhashtable: Fix sleeping inside RCU critical section in walk_stop > > The commit 963ecbd41a1026d99ec7537c050867428c397b89 ("rhashtable: > Fix use-after-free in rhashtable_walk_stop") fixed a real bug > but created another one because we ma

[git pull] drm urgent fix

2015-03-23 Thread Dave Airlie
Hi Linus, a few people reported an oops that looks to be fixed in drm-next already, so I've pulled the patch back. Dave. The following changes since commit 90a5a895cc8b284ac522757a01de15e36710c2b9: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-03-23 10:16:13 -0700) a

linux-next: manual merge of the thermal-soc tree with the thermal tree

2015-03-23 Thread Stephen Rothwell
Hi Eduardo, Today's linux-next merge of the thermal-soc tree got a conflict in include/linux/thermal.h between commit 33f1e05e1536 ("Thermal: initialize thermal zone device correctly") from the thermal tree and commit f7e41876c4b2 ("thermal: of: fix cooling device weights in device tree") from the

[PATCH] adfs: returning correct return values

2015-03-23 Thread Sanidhya Kashyap
This patch tries to fix the wrong values returned by various functions such as EIO and ENOMEM. Signed-off-by: Sanidhya Kashyap --- fs/adfs/dir_fplus.c | 1 + fs/adfs/super.c | 20 +++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/fs/adfs/dir_fplus.c b/fs/a

Re: [PATCH v2] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-23 Thread Yunlong Song
On 2015/3/24 0:15, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 23, 2015 at 11:50:05AM +0800, Yunlong Song escreveu: >> Signed-off-by: Yunlong Song >> Signed-off-by: Namhyung Kim > > Humm, this doesn't seem to apply (Namhyung's S-o-B), as this patch was > made by you and is not going thru him,

Re: [PATCH] lguest: explicitly set miscdevice's private_data NULL

2015-03-23 Thread Rusty Russell
Martin Kepplinger writes: > There is a proposed change to the miscdevice's behaviour on open(). Currently > file->private_data stays NULL, but only because we don't have an open-entry in > struct file_operations. > > This may change so that private_data, more consistently, is always set to > struc

Re: [PATCH V2 2/2] af_packet: pass checksum validation status to the user

2015-03-23 Thread David Miller
From: Alexander Drozdov Date: Mon, 23 Mar 2015 09:11:13 +0300 > Introduce TP_STATUS_CSUM_VALID tp_status flag to tell the > af_packet user that at least the transport header checksum > has been already validated. > > For now, the flag may be set for incoming packets only. > > Signed-off-by: Ale

Re: [PATCH V2 1/2] af_packet: make tpacket_rcv to not set status value before run_filter

2015-03-23 Thread David Miller
From: Alexander Drozdov Date: Mon, 23 Mar 2015 09:11:12 +0300 > It is just an optimization. We don't need the value of status variable > if the packet is filtered. > > Signed-off-by: Alexander Drozdov Applied to net-next -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

[PATCH 1/1] dlm: incorrect check for debugfs returns

2015-03-23 Thread Chengyu Song
debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would crash the kernel. Signed-off-by: Chengyu Song --- fs/dlm/debug_fs.c | 70 ++

[PATCH] cx82310_eth: fix semicolon.cocci warnings

2015-03-23 Thread kbuild test robot
drivers/net/usb/cx82310_eth.c:175:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Ondrej Zary Signed-off-by: Fengguang Wu --- cx82310_eth.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/usb/cx82310_

  1   2   3   4   5   6   7   8   >