Re: [RFC][PATCH 1/8] rtmutex: Deboost before waking up the top waiter

2016-06-14 Thread Peter Zijlstra
On Tue, Jun 14, 2016 at 02:20:31PM +0100, Juri Lelli wrote: > On 14/06/16 14:54, Peter Zijlstra wrote: > > On Tue, Jun 14, 2016 at 10:09:34AM +0100, Juri Lelli wrote: > > > I've got only nitpicks for the changelog. Otherwise the patch looks good > > > to me (and yes, without it bw inheritance would

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-14 Thread Heiko Stübner
Am Dienstag, 14. Juni 2016, 06:50:31 schrieb Guenter Roeck: > On Tue, Jun 14, 2016 at 6:27 AM, Heiko Stübner wrote: > > Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: > >> The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > >> than rk3288 and before, and most of phy-related

Re: [PATCH v2 4/4] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC

2016-06-14 Thread Aleksei Mamlin
n mripard/sunxi/for-next] > > > [also build test ERROR on next-20160614] > > > [cannot apply to robh/for-next v4.7-rc3] > > > [if your patch is applied to the wrong git tree, please drop us a note to > > > help improve the system] > > > > > >

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

2016-06-14 Thread Christian Borntraeger
On 06/14/2016 08:11 AM, Linus Torvalds wrote: > On Mon, Jun 13, 2016 at 5:52 AM, Kirill A. Shutemov > wrote: >> On Sat, Jun 11, 2016 at 06:02:57PM -0700, Linus Torvalds wrote: >>> >>> I've timed it at over a thousand cycles on at least some CPU's, but >>> that's still peanuts compared to a real pa

[PATCH RESEND 1/3] dt-bindings: add bindings documentation for PDC driver.

2016-06-14 Thread Rob Rice
From: Rob Rice Add the device tree binding documentation for the PDC hardware in Broadcom iProc SoCs. Signed-off-by: Rob Rice Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Anup Patel Reviewed-by: Scott Branden --- .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 23 ++

[PATCH RESEND 0/3] Add Broadcom PDC mailbox driver

2016-06-14 Thread Rob Rice
From: Rob Rice The Broadcom PDC mailbox driver is a ring manager for the Broadcom Secure Processing Unit (SPU) kernel driver and other mailbox clients. The PDC driver registers with the Linux mailbox framework a mailbox controller, once for each PDC instance. Ring 0 for each PDC is registered as

[PATCH RESEND 2/3] mailbox: Add Broadcom PDC mailbox driver

2016-06-14 Thread Rob Rice
From: Rob Rice The Broadcom PDC mailbox driver is a mailbox controller that manages data transfers to and from one or more offload engines. Signed-off-by: Rob Rice Reviewed-by: Scott Branden Reviewed-by: Ray Jui --- drivers/mailbox/Kconfig |9 + drivers/mailbox/Makefile

[PATCH RESEND 3/3] arm64: dts: Add Broadcom Northstar2 device tree entries for PDC driver.

2016-06-14 Thread Rob Rice
From: Rob Rice Add Broadcom Northstar2 SoC device tree entries for PDC driver. Signed-off-by: Rob Rice Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 36 +++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64

Re: [PATCH 8/8] ntb_test: Add a selftest script for the NTB subsystem

2016-06-14 Thread Jon Mason
On Fri, Jun 10, 2016 at 6:54 PM, Logan Gunthorpe wrote: > This script automates testing doorbells, scratchpads and memory windows > for an NTB device. It can be run locally, with the NTB looped > back to the same host or use SSH to remotely control the second host. > > In the single host case, the

Re: [PATCH RESEND 2/3] mailbox: Add Broadcom PDC mailbox driver

2016-06-14 Thread Scott Branden
Hi Rob, We could add one more depends on below. On 16-06-14 07:02 AM, Rob Rice wrote: From: Rob Rice The Broadcom PDC mailbox driver is a mailbox controller that manages data transfers to and from one or more offload engines. Signed-off-by: Rob Rice Reviewed-by: Scott Branden Reviewed-by:

Re: [RFC][PATCH 6/8] sched/rtmutex: Refactor rt_mutex_setprio()

2016-06-14 Thread Peter Zijlstra
On Tue, Jun 14, 2016 at 02:14:24PM +0100, Juri Lelli wrote: > Hi, > > still digesting this change, but I'll point out below why I think you > are hitting a NULL ptr dereference (discussed on IRC). > > On 07/06/16 21:56, Peter Zijlstra wrote: > > > --- a/kernel/locking/rtmutex.c > > +++ b/kernel/

Taming "BIOS assigned incorrect VT-d unit" warning?

2016-06-14 Thread Denys Vlasenko
I'm are getting some user reports with this warning: static void quirk_ioat_snb_local_iommu(struct pci_dev *pdev) { ... rc = pci_bus_read_config_dword(pdev->bus, PCI_DEVFN(0, 0), 0xb0, &vtbar); vtbar &= 0x; /* we know that the this iommu should be at offset 0xa000 f

[PATCH] extcon: palmas: Fix boot up state of VBUS when using GPIO detection

