Re: [PATCH v2 0/9] re-enable DAX PMD support

2016-08-31 Thread Kani, Toshimitsu
On Tue, 2016-08-30 at 17:01 -0600, Ross Zwisler wrote: > On Tue, Aug 23, 2016 at 04:04:10PM -0600, Ross Zwisler wrote: > > > > DAX PMDs have been disabled since Jan Kara introduced DAX radix > > tree based locking.  This series allows DAX PMDs to participate in > > the DAX radix tree based

Re: screen rotation flipped in 4.8-rc

2016-08-31 Thread Matt Ranostay
On Wed, Aug 31, 2016 at 1:29 PM, Pandruvada, Srinivas wrote: > On Wed, 2016-08-31 at 13:24 -0700, Matt Ranostay wrote: >> On Wed, Aug 31, 2016 at 1:18 PM, Pandruvada, Srinivas >> wrote: >> > >> > On Tue, 2016-08-30 at 17:41 -0700,

Re: [PATCHv2] of: Add generic handling for ePAPR 1.1 fail-sss states

2016-08-31 Thread Frank Rowand
Hi Tony, On 08/29/16 15:35, Tony Lindgren wrote: > We have devices that are in incomplete state, but still need to be > probed to allow properly idling them for PM. Some examples are > devices that are not pinned out on certain packages, or otherwise > unusable on some SoCs. > > Setting status =

[PATCH v2 03/19] remoteproc: core: Add function to amend an existing resource table entry

2016-08-31 Thread Loic Pallardy
From: Lee Jones Sometimes the firmware does not know best. When a firmware is built, it can be loaded with a resource table, usually detailing shared; memory, virtual device, trace log information etc. However, some vendors require this hard-coded information to be amended

[PATCH v2 00/19] remoteproc: Allow platform-specific drivers to request resources

2016-08-31 Thread Loic Pallardy
Once this patch-set has been applied; platform-specific remoteproc drivers will be able to amend existing resource table entries, provide new entries to be appended to an existing resource table (if one already exists), start a new resource table (if one does not already exist), and dump out

[PATCH v2 04/19] remoteproc: core: Add function to append a new resource table entry

2016-08-31 Thread Loic Pallardy
From: Lee Jones A new function now exists to pull in and amend and existing resource table entry. But what if we wish to provide a new resource? This function provides functionality to append a brand new resource entry onto the resource table. All complexity related to

[PATCH v2 02/19] remoteproc: core: Add function to dump resource table

2016-08-31 Thread Loic Pallardy
From: Lee Jones Firmware can be loaded with a resource table, which details resources needed by coprocessor like carevout memory, virtual device, trace log buffer etc. Until now, no method exists to display resource table content. This function adds the capability to

[PATCH v2 01/19] remoteproc: core: New API to add new resources to the resource table

2016-08-31 Thread Loic Pallardy
From: Lee Jones In order to amend or add a new resource table entry we need a method for a platform-specific to submit them. rproc_request_resource() is a new public API which provides this functionality. It is to be called between rproc_alloc() and rproc_add().

Re: [PATCH v5 19/19] iommu/dma: Add support for mapping MSIs

2016-08-31 Thread Auger Eric
Hi Robin, On 26/08/2016 03:17, Robin Murphy wrote: > Hi Eric, > > On Fri, 26 Aug 2016 00:25:34 +0200 > Auger Eric wrote: > >> Hi Robin, >> >> On 23/08/2016 21:05, Robin Murphy wrote: >>> When an MSI doorbell is located downstream of an IOMMU, attaching >>> devices to a

[PATCH v2 13/19] remoteproc: core: Append resource only if spare resource present

2016-08-31 Thread Loic Pallardy
This patch renames rproc_add_resource_table_entry in __add_rsc_tbl_entry to have shorter function name and adds spare resource support. To guarantee remoteproc won't overwrite firmware data when copying back modified resource table, __add_rsc_tbl_entry verifies first that resource table owns a

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-08-31 Thread Andrew Morton
On Tue, 30 Aug 2016 18:40:02 -0400 Mimi Zohar wrote: > The TPM PCRs are only reset on a hard reboot. In order to validate a > TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list > of the running kernel must be saved and then restored on the

[PATCH v2 17/19] remotecore: core: Add resource table pointer argument to rproc_handle_resource

2016-08-31 Thread Loic Pallardy
In current version, rproc_handle_resource use rproc->table_ptr as default resource table, fixing table to handle. This patch adds resource table as function argument to have more flexibility and be able to handle resources from any table. Signed-off-by: Loic Pallardy ---

[PATCH v2 06/19] remoteproc: core: Add explicit message error if cached table failed

