Use of GCC plugin instead ISO C

2018-02-18 Thread Progyan Bhattacharya
Hi Again, According to last time talked, you said me to avoid "-Werror=pedantic" flag to build the GNU specific plugins instead of Standard ISO C. I changed my default compiler flags and tried to rebuild. But I am still getting the same error messages at: CC /***/Linux/tools/objtool/arch/

Re: [PATCH] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version

2018-02-18 Thread Kai-Heng Feng
> On 16 Feb 2018, at 8:10 PM, Hans de Goede wrote: > > > Ok, I've asked the reporter of: > > https://bugzilla.redhat.com/show_bug.cgi?id=1514836 > > Which is how I got involved in this to provide DMI data and > I will whip up a patch for his machine and ask him to test > and once that is don

[RESEND PATCH v2] checkpatch: add Crypto ON_STACK to declaration_macros

2018-02-18 Thread Gilad Ben-Yossef
Add the crypto API *_ON_STACK to $declaration_macros. Resolves the following false warning: WARNING: Missing a blank line after declarations + int err; + SHASH_DESC_ON_STACK(desc, ctx_p->shash_tfm); Acked-by: Greg Kroah-Hartman Signed-off-by: Gilad Be

linux-next: Signed-off-by missing for commit in the tip tree

2018-02-18 Thread Stephen Rothwell
Hi all, Commit f091f1d6a2b4 ("tools/headers: Synchronize kernel ABI headers, v4.16-rc1") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpcEKyb3pYjf.pgp Description: OpenPGP digital signature

[PATCH] drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

