Re: [PATCH 1/5] ARM: sunxi: Add R8 support

2015-09-30 Thread Maxime Ripard
On Wed, Sep 30, 2015 at 03:38:29PM -0700, Stephen Boyd wrote: > On 09/18, Maxime Ripard wrote: > > The R8 is a new Allwinner SoC based on the A13. While both are very > > similar, there's still a few differences. Introduce a new compatible to > > deal with them. > > > > Signed-off-by: Maxime Ripar

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-09-30 Thread James Liao
Hi Daniel, Thanks for your help to explain the patch. On Tue, 2015-09-29 at 18:25 +0800, Daniel Kurtz wrote: > On Sun, Sep 27, 2015 at 7:25 PM, Matthias Brugger > wrote: > >> But then we at least need a corresponding change to the binding > >> documentation. I'll send a new patch with changing

Re:You have been selected as recipient/benefactor for $5Million Dollars

2015-09-30 Thread award15
Message from Saudi Arabia Prince Alwaleed bin Talal for his charity donation and You have been selected as recipient/benefactor for $5Million Dollars from Alwaleed Philanthropic Foundation Grant.for more information contact Via email to behzadhami...@yahoo.com Behzad Hamid --- This email has

Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-09-30 Thread Marcel Holtmann
Hi Bjorn, > The Qualcomm WCNSS chip provides two SMD channels to the BT core; one > for command and one for event packets. This driver exposes the two > channels as a hci device. > > Signed-off-by: Bjorn Andersson > --- > drivers/bluetooth/Kconfig | 11 +++ > drivers/bluetooth/Makefile | 1

[PATCH v6 20/53] PCI: Rename pdev_sort_resources() to pdev_assign_resources_prepare()

2015-09-30 Thread Yinghai Lu
pdev_sort_resources() etc was checking devices resources and putting resources that need to assign to one list in sorted order. Now we don't do sorting in those functions anymore, so change to pdev_assign_resources_prepare() instead. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 12 ++

[PATCH v6 49/53] PCI: Only treat non-pref mmio64 as pref if host bridge has mmio64

2015-09-30 Thread Yinghai Lu
If host bridge does not have mmio64 above 4G, We don't need to treat device non-pref mmio64 as as pref mmio64. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 3b27c8c

[PATCH v6 34/53] PCI: Fix size calculation with old_size on rescan path

2015-09-30 Thread Yinghai Lu
On booting path, we don't pass realloc at first, and treat all optional just as required, in some case we can have smaller size/align with optional than required only. 04:00.0 has children bridges: 05:03.0, 05:04.0 pref layout after booting path like followings: pci :04:00.0: BAR 9: assigne

[PATCH v6 51/53] PCI, x86: Add pci=assign_pref_bars to reallocate pref BARs

2015-09-30 Thread Yinghai Lu
Now some BIOS tend to allocate pref MMIO under non-pref MMIO, or allocate 64bit pref MMIO under 4G. Add pci=assign_pref_bars to clear and allocate resource to pref BARS. So could reallocate pref mmio64 above 4G and pref under bridges pref BARs. Signed-off-by: Yinghai Lu --- arch/x86/include/asm

[PATCH v6 26/53] PCI: Check if resource is allocated before trying to assign one

2015-09-30 Thread Yinghai Lu
In following alt_size support, we will call pci_assign_resource() several times on one resource list, and some resources could have been assigned already. Skip allocated resource in the list, as pci_assign_resource() only can handle not assigned resource. Signed-off-by: Yinghai Lu --- drivers/p

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-30 Thread Michal Marek
On 2015-10-01 08:14, Michael Ellerman wrote: > On Fri, 2015-09-25 at 22:46 +0200, Michal Marek wrote: >> Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): >>> >>> >>> On 23 September 2015 19:50:52 GMT+10:00, Michal Marek >>> wrote: On 2015-09-23 07:40, Michael Ellerman wrote: > +else ifne

linux-next: Tree for Oct 1

