[PATCH for v4.9 LTS 55/87] HID: ignore Petzl USB headlamp

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jiri Kosina [ Upstream commit 08f9572671c8047e7234cbf150869aa3c3d59a97 ] This headlamp contains a dummy HID descriptor which pretends to be a mouse-like device, but can't be used as a mouse at all. Reported-by: Lukas Ocilka Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- dri

[PATCH for v4.9 LTS 51/87] ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Ioan-Adrian Ratiu [ Upstream commit 13a6c8328e6056932dc680e447d4c5e8ad9add17 ] Testing EP_FLAG_RUNNING in snd_complete_urb() before running the completion logic allows us to save a few cpu cycles by returning early, skipping the pending urb in case the stream was stopped; the stop logic ha

[PATCH for v4.9 LTS 42/87] video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit 4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 ] Here, If devm_ioremap will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav Acked-by: Yoichi Yuasa Signed

[PATCH for v4.9 LTS 19/87] spi: dw: Make debugfs name unique between instances

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Phil Reid [ Upstream commit 13288bdf4adbaa6bd1267f10044c1bc25d90ce7f ] Some system have multiple dw devices. Currently the driver uses a fixed name for the debugfs dir. Append dev name to the debugfs dir name to make it unique. Signed-off-by: Phil Reid Signed-off-by: Mark Brown Signed-o

[PATCH for v4.9 LTS 44/87] vfio-pci: Handle error from pci_iomap

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit e19f32da5ded958238eac1bbe001192acef191a2 ] Here, pci_iomap can fail, handle this case release selected pci regions and return -ENOMEM. Signed-off-by: Arvind Yadav Signed-off-by: Alex Williamson Signed-off-by: Sasha Levin --- drivers/vfio/pci/vfio_pci.c |

[PATCH for v4.9 LTS 41/87] perf symbols: Robustify reading of build-id from sysfs

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Arnaldo Carvalho de Melo [ Upstream commit 7934c98a6e04028eb34c1293bfb5a6b0ab630b66 ] Markus reported that perf segfaults when reading /sys/kernel/notes from a kernel linked with GNU gold, due to what looks like a gold bug, so do some bounds checking to avoid crashing in that case. Report

[PATCH for v4.9 LTS 37/87] Btrfs: adjust outstanding_extents counter properly when dio write is split

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Liu Bo [ Upstream commit c2931667c83ded6504b3857e99cc45b21fa496fb ] Currently how btrfs dio deals with split dio write is not good enough if dio write is split into several segments due to the lack of contiguous space, a large dio write like 'dd bs=1G count=1' can end up with incorrect out

[PATCH for v4.9 LTS 34/87] Btrfs: use down_read_nested to make lockdep silent

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Liu Bo [ Upstream commit e321f8a801d7b4c40da8005257b05b9c2b51b072 ] If @block_group is not @used_bg, it'll try to get @used_bg's lock without droping @block_group 's lock and lockdep has throwed a scary deadlock warning about it. Fix it by using down_read_nested. Signed-off-by: Liu Bo Re

[PATCH for v4.9 LTS 26/87] dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit 75bdc7f31a3a6e9a12e218b31a44a1f54a91554c ] Add some missing 'of_node_put()' in early exit error path. Signed-off-by: Christophe JAILLET Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/ti-dma-crossbar.c | 2 ++ 1 file changed, 2

[PATCH for v4.9 LTS 39/87] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Daniel Bristot de Oliveira [ Upstream commit 074859184d770824f4437dca716bdeb625ae8b1c ] Currently, the sched:sched_switch tracepoint reports deadline tasks with priority -1. But when reading the trace via perf script I've got the following output: # ./d & # (d is a deadline task, see [1

[PATCH for v4.9 LTS 27/87] usb: dwc3: omap: fix race of pm runtime with irq handler in probe

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Grygorii Strashko [ Upstream commit 12a7f17fac5b370bec87259e4c718faf563ce900 ] Now races can happen between interrupt handler execution and PM runtime in error handling code path in probe and in dwc3_omap_remove() which will lead to system crash: in probe: ... err1: pm_runtime_pu