2018-02-18 Thread Kai-Heng Feng
Similar to commit e10aec652f31 ("drm/edid: Add 6 bpc quirk for display AEO model 0."), the EDID reports "DFP 1.x compliant TMDS" but it support 6bpc instead of 8 bpc. Hence, use 6 bpc quirk for this panel. Fixes: 196f954e2509 ("drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capa

Re: powerpc: add empty update_numa_cpu_lookup_table for !CONFIG_NUMA

2018-02-18 Thread Michael Ellerman
On Wed, 2018-02-14 at 12:17:47 UTC, Corentin Labbe wrote: > When CONFIG_NUMA is not set, build fail with: > arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4: error: déclaration > implicite de la fonction « update_numa_cpu_lookup_table » > [-Werror=implicit-function-declaration] > > So we

[char-misc 2/2] mei: me: add cannon point device ids for 4th device

2018-02-18 Thread Tomas Winkler
Add cannon point device ids for 4th (itouch) device. Cc: 4.14+ Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me-regs.h | 2 ++ drivers/misc/mei/pci-me.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h index bda3bd8f

[char-misc 1/2] mei: me: add cannon point device ids

2018-02-18 Thread Tomas Winkler
From: Alexander Usyskin Add CNP LP and CNP H device ids for cannon lake and coffee lake platforms. Cc: 4.14+ Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me-regs.h | 3 +++ drivers/misc/mei/pci-me.c | 3 +++ 2 files changed, 6 insertions(+) diff

Re: [PATCH] mm: Fix races between address_space dereference and free in page_evicatable

2018-02-18 Thread Minchan Kim
Hi Huang, On Mon, Feb 12, 2018 at 04:12:27PM +0800, Huang, Ying wrote: > From: Huang Ying > > When page_mapping() is called and the mapping is dereferenced in > page_evicatable() through shrink_active_list(), it is possible for the > inode to be truncated and the embedded address space to be fre

RE: [PATCH 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-02-18 Thread Avri Altman
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Adrian Hunter > Sent: Friday, February 16, 2018 2:01 PM > To: Vinayak Holikatti ; Martin K. Petersen > ; James E.J. Bottomley > > Cc: Stanislav Nijnikov ; Jaegeuk Kim >

[no subject]

2018-02-18 Thread norsk5
greetings Linux https://goo.gl/eHEqzY

Re: i2c-designware: sound and s2ram broken on Broadwell-U system since commit ca382f5b38f367b6 (add i2c gpio recovery option)

2018-02-18 Thread Dominik Brodowski
On Sat, Feb 17, 2018 at 10:57:01PM +0200, Andy Shevchenko wrote: > On Sat, 2018-02-17 at 17:58 +0100, Dominik Brodowski wrote: > > On Sat, Feb 17, 2018 at 05:09:40PM +0200, Andy Shevchenko wrote: > > > This patch fixes the issue, thanks. > > I will send it soon out. > > > Do you still need the

Re: [PATCH v5] drm/rockchip: Add device links for master and components

2018-02-18 Thread Heiko Stuebner
Hi, Am Mittwoch, 7. Februar 2018, 18:53:09 CET schrieb Enric Balletbo i Serra: > From: Jeffy Chen > > Since we are trying to access components' resources in the master's > suspend/resume PM callbacks(e.g. panel), add device links to correct > the suspend/resume and shutdown ordering. > > Signed

Re: [PATCH v3 01/43] drm/rockchip: Get rid of unnecessary struct fields

2018-02-18 Thread Heiko Stuebner
Am Dienstag, 30. Januar 2018, 21:28:31 CET schrieb Thierry Escande: > From: Tomasz Figa > > This patch removes unused fields from vop structure. > > Signed-off-by: Tomasz Figa > Signed-off-by: Sean Paul > Signed-off-by: Thierry Escande applied to drm-misc Thanks Heiko

Re: [PATCH v3 02/43] drm/rockchip: support prime import sg table

2018-02-18 Thread Heiko Stuebner
Am Dienstag, 30. Januar 2018, 21:28:32 CET schrieb Thierry Escande: > From: Haixia Shi > > The prime fd to handle ioctl was not used with rockchip before. Support > was added in order to pass graphics_Gbm and to support potential uses > within Chrome OS (e.g. zero-copy video decode, camera). > >

Re: [PATCH v3 03/43] drm/rockchip: Respect page offset for PRIME mmap calls

2018-02-18 Thread Heiko Stuebner
Am Dienstag, 30. Januar 2018, 21:28:33 CET schrieb Thierry Escande: > From: Ørjan Eide > > When mapping external DMA-bufs through the PRIME mmap call, we might be > given an offset which has to be respected. However for the internal DRM > GEM mmap path, we have to ignore the fake mmap offset used

Re: [PATCH 06/23] kconfig: reference environments directly and remove 'option env=' syntax

2018-02-18 Thread Ulf Magnusson
On Sat, Feb 17, 2018 at 03:38:34AM +0900, Masahiro Yamada wrote: > To get an environment value, Kconfig needs to define a symbol using > "option env=" syntax. It is tedious to add a config entry for each > environment given that we need more environments such as 'CC', 'AS', > 'srctree' etc. to eva

Re: [PATCH v2 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE

2018-02-18 Thread kbuild test robot
/commits/Lina-Iyer/drivers-qcom-add-RPMH-communication-support/20180218-075659 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Hello Beautiful

2018-02-18 Thread Jack
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am curre

[PATCH] staging:r8188eu: Use lib80211 to decrypt WEP-frames

2018-02-18 Thread Ivan Safonov
Use native lib80211 WEP decrypt instead of custom implementation. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/Kconfig| 2 + drivers/staging/rtl8188eu/core/rtw_recv.c| 2 +- drivers/staging/rtl8188eu/core/rtw_security.c| 80 +--- dri

Re: [PATCH] drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

2018-02-18 Thread Mario Kleiner
On 02/18/2018 09:53 AM, Kai-Heng Feng wrote: Similar to commit e10aec652f31 ("drm/edid: Add 6 bpc quirk for display AEO model 0."), the EDID reports "DFP 1.x compliant TMDS" but it support 6bpc instead of 8 bpc. Hence, use 6 bpc quirk for this panel. Fixes: 196f954e2509 ("drm/i915/dp: Revert "d

[RFC PATCH v2 2/5] x86/entry/64: move ENTER_IRQ_STACK from interrupt macro to helper function

2018-02-18 Thread Dominik Brodowski
Moving the switch to IRQ stack from the interrupt macro to the helper function requires some trickery: All ENTER_IRQ_STACK really cares about is where the "original" stack -- meaning the GP registers etc. -- is stored. Therefore, we need to offset the stored RSP value by 8 whenever ENTER_IRQ_STACK

[RFC PATCH v2 4/5] x86/entry/64: remove interrupt macro

2018-02-18 Thread Dominik Brodowski
It is now trivial to call the interrupt helper function and then the actual worker. Therefore, remove the interrupt macro. Suggested-by: Linus Torvalds Signed-off-by: Dominik Brodowski --- arch/x86/entry/entry_64.S | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff

[RFC PATCH v2 0/5] x86/entry/64: interrupt entry size reduction

2018-02-18 Thread Dominik Brodowski
Here is a re-spin of the interrupt entry size reduction patchset, which applies on top of tip/pti and tries to implement what Linus suggested a few days ago.[*] Patch 1/5 provides the most significant cuttings (-3k) and gets us below the text size of entry_64.o (by about 2k) compared to before I s

[RFC PATCH v2 5/5] x86/entry/64: open-code switch_to_thread_stack

2018-02-18 Thread Dominik Brodowski
Open-code the two instances which used switch_to_thread_stack. This allows us to remove the wrapper around DO_SWITCH_TO_THREAD_STACK. While at it, update the UNWIND hint to reflect where the IRET frame is. Signed-off-by: Dominik Brodowski --- arch/x86/entry/entry_64.S| 59 ++

[RFC PATCH v2 1/5] x86/entry/64: move PUSH_AND_CLEAR_REGS from interrupt macro to helper function

2018-02-18 Thread Dominik Brodowski
The PUSH_AND_CLEAR_REGS macro is able to insert the GP registers "above" the original return address. This allows us to move a sizeable part of the interrupt entry macro to an interrupt entry helper function: textdata bss dec hex filename 21088 0 0 210885260

[RFC PATCH v2 3/5] x86/entry/64: move switch_to_thread_stack to interrupt helper function

2018-02-18 Thread Dominik Brodowski
We can also move the SWAPGS and the switch_to_thread_stack to the interrupt helper function. As we do not want call depths of two, convert switch_to_thread_stack to a macro. However, switch_to_thread_stack has another user in entry_64_compat.S, which currently expects it to be a function. To keep

Re: [PATCH] x86/microcode/intel: Check microcode revision before updating sibling threads

2018-02-18 Thread Ingo Molnar
* Raj, Ashok wrote: > Hi Ingo > > On Sat, Feb 17, 2018 at 08:50:53AM +0100, Ingo Molnar wrote: > > > > Also, more fundamentally, during microcode early testing, isn't it possible > > for > > internal iterations of the microcode to have the same revision, but be > > different? > > Atleast w

Re: [PATCH v2 1/9] lib/test_printf: Mark big constant with ULL

2018-02-18 Thread Luc Van Oostenryck
On Fri, Feb 16, 2018 at 11:07:03PM +0200, Andy Shevchenko wrote: > Sparse complains that constant is so bit for unsigned long on 64-bit > architecture. > > lib/test_printf.c:217:54: warning: constant 0x0123456789ab is so big it > is unsigned long > lib/test_printf.c:246:54: warning: constant

Re: [PATCH v3] rtc: isl12026: Add driver. (fwd)

2018-02-18 Thread Julia Lawall
he wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/David-Daney/rtc-isl12026-Add-driver/20180218-072946 base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next :: branch date: 13 hours ago :

Re: [PATCH v2 1/2] jump_label: Explicitly disable jump labels in __init code

2018-02-18 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Sat, 17 Feb 2018, Josh Poimboeuf wrote: > > On Sat, Feb 17, 2018 at 11:38:48AM +0100, Ingo Molnar wrote: > > > > > > * Josh Poimboeuf wrote: > > > > > > > +/* Disable any jump label entries in __init code */ > > > > +void __init jump_label_invalidate_init(void) >

Re: [PATCH] libata-scsi: Delete an unnecessary variable in ata_scsi_slave_config()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 06:26:30PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 18:19:13 +0100 > > * Return a result code without storing it in an intermediate variable. > > * Reduce the needed source code. > > Signed-off-by: Markus Elfring > --- > drivers/a

Re: [PATCH v2 1/2] jump_label: Explicitly disable jump labels in __init code

2018-02-18 Thread Ingo Molnar
* Ingo Molnar wrote: > 2) code robustness > > For example: > > for (i = 0; i < 10; i++) > if (foo) > bar(i); > baz(i); > > Is probably buggy code, although technically it's valid syntax and will > compile > just fine. > > If

Re: [PATCH 2/3] pata_arasan_cf: Delete an unnecessary variable initialisation in arasan_cf_probe()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 04:59:01PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 16:28:23 +0100 > > The local variable "ret" will eventually be set to an appropriate value > a bit later. Thus omit the explicit initialisation at the beginning. > > Signed-off-by:

Re: [PATCH 3/3] pata_arasan_cf: Move two variable assignments in arasan_cf_probe()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 05:00:11PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 16:42:26 +0100 > > Move assignments for the local variables "irq_handler" and "pdata" > so that their setting will only be performed after a call > of the function "devm_kzalloc" suc

Re: [PATCH] pata_samsung_cf: Delete an error message for a failed memory allocation in pata_s3c_probe()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 11:08:18AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 10:55:51 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

Re: [PATCH] sata_dwc_460ex: Delete an error message for a failed memory allocation in sata_dwc_port_start()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 11:39:13AM +0200, Andy Shevchenko wrote: > On Thu, 2018-02-15 at 22:22 +0100, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Thu, 15 Feb 2018 22:15:25 +0100 > > > > Omit an extra message for a memory allocation failure in this > > function. > > > > This issue

Re: [PATCH] pata_mpc52xx: Delete an error message for a failed memory allocation in mpc52xx_ata_probe()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 11:44:13AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 11:34:53 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

Re: [PATCH 1/3] pata_macio: Delete an error message for a failed memory allocation in two functions

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 01:38:20PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 13:01:45 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus

Re: [PATCH 1/2] pata_it821x: Delete an error message for a failed memory allocation in it821x_firmware_command()

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 03:22:18PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 16 Feb 2018 14:04:49 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

Re: [PATCH] libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 10:48:20AM +0100, Hans de Goede wrote: > Various people have reported the Crucial MX100 512GB model not working > with LPM set to min_power. I've now received a report that it also does > not work with the new med_power_with_dipm level. > > It does work with medium_power, b

Re: [PATCH v2 3/3] percpu: allow select gfp to be passed to underlying allocators

2018-02-18 Thread Tejun Heo
On Fri, Feb 16, 2018 at 12:09:58PM -0600, Dennis Zhou wrote: > The prior patch added support for passing gfp flags through to the > underlying allocators. This patch allows users to pass along gfp flags > (currently only __GFP_NORETRY and __GFP_NOWARN) to the underlying > allocators. This should al

include/linux/compiler.h:183: undefined reference to `__tracepoint_dwc3_readl'

2018-02-18 Thread kbuild test robot
Hi Zhenyu, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c786427f57b6dc4f56f9a84da52b41216e94f125 commit: c20164dbd508c410f5d5f6b121e6cfae7c2da8ba drm/i915/gvt: always use i915_reg_t for MMIO handl

Re: [PATCH] sata_dwc_460ex: Delete an error message for a failed memory allocation in sata_dwc_port_start()

2018-02-18 Thread Andy Shevchenko
On Sun, Feb 18, 2018 at 3:22 PM, Tejun Heo wrote: > On Fri, Feb 16, 2018 at 11:39:13AM +0200, Andy Shevchenko wrote: >> On Thu, 2018-02-15 at 22:22 +0100, SF Markus Elfring wrote: >> > From: Markus Elfring >> > Date: Thu, 15 Feb 2018 22:15:25 +0100 >> > >> > Omit an extra message for a memory all

[PATCH v2] libata: disable LPM for Crucial BX100 SSD 500GB drive

2018-02-18 Thread Kai-Heng Feng
After Laptop Mode Tools starts to use min_power for LPM, a user found out Crucial BX100 SSD can't get mounted. Crucial BX100 SSD 500GB drive don't work well with min_power. This also happens to med_power_with_dipm. So let's disable LPM for Crucial BX100 SSD 500GB drive. BugLink: https://bugs.lau

Re: [PATCH v2 1/9] lib/test_printf: Mark big constant with ULL

2018-02-18 Thread Andy Shevchenko
On Sun, Feb 18, 2018 at 2:58 PM, Luc Van Oostenryck wrote: > On Fri, Feb 16, 2018 at 11:07:03PM +0200, Andy Shevchenko wrote: >> Sparse complains that constant is so bit for unsigned long on 64-bit >> architecture. >> >> lib/test_printf.c:217:54: warning: constant 0x0123456789ab is so big it

Re: i2c-designware: sound and s2ram broken on Broadwell-U system since commit ca382f5b38f367b6 (add i2c gpio recovery option)

2018-02-18 Thread Andy Shevchenko
On Sun, Feb 18, 2018 at 11:41 AM, Dominik Brodowski wrote: > On Sat, Feb 17, 2018 at 10:57:01PM +0200, Andy Shevchenko wrote: >> On Sat, 2018-02-17 at 17:58 +0100, Dominik Brodowski wrote: >> > Do you still need the DEBUG_GPIO output? >> >> It would be nice to have, though if it makes difficulti

Re: [PATCH 08/10] gpio: Add gpio driver for Actions OWL S900 SoC

2018-02-18 Thread Andy Shevchenko
On Sat, Feb 17, 2018 at 10:44 PM, Manivannan Sadhasivam wrote: > Add gpio driver for Actions Semi OWL family S900 SoC. Set of registers > controlling the gpio shares the same register range with pinctrl block. > > GPIO registers are organized as 6 banks and each bank controls the > maximum of 32 g

Re: [PATCH] arm64: dts: actions: Convert to new-style SPDX license identifiers

2018-02-18 Thread Andreas Färber
Am 21.01.2018 um 17:23 schrieb Andreas Färber: > Move SPDX-License-Identifier to the top and add one for the Makefile. > > Signed-off-by: Andreas Färber > --- > arch/arm64/boot/dts/actions/Makefile | 2 ++ > arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 3 +-- > arch/arm64/boo

Re: [PATCH] ARM: dts: owl: Convert to new-style SPDX license identifiers

2018-02-18 Thread Andreas Färber
Am 21.01.2018 um 17:39 schrieb Andreas Färber: > Move the SPDX-License-Identifier lines to the top. > > Signed-off-by: Andreas Färber > --- > arch/arm/boot/dts/owl-s500-cubieboard6.dts | 3 +-- > arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts | 3 +-- > arch/arm/boot/dts/owl-s500-guitar.dtsi

Re: [PATCH] i40evf: remove redundant array comparisons to 0 checks

2018-02-18 Thread Andy Shevchenko
On Fri, Feb 16, 2018 at 6:53 PM, Colin Ian King wrote: > On 16/02/18 16:51, Andy Shevchenko wrote: >> On Thu, Feb 15, 2018 at 9:42 PM, Colin King wrote: >>> + filter->f.mask.tcp_spec.dst_ip[i] |= >>> >>> cpu_to_be32(0

Re: [PATCH] soc: actions: Convert to SPDX license identifiers

2018-02-18 Thread Andreas Färber
Am 21.01.2018 um 18:01 schrieb Andreas Färber: > Replace textual license notices with SPDX-License-Identifier lines. > Add an SPDX-License-Identifier for the Makefile. > > Signed-off-by: Andreas Färber > --- > drivers/soc/actions/Makefile | 2 ++ > drivers/soc/actions/owl-sps-helper.c |

Seeking guidance on spelling fixes

2018-02-18 Thread David Frey
I noticed a common spelling mistake in some Linux kernel code that I was reading the other day and it made me wonder how prevalent common spelling mistakes are in the kernel. I did some grepping and it seems that there are a large number of spelling mistakes. I did a bit of searching and I found

Re: [PATCH v2] tools/memory-model: Make compat with herd7 7.47 ("-" -> "_")

2018-02-18 Thread Akira Yokosawa
On 2018/02/14 14:52:38 -0800, Paul E. McKenney wrote: > On Thu, Feb 15, 2018 at 07:20:35AM +0900, Akira Yokosawa wrote: >> On 2018/02/09 17:07:03 -0800, Paul E. McKenney wrote: >>> On Sat, Feb 10, 2018 at 08:46:25AM +0900, Akira Yokosawa wrote: >From 7c1f497a9a51e8db1a94c8a7ef0b74b235aaab88 Mo

Consent Notice

2018-02-18 Thread Mr.Lee
Important details to share with you, kindly email me for info: "leeguo...@gmail.com" Mr.Lee

Re: [PATCH] ata: add Amiga Gayle PATA controller driver

2018-02-18 Thread John Paul Adrian Glaubitz
Hello! On 02/12/2018 02:49 PM, Bartlomiej Zolnierkiewicz wrote: > Add Amiga Gayle PATA controller driver. It enables libata support > for the on-board IDE interfaces on some Amiga models (A600, A1200, > A4000 and A4000T) and also for IDE interfaces on the Zorro expansion > bus (M-Tech E-Matrix 530

[RESEND PATCH v5] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2018-02-18 Thread Marcus Folkesson
This driver let you plug in your RC controller to the adapter and use it as input device in various RC simulators. Signed-off-by: Marcus Folkesson --- v5: - Drop autosuspend support - Use pm_mutex instead of input_dev->mutex - Use pxrc->is_open instead of input_dev->users

Re: [PATCH] mm: don't defer struct page initialization for Xen pv guests

2018-02-18 Thread kbuild test robot
/commits/Juergen-Gross/mm-don-t-defer-struct-page-initialization-for-Xen-pv-guests/20180218-233657 base: git://git.cmpxchg.org/linux-mmotm.git master config: x86_64-randconfig-x017-201807 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux

Re: [PATCH] i40evf: remove redundant array comparisons to 0 checks

2018-02-18 Thread Joe Perches
On Sun, 2018-02-18 at 16:58 +0200, Andy Shevchenko wrote: > On Fri, Feb 16, 2018 at 6:53 PM, Colin Ian King > wrote: > > On 16/02/18 16:51, Andy Shevchenko wrote: > > > On Thu, Feb 15, 2018 at 9:42 PM, Colin King > > > wrote: > > > > + filter->f.mask.tcp_spec.dst_ip[i] |= >

Re: i2c-designware: sound and s2ram broken on Broadwell-U system since commit ca382f5b38f367b6 (add i2c gpio recovery option)

2018-02-18 Thread Dominik Brodowski
On Sun, Feb 18, 2018 at 04:23:41PM +0200, Andy Shevchenko wrote: > On Sun, Feb 18, 2018 at 11:41 AM, Dominik Brodowski > wrote: > > On Sat, Feb 17, 2018 at 10:57:01PM +0200, Andy Shevchenko wrote: > >> On Sat, 2018-02-17 at 17:58 +0100, Dominik Brodowski wrote: > > >> > Do you still need the DEB

[PATCH 1/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-18 Thread robert . m . harris
From: "Robert M. Harris" __fragmentation_index() calculates a value used to determine whether compaction should be favoured over page reclaim in the event of allocation failure. The calculation itself is opaque and, on inspection, does not match its existing description. The function purports t

[PATCH 0/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-18 Thread robert . m . harris
From: "Robert M. Harris" __fragmentation_index() calculates a value used to determine whether compaction should be favoured over page reclaim in the event of allocation failure. The function purports to return a value between 0 and 1000, representing units of 1/1000. Barring the case of a patho

Re: Use of GCC plugin instead ISO C

2018-02-18 Thread Randy Dunlap
On 02/18/2018 12:06 AM, Progyan Bhattacharya wrote: > Hi Again, > > According to last time talked, you said me to avoid "-Werror=pedantic" > flag to build the GNU specific plugins instead of Standard ISO C. I > changed my default compiler flags and tried to rebuild. But I am still > getting the sa

Re: Seeking guidance on spelling fixes

2018-02-18 Thread Randy Dunlap
On 02/18/2018 07:34 AM, David Frey wrote: > I noticed a common spelling mistake in some Linux kernel code that I was > reading the other day and it made me wonder how prevalent common spelling > mistakes are in the kernel. I did some grepping and it seems that there > are a large number of spellin

[PATCH v1 2/2] ARM: dts: tegra30: Add video decoder node

2018-02-18 Thread Dmitry Osipenko
Add device tree node for the Video Decoder Engine found on Tegra30 SoC's. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 1fb0c

[PATCH v1 0/2] Enable Video Decoder on Tegra30

2018-02-18 Thread Dmitry Osipenko
VDE on Terga30 is compatible with VDE on Tegra20, hence the 'tegra-vde' driver works fine on Terga30. Let's add missing DT nodes to expose Video Decoder Engine on Terga30. Dmitry Osipenko (2): ARM: dts: tegra30: Add IRAM node ARM: dts: tegra30: Add video decoder node arch/arm/boot/dts/tegra3

[PATCH v1 1/2] ARM: dts: tegra30: Add IRAM node

2018-02-18 Thread Dmitry Osipenko
IRAM is a static RAM that consists of four contiguous 64 KiB blocks, it is currently used to store CPU resume code, utilized by the video decoder engine and could be used as a general-purpose fast memory. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 8 1 file chan

[PATCH] regulator: core: Handle PM_SUSPEND_TO_IDLE suspend_state_t

2018-02-18 Thread Hans de Goede
The regulator framework is used on x86 in some cases now and x86 has a PM_SUSPEND_TO_IDLE suspend_state_t, treat this as PM_SUSPEND_STANDBY, this fixes these errors on resume: dpm_run_callback(): regulator_resume_early+0x0/0x60 returns -22 PM: Device regulator.0 failed to resume early: error -22

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-18 Thread Horia Geantă
On 2/17/2018 6:32 PM, Christophe LEROY wrote: > > > Le 07/02/2018 à 15:39, Horia Geantă a écrit : >> On 10/6/2017 4:06 PM, Christophe Leroy wrote: >>> At every request, we map and unmap the same hash hw_context. >>> >>> This patch moves the dma mapping/unmapping in functions ahash_init() >>> and

Re: Seeking guidance on spelling fixes

2018-02-18 Thread Joe Perches
(adding Colin King and Masahiro Yamada, the current and former spelling correction leading submitters) On Sun, 2018-02-18 at 07:34 -0800, David Frey wrote: > I noticed a common spelling mistake in some Linux kernel code that I was > reading the other day and it made me wonder how prevalent common

[PATCH] w1: gpio: fix problem with platfom data in w1-gpio

2018-02-18 Thread Pawel Dembicki
In devices, where fdt is used, is impossible to apply platform data without proper fdt node. This patch allow to use platform data in devices with fdt. Signed-off-by: Pawel Dembicki --- drivers/w1/masters/w1-gpio.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drive

Re: [RESEND PATCH v2] checkpatch: add Crypto ON_STACK to declaration_macros

2018-02-18 Thread Joe Perches
On Sun, 2018-02-18 at 08:13 +, Gilad Ben-Yossef wrote: > Add the crypto API *_ON_STACK to $declaration_macros. > > Resolves the following false warning: > > WARNING: Missing a blank line after declarations > + int err; > + SHASH_DESC_ON_STACK(desc, ctx_

Re: [PATCH 4.9 00/92] 4.9.81-stable review

2018-02-18 Thread Yves-Alexis Perez
On Sat, 2018-02-17 at 09:35 -0800, Guenter Roeck wrote: > Hmm, that chunk really doesn't do what the original patch is supposed to do, > meaning it won't provide the vulnerability protection it is supposed to > provide > (AFAICS that is Meltdown). Just a note in case anyone is concerned about > ac

[GIT pull] core fix for 4.16

2018-02-18 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus A small fix which adds the missing for_each_cpu_wrap() stub for the UP case to avoid build failures. Thanks, tglx -->

Re: [PATCH v4] rtc: isl12026: Add driver.

2018-02-18 Thread Philippe Ombredanne
Hi David, On Fri, Feb 16, 2018 at 8:44 PM, David Daney wrote: > The ISL12026 is a combination RTC and EEPROM device with I2C > interface. The standard RTC driver interface is provided. The EEPROM > is accessed via the NVMEM interface via the "eeprom0" directory in the > sysfs entry for the devi

[GIT pull] irq updates for 4.16

2018-02-18 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus A small set of updates mostly for irq chip drivers: - A MIPS GIC fix for spurious, masked interrupts - A fix for a subtle IPI bug in GICv3 -

[GIT pull] perf updates for 4.16

2018-02-18 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Perf and kprobes updates: - perf_mmap overwrite mode fixes/overhaul, prep work to get 'perf top' using it, making it bearable to use it in

[GIT pull] x86 updates for 4.16

2018-02-18 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Three patchlets to correct HIGHMEM64G and CMPXCHG64 dependencies in Kconfig when CPU selections are explicitely set to M586 or M686. Thanks,

Re: [PATCH] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-02-18 Thread Tony Lindgren
* Sebastian Reichel [180218 00:32]: > On Sat, Feb 17, 2018 at 01:07:23PM -0800, Tony Lindgren wrote: > > For reference here is what I measured for total power consumption on > > an idle Droid 4 with and without USB related MDM6600 modules: > > > > idle lcd offphy-mapphone-mdm6600ohci-

Re: [PATCH v3] rtc: ac100: Fix ac100 determine rate bug

2018-02-18 Thread Philipp Rossak
On 16.02.2018 14:15, Chen-Yu Tsai wrote: On Fri, Feb 16, 2018 at 9:07 PM, Maxime Ripard wrote: On Fri, Feb 16, 2018 at 12:10:18PM +0800, Chen-Yu Tsai wrote: diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 6550bf0e594b..6f56d429f1

Re: [PATCH v1 2/2] ARM: dts: tegra30: Add video decoder node

2018-02-18 Thread Andreas Färber
Am 18.02.2018 um 18:01 schrieb Dmitry Osipenko: > Add device tree node for the Video Decoder Engine found on Tegra30 SoC's. > > Signed-off-by: Dmitry Osipenko > --- > arch/arm/boot/dts/tegra30.dtsi | 27 +++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm/bo

Re: linux acpi (thunderbolt? bug)

2018-02-18 Thread Thomas Gleixner
On Fri, 16 Feb 2018, Yuriy Vostrikov wrote: > On 15 February 2018 at 11:52, Thomas Gleixner wrote: > > Can you please take snapshots from: > > > > /proc/interrupts > > /sys/kernel/debug/irq/* > > > > right after boot, after the unplug, before suspend and after resume? > > > > Apparently,

nbd: on-the-fly resize does not work any more

2018-02-18 Thread Mykola Golub
Hi, It looks like after the recent changes to nbd driver, on-the-fly resize has stopped working for rbd-nbd. Particularly this change [1] breaks how NBD_SET_SIZE is used for rbd-nbd on-the-fly resize [2]. Could this be fixed? [1] https://github.com/torvalds/linux/commit/639812a1ed9bf49ae2c02608

Re: [PATCH] md: fix md_write_start() deadlock w/o metadata devices

2018-02-18 Thread Shaohua Li
On Fri, Feb 02, 2018 at 11:13:19PM +0100, Heinz Mauelshagen wrote: > If no metadata devices are configured on raid1/4/5/6/10 > (e.g. via dm-raid), md_write_start() unconditionally waits > for superblocks to be written thus deadlocking. > > Fix introduces mddev->has_superblocks bool, defines it in

Re: [PATCH 1/3] taint: Convert to enum and indexed initialization

2018-02-18 Thread Kees Cook
ase drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Kees-Cook/taint-Add-taint-for-randstruct/20180218-100113 > config: arm64-defconfig (attached as .config) > compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2

Re: [PATCH v1 2/2] ARM: dts: tegra30: Add video decoder node

2018-02-18 Thread Dmitry Osipenko
On 18.02.2018 21:03, Andreas Färber wrote: > Am 18.02.2018 um 18:01 schrieb Dmitry Osipenko: >> Add device tree node for the Video Decoder Engine found on Tegra30 SoC's. >> >> Signed-off-by: Dmitry Osipenko >> --- >> arch/arm/boot/dts/tegra30.dtsi | 27 +++ >> 1 file chang

iSCSI session logout regression after fbce4d97fd ("scsi: fixup kernel warning during rmmod()")

2018-02-18 Thread Max Ivanov
Hi, on my system I can't logout from iSCSI session when on 4.4.18, but 4.3.19 works just fine. git bisect points to fbce4d97fd ("scsi: fixup kernel warning during rmmod()") Bug manifests itself like following: - iSCSI session logout hangs and never completes - 1 kworker per iSCSI session sta

Re: [PATCH] mm: don't defer struct page initialization for Xen pv guests

2018-02-18 Thread kbuild test robot
/commits/Juergen-Gross/mm-don-t-defer-struct-page-initialization-for-Xen-pv-guests/20180218-233657 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x010-201807 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux

Re: [PATCH] i40evf: remove redundant array comparisons to 0 checks

2018-02-18 Thread Colin Ian King
On 18/02/18 16:31, Joe Perches wrote: > On Sun, 2018-02-18 at 16:58 +0200, Andy Shevchenko wrote: >> On Fri, Feb 16, 2018 at 6:53 PM, Colin Ian King >> wrote: >>> On 16/02/18 16:51, Andy Shevchenko wrote: On Thu, Feb 15, 2018 at 9:42 PM, Colin King wrote: > +

Re: [PATCH] auxdisplay: Replace licenses with SPDX identifiers

2018-02-18 Thread Philippe Ombredanne
Miguel, On Sat, Feb 17, 2018 at 8:39 PM, Miguel Ojeda wrote: > Cc: Willy Tarreau > Cc: Geert Uytterhoeven > Cc: Linus Walleij > Cc: Robin van der Gracht > Cc: Paul Burton > Signed-off-by: Miguel Ojeda > --- > diff --git a/include/linux/cfag12864b.h b/include/linux/cfag12864b.h > index b4

Re: [PATCH] auxdisplay: Replace licenses with SPDX identifiers

2018-02-18 Thread Geert Uytterhoeven
Hi Philippe, On Sun, Feb 18, 2018 at 8:04 PM, Philippe Ombredanne wrote: > On Sat, Feb 17, 2018 at 8:39 PM, Miguel Ojeda > wrote: >> Cc: Willy Tarreau >> Cc: Geert Uytterhoeven >> Cc: Linus Walleij >> Cc: Robin van der Gracht >> Cc: Paul Burton >> Signed-off-by: Miguel Ojeda >> --- > > >

Re: [PATCH 00/14] Add Kconfig unit tests

2018-02-18 Thread Sam Ravnborg
Hi Masahiro. On Tue, Feb 06, 2018 at 09:34:40AM +0900, Masahiro Yamada wrote: > I am applying various patches to Kconfig these days. > > However, I fear regressions. I have been thinking of unit-tests. > > There are various cryptic parts in Kconfig and corner cases where > it is difficult to no

Re: [PATCH 1/2] kconfig: remove check_stdin()

2018-02-18 Thread Sam Ravnborg
On Thu, Feb 08, 2018 at 02:56:39PM +0900, Masahiro Yamada wrote: > Except silentoldconfig, valid_stdin is 1, so check_stdin() is no-op. > > oldconfig and silentoldconfig work almost in the same way except that > the latter generates additional files. Both ask users for input for > new symbols. >

[PATCH v2 0/2] Enable Video Decoder on Tegra30

2018-02-18 Thread Dmitry Osipenko
VDE on Terga30 is compatible with VDE on Tegra20, hence the 'tegra-vde' driver works fine on Terga30. Let's add missing DT nodes to expose Video Decoder Engine on Terga30. Changelog: V2: 1) Appended unit address to the name of VDE pool node to fix DTC warning as per Andreas's F

[PATCH v2 2/2] ARM: dts: tegra30: Add video decoder node

2018-02-18 Thread Dmitry Osipenko
Add device tree node for the Video Decoder Engine found on Tegra30 SoC's. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 833d9

[PATCH v2 1/2] ARM: dts: tegra30: Add IRAM node

2018-02-18 Thread Dmitry Osipenko
IRAM is a static RAM that consists of four contiguous 64 KiB blocks, it is currently used to store CPU resume code, utilized by the video decoder engine and could be used as a general-purpose fast memory. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 8 1 file chan

Re: [PATCH 1/2] staging: rtl8712: make unsigned length for rtl8717_get{_wpa_,_wpa2_,_}ie

2018-02-18 Thread Stefano Manni
On Fri, 2018-02-16 at 15:48 +0100, Greg KH wrote: > Can you rebase both of these patches on the staging-testing branch of > the staging.git tree so that I can apply them?  Right now they have > too > many conflicts. Rebased on staging-testing d92a1fa. v2 to come.

[PATCH v2 1/2] staging: rtl8712: make unsigned length for rtl8717_get{_wpa_,_wpa2_,_}ie

2018-02-18 Thread Stefano Manni
Fixed r8712_get_ie, r8712_get_wpa_ie, r8712_get_wpa2_ie to have a length as unsigned int pointer instead of signed. Sparse warnings: drivers/staging/rtl8712/rtl871x_ioctl_linux.c:173:27: warning: incorrect type in argument 3 (different signedness) drivers/staging/rtl8712/rtl871x_ioctl_linux.c:17

Re: [PATCH 6/7] platform/x86: fujitsu-laptop: Define constants for backlight power control

2018-02-18 Thread Michał Kępień
> > +/* FUNC interface - backlight power control */ > > +#define BACKLIGHT_POWER0x4 > > +#define BACKLIGHT_OFF 0x3 > > +#define BACKLIGHT_ON 0x0 > > A minor detail: BACKLIGHT_OFF and BACKLIGHT_ON are potential parameter > values while BACKLIGHT_POWER is essentially a parameter selec

[PATCH v2 2/2] staging: rtl8712: fix signedness of length to rtl8717_set_ie

2018-02-18 Thread Stefano Manni
rtl8717_set_it() takes an unsigned int pointer as length, fixed signedness in code using it. Sparse warnings: drivers/staging/rtl8712/ieee80211.c:191:53: warning: incorrect type in argument 5 (different signedness) drivers/staging/rtl8712/ieee80211.c:191:53:expected unsigned int [usertype]

  1   2   3   >