2016-08-31 Thread Loic Pallardy
In rproc_fw_boot, add error message if kmemdump failed as done for other errors. Signed-off-by: Loic Pallardy --- drivers/remoteproc/remoteproc_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/remoteproc_core.c

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-31 Thread Andy Lutomirski
On Wed, Aug 31, 2016 at 2:07 PM, Tejun Heo wrote: > Hello, > > On Wed, Aug 31, 2016 at 12:11:58PM -0700, Andy Lutomirski wrote: >> > You can say that allowing the possibility of deviation isn't a good >> > design choice but it is a design choice with other implications - on >> >

Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399

2016-08-31 Thread Doug Anderson
Hi, On Wed, Aug 31, 2016 at 2:29 PM, Heiko Stübner wrote: >> IMHO it would be nice if this were broken into two patches. >> >> 1. First patch would be the power domain patch and that could land any >> time. You wouldn't actually be able to use the gmac but at least >> you'd be

[PATCH net-next] net: dsa: remove ds_to_priv

2016-08-31 Thread Vivien Didelot
Access the priv member of the dsa_switch structure directly, instead of having an unnecessary helper. Signed-off-by: Vivien Didelot --- drivers/net/dsa/b53/b53_common.c | 42 +++ drivers/net/dsa/bcm_sf2.h| 2 +-

[PATCH v5 2/3] ARM: dts: add TOPEET itop elite based board

2016-08-31 Thread Randy Li
The TOPEET itop exynos 4412 have three versions base board. The Elite version is the cheap one without too much peripheral devices on it. Currently supported are serial console, wired networking(USB), USB OTG in peripheral mode, USB host, SD storage, GPIO buttons, PWM beeper, ADC and LEDs. The

[PATCH v5 3/3] devicetree: bindings: Add vendor prefix for Topeet.

2016-08-31 Thread Randy Li
Add TOPEET, a ARM devlopment board vendor in China mainland. Signed-off-by: Randy Li --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v5 1/3] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-31 Thread Randy Li
The TOPEET itop is a samsung exnynos 4412 core board, which have two package versions. This patch add the support for SCP version. Currently supported are USB3503A HSIC, USB OTG, eMMC, rtc and PMIC. The future features are in the based board. Also MFC and watchdog have been enabled.

[PATCH v2 6/7] dts: sun8i-h3: add I2C0-1 to Orange Pi Plus

2016-08-31 Thread jorik
From: Jorik Jonker This board has I2C0-2 exposed on its expansion header. Signed-off-by: Jorik Jonker --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v2 5/7] dts: sun8i-h3: add UART1-3 to Orange Pi PC

2016-08-31 Thread jorik
From: Jorik Jonker This board has UARTS1-3 exposed on its expansion header Signed-off-by: Jorik Jonker --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git

Re: screen rotation flipped in 4.8-rc

