[PATCH AUTOSEL for 4.14 44/84] pwm: stmpe: Fix wrong register offset for hwpwm=2 case

2018-03-03 Thread Sasha Levin
From: Axel Lin [ Upstream commit 8472b529e113e0863ea064fdee51bf73c3f86fd6 ] Fix trivial copy/paste bug. Signed-off-by: Axel Lin Reviewed-by: Linus Walleij Fixes: ef1f09eca74a ("pwm: Add a driver for the STMPE PWM") Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/pwm/pw

[PATCH AUTOSEL for 4.14 47/84] pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D

2018-03-03 Thread Sasha Levin
From: Takeshi Kihara [ Upstream commit b16cd900de7911f96af17327a081a2141a0b763f ] This patch fixes the implementation incorrect of MOD_SEL1 bit[25:24] value when STP_ISEN_1_D pin function is selected for IPSR16 bit[27:24]. This is a correction to the incorrect implementation of MOD_SEL register

[PATCH AUTOSEL for 4.14 37/84] iio: health: max30102: Add power enable parameter to get_temp function

2018-03-03 Thread Sasha Levin
From: Peter Meerwald-Stadler [ Upstream commit a9c47abbdd71dceeaf1b923e5ce10e700e036905 ] Chip must not be in shutdown for reading temperature, so briefly leave shutdown if buffer is not already running Signed-off-by: Peter Meerwald-Stadler Acked-by: Matt Ranostay Signed-off-by: Jonathan Came

[PATCH AUTOSEL for 4.14 46/84] pinctrl: sh-pfc: r8a7791: Add can_clk function

2018-03-03 Thread Sasha Levin
From: Fabrizio Castro [ Upstream commit 57eec02caee60332b8052615e7257f932ae07abc ] This patch adds can_clk function to r8a7743/r8a7791 which is cleaner, and allows for independent configuration. We keep the can_clk* pins definitions from within can0_groups and can1_groups for uniformity and back

[PATCH AUTOSEL for 4.14 51/84] drm/amdgpu:fix virtual dce bug

2018-03-03 Thread Sasha Levin
From: Monk Liu [ Upstream commit 129d65c18ecfb249aceb540c31fdaf79bd5a11ff ] this fix the issue that access memory after freed after driver unloaded. Signed-off-by: Monk Liu Acked-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/dce_virt

[PATCH AUTOSEL for 4.14 30/84] leds: pm8058: Silence pointer to integer size warning

2018-03-03 Thread Sasha Levin
From: Bjorn Andersson [ Upstream commit 8f52df50d9366f770a894d14ef724e5e04574e98 ] The pointer returned by of_device_get_match_data() doesn't have the same size as u32 on 64-bit architectures, causing a compile warning when compile-testing the driver on such platform. Cast the return value of o

[PATCH AUTOSEL for 4.14 24/84] net: thunderx: Set max queue count taking XDP_TX into account

2018-03-03 Thread Sasha Levin
From: Sunil Goutham [ Upstream commit 87de083857aa269fb171ef0b39696b2888361c58 ] on T81 there are only 4 cores, hence setting max queue count to 4 would leave nothing for XDP_TX. This patch fixes this by doubling max queue count in above scenarios. Signed-off-by: Sunil Goutham Signed-off-by: c

[PATCH AUTOSEL for 4.15 092/102] mac80211: remove BUG() when interface type is invalid

2018-03-03 Thread Sasha Levin
From: Luca Coelho [ Upstream commit c7976f5272486e4ff406014c4b43e2fa3b70b052 ] In the ieee80211_setup_sdata() we check if the interface type is valid and, if not, call BUG(). This should never happen, but if there is something wrong with the code, it will not be caught until the bug happens whe

[PATCH AUTOSEL for 4.15 077/102] clk: renesas: r8a77970: Add LVDS clock