[PATCH for v4.9 LTS 57/87] scsi: snic: Return error code on memory allocation failure

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Burak Ok [ Upstream commit 0371adcdaca92912baaa3256ed13e058a016e62d ] If a call to mempool_create_slab_pool() in snic_probe() returns NULL, return -ENOMEM to indicate failure. mempool_creat_slab_pool() only fails if it cannot allocate memory. https://bugzilla.kernel.org/show_bug.cgi?id=18

[PATCH for v4.9 LTS 31/87] ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Krzysztof Kozlowski [ Upstream commit 3ef01c968fbfb21c2f16281445d30a865ee4412c ] NF_CT_PROTO_DCCP/SCTP/UDPLITE were switched from tristate to boolean so defconfig needs to be adjusted to silence warnings: warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP warning: symbo

[PATCH for v4.9 LTS 40/87] perf tools: Install tools/lib/traceevent plugins with install-bin

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Arnaldo Carvalho de Melo [ Upstream commit 30a9c6444810429aa2b7cbfbd453ce339baaadbf ] Those are binaries as well, so should be installed by: make -C tools/perf install-bin' too. Cc: Alexander Shishkin Cc: Daniel Bristot de Oliveira Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Steven Roste

[PATCH for v4.9 LTS 04/87] dt-bindings: power/supply: Update TPS65217 properties

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Milo Kim [ Upstream commit 81d7358d7038dd1001547950087e5b0641732f3f ] Add interrupt specifiers for USB and AC charger input. Interrupt numbers are from the datasheet. Fix wrong property for compatible string. Signed-off-by: Milo Kim Acked-by: Rob Herring Signed-off-by: Tony Lindgren Si

[PATCH for v4.9 LTS 30/87] perf probe: Fix to get correct modname from elf header

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Masami Hiramatsu [ Upstream commit 1f2ed153b916c95a49a1ca9d7107738664224b7f ] Since 'perf probe' supports cross-arch probes, it is possible to analyze different arch kernel image which has different bits-per-long. In that case, it fails to get the module name because it uses the MOD_NAME_

[PATCH for v4.9 LTS 14/87] drm/msm: Put back the vaddr in submit_reloc()

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jordan Crouse [ Upstream commit 6490abc4bc35fa4f3bdb9c7e49096943c50e29ea ] The error cases in submit_reloc() need to put back the virtual address of the bo before failling. Add a single failure path for the function. Signed-off-by: Jordan Crouse Signed-off-by: Rob Clark Signed-off-by: S

[PATCH for v4.9 LTS 29/87] ARM64: zynqmp: Fix i2c node's compatible string

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Moritz Fischer [ Upstream commit c415f9e8304a1d235ef118d912f374ee2e46c45d ] The Zynq Ultrascale MP uses version 1.4 of the Cadence IP core which fixes some silicon bugs that needed software workarounds in Version 1.0 that was used on Zynq systems. Signed-off-by: Moritz Fischer Cc: Michal

[PATCH for v4.9 LTS 15/87] drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jordan Crouse [ Upstream commit a6cb3b864b21b7345f824a4faa12b723c8aaf099 ] For every submission buffer object one of MSM_SUBMIT_BO_WRITE and MSM_SUBMIT_BO_READ must be set (and nothing else). If we allowed zero then the buffer object would never get queued to be unreferenced. Signed-off-b

[PATCH for v4.9 LTS 22/87] openrisc: Add _text symbol to fix ksym build error

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Stafford Horne [ Upstream commit 086cc1c31a0ec075dac02425367c871bb65bc2c9 ] The build robot reports: .tmp_kallsyms1.o: In function `kallsyms_relative_base': >> (.rodata+0x8a18): undefined reference to `_text' This is when using 'make alldefconfig'. Adding this _text symbol to mark the

