[PATCH 3.16.y-ckt 133/183] ntp: Fixup adjtimex freq validation on 32-bit systems

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 29183a70b0b828500816bd794b3fe192fce89f73 upstream. Additional validation of adjtimex freq values to avoid potential multiplication overflows were added in commit 5e

[PATCH 3.16.y-ckt 156/183] net: llc: use correct size for sysctl timeout entries

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 6b8d9117ccb4f81b1244aafa7bc70ef8fa45fc49 upstream. The timeout entries are sizeof(int) rather than sizeof(long), which means that when they were getting read we'd a

[PATCH 3.16.y-ckt 157/183] net: rds: use correct size for max unacked packets and bytes

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit db27ebb111e9f69efece08e4cb6a34ff980f8896 upstream. Max unacked packets/bytes is an int while sizeof(long) was used in the sysctl table. This means that when they w

Re: [PATCH] phy: core: Fixup return value of phy_exit when !pm_runtime_enabled

2015-03-06 Thread Roger Quadros
On 06/03/15 09:55, Axel Lin wrote: > When phy_pm_runtime_get_sync() returns -ENOTSUPP, phy_exit() also returns > -ENOTSUPP if !phy->ops->exit. Fix it. > Also move the code to override ret close to the code we got ret. > I think it is less error prone this way. > > Signed-off-by: Axel Lin Acked-b

[PATCH] dwc3: make LPM configurable in DT

2015-03-06 Thread Robert Baldyga
LPM capability is hardware property, so now it's moved to DT. Signed-off-by: Robert Baldyga --- Documentation/devicetree/bindings/usb/dwc3.txt | 1 + drivers/usb/dwc3/Kconfig | 7 --- drivers/usb/dwc3/core.c| 3 +++ drivers/usb/dwc3/core.h

[PATCH 3.16.y-ckt 160/183] net: sctp: fix race for one-to-many sockets in sendmsg's auto associate

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 2061dcd6bff8b774b4fac8b0739b6be3f87bc9f2 upstream. I.e. one-to-many sockets in SCTP are not required to explicitly call into connect(2) or sctp_connectx(2) prio

[PATCH 3.16.y-ckt 166/183] IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Or Gerlitz commit e9a7faf11af94957e5107b40af46c2e329541510 upstream. The MLX4_PROT_IB_IPV4 protocol should only be used with RoCEv2 and such. Removing this wrong usage allows to run m

[PATCH 3.16.y-ckt 142/183] MIPS: Export MSA functions used by lose_fpu(1) for KVM

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit ca5d25642e212f73492d332d95dc90ef46a0e8dc upstream. Export the _save_msa asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it whe

[PATCH 3.16.y-ckt 164/183] IB/core: When marshaling ucma path from user-space, clear unused fields

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Nelkenbaum commit c2be9dc0e0fa59cc43c2c7084fc42b430809a0fe upstream. When marshaling a user path to the kernel struct ib_sa_path, we need to zero smac and dmac and set the vlan i

[PATCH 3.16.y-ckt 165/183] IB/core: Fix deadlock on uverbs modify_qp error flow

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Moshe Lazer commit 0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b upstream. The deadlock occurs in __uverbs_modify_qp: we take a lock (idr_read_qp) and in case of failure in ib_resolve_eth_

Darlehen anbieten?

2015-03-06 Thread ignace
Wir bieten privaten und gewerblichen Darlehen ohne Sicherheiten, bei 3% Zinsen, ab € 10.000 auf € 90.000.000 in 1 Jahr und 20 Jahren Laufzeit überall in der Welt. !! jetzt bewerben !! Grüße Anna -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[PATCH 3.16.y-ckt 169/183] staging: comedi: cb_pcidas64: fix incorrect AI range code handling

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit be8e89087ec2d2c8a1ad1e3db64bf4efdfc3c298 upstream. The hardware range code values and list of valid ranges for the AI subdevice is incorrect for several supported bo

