Re: [PATCH 07/10] mm: base LRU balancing on an explicit cost model

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:33, Johannes Weiner wrote: > Currently, scan pressure between the anon and file LRU lists is > balanced based on a mixture of reclaim efficiency and a somewhat vague > notion of "value" of having certain pages in memory over others. That > concept of value is problematic,

Re: [PATCH v3] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-08 Thread Michael Ellerman
On Mon, 2016-06-06 at 16:46 +0200, Peter Zijlstra wrote: > On Mon, Jun 06, 2016 at 10:17:25PM +1000, Michael Ellerman wrote: > > On Mon, 2016-06-06 at 13:56 +0200, Peter Zijlstra wrote: > > > On Mon, Jun 06, 2016 at 09:42:20PM +1000, Michael Ellerman wrote: > > > > > > Why the move to in-line

Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-08 Thread Borislav Petkov
On Tue, Jun 07, 2016 at 05:51:52PM -0400, Jerome Glisse wrote: > Ok i don't have too much time to dig into r600 i assume that r700 breaks > the same way so could you verify that attached patch fix the issue for > you. Note that video decoding is likely broken for you after hibernation > but you

Re: [PATCH 4/4] mfd: db8500 stop passing around platform data

2016-06-08 Thread Linus Walleij
On Tue, May 10, 2016 at 4:02 PM, Arnd Bergmann wrote: > Except for the constant DB8500_PRCMU_FW_VERSION_OFFSET number, nothing > is ever passed through the platform data and used in a driver, so we > can simply stop passing it around. > > Signed-off-by: Arnd Bergmann

[PATCH v2 1/6] dt-bindings: add LG LP097QX1-SPA1 panel binding

2016-06-08 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v2: - Add Rob's acked for dt-bindings of LG LP097QX1-SPA1 panel

Re: [PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Parth Sane
I’m trying to fix line 224 but its simply not happening. Can you help me with this? Regards, Parth > On 08-Jun-2016, at 5:19 PM, Luis de Bethencourt > wrote: > > On 08/06/16 12:37, Parth Sane wrote: >> >>> On 08-Jun-2016, at 5:01 PM, Luis de Bethencourt

Re: [PATCH v9 03/14] usb: hcd.h: Add OTG to HCD interface

2016-06-08 Thread Roger Quadros
Hi, On 08/06/16 14:39, Sergei Shtylyov wrote: > Hello. > > On 6/8/2016 12:03 PM, Roger Quadros wrote: > >> The OTG core will use struct otg_hcd_ops to interface >> with the HCD controller. > >Host controller driver (HCD) controller? Maybe just HC? :-) OK. > >> The main purpose of this

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Wed, 2016-06-08 at 13:22 +0200, Matthias Brugger wrote: > > On 08/06/16 09:21, weiqing kong wrote: > > On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > >> > >> On 30/05/16 10:41, Weiqing Kong wrote: > >>> Use the mtk_pwm_data struction to define different registers > >>> and add

Re: [PATCH v9 12/14] usb: hcd: Adapt to OTG core

2016-06-08 Thread Roger Quadros
On 08/06/16 14:42, Sergei Shtylyov wrote: > On 6/8/2016 12:03 PM, Roger Quadros wrote: > >> Introduce usb_otg_add/remove_hcd() for use by host >> controllers that are part of OTG/dual-role port. >> >> Non Device tree platforms can use the otg_dev argument >> to specify the OTG controller device.

Re: [PATCH v9 12/14] usb: hcd: Adapt to OTG core

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 3:06 PM, Roger Quadros wrote: Introduce usb_otg_add/remove_hcd() for use by host controllers that are part of OTG/dual-role port. Non Device tree platforms can use the otg_dev argument to specify the OTG controller device. If otg_dev is NULL then the device tree node's

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Ingo Molnar
* Paolo Bonzini wrote: > > > On 04/06/2016 07:07, Andy Lutomirski wrote: > > On May 30, 2016 5:30 AM, "Paolo Bonzini" wrote: > >> > >> Thanks to all the work that was done by Andy Lutomirski and others, > >> enter_from_user_mode and

Re: [PATCH V8 7/9] acpi: Add generic MCFG table handling