[PATCH for v4.9 LTS 18/87] ASoC: tlv320aic3x: Mark the RESET register as volatile

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Peter Ujfalusi [ Upstream commit 63c3194b82530bd71fd49db84eb7ab656b8d404a ] The RESET register only have one self clearing bit and it should not be cached. If it is cached, when we sync the registers back to the chip we will initiate a software reset as well, which is not desirable. Signe

[PATCH for v4.9 LTS 02/87] r8169: add support for RTL8168 series add-on card.

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Chun-Hao Lin [ Upstream commit 610c908773d30907c950ca3b2ee8ac4b2813537b ] This chip is the same as RTL8168, but its device id is 0x8161. Signed-off-by: Chun-Hao Lin Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/realtek/r8169.c | 1 + 1 file changed

[PATCH for v4.9 LTS 25/87] l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Guillaume Nault [ Upstream commit 97b84fd6d91766ea57dcc350d78f42639e011c30 ] An L2TP socket bound to the unspecified address should match with any address. If not, it can't receive any packet and __l2tp_ip6_bind_lookup() can't prevent another socket from binding on the same device/tunnel I

[PATCH for v4.9 LTS 21/87] irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Stefan Wahren [ Upstream commit 88e20c74ee020f9e0c99dfce0dd9aa61c3f0cca0 ] The ICOLL controller doesn't provide any facility to configure the wakeup sources. That's the reason why this implementation lacks the irq_set_wake implementation. But this prevent us from properly entering power ma

[PATCH for v4.9 LTS 24/87] dmaengine: ioatdma: workaround SKX ioatdma version

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Dave Jiang [ Upstream commit 34a31f0af84158955a9747fb5c6712da5bbb5331 ] The Skylake ioatdma is technically CBDMA 3.2+ and contains the same hardware bits with some additional 3.3 features, but it's not really 3.3 where the driver is concerned. Signed-off-by: Dave Jiang Signed-off-by: Vin

[PATCH for v4.9 LTS 23/87] dmaengine: ioatdma: Add Skylake PCI Dev ID

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Dave Jiang [ Upstream commit 1594c18fd297a8edcc72bc4b161f3f52603ebb92 ] Adding Skylake Xeon PCI device ids for ioatdma and related bits. Signed-off-by: Dave Jiang Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/ioat/hw.h | 2 ++ drivers/dma/ioat/init.c | 9 +

[PATCH for v4.9 LTS 20/87] ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: John Hsu [ Upstream commit a1792cda51300e15b03549cccf0b09f3be82e697 ] The clk_ref_div is not configured in the correct position of the register. The patch fixes that clk_ref_div, Pre-Scalar, is assigned the wrong value. Signed-off-by: John Hsu Signed-off-by: Mark Brown Signed-off-by: Sa

[PATCH for v4.9 LTS 12/87] net/mlx4_core: Fix raw qp flow steering rules under SRIOV

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jack Morgenstein [ Upstream commit 10b1c04e92229ebeb38ccd0dcf2b6d3ec73c0575 ] Demoting simple flow steering rule priority (for DPDK) was achieved by wrapping FW commands MLX4_QP_FLOW_STEERING_ATTACH/DETACH for the PF as well, and forcing the priority to MLX4_DOMAIN_NIC in the wrapper funct

[PATCH for v4.9 LTS 01/87] x86/mce/AMD: Make the init code more robust

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Thomas Gleixner [ Upstream commit 0dad3a3014a0b9e72521ff44f17e0054f43dcdea ] If mce_device_init() fails then the mce device pointer is NULL and the AMD mce code happily dereferences it. Add a sanity check. Reported-by: Markus Trippelsdorf Reported-by: Boris Ostrovsky Signed-off-by: Tho

[PATCH for v4.9 LTS 17/87] irqchip/keystone: Fix "scheduling while atomic" on rt

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: "Strashko, Grygorii" [ Upstream commit 2f884e6e688a0deb69e6c9552e51aef8b7e3f5f1 ] The below call chain generates "scheduling while atomic" backtrace and causes system crash when Keystone 2 IRQ chip driver is used with RT-kernel: gic_handle_irq() |-__handle_domain_irq() |-generic_handle

