Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-09 Thread Matthias Brugger
On 07/12/15 09:19, Daniel Kurtz wrote: Bayi, On Mon, Dec 7, 2015 at 12:46 PM, bayi cheng wrote: On Mon, 2015-12-07 at 12:34 +0800, bayi cheng wrote: On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: Bayi, On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: Add Mediatek nor flash nod

[PATCH 3.16.y-ckt 034/126] [media] media: vb2 dma-contig: Fully cache synchronise buffers in prepare and finish

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Tiffany Lin commit d9a985883fa32453d099d6293188c11d75cef1fa upstream. In videobuf2 dma-contig memory type the prepare and finish ops, instead of passing the number of entries in the

[PATCH 3.16.y-ckt 031/126] ext4, jbd2: ensure entering into panic after recording an error in superblock

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Daeho Jeong commit 4327ba52afd03fc4b5afa0ee1d774c9c5b0e85c5 upstream. If a EXT4 filesystem utilizes JBD2 journaling and an error occurs, the journaling will be aborted first and the

[PATCH 3.16.y-ckt 035/126] Bluetooth: hidp: fix device disconnect on idle timeout

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 660f0fc07d21114549c1862e67e78b1cf0c90c29 upstream. The HIDP specs define an idle-timeout which automatically disconnects a device. This has always been implemen

Re: [PATCH v4 1/5] PCI: designware: add memory barrier after enabling region