2016-06-08 Thread Tomasz Nowicki
On 08.06.2016 03:56, Bjorn Helgaas wrote: On Mon, May 30, 2016 at 05:14:20PM +0200, Tomasz Nowicki wrote: In order to handle PCI config space regions properly in ACPI, new MCFG interface is defined which does sanity checks on MCFG table and keeps its root pointer. The user is able to lookup

[PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
Since add more warnings for inconsistent ops in cfg80211, the wireless core warns if a driver implements a cfg80211 callback but doesn't implements the inverse operation. The ath6kl driver implements a cfg80211 .get_antenna operation handler but doesn't have the inverse .set_antenna callback. So,

Re: [alsa-devel] [PATCH v4] ASoC: rockchip: Add machine driver for RK3399 GRU Boards

2016-06-08 Thread kbuild test robot
Hi, [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.7-rc2 next-20160608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Xing-Zheng/ASoC-rockchip-Add-machine-driver

[PATCH] arm64: defconfig: enable CONFIG_LOCALVERSION_AUTO

2016-06-08 Thread Masahiro Yamada
When CONFIG_LOCALVERSION_AUTO is disabled, the version string is just a tag name (or with a '+' appended if HEAD is not a tagged commit). During the development (and especially when git-bisecting), longer version string would be helpful to identify the commit we are running. This is a default y

Re: [PATCH] x86/efi: Auto enable EFI memmap on SGI UV systems

2016-06-08 Thread Matt Fleming
(Cc'ing people familiar with e820 map woes) On Thu, 02 Jun, at 03:50:35PM, Joseph Thelen wrote: > Currently, the EFI memory map entries are disabled by default and must > be enabled by passing the kernel boot option: > > add_efi_memmap > > The EFI memory map entries should be enabled on systems

[BUGFIX][PATCH v8 1/5] perf config: Handle the error about NULL at perf_config_set__delete()

2016-06-08 Thread Taeung Song
perf_config_set__delete() purge and free the config set that contains all config key-value pairs. But if the config set (i.e. 'set' variable at the function) is NULL, this is wrong so handle it. Cc: Alexander Shishkin Cc: Jiri Olsa Cc:

Re: [PATCH -v2 00/33] implement atomic_fetch_$op

2016-06-08 Thread Peter Zijlstra
On Thu, Jun 02, 2016 at 11:33:04AM +0200, Peter Zijlstra wrote: > On Thu, Jun 02, 2016 at 09:27:36AM +, Vineet Gupta wrote: > > What's ur merge plan - are u going to rebase/respin once more so I can push > > those > > updates to Linus for 4.7-rc2. Or you could carry those ARC patches in ur

Re: [PATCH] [efifb] Fix 16 color palette entry calculation

2016-06-08 Thread Matt Fleming
On Tue, 07 Jun, at 01:23:05PM, Peter Jones wrote: > > Looks right to me. > > Acked-By: Peter Jones Tomi, are you OK to take this one or would you like me to take it through the EFI tree?

Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

2016-06-08 Thread Matt Fleming
On Tue, 26 Apr, at 05:57:40PM, Tom Lendacky wrote: > The EFI tables are not encrypted and need to be accessed as such. Be sure > to memmap them without the encryption attribute set. For EFI support that > lives outside of the arch/x86 tree, create a routine that uses the __weak > attribute so that

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

2016-06-08 Thread Michael Ellerman
On Mon, 2016-06-06 at 14:27 +0530, Anshuman Khandual wrote: > On 06/03/2016 03:56 AM, Cyril Bur wrote: > > > > At the moment is is rather confusing since pt_regs is the always the 'live' > > state and theres a ckpt_regs that is the pt_regs for the checkpointed state. > > FPU/VMX/VSX is done

Re: [PATCH 2/2] mm: oom: deduplicate victim selection code for memcg and global oom

2016-06-08 Thread Tetsuo Handa
Michal Hocko wrote: > The victim selection code can be reduced because it is basically > shared between the two, only the iterator differs. But I guess that > can be eliminated by a simple helper. Thank you for CC: me. I like this clean up. > --- > include/linux/oom.h | 5 + >

[PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Parth Sane
Multiple parenthesis alignment warnings were thrown by checkpatch in ieee80211.c This patch effectively fixes that. Signed-off-by: Parth Sane --- drivers/staging/rtl8712/ieee80211.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-)

Re: [PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Luis de Bethencourt
On 08/06/16 12:27, Parth Sane wrote: > Multiple parenthesis alignment warnings were thrown by checkpatch in > ieee80211.c > This patch effectively fixes that. > > Signed-off-by: Parth Sane > > --- > drivers/staging/rtl8712/ieee80211.c | 25 - >

Re: [PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Parth Sane
> On 08-Jun-2016, at 5:01 PM, Luis de Bethencourt > wrote: > > On 08/06/16 12:27, Parth Sane wrote: >> Multiple parenthesis alignment warnings were thrown by checkpatch in >> ieee80211.c >> This patch effectively fixes that. >> >> Signed-off-by: Parth Sane

[PATCH] ARM: at91: debug: add default DEBUG_LL addresses

2016-06-08 Thread Alexandre Belloni
Add configuration options for the most commonly used UART physical and virtual addresses to ease the use of DEBUG_LL and earlyprintk. Signed-off-by: Alexandre Belloni --- arch/arm/Kconfig.debug | 58 ++ 1 file

Re: [RFC][PATCH 0/5] Functional dependencies between devices

2016-06-08 Thread Mark Brown
On Thu, Jan 14, 2016 at 02:52:11AM +0100, Rafael J. Wysocki wrote: > What follows is my prototype implementation of this. It took some time > to develop (much more than I was hoping for), but here it goes at last. Might be worth posting this outside the thread with CCs to people working on

Re: [PATCH 5/8] dmaengine: ste_dma40: Only calculate residue if txstate exists.

2016-06-08 Thread Linus Walleij
On Tue, Jun 7, 2016 at 7:38 PM, Peter Griffin wrote: > There is no point calculating the residue if there is > no txstate to store the value. > > Signed-off-by: Peter Griffin Acked-by: Linus Walleij Yours, Linus

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread kbuild test robot
Hi, [auto build test ERROR on ath6kl/ath-next] [also build test ERROR on v4.7-rc2 next-20160608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Prasun-Maiti/Add-set_antenna-callback-in-ath6kl

Re: [PATCH 3/8] dmaengine: coh901318: Only calculate residue if txstate exists.

2016-06-08 Thread Linus Walleij
On Tue, Jun 7, 2016 at 7:38 PM, Peter Griffin wrote: > There is no point in calculating the residue if there is no > txstate to store the value. > > Signed-off-by: Peter Griffin Acked-by: Linus Walleij Yours, Linus

Re: NVMe over Fabrics target implementation

2016-06-08 Thread Christoph Hellwig
On Tue, Jun 07, 2016 at 10:21:41PM -0700, Nicholas A. Bellinger wrote: > *) Extensible to multiple types of backend drivers. > > nvme-target needs a way to absorb new backend drivers, that > does not effect existing configfs group layout or attributes. > > Looking at the nvmet/configfs layout

Re: [PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel

2016-06-08 Thread Emil Velikov
Hi Yakir, On 8 June 2016 at 12:52, Yakir Yang wrote: > The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel > connected using eDP interfaces. > > Signed-off-by: Yakir Yang > --- > Changes in v2: None > > drivers/gpu/drm/panel/panel-simple.c

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 3:18 PM, joerg Reisenweber wrote: Tony, what do you think about that patch? Tony, PING Yeah I don't know, AFAIK we don't have a generic way to force MUSB to change mode without ID pin. If you have figured something generic for that which does not actually tinker with the PHY

[PATCH v8 3/5] perf config: Reimplement perf_config() using perf_config_set__iter()

2016-06-08 Thread Taeung Song
Many sub-commands use perf_config() so everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use the config set that already contains all config key-value pairs to avoid this

[PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-08 Thread Taeung Song
Lately util/config.h has been added but util/cache.h has declarations of functions and extern variable for config features. To manage codes about configuration at one spot, move them to util/config.h and util/cache.h include util/config.h Cc: Alexander Shishkin

[PATCH v8 5/5] perf config: Reimplement show_config() using perf_config_set__iter()

2016-06-08 Thread Taeung Song
Old show_config() directly use config set so there are many duplicated code with perf_config_set__iter(). So reimplement show_config() using perf_config() that use perf_config_set__iter() with config set that already contains all configs. Cc: Namhyung Kim Cc: Jiri Olsa

[PATCH v8 4/5] perf config: Use zfree() instead of free() at perf_config_set__delete()

2016-06-08 Thread Taeung Song
perf_config_set__delete() delete allocated the config set but the global variable 'config_set' is used all around. So purge and zfree by an address of the global variable , i.e. 'struct perf_config_set **' type instead of using local variable 'set' of which type is 'struct perf_config_set *'.

Re: [PATCH -v2 00/33] implement atomic_fetch_$op

2016-06-08 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Jun 02, 2016 at 11:33:04AM +0200, Peter Zijlstra wrote: > > On Thu, Jun 02, 2016 at 09:27:36AM +, Vineet Gupta wrote: > > > > What's ur merge plan - are u going to rebase/respin once more so I can > > > push those > > > updates to

RE: [PATCH 3/4] dell-wmi: Add information about other WMI event codes

2016-06-08 Thread Mario_Limonciello
> -Original Message- > From: Pali Rohár [mailto:pali.ro...@gmail.com] > Sent: Tuesday, June 7, 2016 6:00 PM > To: Gabriele Mazzotta ; Limonciello, Mario > > Cc: Matthew Garrett ; Darren Hart > ;

Re: [PATCH 2/2] workqueue:Fix affinity of an unbound worker of a node with 1 online CPU

2016-06-08 Thread Abdul Haleem
Hi Gautham, Thanks a lot for the fix. With your patches applied, 4.7.0-rc2 builds fine on ppc64le bare metal. Boot was successful with No call traces. Thanks for all your support ! Regard's Abdul On Tuesday 07 June 2016 08:44 PM, Gautham R. Shenoy wrote: With commit e9d867a67fd03ccc

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-08 Thread Jun Li
Hi, Baolu From: Lu Baolu [mailto:baolu...@linux.intel.com] Sent: Wednesday, June 08, 2016 1:11 PM To: Jun Li ; Felipe Balbi ; Roger Quadros ; Peter Chen Cc: Mathias Nyman ; Greg

[RESEND PATCH v9 15/22] IB/hns: Add PD operations support

2016-06-08 Thread Lijun Ou
This patch added the verbs to operate PD. It mainly includes the functions of allocating PD and deallocating PD. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

Re: [PATCH v3 1/6] watchdog: add set_pretimeout interface

2016-06-08 Thread Wolfram Sang
On Tue, Jun 07, 2016 at 08:38:42PM +0300, Vladimir Zapolskiy wrote: > From: Robin Gong > > Add set_pretimeout since our watchdog driver has those interfaces and > obviously, the new common watchdog framework didn't implement this > interface. > > Signed-off-by: Robin Gong

[RESEND PATCH v9 17/22] IB/hns: Add QP operations support

2016-06-08 Thread Lijun Ou
This patch was implementing for queue pair operations. QP Consists of a Send Work Queue and a Receive Work Queue. Send and receive queues are always created as a pair and remain that way throughout their lifetime. A Queue Pair is identified by its Queue Pair Number. QP operations as follows:

[RESEND PATCH v9 14/22] IB/hns: Add operations support for IB device and port

2016-06-08 Thread Lijun Ou
This patch mainly registered some relative verbs for the kernel. These operation functions will be called by user. For example: 1. modify device 2. query device 3. query_port 4. modify_port and so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[RESEND PATCH v9 18/22] IB/hns: Add CQ operations support

2016-06-08 Thread Lijun Ou
This patch was implementing for Completion Queue(CQ) operations. A CQ can be used to multiplex work completions from multiple work queues across queue pairs on the same HCA. CQ as the notification mechanism for Work Request completions. CQ operations as follows: 1. create CQ. CQ are created

Re: [PATCH 1/2] xen-blkfront: don't call talk_to_blkback when already connected to blkback

2016-06-08 Thread Bob Liu
On 06/07/2016 11:25 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Jun 01, 2016 at 01:49:23PM +0800, Bob Liu wrote: >> >> On 06/01/2016 04:33 AM, Konrad Rzeszutek Wilk wrote: >>> On Tue, May 31, 2016 at 04:59:16PM +0800, Bob Liu wrote: Sometimes blkfont may receive twice blkback_changed()

Re: [PATCH V3 2/2] vhost_net: conditionally enable tx polling

2016-06-08 Thread Jason Wang
On 2016年06月07日 20:26, Michael S. Tsirkin wrote: On Wed, Jun 01, 2016 at 01:56:34AM -0400, Jason Wang wrote: We always poll tx for socket, this is sub optimal since: - it will be only used when we exceed the sndbuf of the socket. - since we use two independent polls for tx and vq, this will

Re: [PATCH v3 6/6] watchdog: pretimeout: add noop pretimeout governor

2016-06-08 Thread Wolfram Sang
> +static void pretimeout_noop(struct watchdog_device *wdd) > +{ > + pr_alert("watchdog pretimeout event\n"); > +} My version said which watchdog caused the event, why not adding that? signature.asc Description: PGP signature

[PATCH V2 3/3] x86/ioapic: Simplify ioapic_setup_resources()

2016-06-08 Thread Rui Wang
Optimize the function by removing the variable 'num'. Signed-off-by: Rui Wang --- arch/x86/kernel/apic/io_apic.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index

[PATCH V2 0/3] ioapic hot-removal bugs

2016-06-08 Thread Rui Wang
Hi Thomas, Here's the v2 patchset according to your suggestion. While testing ioapic hotplug, two bugs were found. 1) acpi_ioapic_add() is only called during hotadd of ioapics. Those already present during system boot are not added, and thus cannot be hot-removed. 2) ioapics[i].iomem_res were

[PATCH V2 2/3] x86/ioapic: Fix wrong pointers in ioapic_setup_resources()

2016-06-08 Thread Rui Wang
On a 4-socket brickland, hot-removing one ioapic is fine. Hot-removing the 2nd one causes panic in mp_unregister_ioapic() while calling release_resource(). It is because the iomem_res pointer has already been released when removing the first ioapic. Fix it by assigning the correct pointers to

Re: [PATCH] NVMe: Only release requested regions

2016-06-08 Thread Johannes Thumshirn
On Tue, May 10, 2016 at 03:14:28PM +0200, Johannes Thumshirn wrote: > The NVMe driver only requests the PCIe device's memory regions but releases > all possible regions (including eventual I/O regions). This leads to a stale > warning entry in dmesg about freeing non existent resources. > >

Re: [LKP] [lkp] [mm] 5c0a85fad9: unixbench.score -6.3% regression

2016-06-08 Thread Huang, Ying
"Kirill A. Shutemov" writes: > On Mon, Jun 06, 2016 at 10:27:24AM +0800, kernel test robot wrote: >> >> FYI, we noticed a -6.3% regression of unixbench.score due to commit: >> >> commit 5c0a85fad949212b3e059692deecdeed74ae7ec7 ("mm: make faultaround >> produce

[PATCH v4 04/07] iommu/ipmmu-vmsa: Break out domain allocation code

2016-06-08 Thread Magnus Damm
From: Magnus Damm Break out the domain allocation code into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2: - Included this new patch as-is

Re: [PATCH 0/10 -v3] Handle oom bypass more gracefully

2016-06-08 Thread Michal Hocko
On Wed 08-06-16 06:49:24, Tetsuo Handa wrote: > Michal Hocko wrote: > > OK, so you are arming the timer for each mark_oom_victim regardless > > of the oom context. This means that you have replaced one potential > > lockup by other potential livelocks. Tasks from different oom domains > > might

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

2016-06-08 Thread Wanpeng Li
2016-06-08 15:22 GMT+08:00 Ingo Molnar : > > * Wanpeng Li wrote: > >> From: Wanpeng Li >> >> This patch adds guest steal-time support to full dynticks CPU >> time accounting. After the following commit: >> >> ff9a9b4c4334 ("sched,

Re: [PATCH 1/3] perf/x86/intel: output LBR support statement after validation

2016-06-08 Thread Stephane Eranian
Andi, On Sun, Jun 5, 2016 at 6:59 PM, Andi Kleen wrote: > > > It is not because you force LBR to ring3 only that you do not capture > > kernel addresses in the FROM field. > > Keep in mind that LBR priv level filtering applies to the target of > > the branch and not the

[PATCH v4 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2016-06-08 Thread Magnus Damm
From: Magnus Damm Introduce a bitmap for context handing and convert the interrupt routine to handle all registered contexts. At this point the number of contexts are still limited. Also remove the use of the ARM specific mapping variable from ipmmu_irq() to allow

Re: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-06-08 Thread Roger Quadros
Hi, On 24/05/16 05:53, Peter Chen wrote: > On Mon, May 23, 2016 at 01:36:51PM +0300, Roger Quadros wrote: >> On 23/05/16 13:34, Jun Li wrote: >>> Hi >>> -Original Message- From: Roger Quadros [mailto:rog...@ti.com] Sent: Monday, May 23, 2016 6:12 PM To: Peter Chen

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread H. Peter Anvin
On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: >Hi, > >On 2016/6/8 9:33, Weidong Wang wrote: >> Test 32 progress and 64 progress on the 64bit system with >> this progress: >> >> int main(int argc, char **argv) >> { >> int fd = 0; >> int

[PATCH] spi: rockchip: Signal unfinished DMA transfers

2016-06-08 Thread Tomeu Vizoso
When using DMA, the transfer_one callback should return 1 because the transfer hasn't finished yet. A previous commit changed the function to return 0 when the DMA channels were correctly prepared. This manifested in Veyron boards with this message: [ 1.983605] cros-ec-spi spi0.0: EC failed to

Re: [PATCH] Staging: unisys: visorhba: visorhba_main: fixed a coding style issue

2016-06-08 Thread Greg KH
On Sat, May 21, 2016 at 12:30:46AM +0530, Rumesh Hapuarachchi wrote: > fixed checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of > 'unsigned' > > Signed-off-by: Rumesh Hapuarahcchi > --- > drivers/staging/unisys/visorhba/visorhba_main.c | 6 +++--- > 1 file

Re: [PATCH net] Driver: Vmxnet3: segCnt can be 1 for LRO packets

2016-06-08 Thread David Miller
From: Shrikrishna Khare Date: Tue, 7 Jun 2016 22:55:17 -0700 > The device emulation may send segCnt of 1 for LRO packets. > > Signed-off-by: Shrikrishna Khare > Signed-off-by: Jin Heo Please do not capitalize subsystem prefixes in your

Re: [PATCH net] Driver: Vmxnet3: segCnt can be 1 for LRO packets

2016-06-08 Thread Shrikrishna Khare
On Tue, 7 Jun 2016, David Miller wrote: > From: Shrikrishna Khare > Date: Tue, 7 Jun 2016 22:55:17 -0700 > > > The device emulation may send segCnt of 1 for LRO packets. > > > > Signed-off-by: Shrikrishna Khare > > Signed-off-by: Jin Heo

Re: [PATCH 9/9] pinctrl: at91-pio4: make it explicitly non-modular

2016-06-08 Thread Ludovic Desroches
On Mon, Jun 06, 2016 at 10:43:08PM -0400, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pinctrl/Kconfig:config PINCTRL_AT91PIO4 > drivers/pinctrl/Kconfig:bool "AT91 PIO4 pinctrl driver" > > ...meaning that it currently is not being

[RESEND PATCH v9 12/22] IB/hns: Set mtu and gid support

2016-06-08 Thread Lijun Ou
This patch mainly set mtu and gid resource. These resource will be used to set up network transmission in nodes. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[RESEND PATCH v9 20/22] IB/hns: Add operation for getting immutable port

2016-06-08 Thread Lijun Ou
This patch added a new verbs that is getting port immutable. It is added in the 4.5 kernel and latest. It is necessary to solve the fail questions for registering ib device. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou ---

[RESEND PATCH v9 22/22] MAINTAINERS: Add maintainers for HiSilicon RoCE driver

2016-06-08 Thread Lijun Ou
This patch added maintainers for RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7304d2e..3de2ef0 100644 --- a/MAINTAINERS +++

[RESEND PATCH v9 04/22] IB/hns: Add RoCE engine reset function

2016-06-08 Thread Lijun Ou
This patch mainly added reset flow of RoCE engine in RoCE driver. It is necessary when RoCE is loaded and removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[RESEND PATCH v9 09/22] IB/hns: Add hca support

2016-06-08 Thread Lijun Ou
This patch mainly setup hca for RoCE. It will do a series of initial works, as follows: 1. init uar table, allocate uar resource 2. init pd table 3. init cq table 4. init mr table 5. init qp table Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[RESEND PATCH v9 05/22] IB/hns: Add initial profile resource

2016-06-08 Thread Lijun Ou
This patch mainly configured some profile resoure. For example, vendor_id, hardware version, and some data structure sizes so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[RESEND PATCH v9 02/22] devicetree: bindings: IB: Add binding document for HiSilicon RoCE

2016-06-08 Thread Lijun Ou
This patch added DTS binding document for HiSilicon RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- .../bindings/infiniband/hisilicon-hns-roce.txt | 107 + 1 file changed, 107 insertions(+) create mode 100644

[RESEND PATCH v9 19/22] IB/hns: Add memory region operations support

2016-06-08 Thread Lijun Ou
This patch was mainly for implementing of memory region. Memory Registration provides mechanisms that allow consumers to describe a set of virtually contiguous memory locations or a set of physically contiguous memory locations. MR operations includes as follows: 1. get dma MR in kernel mode

[RESEND PATCH v9 21/22] IB/hns: Kconfig and Makefile for RoCE module

2016-06-08 Thread Lijun Ou
This patch added Kconfig and Makefile for building RoCE module. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/Kconfig | 1 + drivers/infiniband/hw/Makefile

[RESEND PATCH v9 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-06-08 Thread Lijun Ou
This patch mainly added the initial bare main driver. It could get the relative configure information of net node. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[RESEND PATCH v9 08/22] IB/hns: Add icm support

2016-06-08 Thread Lijun Ou
This patch mainly added icm support for RoCE. It initializes icm which managers the relative memory blocks for RoCE. The data structures of RoCE will be located in it. For example, CQ table, QP table and MTPT table so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong

[RESEND PATCH v9 00/22] Add HiSilicon RoCE driver

2016-06-08 Thread Lijun Ou
The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network Sybsystem) also has a hardware support of performing RDMA with RoCEE. The driver for HiSilicon RoCEE(RoCE Engine) is a platform driver and will support mulitple

[RESEND PATCH v9 07/22] IB/hns: Add event queue support

2016-06-08 Thread Lijun Ou
This patch added event queue support for RoCE driver. It is used for RoCE interrupt. RoCE includes 32 synchronous event irqs, 1 asynchronous event irq and 1 common overflow irq. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[RESEND PATCH v9 16/22] IB/hns: Add ah operations support

2016-06-08 Thread Lijun Ou
This patch was for implementing of address handle operations. It includes three verbs that create ah, query ah and destroy ah. They is completed independently by RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by:

Re: [PATCH] KVM: s390: fix build failure

2016-06-08 Thread Martin Schwidefsky
On Tue, 7 Jun 2016 22:49:30 +0100 Sudip Mukherjee wrote: > etr_ptff definitions are moved and renamed but we missed updating them > here and as a result s390 defconfig and allmodconfig was failing with > the error: > arch/s390/kvm/kvm-s390.c:230:45: error:

[RESEND PATCH v9 13/22] IB/hns: Add interface of the protocol stack registration

2016-06-08 Thread Lijun Ou
This patch mainly added the function module which netif notify registered the protocol stack. It includes interface functions as follows: 1. The executive called interface of RoCE when the netlink event that registered protocol stack was generated 2. The executive called interface

Re: [PATCH] mm/zsmalloc: add trace events for zs_compact

2016-06-08 Thread Ganesh Mahendran
Hi, Minchan: 2016-06-08 13:13 GMT+08:00 Minchan Kim : > On Wed, Jun 08, 2016 at 09:48:30AM +0800, Ganesh Mahendran wrote: >> Hi, Minchan: >> >> 2016-06-08 8:16 GMT+08:00 Minchan Kim : >> > Hello Ganesh, >> > >> > On Tue, Jun 07, 2016 at 04:56:44PM +0800,

[RESEND PATCH v9 11/22] IB/hns: Add IB device registration

2016-06-08 Thread Lijun Ou
This patch registered IB device when loaded, and unregistered IB device when removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_main.c | 46

[RESEND PATCH v9 01/22] net: hns: Add reset function support for RoCE driver

2016-06-08 Thread Lijun Ou
It added reset function for RoCE driver. RoCE is a feature of hns. In hip06 SoC, in RoCE reset process, it's needed to configure dsaf channel reset, port and sl map info. Reset function of RoCE is located in dsaf module, we only call it in RoCE driver when needed. Signed-off-by: Wei Hu

[RESEND PATCH v9 06/22] IB/hns: Add initial cmd operation

2016-06-08 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH V2] watchdog: f71808e_wdt: Add F81866 support

2016-06-08 Thread Ji-Ze Hong (Peter Hong)
Adds watchdog enable support for Fintek F81866 Super-IO chip to Fintek wdt driver (f71808e_wdt) Tested and verified on iBASE MI802 Industrial PC Datasheet references: http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html Suggested-by: Guenter Roeck

Re: [PATCH v3 5/6] watchdog: pretimeout: add panic pretimeout governor

2016-06-08 Thread Wolfram Sang
> +static void pretimeout_panic(struct watchdog_device *wdd) > +{ > + panic("panic on watchdog pretimeout event\n"); > +} And here we have the same redundant message again ("panic on") :( Did you look at my patches at all? To me, it looks like you didn't or you are intentionally trying to

Re: about definition of iowait

2016-06-08 Thread Cao jin
On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we have a simple definition about iowait, which is: The

Re: [PATCH] ARM: dts: at91: usb_a9g20: use stdout-path

2016-06-08 Thread Nicolas Ferre
Le 07/06/2016 19:59, Alexandre Belloni a écrit : > Use stdout-path to specify the console and remove the console argument from > the kernel command line. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- >

[PATCH V2 1/3] x86/ioapic: Support hot-removal of IOAPICs present during boot

2016-06-08 Thread Rui Wang
IOAPICs present during system boot aren't added to ioapic_list, thus are unable to be hot-removed. Fix it by calling acpi_ioapic_add() during root bus enumeration. Signed-off-by: Rui Wang --- drivers/acpi/internal.h | 2 -- drivers/acpi/ioapic.c | 7 ---

Re: [PATCH] iio: light: gp2ap020a00f: use iio helper function to lock direct mode

2016-06-08 Thread Jacek Anaszewski
Hi Alison, On 06/08/2016 02:19 AM, Alison Schofield wrote: Replace the code that guarantees the device stays in direct mode with iio_device_claim_direct_mode() which does same. Includes a tiny bit of refactoring (single case -> if) and simplified return flow. Signed-off-by: Alison Schofield

Re: [PATCH] ARM: at91: debug: use DEBUG_UART_VIRT

2016-06-08 Thread Nicolas Ferre
Le 07/06/2016 18:23, Alexandre Belloni a écrit : > On 07/06/2016 at 17:48:21 +0200, Nicolas Ferre wrote : >> Le 07/06/2016 17:24, Alexandre Belloni a écrit : >>> AT91 still uses an offset (0x0100 ) from the physical address to map >>> the debug UART. This is unfortunate as for some platforms

Re: [PATCH 25/34] clk: s2mps11: Migrate to clk_hw based OF and registration APIs

2016-06-08 Thread Andi Shyti
Hi Stephen, > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Andi Shyti > Cc:

Re: [PATCH 03/10] mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()

2016-06-08 Thread Minchan Kim
On Mon, Jun 06, 2016 at 03:48:29PM -0400, Johannes Weiner wrote: > They're the same function, and for the purpose of all callers they are > equivalent to lru_cache_add(). > > Signed-off-by: Johannes Weiner Acked-by: Minchan Kim

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

2016-06-08 Thread Ingo Molnar
* Wanpeng Li wrote: > From: Wanpeng Li > > This patch adds guest steal-time support to full dynticks CPU > time accounting. After the following commit: > > ff9a9b4c4334 ("sched, time: Switch VIRT_CPU_ACCOUNTING_GEN to jiffy > granularity") > >

Re: [GIT PULL 0/2] EFI urgent fixes

2016-06-08 Thread Ingo Molnar
* Matt Fleming wrote: > On Tue, 31 May, at 11:23:42AM, Matt Fleming wrote: > > Folks, please pull the following urgent patches which fix a boot crash > > when using the "noefi" parameter and the debug output on arm. > > > > The following changes since commit

[PATCH v4 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2016-06-08 Thread Magnus Damm
From: Magnus Damm Not all architectures have an iommu member in their archdata, so use #ifdefs support build wit COMPILE_TEST on any architecture. Signed-off-by: Magnus Damm --- Changes since V3: - New patch

[PATCH v4 07/07] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2016-06-08 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set

[PATCH v4 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-06-08 Thread Magnus Damm
From: Magnus Damm Introduce an alternative set of iommu_ops suitable for 64-bit ARM as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Signed-off-by: Magnus Damm --- Changes since V3: - Removed group parameter from

<    5   6   7   8   9   10   11   12   13   14   >