2016-08-31 Thread Pandruvada, Srinivas
On Tue, 2016-08-30 at 17:41 -0700, Matt Ranostay wrote: > On Tue, Aug 30, 2016 at 3:42 PM, Pandruvada, Srinivas > wrote: > > > > Hi All, > > > > I observed that using iio-sensor-proxy.service, the auto screen > > rotation flipped on my laptop (Normal -> vertical,

Re: [PATCHv12 1/3] rdmacg: Added rdma cgroup controller

2016-08-31 Thread Tejun Heo
Hello, On Wed, Aug 31, 2016 at 06:07:30PM +0300, Matan Barak wrote: > Currently, there are some discussions regarding the RDMA ABI. The current > proposed approach (after a lot of discussions in the OFVWG) is to have > driver dependent object types rather than the fixed set of IB object types >

Re: [PATCH net-next v2 0/3] net: dsa: add MDB support

2016-08-31 Thread David Miller
From: Andrew Lunn Date: Wed, 31 Aug 2016 18:04:05 +0200 > On Wed, Aug 31, 2016 at 11:50:02AM -0400, Vivien Didelot wrote: >> This patchset adds the switchdev MDB object support to the DSA layer. >> >> The MDB support for the mv88e6xxx driver is very similar to the FDB >>

Re: [Intel-gfx] Skylake graphics regression: projector failure with 4.8-rc3

2016-08-31 Thread Zanoni, Paulo R
Hi Em Qua, 2016-08-31 às 14:43 -0700, James Bottomley escreveu: > On Wed, 2016-08-31 at 11:23 -0700, James Bottomley wrote: > > > > On Fri, 2016-08-26 at 09:10 -0400, James Bottomley wrote: > > > > > > We seem to have an xrandr regression with skylake now.  What's > > > happening is that I can

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Mario_Limonciello
Hi Jean, > -Original Message- > From: Jean Delvare [mailto:jdelv...@suse.de] > Sent: Wednesday, August 31, 2016 10:48 AM > To: Greg KH > Cc: Limonciello, Mario ; Hung, Allen > ; rmk+ker...@arm.linux.org.uk;

[PATCH v2 net-next 4/6] perf, bpf: add perf events core support for BPF_PROG_TYPE_PERF_EVENT programs

2016-08-31 Thread Alexei Starovoitov
Allow attaching BPF_PROG_TYPE_PERF_EVENT programs to sw and hw perf events via overflow_handler mechanism. When program is attached the overflow_handlers become stacked. The program acts as a filter. Returning zero from the program means that the normal perf_event_output handler will not be called

[PATCH v2 net-next 2/6] bpf: introduce BPF_PROG_TYPE_PERF_EVENT program type

2016-08-31 Thread Alexei Starovoitov
Introduce BPF_PROG_TYPE_PERF_EVENT programs that can be attached to HW and SW perf events (PERF_TYPE_HARDWARE and PERF_TYPE_SOFTWARE correspondingly in uapi/linux/perf_event.h) The program visible context meta structure is struct bpf_perf_event_data { struct pt_regs regs; __u64

Re: [PATCH] softirq: let ksoftirqd do its job

2016-08-31 Thread Jesper Dangaard Brouer
On Wed, 31 Aug 2016 13:42:30 -0700 Eric Dumazet wrote: > On Wed, 2016-08-31 at 21:40 +0200, Jesper Dangaard Brouer wrote: > > > I can confirm the improvement of approx 900Kpps (no wonder people have > > been complaining about DoS against UDP/DNS servers). > > > > BUT

Re: [PATCH] irda: Fix likely typo in output format string

2016-08-31 Thread David Miller
From: Oleg Drokin Date: Wed, 31 Aug 2016 17:36:44 -0400 > > On Aug 31, 2016, at 5:31 PM, David Miller wrote: > >> From: Oleg Drokin >> Date: Fri, 26 Aug 2016 23:14:06 -0400 >> >>> %ul would print an unsigned with a letter l at the end which does

[PATCH v2 net-next 5/6] samples/bpf: add perf_event+bpf example

2016-08-31 Thread Alexei Starovoitov
The bpf program is called 50 times a second and does hashmap[kern_stackid]++ It's primary purpose to check that key bpf helpers like map lookup, update, get_stackid, trace_printk and ctx access are all working. It checks: - PERF_COUNT_HW_CPU_CYCLES on all cpus - PERF_COUNT_HW_CPU_CYCLES for

Re: [PATCH] ASoC: rockchip: implement system suspend/resume for i2s

2016-08-31 Thread Doug Anderson
Hi, On Mon, Jul 4, 2016 at 7:45 PM, Sugar Zhang wrote: > restore hw registers after power loss during a suspend/resume cycle. > > Signed-off-by: Sugar Zhang > --- > > sound/soc/rockchip/rockchip_i2s.c | 26 ++ > 1

Re: [PATCH v4 0/4] Add support for cros-ec-sensors

2016-08-31 Thread Jonathan Cameron
On 30/08/16 09:57, Lee Jones wrote: > On Mon, 29 Aug 2016, Jonathan Cameron wrote: > >> On 21/08/16 20:57, Jonathan Cameron wrote: >>> On 16/08/16 13:49, Lee Jones wrote: On Mon, 15 Aug 2016, Jonathan Cameron wrote: > On 01/08/16 10:54, Enric Balletbo i Serra wrote: >> Hi,

Re: Kernel Freeze with American Megatrends BIOS

2016-08-31 Thread Roland Singer
On 08/31/16 22:06, Roland Singer wrote: > Here is Peter Wu's reply, which was not send to the mailing list, because > I had to resend my e-mail to him due to a failure... > > > Forwarded Message > Subject: Re: Fwd: Re: Kernel Freeze with American Megatrends BIOS > Date: Wed, 31

Re: screen rotation flipped in 4.8-rc

2016-08-31 Thread Pandruvada, Srinivas
On Wed, 2016-08-31 at 13:24 -0700, Matt Ranostay wrote: > On Wed, Aug 31, 2016 at 1:18 PM, Pandruvada, Srinivas > wrote: > > > > On Tue, 2016-08-30 at 17:41 -0700, Matt Ranostay wrote: > > > > > > On Tue, Aug 30, 2016 at 3:42 PM, Pandruvada, Srinivas > > >

Re: [PATCH 2/2] rxrpc: fix undefined behavior in rxrpc_mark_call_released

2016-08-31 Thread Arnd Bergmann
On Wednesday, August 31, 2016 9:26:21 PM CEST David Howells wrote: > Arnd Bergmann wrote: > > > + } else { > > + sched = 0; > > That should be false, not 0, btw. > Right, sorry about that. Do you want me to resend the fixed version, or do you apply and fix it

Re: [PATCH] MAINTAINERS: modify status of intelfb as orphan

2016-08-31 Thread Maik Broemme
Hi, oops forgot to change my e-mail address there. It is better to use mbroe...@libmpq.org as permanent one. On Aug 31, 2016, at 21:18, Joe Perches wrote: > His new address is added to cc's. > > Maik? > > Do you agree with this change or > should your address be updated? >

[PATCH v2 03/11] staging: octeon: pass the NAPI instance reference to irq handler

2016-08-31 Thread Aaro Koskinen
Pass the NAPI instance reference to the interrupt handler. This is preparation for having multiple NAPI instances. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 04/11] staging: octeon: move common poll code into a separate function

2016-08-31 Thread Aaro Koskinen
Move common poll code into a separate function. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c

Re: [PATCH] mm:Avoid soft lockup due to possible attempt of double locking object's lock in __delete_object

2016-08-31 Thread Valdis . Kletnieks
On Wed, 31 Aug 2016 08:54:21 +0100, Catalin Marinas said: > On Tue, Aug 30, 2016 at 02:35:12PM -0400, Nicholas Krause wrote: > > This fixes a issue in the current locking logic of the function, > > __delete_object where we are trying to attempt to lock the passed > > object structure's spinlock

Re: [RESEND PATCH v2] memory-hotplug: fix store_mem_state() return value

2016-08-31 Thread David Rientjes
On Wed, 31 Aug 2016, Andrew Morton wrote: > > Attempting to online memory which is already online will cause this: > > > > 1. store_mem_state() called with buf="online" > > 2. device_online() returns 1 because device is already online > > 3. store_mem_state() returns 1 > > 4. calling code

Re: [PATCH v2 2/4] fs/afs/rxrpc: Remove deprecated create_singlethread_workqueue

2016-08-31 Thread Tejun Heo
Hello, David. On Wed, Aug 31, 2016 at 09:24:40PM +0100, David Howells wrote: > Tejun Heo wrote: > > > Ah, okay, the work items are dynamically allocated. Do they need > > strict execution ordering or can they be executed concurrently? > > Concurrently is fine. I see.

Re: [PATCH] irda: Fix likely typo in output format string

2016-08-31 Thread David Miller
From: Oleg Drokin Date: Fri, 26 Aug 2016 23:14:06 -0400 > %ul would print an unsigned with a letter l at the end which does > not seem to be desired here, on the other hand the value being printed > is u32 so just drop the l instead of converting to %lu > > Signed-off-by:

Re: [PATCH V2 00/22] Replace the CFQ I/O Scheduler with BFQ

2016-08-31 Thread Mark Brown
On Mon, Aug 08, 2016 at 06:19:54AM -0700, Christoph Hellwig wrote: > please don't spend more time on the legacy request interface. If you > want your work included and make an impact add it to blk-mq. So, an update on this: off-list Tejun said that he'd spoken with Jens and agreed that nothing

[PATCH] ASoC: constify snd_soc_codec_driver structures

2016-08-31 Thread Julia Lawall
Check for snd_soc_codec_driver structures that are only passed to snd_soc_register_codec or memcpy (2nd arg), for which the corresponding parameters are declared const. Declare as const snd_soc_codec_driver structures that have these properties. The semantic patch that makes this change is as

Re: [PATCH 0/6] constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
On Wed, 31 Aug 2016, Stephen Hemminger wrote: > On Wed, 31 Aug 2016 09:30:42 +0200 > Julia Lawall wrote: > > > Constify ethtool_ops structures. > > > > --- > > > > drivers/net/ethernet/agere/et131x.c |2 +- > > drivers/net/ethernet/broadcom/bcmsysport.c

Re: [PATCH] softirq: let ksoftirqd do its job

2016-08-31 Thread Jesper Dangaard Brouer
On Wed, 31 Aug 2016 10:42:29 -0700 Eric Dumazet wrote: > From: Eric Dumazet > > A while back, Paolo and Hannes sent an RFC patch adding threaded-able > napi poll loop support : (https://patchwork.ozlabs.org/patch/620657/) > > The problem seems to

[PATCH v2 05/11] staging: octeon: create a struct for rx group specific data

2016-08-31 Thread Aaro Koskinen
Create a struct for RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c

[PATCH v2 09/11] staging: octeon: enable taking multiple rx groups into use

2016-08-31 Thread Aaro Koskinen
Enable taking multiple RX groups into use. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 49 +-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon/ethernet.c

[PATCH v2 02/11] staging: octeon: use passed interrupt number in the handler

2016-08-31 Thread Aaro Koskinen
Use passed interrupt number in the handler, so we can avoid using the global variable. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c

Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-31 Thread Aaro Koskinen
Hi, On Wed, Aug 31, 2016 at 09:20:07AM -0700, Ed Swierk wrote: > I'm not using CONFIG_NET_POLL_CONTROLLER either; the problem is in the > normal cvm_oct_napi_poll() path. > > Here's my workaround: [...] > -static int cvm_oct_poll(struct oct_rx_group *rx_group, int budget) > +static int

Re: [PATCH] irda: Fix likely typo in output format string

2016-08-31 Thread Oleg Drokin
On Aug 31, 2016, at 5:31 PM, David Miller wrote: > From: Oleg Drokin > Date: Fri, 26 Aug 2016 23:14:06 -0400 > >> %ul would print an unsigned with a letter l at the end which does >> not seem to be desired here, on the other hand the value being printed >> is u32 so just

[PATCH v2 net-next 3/6] bpf: perf_event progs should only use preallocated maps

2016-08-31 Thread Alexei Starovoitov
Make sure that BPF_PROG_TYPE_PERF_EVENT programs only use preallocated hash maps, since doing memory allocation in overflow_handler can crash depending on where nmi got triggered. Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann ---

[PATCH v2 net-next 6/6] samples/bpf: add sampleip example

2016-08-31 Thread Alexei Starovoitov
From: Brendan Gregg sample instruction pointer and frequency count in a BPF map Signed-off-by: Brendan Gregg Signed-off-by: Alexei Starovoitov --- samples/bpf/Makefile| 4 + samples/bpf/sampleip_kern.c | 38 +

[PATCH v2 net-next 1/6] bpf: support 8-byte metafield access

2016-08-31 Thread Alexei Starovoitov
The verifier supported only 4-byte metafields in struct __sk_buff and struct xdp_md. The metafields in upcoming struct bpf_perf_event are 8-byte to match register width in struct pt_regs. Teach verifier to recognize 8-byte metafield access. The patch doesn't affect safety of sockets and xdp

[PATCH 6/6] time: alarmtimer: Add tracepoints for alarmtimers

2016-08-31 Thread John Stultz
From: Baolin Wang For system debugging, we sometimes want to know who sets one alarm timer, the time of the timer, when the timer started and fired and so on. Thus adding tracepoints can help us trace the alarmtimer information. For example, when we debug the system

[PATCH] x86/AMD: Fix Socket ID for LLC topology for AMD Fam17h systems

2016-08-31 Thread Yazen Ghannam
The Socket ID is ApicId[bits] on Fam17h systems. Change substraction to logical AND when extracting socket_id from c->apicid. Signed-off-by: Yazen Ghannam --- arch/x86/kernel/cpu/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/6] clocksource: Defer override invalidation unless clock is unstable

2016-08-31 Thread John Stultz
From: Kyle Walker Clocksources don't get the VALID_FOR_HRES flag until they have been checked by a watchdog. However, when using an override, the clocksource_select logic will clear the override value if the clocksource is not marked VALID_FOR_HRES during that inititial

[PATCH 4/6] time: Avoid undefined behaviour in timespec64_add_safe()

2016-08-31 Thread John Stultz
From: Vegard Nossum I ran into this: UBSAN: Undefined behaviour in kernel/time/time.c:783:2 signed integer overflow: 5273 + 9223372036854771711 cannot be represented in

[PATCH 1/5] net: mediatek: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Check for ethtool_ops structures that are only stored in the ethtool_ops field of a net_device structure or passed as the second argument to netdev_set_default_ethtool_ops. These contexts are declared const, so ethtool_ops structures that have these properties can be declared as const also. The

[PATCH 3/5] dwc_eth_qos: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Check for ethtool_ops structures that are only stored in the ethtool_ops field of a net_device structure or passed as the second argument to netdev_set_default_ethtool_ops. These contexts are declared const, so ethtool_ops structures that have these properties can be declared as const also. The

[PATCH 2/5] staging: netlogic: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Check for ethtool_ops structures that are only stored in the ethtool_ops field of a net_device structure or passed as the second argument to netdev_set_default_ethtool_ops. These contexts are declared const, so ethtool_ops structures that have these properties can be declared as const also. The

[PATCH 4/5] r8152: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Check for ethtool_ops structures that are only stored in the ethtool_ops field of a net_device structure or passed as the second argument to netdev_set_default_ethtool_ops. These contexts are declared const, so ethtool_ops structures that have these properties can be declared as const also. The

[PATCH 5/5] net: axienet: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Check for ethtool_ops structures that are only stored in the ethtool_ops field of a net_device structure or passed as the second argument to netdev_set_default_ethtool_ops. These contexts are declared const, so ethtool_ops structures that have these properties can be declared as const also. The

[PATCH v2 0/7] dts: sun8i: add extra uart/i2c to H3

2016-08-31 Thread jorik
From: Jorik Jonker This is v2 of my patch series. Just after sending I noticed the interrupts of i2c1 were too liberally copy/paste'd. This is fixed in v2. This series is a follow-up to Martin Ayotte's efforts to add additional UARTS and I2C ports to the AllWinner H3 SoC

[PATCH v2 1/7] dts: sun8i-h3: add pinmux definitions for uart2/uart3

2016-08-31 Thread jorik
From: Jorik Jonker This adds pinmux definitions for uarts 2 and 3 on H3 boards Signed-off-by: Jorik Jonker --- arch/arm/boot/dts/sun8i-h3.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi

[PATCH v2 2/7] dts: sun8i-h3: add pinmux definitions for i2c0/i2c1

2016-08-31 Thread jorik
From: Jorik Jonker This adds proper pinmux definitions for i2c0 and i2c1. Although H3 has a third i2c controller, these are not exposed on my boards. If someone actually has a H3 board with an exposed i2c2, they could add the third. Signed-off-by: Jorik Jonker

Re: [PATCH 2/2] rxrpc: fix undefined behavior in rxrpc_mark_call_released

2016-08-31 Thread Arnd Bergmann
On Wednesday, August 31, 2016 6:39:04 PM CEST David Howells wrote: > Arnd Bergmann wrote: > > > gcc -Wmaybe-initialized correctly points out a newly introduced bug > > through which we can end up calling rxrpc_queue_call() for a dead > > connection: > > How do you turn that on

Re: [RESEND PATCH 1/3] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-31 Thread Ayaka
從我的 iPad 傳送 > Krzysztof Kozlowski 於 2016年9月1日 上午2:42 寫道: > >> On Wed, Aug 31, 2016 at 08:58:27PM +0800, Randy Li wrote: >> The TOPEET itop is a samsung exnynos 4412 core board, which have >> two package versions. This patch add the support for SCP version. >> >> Currently

Re: [PATCH V2] git-send-email: Add ability to cc: any "bylines" in the commit message

2016-08-31 Thread Junio C Hamano
Joe Perches writes: > On Wed, 2016-08-31 at 12:34 -0700, Junio C Hamano wrote: >> Joe Perches writes: >> > Many commits have various forms of bylines similar to >> A missing blank line (I can tweak while queuing). > [] >> > + next if

[PATCH v2] sparc64 mm: Fix more TSB sizing issues

2016-08-31 Thread Mike Kravetz
Commit af1b1a9b36b8 ("sparc64 mm: Fix base TSB sizing when hugetlb pages are used") addressed the difference between hugetlb and THP pages when computing TSB sizes. The following additional issues were also discovered while working with the code. In order to save memory, THP makes use of a huge

Re: [PATCH v2 3/3] perf-probe: Support probing on offline cross-arch binary

2016-08-31 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 26, 2016 at 01:24:57AM +0900, Masami Hiramatsu escreveu: > Support probing on offline cross-architecture binary by > adding getting the target machine arch from ELF and > choose correct register string for the machine. > > Here is an example: > - > $ perf probe

[PATCH v2 07/19] remoteproc: Add new resource type for resource table spare bytes

2016-08-31 Thread Loic Pallardy
To allow resource appending to an existing resource table, remoteproc framework should get information about resource table spare area. With current resource table construction, remoteproc is not able to identify by itself any free location. This patch introduces a new resource type named

Re: [PATCH 3/5] rxrpc: fix last_call processing

2016-08-31 Thread David Howells
Arnd Bergmann wrote: > I'll follow up with the fixes, both of which are rather > straightforward. Are they both in? [PATCH 2/2] rxrpc: fix undefined behavior in rxrpc_mark_call_released David

[PATCH v2 07/11] staging: octeon: move group number into rx group data

2016-08-31 Thread Aaro Koskinen
Move group number into RX group data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c

[PATCH v2 10/11] staging: octeon: set up pknd for all interfaces

2016-08-31 Thread Aaro Koskinen
RX path uses pknd to find the correct device, and we maintain 1:1 port to pknd mapping. However, this is only set for XAUI interfaces (in the arch code). But it should be set for all interface types. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 2 ++

[PATCH v2 08/11] staging: octeon: support enabling multiple rx groups

2016-08-31 Thread Aaro Koskinen
Support enabling multiple RX groups. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 126 ++- drivers/staging/octeon/ethernet.c| 6 +- drivers/staging/octeon/octeon-ethernet.h | 2 +- 3 files changed, 81

[PATCH v2 11/11] staging: octeon: prevent poll during rx init

2016-08-31 Thread Aaro Koskinen
Prevent poll before the RX init has been completed. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-31 Thread Tejun Heo
Hello, On Wed, Aug 31, 2016 at 12:11:58PM -0700, Andy Lutomirski wrote: > > You can say that allowing the possibility of deviation isn't a good > > design choice but it is a design choice with other implications - on > > how we deal with configurations without cgroup at all, transitioning > >

[PATCH v2 01/11] staging: octeon: disable rx interrupts in oct_rx_shutdown

2016-08-31 Thread Aaro Koskinen
Disable RX interrupts in oct_rx_shutdown(). This way we don't need to expose the RX IRQ numbers outside the RX module. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 9 + drivers/staging/octeon/ethernet.c| 9 - 2 files changed,

Re: [PATCH 1/2] mm: Move definition of 'zone_names' array into mmzone.h

2016-08-31 Thread Andrew Morton
On Wed, 31 Aug 2016 08:55:49 +0530 Anshuman Khandual wrote: > zone_names[] is used to identify any zone given it's index which > can be used in many other places. So moving the definition into > include/linux/mmzone.h for broader access. > > ... > > ---

Re: [PATCH -v2] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-31 Thread Andi Kleen
Mel Gorman writes: > > __GFP_BITS_SHIFT + 5 (AS_NO_WRITEBACK_TAGS) = 31 > > mapping->flags is a combination of AS and GFP flags so increasing > __GFP_BITS_SHIFT overflows mapping->flags on 32-bit as gfp_t is an > unsigned int. Couldn't we just split mapping->flags

Re: [PATCH v2 0/9] re-enable DAX PMD support

2016-08-31 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 08:20:48PM +, Kani, Toshimitsu wrote: > On Tue, 2016-08-30 at 17:01 -0600, Ross Zwisler wrote: > > On Tue, Aug 23, 2016 at 04:04:10PM -0600, Ross Zwisler wrote: > > > > > > DAX PMDs have been disabled since Jan Kara introduced DAX radix > > > tree based locking.  This

Re: [RFC][PATCH] Fix a race between rwsem and the scheduler

2016-08-31 Thread Benjamin Herrenschmidt
On Wed, 2016-08-31 at 15:31 +0200, Peter Zijlstra wrote: > On Wed, Aug 31, 2016 at 07:28:18AM +1000, Benjamin Herrenschmidt > wrote: > > > > > On powerpc we have a sync deep in _switch to achieve that. > > OK, for giggles, could you (or Balbir) check what happens if you take > that sync out? >

Re: [PATCH V2] git-send-email: Add ability to cc: any "bylines" in the commit message

2016-08-31 Thread Jeff Kirsher
On Wed, 2016-08-31 at 11:51 -0700, Joe Perches wrote: > Many commits have various forms of bylines similar to > "Acked-by: Name " and "Reported-by: Name " > > Add the ability to cc: bylines (e.g. Acked-by:) when using git send- > email. > > This can be suppressed with --suppress-cc=bylines.

Re: [PATCH] softirq: let ksoftirqd do its job

2016-08-31 Thread Eric Dumazet
On Wed, 2016-08-31 at 23:51 +0200, Jesper Dangaard Brouer wrote: > > The result from this run were handling 1,517,248 pps, without any > drops, all processes pinned to the same CPU. > > $ nstat > /dev/null && sleep 1 && nstat > #kernel > IpInReceives15172250.0

Re: [PATCH V2] git-send-email: Add ability to cc: any "bylines" in the commit message

2016-08-31 Thread Joe Perches
On Wed, 2016-08-31 at 12:34 -0700, Junio C Hamano wrote: > Joe Perches writes: > > Many commits have various forms of bylines similar to > A missing blank line (I can tweak while queuing). [] > > + next if $suppress_cc{'bylines'} and $what !~ > >

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-31 Thread Andy Lutomirski
I'm replying separately to keep the two issues in separate emails. On Mon, Aug 29, 2016 at 3:20 PM, Tejun Heo wrote: > Hello, Andy. > > Sorry about the delay. Was kinda overwhelmed with other things. > > On Sat, Aug 20, 2016 at 11:45:55AM -0700, Andy Lutomirski wrote: >> > This

Re: [PATCHv4 2/6] x86/vdso: replace calculate_addr in map_vdso() with addr

2016-08-31 Thread Andy Lutomirski
On Wed, Aug 31, 2016 at 6:59 AM, Dmitry Safonov wrote: > That will allow to specify address where to map vDSO blob. > For the randomized vDSO mappings introduce map_vdso_randomized() > which will simplify calls to map_vdso. Still Acked-by: Andy Lutomirski

Re: [linux-sunxi] Re: [PATCH v9 1/2] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-08-31 Thread Danny Milosavljevic
Hi Maxime, On Wed, 31 Aug 2016 19:46:23 +0200 Maxime Ripard wrote: > > -#define SUN4I_CODEC_AC_SYS_VERI(0x38) > > -#define SUN4I_CODEC_AC_MIC_PHONE_CAL (0x3c) > > + > > +#define SUN7I_CODEC_AC_DAC_CAL (0x38)

Re: [PATCH 1/4] kernel: add a helper to get an owning user namespace for a namespace

2016-08-31 Thread Andrey Vagin
On Tue, Aug 30, 2016 at 7:56 PM, Serge E. Hallyn wrote: > On Fri, Aug 26, 2016 at 04:08:08PM -0700, Andrei Vagin wrote: >> +struct ns_common *ns_get_owner(struct ns_common *ns) >> +{ >> + struct user_namespace *my_user_ns = current_user_ns(); >> + struct user_namespace

Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399

2016-08-31 Thread Heiko Stübner
Am Mittwoch, 31. August 2016, 13:42:17 schrieb Doug Anderson: > Caesar, > > On Tue, Aug 30, 2016 at 11:13 PM, Caesar Wang wrote: > > This patch adds needed gamc information for rk3399, > > also support the gmac pd. > > > > Signed-off-by: Roger Chen

Re: [PATCH -v2] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-31 Thread Andrew Morton
On Wed, 31 Aug 2016 10:14:59 +0100 Mel Gorman wrote: > >2506952 __ 2% +28.1%3212076 __ 7% vm-scalability.throughput > >1207402 __ 7% +22.3%1476578 __ 6% vmstat.swap.so > > 10.86 __ 12% -23.4% 8.31 __ 16% > >

[GIT PULL][PATCH 0/6] 4.9 timekeeping changes for tip/timers/core

2016-08-31 Thread John Stultz
Hey Thomas, Ingo, I just wanted to send out an initial queue of timekeeping items for the 4.9 merge window. Please let me know if you have any feedback or objections to this set. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Richard Cochran

[PATCH v2 net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events

2016-08-31 Thread Alexei Starovoitov
Hi Peter, Dave, this patch set is a follow up to the discussion: https://lkml.kernel.org/r/20160804142853.GO6862%20()%20twins%20!%20programming%20!%20kicks-ass%20!%20net It turned out to be simpler than what we discussed. Patches 1-3 is bpf-side prep for the main patch 4 that adds bpf program as

[PATCH 3/6] timekeeping: Prints the amounts of time spent during suspend

2016-08-31 Thread John Stultz
From: Ruchi Kandoi In addition to keeping a histogram of suspend times, also print out the time spent in suspend to dmesg. This helps to keep track of suspend time while debugging using kernel logs. Cc: Thomas Gleixner Cc: Ingo Molnar

[PATCH 5/6] time: Avoid undefined behaviour in ktime_add_safe()

2016-08-31 Thread John Stultz
From: Vegard Nossum I ran into this: UBSAN: Undefined behaviour in kernel/time/hrtimer.c:310:16 signed integer overflow: 9223372036854775807 + 5 cannot be represented

[PATCH 1/6] hrtimer: Spelling fixes

2016-08-31 Thread John Stultz
From: Pratyush Patel Fix a minor spelling error. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Richard Cochran Cc: Prarit Bhargava Signed-off-by: Pratyush Patel

Re: [Intel-gfx] Skylake graphics regression: projector failure with 4.8-rc3

2016-08-31 Thread James Bottomley
On Wed, 2016-08-31 at 21:51 +, Zanoni, Paulo R wrote: > Hi > > Em Qua, 2016-08-31 às 14:43 -0700, James Bottomley escreveu: > > On Wed, 2016-08-31 at 11:23 -0700, James Bottomley wrote: > > > > > > On Fri, 2016-08-26 at 09:10 -0400, James Bottomley wrote: > > > > > > > > We seem to have an

[PATCH 0/5] constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
Constify ethtool_ops structures. --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |2 +- drivers/net/ethernet/synopsys/dwc_eth_qos.c |2 +- drivers/net/ethernet/xilinx/xilinx_axienet_main.c |2 +- drivers/net/usb/r8152.c |2 +-

  1   2   3   4   5   6   7   8   9   10   >