[PATCH 3.16.y-ckt 162/183] ipv6: mld: fix add_grhead skb_over_panic for devs with large MTUs

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 4c672e4b42bc8046d63a6eb0a2c6a450a501af32 upstream. It has been reported that generating an MLD listener report on devices with large MTUs (e.g. 9000) and a high

[PATCH 3.16.y-ckt 138/183] libceph: assert both regular and lingering lists in __remove_osd()

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 7c6e6fc53e7335570ed82f77656cedce1502744e upstream. It is important that both regular and lingering requests lists are empty when the OSD is removed. Signed-off-by

[PATCH 3.16.y-ckt 163/183] ideapad-laptop: Change Lenovo Yoga 2 series rfkill handling

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit ce363c2bcb2303e7fad3a79398db739c6995141b upstream. It seems that the same problems which lead to adding an rfkill blacklist and putting the Lenovo Yoga 2 11 on it

[PATCH 3.16.y-ckt 167/183] IB/iser: Use correct dma direction when unmapping SGs

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Roi Dayan commit c6c95ef4cec680f7a10aa425a9970744b35b6489 upstream. We always unmap SGs with the same direction instead of unmapping with the direction the mapping was done, fix that.

Re: [PATCH 1/3] phy: omap-control: Remove unneeded ifdef CONFIG_OF guard and of_match_ptr

2015-03-06 Thread Roger Quadros
On 05/03/15 17:29, Axel Lin wrote: > 2015-03-05 18:48 GMT+08:00 Roger Quadros : >> Hi Alex, > It's Axel. My apologies Axel. > >> >> Since we're anyways going to fail probe for !CONFIG_OF, why do you want to >> add the unnecessary device table to the kernel? >> >> what are you benefiting from thi

[PATCH 3.16.y-ckt 171/183] target: Avoid dropping AllRegistrants reservation during unregister

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 6c3c9baa0debeb4bcc52a78c4463a0a97518de10 upstream. This patch fixes an issue with AllRegistrants reservations where an unregister operation by the I_T nexus

[PATCH 3.16.y-ckt 173/183] target: Allow Write Exclusive non-reservation holders to READ

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Lee Duncan commit 1ecc7586922662e3ca2f3f0c3f17fec8749fc621 upstream. For PGR reservation of type Write Exclusive Access, allow all non reservation holding I_T nexuses with active regi

[PATCH 3.16.y-ckt 139/183] libceph: change from BUG to WARN for __remove_osd() asserts

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit cc9f1f518cec079289d11d732efa490306b1ddad upstream. No reason to use BUG_ON for osd request list assertions. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder

[PATCH 3.16.y-ckt 183/183] quota: Store maximum space limit in bytes

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit b10a08194c2b615955dfab2300331a90ae9344c7 upstream. Currently maximum space limit quota format supports is in blocks however since we store space limits in bytes, this

[PATCH 3.16.y-ckt 170/183] target: Fix R_HOLDER bit usage for AllRegistrants

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit d16ca7c5198fd668db10d2c7b048ed3359c12c54 upstream. This patch fixes the usage of R_HOLDER bit for an All Registrants reservation in READ_FULL_STATUS, where o

[PATCH 3.16.y-ckt 168/183] [media] Si2168: increase timeout to fix firmware loading

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jurgen Kramer commit 551c33e729f654ecfaed00ad399f5d2a631b72cb upstream. Increase si2168 cmd execute timeout to prevent firmware load failures. Tests shows it takes up to 52ms to load

