RE:

2015-10-23 Thread MajorAlan
I am in the military unit here in Afghanistan,we have some amount of funds that we want to move out of the country.My partners and I need a good partner someone we can trust. It is risk free and legal. Reply to this email majoralan.edw...@gmx.com Regards, Major. Alan Edward -- To unsubscribe

Re: [PATCH v3 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-23 Thread Alexei Starovoitov
On 10/23/15 5:03 AM, Peter Zijlstra wrote: So the bpf_perf_event_read() returns the count value, does this not also mean that returning -EINVAL here is also 'wrong'? I mean, sure an actual count value that high is unlikely, but its still a broken interface. Agree. that's not pretty interface.

Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-23 Thread Peter Zijlstra
On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote: > +static const struct bpf_func_proto bpf_perf_event_output_proto = { > + .func = bpf_perf_event_output, > + .gpl_only = false, Oh ? > + .ret_type = RET_INTEGER, > + .arg1_type = ARG_PTR

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-10-23 Thread Haozhong Zhang
On Fri, Oct 23, 2015 at 02:51:06PM +0200, Paolo Bonzini wrote: > > > On 23/10/2015 14:46, Joerg Roedel wrote: > >> > No, since I don't have AMD machines at hand. The modifications to SVM > >> > code are mostly lifting common code with VMX TSC scaling code, so it > >> > should still work on AMD ma

Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants

2015-10-23 Thread Andrew F. Davis
On 10/23/2015 09:29 AM, Javier Martinez Canillas wrote: Hello Andrew, On Fri, Oct 23, 2015 at 3:08 PM, Andrew F. Davis wrote: On 10/22/2015 04:23 PM, Tony Lindgren wrote: * Andrew F. Davis [151022 09:21]: Using constants for pinctrl allows better readability and removes redundancy with co

Re: [PATCH v5 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-23 Thread Bjorn Andersson
On Thu, Oct 22, 2015 at 11:57 AM, Punit Vara wrote: Hi Punit, > Remove empty line suggested by Sergei > A commit message is here to, in the future, help us all understand what and why this change was made, so you should not include comments about what you changed since a previous version of thi

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-10-23 Thread Haozhong Zhang
Following is how I test this patchset. It should also apply to AMD machines by replacing Intel with AMD and VMX TSC scaling with SVM TSC ratio. * Hardware Requirements 1) Two machines with Intel CPUs, called M_A and M_B below. 2) TSC frequency of CPUs on M_A is different from CPUs on M_B.

Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants

2015-10-23 Thread Javier Martinez Canillas
Hello Andrew, On Fri, Oct 23, 2015 at 3:08 PM, Andrew F. Davis wrote: > On 10/22/2015 04:23 PM, Tony Lindgren wrote: >> >> * Andrew F. Davis [151022 09:21]: >>> >>> Using constants for pinctrl allows better readability and removes >>> redundancy with comments. >> >> >> You should use the include

Re: [PATCH 1/3] perf tools: Move callchain help messages to callchain.h

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 23, 2015 at 11:59:32AM +0200, Ingo Molnar escreveu: > Btw., another usability detail I noticed yesterday is that when I typed 'perf > report -h' I got so much output that I couldn't find the specific option I > was > looking for, because there's no apparent ordering of the output: >

Re: [PATCH v3 0/2] Common SerDes driver for TI's Keystone Platforms

2015-10-23 Thread Murali Karicheri
On 10/23/2015 05:17 AM, Arnd Bergmann wrote: On Thursday 22 October 2015 15:27:05 Loc Ho wrote: phy-xgene.c --- Looking at other drivers under drivers/phy, I could find phy-xgene.c which is close Keystone SerDes driver (. This is called APM X-Gene Multi-Purpose PHY driver. It defines f

[GIT PULL] Fixes for 4.3 final

2015-10-23 Thread Jens Axboe
Hi Linus, A final set of fixes for 4.3. It's (again) bigger than I would have liked, but it's all been through the testing mill and has been carefully reviewed by multiple parties. Each fix is either a regression fix for this cycle, or is marked stable. You can scold me at KS. The pull request con

Re: [PATCH v3 6/7] vfio: platform: use list of registered reset function

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 16:11:08 Eric Auger wrote: > Hi Arnd, > On 10/23/2015 03:12 PM, Arnd Bergmann wrote: > > On Friday 23 October 2015 14:37:14 Eric Auger wrote: > >> Remove the static lookup table and use the dynamic list of registered > >> reset functions instead. Also load the reset module

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-23 Thread Guenter Roeck
On 10/19/2015 07:28 PM, Huang Rui wrote: This patch introduces an algorithm that computes the average power by reading a delta value of “core power accumulator” register during measurement interval, and then dividing delta value by the length of the time interval. User is able to use power1_aver

Re: [PATCH v3 2/7] vfio: platform: add capability to register a reset function

2015-10-23 Thread Eric Auger
On 10/23/2015 03:07 PM, Arnd Bergmann wrote: > On Friday 23 October 2015 14:37:10 Eric Auger wrote: >> + >> +void vfio_platform_unregister_reset(const char *compat) >> +{ >> + struct vfio_platform_reset_node *iter, *temp; >> + >> + mutex_lock(&driver_lock); >> + list_for_each_entr

Re: Make vmstat deferrable again (was Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable() checks)

2015-10-23 Thread Christoph Lameter
On Fri, 23 Oct 2015, Sergey Senozhatsky wrote: > On (10/23/15 06:43), Christoph Lameter wrote: > > Is this ok? > > kernel/sched/loadavg.c: In function ‘calc_load_enter_idle’: > kernel/sched/loadavg.c:195:2: error: implicit declaration of function > ‘quiet_vmstat’ [-Werror=implicit-function-declar

Re: [PATCH v3 6/7] vfio: platform: use list of registered reset function

2015-10-23 Thread Eric Auger
Hi Arnd, On 10/23/2015 03:12 PM, Arnd Bergmann wrote: > On Friday 23 October 2015 14:37:14 Eric Auger wrote: >> Remove the static lookup table and use the dynamic list of registered >> reset functions instead. Also load the reset module through its alias. >> The reset struct module pointer is store

Re: [PATCH v3 3/7] vfio: platform: introduce module_vfio_reset_handler macro

2015-10-23 Thread Eric Auger
Hi Arnd, On 10/23/2015 03:09 PM, Arnd Bergmann wrote: > On Friday 23 October 2015 14:37:11 Eric Auger wrote: >> +static int __init reset ## _module_init(void) \ >> +{ \ >> + vfio_platform_register_reset(compat, rese

Re: [PATCH v9 1/5] configfs: Allow dynamic group creation

2015-10-23 Thread Daniel Baluta
Christoph, one question. See below. On Fri, Oct 23, 2015 at 3:48 PM, Christoph Hellwig wrote: > Hi Daniel, > > all these functions look great, but can you also move your new > iio_sw_trigger_type_configfs_register/unregister functions to the > core code as those are the wrappers that everyone wou

Re: [PATCH 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-23 Thread Toshi Kani
On Thu, 2015-10-22 at 17:14 -0700, Dan Williams wrote: > On Thu, Oct 22, 2015 at 4:20 PM, Toshi Kani wrote: > > In the case of memory error injection, einj_error_inject() checks > > if a target address is regular RAM. Change this check to allow > > injecting a memory error to both RAM and NVDIMM

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Måns Rullgård
Marc Gonzalez writes: > On 23/10/2015 15:41, Måns Rullgård wrote: > >> Marc Gonzalez wrote: >> >>> On 22/10/2015 16:02, Mans Rullgard wrote: >>> This adds a binding for the Aurora VLSI NB8800 Ethernet controller using the "aurora,nb8800" compatible string. When used in Sigma Desi

[PATCH 0/2] Remove .owner from spi_drivers

2015-10-23 Thread Andrew F. Davis
Hello all, This series adds a helper macro to the SPI core that assigns the owner in spi_drivers so individual drivers do not have to do this, this is similar to other subsystems like platform_driver and i2c_driver that have made this change. Andrew F. Davis (2): spi: Add THIS_MODULE to spi_dri

[PATCH 2/2] Drop owner assignment from spi_drivers

2015-10-23 Thread Andrew F. Davis
An spi_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Andrew F. Davis --- arch/arm/mach-u300/dummyspichip.c | 1 - arch/mips/txx9/generic/spi_eeprom.c | 1 - drivers/char/tpm/st33zp24/spi

Re: [RFC PATCH] perf tools: Don't set inherit bit for system wide evsel

2015-10-23 Thread pi3orama
发自我的 iPhone > 在 2015年10月23日,下午9:51,Arnaldo Carvalho de Melo 写道: > > Em Fri, Oct 23, 2015 at 10:43:49AM +, Wang Nan escreveu: >> Inherit bit is useless for a system wide evsel [1]. Further kernel >> improvements are giving more constrain [2] on inherit events. This >> patch set inherit bit

Re: [PATCH v2 06/10] hwmon: (fam15h_power) Add ptsc counter value for accumulated power

2015-10-23 Thread Guenter Roeck
On 10/19/2015 07:28 PM, Huang Rui wrote: PTSC is the performance timestamp counter value in a cpu core and the cores in one compute unit have the fixed frequency. So it picks up the performance timestamp counter value of the first core per compute unit to measure the interval for average power pe

[PATCH 1/2] spi: Add THIS_MODULE to spi_driver in SPI core

2015-10-23 Thread Andrew F. Davis
Add spi_register_driver helper macro that adds THIS_MODULE to spi_driver for the registering driver. We rename and modify the existing spi_register_driver to enable this. Signed-off-by: Andrew F. Davis --- drivers/spi/spi.c | 7 --- include/linux/spi/spi.h | 6 +- 2 files changed,

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Marc Gonzalez
On 23/10/2015 15:41, Måns Rullgård wrote: > Marc Gonzalez wrote: > >> On 22/10/2015 16:02, Mans Rullgard wrote: >> >>> This adds a binding for the Aurora VLSI NB8800 Ethernet controller >>> using the "aurora,nb8800" compatible string. When used in Sigma >>> Designs chips a few additional control

Re: [PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

2015-10-23 Thread Jarkko Nikula
On 10/23/2015 04:40 PM, Mika Westerberg wrote: On Fri, Oct 23, 2015 at 04:13:11PM +0300, Mika Westerberg wrote: On Fri, Oct 23, 2015 at 12:16:11PM +0200, Wolfram Sang wrote: On Fri, Oct 23, 2015 at 11:40:13AM +0300, Mika Westerberg wrote: On Thu, Oct 22, 2015 at 02:17:42AM -0700, Dustin Byford

Re: [PATCH v4 0/5] enable I2C devices behind I2C bus on Gen2

2015-10-23 Thread Andy Shevchenko
On Fri, 2015-10-23 at 14:38 +0200, Wolfram Sang wrote: > > Wolfram, since Lee acknowledged patches 1-3, can you pull them to > > your tree? > > So, I picked patches 1-4 to my for-next. Patch 5 is missing an ACK. Right. Thanks! -- Andy Shevchenko Intel Finland Oy -- To unsubscribe from this li

Re: [RFC PATCH] perf tools: Don't set inherit bit for system wide evsel

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 23, 2015 at 10:43:49AM +, Wang Nan escreveu: > Inherit bit is useless for a system wide evsel [1]. Further kernel > improvements are giving more constrain [2] on inherit events. This > patch set inherit bit to 0 to avoid potential constrains. > > [1] > http://lkml.kernel.org/r/201

Re: [Y2038] [PATCH V2] hil_mlc: convert timeval to ktime_t

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 20:32:50 Pingbo Wen wrote: > >> -do_gettimeofday(&tv); > >> -tv.tv_usec += USEC_PER_SEC * (tv.tv_sec - > >> mlc->instart.tv_sec); > >> -tv.tv_usec -= mlc->instart.tv_usec; > >> -if (tv.tv_usec >= mlc->intimeout) goto sched;

Re: [PATCH v4 0/4] simplefb: Add regulator handling support

2015-10-23 Thread Hans de Goede
Hi, Patches 1/2 look good and are: Reviewed-by: Hans de Goede And the approach used for the regulators in them is also: Acked-by: Mark Brown So patches 1/2 are ready for merging. Jean-Christophe or Tomi, can you pick up patch 1 & 2 please ? Regards, Hans On 10/23/2015 05:50 AM, Chen-

Re: [PATCH 7/8] mm: vmscan: report vmpressure at the level of reclaim activity

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:35, Johannes Weiner wrote: > The vmpressure metric is based on reclaim efficiency, which in turn is > an attribute of the LRU. However, vmpressure events are currently > reported at the source of pressure rather than at the reclaim level. > > Switch the reporting to the recla

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-23 Thread Daniel Borkmann
On 10/22/2015 09:35 PM, Eric W. Biederman wrote: Daniel Borkmann writes: On 10/20/2015 08:56 PM, Eric W. Biederman wrote: ... Just FYI: Using a device for this kind of interface is pretty much a non-starter as that quickly gets you into situations where things do not work in containers. If s

Re: [PATCH v2 02/10] hwmon: (fam15h_power) Enable power1_input on AMD Carrizo

2015-10-23 Thread Guenter Roeck
On 10/19/2015 07:28 PM, Huang Rui wrote: This patch enables power1_input attribute for Carrizo platform. Signed-off-by: Huang Rui Cc: Borislav Petkov Cc: Guenter Roeck Cc: Peter Zijlstra Cc: Ingo Molnar --- drivers/hwmon/fam15h_power.c | 9 +++-- 1 file changed, 7 insertions(+), 2 de

Re: [PATCH] mm/hugetlb: i_mmap_lock_write before unmapping in remove_inode_hugepages

2015-10-23 Thread Davidlohr Bueso
On Wed, 21 Oct 2015, Mike Kravetz wrote: Code was added to remove_inode_hugepages that will unmap a page if it is mapped. i_mmap_lock_write() must be taken during the call to hugetlb_vmdelete_list(). This is to prevent mappings(vmas) from being added or deleted while the list of vmas is being

Re: [Xen-devel] [PATCH] mm: hotplug: Don't release twice the resource on error

2015-10-23 Thread David Vrabel
On 23/10/15 13:57, Julien Grall wrote: > The function add_memory_resource take in parameter a resource allocated > by the caller. On error, both add_memory_resource and the caller will > release the resource via release_memory_source. [...] > --- a/mm/memory_hotplug.c > +++ b/mm/memory_hotplug.c >

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-23 Thread David Miller
From: Michal Hocko Date: Fri, 23 Oct 2015 15:19:56 +0200 > On Thu 22-10-15 00:21:33, Johannes Weiner wrote: >> Socket memory can be a significant share of overall memory consumed by >> common workloads. In order to provide reasonable resource isolation >> out-of-the-box in the unified hierarchy,

Re: [PATCH 3/8] net: consolidate memcg socket buffer tracking and accounting

2015-10-23 Thread Vladimir Davydov
On Thu, Oct 22, 2015 at 03:09:43PM -0400, Johannes Weiner wrote: > On Thu, Oct 22, 2015 at 09:46:12PM +0300, Vladimir Davydov wrote: > > On Thu, Oct 22, 2015 at 12:21:31AM -0400, Johannes Weiner wrote: > > > The tcp memory controller has extensive provisions for future memory > > > accounting inter

Re: [PATCH v3 2/5] mmc: sdhci-pxav3: enable usage of DAT3 pin as HW card detect

2015-10-23 Thread Marcin Wojtas
Hi Ulf, 2015-10-22 15:29 GMT+02:00 Ulf Hansson : > On 15 October 2015 at 18:25, Marcin Wojtas wrote: >> Marvell Armada 38x SDHCI controller enable using DAT3 pin as a hardware >> card detection. According to the SD sdandard this signal can be used for >> this purpose combined with a pull-down res

Re: [PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

2015-10-23 Thread Mika Westerberg
On Fri, Oct 23, 2015 at 04:13:11PM +0300, Mika Westerberg wrote: > On Fri, Oct 23, 2015 at 12:16:11PM +0200, Wolfram Sang wrote: > > On Fri, Oct 23, 2015 at 11:40:13AM +0300, Mika Westerberg wrote: > > > On Thu, Oct 22, 2015 at 02:17:42AM -0700, Dustin Byford wrote: > > > > Although I2C mux devices

Re: [PATCH v2 01/10] hwmon: (fam15h_power) Refactor attributes for dynamically added

2015-10-23 Thread Guenter Roeck
On 10/19/2015 07:28 PM, Huang Rui wrote: Attributes depend on the CPU model the driver gets loaded on. Therefore, add those attributes dynamically at init time. This is more flexible to control the different attributes on different platforms. Suggestedy-by: Borislav Petkov Signed-off-by: Huang

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Måns Rullgård
Marc Gonzalez writes: > On 22/10/2015 16:02, Mans Rullgard wrote: > >> This adds a binding for the Aurora VLSI NB8800 Ethernet controller >> using the "aurora,nb8800" compatible string. When used in Sigma >> Designs chips a few additional control registers are available. >> This variant is indic

RE: [PATCHv3 1/6] integrity: define '.evm' as a builtin 'trusted' keyring

2015-10-23 Thread Dmitry Kasatkin
From: Petko Manolov [pet...@mip-labs.com] Sent: Friday, October 23, 2015 4:05 PM To: Dmitry Kasatkin Cc: zo...@linux.vnet.ibm.com; linux-ima-de...@lists.sourceforge.net; linux-security-mod...@vger.kernel.org; linux-kernel@vger.kernel.org; Dmitry Kasatkin

Re: [PATCH] soc: qcom: Introduce WCNSS_CTRL SMD client

2015-10-23 Thread Bjorn Andersson
On Fri, Oct 23, 2015 at 4:37 AM, yfw wrote: [..] > Yes. I meant this remoteproc-wcnss driver. Will you try to upstream it? > https://lkml.org/lkml/2015/9/26/10 I thought I got you on the Cc on that series, sorry about that. I will resend it once we have smsm/smp2p so that the kbuild robot doesn'

Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support

2015-10-23 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 03:13:07PM +0800, Jason Wang wrote: > > > On 10/22/2015 05:33 PM, Michael S. Tsirkin wrote: > > On Thu, Oct 22, 2015 at 01:27:29AM -0400, Jason Wang wrote: > >> This patch tries to poll for new added tx buffer for a while at the > >> end of tx processing. The maximum time

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-23 Thread Guenter Roeck
On 10/23/2015 06:27 AM, Borislav Petkov wrote: On Tue, Oct 20, 2015 at 10:28:24AM +0800, Huang Rui wrote: This patch adds a member in fam15h_power_data which specifies the compute unit accumulated power. It adds do_read_registers_on_cu to do all the read to all MSRs and run it on one of the onli

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-23 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 12:57:05AM -0400, Jason Wang wrote: > We don't have fraglist support in TAP_FEATURES. This will lead > software segmentation of gro skb with frag list. Fixes by having > frag list support in TAP_FEATURES. > > With this patch single session of netperf receiving were restored

[PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-23 Thread Soren Brinkmann
The driver uses runtime PM to leverage low power techniques. For use-cases using GPIO as interrupt the device needs to be in an appropriate state. Reported-by: John Linn Signed-off-by: Soren Brinkmann Tested-by: John Linn --- drivers/gpio/gpio-zynq.c | 20 1 file changed,

Re: [PATCH 10/11] net: ipv4: hlen could be set as size_t

2015-10-23 Thread David Miller
From: LABBE Corentin Date: Fri, 23 Oct 2015 15:21:00 +0200 > I have added all mailing list given by get_maintainer but this was done per > patch with --to-cmd/--cc-cmd > Does it is better to put all mailing list globally ? > > For the (0/N) mail, I forgot to add a subject on it > https://lkml.

Re: [PATCH 04/11] net: packet: change vnet_hdr_len from int to size_t

2015-10-23 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 02:10:29PM +0200, LABBE Corentin wrote: > vnet_hdr_len cannot be negative and is use in operation/function that > wait for unsigned value. > This patch set vnet_hdr_len as size_t. > > Signed-off-by: LABBE Corentin These things need to be done carefully. I'll look at this

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-23 Thread Borislav Petkov
On Tue, Oct 20, 2015 at 10:28:26AM +0800, Huang Rui wrote: > This patch introduces an algorithm that computes the average power by > reading a delta value of “core power accumulator” register during > measurement interval, and then dividing delta value by the length of > the time interval. > > Use

[PATCH 2/2] serial: 8250_ingenic: allow to be independent of SERIAL_8250_CONSOLE

2015-10-23 Thread Masahiro Yamada
This UART driver should not depend on the console. They should be orthogonal. Surround the earlycon code with CONFIG_SERIAL_EARLYCON conditional and rip off "depends on SERIAL_8250_CONSOLE". Signed-off-by: Masahiro Yamada --- Currently, SERIAL_8250_FSL also depends on SERIAL_8250_CONSOLE, but

[PATCH 1/2] serial: 8250_ingenic: delete redundant "select SERIAL_EARLYCON"

2015-10-23 Thread Masahiro Yamada
SERIAL_8250_INGENIC depends on SERIAL_8250_CONSOLE, which already selects SERIAL_EARLYCON. This line is redundant. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kco

Re: [PATCH v8 00/14] support "task_isolation" mode for nohz_full

2015-10-23 Thread Frederic Weisbecker
On Fri, Oct 23, 2015 at 10:49:51AM +0200, Peter Zijlstra wrote: > On Fri, Oct 23, 2015 at 04:33:02AM +0200, Frederic Weisbecker wrote: > > I personally (and I think this is the general LKML behaviour) use > > in-reply-to > > when I post a single patch that is a fix for a bug, or a small enhancemen

Re: [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document

2015-10-23 Thread Rob Herring
On Fri, Oct 23, 2015 at 6:25 AM, Caesar Wang wrote: > The "init" pinctrl is defined we'll set > pinctrl to this state before probe and then "default" after probe. > Add the "init" and "sleep" pinctrl as the OTP gpio state, since we need > switch the pin to gpio state before the TSADC controller is

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Rob Herring
On Fri, Oct 23, 2015 at 7:10 AM, Marc Gonzalez wrote: > On 22/10/2015 16:02, Mans Rullgard wrote: > >> This adds a binding for the Aurora VLSI NB8800 Ethernet controller >> using the "aurora,nb8800" compatible string. When used in Sigma >> Designs chips a few additional control registers are avai

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-23 Thread Borislav Petkov
On Tue, Oct 20, 2015 at 10:28:24AM +0800, Huang Rui wrote: > This patch adds a member in fam15h_power_data which specifies the > compute unit accumulated power. It adds do_read_registers_on_cu to do > all the read to all MSRs and run it on one of the online cores on each > compute unit with smp_cal

Re: [PATCH 6/8] mm: vmscan: simplify memcg vs. global shrinker invocation

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:34, Johannes Weiner wrote: > Letting shrink_slab() handle the root_mem_cgroup, and implicitely the > !CONFIG_MEMCG case, allows shrink_zone() to invoke the shrinkers > unconditionally from within the memcg iteration loop. > > Signed-off-by: Johannes Weiner Acked-by: Michal

Re: [PATCH 10/11] net: ipv4: hlen could be set as size_t

2015-10-23 Thread LABBE Corentin
On Fri, Oct 23, 2015 at 06:08:52AM -0700, David Miller wrote: > From: LABBE Corentin > Date: Fri, 23 Oct 2015 14:10:35 +0200 > > > The hlen member of raw_frag_vec is used in operation/function that wait > > for unsigned value. So it need to be set as size_t. > > > > Signed-off-by: LABBE Corentin

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:33, Johannes Weiner wrote: > Socket memory can be a significant share of overall memory consumed by > common workloads. In order to provide reasonable resource isolation > out-of-the-box in the unified hierarchy, this type of memory needs to > be accounted and tracked per defa

Re: [PATCH] of/fdt: fix error checking for earlycon address

2015-10-23 Thread Peter Hurley
Hi Masahiro, On 10/23/2015 07:47 AM, Masahiro Yamada wrote: > fdt_translate_address() returns OF_BAD_ADDR on error. It is defined as > a u64 value, so the variable "addr" should be defined as u64 as well. Good catch. I would prefer if fdt_translate_address() returned resource_size_t (which is t

Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants

2015-10-23 Thread Andrew F. Davis
On 10/22/2015 04:23 PM, Tony Lindgren wrote: * Andrew F. Davis [151022 09:21]: Using constants for pinctrl allows better readability and removes redundancy with comments. You should use the include/dt-bindings/pinctrl/omap.h macro AM33XX_IOPAD(pa, val) while at it. Otherwise we'll end up patc

Re: [PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

2015-10-23 Thread Mika Westerberg
On Fri, Oct 23, 2015 at 12:16:11PM +0200, Wolfram Sang wrote: > On Fri, Oct 23, 2015 at 11:40:13AM +0300, Mika Westerberg wrote: > > On Thu, Oct 22, 2015 at 02:17:42AM -0700, Dustin Byford wrote: > > > Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or > > > device property com

Re: [PATCH v3 6/7] vfio: platform: use list of registered reset function

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:37:14 Eric Auger wrote: > Remove the static lookup table and use the dynamic list of registered > reset functions instead. Also load the reset module through its alias. > The reset struct module pointer is stored in vfio_platform_device. > > We also remove the useless

Re: [PATCH v3 4/7] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:37:12 Eric Auger wrote: > This patch adds the reset function registration/unregistration. > This is handled through the module_vfio_reset_handler macro. This > latter also defines a MODULE_ALIAS which simplifies the load from > vfio-platform. > > Signed-off-by: Eric Au

Re: [PATCH v3 3/7] vfio: platform: introduce module_vfio_reset_handler macro

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:37:11 Eric Auger wrote: > +static int __init reset ## _module_init(void) \ > +{ \ > + vfio_platform_register_reset(compat, reset);\ > + return 0;

Re: [PATCH v3 2/7] vfio: platform: add capability to register a reset function

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:37:10 Eric Auger wrote: > + > +void vfio_platform_unregister_reset(const char *compat) > +{ > + struct vfio_platform_reset_node *iter, *temp; > + > + mutex_lock(&driver_lock); > + list_for_each_entry_safe(iter, temp, &reset_list, link) { > +

Re: [tpmdd-devel] tpm, tpm_tis: fix tpm_tis ACPI detection issue with TPM 2.0

2015-10-23 Thread Valentin Rothberg
On Oct 21 '15 18:58, Jarkko Sakkinen wrote: > On Tue, Oct 20, 2015 at 05:58:35PM +0300, Jarkko Sakkinen wrote: > > On Tue, Oct 20, 2015 at 01:49:02PM +0200, Andreas Ziegler wrote: > > > Hi Jarkko, > > > > > > your patch "tpm, tpm_tis: fix tpm_tis ACPI detection issue with TPM 2.0" > > > showed up

Re: [PATCH v9 1/5] configfs: Allow dynamic group creation

2015-10-23 Thread Daniel Baluta
On Fri, Oct 23, 2015 at 3:48 PM, Christoph Hellwig wrote: > Hi Daniel, > > all these functions look great, but can you also move your new > iio_sw_trigger_type_configfs_register/unregister functions to the > core code as those are the wrappers that everyone would have to write, > e.g. something li

Re: [PATCH v3 1/7] vfio: platform: introduce vfio-platform-base module

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:37:09 Eric Auger wrote: > To prepare for vfio platform reset rework let's build > vfio_platform_common.c and vfio_platform_irq.c in a separate > module from vfio-platform and vfio-amba. This makes possible > to have separate module inits and works around a race between

Re: [PATCHv3 1/6] integrity: define '.evm' as a builtin 'trusted' keyring

2015-10-23 Thread Petko Manolov
On 15-10-22 21:49:25, Dmitry Kasatkin wrote: > Require all keys added to the EVM keyring be signed by an > existing trusted key on the system trusted keyring. > > This patch also switches IMA to use integrity_init_keyring(). > > Changes in v3: > * Added 'init_keyring' config based variable to ski

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-23 Thread Laurent Pinchart
Hi Rob, On Friday 23 October 2015 06:51:28 Rob Herring wrote: > On Fri, Oct 23, 2015 at 4:08 AM, Laurent Pinchart wrote: > > On Thursday 22 October 2015 18:41:05 Rob Herring wrote: > >> On Thu, Oct 22, 2015 at 1:52 PM, Ray Jui wrote: > >>> On 10/22/2015 11:43 AM, Rob Herring wrote: > On Mon,

[PATCH] mm: hotplug: Don't release twice the resource on error

2015-10-23 Thread Julien Grall
The function add_memory_resource take in parameter a resource allocated by the caller. On error, both add_memory_resource and the caller will release the resource via release_memory_source. This will result to Linux crashing when the caller is trying to release the resource: CPU: 1 PID: 45 Comm:

Re: [PATCH v2] VFIO: platform: reset: AMD xgbe reset module

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 14:44:13 Eric Auger wrote: > This patch introduces a module that registers and implements a low-level > reset function for the AMD XGBE device. > > it performs the following actions: > - reset the PHY > - disable auto-negotiation > - disable & clear auto-negotiation IRQ >

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-10-23 Thread Haozhong Zhang
On Fri, Oct 23, 2015 at 02:46:19PM +0200, Joerg Roedel wrote: > On Fri, Oct 23, 2015 at 08:32:28PM +0800, Haozhong Zhang wrote: > > No, since I don't have AMD machines at hand. The modifications to SVM > > code are mostly lifting common code with VMX TSC scaling code, so it > > should still work on

Re: [PATCH 10/11] net: ipv4: hlen could be set as size_t

2015-10-23 Thread David Miller
From: LABBE Corentin Date: Fri, 23 Oct 2015 14:10:35 +0200 > The hlen member of raw_frag_vec is used in operation/function that wait > for unsigned value. So it need to be set as size_t. > > Signed-off-by: LABBE Corentin You really need to test your changes. Particularly on a platform where s

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-23 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 06:28:22PM +0800, Wangnan (F) wrote: > information to analysis when glitch happen. Another way we are trying to > implement > now is to dynamically turn events on and off, or at least enable/disable > sampling dynamically because the overhead of copying those samples > is a

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-10-23 Thread Paolo Bonzini
On 23/10/2015 14:46, Joerg Roedel wrote: >> > No, since I don't have AMD machines at hand. The modifications to SVM >> > code are mostly lifting common code with VMX TSC scaling code, so it >> > should still work on AMD machines. > Well, I think it would be good if you can provide a Tested-by on

Re: [PATCH 09/11] net: ipv6: hlen could be set as size_t

2015-10-23 Thread kbuild test robot
Hi LABBE, [auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/net-change-len-parameter-type-for-memcpy_-to-from-_msg/20151023-201642 config:

Re: [PATCH v9 1/5] configfs: Allow dynamic group creation

2015-10-23 Thread Christoph Hellwig
Hi Daniel, all these functions look great, but can you also move your new iio_sw_trigger_type_configfs_register/unregister functions to the core code as those are the wrappers that everyone would have to write, e.g. something like: int configfs_register_default_group(struct config_group *parent_g

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-10-23 Thread Joerg Roedel
On Fri, Oct 23, 2015 at 08:32:28PM +0800, Haozhong Zhang wrote: > No, since I don't have AMD machines at hand. The modifications to SVM > code are mostly lifting common code with VMX TSC scaling code, so it > should still work on AMD machines. Well, I think it would be good if you can provide a Te

[GIT PULL] Btrfs

2015-10-23 Thread Chris Mason
Hi Linus, I have two more small fixes this week in my for-linus-4.3 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.3 Qu's fix avoids unneeded COW during fallocate, and Christian found a memory leak in the error handling of an earlier fix. Qu Wenruo (1)

Re: [PATCH] serial: 8250_early: do not save and restore IER in write callback

2015-10-23 Thread Peter Hurley
On 10/22/2015 04:21 AM, Masahiro Yamada wrote: > The IER has already been masked in early_serial8250_setup(), there is > no reason to save and restore it every time early_serial8250_write() > is called. > > Let wait_for_xmitr() melt into serial_putc(). Both of these changes are ok with me, but pl

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-10-23 Thread Andrew F. Davis
On 10/22/2015 11:47 AM, Mark Brown wrote: On Thu, Oct 01, 2015 at 03:37:53PM -0500, Andrew F. Davis wrote: +static const struct of_device_id tps65912_regulator_of_match_table[] = { + { .compatible = "ti,tps65912-regulator", }, + { /* sentinel */ }, +}; +MODULE_DEVICE_TABLE(of, tps65

Re: [PATCH 0/3] Refactor nested mdiobus read/write functions

2015-10-23 Thread David Miller
From: Neil Armstrong Date: Thu, 22 Oct 2015 10:37:45 +0200 > In order to avoid locked signal false positive for nested mdiobus > read/write calls, nested code was introduced in mv88e6xxx and > mdio-mux. > But mv88e6060 also needs such nested mdiobus read/write calls. > For sake of refactoring, in

Re: [PATCH 10/11] net: ipv4: hlen could be set as size_t

2015-10-23 Thread kbuild test robot
Hi LABBE, [auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/net-change-len-parameter-type-for-memcpy_-to-from-_msg/20151023-201642 config: x

[PATCH v2] VFIO: platform: reset: AMD xgbe reset module

2015-10-23 Thread Eric Auger
This patch introduces a module that registers and implements a low-level reset function for the AMD XGBE device. it performs the following actions: - reset the PHY - disable auto-negotiation - disable & clear auto-negotiation IRQ - soft-reset the MAC Those tiny pieces of code are inherited from t

Re: [PATCH 08/11] net: bluetooth: change the len parameter of sco_send_frame() to size_t

2015-10-23 Thread kbuild test robot
Hi LABBE, [auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/net-change-len-parameter-type-for-memcpy_-to-from-_msg/20151023-201642 config: x

Re: [PATCH 4/8] mm: memcontrol: prepare for unified hierarchy socket accounting

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:32, Johannes Weiner wrote: > The unified hierarchy memory controller will account socket > memory. Move the infrastructure functions accordingly. > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > mm/memcontrol.c | 136 > --

[PATCH v3 1/7] vfio: platform: introduce vfio-platform-base module

2015-10-23 Thread Eric Auger
To prepare for vfio platform reset rework let's build vfio_platform_common.c and vfio_platform_irq.c in a separate module from vfio-platform and vfio-amba. This makes possible to have separate module inits and works around a race between platform driver init and vfio reset module init: that way we

[PATCH v3 0/7] VFIO platform reset module rework

2015-10-23 Thread Eric Auger
This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new implement

[PATCH v3 2/7] vfio: platform: add capability to register a reset function

2015-10-23 Thread Eric Auger
In preparation for subsequent changes in reset function lookup, lets introduce a dynamic list of reset combos (compat string, reset module, reset function). The list can be populated/voided with two new functions, vfio_platform_register/unregister_reset. Those are not yet used in this patch. Signe

Re: [PATCH v2] wait: add comment before waitqueue_active noting memory barrier is required

2015-10-23 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 11:18:33PM +, Kosuke Tatsukawa wrote: > Peter Zijlstra wrote: > > On Thu, Oct 22, 2015 at 08:01:37AM +, Kosuke Tatsukawa wrote: > > > > Its somewhat unfortunate you chose the whole wait_woken() thing, its > > 'rare'. > > Yes. I first noticed this lack of memory ba

[PATCH v3 4/7] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-23 Thread Eric Auger
This patch adds the reset function registration/unregistration. This is handled through the module_vfio_reset_handler macro. This latter also defines a MODULE_ALIAS which simplifies the load from vfio-platform. Signed-off-by: Eric Auger --- v2 -> v3: - do not include vfio_platform_reset_private.

Re: [PATCH v4 0/5] enable I2C devices behind I2C bus on Gen2

2015-10-23 Thread Wolfram Sang
> Wolfram, since Lee acknowledged patches 1-3, can you pull them to your tree? So, I picked patches 1-4 to my for-next. Patch 5 is missing an ACK. signature.asc Description: Digital signature

Re: [PATCH 3/8] net: consolidate memcg socket buffer tracking and accounting

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:31, Johannes Weiner wrote: > The tcp memory controller has extensive provisions for future memory > accounting interfaces that won't materialize after all. Cut the code > base down to what's actually used, now and in the likely future. > > - There won't be any different proto

[PATCH v3 7/7] vfio: platform: add dev_info on device reset

2015-10-23 Thread Eric Auger
It might be helpful for the end-user to check the device reset function was found by the vfio platform reset framework. Lets store a pointer to the struct device in vfio_platform_device and trace when the reset function is called or not found. Signed-off-by: Eric Auger --- v3: creation --- dr

[PATCH v3 3/7] vfio: platform: introduce module_vfio_reset_handler macro

2015-10-23 Thread Eric Auger
The module_vfio_reset_handler macro - define a module alias - implement module init/exit function which respectively registers and unregisters the reset function. Signed-off-by: Eric Auger --- v2 -> v3: - use vfio_platform_register_reset macro v1 -> v2: - remove vfio_platform_reset_private.h

[PATCH v3 6/7] vfio: platform: use list of registered reset function

2015-10-23 Thread Eric Auger
Remove the static lookup table and use the dynamic list of registered reset functions instead. Also load the reset module through its alias. The reset struct module pointer is stored in vfio_platform_device. We also remove the useless struct device pointer parameter in vfio_platform_get_reset. Th

Re: [PATCH 08/11] net: bluetooth: change the len parameter of sco_send_frame() to size_t

2015-10-23 Thread kbuild test robot
Hi LABBE, [auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/net-change-len-parameter-type-for-memcpy_-to-from-_msg/20151023-201642 config:

<    1   2   3   4   5   6   7   8   9   >