2016-06-14 Thread Roger Quadros
If USB cable is connected prior to boot, we don't get any interrupts so we must manually check the VBUS state and report it during probe. If we don't do it then USB controller will never know that peripheral cable was connected till the user unplugs and replugs the cable. Fixes: b7aad8e2685b ("ext

Re: linux-next: duplicate patches in the kspp and kbuild trees

2016-06-14 Thread Stephen Rothwell
Hi Michal, On Tue, 14 Jun 2016 15:01:42 +0200 Michal Marek wrote: > > I won't :). Kees, are you going to keep the patch in your tree and send > it to Linus once kbuild is in? Or shall I take it (which would > temporarily result in another duplication...). Or Kees could send you a pull request ..

Re: [PATCH v3 2/2] ASoC: da7219: Convert driver to use generic device/fwnode functions

2016-06-14 Thread Andy Shevchenko
On Tue, 2016-06-14 at 14:56 +0100, Adam Thomson wrote: > This change converts the driver from using the of_* functions to using > the device_* and fwnode_* functions for accssing FW related data. > > Signed-off-by: Adam Thomson > Tested-by: Sathyanarayana Nujella FWIW: Reviewed-by: Andy Shevche

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-06-14 Thread Dietmar Eggemann
On 14/06/16 08:58, Mike Galbraith wrote: > SUSE's regression testing noticed that... > > 0905f04eb21f sched/fair: Fix new task's load avg removed from source CPU in > wake_up_new_task() > > ...introduced a hackbench regression, and indeed it does. I think this > regression has more to do with r

Re: [PATCH] x86/SVM: Fix implicit declaration issue for __default_cpu_present_to_apicid()

2016-06-14 Thread Paolo Bonzini
On 13/06/2016 22:28, Suravee Suthikulpanit wrote: > The commit 8221c1370056 ("svm: Manage vcpu load/unload when enable AVIC") > introduces a build error due to implicit function declaration > with#ifdef CONFIG_X86_32 and #ifndef CONFIG_X86_LOCAL_APIC. > with Kbuild test robot config file (i386-ra

Re: [PATCH 8/8] ntb_test: Add a selftest script for the NTB subsystem

2016-06-14 Thread Shuah Khan
On 06/14/2016 08:06 AM, Jon Mason wrote: > On Fri, Jun 10, 2016 at 6:54 PM, Logan Gunthorpe wrote: >> This script automates testing doorbells, scratchpads and memory windows >> for an NTB device. It can be run locally, with the NTB looped >> back to the same host or use SSH to remotely control the

Re: [PATCH v2 0/2] net: ethernet: ti: cpsw: delete rx_descs property

2016-06-14 Thread Mugunthan V N
On Tuesday 14 June 2016 06:08 PM, Ivan Khoronzhuk wrote: > > > On 13.06.16 18:19, Andrew F. Davis wrote: >> On 06/13/2016 03:22 AM, Mugunthan V N wrote: >>> On Saturday 11 June 2016 04:34 AM, Schuyler Patton wrote: On 06/08/2016 07:03 PM, Ivan Khoronzhuk wrote: > > > On

Re: [1/1] rsi: eliminate superfluous NULL check

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > msg is dereferenced before checking against NULL, e.g. > when assigning pad_bytes. > Remove the superfluous check in function rsi_mgmt_pkt_to_core. > > Signed-off-by: Heinrich Schuchardt Thanks, 1 patch applied to wireless-drivers-next.git: 9b648d788d78 rsi: elimin

Re: [1/1] rtlwifi: rtl8723be: avoid undefined behavior

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > Do not return undefined value for transmission power > if the rate is invalid. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Larry Finger Thanks, 1 patch applied to wireless-drivers-next.git: 6b3c33e985f2 rtlwifi: rtl8723be: avoid undefined behavior -- Sent

[PATCH 2/2] mtd: nand: timings: Reorder tRR_min def in mode 0

2016-06-14 Thread Boris Brezillon
In the ONFI spec, the tRR_min entry is defined before the tRST_max one. Reoder the definition to make it easier to review. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_timings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_timings.c b/driv

Re: [1/1] mwiflex: avoid possible null pointer dereference

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > Do not dereference card before checking against NULL value. > > Signed-off-by: Heinrich Schuchardt Thanks, 1 patch applied to wireless-drivers-next.git: 141bcf099076 mwiflex: avoid possible null pointer dereference -- Sent by pwcli https://patchwork.kernel.org/pa

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

2016-06-14 Thread Alan Stern
On Tue, 14 Jun 2016, Roger Quadros wrote: > +Alan > > On 10/06/16 16:07, Roger Quadros wrote: > > The OTG core will use struct otg_hcd_ops to interface > > with the HCD (Host Controller Driver). > > > > The main purpose of this interface is to avoid directly > > calling HCD APIs from the OTG cor

[PATCH] PM: Make pm_prepare_console() return void

2016-06-14 Thread Borislav Petkov
From: Borislav Petkov Nothing is using its return value so change it to return void. No functionality change. Signed-off-by: Borislav Petkov --- include/linux/suspend.h | 5 ++--- kernel/power/console.c | 8 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/linu

Re: [1/1] rtlwifi: rtl8192ee: simplify coding

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > Simplify _rtl92ee_phy_path_adda_on. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Larry Finger Thanks, 1 patch applied to wireless-drivers-next.git: a81605b14942 rtlwifi: rtl8192ee: simplify coding -- Sent by pwcli https://patchwork.kernel.org/patch/9115711

[PATCH 1/2] mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips

2016-06-14 Thread Boris Brezillon
ONFI 4.0 spec defines different values for the tADL_min timing. Since we don't want to have different timings depending on the ONFI version, we just set tADL_min to the maximum value (the one specified in the ONFI 4.0 spec). Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_timings.c | 12

Re: [PATCH v4 00/14] fix some type infos and bugs for arm64/of numa

2016-06-14 Thread Catalin Marinas
On Wed, Jun 08, 2016 at 04:59:03PM +0800, Leizhen (ThunderTown) wrote: > On 2016/6/7 21:58, Will Deacon wrote: > > On Tue, Jun 07, 2016 at 04:08:04PM +0800, Zhen Lei wrote: > >> v3 -> v4: > >> 1. Packed three patches of Kefeng Wang, patch6-8. > >> 2. Add 6 new patches(9-15) to enhance the numa on a

Re: [ldv-project] [net] libertas: potential race condition

2016-06-14 Thread Pavel Andrianov
08.06.2016 02:51, James Cameron пишет: On Tue, Jun 07, 2016 at 09:39:55AM -0500, Dan Williams wrote: On Tue, 2016-06-07 at 13:30 +0400, Pavel Andrianov wrote: Hi! There is a potential race condition in drivers/net/wireless/libertas/libertas.ko. In the function lbs_hard_start_xmit(..), line 159

Re: [1/1] mwifiex: illegal assignment

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > Variable adapter is incorrectly initialized. > > Fixes: bf00dc22bc7a ("mwifiex: AMSDU Rx frame handling in AP mode") > Signed-off-by: Heinrich Schuchardt > Acked-by: Amitkumar Karwar Thanks, 1 patch applied to wireless-drivers-next.git: 3fdbda446fbc mwifiex: illeg

Re: [PATCH v5 2/5] ACPI / processor_idle: Add support for Low Power Idle(LPI) states

2016-06-14 Thread Sudeep Holla
On 13/06/16 22:05, Rafael J. Wysocki wrote: On Friday, June 10, 2016 06:38:01 PM Sudeep Holla wrote: Hi Rafael, Hi, On 11/05/16 16:37, Sudeep Holla wrote: ACPI 6.0 introduced an optional object _LPI that provides an alternate method to describe Low Power Idle states. It defines the local

[PATCH v2 3/5] ipvs: Don't check result < 0 after setting result = 0

2016-06-14 Thread Quentin Armitage
Move the block testing result < 0 to avoid the test immediately after setting result = 0 Signed-off-by: Quentin Armitage --- net/netfilter/ipvs/ip_vs_sync.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip

Re: [PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats

2016-06-14 Thread Mel Gorman
On Mon, Jun 13, 2016 at 12:26:13PM -0500, Christoph Lameter wrote: > On Thu, 9 Jun 2016, Mel Gorman wrote: > > > VM statistic counters for reclaim decisions are zone-based. If the kernel > > is to reclaim on a per-node basis then we need to track per-node statistics > > but there is no infrastruct

[PATCH v2 0/5] ipvs: fix backup sync daemon with IPv6, and minor updates

2016-06-14 Thread Quentin Armitage
This series of patches arise from discovering that: ipvsadm --start-daemon backup --mcast-group IPv6_address ... would always fail. The first patch resolves the problem. The second and third patches are optimizations that were noticed while investigating the original problem. The fourth patch adds

[PATCH v2 4/5] ipvs: Lock socket before setting SK_CAN_REUSE

2016-06-14 Thread Quentin Armitage
When other settings are changed in the socket it is locked, so lock the socket before setting SK_CAN_REUSE. Signed-off-by: Quentin Armitage --- net/netfilter/ipvs/ip_vs_sync.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilte

[PATCH v2 5/5] ipvs: log additional sync daemon parameters

2016-06-14 Thread Quentin Armitage
Add new multicast parameters to log messages when sync daemons start. Commits ("ipvs: add sync_maxlen parameter for the sync daemon") and ("ipvs: add more mcast parameters for the sync daemon") added additional multicast parameters, but didn't add them to the log messages when the sync daemons s

[PATCH v2 2/5] ipvs: Stop calling __dev_get_by_name() repeatedly when starting sync daemon

2016-06-14 Thread Quentin Armitage
Optimise starting sync daemons by using the result of the first call to __dev_get_by_name() and pass the result or ifindex to subsequent functions to avoid them having to call __dev_get_by_name() again. Signed-off-by: Quentin Armitage --- net/netfilter/ipvs/ip_vs_sync.c | 59 --

Re: iwlegacy: avoid warning about missing braces

2016-06-14 Thread Kalle Valo
Arnd Bergmann wrote: > gcc-6 warns about code in il3945_hw_txq_ctx_free() being > somewhat ambiguous: > > drivers/net/wireless/intel/iwlegacy/3945.c:1022:5: warning: suggest explicit > braces to avoid ambiguous 'else' [-Wparentheses] > > This adds a set of curly braces to avoid the warning. >

Re: brcmfmac: use kmemdup

2016-06-14 Thread Kalle Valo
Muhammad Falak R Wani wrote: > Use kmemdup when some other buffer is immediately copied into allocated > region. It replaces call to allocation followed by memcpy, by a single > call to kmemdup. > > Signed-off-by: Muhammad Falak R Wani > Acked-by: Arend van Spriel Thanks, 1 patch applied to wi

[PATCH v2 1/5] ipvs: Enable setting IPv6 multicast address for ipvs sync daemon backup

2016-06-14 Thread Quentin Armitage
When using HEAD from https://git.kernel.org/cgit/utils/kernel/ipvsadm/ipvsadm.git/, the command: ipvsadm --start-daemon backup --mcast-interface eth0.60 --mcast-group ff01::1:81 fails with the error message: Argument list too long whereas both: ipvsadm --start-daemon master --mcast-interface eth0

Re: [V2, 4.8, 1/2] brcmutil: add field storing control channel to the struct brcmu_chan

2016-06-14 Thread Kalle Valo
Rafał Miłecki wrote: > Our d11 code supports encoding/decoding channel info into/from chanspec > format used by firmware. Current implementation is quite misleading > because of the way "chnum" field is used. > When encoding channel info, "chnum" has to be filled by a caller with > *center* channel

Re: [1/1] brcm80211: simplify assignment

2016-06-14 Thread Kalle Valo
Heinrich Schuchardt wrote: > Simplify assignment in wlc_phy_rxcal_gainctrl_nphy_rev5. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Arend van Spriel Thanks, 1 patch applied to wireless-drivers-next.git: 6b128a01c673 brcm80211: simplify assignment -- Sent by pwcli https://patchwork.kern

Re: [PATCH 4/5] nvmet-rdma: add a NVMe over Fabrics RDMA target driver

2016-06-14 Thread Christoph Hellwig
On Thu, Jun 09, 2016 at 06:03:51PM -0500, Steve Wise wrote: > The above nvmet cm event handler, nvmet_rdma_cm_handler(), calls > nvmet_rdma_queue_connect() for CONNECT_REQUEST events, which calls > nvmet_rdma_alloc_queue (), which, if it encounters a failure (like creating > the qp), calls nvmet_rd

[PATCH v1 1/1] x86/platform/intel-mid: Make vertical indentation consistent

2016-06-14 Thread Andy Shevchenko
The vertical indentation is kinda chaotic in intel-mid.h. Let's be consisten with it. Suggested-by: Ingo Molnar Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/intel-mid.h | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch

Re: [PATCH 4/5] nvmet-rdma: add a NVMe over Fabrics RDMA target driver

2016-06-14 Thread Christoph Hellwig
On Thu, Jun 09, 2016 at 04:42:11PM -0500, Steve Wise wrote: > > > > > > + > > > +static struct nvmet_rdma_queue * > > > +nvmet_rdma_alloc_queue(struct nvmet_rdma_device *ndev, > > > + struct rdma_cm_id *cm_id, > > > + struct rdma_cm_event *event) > > > +{ > > > + struct nvmet_rdm

Re: [PATCH 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

2016-06-14 Thread Oleg Nesterov
On 06/13, Andy Lutomirski wrote: > > On Mon, Jun 13, 2016 at 6:50 AM, Oleg Nesterov wrote: > > > > Well, I can't resist but to me SA_IA32_ABI/SA_X32_ABI looks like a hack > > too. We actually shift TIF_*32 into k_sigaction->flags, and the fact > > that we do this per-signal looks, well, interesti

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

2016-06-14 Thread Kirill A. Shutemov
On Tue, Jun 14, 2016 at 05:57:28PM +0900, Minchan Kim wrote: > On Wed, Jun 08, 2016 at 11:58:11AM +0300, Kirill A. Shutemov wrote: > > On Wed, Jun 08, 2016 at 04:41:37PM +0800, Huang, Ying wrote: > > > "Huang, Ying" writes: > > > > > > > "Kirill A. Shutemov" writes: > > > > > > > >> On Mon, Jun

Re: mwifiex: fix racing condition when downloading firmware

2016-06-14 Thread Kalle Valo
Wei-Ning Huang wrote: > The action 'check for winner' and 'download firmware' should be an > atomic action. This is true for btmrvl driver but not mwmfiex, which > cause firmware download to fail when the following senerio happens: > > 1) mwifiex check winner status: true > 2) btmrvl check winner

Re: [PATCH v5 4/5] sched/fair: Skip detach sched avgs for new task when changing task groups

2016-06-14 Thread Peter Zijlstra
On Thu, Jun 09, 2016 at 07:15:53AM +0800, Yuyang Du wrote: > Newly forked task has not been enqueued, so should not be removed from > cfs_rq in task_move_group_fair(). To do so, we identify newly forked > tasks by their sched_avg's last_update_time in detach_entity_load_avg(). > static void detac

Re: [PATCH] rtc: ds1307: Fix relying on reset value for weekday

2016-06-14 Thread Alexandre Belloni
On 07/06/2016 at 14:59:05 +0530, Keerthy wrote : > Hi Alexandre, > > On Wednesday 01 June 2016 06:06 PM, Keerthy wrote: > > > > > > On Wednesday 01 June 2016 05:48 PM, Alexandre Belloni wrote: > > > Hi, > > > > > > On 01/06/2016 at 16:19:07 +0530, Keerthy wrote : > > > > The reset value of week

Re: [PATCH 02/27] mm, vmscan: Move lru_lock to the node

2016-06-14 Thread Mel Gorman
On Fri, Jun 10, 2016 at 06:39:26PM +0200, Vlastimil Babka wrote: > > @@ -5944,10 +5944,10 @@ static void __paginginit free_area_init_core(struct > > pglist_data *pgdat) > > zone->min_slab_pages = (freesize * sysctl_min_slab_ratio) / 100; > > #endif > > zone->name = zone_na

Re: [PATCH RESEND 1/3] dt-bindings: add bindings documentation for PDC driver.

2016-06-14 Thread Sudeep Holla
On 14/06/16 15:02, Rob Rice wrote: From: Rob Rice Add the device tree binding documentation for the PDC hardware in Broadcom iProc SoCs. Signed-off-by: Rob Rice Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Anup Patel Reviewed-by: Scott Branden --- .../bindings/mailbox/brcm,

[PATCH V6 3/5] irqchip/gicv3-its: Split its_alloc_tables() into two functions

2016-06-14 Thread Shanker Donthineni
The function is getting out of control, it has too many goto statements and would be too complicated for adding a feature two-level device table. So, it is time for us to cleanup and move some of the logic to a separate function without affecting the existing functionality. Signed-off-by: Shanker

[PATCH V6 2/5] irqchip/gicv3-its: Add a new function for parsing device table BASERn

2016-06-14 Thread Shanker Donthineni
Only the device table BASERn needs to be handled differently as compared to all other tables. So, adding a separate function for easy code maintenance and improved code readability. Signed-off-by: Shanker Donthineni Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 49 +

Re: [PATCH] arm64: Implement arch_setup_pdev_archdata hook

2016-06-14 Thread Catalin Marinas
On Tue, Jun 07, 2016 at 05:22:25PM +0800, Baolin Wang wrote: > On 7 June 2016 at 17:15, Robin Murphy wrote: > > Please elaborate on the situation that you're attempting to address here > > (please don't let it be the ongoing Designware USB catastrophe ;)) > > Yes, like you mentioned, we met probl