[PATCH for v4.9 LTS 13/87] drm/msm: Ensure that the hardware write pointer is valid

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jordan Crouse [ Upstream commit 88b333b0ed790f9433ff542b163bf972953b74d3 ] Currently the value written to CP_RB_WPTR is calculated on the fly as (rb->next - rb->start). But as the code is designed rb->next is wrapped before writing the commands so if a series of commands happened to fit pe

[PATCH for v4.9 LTS 06/87] ARM: dts: am57xx-idk: Put USB2 port in peripheral mode

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Roger Quadros [ Upstream commit 5acd016c88937be3667ba4e6b60f0f74455b5e80 ] USB2 port can be operated in dual-role mode but till we have dual-role support in dwc3 driver let's limit this port to peripheral mode. If we don't do so it defaults to host mode. USB1 port is meant for host only o

[PATCH for v4.9 LTS 05/87] dt-bindings: input: Specify the interrupt number of TPS65217 power button

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Milo Kim [ Upstream commit 820381572fc015baa4f5744f5d4583ec0c0f1b82 ] Specify the power button interrupt number which is from the datasheet. Signed-off-by: Milo Kim Acked-by: Rob Herring Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- Documentation/devicetree/bindings/inp

[PATCH for v4.9 LTS 11/87] net/mlx4: Remove BUG_ON from ICM allocation routine

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Leon Romanovsky [ Upstream commit c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa ] This patch removes BUG_ON() macro from mlx4_alloc_icm_coherent() by checking DMA address alignment in advance and performing proper folding in case of error. Fixes: 5b0bf5e25efe ("mlx4_core: Support ICM tables in

[PATCH for v4.9 LTS 10/87] net/mlx4_core: Use-after-free causes a resource leak in flow-steering detach

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Jack Morgenstein [ Upstream commit 3b01fe7f91c8e4f9afc4fae3c5af72c14958d2d8 ] mlx4_QP_FLOW_STEERING_DETACH_wrapper first removes the steering rule (which results in freeing the rule structure), and then references a field in this struct (the qp number) when releasing the busy-status on the

Re: [PATCH net-next 2/4] net-next: mediatek: add platform data to adapt into various hardware

2017-07-14 Thread Sean Wang
On Wed, 2017-07-12 at 16:50 +0200, Andrew Lunn wrote: > > +static int mtk_clk_enable(struct mtk_eth *eth) > > +{ > > + int clk, ret; > > + > > + for (clk = 0; clk < MTK_CLK_MAX ; clk++) { > > + if (eth->clks[clk]) { > > + ret = clk_prepare_enable(eth->clks[clk]); > >

[PATCH for v4.9 LTS 07/87] ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Pali Rohár [ Upstream commit 4cf48f1d7520a4d325af58eded4d8090e1b40be7 ] Trying to initialize eMMC slot as SDIO or SD cause failure in n900 port of qemu. eMMC itself is not detected and is not working. Real Nokia N900 harware does not have this problem. As eMMC is really not SDIO or SD bas

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 16:15:23 -0700 Jim Davis escreveu: > On Thu, Jul 6, 2017 at 1:54 AM, Markus Heiser > wrote: > > > 52b3f23 Docs: clean up some DocBook loose ends > > Speaking of minor loose ends, > > make SPHINXDIRS=userspace-api pdfdocs > > works -- though now that it's all sphinx, w

[RFC v3] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Tested on Fedora 26 and Ubuntu 17.04. Signed-off-by: Mauro Carvalho Chehab --- v3: check for DeJavu fonts on Ubuntu and add "sudo" to Fedora instructions v2: add support for Fedora 26 scripts/sphinx-pre-ins

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 19:35:59 +0200 Markus Heiser escreveu: > > Am 14.07.2017 um 18:49 schrieb Mauro Carvalho Chehab > > : > > > > Solving Sphinx dependencies can be painful. Add a script to > > check if everything is ok. > > just my 5cent: > > What we need is a "requirements.txt" file to de

Re: [PATCH v5 3/3] pinctrl: sprd: Add Spreadtrum pin control driver

2017-07-14 Thread kbuild test robot
Hi Baolin, [auto build test WARNING on v4.12] [cannot apply to pinctrl/devel robh/for-next next-20170714] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/pinctrl-Add-sleep-related

[PATCH] pinctrl: sprd: fix platform_no_drv_owner.cocci warnings

2017-07-14 Thread kbuild test robot
drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c:950:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: c4e438f44054 ("pinctrl: sprd: Add Spreadtrum pin control

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Mike Galbraith
On Fri, 2017-07-14 at 14:42 -0500, Josh Poimboeuf wrote: > > Does this fix it? Yup, both READONLY __bug_table and "extra stern" warning are gone. > diff --git a/arch/x86/include/asm/bug.h b/arch/x86/include/asm/bug.h > index 39e702d..aa6b202 100644 > --- a/arch/x86/include/asm/bug.h > +++ b/arch

[PATCH] drm/vgem: add compat_ioctl support

2017-07-14 Thread Brian Norris
DRM drivers should supply a compat version if they're going to provide an ioctl implementation at all. This can confuse 32-bit user space on a 64-bit system. Signed-off-by: Brian Norris --- drivers/gpu/drm/vgem/vgem_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vgem/v

Re:

2017-07-14 Thread Saif Al-Islam
I need your assistance in a transaction that will benefit you details will be disclosed to you once i receive your reply. Regards, Saif.

Re: [PATCH 5/5] sched: Accumulate vtime on top of nsec clocksource

2017-07-14 Thread Levin, Alexander (Sasha Levin)
Riel >Cc: Peter Zijlstra >Cc: Thomas Gleixner >Cc: Wanpeng Li >Cc: Ingo Molnar >Cc: Luiz Capitulino >Signed-off-by: Frederic Weisbecker Hi all, This patch seems to be causing this: BUG: using smp_processor_id() in preemptible [] code: kworker/u9:0/6 caller is debug_

Re: [ANNOUNCE] Git v2.14.0-rc0

2017-07-14 Thread Christian Couder
On Sat, Jul 15, 2017 at 1:17 AM, Ævar Arnfjörð Bjarmason wrote: > > On Thu, Jul 13 2017, Junio C. Hamano jotted: >> * "git send-email" learned to overcome some SMTP server limitation >>that does not allow many pieces of e-mails to be sent over a single >>session. > > Makes it sound like

Re: [PATCH 3/3] fat: fix quoted string splits

2017-07-14 Thread Joe Perches
On Sat, 2017-07-15 at 04:20 +0300, Andy Shevchenko wrote: > On Sat, Jul 15, 2017 at 2:05 AM, Carlos Palminha > wrote: > > corrects quoted string split across lines, based on checkpatch. > > At some point you may switch > > fat_msg(sb, KERN_ERR, ...) > > to > > fat_fs_error(sb, ...) The output

Re: [PATCH 05/14] isdn: isdnloop: suppress a gcc-7 warning

2017-07-14 Thread Kevin Easton
On Fri, Jul 14, 2017 at 12:37:05PM +0200, Arnd Bergmann wrote: > On Fri, Jul 14, 2017 at 12:08 PM, Joe Perches wrote: > > On Fri, 2017-07-14 at 11:25 +0200, Arnd Bergmann wrote: > >> We test whether a bit is set in a mask here, which is correct > >> but gcc warns about it as it thinks it might be

[PATCH 00/10] Constify isdn pci_device_id's.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Arvind Yadav (10): [PATCH 01/10] isdn: hisax: constify pci_device_id. [PATCH 02/10] isdn: hisax: hfc4s8s_l1: constif

[PATCH 07/10] isdn: mISDN: w6692: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 139594080 24 18063468f isdn/hardware

[PATCH 05/10] isdn: mISDN: netjet: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 109411776 16 1273331bd isdn/hardware

[PATCH 09/10] isdn: mISDN: hfcpci: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 216561024 96 2277658f8 isdn/hardware

[PATCH 10/10] isdn: avm: c4: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 11803 544 1 12348303c isdn/hardware

[PATCH 03/10] isdn: hisax: hisax_fcpcipnp: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 5989 576 0656519a5 isdn/hisax/hi

[PATCH 08/10] isdn: mISDN: avmfritz: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 99631936 16 119152e8b isdn/hardware

[PATCH 04/10] isdn: eicon: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 6224 655 868871ae7 isdn/hardware

[PATCH 06/10] isdn: mISDN: hfcmulti: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 6345015361492 66478 103ae isdn/hardware

[PATCH 01/10] isdn: hisax: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1368620644416 201664ec6 drivers/isdn/

[PATCH 02/10] isdn: hisax: hfc4s8s_l1: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 10512 536 4 110522b2c drivers/isdn/

Re: [PATCH 5/5] dt-bindings: Document the Rockchip RGA bindings

2017-07-14 Thread Jacob Chen
Hi rob, 2017-06-29 6:29 GMT+08:00 Rob Herring : > On Mon, Jun 26, 2017 at 10:53:22PM +0800, Jacob Chen wrote: >> Add DT bindings documentation for Rockchip RGA >> >> Signed-off-by: Yakir Yang >> Signed-off-by: Jacob Chen >> --- >> .../devicetree/bindings/media/rockchip-rga.txt | 36 >>

[PATCH] firewire: nosy: constify pci_device_id.

2017-07-14 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 5796 389 061851829 drivers/firew

Re: [HMM 12/15] mm/migrate: new memory migration helper for use with device memory v4

2017-07-14 Thread Evgeny Baskakov
On 7/14/17 5:55 PM, Jerome Glisse wrote: So pushed an updated hmm-next branch this should fix all issues you had. Thought i am not sure about the test in this mail, all i see is that it continously spit error messages but it does not hang (i let it run 20min or so). Dunno if that is what expected

Re: [PATCH 0/2] Avoid crashes by early (boot) consoles using init memory

2017-07-14 Thread Fabio M. Di Nitto
On 7/14/2017 4:37 PM, Petr Mladek wrote: > On Fri 2017-07-14 14:57:45, Fabio M. Di Nitto wrote: >> Hi Petr, >> >> On 7/14/2017 2:51 PM, Petr Mladek wrote: >>> Some early consoles have code and data in the init section. It makes some >>> sense but this might cause problems when they are not replaced

[PATCH] debug: fix WARN_ON_ONCE() for modules

2017-07-14 Thread Josh Poimboeuf
Mike Galbraith reported a situation where a WARN_ON_ONCE() call in DRM code turned into an oops. As it turns out, WARN_ON_ONCE() seems to be completely broken when called from a module. The bug was introduced with the following commit: 19d436268dde ("debug: Add _ONCE() logic to report_bug()")

Re: [RFC V2 1/6] cpufreq: Replace "max_transition_latency" with "dynamic_switching"

2017-07-14 Thread Dominik Brodowski
On Sat, Jul 15, 2017 at 12:06:24AM +0200, Rafael J. Wysocki wrote: > On Friday, July 14, 2017 01:11:58 PM Rafael J. Wysocki wrote: > > On Fri, Jul 14, 2017 at 9:01 AM, Dominik Brodowski > > wrote: > > > On Thu, Jul 13, 2017 at 06:19:53PM +0200, Rafael J. Wysocki wrote: > > >> On Thu, Jul 13, 2017

Re: [PATCH 5/5] sched: Accumulate vtime on top of nsec clocksource

2017-07-14 Thread Wanpeng Li
;Cc: Ingo Molnar >>Cc: Luiz Capitulino >>Signed-off-by: Frederic Weisbecker > > Hi all, > > This patch seems to be causing this: Yeah, there is a patch to fix it. https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0e4097c3354e2f5a5ad8affd9dc7f7f7d00bb6b9

[drm/nouveau] GeForce 8600 GT boot/suspend grumbling

2017-07-14 Thread Mike Galbraith
Greetings, box: bog standard [tc]rusty old Nvidia equipped Q6600 Medion (Aldi) deskside kernel: master.today (v4.12-11690-gccd5d1b91f22) lspci -nn -d 10de: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G84 [GeForce 8600 GT] [10de:0402] (rev a1) abreviated dmesg: ... [3.720990

[PATCH net] jhash: fix -Wimplicit-fallthrough warnings

2017-07-14 Thread Jakub Kicinski
GCC 7 added a new -Wimplicit-fallthrough warning. It's only enabled with W=1, but since linux/jhash.h is included in over hundred places (including other global headers) it seems worthwhile fixing this warning. Signed-off-by: Jakub Kicinski --- If it looks good, would it be OK to take it via the

Re: [RFC 1/2] PM / suspend: Add platform_suspend_target_state()

2017-07-14 Thread Pavel Machek
On Sat 2017-07-15 00:16:16, Rafael J. Wysocki wrote: > On Wednesday, July 12, 2017 11:08:19 AM Florian Fainelli wrote: > > On 06/29/2017 04:00 PM, Rafael J. Wysocki wrote: > > > On Thursday, June 22, 2017 06:08:36 PM Florian Fainelli wrote: > > >> Add an optional platform_suspend_ops callback: targ

Re: [PATCH] debug: fix WARN_ON_ONCE() for modules

2017-07-14 Thread Mike Galbraith
On Sat, 2017-07-15 at 00:10 -0500, Josh Poimboeuf wrote: > > The bug table was made writable for vmlinux, which relies on > vmlinux.lds.S and vmlinux.lds.h for laying out the sections. However, > it wasn't made writable for modules, which rely on the ELF section > header flags. It seems vmlinux

BUG Needs Broader Audience (Bisect Successfull, Bugzilla #196343) : CDROM-related bug introduced in 4.11 merge window makes kernel freeze instead of doing read retires.

2017-07-14 Thread Vecu Bosseur
Hi all, I happened to stumble into some (Linux kernel) bug a few days ago and hopefully managed to collect evidences of its cause, bissection for instance. I was really in need to share my report with the Community, but pitifully failed to spot the right mailing lists involved. That's why some of

Re: [PATCH] kernel: cpu: send CPU_UP_CANCELLED notification

2017-07-14 Thread Greg KH
On Fri, Jul 14, 2017 at 02:50:28PM -0700, Channagoud Kadabi wrote: > If any of the callbacks during cpu up fail undo_cpu_up calls the > teardown call backs to rollback states but does not send > CPU_UP_CANCELLED. As on 4.9 kernel some drivers still use the > notification mechanism for cpu hotplug w

[PATCH v2 0/6] Add Rockchip RGA V4l2 support

2017-07-14 Thread Jacob Chen
This patch series add a v4l2 m2m drvier for rockchip RGA direct rendering based 2d graphics acceleration module. change in V2: - generalize the controls. - map buffers (10-50 us) in every cmd-run rather than in buffer-import to avoid get_free_pages failed on actively used systems. - remove statu

[PATCH v2 2/6] [media] rockchip/rga: v4l2 m2m support

2017-07-14 Thread Jacob Chen
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness. The drvier is mostly based on s5p-g2d v4l2 m2m driver. And supports various operations from t

[PATCH v2 3/6] ARM: dts: rockchip: add RGA device node for RK3288

2017-07-14 Thread Jacob Chen
This patch add the RGA dt config of rk3288 SoC. Signed-off-by: Yakir Yang Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 1efc2f2..83d025d 100644 --

[PATCH v2 1/6] [media] v4l: add blend modes controls

2017-07-14 Thread Jacob Chen
At peresent, we don't have a control for Compositing and Blend. All drivers are just doing copies while actually many hardwares supports more functions. So Adding V4L2 controls for Compositing and Blend, used for for composting streams. The values are based on porter duff operations. Defined in b

<    3   4   5   6   7   8