2018-03-03 Thread Sasha Levin
From: Sergei Shtylyov [ Upstream commit 64082568dd1e05d349a0d9dfda2bdf6ace3f9f6c ] I seem to have omitted the LVDS clock from the R8A77970 CPG/MSSR support patch for some reason -- add it back... Based on the original (and large) patch by Daisuke Matsushita . Fixes: 8d46e28fb5081b49 ("clk: ren

[PATCH AUTOSEL for 4.15 053/102] dmaengine: amba-pl08x: Use vchan_terminate_vdesc() instead of desc_free

2018-03-03 Thread Sasha Levin
From: Peter Ujfalusi [ Upstream commit 47d71bc75d072ce25c1063aa629e55e1cfb961b2 ] To avoid race with vchan_complete, use the race free way to terminate running transfer. Implement the device_synchronize callback to make sure that the terminated descriptor is freed. Signed-off-by: Peter Ujfalus

[PATCH AUTOSEL for 4.15 057/102] scsi: ses: don't ask for diagnostic pages repeatedly during probe

2018-03-03 Thread Sasha Levin
From: Li Dongyang [ Upstream commit 9c0a50022b8ac7e863e6ec8342fa476fe5d1d75c ] We are testing if there is a match with the ses device in a loop by calling ses_match_to_enclosure(), which will issue scsi receive diagnostics commands to the ses device for every device on the same host. On one of

[PATCH AUTOSEL for 4.15 060/102] pinctrl: sh-pfc: r8a7791: Add can_clk function

2018-03-03 Thread Sasha Levin
From: Fabrizio Castro [ Upstream commit 57eec02caee60332b8052615e7257f932ae07abc ] This patch adds can_clk function to r8a7743/r8a7791 which is cleaner, and allows for independent configuration. We keep the can_clk* pins definitions from within can0_groups and can1_groups for uniformity and back

[PATCH AUTOSEL for 4.15 090/102] agp/intel: Flush all chipset writes after updating the GGTT

2018-03-03 Thread Sasha Levin
From: Chris Wilson [ Upstream commit 8516673a996870ea0ceb337ee4f83c33c5ec3111 ] Before accessing the GGTT we must flush the PTE writes and make them visible to the chipset, or else the indirect access may end up in the wrong page. In commit 3497971a71d8 ("agp/intel: Flush chipset writes after up

[PATCH AUTOSEL for 4.15 030/102] perf report: Fix -D output for user metadata events

2018-03-03 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit f250b09c779550e4a7a412dae6d3ad34d5201019 ] The PERF_RECORD_USER_ events are synthesized by the tool to assist in processing the PERF_RECORD_ ones generated by the kernel, the printing of that information doesn't come with a perf_sample structure,

[PATCH AUTOSEL for 4.15 031/102] net: xfrm: allow clearing socket xfrm policies.

2018-03-03 Thread Sasha Levin
From: Lorenzo Colitti [ Upstream commit be8f8284cd897af2482d4e54fbc2bdfc15557259 ] Currently it is possible to add or update socket policies, but not clear them. Therefore, once a socket policy has been applied, the socket cannot be used for unencrypted traffic. This patch allows (privileged) u

[PATCH AUTOSEL for 4.15 029/102] rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()

2018-03-03 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit f2eef045de9defbc6fc6b72b17f0941cbe26c81d ] brcmstb_waketmr_probe() does not disable timer->clk on error paths. Found by Linux Driver Verification project (linuxtesting.org). Fixes: c4f07ecee22e ("rtc: brcmstb-waketimer: Add Broadcom STB wake-timer") S

[PATCH AUTOSEL for 4.15 027/102] drm/vblank: Fix vblank timestamp debugs

2018-03-03 Thread Sasha Levin
From: Ville Syrjälä [ Upstream commit bcbec31ce500fe036f75a19bca5c73bfa6dd420b ] We're currently calling ktime_to_timespec64() on stack garbage hence the debug output for vblank timestamps also contains garbage. Let's assing something to the ktime_t first before we go converting it to a timespec

[PATCH AUTOSEL for 4.15 026/102] ASoC: fsl_ssi: only enable proper channel slots in AC'97 mode

2018-03-03 Thread Sasha Levin
From: "Maciej S. Szmigiero" [ Upstream commit 01ca485171e3253f3aee555437519c0d316d4b0c ] We need to make sure that only proper channel slots (in SACCST register) are enabled at playback start time since some AC'97 CODECs (like VT1613 on UDOO board) were observed requesting via SLOTREQ spurious o

[PATCH AUTOSEL for 4.15 016/102] typec: tcpm: fusb302: Resolve out of order messaging events

2018-03-03 Thread Sasha Levin
From: Adam Thomson [ Upstream commit ab69f61321140ff632d560775bc226259a78dfa2 ] The expectation in the FUSB302 driver is that a TX_SUCCESS event should occur after a message has been sent, but before a GCRCSENT event is raised to indicate successful receipt of a message from the partner. However

[PATCH AUTOSEL for 4.15 025/102] test_firmware: fix setting old custom fw path back on exit

2018-03-03 Thread Sasha Levin
From: "Luis R. Rodriguez" [ Upstream commit 65c79230576873b312c3599479c1e42355c9f349 ] The file /sys/module/firmware_class/parameters/path can be used to set a custom firmware path. The fw_filesystem.sh script creates a temporary directory to add a test firmware file to be used during testing, i

[PATCH AUTOSEL for 4.15 005/102] video/hdmi: Allow "empty" HDMI infoframes