[PATCH V6 4/5] irqchip/gicv3-its: Remove an unused argument 'node_name'

2016-06-14 Thread Shanker Donthineni
No references to argument 'node_name' after modifying pr_xxx() messages to include ITS base address instead of 'node_name'. Signed-off-by: Shanker Donthineni Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH 1/6] MIPS: BMIPS: add missing console to bcm96358nb4ser

2016-06-14 Thread Jonas Gorski
Hi Álvaro, On 13 June 2016 at 09:38, Álvaro Fernández Rojas wrote: > Console definition is needed in order to avoid a warning in earlycon to > console transition. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH v5 4/5] sched/fair: Skip detach sched avgs for new task when changing task groups

2016-06-14 Thread Peter Zijlstra
On Tue, Jun 14, 2016 at 04:36:49PM +0200, Peter Zijlstra wrote: > On Thu, Jun 09, 2016 at 07:15:53AM +0800, Yuyang Du wrote: > > Newly forked task has not been enqueued, so should not be removed from > > cfs_rq in task_move_group_fair(). To do so, we identify newly forked > > tasks by their sched_a

[PATCH V6 5/5] irqchip/gicv3-its: Implement two-level(indirect) device table support

2016-06-14 Thread Shanker Donthineni
Since device IDs are extremely sparse, the single, a.k.a flat table is not sufficient for the following two reasons. 1) According to ARM-GIC spec, ITS hw can access maximum of 256(pages)* 64K(pageszie) bytes. In the best case, it supports upto DEVid=21 sparse with minimum device table entry