2015-12-09 Thread Stanimir Varbanov
On 12/09/2015 11:52 AM, Arnd Bergmann wrote: > On Wednesday 09 December 2015 10:10:05 Pratyush Anand wrote: >> On Tue, Dec 8, 2015 at 2:31 PM, Stanimir Varbanov Signed-off-by: Stanimir Varbanov --- drivers/pci/host/pcie-designware.c |5 + 1 file changed, 5 insertions(+

[PATCH 3.16.y-ckt 032/126] vTPM: fix memory allocation flag for rtce buffer at kernel boot

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: "Hon Ching (Vicky) Lo" commit 60ecd86c4d985750efa0ea3d8610972b09951715 upstream. At ibm vtpm initialzation, tpm_ibmvtpm_probe() registers its interrupt handler, ibmvtpm_inter

[PATCH 3.16.y-ckt 026/126] ARM: common: edma: Fix channel parameter for irq callbacks

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi commit 696d8b70c09dd421c4d037fab04341e5b30585cf upstream. In case when the interrupt happened for the second eDMA the channel number was incorrectly passed to the clie

Re: [PATCH v4 17/19] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions

2015-12-09 Thread kbuild test robot
Hi Qais, [auto build test ERROR on tip/irq/core] [also build test ERROR on v4.4-rc4 next-20151208] url: https://github.com/0day-ci/linux/commits/Qais-Yousef/Implement-generic-IPI-support-mechanism/20151208-212743 config: mips-malta_defconfig (attached as .config) reproduce: wget http

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-09 Thread Yankejian (Hackim Yim)
On 2015/12/9 3:55, Al Stone wrote: > On 12/03/2015 03:47 AM, Graeme Gregory wrote: >> On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote: >>> Add support for getting the PHY devices on an MDIO bus by ACPI. >>> Currently many of the ethernet drivers are open coding a solution >>> for readin

[PATCH 3.16.y-ckt 030/126] [PATCH] fix calculation of meta_bg descriptor backups

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Leiserson commit 904dad4742d211b7a8910e92695c0fa957483836 upstream. "group" is the group where the backup will be placed, and is initialized to zero in the declaration. This mea

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Marc Zyngier
On Tue, 8 Dec 2015 17:48:06 -0800 Suravee Suthikulpanit wrote: > This patch introduces gicv2m_acpi_init(), which uses information > in MADT GIC MSI frames structure to initialize GICv2m driver. > > Signed-off-by: Suravee Suthikulpanit > Signed-off-by: Hanjun Guo > --- > drivers/irqchip/irq-gi

[PATCH 3.16.y-ckt 027/126] iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit d14053b3c714178525f22660e6aaf41263d00056 upstream. The VT-d specification says that "Software must enable ATS on endpoint devices behind a Root Port only if th

Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Michael Ellerman
On my p5020ds (powerpc e5500) I'm seeing the following oops with next-20151208: Unable to handle kernel paging request for data at address 0x0048 Faulting instruction address: 0xc0366f78 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=24 CoreNet Generic Modules link

[PATCH 1/2] ASoC: rockchip: i2s: separate capture and playback

2015-12-09 Thread John Keeping
If we only clear the tx/rx state when both are disabled it is not possible to start/stop one multiple times while the other is running. Since the two are independently controlled, treat them as such and remove the false dependency between capture and playback. Signed-off-by: John Keeping --- sou

[PATCH 2/2] ASoC: rockchip: i2s: remove unused variables

2015-12-09 Thread John Keeping
The previous commit removed the only use of these variables. Signed-off-by: John Keeping --- sound/soc/rockchip/rockchip_i2s.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index acc6225..8b0a588 100644

[PATCH 3.16.y-ckt 028/126] Btrfs: fix truncation of compressed and inlined extents

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 0305cd5f7fca85dae392b9ba85b116896eb7c1c7 upstream. When truncating a file to a smaller size which consists of an inline extent that is compressed, we did not dis

[PATCH 3.16.y-ckt 029/126] ext4: fix potential use after free in __ext4_journal_stop

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit 6934da9238da947628be83635e365df41064b09b upstream. There is a use-after-free possibility in __ext4_journal_stop() in the case that we free the handle in the firs

[PATCH 3.16.y-ckt 020/126] ARM: 8427/1: dma-mapping: add support for offset parameter in dma_mmap()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 7e31210349e9e03a9a4dff31ab5f2bc83e8e84f5 upstream. IOMMU-based dma_mmap() implementation lacked proper support for offset parameter used in mmap call (it alwa

[PATCH 3.16.y-ckt 023/126] lockd: create NSM handles per net namespace

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 0ad95472bf169a3501991f8f33f5147f792a8116 upstream. Commit cb7323fffa85 ("lockd: create and use per-net NSM RPC clients on MON/UNMON requests") introduced per-

[PATCH 3.16.y-ckt 025/126] Btrfs: fix file corruption and data loss after cloning inline extents

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 8039d87d9e473aeb740d4fdbd59b9d2f89b2ced9 upstream. Currently the clone ioctl allows to clone an inline extent from one file to another that already has other (no

[PATCH] net : To avoid execution of extra instructions in NET RX path when rps_map is not set but rps_needed is true.

2015-12-09 Thread Rahul Jain
From: Ashutosh Kaushik The patch fixes the issues with check of global flag "rps_needed" in RX Path (which process packets in TCP/IP stack like netif_rx and netif_receive_skb functions) These functions have flag CONFIG RPS which is enabled default in kernel and to enter in RPS mode, it depends

[PATCH 3.16.y-ckt 024/126] Revert "mm: Check if section present during memory block (un)registering"

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 8346aa765e14348b7b436825b3c4740895a2fe1a upstream. This reverts commit 7568fb63f57ac8672f8bf2018171255441238882 as it's already in Linus's tree through a di

[PATCH 3.16.y-ckt 017/126] net: mvneta: Fix CPU_MAP registers initialisation

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Maxime Ripard commit 2502d0ef272da7058ef303b849a2c8dc324c2e2e upstream. The CPU_MAP register is duplicated for each CPUs at different addresses, each instance being at a different ad

Re: [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-12-09 Thread Michael S. Tsirkin
On Sat, Dec 05, 2015 at 12:32:00AM +0800, Lan, Tianyu wrote: > Hi Michael & Alexander: > Thanks a lot for your comments and suggestions. It's nice that it's appreciated, but you then go on and ignore all that I have written here: https://www.mail-archive.com/kvm@vger.kernel.org/msg123826.html > W

[PATCH 3.16.y-ckt 021/126] mm: Check if section present during memory block (un)registering

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit 7568fb63f57ac8672f8bf2018171255441238882 upstream. Tony found on his setup, if memory block size 512M will cause crash during booting. BUG: unable to handle kerne

[PATCH 3.16.y-ckt 022/126] spi: ti-qspi: Fix data corruption seen on r/w stress test

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Vignesh R commit bc27a53928981662079aa243915b443370294a03 upstream. Writing invalid command to QSPI_SPI_CMD_REG will terminate current transfer and de-assert the chip select. This ha

[PATCH 3.16.y-ckt 018/126] mtd: mtdpart: fix add_mtd_partitions error path

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Boris BREZILLON commit e5bae86797141e4a95e42d825f737cb36d7b8c37 upstream. If we fail to allocate a partition structure in the middle of the partition creation process, the already al

[PATCH 3.16.y-ckt 016/126] [media] v4l2-compat-ioctl32: fix alignment for ARM64

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda commit 655e9780ab913a3a06d4a164d55e3b755524186d upstream. Alignment/padding rules on AMD64 and ARM64 differs. To allow properly match compatible ioctls on ARM64 kernels

[PATCH 3.16.y-ckt 014/126] x86/xen: Do not clip xen_e820_map to xen_e820_map_entries when sanitizing map

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Crossley commit 64c98e7f49100b637cd20a6c63508caed6bbba7a upstream. Sanitizing the e820 map may produce extra E820 entries which would result in the topmost E820 entries being

[PATCH 3.16.y-ckt 015/126] HID: core: Avoid uninitialized buffer access

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Purdie commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where

Re: [PATCH net-next 1/2] net: hns: enet specisies a reference to dsaf

2015-12-09 Thread Yankejian (Hackim Yim)
On 2015/12/9 2:10, Florian Fainelli wrote: > Subject: s/specisies/specifies/? Thanks for pointing it out. i will change it in next patchset. Best Regards, yankejian > On 04/12/15 23:59, yankejian wrote: >> enet is associating with dasf. before this patch, the association is >> the same strings

[PATCH 3.16.y-ckt 011/126] net: avoid NULL deref in inet_ctl_sock_destroy()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 8fa677d2706d325d71dab91bf6e6512c05214e37 upstream. Under low memory conditions, tcp_sk_init() and icmp_sk_init() can both iterate on all possible cpus and call in

[PATCH 3.16.y-ckt 010/126] packet: race condition in packet_bind

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Francesco Ruggeri commit 30f7ea1c2b5f5fb7462c5ae44fe2e40cb2d6a474 upstream. There is a race conditions between packet_notifier and packet_bind{_spkt}. It happens if packet_notifier(

[PATCH 3.16.y-ckt 006/126] ipmr: fix possible race resulting from improper usage of IP_INC_STATS_BH() in preemptible context.

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Ani Sinha commit 44f49dd8b5a606870a1f21101522a0f9c4414784 upstream. Fixes the following kernel BUG : BUG: using __this_cpu_add() in preemptible [] code: bash/2758 caller is

[PATCH 3.16.y-ckt 008/126] qmi_wwan: fix entry for HP lt4112 LTE/HSPA+ Gobi 4G Module

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 70910791731b5956171e1bfcad707766b8e18fee upstream. The lt4112 is a HP branded Huawei me906e modem. Like other Huawei modems, it does not have a f

[PATCH 3.16.y-ckt 007/126] net: qmi_wwan: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: David Ward commit a8079092c1bbf9aec3756b35256c7816b8845af7 upstream. This is an HP-branded Sierra Wireless EM7355: https://bugzilla.redhat.com/show_bug.cgi?id=1223646#c2 Signed-off-

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

2015-12-09 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.16.7-ckt21 stable kernel. This version contains 126 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/ubuntu/linux.git/log/?h=linux-3.16.y-

[PATCH 3.16.y-ckt 004/126] RDS-TCP: Recover correctly from pskb_pull()/pksb_trim() failure in rds_tcp_data_recv

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Sowmini Varadhan commit 8ce675ff39b9958d1c10f86cf58e357efaafc856 upstream. Either of pskb_pull() or pskb_trim() may fail under low memory conditions. If rds_tcp_data_recv() ignores s

[PATCH 3.16.y-ckt 003/126] macvtap: unbreak receiving of gro skb with frag list

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit f23d538bc24a83c16127c2eb82c9cf1adc2b5149 upstream. We don't have fraglist support in TAP_FEATURES. This will lead software segmentation of gro skb with frag list. F

Re: [PATCH 1/3] ser_gigaset: fix up NULL checks

2015-12-09 Thread Tilman Schmidt
Am 08.12.2015 um 23:16 schrieb One Thousand Gnomes: > The right fix as far as I can see is to remove the tests although > WARN_ON() combined with your tty->ops change might be safer. Feel free to submit a patch. >> It's pretty obvious that this should have been part of commit >> f34d7a5b7010 ("t

Re: [PATCH v2 1/5] power: domain: add pm_genpd_exit

2015-12-09 Thread Alexander Aring
Hi, On Tue, Dec 08, 2015 at 10:59:00AM -0800, Kevin Hilman wrote: > Jon Hunter writes: > > > On 04/12/15 17:45, Eric Anholt wrote: > >> From: Alexander Aring > >> > >> This patch adds function pm_genpd_exit for undo a pm_genpd_init. This > >> is useful for multiple power domains while probing.

[PATCH 3.16.y-ckt 002/126] qmi_wwan: add Sierra Wireless MC74xx/EM74xx

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 0db65fcfcded76fe4f74e3ca9f4e2baf67b683ef upstream. New device IDs shamelessly lifted from the vendor driver. Signed-off-by: Bjørn Mork Signed-o

Re: [PATCH] net : To avoid execution of extra instructions in NET RX path when rps_map is not set but rps_needed is true.

2015-12-09 Thread Jiri Pirko
Wed, Dec 09, 2015 at 11:35:21AM CET, rahul.j...@samsung.com wrote: >From: Ashutosh Kaushik > >The patch fixes the issues with check of global flag "rps_needed" in RX Path >(which process packets in TCP/IP stack like netif_rx and netif_receive_skb >functions) First of all, if you want people to

Re: Failed to build on 4.2.6

2015-12-09 Thread Luis de Bethencourt
Greg Kroah-Hartman writes: > On Mon, Dec 07, 2015 at 10:25:19AM -0500, Steven Rostedt wrote: >> Hi, >> >> The attached config doesn't build on 4.2.6, but changing it to the >> following: >> >> VIDEO_V4L2_SUBDEV_API n -> y >> +V4L2_FLASH_LED_CLASS n >> >> does build. > > Did this work on older ke

Re: [PATCH v2 1/5] power: domain: add pm_genpd_exit

2015-12-09 Thread Russell King - ARM Linux
On Wed, Dec 09, 2015 at 11:47:58AM +0100, Alexander Aring wrote: > Example: the error case is while probing, how we react on a -EBUSY there > "in an error case" -> simple ignore it? But then nobody see that the use > of this function is wrong. The proper way to deal with functionality that can onl

Re: [PATCH 4/7] perf: Free aux pages in unmap path

2015-12-09 Thread Peter Zijlstra
On Wed, Dec 09, 2015 at 11:57:51AM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > > Yuck, nasty problem. Also, I think its broken. By not having > > mmap_mutex around the whole thing, notably rb_free_aux(), you can race > > against mmap(). > > > > What seems possible now is that: >

Re: [PATCH v2 next 1/2] dts: hisi: fixes no syscon error when init mdio

2015-12-09 Thread Yankejian (Hackim Yim)
On 2015/12/8 23:25, Rob Herring wrote: > On Mon, Dec 07, 2015 at 04:25:06PM +0800, yankejian wrote: >> Signed-nux start up, we get the log below: >> "Hi-HNS_MDIO 803c.mdio: no syscon hisilicon,peri-c-subctrl >> mdio_bus mdio@803c: mdio sys ctl reg has not maped " >> >> the source c

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Peter Zijlstra
On Wed, Dec 09, 2015 at 10:34:02AM +0100, Peter Zijlstra wrote: > Which we can imagine could result in code like: > > foobar: > mov (%rax), %rax# load bar::foo > mov (%rax,1,4), %rax# load foo::val > > > And DWARFs should know this, so by knowing the instruction we can kn

Re: [PATCH 26/34] mm: implement new mprotect_key() system call

2015-12-09 Thread Michael Kerrisk (man-pages)
Hi Dave, On 7 December 2015 at 17:44, Dave Hansen wrote: > On 12/04/2015 10:50 PM, Michael Kerrisk (man-pages) wrote: >> On 12/04/2015 02:15 AM, Dave Hansen wrote: >>> From: Dave Hansen >>> >>> mprotect_key() is just like mprotect, except it also takes a >>> protection key as an argument. On sy

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Joe Mario
[RESEND - this time w/o html junk] On 12/09/2015 04:34 AM, Peter Zijlstra wrote: On Wed, Dec 09, 2015 at 09:04:40AM +0100, Jiri Olsa wrote: On Wed, Dec 09, 2015 at 12:06:44PM +0800, Yunlong Song wrote: Hi, Don, I am interested in the perf c2c tool, which is introduced in: http://lwn.net/

Re: [PATCH 2/3] ser_gigaset: fix deallocation of platform device structure

2015-12-09 Thread Tilman Schmidt
Am 09.12.2015 um 00:12 schrieb Paul Bolle: >> --- a/drivers/isdn/gigaset/ser-gigaset.c >> +++ b/drivers/isdn/gigaset/ser-gigaset.c >> @@ -370,19 +370,23 @@ static void gigaset_freecshw(struct cardstate >> *cs) >> tasklet_kill(&cs->write_tasklet); >> if (!cs->hw.ser) >> retur

[GIT PULL for 4.4] DT/dmaengine: edma: Update for the new bindings

2015-12-09 Thread Peter Ujfalusi
Hi Arnd, Vinod, As Arnd suggested, the two patch from the following series: https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122201.html plus Acked-by from Arnd is available for pull if you prefer that way. Regards, Péter ===

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 09:32:47PM +1100, Michael Ellerman wrote: > Presumably caused by the fact that edac_init() is subsys_initcall(), whereas > corenet_gen_publish_devices() is arch_initcall(). Thanks for the report! Hmm, interesting, can you send .config please? I need to fix this dependency

Re: [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-12-09 Thread Lan, Tianyu
On 12/9/2015 6:37 PM, Michael S. Tsirkin wrote: On Sat, Dec 05, 2015 at 12:32:00AM +0800, Lan, Tianyu wrote: Hi Michael & Alexander: Thanks a lot for your comments and suggestions. It's nice that it's appreciated, but you then go on and ignore all that I have written here: https://www.mail-arc

Re: [PATCH v5 08/11] ARM: STi: Register CPUFreq device

2015-12-09 Thread Lee Jones
On Wed, 09 Dec 2015, Arnd Bergmann wrote: > On Tuesday 08 December 2015 14:32:01 Lee Jones wrote: > > @@ -161,3 +166,11 @@ struct smp_operations __initdata sti_smp_ops = { > > .smp_secondary_init = sti_secondary_init, > > .smp_boot_secondary = sti_boot_secondary, > > }; >

Re: [PATCH 3.16.y-ckt 002/126] qmi_wwan: add Sierra Wireless MC74xx/EM74xx

2015-12-09 Thread Bjørn Mork
Luis Henriques writes: > 3.16.7-ckt21 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= > > commit 0db65fcfcded76fe4f74e3ca9f4e2baf67b683ef upstream. > > New device IDs shamelessly lifted from the vendor dri

Re: [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-12-09 Thread Michael S. Tsirkin
On Wed, Dec 09, 2015 at 07:19:15PM +0800, Lan, Tianyu wrote: > On 12/9/2015 6:37 PM, Michael S. Tsirkin wrote: > >On Sat, Dec 05, 2015 at 12:32:00AM +0800, Lan, Tianyu wrote: > >>Hi Michael & Alexander: > >>Thanks a lot for your comments and suggestions. > > > >It's nice that it's appreciated, but

Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags

2015-12-09 Thread Arnd Bergmann
On Friday 04 December 2015 16:16:33 Vlastimil Babka wrote: > --- a/include/linux/mmdebug.h > +++ b/include/linux/mmdebug.h > @@ -2,15 +2,20 @@ > #define LINUX_MM_DEBUG_H 1 > > #include > +#include > +#include 8<- Subject: mm: fix generated/bounds.h The inclusion of linux/tracepoint.h i

Re: [PATCH v1 1/8] pinctrl: rockchip: add support for the rk3228

2015-12-09 Thread Heiko Stübner
Hi Jeffy, Am Mittwoch, 9. Dezember 2015, 17:04:06 schrieb Jeffy Chen: > The pinctrl of rk3228 is much the same as rk3288's, but > without pmu. > > Signed-off-by: Jeffy Chen After verifying the offset and register-layout values with the TRM Reviewed-by: Heiko Stuebner I just love how that st

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:24PM -0500, Johannes Weiner wrote: > The original cgroup memory controller has an extension to account slab > memory (and other "kernel memory" consumers) in a separate "kmem" > counter, once the user set an explicit limit on that "kmem" pool. > > However, this includ

Re: [PATCH 8/8] mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEM

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:25PM -0500, Johannes Weiner wrote: > Let the user know that CONFIG_MEMCG_KMEM does not apply to the cgroup2 > interface. This also makes legacy-only code sections stand out better. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- To unsubscribe from

Re: [PATCH v2 78/71] ncr5380: Add support for HP 53C400A-based cards (C2502)

2015-12-09 Thread Ondrej Zary
On Tuesday 08 December 2015 12:40:18 Finn Thain wrote: > > On Tue, 8 Dec 2015, Ondrej Zary wrote: > > > HP C2502 cards (based on 53C400A chips) use different magic numbers for > > software-based I/O address configuration than other cards. The > > configuration is also extended to allow setting

[PATCH 2/2] net: thunderx: Enable CQE count threshold interrupt

2015-12-09 Thread Sunil Goutham
From: Sunil Goutham This feature is introduced in pass-2 chip and with this CQ interrupt coalescing will work based on both timer and count. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h |2 ++ drivers/net/ethernet/cavium/thunder/nicvf_main.c |2

[PATCH 1/2] net: thunderx: HW TSO support for pass-2 hardware

2015-12-09 Thread Sunil Goutham
From: Sunil Goutham This adds support for offloading TCP segmentation to HW in pass-2 revision of hardware. Both driver level SW TSO for pass1.x chips and HW TSO for pass-2 chip will co-exist. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h | 12 ++--

Re: [PATCH] MIPS: Fix DMA contiguous allocation

2015-12-09 Thread Mel Gorman
On Tue, Dec 08, 2015 at 02:19:39PM -0800, Andrew Morton wrote: > On Tue, 8 Dec 2015 10:18:50 + Qais Yousef wrote: > > > Recent changes to how GFP_ATOMIC is defined seems to have broken the > > condition > > to use mips_alloc_from_contiguous() in mips_dma_alloc_coherent(). > > > > I couldn't

[PATCH] ASoC: es8328: Fix deemphasis values

2015-12-09 Thread John Keeping
This is using completely the wrong mask and value when updating the register. Since the correct values are already defined in the header, switch to using a table with explicit constants rather than shifting the array index. Signed-off-by: John Keeping --- sound/soc/codecs/es8328.c | 25

Re: [PATCH RESEND 2/3] drm/i915: check for return value

2015-12-09 Thread Sudip Mukherjee
zed > > encoder. > > > > Cc: Daniel Vetter > > Cc: Jani Nikula > > Signed-off-by: Sudip Mukherjee > > Queued for -next, thanks for the patch. > -Daniel Hi Daniel, It is still not there in linux-next. Still applies cleanly on next-20151209. regards sudip > >

Re: [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-12-09 Thread Lan, Tianyu
On 12/9/2015 7:28 PM, Michael S. Tsirkin wrote: I remember reading that it's possible to implement a bus driver on windows if required. But basically I don't see how windows can be relevant to discussing guest driver patches. That discussion probably belongs on the qemu maling list, not on lkml.

[PATCH 0/2] net: thunderx: Support for pass-2 hw features

2015-12-09 Thread Sunil Goutham
From: Sunil Goutham This patch set adds support for new features added in pass-2 revision of hardware like TSO and count based interrupt coalescing. Sunil Goutham (2): net: thunderx: HW TSO support for pass-2 hardware net: thunderx: Enable CQE count threshold interrupt drivers/net/ethernet

Re: [PATCH 3.16.y-ckt 002/126] qmi_wwan: add Sierra Wireless MC74xx/EM74xx

2015-12-09 Thread Luis Henriques
On Wed, Dec 09, 2015 at 12:27:42PM +0100, Bjørn Mork wrote: > Luis Henriques writes: > > > 3.16.7-ckt21 -stable review patch. If anyone has any objections, please > > let me know. > > > > -- > > > > From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= > > > > commit 0db65fcfcded76fe4f74e3ca9f4e

Re: [PATCH] scsi: sim710: fix build warning

2015-12-09 Thread Sudip Mukherjee
Sudip Mukherjee > > --- > A gentle ping. > I still get the build warning while building for i386 allmodconfig with > next-20150915. > Build is at https://travis-ci.org/sudipm-mukherjee/parport/jobs/80365417 Another gentle ping. Build warning with i386 allmodconfig is still the

Re: [PATCH v2] printk: help pr_debug and pr_devel to optimize out arguments

2015-12-09 Thread Arnd Bergmann
On Friday 04 December 2015 16:51:42 Aaron Conole wrote: > --- a/include/linux/printk.h > +++ b/include/linux/printk.h > @@ -106,13 +106,14 @@ struct va_format { > > /* > * Dummy printk for disabled debugging statements to use whilst maintaining > - * gcc's format and side-effect checking. > +

Re: [PATCH v3] drm/gma500: fix double freeing

2015-12-09 Thread Sudip Mukherjee
On Thu, Oct 08, 2015 at 06:17:48PM +0530, Sudip Mukherjee wrote: > We are allocating backing using psbfb_alloc() and so > backing->stolen is always true. So we were freeing backing two times. > Moreover if we follow the execution path then we should be freeing > backing after we have released the h

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread One Thousand Gnomes
On Wed, 9 Dec 2015 13:24:53 +0300 Dan Carpenter wrote: > On 64 bit CPUs there is a memory corruption bug on probe(). It should > be a u32 pointer instead of an unsigned long pointer or we write past > the end of the setupdata[] array. > > Signed-off-by: Dan Carpenter > Reviewed-by: Hannes Rein

Re: [PATCHv6 5/5] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-12-09 Thread Enric Balletbo Serra
Hi Dan, Many thanks for your comments. 2015-12-07 9:09 GMT+01:00 Dan Carpenter : > On Fri, Dec 04, 2015 at 09:35:07AM +0100, Enric Balletbo i Serra wrote: >> +static int sp_wait_aux_op_finish(struct anx78xx *anx78xx) >> +{ >> + u8 errcnt; >> + u8 val; >> + struct device *dev = &anx78x

Re: [PATCH] NFC: nci: fix memory leak

2015-12-09 Thread Sudip Mukherjee
On Mon, Nov 16, 2015 at 06:27:15PM +0530, Sudip Mukherjee wrote: > In case of invalid number_destination_params we were returning error but > we missed releasing cmd. Lets check for the number of parameter before > allocating memory so that we don't have a memory leak. > > Signed-off-by: Sudip Muk

Re: the first bad commit "use memblock_insert_region() for the empty array" (was linux-next: Tree for Dec 9)

2015-12-09 Thread Sergey Senozhatsky
cabc3d3f732505b3ad56009e4a8aba0c7d39a7d7) Revert "mm-memblock-use-memblock_insert_region-for-the-empty-array-checkpatch-fixes" (6bffda3c1dbc17be5bf4cf401fd7c3313542e904) to fix my linux-next. git bisect log git bisect start # bad: [cd1bfb776710ceffca2ca09df029f136318c5a10] Add l

Re: [PATCH] UBI: fix return error code

2015-12-09 Thread Sudip Mukherjee
On Fri, Nov 20, 2015 at 11:17:55AM +0100, Richard Weinberger wrote: > Am 20.11.2015 um 11:14 schrieb Sudip Mukherjee: > > We are checking dfs_rootdir for error value or NULL. But in the > > conditional ternary operator we returned -ENODEV if dfs_rootdir contains > > an error value and returned PTR_

Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err()

2015-12-09 Thread Andy Shevchenko
On Wed, Dec 9, 2015 at 2:03 AM, Joe Perches wrote: > On Tue, 2015-12-08 at 15:28 -0600, Rob Herring wrote: >> On Tue, Dec 8, 2015 at 11:03 AM, Joe Perches wrote: >> > On Tue, 2015-12-08 at 08:16 -0800, Joe Perches wrote: >> > > On Wed, 2015-12-09 at 01:07 +0900, Masahiro Yamada wrote: >> > > > Tr

Re: [PATCH] cpufreq: tegra: add regulator dependency for T124

2015-12-09 Thread Jon Hunter
Hi Arnd, On 08/12/15 21:52, Arnd Bergmann wrote: > This driver is the only one that calls regulator_sync_voltage(), but it > can currently be built with CONFIG_REGULATOR disabled, producing > this build error: > > drivers/cpufreq/tegra124-cpufreq.c: In function 'tegra124_cpu_switch_to_pllx': > dr

RE: [PATCH 1/2] net: thunderx: HW TSO support for pass-2 hardware

2015-12-09 Thread Pavel Fedin
Hello! > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On > Behalf Of Sunil > Goutham > Sent: Wednesday, December 09, 2015 2:38 PM > To: net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > p.f

Re: [PATCH v1] serial: core: support more baud rates when serial console setup

2015-12-09 Thread One Thousand Gnomes
On Wed, 9 Dec 2015 15:07:58 +0800 Jeffy Chen wrote: > Currently, when tring to set up a serial console with a higher > baud rate, it would fallback to 921600. > > So, add more baud rates to the baud rate array. > > Signed-off-by: Jeffy Chen Far simpler I think would be if we finally lost th

Re: [PATCH] UBI: fix return error code

2015-12-09 Thread Richard Weinberger
Am 09.12.2015 um 13:02 schrieb Sudip Mukherjee: > On Fri, Nov 20, 2015 at 11:17:55AM +0100, Richard Weinberger wrote: >> Am 20.11.2015 um 11:14 schrieb Sudip Mukherjee: >>> We are checking dfs_rootdir for error value or NULL. But in the >>> conditional ternary operator we returned -ENODEV if dfs_ro

RE: [PATCH 2/2] net: thunderx: Enable CQE count threshold interrupt

2015-12-09 Thread Pavel Fedin
Hello! > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On > Behalf Of Sunil > Goutham > Sent: Wednesday, December 09, 2015 2:38 PM > To: net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > p.f

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Ondrej Zary
On Wednesday 09 December 2015 12:53:39 One Thousand Gnomes wrote: > On Wed, 9 Dec 2015 13:24:53 +0300 > Dan Carpenter wrote: > > > On 64 bit CPUs there is a memory corruption bug on probe(). It should > > be a u32 pointer instead of an unsigned long pointer or we write past > > the end of the se

corruption causing crash in __queue_work

2015-12-09 Thread Nikolay Borisov
Hello Tejun, I've been observing the following crashes on kernel 4.2.6 : 73309.529940] BUG: unable to handle kernel NULL pointer dereference at (null) [73309.530238] IP: [] __queue_work+0xb3/0x390 [73309.530466] PGD 0 [73309.530681] Oops: [#1] SMP [73309.530947] Modules linked

Re: [PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-12-09 Thread Enric Balletbo Serra
Hello Thierry, 2015-11-19 13:29 GMT+01:00 Enric Balletbo Serra : > Hello Thierry, > > 2015-11-19 12:51 GMT+01:00 Thierry Reding : >> On Tue, Nov 17, 2015 at 11:55:53PM +0100, Enric Balletbo Serra wrote: >>> Hello Thierry, >>> >>> 2015-11-17 13:55 GMT+01:00 Thierry Reding : >>> > On Mon, Nov 16, 20

[PATCH v3 78/71] ncr5380: Add support for HP 53C400A-based cards (C2502)

2015-12-09 Thread Ondrej Zary
HP C2502 cards (based on 53C400A chips) use different magic numbers for software-based I/O address configuration than other cards. The configuration is also extended to allow setting the IRQ. Move the configuration to a new function magic_configure() and move magic the magic numbers into an array.

Re: [PATCH] crypto: fix kernel-doc warnings in crypto/aead.h

2015-12-09 Thread Herbert Xu
On Thu, Dec 03, 2015 at 12:00:41PM -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix 21 occurrences of this kernel-doc warning in : > > ..//include/crypto/aead.h:149: warning: No description found for parameter > 'base' > > Signed-off-by: Randy Dunlap Patch applied. Thanks. -- Email:

Re: [PATCH 1/3] ser_gigaset: fix up NULL checks

2015-12-09 Thread One Thousand Gnomes
On Wed, 9 Dec 2015 11:45:57 +0100 Tilman Schmidt wrote: > Am 08.12.2015 um 23:16 schrieb One Thousand Gnomes: > > The right fix as far as I can see is to remove the tests although > > WARN_ON() combined with your tty->ops change might be safer. > > Feel free to submit a patch. Will do later tod

Re: [PATCH 1/2] blkcipher: Copy iv from desc even for 0-len walks

2015-12-09 Thread Herbert Xu
On Sun, Dec 06, 2015 at 02:51:37AM +0100, Jason A. Donenfeld wrote: > Some ciphers actually support encrypting zero length plaintexts. For > example, many AEAD modes support this. The resulting ciphertext for > those winds up being only the authentication tag, which is a result of > the key, the iv

Re: [PATCH 2/2] chacha20poly1305: Skip encryption/decryption for 0-len

2015-12-09 Thread Herbert Xu
On Sun, Dec 06, 2015 at 02:51:38AM +0100, Jason A. Donenfeld wrote: > If the length of the plaintext is zero, there's no need to waste cycles > on encryption and decryption. Using the chacha20poly1305 construction > for zero-length plaintexts is a common way of using a shared encryption > key for A

Re: [PATCH v3] drm/gma500: fix double freeing

2015-12-09 Thread Patrik Jakobsson
On Wed, Dec 9, 2015 at 12:53 PM, Sudip Mukherjee wrote: > On Thu, Oct 08, 2015 at 06:17:48PM +0530, Sudip Mukherjee wrote: >> We are allocating backing using psbfb_alloc() and so >> backing->stolen is always true. So we were freeing backing two times. >> Moreover if we follow the execution path th

RE: [PATCH] drivers: ata: Move vendor specific sata port phy oob settings to device-tree

2015-12-09 Thread Anurag Kumar Vulisha
Hi Rob, Do you have any further comments on this or shall we proceed with this patch . Thanks, Anurag Kumar V > -Original Message- > From: Anurag Kumar Vulisha > Sent: Tuesday, November 17, 2015 7:54 PM > To: 'Rob Herring' > Cc: pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+dev

Re: [PATCH V4 12/16] Documentation: DT: bindings: Add power domain info for NVIDIA PMC

2015-12-09 Thread Jon Hunter
On 08/12/15 19:07, Kevin Hilman wrote: > Jon Hunter writes: > >> Add power-domain binding documentation for the NVIDIA PMC driver in >> order to support generic power-domains. >> >> Signed-off-by: Jon Hunter >> >> --- >> >> Please note that I have been debating whether I add this >> "nvidia,pow

Re: [PATCH 1/2] net: thunderx: HW TSO support for pass-2 hardware

2015-12-09 Thread Sunil Kovvuri
>> + booltns_mode:1; >> + boolsqs_mode:1; >These little refactors are creeping in your code without even being mentioned in the commit message, this is not good practice. Okay, will include these in the commit message. >IMHO. Additionally, may be t

Re: [PATCH 2/2] net: thunderx: Enable CQE count threshold interrupt

2015-12-09 Thread Sunil Kovvuri
Will take care of above suggestions and resubmit. Thanks, Sunil. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tu

Re: [PATCH V4 12/16] Documentation: DT: bindings: Add power domain info for NVIDIA PMC

2015-12-09 Thread Jon Hunter
On 09/12/15 12:23, Jon Hunter wrote: > > On 08/12/15 19:07, Kevin Hilman wrote: >> Jon Hunter writes: >> >>> Add power-domain binding documentation for the NVIDIA PMC driver in >>> order to support generic power-domains. >>> >>> Signed-off-by: Jon Hunter >>> >>> --- >>> >>> Please note that I h

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Josh Poimboeuf
On Wed, Dec 09, 2015 at 09:03:43AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > > > wouldn't necessarily be a clean split. It would also possibly create > > > > more > > > > room for error for the users of libapi, since there would then be three > > > > config interfaces inste

Re: [PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-12-09 Thread Linus Walleij
On Tue, Dec 8, 2015 at 8:16 PM, Mark Brown wrote: > On Mon, Dec 07, 2015 at 01:58:47PM -0600, Andrew F. Davis wrote: > >> As all of this driver should be taken though the MFD tree how >> can this gpiolib change be handled? If we have gpio.parent it >> will not build on MFD, with gpio.dev it will f

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