2018-03-03 Thread Sasha Levin
From: Ville Syrjälä [ Upstream commit 593f4b19a094c4426bd1e1e3cbab87a48bd13c71 ] HDMI 2.0 Appendix F suggest that we should keep sending the infoframe when switching from 3D to 2D mode, even if the infoframe isn't strictly necessary (ie. not needed to transmit the VIC or stereo information). Thi

[PATCH AUTOSEL for 4.15 007/102] KVM: PPC: Book3S HV: Avoid shifts by negative amounts

2018-03-03 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit cda2eaa35948893d70145490d5d6ded546fc3bc6 ] The kvmppc_hpte_page_shifts function decodes the actual and base page sizes for a HPTE, returning -1 if it doesn't recognize the page size encoding. This then gets used as a shift amount in various places, which i

[PATCH AUTOSEL for 4.15 001/102] drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()

2018-03-03 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 85b4587f8e94143bafb8b6a4003a5187b9a8753d ] There is one caller which checks whether rpi_touchscreen_i2c_read() returns negative error codes. Currently it can't because negative error codes are truncated to u8, but that's easy to fix if we change the type to

Re: [PATCH v7 08/13] arm64: Add support for ACPI based firmware tables

2018-03-03 Thread kbuild test robot
Hi Jeremy, Thank you for the patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.16-rc3 next-20180302] [cannot apply to arm64/for-next/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2] proc: fix /proc/*/map_files lookup some more

2018-03-03 Thread Alexey Dobriyan
I totally forgot that _parse_integer() accepts arbitrary amount of leading zeroes leading to the following lookups: OK # readlink /proc/1/map_files/56427ecba000-56427eddc000 /lib/systemd/systemd bogus # readlink /proc/1/map_files/000

[Regression] TPM char device not created if TPM 1.2 is disabled, but visible

2018-03-03 Thread Sahil Rihan
(Please CC me on replies - I'm not subscribed to LMKL) Prior to 0cf577a03f21 if a TPM 1.2 device was disabled, but visible (sysfs node "enabled" returns 0), creation of the TPM char device was only skipped if tpm_bios_log_setup returned -ENODEV. On some systems like HP DL380 G9, if the TPM i

Re: [RFC v1] mm: add the preempt check into alloc_vmap_area()

2018-03-03 Thread Uladzislau Rezki
On Fri, Mar 02, 2018 at 03:34:52PM -0800, Andrew Morton wrote: > On Tue, 27 Feb 2018 05:06:43 -0800 Matthew Wilcox wrote: > > > On Tue, Feb 27, 2018 at 11:22:59AM +0100, Uladzislau Rezki (Sony) wrote: > > > During finding a suitable hole in the vmap_area_list > > > there is an explicit rescheduli

Re:

2018-03-03 Thread Cheng Chan
Please let me know if you can be part of our supply.Get back to me for more info if interested. E-mail: chengc...@asia.com >From Cheng Chan.

[PATCH] staging: rtl8723bs: Replace memset with eth_zero_addr

2018-03-03 Thread Arushi Singhal
Use eth_zero_addr to assign zero address to the given address array instead of memset when the second argument in memset is address of zero. Coccinelle was used to do the replacement and add the header file linux/etherdevice.h if not already present. The Coccinelle semantic patch that makes this c

Re: lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Guenter Roeck
On 03/03/2018 12:48 PM, Guenter Roeck wrote: On 03/03/2018 11:07 AM, Troy Kisky wrote: On 3/3/2018 8:32 AM, Guenter Roeck wrote: Hi, since v4.15, I get the following runtime warning when running sabrelite images in qemu. irq 65: nobody cared (try booting with the "irqpoll" option) ... handler

Re: [PATCH] clarify how insecure CPU is

2018-03-03 Thread Pavel Machek
On Tue 2018-01-09 00:44:30, Thomas Gleixner wrote: > On Tue, 9 Jan 2018, Pavel Machek wrote: > > > On Mon 2018-01-08 21:27:25, Thomas Gleixner wrote: > > > On Mon, 8 Jan 2018, Pavel Machek wrote: > > > > > > > > > > > First, what is going on with X86_BUG_AMD_E400 and X86_BUG_AMD_APIC_C1E > > > >

Re: Fwd: Re: Hibernation on i386 failure...

2018-03-03 Thread Pavel Machek
Hi! > >On Tue 2018-01-09 16:54:51, Woody Suwalski wrote: > >>Hey Pavel, so you have found that issue earlier... Do you have a patch to > >>try? > >Did I? I do not remember clearly. > > > >Anyway, here are my hibernation-related patches... Absolutely no > >guarantees. > Pavel, here is my attempt t

Re: [RFC PATCH] Randomization of address chosen by mmap.

2018-03-03 Thread Daniel Micay
On 3 March 2018 at 08:58, Ilya Smith wrote: > Hello Daniel, thanks for sharing you experience! > >> On 1 Mar 2018, at 00:02, Daniel Micay wrote: >> >> I don't think it makes sense for the kernel to attempt mitigations to >> hide libraries. The best way to do that is in userspace, by having the >>

Re: [PATCH 01/12] parport: ax88796: Delete an error message for a failed memory allocation in parport_ax88796_probe()

2018-03-03 Thread Sudip Mukherjee
Hi Greg, On Thu, Mar 01, 2018 at 01:06:09PM +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 01, 2018 at 12:46:07PM +0200, Andy Shevchenko wrote: > > On Wed, Feb 7, 2018 at 9:47 PM, Sudip Mukherjee > > wrote: > > > From: Markus Elfring > > > > > > Omit an extra message for a memory allocation fail

spectre v2 microcodes blacklist (march update)

2018-03-03 Thread Alexander Sergeyev
Hi, the microcode revision guidance from Intel is revised once again [1] (1 Mar). It looks like the following: Intel document only clears the 0xc2 microcode on *some* parts with CPUID 506E3 (INTEL_FAM6_SKYLAKE_DESKTOP stepping 3). For the Skylake H/S platform it's OK but for Skylake E3 which

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove unnecessary semicolon.

2018-03-03 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Remove unnecessary semicolon using semicolon.cocci Coccinelle script. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- > drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +-

Re: [Outreachy kernel] [PATCH] staging: media: Remove unnecessary semicolon

2018-03-03 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Remove unnecessary semicolon found using semicolon.cocci Coccinelle > script. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall > --- > .../media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c| 2 > +- > 1 file changed, 1

Re: lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Guenter Roeck
On 03/03/2018 11:07 AM, Troy Kisky wrote: On 3/3/2018 8:32 AM, Guenter Roeck wrote: Hi, since v4.15, I get the following runtime warning when running sabrelite images in qemu. irq 65: nobody cared (try booting with the "irqpoll" option) ... handlers: [<26292474>] fec_pps_interrupt Disabling IR

Re: 4.16-rc3 fails to resume on MacBookPro10,1 -

2018-03-03 Thread Pavel Machek
On Sat 2018-03-03 11:00:28, Rafael J. Wysocki wrote: > On Sat, Mar 3, 2018 at 10:24 AM, Pavel Machek wrote: > > Hi! > > > > On Sat 2018-03-03 17:27:36, Andrew Worsley wrote: > >> On 3 March 2018 at 16:41, Andrew Worsley wrote: > >> > Basically hangs on resuming after decompressing. The last state

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Pierre Bourdon (delroth)
On Sat, Mar 3, 2018 at 8:15 AM Jonathan Cameron wrote: > On Sat, 3 Mar 2018 17:44:44 +0200 > Andy Shevchenko wrote: > > On Sat, Mar 3, 2018 at 5:37 PM, Jonathan Cameron wrote: > > > On Wed, 28 Feb 2018 17:06:09 +0200 > > >> On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon wrote: > > > > Better

Re: [PATCH V4 0/3] Use mm_struct and switch_mm() instead of manually

2018-03-03 Thread Ard Biesheuvel
On 29 January 2018 at 10:51, Ard Biesheuvel wrote: > On 26 January 2018 at 21:16, Matt Fleming wrote: >> On Thu, 18 Jan, at 01:01:04PM, Sai Praneeth Prakhya wrote: >>> From: Sai Praneeth >>> >>> Presently, in x86, to invoke any efi function like >>> efi_set_virtual_address_map() or any efi_runti

[tip:WIP.sched/core 19/20] arch/tile/include/asm/switch_to.h:36:0: warning: "prepare_arch_switch" redefined

2018-03-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: bb3aa6d89286e954fc5c670413c762dca3f4cc44 commit: 8c5e90d837fb1b1b0dda3db559b97bdab9c62853 [19/20] sched/headers: Simplify and clean up header usage in the scheduler config: tile-tilegx_defconfig (attached a

[GIT PULL] libnvdimm fixes for 4.16-rc4

2018-03-03 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive a 4.16 regression fix, 3 fixes for -stable, and a cleanup fix. * During the merge window support for the new ACPI NVDIMM Platform Capabilities structure disabled support for "d

Re: [PATCH] x86: devicetree: fix config option around x86_flattree_get_config()

2018-03-03 Thread Frank Rowand
Hi x86 Maintainers, On 03/03/18 01:17, Laurent Pinchart wrote: > Hi Frank, > > Thank you for the patch. > > On Saturday, 3 March 2018 06:12:26 EET frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> x86_flattree_get_config() is incorrectly protected by >> ifdef CONFIG_OF_FLATTREE. It use

Re: [PATCH 1/5] tpm: Trigger only missing TPM 2.0 self tests

2018-03-03 Thread James Bottomley
On Wed, 2018-02-28 at 21:58 +0200, Jarkko Sakkinen wrote: > From: Alexander Steffen > > My Nuvoton 6xx in a Dell XPS-13 has been intermittently failing to > work (necessitating a reboot). The problem seems to be that the TPM > gets into a state where the partial self-test doesn't return > TPM_RC_

[PATCH] mm: relax ptrace mode in process_vm_readv(2)

2018-03-03 Thread Alexey Dobriyan
It is more natural to check for read-from-memory permissions in case of process_vm_readv() as PTRACE_MODE_ATTACH is equivalent to write permissions. Signed-off-by: Alexey Dobriyan --- mm/process_vm_access.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/process_vm_access.c +

[PATCH] ASoC: Intel: Skylake: Fix typo

2018-03-03 Thread abhijeet . kumar
From: Abhijeet Kumar Spelling mistake in state. So fixing it. Signed-off-by: Abhijeet Kumar --- sound/soc/intel/skylake/skl-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index 60d7

Re: [PATCH] i2c: octeon: Prevent error message on bus error

2018-03-03 Thread Wolfram Sang
> Did you also pick up the i2c-xlp9xx patches for current? Dunno which one of those you mean, but I reply to every patch to which branch I applied it to so you can check it easily. signature.asc Description: PGP signature

Re: [Outreachy kernel] [PATCH] staging: rtlwifi: Remove nonessential semicolon

2018-03-03 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Remove non-essential semicolon after 'else' and 'switch' statements. Issue > found using semicolon.cocci Coccinelle script. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall It seems strange that someone would write code like that... julia

Re: Query:Regarding object poison overwritten in binder_transaction

2018-03-03 Thread Greg Kroah-Hartman
On Sat, Mar 03, 2018 at 08:22:35PM +0530, Kohli, Gaurav wrote: > HI , > > Is there any known issue of slab poisoning in binder_transaction variable on > kernel 4.9, If you are using binder in an Android device with 4.9, please use the version in the android-common tree, as it has all of the newe

[PATCH] staging: media: Remove unnecessary semicolon

2018-03-03 Thread Arushi Singhal
Remove unnecessary semicolon found using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- .../media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/cs

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Aaron Durbin
On Sat, Mar 3, 2018 at 8:56 AM, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 8:35 PM, Daniel Kurtz wrote: >> On Thu, Mar 1, 2018 at 1:02 PM Andy Shevchenko >> wrote: >>> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: >>> > On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko < >> andy.shevch

[PATCH] staging: rtl8723bs: Remove unnecessary semicolon.

2018-03-03 Thread Arushi Singhal
Remove unnecessary semicolon using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/r

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Aaron Durbin
On Sat, Mar 3, 2018 at 8:38 AM, Andy Shevchenko wrote: > On Thu, Mar 1, 2018 at 11:24 PM, Aaron Durbin wrote: >> On Thu, Mar 1, 2018 at 1:02 PM, Andy Shevchenko >> wrote: >>> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko wrote: >>

[PATCH] staging: rtlwifi: Remove nonessential semicolon

2018-03-03 Thread Arushi Singhal
Remove non-essential semicolon after 'else' and 'switch' statements. Issue found using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/staging/rtlwifi/base.c | 6 +++--- drivers/staging/rtlwifi/phydm/phydm_rainfo.c | 1 - 2 files changed, 3 insertions(+

Re: lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Troy Kisky
On 3/3/2018 8:32 AM, Guenter Roeck wrote: > Hi, > > since v4.15, I get the following runtime warning when running sabrelite images > in qemu. > > irq 65: nobody cared (try booting with the "irqpoll" option) > ... > handlers: > [<26292474>] fec_pps_interrupt > Disabling IRQ #65 > fec 2188000.ether

Re: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0

2018-03-03 Thread Russell King - ARM Linux
On Sat, Mar 03, 2018 at 06:25:17PM +0200, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 6:28 PM, Mark Rutland wrote: > > On Fri, Mar 02, 2018 at 03:32:22PM +, Russell King - ARM Linux wrote: > >> How do we break this status quo and finally solve the IRQ 0 and > >> NO_IRQ issue? > > Guys, th

Re: [PATCH] scripts/kconfig: replace single character strcat() appends

2018-03-03 Thread Ulf Magnusson
On Sat, Mar 3, 2018 at 7:14 PM, Ulf Magnusson wrote: > On Sat, Mar 3, 2018 at 12:12 AM, Joey Pabalinas > wrote: >> On Fri, Mar 02, 2018 at 02:44:53PM +0100, Ulf Magnusson wrote: >>> Not sure this is an improvement. Zeroing the bytes after the initial >>> null terminator is redundant, and the exp

[PATCH v3] media: siano: Fix coherent memory allocation failure on arm64

2018-03-03 Thread tomoki . sekiyama
From: Tomoki Sekiyama On some architectures such as arm64, siano chip based TV-tuner USB devices are not recognized correctly due to coherent memory allocation failure with the following error: [ 663.556135] usbcore: deregistering interface driver smsusb [ 683.624809] smsusb:smsusb_probe: boar

Re: [PATCH] scripts/kconfig: replace single character strcat() appends

2018-03-03 Thread Ulf Magnusson
On Sat, Mar 3, 2018 at 12:12 AM, Joey Pabalinas wrote: > On Fri, Mar 02, 2018 at 02:44:53PM +0100, Ulf Magnusson wrote: >> Not sure this is an improvement. Zeroing the bytes after the initial >> null terminator is redundant, and the explicit '\0' makes it clearer to >> me what's going on. > > Yes,

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Peter Zijlstra
On Sat, Mar 03, 2018 at 04:43:16PM +, Song Liu wrote: > > In any case, there's a ton of conflict against the patches here: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=perf/testing > > > > And with those the idea was to move to a virtual time based scheduler

Re: [PATCH v7 02/61] radix tree: Use bottom four bits of gfp_t for flags

2018-03-03 Thread Matthew Wilcox
On Sat, Mar 03, 2018 at 07:44:36AM -0500, Jeff Layton wrote: > > - return root->gfp_mask & __GFP_BITS_MASK; > > + return root->gfp_mask & ((__GFP_BITS_MASK >> 4) << 4); > > Maybe phrase this in terms of a constant like GFP_ZONEMASK here? Would > this be more appropriate? Yeah, that's a better

Re: [PATCH] regmap: irq: fix ack-invert

2018-03-03 Thread Tim Harvey
On Tue, Feb 27, 2018 at 8:05 AM, Tim Harvey wrote: > When acking irqs we need to take into account the ack-invert case. Without > this chips that require 0's to ACK interrupts will never clear the interrupt. > > I am working on an mfd driver that will use ack-invert and discovered > this issue. Th

drivers/net/wireless/mediatek/mt76/mac80211.c:119: undefined reference to `devm_of_led_classdev_register'

2018-03-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5fbdefcf685defd8bc5a8f37b17538d25c58d77a commit: 7bc04215a66b60e198aecaee8418f6d79fa19faa mt76: add driver code for MT76x2e date: 3 months ago config: x86_64-randconfig-b0-03032320 (attached as .config) co

Re: [PATCH v7 08/61] xarray: Add the xa_lock to the radix_tree_root

2018-03-03 Thread Matthew Wilcox
On Sat, Mar 03, 2018 at 09:55:22AM -0500, Jeff Layton wrote: > On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > This results in no change in structure size on 64-bit x86 as it fits in > > the padding between the gfp_t and the void *. > > > > While the pa

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Song Liu
> On Mar 3, 2018, at 7:26 AM, Peter Zijlstra wrote: > > On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: >> When there are more perf_event's than hardware PMCs, perf rotate events >> so that all events get chance to run. Currently, the rotation works as: >> sched_out flexible_groups i

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-03 Thread Vladimir Zapolskiy
Hi Harish, On 03/01/2018 03:17 PM, Harish Jenny K N wrote: > This patch exports the host capabilities to debugfs > > Signed-off-by: Andrew Gabbasov > Signed-off-by: Harish Jenny K N > --- would you mind to restore the authorship to Abbas Raza and send v2? Thank you in advance. -- With best w

lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Guenter Roeck
Hi, since v4.15, I get the following runtime warning when running sabrelite images in qemu. irq 65: nobody cared (try booting with the "irqpoll" option) ... handlers: [<26292474>] fec_pps_interrupt Disabling IRQ #65 fec 2188000.ethernet (unnamed net_device) (uninitialized): MDIO read timeout Bis

[PATCH v2] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- Changes in v2: - Braces is dropped from if with single statement. drivers/infiniband/hw/qib/qib_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-

Re: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 6:28 PM, Mark Rutland wrote: > On Fri, Mar 02, 2018 at 03:32:22PM +, Russell King - ARM Linux wrote: >> How do we break this status quo and finally solve the IRQ 0 and >> NO_IRQ issue? Guys, the question: Wouldn't be request_irq() failed when it gets a wrong number on i

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Song Liu
> On Mar 3, 2018, at 5:39 AM, Jiri Olsa wrote: > > On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: >> When there are more perf_event's than hardware PMCs, perf rotate events >> so that all events get chance to run. Currently, the rotation works as: >> sched_out flexible_groups in cpu

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Jonathan Cameron
On Sat, 03 Mar 2018 21:07:53 +0530 Shreeya Patel wrote: > On Sat, 2018-03-03 at 16:05 +, Jonathan Cameron wrote: > > On Fri,  2 Mar 2018 19:04:49 +0530 > > Shreeya Patel wrote: > > > > > > > > Use sign_extend32 function instead of manually coding it. > > > Also, adjust a switch block to

[PATCH v2] net: ethernet: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- Changes in v2: - Braces is dropped from if with single statement. drivers/net/ethernet/amd/ni65.c | 4 +--- drivers/net/ethernet/neterion/s2

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Jonathan Cameron
On Sat, 3 Mar 2018 17:44:44 +0200 Andy Shevchenko wrote: > On Sat, Mar 3, 2018 at 5:37 PM, Jonathan Cameron wrote: > > On Wed, 28 Feb 2018 17:06:09 +0200 > >> On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon > >> wrote: > > Better to address even minors before submission. Absolutely. >

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Shreeya Patel
On Sat, 2018-03-03 at 16:05 +, Jonathan Cameron wrote: > On Fri,  2 Mar 2018 19:04:49 +0530 > Shreeya Patel wrote: > > > > > Use sign_extend32 function instead of manually coding it. > > Also, adjust a switch block to explicitly match channels > > and return -EINVAL as default case which mak

Re: [PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 10:55 PM, Aaro Koskinen wrote: > Use pr_cont() at the end of ramdisk loading. This will avoid the rotator > and an extra newline appearing in the dmesg. > printk("Error closing the disk.\n"); What about this one? -- With Best Regards, Andy

Re: [PATCH 5/6] Staging: iio: adis16209: Add some informatic comments

2018-03-03 Thread Shreeya Patel
On Sat, 2018-03-03 at 16:01 +, Jonathan Cameron wrote: > On Fri,  2 Mar 2018 19:02:48 +0530 > Shreeya Patel wrote: > > > > > Some of the register names does not make it's puporse > > very clear and hence, add some comments for more > > information. > > Also there are certain unit based comme

RE: [PATCH 2/3] PCI: hv: serialize the present/eject work items

2018-03-03 Thread Michael Kelley (EOSG)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > On Behalf > Of Dexuan Cui > Sent: Friday, March 2, 2018 4:21 PM > To: bhelg...@google.com; linux-...@vger.kernel.org; KY Srinivasan > ; > Stephen Hemminger > Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverpr

Re: [PATCH] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard

2018-03-03 Thread Andy Shevchenko
On Sat, Mar 3, 2018 at 12:04 AM, Florent Flament wrote: > With the generic HID driver, K290 keyboards' F1 to F12 keys send > multimedia events by default, and standard keycodes when the function > key is pressed. This driver allows to configure K290 keyboards, so > that F1 to F12 have a standard b

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 19:04:49 +0530 Shreeya Patel wrote: > Use sign_extend32 function instead of manually coding it. > Also, adjust a switch block to explicitly match channels > and return -EINVAL as default case which makes the code > semantically more clear. > > Signed-off-by: Shreeya Patel Ch

Re: [PATCH v2] 8250-men-mcb: add support for 16z025 and 16z057

2018-03-03 Thread Andy Shevchenko
ree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Michael-Moese/8250-men-mcb-add-support-for-16z025-and-16z057/20180303-104548 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git > tty-testing >

Re: [PATCH 5/6] Staging: iio: adis16209: Add some informatic comments

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 19:02:48 +0530 Shreeya Patel wrote: > Some of the register names does not make it's puporse > very clear and hence, add some comments for more > information. > Also there are certain unit based comments which are not > providing sufficient information, so expand those comments

Re: [PATCH 4/6] Staging: iio: adis16209: Remove unnecessary comments and group the definitions

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:58:55 +0530 Shreeya Patel wrote: > Remove some unnecessay comments and group the control > register and register field macros together. > > Signed-off-by: Shreeya Patel Hi Shreeya, Nice patch. As you have probably already seen comment removal (and addition) is always o

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 8:35 PM, Daniel Kurtz wrote: > On Thu, Mar 1, 2018 at 1:02 PM Andy Shevchenko > wrote: >> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: >> > On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko < > andy.shevche...@gmail.com> >> > wrote: > the UART bitclock > is >> > alwa

Re: [PATCH 3.16 091/254] MIPS: CPS: Fix r1 .set mt assembler warning

2018-03-03 Thread Ben Hutchings
On Thu, 2018-03-01 at 13:44 +, James Hogan wrote: > On Wed, Feb 28, 2018 at 03:20:18PM +, Ben Hutchings wrote: > > 3.16.55-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: James Hogan > > > > commit 17278a91e04f858155d54bee552

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Andy Shevchenko
On Sat, Mar 3, 2018 at 5:37 PM, Jonathan Cameron wrote: > On Wed, 28 Feb 2018 17:06:09 +0200 >> On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon wrote: Better to address even minors before submission. >> > + if (itime <= 0 || itime > 255) >> >> Just side note: Suprisingly how many in_range

Re: [PATCH 3/6] Staging: iio: adis16209: Add _REG postfix for registers

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:55:56 +0530 Shreeya Patel wrote: > The defined names for registers does not make it very > clear that they are registers and hence, add _REG postfix. > This improves the readability of the code. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-03-03 Thread Peter Zijlstra
On Mon, Feb 26, 2018 at 05:53:57PM -0800, skan...@codeaurora.org wrote: > On 2018-02-24 00:41, Peter Zijlstra wrote: > > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > > Some PMUs events can be read from any CPU. So allow the PMU to mark > > > events as such. For these events,

Re: [PATCH 2/6] Staging: iio: adis16209: Change the definition name

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:53:41 +0530 Shreeya Patel wrote: > The change in the definition name makes it then obvious > what the units are throughout the driver and there will > be no need of the comment. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as tes

Re: [PATCH 1/6] Staging: iio: adis16209: Arrange headers in alphabetical order

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:49:23 +0530 Shreeya Patel wrote: > Arrange the headers in alphabetical order for cleanup > purpose. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as testing (mostly to test other patches as I'd be really surprised if this one brok

[GIT PULL] Kbuild fixes for v4.16-rc4

2018-03-03 Thread Masahiro Yamada
Hi Linus, Here are Kbuild fixes for v4.16. Please pull! The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 11:24 PM, Aaron Durbin wrote: > On Thu, Mar 1, 2018 at 1:02 PM, Andy Shevchenko > wrote: >> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: >>> On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko >>> wrote: >> >>> "earlycon simply does not utilize the information". >>> >>

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Jonathan Cameron
On Wed, 28 Feb 2018 17:06:09 +0200 Andy Shevchenko wrote: > On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon wrote: > > Ambient light sensor that supports visible light and IR measurements and > > configurable gain/integration time. > > > > This is written as an additional driver instead of being

Re: [PATCH] MAINTAINERS: take over Kconfig maintainership

2018-03-03 Thread Masahiro Yamada
2018-03-03 3:37 GMT+09:00 Linus Torvalds : > On Fri, Mar 2, 2018 at 5:04 AM, Masahiro Yamada > wrote: >> I have recently picked up Kconfig patches to my tree without any >> declaration. Making it official now. > > Ack. > > I expect I'll see this in one of your pull requests, so I'm not applying i

Re: [PATCH] kconfig: fix line number in recursive inclusion error message

2018-03-03 Thread Masahiro Yamada
2018-03-02 16:05 GMT+09:00 Masahiro Yamada : > When recursive inclusion is detected, the line number of the last > 'included from:' is wrong. > > [Test Case] > > Kconfig: > >8 > source "Kconfig2" > >8 > > Kconfig2: > >8 > source "Kconfig3" >

Re: [Outreachy kernel] [PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Dennis Dalessandro
On 3/3/2018 9:07 AM, Julia Lawall wrote: diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 3990f38..1bd3b32 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c @@ -681,7 +681,6 @@ int qib_init(struct qib_devdat

Re: [PATCH 3.16 083/254] dmaengine: dmatest: move callback wait queue to thread context

2018-03-03 Thread Ben Hutchings
On Wed, 2018-02-28 at 12:47 -0500, Adam Wallis wrote: > Ben > > On 2/28/2018 10:20 AM, Ben Hutchings wrote: > > 3.16.55-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Adam Wallis > > > > commit 6f6a23a213be51728502b88741ba6a10cda24

Re: [PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Dennis Dalessandro
On 3/3/2018 8:03 AM, Arushi Singhal wrote: Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/infiniband/hw/qib/qib_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/hw/qi

Re: [PATCH 2/2] IB/qib: Move char *qib_sdma_state_names[] and constify while there.

2018-03-03 Thread Dennis Dalessandro
On 2/27/2018 5:05 PM, Hernán Gonzalez wrote: Note: This is compile only tested as I have no access to the hw. This variable was not used in qib_sdma.c but in qib_iba7322.c. Declaring it there, as static, saves 56 bytes. add/remove: 0/2 grow/shrink: 0/0 up/down: 0/-144 (-144) Function

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Peter Zijlstra
On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: > When there are more perf_event's than hardware PMCs, perf rotate events > so that all events get chance to run. Currently, the rotation works as: > sched_out flexible_groups in cpuctx->ctx and cpuctx->task_ctx; > rotate_left flexible_g

<    2   3   4   5   6   7   8   >