Re: [PATCHv2] musb_host: fix lockup on rxcsr_h_error

2016-04-27 Thread Maxim Uvarov
2016-04-28 0:28 GMT+03:00 Bin Liu : > Hi, > > On Wed, Apr 27, 2016 at 02:13:56PM -0500, Bin Liu wrote: >> Hi, >> >> On Wed, Apr 27, 2016 at 09:26:10PM +0300, Maxim Uvarov wrote: >> > 2016-04-27 18:46 GMT+03:00 Bin Liu : >> > > Hi, >> > > >> > > On Wed, Apr 27, 2016 at 09:51:58AM +0300, Max Uvarov w

Re: [PATCH 11/12] nvmem: mxs-ocotp: remove nvmem regmap dependency

2016-04-27 Thread Stefan Wahren
Hi Srinivas, Am 24.04.2016 um 21:28 schrieb Srinivas Kandagatla: > This patch moves to nvmem support in the driver to use callback > instead of regmap. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/nvmem/mxs-ocotp.c | 79 > +-- > 1 file chang

Re: [PATCH v2] lib: make sg_pool tristate instead of bool

2016-04-27 Thread Christoph Hellwig
On Wed, Apr 27, 2016 at 07:54:19PM -0400, Martin K. Petersen wrote: > Somebody please review... The patch is useless, we should just ignore it.

RE: [PATCH] usb: dwc3: usb/dwc3: fake dissconnect event when turn off pullup

2016-04-27 Thread Felipe Balbi
Hi, (we don't top-post on this forum ;-) "Du, Changbin" writes: > Hi, Balbi, > > The step to reproduce this issue is: > 1) connect device to a host and wait its enumeration. > 2) trigger software disconnect by calling function > usb_gadget_disconnect(), which finally call >dwc3_gadget_p

Re: [PATCH v2 4/9] of: Add bindings of hw throttle for soctherm

2016-04-27 Thread Wei Ni
On 2016年04月28日 07:30, Eduardo Valentin wrote: > From: Eduardo Valentin > To: Wei Ni > Cc: thierry.red...@gmail.com, robh...@kernel.org, rui.zh...@intel.com, > mlongnec...@nvidia.com, swar...@wwwdotorg.org, > mikko.perttu...@kapsi.fi, linux-te...@vger.kernel.org, > linux...@vge

Re: [PATCH v6 2/2] memory: atmel-ebi: add DT bindings documentation

2016-04-27 Thread Boris Brezillon
Hi Mark, On Wed, 27 Apr 2016 16:07:38 +0100 Mark Rutland wrote: > On Wed, Apr 27, 2016 at 04:35:54PM +0200, Boris Brezillon wrote: > > The EBI (External Bus Interface) is used to access external peripherals > > (NOR, SRAM, NAND, and other specific devices like ethernet controllers). > > Each dev

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-27 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > On Wednesday 27 April 2016 23:05:42 Felipe Balbi wrote: >> Arnd Bergmann writes: >> > On Wednesday 27 April 2016 13:59:13 Alan Stern wrote: >> >> On Wed, 27 Apr 2016, Arnd Bergmann wrote: >> >> >> >> > I've looked at the usb HCD code now and see this: >> >> > >> >>

Re: [RFC PATCH V2 2/2] vhost: device IOTLB API

2016-04-27 Thread Jason Wang
On 04/27/2016 07:45 PM, Michael S. Tsirkin wrote: > On Fri, Mar 25, 2016 at 10:34:34AM +0800, Jason Wang wrote: >> This patch tries to implement an device IOTLB for vhost. This could be >> used with for co-operation with userspace(qemu) implementation of DMA >> remapping. >> >> The idea is simple

Re: [PATCH 4/4] thermal: bang-bang governor: act on lower trip boundary

2016-04-27 Thread Sascha Hauer
On Wed, Apr 27, 2016 at 02:54:26PM -0700, Eduardo Valentin wrote: > On Mon, Apr 25, 2016 at 11:02:47AM +0800, Caesar Wang wrote: > > From: Sascha Hauer > > > > With interrupt driven thermal zones we pass the lower and upper > > temperature on which shall be acted, so in the governor we have to ac

Re: [PATCH v2 2/3] ARM: dts: exynos: Define vqmmc for eMMC card on Odroid X/X2/U3

2016-04-27 Thread Javier Martinez Canillas
Hello Krzysztof, On Thu, Apr 28, 2016 at 1:50 AM, Krzysztof Kozlowski wrote: > On 04/27/2016 11:29 PM, Javier Martinez Canillas wrote: >> Hello Krzysztof, >> >> On 04/27/2016 10:00 AM, Krzysztof Kozlowski wrote: >>> The eMMC card vmmc-supply contained incorrectly two regulators: LDO20 >>> and buc

Re: [RFC PATCH V2 1/2] vhost: convert pre sorted vhost memory array to interval tree

2016-04-27 Thread Jason Wang
On 04/27/2016 07:30 PM, Michael S. Tsirkin wrote: > On Fri, Mar 25, 2016 at 10:34:33AM +0800, Jason Wang wrote: >> > Current pre-sorted memory region array has some limitations for future >> > device IOTLB conversion: >> > >> > 1) need extra work for adding and removing a single region, and it's