[PATCH 3.16.y-ckt 179/183] proc/pagemap: walk page tables under pte lock

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 05fbf357d94152171bc50f8a369390f1f16efd89 upstream. Lockless access to pte in pagemap_pte_range() might race with page migration and trigger BUG_ON(!PageLo

[PATCH 3.16.y-ckt 180/183] ARM: dts: am335x-bone*: usb0 is hardwired for peripheral

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Robert Nelson commit 67fd14b3eca63b14429350e9eadc5fab709a8821 upstream. Fixes: http://bugs.elinux.org/issues/127 the bb.org community was seeing random reboots before this change. S

[PATCH 3.16.y-ckt 172/183] target: Allow AllRegistrants to re-RESERVE existing reservation

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit ae450e246e8540300699480a3780a420a028b73f upstream. This patch changes core_scsi3_pro_release() logic to allow an existing AllRegistrants type reservation to

[PATCH 3.16.y-ckt 175/183] clk: sunxi: Support factor clocks with N factor starting not from 0

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 9a5e6c7eb5ccbb5f0d3a1dffce135f0a727f40e1 upstream. The PLLs on newer Allwinner SoC's, such as the A31 and A23, have a N multiplier factor that starts from 1, not 0

[PATCH 3.16.y-ckt 174/183] vhost/scsi: potential memory corruption

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 59c816c1f24df0204e01851431d3bab3eb76719c upstream. This code in vhost_scsi_make_tpg() is confusing because we limit "tpgt" to UINT_MAX but the data type of "tpg->

[PATCH 3.16.y-ckt 178/183] mm: softdirty: unmapped addresses between VMAs are clean

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Feiner commit 81d0fa623c5b8dbd5279d9713094b0f9b0a00fb4 upstream. If a /proc/pid/pagemap read spans a [VMA, an unmapped region, then a VM_SOFTDIRTY VMA], the virtual pages in the

[PATCH 3.16.y-ckt 176/183] sunxi: clk: Set sun6i-pll1 n_start = 1

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad upstream. For all pll-s on sun6i n == 0 means use a multiplier of 1, rather then 0 as it means on sun4i / sun5i / sun7i.

[PATCH 3.16.y-ckt 177/183] HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Gerecke commit 33e5df0e0e32027866e9fb00451952998fc957f2 upstream. It appears that the Cintiq Companion Hybrid does not send an ABS_MISC event to userspace when any of its Expres

[PATCH 3.16.y-ckt 182/183] caif: remove wrong dev_net_set() call

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 8997c27ec41127bf57421cc0205413d525421ddc upstream. src_net points to the netns where the netlink message has been received. This netns may be different from the

[PATCH 3.16.y-ckt 145/183] debugfs: leave freeing a symlink body until inode eviction

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0db59e59299f0b67450c5db21f7f316c8fb04e84 upstream. As it is, we have debugfs_remove() racing with symlink traversals. Supply ->evict_inode() and do freeing there - inod

[PATCH 3.16.y-ckt 181/183] sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Tim Chen commit 80e3d87b2c5582db0ab5e39610ce3707d97ba409 upstream. This patch adds checks that prevens futile attempts to move rt tasks to a CPU with active tasks of equal or higher p

[PATCH 3.16.y-ckt 115/183] ALSA: hdspm - Constrain periods to 2 on older cards

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Adrian Knoth commit f0153c3d948c1764f6c920a0675d86fc1d75813e upstream. RME RayDAT and AIO use a fixed buffer size of 16384 samples. With period sizes of 32-4096, this translates to 4-

[PATCH 3.16.y-ckt 109/183] mm/memory.c: actually remap enough memory

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 upstream. For whatever reason, generic_access_phys() only remaps one page, but actually allows to access arbitrary si

[PATCH 3.16.y-ckt 097/183] cpufreq: speedstep-smi: enable interrupts when waiting

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit d4d4eda23794c701442e55129dd4f8f2fefd5e4d upstream. On Dell Latitude C600 laptop with Pentium 3 850MHz processor, the speedstep-smi driver sometimes loads and so

[PATCH 3.16.y-ckt 093/183] blk-mq: fix double-free in error path

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 564e559f2baf6a868768d0cac286980b3cfd6e30 upstream. If the allocation of bt->bs fails, then bt->map can be freed twice, once in blk_mq_init_bitmap_tags() -> bt_al

[PATCH 3.16.y-ckt 076/183] [media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 15e1ce33182d1d5dbd8efe8d382b9352dc857527 upstream. A quirk of some older firmwares that report endpoint pipe type as PIPE_BULK but the endpoint otheriwse func

[PATCH 3.16.y-ckt 094/183] drm/radeon: workaround for CP HW bug on CIK

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Christian=20K=C3=B6nig?= commit a9c73a0e022c33954835e66fec3cd744af90ec98 upstream. Emit the EOP twice to avoid cache flushing problems. Signed-off-by: Christian König Sign

[PATCH 3.16.y-ckt 107/183] target: Fix PR_APTPL_BUF_LEN buffer size limitation

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit f161d4b44d7cc1dc66b53365215227db356378b1 upstream. This patch addresses the original PR_APTPL_BUF_LEN = 8k limitiation for write-out of PR APTPL metadata tha

[PATCH 3.16.y-ckt 077/183] mei: mask interrupt set bit on clean reset bit

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 1ab1e79b9fd4b01331490bbe2e630a0fc0b25449 upstream. We should mask interrupt set bit when writing back hcsr value in reset bit clean-up. This is refinement fo

[PATCH 3.16.y-ckt 050/183] Bluetooth: Add support for Broadcom BCM20702A0 variants firmware download

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Heinrich Siebmanns commit 6029ddc2333ae37f637d44beef3a1480cbbb33b9 upstream. This requires the flag BTUSB_BCM_PATCHRAM to work. Relevant details from /sys/kernel/debug/usb/devices fo

[PATCH 3.16.y-ckt 021/183] axonram: Fix bug in direct_access

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Wilcox commit 91117a20245b59f70b563523edbf998a62fc6383 upstream. The 'pfn' returned by axonram was completely bogus, and has been since 2008. Signed-off-by: Matthew Wilcox R

[PATCH 3.16.y-ckt 047/183] PCI: Fix infinite loop with ROM image of size 0

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michel=20D=C3=A4nzer?= commit 16b036af31e1456cb69243a5a0c9ef801ecd1f17 upstream. If the image size would ever read as 0, pci_get_rom_size() could keep processing the same im

[PATCH 3.16.y-ckt 012/183] hx4700: regulator: declare full constraints

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Vajnar commit a52d209336f8fc7483a8c7f4a8a7d2a8e1692a6c upstream. Since the removal of CONFIG_REGULATOR_DUMMY option, the touchscreen stopped working. This patch enables the "re

Re: [PATCH v2 11/18] pinctrl: Add pinctrl driver for STM32 MCUs

2015-03-06 Thread Maxime Coquelin
2015-03-06 10:24 GMT+01:00 Linus Walleij : > On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin > wrote: > >> This driver adds pinctrl and GPIO support to STMicrolectronic's >> STM32 family of MCUs. >> >> Pin muxing and GPIO handling have been tested on STM32F429 >> based Discovery board. >> >> Sign

[3.16.y-ckt stable] Linux 3.16.7-ckt8 stable review

2015-03-06 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.16.7-ckt8 stable kernel. This version contains 183 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.16.y-revi

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-06 Thread Maxime Coquelin
2015-03-06 10:03 GMT+01:00 Linus Walleij : > On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin > wrote: > >> Add a MAINTAINER entry covering all STM32 machine and drivers files. >> >> Signed-off-by: Maxime Coquelin > > (...) >> +F: drivers/clocksource/arm_system_timer.c > > Is that all? And th

Re: [PATCH v10] sched/deadline: support dl task migration during cpu hotplug

2015-03-06 Thread Juri Lelli
Hi, On 05/03/2015 02:12, Wanpeng Li wrote: > I observe that dl task can't be migrated to other cpus during cpu hotplug, > in addition, task may/may not be running again if cpu is added back. The > root cause which I found is that dl task will be throtted and removed from > dl rq after comsuming al

[PATCH v5 06/29] PCI: Pass PCI domain number combined with root bus number

2015-03-06 Thread Yijing Wang
Now we could pass PCI domain combined with bus number in u32 argu. Because in arm/arm64, PCI domain number is assigned by pci_bus_assign_domain_nr(). So we leave pci_scan_root_bus() and pci_create_root_bus() in arm/arm64 unchanged. A new function pci_host_assign_domain_nr() will be introduced for a

Re: x32 + audit status?

2015-03-06 Thread David Drysdale
On Fri, Mar 6, 2015 at 7:28 AM, Paul Moore wrote: > On Thu, Mar 5, 2015 at 6:07 PM, Andy Lutomirski wrote: >> On Mar 5, 2015 10:32 AM, "David Drysdale" wrote: >>> >>> Hi, >>> >>> Do we currently expect the audit system to work with x32 syscalls? >>> >>> I was playing with the audit system for th

[PATCH] rtc: hym8563: return clock rate even when clock is disabled

2015-03-06 Thread Heiko Stuebner
When the clock is disabled, do not return a rate of 0 but instead return the rate the clock will be running at after it gets enabled. This prevents problems when the core clock code is trying to determine a suitable rate, while the clock is still off. Signed-off-by: Heiko Stuebner --- drivers/rt

[PATCH v5 02/29] PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus()

2015-03-06 Thread Yijing Wang
Just like pci_scan_bus(), we also should rip out pci_bus_add_devices() from pci_scan_root_bus(). Lots platforms first call pci_scan_root_bus(), but after that, they call pci_bus_size_bridges() and pci_bus_assign_resources(). Place pci_bus_add_devices() in pci_scan_root_bus() hurts PCI scan logic. F

[PATCH v5 09/29] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-06 Thread Yijing Wang
Introduce pci_host_bridge_list to manage pci host bridges in system, so we could detect whether the host in domain:bus is alreay registered. Then we could remove bus alreay exist test in __pci_create_root_bus(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge

RE: [PATCH v2] ixgbe: make VLAN filter conditional

2015-03-06 Thread Hiroshi Shimamoto
> On Fri, 2015-03-06 at 06:04 +, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > Disable hardware VLAN filtering if netdev->features VLAN flag is > > dropped. > > > > > > In SR-IOV case, there is a use case which needs to disable VLAN > > filter. > > > For example, we need t

[PATCH v5 04/29] PCI: Remove deprecated pci_scan_bus_parented()

2015-03-06 Thread Yijing Wang
No one uses pci_scan_bus_parented() any more, remove it. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 19 --- include/linux/pci.h |2 -- 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/p

[PATCH v5 01/29] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-03-06 Thread Yijing Wang
Pci_bus_add_devices() should not be placed in pci_scan_bus(). Now pci device will be added to driver core once its creation. All things left in pci_bus_add_devices() are driver attachment and other trivial sysfs things. Pci_scan_bus() should be the function responsible for scanning PCI devices, not

[PATCH v5 07/29] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-03-06 Thread Yijing Wang
Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. Later we will remove pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c | 20 +++- include/linux/pci.h |4 2 files changed, 19 i

[PATCH v5 00/29] Refine PCI scan interfaces and make generic pci host bridge

2015-03-06 Thread Yijing Wang
v4-v5: Fix some code style issues and rename some functions suggested by Bjorn. Fix some code flaw(Eg. call pci_bus_add_devices() before resources claim or lack the return checking). v3->v4: Fix the rebase issue. v2->v3: Rebase this series on v4.0-rc1. v1->v2

[PATCH v5 08/29] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-06 Thread Yijing Wang
This patch separate pci_host_bridge creation out of pci_create_root_bus(), and try to make a generic pci_host_bridge, then we could place generic PCI infos like domain number in it. Also Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better readability. Further more,

Right interface for cellphone modem audio (was Re: [PATCHv2 0/2] N900 Modem Speech Support)

2015-03-06 Thread Pavel Machek
Hi! > >>Userland access goes via /dev/cmt_speech. The API is implemented in > >>libcmtspeechdata, which is used by ofono and the freesmartphone.org project. > >Yes, the ABI is "tested" for some years, but it is not documented, and > >it is very wrong ABI. > > > >I'm not sure what they do with the

[PATCH v5 05/29] PCI: Combine PCI domain and bus number in u32 arg

2015-03-06 Thread Yijing Wang
Currently, we use int type for bus number in pci_create_root_bus(), pci_scan_root_bus() and pci_scan_bus_legacy. Because PCI bus number always <= 255, so we could change the bus number argument type to u32, and combine PCI domain and bus number in one. Also add a domain member in pci_host_bridge to

[PATCH v5 15/29] powerpc/pci: Rename pcibios_root_bridge_prepare()

2015-03-06 Thread Yijing Wang
Pcibios_root_bridge_prepare() in powerpc is used to set root bus speed. Rename it to pcibios_set_root_bus_speed() for better readability. Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/machdep.h

[PATCH v5 13/29] x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-06 Thread Yijing Wang
Signed-off-by: Yijing Wang CC: Thomas Gleixner CC: x...@kernel.org Signed-off-by: Bjorn Helgaas --- arch/x86/pci/acpi.c | 36 1 files changed, 20 insertions(+), 16 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index ad0e926..e730d31

[PATCH v5 20/29] PCI: Introduce pci_bus_child_max_busnr()

2015-03-06 Thread Yijing Wang
Sometimes, we need to know the highest reserved busnr for children bus. Because parent's bus->busn_res could have padding in it. This function return the max child busnr as pci_scan_child_bus(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Signed-off-by: Fengguang Wu --- drivers/pci

[PATCH v5 22/29] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-06 Thread Yijing Wang
Mvebu_pcie_scan_bus() is not necessary, we could use pci_common_init_dev() instead of pci_common_init(), and pass the device pointer as the parent. Then pci_scan_root_bus() will be called to scan the pci busses. Signed-off-by: Yijing Wang CC: Thomas Petazzoni CC: Jason Cooper Signed-off-by: Bjo

[PATCH v5 23/29] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-06 Thread Yijing Wang
Now pci_scan_root_bus() is almost similar to pci_create_root_bus() + pci_scan_child_bus(). So we could use common pci_scan_root_bus() in pci_common_init_dev() to scan pci busses. tegra_pcie_scan_bus() is redundant, remove it. Signed-off-by: Yijing Wang CC: Thierry Reding CC: linux-te...@vger.ker

[PATCH v5 17/29] PCI: Remove weak pcibios_root_bridge_prepare()

2015-03-06 Thread Yijing Wang
Now no one use weak pcibios_root_bridge_prepare(), we could remove it. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 16 +--- include/linux/pci.h |2 -- 2 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/pci/probe.c b/dr

[PATCH v5 21/29] parisc/PCI: Use pci_scan_root_bus() for simplicity

2015-03-06 Thread Yijing Wang
From: Yijing Wang Now pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), we could use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: "James E.J. Bottomley" CC: linux-par...@vger.kernel.org Signed-off-b

[PATCH v5 19/29] sparc/PCI: Use pci_scan_host_bridge() for simplicity

2015-03-06 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide sparc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang CC: "David S. Miller" CC: sparcli...@vger.kernel.org Signed-off-by: Bjorn Helgaas --- arch/sparc/kernel/pci.c | 32 ++-- 1 files chang

[PATCH v5 25/29] PCI/xgene: Use pci_scan_root_bus() instead of pci_create_root_bus()

2015-03-06 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Tanmay Inamdar Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pci-xgene.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pci/hos

Re: [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-06 Thread Chentao (Boby)
On 2015/3/4 18:34, David Vrabel wrote: On 04/03/15 18:32, Tao Chen wrote: Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the code easier to

[PATCH v5 27/29] PCI: Export find_pci_host_bridge() and rename to pci_find_host_bridge()

2015-03-06 Thread Yijing Wang
Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge.c |6 +++--- drivers/pci/pci.h |2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index bc1de59..51f0a82 100644 --- a/drive

[PATCH v5 16/29] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-03-06 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Suggested-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/machdep.h

[PATCH v5 29/29] PCI: Remove pci_bus_assign_domain_nr()

2015-03-06 Thread Yijing Wang
Now we save the domain number in pci_host_bridge, we could remove pci_bus_assign_domain_nr() and clean the domain member in pci_bus. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c |5 - drivers/pci/probe.c | 12 include/linux/pci.h |3

[PATCH v5 28/29] PCI: Remove platform specific pci_domain_nr()

2015-03-06 Thread Yijing Wang
Now pci_host_bridge holds the domain number, so we could eliminate all platform specific pci_domain_nr(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- arch/alpha/include/asm/pci.h |2 -- arch/ia64/include/asm/pci.h |1 - arch/microblaze/pci/pci-common.c | 11 --

[PATCH v5 11/29] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-06 Thread Yijing Wang
Now we have weak functions like pcibios_root_bridge_prepare() to setup pci host bridge, We could introduce pci_host_bridge_ops which contain host bridge specific ops to setup pci_host_bridge. Then host bridge driver could add pci_host_bridge_ops hooks intead of weak function to setup pci_host_bridg

[PATCH v5 18/29] sparc/PCI: Claim bus resources before pci_bus_add_devices()

2015-03-06 Thread Yijing Wang
Pci_claim_bus_resources() should be called before pci_bus_add_devices(), or driver may failed to load, because the resources had not claimed. Signed-off-by: Yijing Wang --- arch/sparc/kernel/pci.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/sparc/kernel/pci.c

[PATCH v5 26/29] PCI: Rename __pci_create_root_bus() to pci_create_root_bus()

2015-03-06 Thread Yijing Wang
Now no one use pci_create_root_bus(), we could remove it and rename __pci_create_root_bus() to pci_create_root_bus(). Signed-off-by: wangyij...@huawei.com Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 27 --- include/linux/pci.h |3 --- 2 files changed, 8 i

[PATCH v5 24/29] PCI/designware: Use pci_scan_root_bus() for simplicity

2015-03-06 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Mohit Kumar CC: Jingoo Han Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pcie-designware.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --g

[PATCH v5 14/29] ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-06 Thread Yijing Wang
From: Yijing Wang Signed-off-by: Yijing Wang CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org Signed-off-by: Bjorn Helgaas --- arch/ia64/pci/pci.c | 34 ++ 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch

[PATCH v5 12/29] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-06 Thread Yijing Wang
Introduce new scan function pci_scan_host_bridge() to support host bridge drivers that need to provide platform own pci_host_bridge_ops. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 22 ++ include/linux/pci.h |4 2 files change

[PATCH v5 03/29] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-06 Thread Yijing Wang
From: Arnd Bergmann Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Konrad Rzeszutek Wilk CC: xen-de...@lists.xenproject.org Signed-off-by: Bjorn Helgaas --- drivers/pci/xen-pcifront.c | 11 +++

[PATCH v5 10/29] PCI: Save sysdata in pci_host_bridge drvdata

2015-03-06 Thread Yijing Wang
Save platform specific sysdata in pci_host_bridge drvdata, host bridge specific operation need to access it before the pci bus creation. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge.c |4 +++- drivers/pci/pci.h |4 +++- drivers/pci/probe.c

Re: [PATCH v2 10/18] dt-bindings: Document the STM32 pin controller

2015-03-06 Thread Linus Walleij
I saw this other thing: On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 pin controller. > > Signed-off-by: Maxime Coquelin (...) > +- altmode : Should be mode or alternate function number associated this pin, > as > +des

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Naoya Horiguchi
On Fri, Mar 06, 2015 at 10:27:38AM +0100, Borislav Petkov wrote: > On Fri, Mar 06, 2015 at 09:09:30AM +, Naoya Horiguchi wrote: > > I'm not sure why that works, could you elabroate it? > > Because the _safe() variants are only for handling reads to possibly > non-existent MSRs. The _STATUS MSR

Re: [PATCH v2] ixgbe: make VLAN filter conditional

2015-03-06 Thread Jeff Kirsher
On Fri, 2015-03-06 at 06:04 +, Hiroshi Shimamoto wrote: > > From: Hiroshi Shimamoto > > > > Disable hardware VLAN filtering if netdev->features VLAN flag is > dropped. > > > > In SR-IOV case, there is a use case which needs to disable VLAN > filter. > > For example, we need to make a network

Re: [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-06 Thread Chentao (Boby)
On 2015/3/5 0:32, Joe Perches wrote: On Wed, 2015-03-04 at 18:32 +, Tao Chen wrote: Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Fri, Mar 06, 2015 at 09:09:30AM +, Naoya Horiguchi wrote: > I'm not sure why that works, could you elabroate it? Because the _safe() variants are only for handling reads to possibly non-existent MSRs. The _STATUS MSRs which you're accessing are guaranteed to be present, otherwise __mcheck_c

[RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-06 Thread Zhang Zhen
Hi, I'm testing 4.0-rc1 kernel on my board with 8250 Designware UART.(ARM Cortex-a15 single core). I found if serial is busy and writes to the LCR failed after tried 1000 times. The kernel will hung up. The system boot success after changed from: 95 st

Re: [PATCH v2 11/18] pinctrl: Add pinctrl driver for STM32 MCUs

2015-03-06 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This driver adds pinctrl and GPIO support to STMicrolectronic's > STM32 family of MCUs. > > Pin muxing and GPIO handling have been tested on STM32F429 > based Discovery board. > > Signed-off-by: Maxime Coquelin (...) > +config PINCTRL_ST

smsc911x driver - suspend/resume

2015-03-06 Thread Ran Shalit
Hello, I try to figure out when the resume function is called in smsc911x driver: http://lxr.free-electrons.com/source/drivers/net/ethernet/smsc/smsc911x.c According to datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/9220.pdf There is the following sequence: 1. host set mode to D1 (sleep

Re: [PATCH v2 10/18] dt-bindings: Document the STM32 pin controller

2015-03-06 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 pin controller. > > Signed-off-by: Maxime Coquelin (...) > +Pin controller node: > +Required properies: > +- compatible : "st,stm32-pinctrl" > +- #address-cells: The value

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Socket(s): 32 > NUMA node(s): 4 Urgh, with 32 'cpus' per socket, you still do _8_ sockets per node, for a total of 256 cpus per node. That's painful. I don't suppose you can really change the hardware, but that's

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Naoya Horiguchi
On Fri, Mar 06, 2015 at 09:34:21AM +0100, Borislav Petkov wrote: > On Fri, Mar 06, 2015 at 02:59:13AM +, Naoya Horiguchi wrote: > > From 8890e9976c525a4b480bf5f86008641688de8c11 Mon Sep 17 00:00:00 2001 > > From: Naoya Horiguchi > > Date: Fri, 6 Mar 2015 11:52:10 +0900 > > Subject: [PATCH v6]

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Since each domain is a superset of the lower one each pass through > load_balance regularly repeats the processing of the previous domain (e.g., > NODE domain repeats the cpus in the CPU domain). Then multiplying that > across 1024 cpus

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-06 Thread Linus Walleij
On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin wrote: > Add a MAINTAINER entry covering all STM32 machine and drivers files. > > Signed-off-by: Maxime Coquelin (...) > +F: drivers/clocksource/arm_system_timer.c Is that all? And that is not even a STM32 specific driver. Yours, Linus Wall

Re: [PATCH 07/14] clockevent: Add STM32 Timer driver

2015-03-06 Thread Linus Walleij
On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin wrote: > STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. > The drivers detects whether the time is 16 or 32 bits, and applies a > 1024 prescaler value if it is 16 bits. > > Signed-off-by: Maxime Coquelin This is a nice d

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Hi Peter/Mike/Ingo: > > Does that make sense or am I off in the weeds? How much of your story pertains to 3.18? I'm not particularly interested in anything much older than that. -- To unsubscribe from this list: send the line "unsubsc

<    4   5   6   7   8   9   10   >