[PATCH V6 1/5] irqchip/gicv3-its: Introduce two helper functions for accessing BASERn

2016-06-14 Thread Shanker Donthineni
This patch adds the two handy helper functions for reading and writing ITS BASERn register. Signed-off-by: Shanker Donthineni Signed-off-by: Marc Zyngier --- Changes since v5: Marc suggested to fold its_write_baser_cache into its_write_baser. Changes since v1: baser->val is consistent with

Re: [RESEND PATCH v5 0/1] ARM64: ACPI: Update documentation for latest specification version

2016-06-14 Thread Al Stone
On 06/14/2016 03:24 AM, Will Deacon wrote: > On Tue, Jun 14, 2016 at 10:13:31AM +0100, Will Deacon wrote: >> On Mon, Jun 13, 2016 at 03:41:54PM -0600, Al Stone wrote: >>> This is a resend only: Ping? Last ping was 26 May; there has been zero >>> response since then. Already have one ACK from Lore

Re: [PATCH 6/6] MIPS: BMIPS: Add device tree example for BCM6362

2016-06-14 Thread Jonas Gorski
Hi, On 13 June 2016 at 09:38, Álvaro Fernández Rojas wrote: > This adds a device tree example for SFR NeufBox 6. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/bmips/Kconfig| 4 + > arch/mips/boot/dts/brcm/Makefile | 2 + > arch/mips/boot/dts/brcm/