2015-09-30 Thread Stephen Rothwell
Hi all, Changes since 20150930: I used the h8300 tree from next-20150828 since the current tree has been rebased onto linux-next again :-( The mips tree gained a conflict against Linus' tree. The l2-mtd tree lost its build failure. The battery tree still had its build failure so I use

[PATCH v7 2/5] perf tools: pass session to mmap processing code

2015-09-30 Thread Stephane Eranian
This patch passes the perf_session to the mmap processing callbacks. This is needed in a later patch to get to the event list and sample_type. A consequence of the patch is that the number of argument to machine_deliver_event() is reduced. Signed-off-by: Stephane Eranian --- tools/perf/builtin-

[PATCH v7 3/5] perf inject: add jitdump mmap injection support

2015-09-30 Thread Stephane Eranian
This patch adds a --jit option to perf inject. This options injects MMAP records into the perf.data file to cover the jitted code mmaps. It also emits ELF images for each function in the jidump file. Those images are created where the jitdump file is. The MMAP records point to that location as wel

Re: [PATCH 2/2] net: Microchip encx24j600 driver

2015-09-30 Thread kbuild test robot
Hi Jon, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-allmodconfig (attached as .config) reproduce: git checkout abb68976e3057f70babddaf71802ed126d0297bc # save the attached .config to linux build tree make ARCH=i386 All

[PATCH v7 0/4] perf: add support for profiling jitted code

2015-09-30 Thread Stephane Eranian
This patch series extends perf record/report/annotate to enable profiling of jitted (just-in-time compiled) code. The current perf tool provides very limited support for profiling jitted code for some runtime environments. But the support is experimental and cannot be used in complex environments.

[PATCH v7 5/5] perf/jit: add source line info support

2015-09-30 Thread Stephane Eranian
This patch adds source line information support to perf for jitted code. The source line info must be emitted by the runtime, such as JVMTI. Perf injects extract the source line info from the jitdump file and adds the corresponding .debug_lines section in the ELF image generated for each jitted fun

[PATCH v7 1/5] perf tools: add Java demangling support

2015-09-30 Thread Stephane Eranian
Add Java function descriptor demangling support. Something bfd cannot do. Use the JAVA_DEMANGLE_NORET flag to avoid decoding the return type of functions. Signed-off-by: Stephane Eranian --- tools/perf/util/Build | 1 + tools/perf/util/demangle-java.c | 199 +

[PATCH v7 4/5] perf tools: add JVMTI agent library

2015-09-30 Thread Stephane Eranian
This is a standalone JVMTI library to help profile Java jitted code with perf record/perf report. The library is not installed or compiled automatically by perf Makefile. It is not used directly by perf. It is arch agnostic and has been tested on X86 and ARM. It needs to be used with a Java runtim

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

2015-09-30 Thread Daniel Vetter
;drm_agp_info_ioctl" [drivers/gpu/drm/drm.ko] undefined! > ERROR: "drm_agp_enable_ioctl" [drivers/gpu/drm/drm.ko] undefined! > ERROR: "drm_agp_release_ioctl" [drivers/gpu/drm/drm.ko] undefined! > ERROR: "drm_agp_bind_ioctl" [drivers/gpu/drm/drm.ko] undefi

Re: [PATCH] sched: fix task and run queue run_delay inconsistencies

2015-09-30 Thread Peter Zijlstra
On Wed, Sep 30, 2015 at 08:28:41PM +, Meyer, Mike wrote: > > From: Peter Zijlstra [mailto:pet...@infradead.org] > > > > On Wed, Sep 23, 2015 at 12:37:18AM +, Meyer, Mike wrote: > > > > > > The proposed patch addresses the issue by calling > > > sched_info_reset_dequeued(thread) following th

Re: [PATCH] drm/nouveau: fix memory leak

2015-09-30 Thread Ben Skeggs
On 09/25/2015 01:59 AM, Sudip Mukherjee wrote: > On Fri, Sep 11, 2015 at 03:00:56PM +0530, Sudip Mukherjee wrote: >> If pm_runtime_get_sync() we were going to "out" but we missed >> freeing vma. >> >> Signed-off-by: Sudip Mukherjee --- > Hi Ben, Another gentle ping for another patch. Both patches

Re: [PATCH 1/5] asm-generic: Add _{relaxed|acquire|release}() variants for inc/dec atomics

2015-09-30 Thread Peter Zijlstra
On Wed, Sep 30, 2015 at 01:03:11PM -0700, Davidlohr Bueso wrote: > Similar to what we have for regular add/sub calls. For now, no actual arch > implements them, so everyone falls back to the default atomics... iow, > nothing changes. These will be used in future primitives. > Maybe also do an aar

Re: [PATCH 1/1] staging: ion: Fix error handling in ion_buffer_create

2015-09-30 Thread Gioh Kim
2015-10-01 오후 2:31에 PINTU KUMAR 이(가) 쓴 글: -Original Message- From: Laura Abbott [mailto:labb...@redhat.com] Sent: Wednesday, September 30, 2015 11:42 PM To: Rohit kumar; gre...@linuxfoundation.org; a...@android.com; riandr...@android.com; dan.carpen...@oracle.com; sumit.sem...@linaro.

bisected: Re: 4.3.0-rc3-00042: ACPI Warning: AcpiEnable failed

2015-09-30 Thread Meelis Roos
> 4.2.0 worked fine, 4.3.0-rc3-00042-g3225031 was the next one tested > after that and with this kernel, ACPI enabling fails. This is Pentium > III, 1 GHz, Intel 815 chipset, DMI tells something about "Packard Bell > NEC" as the mainboard type. > > Full dmesg and config are below. What addition

Re: [PATCH] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-09-30 Thread Andreas Dilger
On Sep 30, 2015, at 11:47 AM, Darrick J. Wong wrote: > > Change the journal's checksum functions to gate on whether or not the > crc32c driver is loaded, and gate the loading on the superblock bits. > This prevents a journal crash if someone loads a journal in no-csum > mode and then randomizes t

[PATCH 1/2] regmap: Allow installing custom reg_update_bits function

2015-09-30 Thread jon
From: Jon Ringle This commit allows installing a custom reg_update_bits function for cases where the hardware provides a mechanism to set or clear register bits without a read/modify/write cycle. Such is the case with the Microchip ENCX24J600. Signed-off-by: Jon Ringle --- drivers/base/regmap/

[PATCH 2/2] net: Microchip encx24j600 driver

2015-09-30 Thread jon
From: Jon Ringle This ethernet driver supports the Micorchip enc424j600/626j600 Ethernet controller over a SPI bus interface. This driver makes use of the regmap API to optimize access to registers by caching registers where possible. Signed-off-by: Jon Ringle --- drivers/net/ethernet/microchi

Re: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-09-30 Thread Peter Zijlstra
On Thu, Oct 01, 2015 at 02:33:18AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > On Fri, Sep 25, 2015 at 08:28:11PM +0900, Hidehiro Kawai wrote: > > > This patch introduces new boot option "noextnmi" which disables > > > external NMI. This option is useful for the dump capture kernel > > > so that an HA

Re: [PATCH v13 13/23] x86/asm/crypto: Create stack frames in aesni-intel_asm.S

2015-09-30 Thread minipli
On Tue, Sep 22, 2015 at 10:47:04AM -0500, Josh Poimboeuf wrote: > aesni-intel_asm.S has several callable non-leaf functions which don't > honor CONFIG_FRAME_POINTER, which can result in bad stack traces. > > Create stack frames for them when CONFIG_FRAME_POINTER is enabled. > > Signed-off-by: Jos

Re: [PATCH 10/13] twl4030_charger: add software controlled linear charging mode.

2015-09-30 Thread Neil Brown
Pavel Machek writes: > On Thu 2015-07-30 10:11:24, NeilBrown wrote: >> >> Add a 'continuous' option for usb charging which enables >> the "linear" charging mode of the twl4030. >> >> Linear charging does a good job with not-so-reliable power sources. >> Auto mode does not work well as it switch

[PATCH v6 44/53] PCI, x86: Allocate from high in available window for MMIO

2015-09-30 Thread Yinghai Lu
Current code just use aligned start from avialable window, that could waste big alignment from start. We can align to the end from avialable window, so will save start with big align to others: like second try for pref mmio after first try already have non-pref assigned. pci tree: -[:00]-+-00

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-30 Thread Michael Ellerman
On Fri, 2015-09-25 at 22:46 +0200, Michal Marek wrote: > Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): > > > > > > On 23 September 2015 19:50:52 GMT+10:00, Michal Marek > > wrote: > >> On 2015-09-23 07:40, Michael Ellerman wrote: > >>> +else ifneq ($(wildcard > >> arch/$(SRCARCH)/configs/$(K

[PATCH v6 52/53] PCI: Introduce resource_disabled()

2015-09-30 Thread Yinghai Lu
Current is using !flags, and we are going to use IORESOURCE_DISABLED instead of clearing resource flags. Let's convert all !flags to helper function resource_disabled(). resource_disabled will check !flags and IORESOURCE_DISABLED both. Cc: linux-al...@vger.kernel.org Cc: linux-i...@vger.kernel.or

[PATCH v6 24/53] PCI: Add __add_to_list()

2015-09-30 Thread Yinghai Lu
For alt_size support, we will add more entries to realloc list. Add new __add_to_list() to take alt_size, alt_align. And simplify add_to_list() not to take add/alt input. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 51 ++--- 1 file change

Re: [PATCH] arm64: ftrace: fix function_graph tracer panic

2015-09-30 Thread AKASHI Takahiro
On 09/30/2015 11:49 AM, Li Bin wrote: When function graph tracer is enabled, the following operation will trigger panic: mount -t debugfs nodev /sys/kernel echo next_tgid > /sys/kernel/tracing/set_ftrace_filter echo function_graph > /sys/kernel/tracing/current_tracer ls /proc/ [ cut

[PATCH v6 12/53] PCI: Cleanup res_to_dev_res() printout

2015-09-30 Thread Yinghai Lu
Now get_res_add_size() and get_res_add_align() all have same printout from res_to_dev_res(), and it is confusing. Move out debug messages printout from res_to_dev_res(), so later we will reuse res_to_dev_res() in other functions. -v2: does not print out when add_size or min_align is 0 -v3: change

[PATCH v6 00/53] PCI: Resource allocation cleanup for v4.4

2015-09-30 Thread Yinghai Lu
Hi, After 5b28541552ef (PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources), we have several reports on resource allocation failure, and we try to fix the problem with resource clip, and find more problems. One is realloc fail with two graphics cards above 4G. One is from sparc

[PATCH v6 01/53] sparc/PCI: Add mem64 resource parsing for root bus

2015-09-30 Thread Yinghai Lu
Found "no compatible bridge window" warning in boot log from T5-8. pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no compatible bridge window That resource is above 4G, but does not get offset correctly as root bus only report io and mem32. pci_sun4v f02dbcfc: PCI host

[PATCH v6 17/53] PCI: Don't add too much optional size for hotplug bridge MMIO

2015-09-30 Thread Yinghai Lu
Current code will always add 2M for hotplug bridge MMIO even there is child device under it already. For example: 40:03.0 --- 43:00.0 --- 44:02.0 -+- 45:00.0 \- 45:00.1 44:02.0 will need 1M as must for 45:00.0 and 45:00.1 When we calculate add_size

[PATCH v6 27/53] PCI: Separate out save_resources()/restore_resources()

2015-09-30 Thread Yinghai Lu
We need to save/restore resources several times for alt_size support, separate the save_resources()/resources() to save some lines later. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 49 ++--- 1 file changed, 30 insertions(+), 19 deletions(-

[PATCH v6 38/53] PCI: Unify calculate_size() for io port and MMIO

2015-09-30 Thread Yinghai Lu
Now calculate_memsize() and calculate_iosize() is the same. Change them to calculate_size(). Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c ind

Re: [PATCH 01/10] nbd: Fix timeout detection

2015-09-30 Thread Markus Pargmann
Hi, On Mon, Sep 28, 2015 at 01:27:44AM +0100, Ben Hutchings wrote: > On Mon, 2015-08-17 at 08:20 +0200, Markus Pargmann wrote: > > At the moment the nbd timeout just detects hanging tcp operations. This > > is not enough to detect a hanging or bad connection as expected of a > > timeout. > > > >

[PATCH v6 41/53] PCI: Kill macro checking for bus io port sizing

2015-09-30 Thread Yinghai Lu
We can use new generic version skip_isa_ioresource_align() instead of macro, and then kill the marco. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c ind

[PATCH v6 16/53] PCI: Optimize bus align/size calculation for optional during sizing

2015-09-30 Thread Yinghai Lu
Current add_align always use max align, that make required+optional to get allocated more than needed in some cases. Now we have new calculate_mem_align(), so we could use it for add_align calculation. Need to create separated list for required+optional align/size info. After that we can get sma

[PATCH v6 30/53] PCI: Skip required+optional if there is no optional

2015-09-30 Thread Yinghai Lu
If the bridge does not support hotplug and has no child with sriov support, We will not have optional resources. We could get out early and don't try required+optional allocation. Also in the loop that update res with optional add info, skip resource that add_size is 0. Signed-off-by: Yinghai Lu

[PATCH v6 47/53] PCI: Only treat non-pref mmio64 as pref if all bridges have MEM_64

2015-09-30 Thread Yinghai Lu
If any bridge up to root only have 32bit pref mmio, We don't need to treat device non-pref mmio64 as as pref mmio64. We need to move pci_bridge_check_ranges calling early. for parent bridges pref mmio BAR may not allocated by BIOS, res flags is still 0, we need to have it correct set before we che

[PATCH v6 21/53] PCI: Treat ROM resource as optional during realloc

2015-09-30 Thread Yinghai Lu
Current on realloc path, we just ignore ROM resource if we can not assign them in first try. Treat ROM resources as optional resources,so try to allocate them together with required ones, if can not assign them, could go with other required resources only, and try to allocate them second time in e

[PATCH v6 25/53] PCI: Cache window alignment value during bus sizing

2015-09-30 Thread Yinghai Lu
There are several calling to window_alignment(), and we will have more for alt_size support, cache the value instead of keeping on getting it. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/pci/setup-bus.

[PATCH v6 18/53] PCI: Reorder resources list for required/optional resources

2015-09-30 Thread Yinghai Lu
We try to allocate required+optional before allocate required only and expand with optional. At first we update size and alignment for required+optional resource. And after that we reorder them with new alignment, but current we only do that STARTALIGN ones. For SIZEALIGN type resource, after add

[PATCH v6 33/53] PCI: Add support for more than two alt_size entries under same bridge

2015-09-30 Thread Yinghai Lu
When we have two bridges under parent bridge, and each child bridge has alt_size, we need to increase parent alt_size to make sure it could fit all alt entries. In the patch, we first select one big size, and then keep reducing the size and retrying to get the minimum value for alt_size. For exam

[PATCH v6 39/53] PCI: Allow bridge optional only io port resource required size to be 0

2015-09-30 Thread Yinghai Lu
When there is no child device under the non hotplug bridge, We can use 0 for required size, and do not use old size as required size. That will save some io port range for other bridges, as BIOS could do some partial assign, and we want to use those not used io port range. When there is child dev

[PATCH v6 37/53] PCI: Don't add too much io port for hotplug bridge with old size

2015-09-30 Thread Yinghai Lu
Now we add too much for hotplug bridge io port. For example, when hotplug bridge has two children bridges, every child bridge will need 0x1000, so size1 will be 0x2000 and size is 0. The min_size for the hotplug bridge is 0x100. with old version calculate_iosize, we get 0x3000 for final size as we

[PATCH v6 42/53] resources: Split out __allocate_resource()

2015-09-30 Thread Yinghai Lu
This one is separated from next patch for best fit allocation. Split out __allocate_resource(), and it will not hold lock, so we could use it in other functions that hold the resource lock already. -v2: according to Linus, using "bool lock" as parameter aka "conditionally take lock" is *wron

[PATCH v6 35/53] PCI: Don't add too much optional size for hotplug bridge io

2015-09-30 Thread Yinghai Lu
Same as patch for MMIO (PCI: Don't add too much optional size for hotplug bridge MMIO), and this one is for io port. It will compare required+optional with min_sum_size to get smaller optional size. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 26 -- 1 file ch

[PATCH v6 48/53] PCI: Add has_mem64 for struct host_bridge

2015-09-30 Thread Yinghai Lu
Add has_mem64 for struct host_bridge, on root bus that does not support mmio64 above 4g, will not set that. We will use that info next two following patches: 1. Don't treat non-pref mmio64 as pref mmio, so will not put it under bridge's pref range when rescan the devices 2. will keep pref mmio6

[PATCH v6 50/53] PCI: Restore pref MMIO allocation logic for host bridge without mmio64

2015-09-30 Thread Yinghai Lu
>From 5b2854155 (PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources), we change the logic for pref mmio allocation: When bridge pref support mmio64, we will only put children pref that support mmio64 into it, and will put children pref mmio32 into bridge's non-pref mmio32. That c

[PATCH v6 45/53] PCI: Add debug print out for min_align and alt_size

2015-09-30 Thread Yinghai Lu
Put all print out for all children align/size and result align/size together. We can print out device name at same time with min_align/alt_size calculation. So we can shut off debug print out from get_res_add_size() and get_res_add_align(). Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c

[PATCH v6 46/53] PCI: Check pref compatible bit for mem64 resource of PCIe device

2015-09-30 Thread Yinghai Lu
We still get "no compatible bridge window" warning on sparc T5-8 after we add support for 64bit resource parsing for root bus. PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 PCI: Claiming :00:01.0: Resource 15: 8001..8004afff [220c] PCI: Claiming :01:00.0: Resou

[PATCH v6 53/53] PCI: Don't set flags to 0 when assign resource fail

2015-09-30 Thread Yinghai Lu
We want to keep resource flags instead of clearing it after resource allocation fails. Make flags take IORESOURCE_UNSET | IORESOURCE_DISABLED instead. Suggested-by: Bjorn Helgaas Signed-off-by: Yinghai Lu --- drivers/pci/bus.c | 2 +- drivers/pci/setup-bus.c | 45 +++

[PATCH v6 43/53] resources: Make allocate_resource() return best fit resource

2015-09-30 Thread Yinghai Lu
Current code just allocate from first avail window. We can find all suitable empty slots and pick one with smallest size, so we could save the big slot for needed ones later when we have several pci bridges under parent bridge and some bridges get assigned from bios and we need to assign others in

[PATCH v6 40/53] PCI: Unify skip_ioresource_align()

2015-09-30 Thread Yinghai Lu
There are powerpc generic version and x86 local version for skip_ioresource_align(). Move the powerpc version to setup-bus.c, and kill x86 local version. Also kill dummy version in microblaze. Cc: Michal Simek Cc: Paul Mackerras Cc: Michael Ellerman Cc: Arnd Bergmann Cc: linuxppc-...@lists.o

[PATCH v6 10/53] PCI: Get new realloc size for bridge for last try

2015-09-30 Thread Yinghai Lu
Current realloc path would not shrink bridge resource through pbus_size_mem() checking with the old size. That cause problem: when "required+optional" resource allocation fails, the cached bridge resource size will prevent "required" resource to get allocated smaller resource. Clear the old resou

[PATCH v6 23/53] PCI: Simplify res reference using in __assign_resources_sorted()

2015-09-30 Thread Yinghai Lu
There are couples of dev_res->res reference, to make code more readable use res instead of dev_res->res directly. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/pci/setup-bus.c b

[PATCH v6 32/53] PCI: Add alt_size ressource allocation support

2015-09-30 Thread Yinghai Lu
On system with several pcie switches, BIOS allocate very tight resources to the bridge bar, and it is not aligned to min_align as kernel allocation code. For example: 02:03.0---0c:00.0---0d:04.0---18:00.0 18:00.0 need 0x1000, and 0x0001. BIOS only allocate 0x1010 to 0d:04.0 and ab

[PATCH v6 11/53] PCI: Don't release sibling bridge resources during hotplug

2015-09-30 Thread Yinghai Lu
On hotplug path, we can not touch sibling bridges that is outside of the slot. That could happen when BIOS does not assign some bridge BARs and later kernel can not assign resource to them in first try. Check if fail dev is the parent bridge, then just use subordinate bus instead use parent bus.

[PATCH v6 09/53] PCI: Treat optional as required in first try for bridge rescan

2015-09-30 Thread Yinghai Lu
For rescan bridge/bus that children are removed before, we should treat optional as required just like root bus the boot time in 19aa7ee432ce (PCI: make re-allocation try harder by reassigning ranges higher in the heirarchy). The reason: allocate required and expand to optional path do not put fai

Re: [PATCH 01/11 RESEND] ARM: OMAP: DRA7: hwmod: Add data for McASP3

2015-09-30 Thread Peter Ujfalusi
On 09/30/2015 04:00 PM, Tero Kristo wrote: +/* l4_per2 -> mcasp3 */ +static struct omap_hwmod_ocp_if dra7xx_l4_per2__mcasp3 = { +.master= &dra7xx_l4_per2_hwmod, +.slave= &dra7xx_mcasp3_hwmod, >>> >>> So this is the low-speed control/register access port,

[PATCH v6 15/53] PCI: Optimize bus min_align/size calculation during sizing

2015-09-30 Thread Yinghai Lu
During bus mmio resource sizing stage, current code try to get alignment as small as possible and use that to align size to get final size. But it does not handle resource that size is bigger than alignment in optimal way, kernel only use max alignment for them. For example: When we have resource

[PATCH v6 05/53] PCI: Don't release fixed resource for realloc

2015-09-30 Thread Yinghai Lu
We should not release bridge resource if there is fixed resources under it, otherwise the children firmware would stop working. Reported-by: Paul Johnson Suggested-by: Bjorn Helgaas Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=92351 Signed-off-by: Yinghai Lu Cc: sta...@vger.kernel.org

[PATCH v6 04/53] OF/PCI: Add IORESOURCE_MEM_64 for 64-bit resource

2015-09-30 Thread Yinghai Lu
For device resource PREF bit setting under bridge 64-bit pref resource, we need to make sure only set PREF for 64bit resource, so set IORESOUCE_MEM_64 for 64bit resource during OF device resource flags parsing. Link: https://bugzilla.kernel.org/show_bug.cgi?id=96261 Link: https://bugzilla.kernel.o

[PATCH v6 02/53] sparc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-09-30 Thread Yinghai Lu
For device resource PREF bit setting under bridge 64-bit pref resource, we need to make sure only set PREF for 64bit resource, so set IORESOUCE_MEM_64 for 64bit resource during of device resource flags parsing. Link: https://bugzilla.kernel.org/show_bug.cgi?id=96261 Link: https://bugzilla.kernel.o

[PATCH v6 36/53] PCI: Move ISA io port align out of calculate_iosize()

2015-09-30 Thread Yinghai Lu
We need to move ISA io port align out of calculate_iosize(), so we could unify calculate_iosize and calculate_memsize later. That extra aligning or offset is to work around ISA devices: When one bridge have several children devices, and every device has several io port resources and resource size

[PATCH v6 31/53] PCI: Move saved required resource list out of required+optional assigning

2015-09-30 Thread Yinghai Lu
We will need to share saved required list for alt_size support, so move it out from required+optional assigning. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/pci/setup-bus.c b/dr

[PATCH v6 19/53] PCI: Remove duplicated code for resource sorting

2015-09-30 Thread Yinghai Lu
Now sort_resources() and pdev_sort_resources() all have sorting code. As we are going to call sort_resources() several places later for alt_size support, so choose to remove related code in pdev_sort_resources(). Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 22 +++---

[PATCH v6 13/53] PCI: Reuse res_to_dev_res() in reassign_resources_sorted()

2015-09-30 Thread Yinghai Lu
Now res_to_dev_res() does not print out debug message anymore, so we can reuse it in reassign_resource_sorted() without confusing printout. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/pci/setup-bus.

[PATCH v6 14/53] PCI: Use correct align for optional only resources during sorting

2015-09-30 Thread Yinghai Lu
During sorting before assign, we only put resource with non-zero align in the sorted list, so for optional resources that required size is 0 and only have optional parts, we need to have correct align. While treating SRIOV as optional resources, we always read alignment for SRIOV bars every time,

[PATCH v6 22/53] PCI: Add debug printout during releasing partial assigned resources

2015-09-30 Thread Yinghai Lu
We try to assign required+optional at first, and we only accept the result if all resources get allocated. Otherwise will release assigned in the list, and try to assign required and expand to optional. We have to do that to make sure any required has priority over any optional. When that happens

[PATCH v6 07/53] PCI: Set resource to FIXED for LSI devices

2015-09-30 Thread Yinghai Lu
LSI HBA firmware stop responding pci read from host if pci core ever change pci device BAR values. Set their resources to FIXED, so will allow realloc to skip them. Reported-by: Paul Johnson Suggested-by: Bjorn Helgaas Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=92351 Signed-off-by: Y

[PATCH v6 28/53] PCI: Move comment to pci_need_to_release()

2015-09-30 Thread Yinghai Lu
Move comment from caller to pci_need_to_release(), as we will have one new caller for alt_size support. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/se

[PATCH v6 08/53] PCI: Separate realloc list checking after allocation

2015-09-30 Thread Yinghai Lu
We check the realloc list, as list must be empty after allocation. Separate the realloc list checking to another function. Add checking that is missed in acpiphp driver. -v2: change to WARN_ON addording to Rafael. Signed-off-by: Yinghai Lu Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: linux-a...

[PATCH v6 29/53] PCI: Separate required+optional assigning to another function

2015-09-30 Thread Yinghai Lu
__assign_resources_sorted() is getting too big if we put alt_size support into it. Split out required+optional assigning code to another function. Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 47 +++ 1 file changed, 27 insertions(+), 20 del

[PATCH v6 06/53] PCI: Claim fixed resource during remove/rescan path

2015-09-30 Thread Yinghai Lu
During driver loading kernel will check if resources get reserved. so we need to make sure resources get reserved before pci_bus_add(). On remove/rescan path, we will leave those fixed resource not reserved. In that path, We don't call pcibios_resource_survery() before pci_assign_unassigned_bus_re

[PATCH v6 03/53] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-09-30 Thread Yinghai Lu
For device resource PREF bit setting under bridge 64-bit pref resource, we need to make sure only set PREF for 64bit resource, so set IORESOUCE_MEM_64 for 64bit resource during of device resource flags parsing. Link: https://bugzilla.kernel.org/show_bug.cgi?id=96261 Link: https://bugzilla.kernel.o

Re: [PATCH] regulator: core: Handle probe deferral from DT when resolving supplies

2015-09-30 Thread Sascha Hauer
On Wed, Sep 30, 2015 at 08:30:52PM +0100, Mark Brown wrote: > When resolving regulator-regulator supplies we ignore probe deferral > returns from regulator_dev_lookup() (such as are generated for DT when > we can see a supply is registered) and just fall back to the dummy > regulator if there are f

[GIT PULL] clk: mediatek: New clocks support and fixes

2015-09-30 Thread James Liao
This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1] and me [2], including clock support for subsystems, GPT and some minor fixes. [1] https://patchwork.kernel.org/patch/6777041/ [2] https://lkml.org/lkml/2015/8/10/194

RE: [PATCH 1/1] staging: ion: Fix error handling in ion_buffer_create

2015-09-30 Thread PINTU KUMAR
> -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Wednesday, September 30, 2015 11:42 PM > To: Rohit kumar; gre...@linuxfoundation.org; a...@android.com; > riandr...@android.com; dan.carpen...@oracle.com; > sumit.sem...@linaro.org; mitch...@codeaurora.org; akpm@

Re: [PATCH v6 1/7] perf tools: Add 'perf-config' command

2015-09-30 Thread Taeung Song
Hi, Arnaldo Thanks for your review > On Sep 28, 2015, at 11:01 PM, Arnaldo Carvalho de Melo > wrote: > > Em Wed, Sep 23, 2015 at 03:57:01PM +0900, Taeung Song escreveu: >> The perf configuration file contains many variables which can make >> the perf command's action more effective. >> But lo

[RESEND] drm/exynos: Staticize local function in exynos_drm_gem.c

2015-09-30 Thread Krzysztof Kozlowski
The exynos_drm_gem_mmap_buffer() is not used outside so make it static. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_

Re: [PATCH] coccinelle: misc: remove "complex return code" warnings

2015-09-30 Thread Julia Lawall
On Wed, 30 Sep 2015, Johan Hovold wrote: > This effectively reverts 932058a5d5f9 ("coccinelle: misc: semantic patch > to delete overly complex return code processing"). > > There can be both symmetry and readability reasons for not wanting to do > the final function call as part of the return s

Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-09-30 Thread kbuild test robot
Hi Bjorn, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: arm-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/ma

Re: [PATCH] irqchip: renesas-intc-irqpin: r8a7778 IRLM setup support

2015-09-30 Thread Simon Horman
On Wed, Sep 30, 2015 at 12:03:07PM +0200, Geert Uytterhoeven wrote: > From: Ulrich Hecht > > Works the same as on r8a7779. > > Signed-off-by: Ulrich Hecht > Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[UVC][4.x][USB] Logitech QuickCam 9000 - Stability problems device disconnects/fails to reset

2015-09-30 Thread Shawn Starr
Hello kernel devs, I've been noticing stability problems with my USB webcam, it used to be just bogus volume warning notice but now I have to unplug/plugin, unplug and sometimes it works, sometimes not. It seems to work less now. It used to be lesser of a problem in eariler 4.x but now in 4.2/4

Re: [PATCH] wd719x: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-09-30 Thread Vaishali Thakkar
Ping! On Fri, Jul 17, 2015 at 11:16 AM, Vaishali Thakkar wrote: > Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use > struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with > the goal of getting rid of this macro completely. > > The Coccinelle semantic patch that performs this trans

Re: [PATCH] perf/x86/intel/uncore: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-09-30 Thread Vaishali Thakkar
Ping! On Fri, Jul 17, 2015 at 10:57 AM, Vaishali Thakkar wrote: > Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use > struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with > the goal of getting rid of this macro completely. > > The Coccinelle semantic patch that performs this trans

Re: Soft lockup issue in Linux 4.1.9

2015-09-30 Thread Andre Tomt
On 01. okt. 2015 00:37, Holger Hoffstätte wrote: On Wed, 30 Sep 2015 23:59:43 +0200, Olivier Bonvalet wrote: for information, I've just upgraded 6 servers from Linux 4.1.8 to Linux 4.1.9, and have some random soft lockup. If this can help : Congratulations! You're not the first one to get hit

Re: [PATCH v2 01/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-09-30 Thread Alim Akhtar
HI Rob, Thanks for your time. On 09/21/2015 08:03 PM, Rob Herring wrote: On 09/17/2015 04:45 AM, Alim Akhtar wrote: From: Seungwon Jeon This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Si

Re: [PATCH 01/10] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-09-30 Thread Alim Akhtar
Hi Kishon, On 09/18/2015 11:05 AM, Kishon Vijay Abraham I wrote: Hi, On Friday 21 August 2015 02:57 PM, Alim Akhtar wrote: From: Seungwon Jeon This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's beha

[PATCH 08/32] staging/lustre/ldlm: Remove unused ldlm_cancel_locks_for_exports()

2015-09-30 Thread green
From: Oleg Drokin This is only used on the server in case a client gets disconnected. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 2 - drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 50 -- 2 files changed, 52 deletions(-) diff

[PATCH 07/32] staging/lustre/ldlm: Remove unused interval tree bits

2015-09-30 Thread green
From: Oleg Drokin On client side interval-tree code operations are pretty basic, so get rid of the code that is only used on the server to figure out how much to extend the locks and such. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/interval_tree.h | 36 --- drivers/stag

[PATCH 13/32] staging/lustre/ldlm: Remove unused ldlm_init/fini_flock_export

2015-09-30 Thread green
From: Oleg Drokin And all supporting export infrastructure. There's no use for it all on client. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c| 102 - drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 2 - 2 files changed, 104 delet

  1   2   3   4   5   6   7   8   9   10   >