Re: [PATCH] vhost_net: stop polling socket during rx processing

2016-04-27 Thread Jason Wang
On 04/27/2016 07:28 PM, Michael S. Tsirkin wrote: > On Tue, Apr 26, 2016 at 03:35:53AM -0400, Jason Wang wrote: >> We don't stop polling socket during rx processing, this will lead >> unnecessary wakeups from under layer net devices (E.g >> sock_def_readable() form tun). Rx will be slowed down in

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-04-27 Thread Thomas Gleixner
On Wed, 27 Apr 2016, Lianwei Wang wrote: > Yes. In our project, there is a kernel driver which register a pm > notifier. On some conditions this pm notifier will return an error and > abort the suspend process. The counter will be unbalanced in case it > happened. So what? You wreckaged your drive

[PATCH] crypto: omap-des: Integrate with the crypto engine framework

2016-04-27 Thread Baolin
Since the crypto engine framework had been merged, thus this patch integrates with the newly added crypto engine framework to make the crypto hardware engine under utilized as each block needs to be processed before the crypto hardware can start working on the next block. The crypto engine framewo

linux-next: Tree for Apr 28

2016-04-27 Thread Stephen Rothwell
Hi all, Changes since 20160427: The drm tree gained a build failure for which I applied a merge fix patch. The tpmdd tree gained a build failure for which I added a fix patch. Non-merge commits (relative to Linus' tree): 6405 5791 files changed, 243537 insertions(+), 120066 dele

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-04-27 Thread Lianwei Wang
On Wed, Apr 27, 2016 at 3:17 AM, Thomas Gleixner wrote: > On Mon, 25 Apr 2016, Lianwei Wang wrote: >> On Mon, Apr 25, 2016 at 1:22 AM, Thomas Gleixner wrote: >> >> Anyway, from a product perspective way, if we don't want to restore >> >> the unbalanced counter to 0, then maybe a BUG_ON is more re

Re: [PATCH V5 4/4] gpio: tegra: Add support for gpio debounce

2016-04-27 Thread Alexandre Courbot
On Mon, Apr 25, 2016 at 7:38 PM, Laxman Dewangan wrote: > NVIDIA's Tegra210 support the HW debounce in the GPIO controller > for all its GPIO pins. > > Add support for setting debounce timing by implementing the > set_debounce callback of gpiochip. > > Signed-off-by: Laxman Dewangan > Reviewed-by

Re: [PATCH v6 04/10] regulator: fixed: add support for ACPI interface

2016-04-27 Thread Lu Baolu
Hi, On 04/27/2016 08:33 PM, Mark Brown wrote: > On Wed, Apr 27, 2016 at 09:54:10AM +0800, Lu Baolu wrote: > >> Please refer to Documentation/acpi/gpio-properties.txt. > That's not visibly what your driver is doing, that is also recommending > using a static name which is what I'm asking for. Yes,

Re: [PATCH trivial] scripts/prune-kernel: remove kdump images

2016-04-27 Thread Baoquan He
On 03/07/16 at 03:56pm, Xiong Zhou wrote: > Signed-off-by: Xiong Zhou > --- > scripts/prune-kernel | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/prune-kernel b/scripts/prune-kernel > index ab5034e..9c67be2 100755 > --- a/scripts/prune-kernel > +++ b/scripts/pru

Re: [PATCH v2 2/3] ARM: dts: exynos: Define vqmmc for eMMC card on Odroid X/X2/U3

2016-04-27 Thread Krzysztof Kozlowski
On 04/27/2016 11:29 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 04/27/2016 10:00 AM, Krzysztof Kozlowski wrote: >> The eMMC card vmmc-supply contained incorrectly two regulators: LDO20 >> and buck8. The second one is ignored. Additionally the buck8 is a vqmmc >> supply only on X

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

2016-04-27 Thread Stephen Rothwell
Hi Jarkko, After merging the tpmdd tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from /home/sfr/next/next/include/linux/rcupdate.h:38:0, from /home/sfr/next/next/include/linux/idr.h:18, from /home/sfr/next/next/include/l

Re: [Intel-gfx] [Announcement] 2016-Q1 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2016-04-27 Thread Jike Song
Hi all, We are pleased to announce another update of Intel GVT-g for Xen. Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics processors. A virtual GPU instance is maintained for each VM, with p

Re: [PATCH perf/core v5 11/15] perf probe: Accept %sdt and %cached event name

2016-04-27 Thread Namhyung Kim
On Thu, Apr 28, 2016 at 03:38:49AM +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu > > To improbe usability, support %[PROVIDER:]SDTEVENT format to > add new probes on SDT and cached events. > > e.g. > > # perf probe -x /lib/libc-2.17.so %lll_lock_wait_private > Added new eve

Re: [PATCH v2 2/2] phy: Group vendor specific phy drivers

2016-04-27 Thread Vivek Gautam
Hi Kishon, On Thu, Apr 28, 2016 at 10:28 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 26 April 2016 11:36 AM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Wed, Apr 6, 2016 at 7:37 PM, Vivek Gautam >> wrote: >>> Adding vendor specific directories in phy to group >>> phy drivers under

Re: [LKP] [lkp] [mm, oom] faad2185f4: vm-scalability.throughput -11.8% regression

2016-04-27 Thread Aaron Lu
On Wed, Apr 27, 2016 at 11:17:19AM +0200, Michal Hocko wrote: > On Wed 27-04-16 16:44:31, Huang, Ying wrote: > > Michal Hocko writes: > > > > > On Wed 27-04-16 16:20:43, Huang, Ying wrote: > > >> Michal Hocko writes: > > >> > > >> > On Wed 27-04-16 11:15:56, kernel test robot wrote: > > >> >> F

Re: [PATCH v2 2/2] phy: Group vendor specific phy drivers

2016-04-27 Thread Kishon Vijay Abraham I
Hi, On Tuesday 26 April 2016 11:36 AM, Vivek Gautam wrote: > Hi Kishon, > > > On Wed, Apr 6, 2016 at 7:37 PM, Vivek Gautam wrote: >> Adding vendor specific directories in phy to group >> phy drivers under their respective vendor umbrella. >> >> Also updated the MAINTAINERS file to reflect the c

Re: [PATCH v11 04/60] sparc/PCI: Use correct offset for bus address to resource

2016-04-27 Thread Yinghai Lu
On Fri, Apr 22, 2016 at 1:49 PM, Bjorn Helgaas wrote: > [+cc Ben, Michael] > I'm kind of confused here. There are two ways to mmap PCI BARs: > > /proc/bus/pci/00/02.0 (proc_bus_pci_mmap()): > all BARs in one file; MEM/IO determined by ioctl() > mmap offset is a CPU physical address in t

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Vineet Gupta
On Wednesday 27 April 2016 08:43 PM, Lada Trimasova wrote: > On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: > > On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: > I think what we have now is sufficient - but u seem to want a prettier > failure output. > > Anyhow, this print is com

Re: [PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-27 Thread Vineet Gupta
On Wednesday 27 April 2016 08:05 PM, Alexey Brodkin wrote: > Allocation of a frame buffer memory in a special memory region > allows bypassing of so-called IO Coherency aperture > which is typically set as a range 0x8z-0xAz. > > I.e. all data traffic to PGU bypasses IO Coherency block > and saves

RFC tips-for-maintainers.txt (was Re: [GIT PULL] platform-drivers-x86 for 4.6-3)

2016-04-27 Thread Michael Ellerman
On Wed, 2016-04-27 at 09:57 -0700, Darren Hart wrote: > On Wed, Apr 27, 2016 at 09:08:01AM -0700, Linus Torvalds wrote: > > On Tue, Apr 26, 2016 at 10:02 PM, Darren Hart wrote: > > > > > > Found myself not wanting to send a one patch pull request, but not > > > wanting to > > > wait until RC6 and

Re: [PATCH] mm/zswap: use workqueue to destroy pool

2016-04-27 Thread Sergey Senozhatsky
On (04/28/16 10:40), Sergey Senozhatsky wrote: [..] > the bigger issue here (and I was thinking at some point of fixing it, > but then I grepped to see how many API users are in there, and I gave > up) is that it seems we have no way to check if the dir exists in debugfs. well, unless we want to d

Re: [PATCHSET v5] Make background writeback great again for the first time

2016-04-27 Thread xiakaixu
于 2016/4/28 4:59, Jens Axboe 写道: > On Wed, Apr 27 2016, Jens Axboe wrote: >> On Wed, Apr 27 2016, Jens Axboe wrote: >>> On 04/27/2016 12:01 PM, Jan Kara wrote: Hi, On Tue 26-04-16 09:55:23, Jens Axboe wrote: > Since the dawn of time, our background buffered writeback has sucked.

[PATCH v2 2/2] usb: misc: usbtest: fix error of urb allocation

2016-04-27 Thread Chunfeng Yun
urb allocation will fail when usbtest_alloc_urb() tries to allocate zero length buffer, but it doesn't need it in fact, so just skips buffer allocation in the case. Signed-off-by: Chunfeng Yun --- drivers/usb/misc/usbtest.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/mi

[PATCH v2 1/2] usb: core: buffer: avoid NULL pointer dereferrence

2016-04-27 Thread Chunfeng Yun
NULL pointer dereferrence will happen when class driver wants to allocate zero length buffer and pool_max[0] can't be used, so simply returns NULL in the case. Signed-off-by: Chunfeng Yun --- drivers/usb/core/buffer.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/buf

Re: [PATCH 7/8] wbt: add general throttling mechanism

2016-04-27 Thread xiakaixu
于 2016/4/27 23:21, Jens Axboe 写道: > On 04/27/2016 06:06 AM, xiakaixu wrote: >>> +void __wbt_done(struct rq_wb *rwb) >>> +{ >>> +int inflight, limit = rwb->wb_normal; >>> + >>> +/* >>> + * If the device does write back caching, drop further down >>> + * before we wake people up. >>>

Re: [PATCH V4] audit: add tty field to LOGIN event

2016-04-27 Thread Peter Hurley
On 04/27/2016 06:31 PM, Richard Guy Briggs wrote: > On 16/04/22, Peter Hurley wrote: >> On 04/21/2016 11:14 AM, Richard Guy Briggs wrote: >>> The tty field was missing from AUDIT_LOGIN events. >>> >>> Refactor code to create a new function audit_get_tty(), using it to >>> replace the call in audit_

Re: [PATCHv2 4/7] Documentation: dt: socfpga: Add Arria10 Ethernet binding

2016-04-27 Thread Rob Herring
On Mon, Apr 25, 2016 at 12:52:45PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the device tree bindings needed to support the Altera Ethernet > FIFO buffers on the Arria10 chip. > > Signed-off-by: Thor Thayer > --- > v2 No Change > --- > .../bindings/arm/altera/soc

Re: [PATCH perf/core v5 05/15] perf probe: Use cache entry if possible

2016-04-27 Thread Namhyung Kim
On Thu, Apr 28, 2016 at 03:37:52AM +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu > > Before analyzing debuginfo, try to find a corresponding entry > from probe cache always. This does not depend on --cache, > the --cache enables to store/update cache, but looking up > the cache is alway

Re: [PATCH v2 1/3] dt/bindings: display: Add DT bindings for Mali Display Processors.

2016-04-27 Thread Rob Herring
On Mon, Apr 25, 2016 at 03:19:22PM +0100, Liviu Dudau wrote: > Add DT bindings documentation for the Mali Display Processor. The bindings > describe the Mali DP500, DP550 and DP650 processors from ARM Ltd. > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar G

Re: [PATCH v4 04/11] drm: sun4i: Add DT bindings documentation

2016-04-27 Thread Rob Herring
On Mon, Apr 25, 2016 at 03:22:45PM +0200, Maxime Ripard wrote: > The display pipeline of the Allwinner A10 is involving several loosely > coupled components. > > Add a documentation for the bindings. > > Signed-off-by: Maxime Ripard > --- > .../bindings/display/sunxi/sun4i-drm.txt | 2

Re: [PATCH perf/core v5 04/15] perf probe: Add --cache option to cache the probe definitions

2016-04-27 Thread Namhyung Kim
On Thu, Apr 28, 2016 at 03:37:42AM +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu > > Add --cache option to cache the probe definitions. This > just saves the result of the dwarf analysis to probe cache. > > Signed-off-by: Masami Hiramatsu > Signed-off-by: Masami Hiramatsu > --- > Ch

RE: [PATCH v2 4/6] ACPI / osi: Fix default _OSI(Darwin) support

2016-04-27 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Subject: Re: [PATCH v2 4/6] ACPI / osi: Fix default _OSI(Darwin) support > > On Wednesday, April 27, 2016 09:45:21 AM Chen, Yu C wrote: > > Hi Lv, > > > > > From: Zheng, Lv >

Re: [PATCH v2] cpufreq: st: enable selective initialization based on the platform

2016-04-27 Thread Viresh Kumar
On 27-04-16, 17:18, Sudeep Holla wrote: > The sti-cpufreq does unconditional registration of the cpufreq-dt driver > which causes issue on an multi-platform build. For example, on Vexpress > TC2 platform, we get the following error on boot: > > cpu cpu0: OPP-v2 not supported > cpu cpu0: Not doing

Re: [PATCH] cpufreq: governor: Change confusing struct field and variable names

2016-04-27 Thread Viresh Kumar
On 28-04-16, 01:19, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The name of the prev_cpu_wall field in struct cpu_dbs_info is > confusing, because it doesn't represent wall time, but the previous > update time as returned by get_cpu_idle_time() (that may be the > current value of jiffi

Re: [PATCH perf/core v5 04/15] perf probe: Add --cache option to cache the probe definitions

2016-04-27 Thread Namhyung Kim
On Thu, Apr 28, 2016 at 03:37:42AM +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu > > Add --cache option to cache the probe definitions. This > just saves the result of the dwarf analysis to probe cache. > > Signed-off-by: Masami Hiramatsu > Signed-off-by: Masami Hiramatsu > --- > Ch

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-27 Thread Peter Chen
On Wed, Apr 27, 2016 at 01:59:44PM +0300, Roger Quadros wrote: > Hi, > > On 27/04/16 06:15, Peter Chen wrote: > > On Tue, Apr 26, 2016 at 04:21:07PM +0800, Peter Chen wrote: > >> On Tue, Apr 26, 2016 at 07:00:22AM +, Jun Li wrote: > >>> Hi > >>> > -Original Message- > From: P

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

2016-04-27 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/i915/intel_ddi.c: In function 'intel_prepare_ddi_buffer': drivers/gpu/drm/i915/intel_ddi.c:447:15: error: 'struct drm_i915_private' has no member named 'edp_low_vswing' if (de

Re: [PATCH perf/core v5 02/15] perf-buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildid

2016-04-27 Thread Masami Hiramatsu
On Wed, 27 Apr 2016 18:12:32 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 28, 2016 at 03:37:23AM +0900, Masami Hiramatsu escreveu: > > From: Masami Hiramatsu > > > > Use path/to/bin/buildid/elf instead of path/to/bin/buildid > > to store corresponding elf binary. > > This also stores vds

Re: [PATCH perf/core v5 02/15] perf-buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildid

2016-04-27 Thread Masami Hiramatsu
On Wed, 27 Apr 2016 18:23:50 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 28, 2016 at 03:37:23AM +0900, Masami Hiramatsu escreveu: > > From: Masami Hiramatsu > > > > Use path/to/bin/buildid/elf instead of path/to/bin/buildid > > to store corresponding elf binary. > > This also stores vds

Re: powerpc: wire up preadv2 and pwritev2 syscalls

2016-04-27 Thread Michael Ellerman
On Tue, 2016-19-04 at 12:23:36 UTC, Rui Salvaterra wrote: > Wire up preadv2/pwritev2 in the same way as preadv/pwritev. Fixes two > build warnings on ppc64. > > Signed-off-by: Rui Salvaterra Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d701cca6744fe0d67c86346dcf cheers

Re: [PATCH v2] livepatch: Add some basic LivePatch documentation

2016-04-27 Thread Balbir Singh
On 28/04/16 06:08, Jiri Kosina wrote: > On Wed, 27 Apr 2016, Jiri Kosina wrote: > >> I've incorporated most of the feedback (*) and pushed out to >> livepatching.git#for-4.7/livepatching-doc so everybody please send any >> followup documentation patches on top of that branch. > > (*) Balbir,

[PATCH net v3 5/5] drivers: net: cpsw: use of_phy_connect() in fixed-link case

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin If a fixed-link DT subnode is used, the phy_device was looked up so that a PHY ID string could be constructed and passed to phy_connect(). This is not necessary, as the device_node can be passed directly to of_phy_connect() instead. This reuses the same codepath as if the phy-

[PATCH net v3 4/5] dt: cpsw: phy-handle, phy_id, and fixed-link are mutually exclusive

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin The phy-handle, phy_id, and fixed-link properties are mutually exclusive, and only one need be specified. Make this clear in the binding doc. Also mark the phy_id property as deprecated, as phy-handle should be used instead. Signed-off-by: David Rivshin --- Changes since v

Re: [BUG] x86/efi: MMRs no longer properly mapped after switch to isolated page table

2016-04-27 Thread Alex Thorlton
On Thu, Apr 28, 2016 at 12:51:22AM +0200, Borislav Petkov wrote: > On Wed, Apr 27, 2016 at 10:41:32AM -0500, Alex Thorlton wrote: > > A bit of digging will tell us that this is the failing line: > > > > m_n_config.v = uv_read_local_mmr(UVH_RH_GAM_CONFIG_MMR ); > > That looks like > > All code >

[PATCH 05/12] staging: lustre: obd: cleanup client import if client_obd_setup fails

2016-04-27 Thread James Simmons
From: Swapnil Pimpale client_obd_setup() allocates an obd_import which should be cleaned up if there is any failure afterwards in callers of client_obd_setup(). This patch fixes the bug in osc_setup(), mgc_setup(), mdc_setup() and lwp_setup(). The fix is to call obd_cleanup_client_import() before

[PATCH 02/12] staging: lustre: obd: add newline for dumped config record

2016-04-27 Thread James Simmons
From: Amir Shehata The function class_config_parse_rec() parses the llog record and places it into a buffer to be returned. That buffer needs to end with a newline which is currently missing. Signed-off-by: Amir Shehata Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2149 Reviewed-on: http:

[PATCH 06/12] staging: lustre: fid: add a connect flag for open by FID

2016-04-27 Thread James Simmons
From: Lai Siyao Add OBD_CONNECT_OPEN_BY_FID for open by FID, if MDS supports this, for open by FID, it won't retry with name if object with the FID doesn't exist; while if client supports this, client won't pack name in open request if FID is known. Signed-off-by: Lai Siyao Intel-bug-id: https:

Re: [PATCH] mm/zswap: use workqueue to destroy pool

2016-04-27 Thread Sergey Senozhatsky
Hello Dan, On (04/27/16 13:19), Dan Streetman wrote: [..] > > so in general the patch look good to me. > > > > it's either I didn't have enough coffee yet (which is true) or > > _IN THEORY_ it creates a tiny race condition; which is hard (and > > unlikely) to hit, but still. and the problem being

[PATCH 10/12] staging: lustre: llog: we don't need vfsmount

2016-04-27 Thread James Simmons
From: Lai Siyao The patch for LU-3286 removed vfsmount instances used on the server side. Since this is server side only we can remove it from the upstream client. Signed-off-by: Lai Siyao Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3286 Reviewed-on: http://review.whamcloud.com/8286 Rev

[PATCH net v3 3/5] drivers: net: cpsw: don't ignore phy-mode if phy-handle is used

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin The phy-mode emac property was only being processed in the phy_id or fixed-link cases. However if phy-handle was specified instead, an error message would complain about the lack of phy_id or fixed-link, and then jump past the of_get_phy_mode(). This would result in the PHY mo

[PATCH 08/12] staging: lustre: llite: debugging for ll_file_open LASSERT

2016-04-27 Thread James Simmons
From: Andreas Dilger Add debugging for LASSERTF(it_disposition(it, DISP_ENQ_OPEN_REF) in ll_file_open(), since this is a rarely hit failure under racer, and it would be useful to get more information if this is hit again. Print the full intent disposition, as well as the status, in case Oleg's e

[PATCH 11/12] staging: lustre: ptlrpc: initialize request session early

2016-04-27 Thread James Simmons
From: Mikhail Pershin Initialize request session early to make it available in high-priority handlers Signed-off-by: Mikhail Pershin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3467 Reviewed-on: http://review.whamcloud.com/7350 Reviewed-by: Alex Zhuravlev Reviewed-by: Fan Yong Reviewe

[PATCH 00/12] staging: lustre: add patches from lustre 2.5.52 version

2016-04-27 Thread James Simmons
Assortment of bug fixes that are present in the 2.5.52 version of lustre that is missing in the upstream client. Amir Shehata (2): staging: lustre: obd: remove newline from LCONSOLE string staging: lustre: obd: add newline for dumped config record Andreas Dilger (1): staging: lustre: llite:

[PATCH 12/12] staging: lustre: llite: fixup return value ll_direct_IO_26

2016-04-27 Thread James Simmons
From: Dmitry Eremin Return the correct values from ll_direct_IO_26. Signed-off-by: Dmitry Eremin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4069 Reviewed-on: http://review.whamcloud.com/8080 Reviewed-by: John L. Hammond Reviewed-by: James Simmons Reviewed-by: Oleg Drokin Signed-Off-

[PATCH 07/12] staging: lustre: libcfs: Fix NUMA emulated mode

2016-04-27 Thread James Simmons
From: Andriy Skulysh Kernel commit c1c3443c9c5e9be92641029ed229a41563e44506 assigns all allowed cpus to emulated node. End cpt initialization loop when all CPUs are assigned. Signed-off-by: Andriy Skulysh Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3992 Reviewed-on: http://review.whamc

[PATCH 04/12] staging: lustre: ldlm: check all errors during ldlm_debugfs_setup()

2016-04-27 Thread James Simmons
From: Dmitry Eremin Fix ignoring errors from ldebugfs_add_vars() function. Signed-off-by: Dmitry Eremin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3885 Reviewed-on: http://review.whamcloud.com/8115 Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilger Signed-off-by: James Simmons

[PATCH 03/12] staging: lustre: ptlrpc: use unified handler for OST requests

2016-04-27 Thread James Simmons
From: Mikhail Pershin Switch OST/OFD request processing to the unified request handle. Signed-off-by: Mikhail Pershin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3467 Reviewed-on: http://review.whamcloud.com/7130 Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Signed-off-by: J

[PATCH 01/12] staging: lustre: obd: remove newline from LCONSOLE string

2016-04-27 Thread James Simmons
From: Amir Shehata Remove the newline from the LCONSOLE debug macro in the function class_config_dump_handler(). Signed-off-by: Amir Shehata Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2149 Reviewed-on: http://review.whamcloud.com/4254 Reviewed-by: Alex Zhuravlev Reviewed-by: Andreas D

[PATCH 09/12] staging: lustre: llite: check ret of ll_prep_md_op_data in ll_dir_filler

2016-04-27 Thread James Simmons
From: Swapnil Pimpale ll_dir_filler() now checks the returned pointer from ll_prep_md_op_data() using IS_ERR() Signed-off-by: Swapnil Pimpale Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4082 Reviewed-on: http://review.whamcloud.com/8073 Reviewed-by: Dmitry Eremin Reviewed-by: John L. H

Re: [PATCH v14 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-04-27 Thread Jitao Shi
On Thu, 2016-04-14 at 16:28 +0200, Thierry Reding wrote: > On Sun, Apr 03, 2016 at 12:20:45PM +0800, Jitao Shi wrote: > [...] > > diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c > > b/drivers/gpu/drm/bridge/parade-ps8640.c > > new file mode 100644 > > index 000..87f8bc7 > > --- /dev/null >

[PATCH net v3 2/5] drivers: net: cpsw: fix segfault in case of bad phy-handle

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin If an emac node has a phy-handle property that points to something which is not a phy, then a segmentation fault will occur when the interface is brought up. This is because while phy_connect() will return ERR_PTR() on failure, of_phy_connect() will return NULL. The common err

Re: [PATCH V4] audit: add tty field to LOGIN event

2016-04-27 Thread Richard Guy Briggs
On 16/04/22, Peter Hurley wrote: > On 04/21/2016 11:14 AM, Richard Guy Briggs wrote: > > The tty field was missing from AUDIT_LOGIN events. > > > > Refactor code to create a new function audit_get_tty(), using it to > > replace the call in audit_log_task_info() and to add it to > > audit_log_set_l

[PATCH net v3 1/5] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field should be in cpsw_slave_data rather than cpsw_priv. This wou

Re: [PATCH perf/core v5 02/15] perf-buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildid

2016-04-27 Thread Namhyung Kim
Hi Masami, On Thu, Apr 28, 2016 at 03:37:23AM +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu > > Use path/to/bin/buildid/elf instead of path/to/bin/buildid > to store corresponding elf binary. > This also stores vdso in buildid/vdso, kallsyms in buildid/kallsyms. > > Note that the exis

我的主页在

2016-04-27 Thread 我的主页在
你的朋友给你分享了一个支付宝红包口令:加群有红包赶快打开支付宝APP,输入红包口令,抢红包,手慢无。

Re: [PATCH] mptsas: fix checks for dma mapping errors

2016-04-27 Thread Martin K. Petersen
> "Alexey" == Alexey Khoroshilov writes: Alexey> mptsas_smp_handler() checks for dma mapping errors by comparison Alexey> returned address with zero, while pci_dma_mapping_error() should Alexey> be used. Broadcom folks, please review! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 01/21] X86_64, UV: Add Initial UV4 definitions

2016-04-27 Thread Mike Travis
Add preliminary UV4 defines. Signed-off-by: Mike Travis Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h | 64 +++--- arch/x86/include/asm/uv/uv_mmrs.h | 22 + 2 files changed, 62 insertions(+), 24 deletion

[PATCH 02/21] X86_64, UV: Add UV Architecture Defines

2016-04-27 Thread Mike Travis
Add defines to control which UV architectures are supported, and modify the 'if (is_uvX_*)' functions to return constant 0 for those not supported. This will help optimize code paths when support for specific UV arches is removed. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-b

[PATCH 07/21] X86_64, UV: Remove Support for UV1

2016-04-27 Thread Mike Travis
The UV1 architecture is no longer being supported in future Linux kernels, so remove UV1 specific code. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h |9 -- arch/x86/kernel/apic/x2apic

[PATCH 15/21] X86_64, UV: Add UV4 addressing discovery function

2016-04-27 Thread Mike Travis
UV4 requires early system wide addressing values. This involves the use of the CPUID instruction to obtain these values. The current function (detect_extended_topology()) in the kernel has been copied and streamlined, with the limitation that only CPU's used by UV architectures are supported. Si

[PATCH 14/21] X86_64, UV: Fold blade info into per node hub info structs

2016-04-27 Thread Mike Travis
Migrate references from the blade info structs to the per node hub info structs. This phases out the allocation of the list of per blade info structs on node 0, in favor of a per node hub info struct allocated on the node's local memory. There are also some minor cosemetic changes in the comments

[PATCH 04/21] X86_64, UV: Add UV MMR Illegal Access Function

2016-04-27 Thread Mike Travis
This new function is generated by the UV MMR generation script to identify MMR registers and fields that are not defined for a specific UV architecture. With this switch, the immediate panic can be replaced with a message and a bad return value allowing either hardware or the emulator to diagnose t

[PATCH 20/21] X86_64, UV: Remove Obsolete GRU MMR address translation

2016-04-27 Thread Mike Travis
From: Dimitri Sivanich Use no-op messages in place of cross-partition interrupts when nacking a put message in the GRU. This allows us to remove MMR's as a destination from the GRU driver. Signed-off-by: Dimitri Sivanich Signed-off-by: Mike Travis Tested-by: John Estabrook Tested-by: Gary Kr

[PATCH 00/21] X86_64, UV: Update kernel for SGI UV4 support

2016-04-27 Thread Mike Travis
This patch set primarily updates the Linux kernel to support the next generation SGI Ultraviolet system, UV4. This architecture change is a larger incremental change than previous UV updates because of a major change to the addressing scheme. Previous UV architectures used a fixed address width

[PATCH v3 2/3] fs: direct-io: call .bi_end_io via bio_endio()

2016-04-27 Thread Ming Lei
bio_endio() is the graceful way to complete one bio. Signed-off-by: Ming Lei --- fs/direct-io.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index a8dd60a..0a35e51 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -350,15 +350,10 @@

Re: [PATCH 0/5] mpt3sas: driver update for Phase12

2016-04-27 Thread Martin K. Petersen
> "Chaitra" == Chaitra P B writes: > Here is the change list: > * Updated MPI version and MPI header files. > * Handle active cable exception event for Intruder/Cutlass HBAs. > * Use scsi_prot_ref_tag()API to fill reference tag field in the CDB. > * Set maximum transfer length per IO on RAID

[PATCH v3 3/3] block: avoid to call .bi_end_io() recursively

2016-04-27 Thread Ming Lei
There were reports about heavy stack use by recursive calling .bi_end_io()([1][2][3]). For example, more than 16K stack is consumed in a single bio complete path[3], and in [2] stack overflow can be triggered if 20 nested dm-crypt is used. Also patches[1] [2] [3] were posted for addressing the iss

[PATCH net v3 0/5] drivers: net: cpsw: phy-handle fixes

2016-04-27 Thread David Rivshin (Allworx)
From: David Rivshin This series fixes a number of related issues around using phy-handle properties in cpsw emac nodes. Patch 1 fixes a bug if more than one slave is used, and either slave uses the phy-handle property in the devicetree. Patch 2 fixes a NULL pointer dereference which can occur i

Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl

2016-04-27 Thread Sowmini Varadhan
On (04/28/16 09:01), Herbert Xu wrote: > Subject: Re: [PATCH v2] lib/mpi: Fix kernel unaligned access in > mpi_write_to_sgl > > Please cc linux-crypto. Just bounced the message to linux-crypto as well. I think get_maintainers.pl might also need to be updated to generate this automatically. Th

[PATCH v3 0/3] block: avoid to call .bi_end_io() recursively

2016-04-27 Thread Ming Lei
Hi, The 1st patch handles bio error in dio_end_io() which is only used by btrfs. The 2nd patch uses bio_endio() to call .bi_end_io() in dio_end_io(). The 3rd patch avoids to call .bi_end_io recursively in complete path. xfstests(-g auto) is run over ext4, xfs and btrfs with this patchset and no

[PATCH v3 1/3] fs: direct-io: handle error in dio_end_io()

2016-04-27 Thread Ming Lei
If error is passed to dio_end_io(), it should have been dealt with. Unfortunately current code just ignores that silently. Only btrfs uses dio_end_io(). Signed-off-by: Ming Lei --- fs/direct-io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index 472037

[PATCH 10/21] X86_64, UV: Create per cpu info structs to replace per hub info structs

2016-04-27 Thread Mike Travis
The major portion of the hub info is common to all cpus on that hub. This is step one of moving the per cpu hub info to a per node hub info struct. This patch creates the small per cpu info struct that will contain only information specific to each CPU. Signed-off-by: Mike Travis Reviewed-by: Di

[PATCH 13/21] X86_64, UV: Allocate common per node hub info structs on local node

2016-04-27 Thread Mike Travis
Allocate and setup per node hub info structs. CPU 0/Node 0 hub info is statically allocated to be accessible early in system startup. The remaining hub info structs are allocated on the node's local memory, and shared among the CPU's on that node. This leaves the small amount of info unique to e

[PATCH 12/21] X86_64, UV: Move blade local processor ID to the per cpu info struct

2016-04-27 Thread Mike Travis
Move references to blade local processor ID to the new per cpu info structs. Create an access function that makes this move, and potential other moves opaque to callers of this function. Define a flag that indicates to callers in external GPL modules that this function replaces any local definitio

[PATCH 21/21] X86_64, UV: Fix incorrect nodes and pnodes for cpuless and memoryless nodes

2016-04-27 Thread Mike Travis
From: Dimitri Sivanich This patch fixes the problem of incorrect nodes and pnodes being returned when referring to nodes that either have no cpus (AKA "headless") or no memory. Signed-off-by: Dimitri Sivanich Signed-off-by: Mike Travis Tested-by: John Estabrook Tested-by: Gary Kroening ---

[PATCH 18/21] X86_64, UV: Build GAM reference tables

2016-04-27 Thread Mike Travis
An aspect of the UV4 system architecture changes involve changing the way sockets, nodes, and pnodes are translated between one another. Decode the information from the BIOS provided EFI system table to build the needed conversion tables. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich

[PATCH 16/21] X86_64, UV: Add obtaining GAM Range Table from UV BIOS

2016-04-27 Thread Mike Travis
UV4 uses a GAM (globally addressed memory) architecture that supports variable sized memory per node. This replaces the old "M" value (number of address bits per node) with a range table for conversions between addresses and physical node (pnode) id's. This table is obtained from UV BIOS via the

[PATCH 09/21] X86_64, UV: Update MMIOH setup function to work for both UV3 and UV4

2016-04-27 Thread Mike Travis
Since UV3 and UV4 MMIOH regions are setup the same, we can use a common function to setup both. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/kernel/apic/x2apic_uv_x.c |3 ++- 1 file changed, 2 insertions(+), 1 del

[PATCH 03/21] X86_64, UV: Add UV4 Specific Defines

2016-04-27 Thread Mike Travis
Add UV4 specific defines to determine if current system type is a UV4 system. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/kernel/apic/x2apic_uv_x.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-)

[PATCH 08/21] X86_64, UV: Clean up redunduncies after merge of UV4 MMR definitions

2016-04-27 Thread Mike Travis
Clean up any redundancies caused by new UV4 MMR definitions superseding any previously definitions local to functions. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Andrew Banman Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h

  1   2   3   4   5   6   7   8   9   10   >