Re: [PATCH 04/27] mm, vmscan: Begin reclaiming pages on a per-node basis

2016-06-14 Thread Mel Gorman
On Sun, Jun 12, 2016 at 03:33:25PM +0800, Hillf Danton wrote: > > @@ -3207,15 +3228,14 @@ static int balance_pgdat(pg_data_t *pgdat, int > > order, int classzone_idx) > > sc.may_writepage = 1; > > > > /* > > -* Now scan the zone in the dma->highmem dire

[PATCH v6 0/5] ACPI / processor_idle: Add ACPI v6.0 LPI support

2016-06-14 Thread Sudeep Holla
ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate method to describe processor idle states. It extends the specification to allow the expression of idle states like C-states selectable by the OSPM when a processor goes idle, but may affect more than one processor, and may af

[PATCH v6 5/5] ACPI : enable ACPI_PROCESSOR_IDLE on ARM64

2016-06-14 Thread Sudeep Holla
Now that ACPI processor idle driver supports LPI(Low Power Idle), lets enable ACPI_PROCESSOR_IDLE for ARM64 too. This patch just removes the IA64 and X86 dependency on ACPI_PROCESSOR_IDLE Cc: linux-arm-ker...@lists.infradead.org Cc: "Rafael J. Wysocki" Signed-off-by: Sudeep Holla --- drivers/a

[PATCH v6 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-06-14 Thread Sudeep Holla
This patch adds appropriate callbacks to support ACPI Low Power Idle (LPI) on ARM64. Now that arm_enter_idle_state is exactly same in both generic ARM{32,64} CPUIdle driver and ARM64 backend for ACPI processor idle driver, we can unify it and move to cpuidle-arm.h header. Cc: Lorenzo Pieralisi C

[PATCH v6 2/5] ACPI / processor_idle: Add support for Low Power Idle(LPI) states

2016-06-14 Thread Sudeep Holla
ACPI 6.0 introduced an optional object _LPI that provides an alternate method to describe Low Power Idle states. It defines the local power states for each node in a hierarchical processor topology. The OSPM can use _LPI object to select a local power state for each level of processor hierarchy in

Re: [PATCH 1/2] powercap/rapl: add support for skx

2016-06-14 Thread Jacob Pan
On Tue, 14 Jun 2016 02:21:41 +0200 "Rafael J. Wysocki" wrote: > On Tue, Jun 14, 2016 at 2:06 AM, Jacob Pan > wrote: > > On Mon, 13 Jun 2016 23:56:18 +0200 > > "Rafael J. Wysocki" wrote: > > > >> On Monday, June 13, 2016 11:32:10 PM Rafael J. Wysocki wrote: > >> > On Monday, May 23, 2016 09:45:4

[PATCH v6 3/5] arm64: cpuidle: drop __init section marker to arm_cpuidle_init

2016-06-14 Thread Sudeep Holla
Commit ea389daa7fd9 ("arm64: cpuidle: add __init section marker to arm_cpuidle_init") added the __init annotation to arm_cpuidle_init as it was not needed after booting which was correct at that time. However with the introduction of ACPI LPI support, this will be used from cpuhotplug path in ACPI

Re: [RFC 14/18] limits: track RLIMIT_SIGPENDING actual max

2016-06-14 Thread Oleg Nesterov
On 06/13, Topi Miettinen wrote: > > Track maximum number of pending signals, presented in /proc/self/limits. > > Signed-off-by: Topi Miettinen > --- > kernel/signal.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernel/signal.c b/kernel/signal.c > index 96e9bc4..c8fbccd 100644 > ---

Re: [RESEND PATCH v5 0/1] ARM64: ACPI: Update documentation for latest specification version

2016-06-14 Thread Catalin Marinas
On Tue, Jun 14, 2016 at 08:46:26AM -0600, Al Stone wrote: > On 06/14/2016 03:24 AM, Will Deacon wrote: > > On Tue, Jun 14, 2016 at 10:13:31AM +0100, Will Deacon wrote: > >> On Mon, Jun 13, 2016 at 03:41:54PM -0600, Al Stone wrote: > >>> This is a resend only: Ping? Last ping was 26 May; there has

[PATCH v6 1/5] ACPI / processor_idle: introduce ACPI_PROCESSOR_CSTATE

2016-06-14 Thread Sudeep Holla
ACPI 6.0 adds a new method to specify the CPU idle states(C-states) called Low Power Idle(LPI) states. Since new architectures like ARM64 use only LPIs, introduce ACPI_PROCESSOR_CSTATE to encapsulate all the code supporting the old style C-states(_CST). This patch will help to extend the processor

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-06-14 Thread Christoph Hellwig
On Mon, Jun 13, 2016 at 11:23:52PM -0700, Nicholas A. Bellinger wrote: > AFAICT, the problem with this improvement is that it's not stable > material, which means that Canonical would have to carry this separately > beyond linux-4.4.y, in order to support ibmvscsi-tgt. So who cares? If they have

[PATCH v2 1/9] kexec_file: Remove unused members from struct kexec_buf.

2016-06-14 Thread Thiago Jung Bauermann
kexec_add_buffer uses kexec_buf.buffer and kexec_buf.bufsz to pass along its own arguments buffer and bufsz, but since they aren't used anywhere else, it's pointless. Signed-off-by: Thiago Jung Bauermann Cc: Eric Biederman Cc: ke...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Acked-by:

[PATCH v2 0/9] kexec_file_load implementation for PowerPC

2016-06-14 Thread Thiago Jung Bauermann
Hello, This patch series implements the kexec_file_load system call on PowerPC. It starts by removing an x86 assumption from kexec_file: kexec_add_buffer uses iomem to find reserved memory ranges, but PowerPC uses the memblock subsystem. A hook is added so that each arch can specify how memory ra

[PATCH v2 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-14 Thread Thiago Jung Bauermann
kexec_locate_mem_hole will be used by the PowerPC kexec_file_load implementation to find free memory for the purgatory stack. Signed-off-by: Thiago Jung Bauermann Cc: Eric Biederman Cc: Dave Young Cc: ke...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- include/linux/kexec.h | 4 +++

[PATCH v2 5/9] powerpc: Generalize elf64_apply_relocate_add.

2016-06-14 Thread Thiago Jung Bauermann
When apply_relocate_add is called, modules are already loaded at their final location in memory so Elf64_Shdr.sh_addr can be used for accessing the section contents as well as the base address for relocations. This is not the case for kexec's purgatory, because it will only be copied to its final

[PATCH v2 8/9] powerpc: Add support for loading ELF kernels with kexec_file_load.

2016-06-14 Thread Thiago Jung Bauermann
This uses all the infrastructure built up by the previous patches in the series to load an ELF vmlinux file and an initrd. It uses the flattened device tree at initial_boot_params as a base and adjusts memory reservations and its /chosen node for the next kernel. elf64_apply_relocate_add was exten

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-14 Thread Guenter Roeck
On 06/12/2016 07:10 PM, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang --- [ ... ] + +stat

[PATCH v2 7/9] powerpc: Implement kexec_file_load.

2016-06-14 Thread Thiago Jung Bauermann
Adds the basic machinery needed by kexec_file_load. Signed-off-by: Josh Sklar Signed-off-by: Thiago Jung Bauermann Cc: ke...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/powerpc/Kconfig | 13 + arch/powerpc/include/asm/systbl.h | 1 + arch/powerp

Re: [PATCH 06/27] mm, vmscan: Make kswapd reclaim in terms of nodes

2016-06-14 Thread Mel Gorman
On Sun, Jun 12, 2016 at 05:33:24PM +0800, Hillf Danton wrote: > > - /* > > -* We put equal pressure on every zone, unless one zone has way too > > -* many pages free already. The "too many pages" is defined as the > > -* high wmark plus a "gap" where the gap is either the low > > -

Re: [RESEND PATCH v5 0/1] ARM64: ACPI: Update documentation for latest specification version

2016-06-14 Thread Al Stone
On 06/14/2016 08:50 AM, Catalin Marinas wrote: > On Tue, Jun 14, 2016 at 08:46:26AM -0600, Al Stone wrote: >> On 06/14/2016 03:24 AM, Will Deacon wrote: >>> On Tue, Jun 14, 2016 at 10:13:31AM +0100, Will Deacon wrote: On Mon, Jun 13, 2016 at 03:41:54PM -0600, Al Stone wrote: > This is a re

[PATCH v2 9/9] powerpc: Add purgatory for kexec_file_load implementation.

2016-06-14 Thread Thiago Jung Bauermann
This purgatory implementation comes from kexec-tools, almost unchanged. The only changes were that the sha256_regions global variable was renamed to sha_regions to match what kexec_file_load expects, and to use the sha256.c file from x86's purgatory to avoid adding yet another SHA-256 implementati

[PATCH v2 2/9] kexec_file: Generalize kexec_add_buffer.

2016-06-14 Thread Thiago Jung Bauermann
Allow architectures to specify different memory walking functions for kexec_add_buffer. Intel uses iomem to track reserved memory ranges, but PowerPC uses the memblock subsystem. Signed-off-by: Thiago Jung Bauermann Cc: Eric Biederman Cc: Dave Young Cc: ke...@lists.infradead.org Cc: linux-kerne

[PATCH v2 6/9] powerpc: Add functions to read ELF files of any endianness.

2016-06-14 Thread Thiago Jung Bauermann
A little endian kernel might need to kexec a big endian kernel (the opposite is less likely but could happen as well), so we can't just cast the buffer with the binary to ELF structs and use them as is done elsewhere. This patch adds functions which do byte-swapping as necessary when populating th

[PATCH v2 4/9] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-06-14 Thread Thiago Jung Bauermann
The kexec_file_load system call needs to relocate the purgatory, so factor out the module relocation code so that it can be shared. This patch's purpose is to move the ELF relocation logic from apply_relocate_add to elf_util_64.c with as few changes as possible. The following changes were needed:

[PATCH v5] drm/i915/ilk: Don't disable SSC source if it's in use

2016-06-14 Thread Lyude
Thanks to Ville Syrjälä for pointing me towards the cause of this issue. Unfortunately one of the sideaffects of having the refclk for a DPLL set to SSC is that as long as it's set to SSC, the GPU will prevent us from powering down any of the pipes or transcoders using it. A couple of BIOSes enabl

Re: [PATCH net-next v3 5/7] vmxnet3: add support for get_coalesce, set_coalesce ethtool operations

2016-06-14 Thread Ben Hutchings
On Mon, 2016-06-13 at 18:50 -0700, Shrikrishna Khare wrote: [...] > --- a/drivers/net/vmxnet3/vmxnet3_ethtool.c > +++ b/drivers/net/vmxnet3/vmxnet3_ethtool.c > @@ -725,6 +725,164 @@ vmxnet3_set_rss(struct net_device *netdev, const u32 > *p, const u8 *key, >  } >  #endif >   > +static int > +vmxnet

RE: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-14 Thread Mario_Limonciello
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, June 11, 2016 12:42 PM > To: and...@lunn.ch > Cc: Limonciello, Mario ; > hayesw...@realtek.com; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; linux-...@vger.kernel.org; pali.ro...@gmail.com; >

Applied "ASoC: nau8825: mark pm functions __maybe_unused" to the asoc tree

2016-06-14 Thread Mark Brown
The patch ASoC: nau8825: mark pm functions __maybe_unused has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

[PATCH] perf: fix pmu::filter_match for SW-led groups

2016-06-14 Thread Mark Rutland
Commit 66eb579e66ecfea5 ("perf: allow for PMU-specific event filtering") added pmu::filter_match. This was intended to avoid HW constraints on events from resulting in extremely pessimistic scheduling. However, pmu::filter_match is only called for the leader of each event group. When the leader is

Re: [PATCH V4] irq: Track the interrupt timings

2016-06-14 Thread Nicolas Pitre
On Tue, 14 Jun 2016, Daniel Lezcano wrote: > On 06/10/2016 04:52 PM, Thomas Gleixner wrote: > > > > + timings->sum -= timings->values[timings->w_index]; > > > + timings->values[timings->w_index] = diff; > > > + timings->sum += diff; > > > > Now the real question is whether you really need all tha

Applied "ASoC: remove one extraneous 'const'" to the asoc tree

2016-06-14 Thread Mark Brown
The patch ASoC: remove one extraneous 'const' has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus durin

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-14 Thread Bastien Nocera
On Tue, 2016-06-14 at 14:44 +0100, Grant Likely wrote: > On Fri, Jun 10, 2016 at 4:27 PM, Bastien Nocera > wrote: > > On Fri, 2016-06-10 at 08:23 -0700, Srinivas Pandruvada wrote: > > > On Fri, 2016-06-10 at 17:04 +0200, Bastien Nocera wrote: > > > > > > > > > > > [...] > > > > > > > Are there

RE: [PATCH 4/5] nvmet-rdma: add a NVMe over Fabrics RDMA target driver

2016-06-14 Thread Steve Wise
> On Thu, Jun 09, 2016 at 06:03:51PM -0500, Steve Wise wrote: > > The above nvmet cm event handler, nvmet_rdma_cm_handler(), calls > > nvmet_rdma_queue_connect() for CONNECT_REQUEST events, which calls > > nvmet_rdma_alloc_queue (), which, if it encounters a failure (like creating > > the qp), call

Re: Mainlining of Pyra nub joystick driver

2016-06-14 Thread Arnd Bergmann
On Tuesday, June 14, 2016 2:45:23 PM CEST Andrey Utkin wrote: > There's a pair of "nub" devices on Pyra handheld PC > (https://pyra-handheld.com/), and there's driver for nub, which is going > to be reworked for upstreaming. While the device itself fits most to > "joystick" category, the computer i

Re: [PATCH 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

2016-06-14 Thread Dmitry Safonov
On 06/14/2016 05:34 PM, Oleg Nesterov wrote: Well, perhaps we should also remove SA_IA32_ABI|SA_X32_ABI from oact->sa.sa_flags in do_sigaction() to ensure that these non-uapi flags won't leak to user-space, but probably we do not really care. Thanks, I missed that - will mask it out to v2.

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-14 Thread Heiko Stübner
Am Dienstag, 14. Juni 2016, 07:52:13 schrieb Guenter Roeck: > On 06/12/2016 07:10 PM, Frank Wang wrote: > > The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > > than rk3288 and before, and most of phy-related registers are also > > different from the past, so a new phy driver is re

Re: [RFC 05/18] limits: track and present RLIMIT_NOFILE actual max

2016-06-14 Thread Topi Miettinen
On 06/13/16 21:16, Andy Lutomirski wrote: > On Mon, Jun 13, 2016 at 2:13 PM, Topi Miettinen wrote: >> On 06/13/16 20:40, Andy Lutomirski wrote: >>> On 06/13/2016 12:44 PM, Topi Miettinen wrote: Track maximum number of files for the process, present current maximum in /proc/self/limits. >

Re: [PATCH v3 1/2] ASoC: msm8916: Add codec Device Tree bindings.

2016-06-14 Thread Mark Brown
On Fri, Jun 10, 2016 at 07:18:44PM +0100, Srinivas Kandagatla wrote: > +Codec IP is divided into two parts, first analog which is integrated in pmic > pm8916 > +and secondly digital part which is integrated into application processor. > Codec register > +controls are also split across pmic an lp

<    1   2   3   4   5   6   7   8   9   10   >