Re: [PATCH 1/2] crypto: caam: Delete an error message for a failed memory allocation in seven functions

2018-02-14 Thread Horia Geantă
On 2/14/2018 8:31 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 18:22:38 +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 Elfring Reviewed-b

Re: [PATCH 2/2] usb: dwc3: drd: Fix lock-up on ID change during system suspend/resume

2018-02-14 Thread Roger Quadros
Felipe, On 25/01/18 18:11, Roger Quadros wrote: > Hi, > > On 24/01/18 14:19, Roger Quadros wrote: >> On 23/01/18 14:41, Roger Quadros wrote: >>> Hi Manu, >>> >>> On 23/01/18 05:45, Manu Gautam wrote: Hi, On 1/22/2018 6:31 PM, Roger Quadros wrote: > Adding/removing host/gad

Re: [PATCH 0/4] usb: dwc3: Add dual-role support using OTG core

2018-02-14 Thread Roger Quadros
Hi Felipe, On 22/01/18 15:11, Roger Quadros wrote: > Hi Felipe, > > Some platforms (e.g. TI's AM437x) don't have USB ID pin state available > over GPIO/extcon but need to rely on the DWC3 core's OTG block to > get the ID pin state instead. > > This series implements simple dual-role functionalit

Re: [alsa-devel] [PATCH] ASoC: dmic: Add optional wakeup delay

2018-02-14 Thread Peter Ujfalusi
On 2018-02-15 01:51, Matthias Kaehlcke wrote: > On some systems a delay is needed after switching on the clocks, to allow > the DMIC output to stabilize and avoid a popping noise at the beginning > of the recording. Add the optional device tree property 'wakeup-delay-ms' > and apply the specified

Re: [PATCH 1/4] rtc: isl1208: Fix unintended clear of SR bits

2018-02-14 Thread Denis OSTERLAND
Am Mittwoch, den 14.02.2018, 21:26 +0100 schrieb Alexandre Belloni: > On 23/01/2018 at 13:17:58 +0100, Michael Grzeschik wrote: > > > > From: Denis Osterland > > > > After successful > > sr = isl1208_i2c_set_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN); > > sr will be 0. > > As a result > > sr

Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings

2018-02-14 Thread Chris Wilson
Quoting Anshuman Khandual (2018-02-15 03:33:56) > This replaces scatterlist->page_link LSB encodings with SG_CHAIN and > SG_END definitions without any functional change. > > Signed-off-by: Anshuman Khandual > --- > Changes in V2: > - Changed SG_EMARK as SG_END as per Johannes and Tvrtko > - Adde

Re: [dm-devel] DM Regression in 4.16-rc1 - read() returns data when it shouldn't

2018-02-14 Thread Milan Broz
On 02/15/2018 01:07 AM, NeilBrown wrote: > > And looking again at the code, it doesn't seem so bad. I was worried > about reassigning ci.io->orig_bio after calling > __split_and_process_non_flush(), but the important thing is to set it > before the last dec_pending() call, and the code gets that

Re: [PATCH 18/20] iwlwifi: fix malformed CONFIG_IWLWIFI_PCIE_RTPM default

2018-02-14 Thread Luciano Coelho
On Mon, 2018-02-05 at 02:21 +0100, Ulf Magnusson wrote: > 'default false' should be 'default n', though they happen to have the > same effect here, due to undefined symbols ('false' in this case) > evaluating to n in a tristate sense. > > Remove the default instead of changing it. bool and tristat

[PATCH] extcon: intel-cht-wc: Also set direction and drv flags for V5 boost GPIO

2018-02-14 Thread Hans de Goede
Sometimes (firmware bug?) the V5 boost GPIO is not configured as output by the BIOS, leading to the 5V boost convertor being permanently on, Explicitly set the direction and drv flags rather then inheriting them from the firmware to fix this. Signed-off-by: Hans de Goede --- drivers/extcon/extc

[PATCH] rtl8187: Fix NULL pointer dereference in priv->conf_mutex

2018-02-14 Thread Sudhir Sreedharan
This can be reproduced by bind/unbind the driver multiple times in AM3517 board. Analysis revealed that rtl8187_start() was invoked before probe finishes(ie. before the mutex is initialized). INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off th

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-14 Thread Vaibhav Jain
Thanks for looking into this patch Mpe. Michael Ellerman writes: > > > But the same crash happens with XMON_DEFAULT=n and nothing on the > command line. Yes, XMON_DEFAULT=n and empty boot command line implies xmon=off hence you will see the same issue and this patch should fix that issue too. >

Re: [RFC PATCH ghak21 1/4] audit: make ANOM_LINK obey audit_enabled and audit_dummy_context

2018-02-14 Thread Kees Cook
On Wed, Feb 14, 2018 at 6:33 PM, Richard Guy Briggs wrote: > On 2018-02-14 09:51, Kees Cook wrote: >> On Wed, Feb 14, 2018 at 8:18 AM, Richard Guy Briggs wrote: >> > Audit link denied events emit disjointed records when audit is disabled. >> > No records should be emitted when audit is disabled.

[PATCH v11 02/10] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2018-02-14 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. This patch also inlines omap_dm_timer_get_fclk function for non OMAP1 Config. Signed-off-by: Keerthy Tested-by: Ladislav Michl Reviewed-by: Sebastian Reichel --- arch/arm/plat-omap/include/plat/dmtimer.h | 17 - 1 file ch

[PATCH v11 10/10] arm: omap: pdata-quirks: Remove unused timer pdata

2018-02-14 Thread Keerthy
Remove unused timer pdata. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap2/pdata-quirks.c | 32 1 file changed, 32 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata

[PATCH v11 06/10] timer-ti-dm: Add timer ops to the platform data structure

2018-02-14 Thread Keerthy
Add timer ops to the platform data structure Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- include/linux/platform_data/dmtimer-omap.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/linux/platform_data/dmtimer-om

[PATCH v11 09/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-02-14 Thread Keerthy
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. Signed-off-by: Keerthy Acked-by: Neil Armstrong Reviewed-by: Claudiu Beznea --- drivers/pwm/pwm-omap-dmtimer.c | 68 ++ 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/dri

[PATCH v11 08/10] clocksource: timer-ti-dm: Hook device platform data if not already assigned

2018-02-14 Thread Keerthy
From: Ladislav Michl In the case of device tree boot the device platform data is usually NULL so hook the platform data obtained from the match. As part of un-constify the platform_data pointer. Signed-off-by: Ladislav Michl Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- drivers/c

[PATCH v11 05/10] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-02-14 Thread Keerthy
Move the dmtimer driver out of plat-omap to clocksource. So that non-omap devices also could use this. No Code changes done to the driver file only renamed to timer-ti-dm.c. Also removed the config dependencies for OMAP_DM_TIMER. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by:

[PATCH v11 01/10] clocksource: dmtimer: Remove all the exports

2018-02-14 Thread Keerthy
Remove all the unwanted exports from the driver Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/plat-omap/dmtimer.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmt

[PATCH v11 03/10] arm: omap: Move dmtimer.h out of plat-omap

2018-02-14 Thread Keerthy
The header file is currently under plat-omap directory under arch/omap. Move this out to an accessible place. No Code changes done to the header file and renamed to timer-ti-dm.h. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap1/pm.c

[PATCH v11 07/10] clocksource: timer-ti-dm: Populate the timer ops to the pdata

2018-02-14 Thread Keerthy
Add the timer ops to the platform data Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- drivers/clocksource/timer-ti-dm.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/t

[PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-14 Thread Keerthy
Replace architecture specific guard with clocksource guard. Signed-off-by: Keerthy Replace architecture specific defines with clocksource --- include/clocksource/timer-ti-dm.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/clocksource/timer-ti-dm.h b/include

[PATCH v11 00/10] omap: dmtimer: Move driver out of plat-omap

2018-02-14 Thread Keerthy
The series moves dmtimer out of plat-omap to drivers/clocksource. The series also does a bunch of changes to pwm-omap-dmtimer code to adapt to the driver migration and clean up plat specific pdata-quirks and use the dmtimer platform data. Boot tested on DRA7-EVM and AM437X-GP-EVM. Compile tested o

Re: [GIT PULL] x86 PTI and Spectre related fixes and updates

2018-02-14 Thread Greg Kroah-Hartman
On Wed, Feb 14, 2018 at 05:17:25PM -0800, Linus Torvalds wrote: > On Wed, Feb 14, 2018 at 4:38 PM, Ingo Molnar wrote: > > > >This tree generates two relatively simple conflicts with your tree: > > So what annoys me about these conflicts is that I'm not convinced that > the stable tree actuall

Re: [PATCH] x86/mm/kaiser: avoid 32-bit/PAE build warning

2018-02-14 Thread Greg KH
On Wed, Feb 14, 2018 at 11:12:24PM +0100, Arnd Bergmann wrote: > On Wed, Dec 6, 2017 at 4:08 PM, Dave Hansen > wrote: > > On 12/06/2017 07:03 AM, Arnd Bergmann wrote: > >> On Wed, Dec 6, 2017 at 3:15 PM, Arnd Bergmann wrote: > >> > >>> This changes the type to u64 in the architecture-independent

[PATCH v3 4/4] of: improve reporting invalid overlay target path

2018-02-14 Thread frowand . list
From: Frank Rowand Errors while developing the patch to create of_overlay_fdt_apply() exposed inadequate error messages to debug problems when overlay devicetree fragment nodes contain an invalid target path. Improve the messages in find_target_node() to remedy this. Signed-off-by: Frank Rowand

[PATCH v3 2/4] of: Documentation: of_overlay_apply() replaced by of_overlay_fdt_apply()

2018-02-14 Thread frowand . list
From: Frank Rowand Signed-off-by: Frank Rowand --- Documentation/devicetree/overlay-notes.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/overlay-notes.txt b/Documentation/devicetree/overlay-notes.txt index c4aa0adf13ec..5175a24d387e 100644

[PATCH v3 1/4] of: change overlay apply input data from unflattened to FDT

2018-02-14 Thread frowand . list
From: Frank Rowand Move duplicating and unflattening of an overlay flattened devicetree (FDT) into the overlay application code. To accomplish this, of_overlay_apply() is replaced by of_overlay_fdt_apply(). The copy of the FDT (aka "duplicate FDT") now belongs to devicetree code, which is thus

[PATCH v3 3/4] of: convert unittest overlay devicetree source to sugar syntax

2018-02-14 Thread frowand . list
From: Frank Rowand The unittest-data overlays have been pulled into proper overlay devicetree source files without changing their format. The next step is to convert them to use sugar syntax instead of hand coding overlay fragments structure. A few of the overlays can not be converted because t

[PATCH v3 0/4] of: change overlay apply input data from unflattened

2018-02-14 Thread frowand . list
From: Frank Rowand Move duplicating and unflattening of an overlay flattened devicetree (FDT) into the overlay application code. To accomplish this, of_overlay_apply() is replaced by of_overlay_fdt_apply(). The copy of the FDT (aka "duplicate FDT") now belongs to devicetree code, which is thus

Re: linux-next: build failure after merge of the mmc tree

2018-02-14 Thread Kishon Vijay Abraham I
Hi, On Thursday 15 February 2018 06:19 AM, Stephen Rothwell wrote: > Hi Ulf, > > After merging the mmc tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/mmc/host/sdhci-omap.c: In function 'sdhci_omap_set_timing': > drivers/mmc/host/sdhci-omap.c:466:8: error: im

Re: [PATCH] Build: Scripts/Makefile: Remove Repeated Lines

2018-02-14 Thread Randy Dunlap
On 02/14/2018 09:05 PM, Stephen Rothwell wrote: > Hi Progyan, > > On Thu, 15 Feb 2018 09:50:03 +0530 Progyan Bhattacharya > wrote: >> > >> PS: I have another question, Is use of range expression within case >> statements allowed in Kernel? If not, are we using If-Else ladder for that? > > I am

[PATCH] drm/amdgpu_gem: fix error handling path in amdgpu_gem_va_update_vm

2018-02-14 Thread Gustavo A. R. Silva
Currently, if amdgpu_vm_bo_update() fails, the returned error is being ignored. Fix this by properly checking _r_ after calling amdgpu_vm_bo_update. Also, remove redundant code just before label _error_. Addresses-Coverity-ID: 1464280 ("Unused value") Fixes: 0abc6878fc2d ("drm/amdgpu: update VM P

Re: [PATCH v3 3/3] arm64: dts: sdm845: Add serial console support

2018-02-14 Thread Rajendra Nayak
On 02/15/2018 12:41 AM, Bjorn Andersson wrote: > [..] >>> + >>> + qup_1: geni-se@ac { >> Color me confused. So you're saying here that this is "qup_1". >> ...but above you turn the pinmux for pins "GPIO4" and "GPIO5" to >> "qup9", right? So UART2 is on "qup 1" and "qup 9"? >>

Re: [PATCH] Build: Scripts/Makefile: Remove Repeated Lines

2018-02-14 Thread Stephen Rothwell
Hi Progyan, On Thu, 15 Feb 2018 10:04:18 +0530 Progyan Bhattacharya wrote: > > I did some ground work and found this particular commit that causing the > error. > > Commit Hash: d96977a8c2266792397ed9814bb84b5129a278ad That hash does not appear in linux-next (or Linus' tree). > Commit Body: >

Re: [PATCH 00/17] Add kexec_file_load support to s390

2018-02-14 Thread AKASHI Takahiro
Hi, On Wed, Feb 14, 2018 at 10:54:49AM +0100, Philipp Rudo wrote: > Hi Dave, > > I just browsed AKASHI's patches (v7). The way I see it the common code changes > are on different areas of kexec_file and shouldn't get in conflict. Only in > the > arch code (s390 and arm64) some function calls mig

Re: [PATCH] Build: Scripts/Makefile: Remove Repeated Lines

2018-02-14 Thread Stephen Rothwell
Hi Progyan, On Thu, 15 Feb 2018 09:50:03 +0530 Progyan Bhattacharya wrote: > > The last commit I have in here: > > 8396647363e1 (origin/next, next) Add linux-next specific files for 20180206 I don't know where you got that from, as my copy of that commit has SHA1 417c85c22818aefd973fa957b62fb1

Re: [PATCH 2/3] PCI: dwc: pci-dra7xx: Improve MSI IRQ handling

2018-02-14 Thread Vignesh R
Hi, On Monday 12 February 2018 11:28 PM, Lorenzo Pieralisi wrote: > On Fri, Feb 09, 2018 at 05:34:14PM +0530, Vignesh R wrote: >> We need to ensure that there are no pending MSI IRQ vector set (i.e >> PCIE_MSI_INTR0_STATUS reads 0 at least once) before exiting >> dra7xx_pcie_msi_irq_handler(). Els

Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings

2018-02-14 Thread Jens Axboe
On 2/14/18 8:33 PM, Anshuman Khandual wrote: > This replaces scatterlist->page_link LSB encodings with SG_CHAIN and > SG_END definitions without any functional change. Looks good to me, I'll add it for 4.17. -- Jens Axboe

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-14 Thread Tomasz Figa
On Thu, Feb 15, 2018 at 12:17 PM, Tomasz Figa wrote: > On Thu, Feb 15, 2018 at 1:03 AM, Robin Murphy wrote: >> On 14/02/18 10:33, Vivek Gautam wrote: >>> >>> On Wed, Feb 14, 2018 at 2:46 PM, Tomasz Figa wrote: >>> >>> Adding Jordan to this thread as well. >>> On Wed, Feb 14, 2018 at 6:13 PM

Re: [Freedreno] [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-14 Thread Tomasz Figa
On Thu, Feb 15, 2018 at 1:12 AM, Rob Clark wrote: > On Wed, Feb 14, 2018 at 10:48 AM, Jordan Crouse > wrote: >> On Wed, Feb 14, 2018 at 12:31:29PM +0900, Tomasz Figa wrote: >>> >>> - When submitting commands to the GPU, the GPU driver will >>> pm_runtime_get_sync() on the GPU device, which will

Re: [PATCH v9 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-02-14 Thread Florian Fainelli
On February 14, 2018 6:28:51 PM PST, Joel Stanley wrote: >On Tue, Feb 13, 2018 at 4:52 PM, Joel Stanley wrote: >> Hi Brendan, >> >> On Tue, Feb 6, 2018 at 10:27 AM, Brendan Higgins >> wrote: >>> Add a common device tree for all Nuvoton NPCM750 BMCs and a board >>> specific device tree for the NP

Re: [RFC PATCH ghak21 0/4] audit: address ANOM_LINK excess records

2018-02-14 Thread Richard Guy Briggs
On 2018-02-14 11:49, Steve Grubb wrote: > On Wednesday, February 14, 2018 11:18:20 AM EST Richard Guy Briggs wrote: > > Audit link denied events were being unexpectedly produced in a disjoint > > way when audit was disabled, and when they were expected, there were > > duplicate PATH records. This

Re: [PATCH] namei: fix hardlink speeling error

2018-02-14 Thread Matthew Wilcox
On Wed, Feb 14, 2018 at 09:28:54PM -0500, Richard Guy Briggs wrote: >* This ensures that not everyone will be able to create > - * handlink using the passed filedescriptor. > + * hardlink using the passed filedescriptor. >*/ You're changing this line and you didn't feel t

Re: [PATCH v2 2/8] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-02-14 Thread Matthew Wilcox
On Wed, Feb 14, 2018 at 03:58:33PM -0800, Andrew Morton wrote: > On Wed, 14 Feb 2018 13:12:03 -0800 Matthew Wilcox wrote: > > If C macros had decent introspection, I'd like it to be: > > > > sev = kvzalloc_struct(elems, GFP_KERNEL); > > > > and have the macro examine the structure pointed to

linux-next: Tree for Feb 15

2018-02-14 Thread Stephen Rothwell
Hi all, Changes since 20180214: The sound-asoc tree gained a build failure so I used the version from next-20180214. The mmc tree gained a build failure so I used the version from next-20180214. Non-merge commits (relative to Linus' tree): 1794 2149 files changed, 75703 insertions(+),

[PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings

2018-02-14 Thread Anshuman Khandual
This replaces scatterlist->page_link LSB encodings with SG_CHAIN and SG_END definitions without any functional change. Signed-off-by: Anshuman Khandual --- Changes in V2: - Changed SG_EMARK as SG_END as per Johannes and Tvrtko - Added 'UL' to the constants as per Bart include/linux/scatterlist.

RE: [Intel-wired-lan] [PATCH net-queue 3/3] e1000e: Avoid missed interrupts following ICR read.

2018-02-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Benjamin Poirier > Sent: Wednesday, February 7, 2018 10:47 PM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org > Subject: [Intel-wired-lan] [PA

RE: [Intel-wired-lan] [PATCH net-queue 1/3] Partial revert "e1000e: Avoid receiver overrun interrupt bursts"

2018-02-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Benjamin Poirier > Sent: Wednesday, February 7, 2018 10:47 PM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org > Subject: [Intel-wired-lan] [PA

RE: [Intel-wired-lan] [PATCH net-queue 2/3] e1000e: Fix queue interrupt re-raising in Other interrupt.

2018-02-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Benjamin Poirier > Sent: Wednesday, February 7, 2018 10:47 PM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org > Subject: [Intel-wired-lan] [PA

[PATCH] arm64: defconfig: enable CONFIG_LEDS_TRIGGER_TIMER

2018-02-14 Thread Ooi, Joyce
Enable LED timer trigger for ARM64 to allow LEDs to be controlled via sysfs. Signed-off-by: Ooi, Joyce --- arch/arm64/configs/defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 634b373..b728742 100

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-14 Thread Tomasz Figa
On Thu, Feb 15, 2018 at 1:03 AM, Robin Murphy wrote: > On 14/02/18 10:33, Vivek Gautam wrote: >> >> On Wed, Feb 14, 2018 at 2:46 PM, Tomasz Figa wrote: >> >> Adding Jordan to this thread as well. >> >>> On Wed, Feb 14, 2018 at 6:13 PM, Vivek Gautam >>> wrote: Hi Tomasz, On We

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

2018-02-14 Thread Andy Lutomirski
On Thu, Feb 15, 2018 at 12:48 AM, Brian Gerst wrote: > On Wed, Feb 14, 2018 at 7:17 PM, Andy Lutomirski wrote: >> On Wed, Feb 14, 2018 at 6:21 PM, Dominik Brodowski >> wrote: >>> Moving the switch to IRQ stack from the interrupt macro to the helper >>> function requires some trickery: All ENTER_

Re: [PATCH] lib/scatterlist: Add SG_CHAIN and SG_EMARK macros for LSB encodings

2018-02-14 Thread Anshuman Khandual
On 02/14/2018 09:33 PM, Bart Van Assche wrote: > On Wed, 2018-02-14 at 10:28 +0530, Anshuman Khandual wrote: >> +#define SG_CHAIN0x01 >> +#define SG_EMARK0x02 > > Hello Anshuman, > > As you probably know constants that do not have a suffix are of type int. > Please > consider to add suff

Re: [PATCH] lib/scatterlist: Add SG_CHAIN and SG_EMARK macros for LSB encodings

2018-02-14 Thread Anshuman Khandual
On 02/14/2018 09:41 PM, Tvrtko Ursulin wrote: > > On 14/02/18 08:32, Johannes Thumshirn wrote: >> On Wed, 2018-02-14 at 10:28 +0530, Anshuman Khandual wrote: >>> This replaces scatterlist->page_link LSB encodings with SG_CHAIN and >>> SG_EMARK definitions without any functional change. >>> >>> Sig

[PATCH V3 1/2] audit: deprecate the AUDIT_FILTER_ENTRY filter

2018-02-14 Thread Richard Guy Briggs
The audit entry filter has been long deprecated with userspace support finally removed in audit-v2.6.7 and plans to remove kernel support have existed since kernel-v2.6.31. Remove it. Since removing the audit entry filter, test for early return before setting up any context state. Passes audit-te

[PATCH V3 0/2] audit: speed up audit syscall entry

2018-02-14 Thread Richard Guy Briggs
These fixes should speed up audit syscall entry by doing away with the audit entry filter check, moving up the valid connection check before filling in the context and not caring if there is a bug when audit is disabled. Passes audit-testsuite. See: https://github.com/linux-audit/audit-kernel/issu

[PATCH V3 2/2] audit: bail before bug check if audit disabled

2018-02-14 Thread Richard Guy Briggs
If audit is disabled, who cares if there is a bug indicating syscall in process or names already recorded. Bail immediately on audit disabled. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/auditsc.c b/kernel

Re: linux-next: build failure after merge of the sound-asoc tree

2018-02-14 Thread Kuninori Morimoto
remove legacy_dai_naming from > snd_soc_register_dais()") > > I have used the sound-asoc tree from next-20180214 for today. > > -- > Cheers, > Stephen Rothwell

Re: [PATCH] ASoC: dmic: Add optional wakeup delay

2018-02-14 Thread Matthias Kaehlcke
El Wed, Feb 14, 2018 at 04:22:54PM -0800 Brian Norris ha dit: > Hi Matthias, > > On Wed, Feb 14, 2018 at 03:51:56PM -0800, Matthias Kaehlcke wrote: > > On some systems a delay is needed after switching on the clocks, to allow > > the DMIC output to stabilize and avoid a popping noise at the begin

Re: [PATCH v10 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-02-14 Thread Joel Stanley
On Wed, Feb 14, 2018 at 6:39 AM, Brendan Higgins wrote: > + ahb { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "simple-bus"; > + interrupt-parent = <&gic>; > + ranges; > + > + clk: clock

Re: [RFC PATCH ghak21 1/4] audit: make ANOM_LINK obey audit_enabled and audit_dummy_context

2018-02-14 Thread Richard Guy Briggs
On 2018-02-14 09:51, Kees Cook wrote: > On Wed, Feb 14, 2018 at 8:18 AM, Richard Guy Briggs wrote: > > Audit link denied events emit disjointed records when audit is disabled. > > No records should be emitted when audit is disabled. > > > > See: https://github.com/linux-audit/audit-kernel/issues/2

[PATCH] namei: fix hardlink speeling error

2018-02-14 Thread Richard Guy Briggs
Fix handlink to hardlink. Signed-off-by: Richard Guy Briggs --- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index bf1c046b..bbfb21d3 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -4258,7 +4258,7 @@ int vfs_link(struct dentry *old_dentry, s

Re: [PATCH v9 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-02-14 Thread Joel Stanley
On Tue, Feb 13, 2018 at 4:52 PM, Joel Stanley wrote: > Hi Brendan, > > On Tue, Feb 6, 2018 at 10:27 AM, Brendan Higgins > wrote: >> Add a common device tree for all Nuvoton NPCM750 BMCs and a board >> specific device tree for the NPCM750 (Poleg) evaluation board. >> >> Signed-off-by: Brendan Higg

Re: [PATCH] block: Change 'unsigned' to 'unsigned int' throughout block layer

2018-02-14 Thread Joe Perches
On Thu, 2018-02-15 at 02:13 +, Al Viro wrote: > On Wed, Feb 14, 2018 at 08:37:02PM -0500, John Pittman wrote: > > In quite a few files throughout the block layer, the bare 'unsigned' is > > used rather than the preferred 'unsigned int'. > > Preferred by whom? The kernel as a whole, ~12:1 > >

[PATCH v2] serial: 8250: Add Nuvoton NPCM UART

2018-02-14 Thread Joel Stanley
The Nuvoton UART is almost compatible with the 8250 driver when probed via the 8250_of driver, however it requires some extra configuration at startup. Signed-off-by: Joel Stanley --- v2: Remove redundant whitespace Use port number 40 to fill in a gap Documentation/devicetree/bindings/serial/

Re: [PATCH] block: Change 'unsigned' to 'unsigned int' throughout block layer

2018-02-14 Thread Al Viro
On Wed, Feb 14, 2018 at 08:37:02PM -0500, John Pittman wrote: > In quite a few files throughout the block layer, the bare 'unsigned' is > used rather than the preferred 'unsigned int'. Preferred by whom? > The issue was What is that "issue" and why is it a problem in the first place? > exposed

Re: [PATCH] block: Change 'unsigned' to 'unsigned int' throughout block layer

2018-02-14 Thread Jens Axboe
On 2/14/18 6:37 PM, John Pittman wrote: > In quite a few files throughout the block layer, the bare 'unsigned' is > used rather than the preferred 'unsigned int'. The issue was > exposed by checkpatch.pl. Warnings encountered were: > > WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-14 Thread Tim Chen
On 02/14/2018 03:19 PM, Ingo Molnar wrote: > > * Tim Chen wrote: > >> On 02/14/2018 12:56 AM, Peter Zijlstra wrote: >> >>> >>> At the very least this must disable and re-enable preemption, such that >>> we guarantee we inc/dec the same counter. ISTR some firmware calls (EFI) >>> actually are pre

Re: [PATCH] serial: 8250: Add Nuvoton NPCM UART

2018-02-14 Thread Joel Stanley
On Wed, Feb 14, 2018 at 3:22 AM, Andy Shevchenko wrote: > On Mon, Feb 12, 2018 at 6:48 AM, Joel Stanley wrote: >> The Nuvoton UART is almost compatible with the 8250 driver when probed >> via the 8250_of driver, however it requires some extra configuration >> at startup. > > >> + [PORT_NPCM

[PATCH] block: Change 'unsigned' to 'unsigned int' throughout block layer

2018-02-14 Thread John Pittman
In quite a few files throughout the block layer, the bare 'unsigned' is used rather than the preferred 'unsigned int'. The issue was exposed by checkpatch.pl. Warnings encountered were: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' WARNING: Prefer 'unsigned int *' to bare use

Re: [RFC PATCH 01/60] hyper_dmabuf: initial working version of hyper_dmabuf drv

2018-02-14 Thread Dongwon Kim
Abandoning this series as a new version was submitted for the review "[RFC PATCH v2 0/9] hyper_dmabuf: Hyper_DMABUF driver" On Tue, Dec 19, 2017 at 11:29:17AM -0800, Kim, Dongwon wrote: > Upload of intial version of hyper_DMABUF driver enabling > DMA_BUF exchange between two different VMs in virt

[PATCH v11 2/8] media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMIGNS_CAP

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/driver

[PATCH v11 3/8] media: add digital video decoder video interface entity functions

2018-02-14 Thread Tim Harvey
Add a new media entity function definition for digital TV decoders: MEDIA_ENT_F_DTV_DECODER Signed-off-by: Tim Harvey --- Documentation/media/uapi/mediactl/media-types.rst | 11 +++ include/uapi/linux/media.h| 5 + 2 files changed, 16 insertions(+) diff --gi

[PATCH v11 0/8] TDA1997x HDMI video reciver

2018-02-14 Thread Tim Harvey
This is a v4l2 subdev driver supporting the TDA1997x HDMI video receiver. I've tested this on a Gateworks GW54xx/GW551x with an IMX6Q/IMX6DL which uses the TDA19971 with 16bits connected to the IMX6 CSI and single-lane I2S audio providing 2-channel audio. For this configuration I've tested both 1

[PATCH v11 7/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-14 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI au

[PATCH v11 8/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a 100

[PATCH v11 5/8] media: dt-bindings: Add bindings for TDA1997X

2018-02-14 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: - add vendor pre

[PATCH v11 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-14 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v11: - return -ERANGE from tda1997x_detect_std (Hans) - clean up tda1997x_g_input_status (Hans) - show detected timings on resolution change if debug enabled - fix unitialized ret var in tda1997x_quer

Re: [GIT PULL] x86 PTI and Spectre related fixes and updates

2018-02-14 Thread Linus Torvalds
On Wed, Feb 14, 2018 at 4:38 PM, Ingo Molnar wrote: > >This tree generates two relatively simple conflicts with your tree: So what annoys me about these conflicts is that I'm not convinced that the stable tree actually *uses* your fancy x86/pti branch? I think stable ends up working like a p

[PATCH v11 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F: dri

[PATCH v11 1/8] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-14 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Cc: Randy Dunlap Signed-off-by: Hans Verkuil --- v9: - fix kernel-doc format (Randy) dri

[GIT PULL] scheduler fixes

2018-02-14 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 43d1b29b27c76e7454cd6c85bec4d0e9cbb039f3 sched/cpufreq: Remove unused SUGOV_KTHREAD_PRIORITY macro Misc fixes: - fix rq->lock lo

Re: [PATCH] of: add early boot allocation of of_find_node_by_phandle() cache

2018-02-14 Thread Frank Rowand
On 02/14/18 16:44, frowand.l...@gmail.com wrote: > From: Frank Rowand > > The initial implementation of the of_find_node_by_phandle() cache > allocates the cache using kcalloc(). Add an early boot allocation > of the cache so it will be usable during early boot. Switch over > to the kcalloc() b

[PATCH v3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-02-14 Thread frowand . list
From: Frank Rowand Create a cache of the nodes that contain a phandle property. Use this cache to find the node for a given phandle value instead of scanning the devicetree to find the node. If the phandle value is not found in the cache, of_find_node_by_phandle() will fall back to the tree sca

[GIT PULL] locking fixes

2018-02-14 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: 2dd6fd2e999774041397f2a7da2e1d30b3a27c3a locking/semaphore: Update the file path in documentation This tree contains two qspin

linux-next: build failure after merge of the mmc tree

2018-02-14 Thread Stephen Rothwell
:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] state = pinctrl_lookup_state(omap_host->pinctrl, "default"); ^ Caused by commit 713190bb14aa ("mmc: sdhci_omap: Add support to set IODELAY values") Forgot to include linux/pinctrl/consumer.h? I have used the mmc tree from next-20180214 for today. -- Cheers, Stephen Rothwell

[PATCH 3/6] sched/isolation: Isolate workqueues when "nohz_full=" is set

2018-02-14 Thread Frederic Weisbecker
As we prepare for offloading the residual 1hz scheduler ticks to workqueue, let's affine those to housekeepers so that they don't interrupt the CPUs that don't want to be disturbed. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Luiz Capitulino Cc: Mike Galbrait

[PATCH 4/6] sched/isolation: Offload residual 1Hz scheduler tick

2018-02-14 Thread Frederic Weisbecker
When a CPU runs in full dynticks mode, a 1Hz tick remains in order to keep the scheduler stats alive. However this residual tick is a burden for bare metal tasks that can't stand any interruption at all, or want to minimize them. The usual boot parameters "nohz_full=" or "isolcpus=nohz" will now o

[PATCH 6/6] sched/isolation: Update nohz documentation to explain tick offload

2018-02-14 Thread Frederic Weisbecker
Update the documentation to reflect the 1Hz tick offload changes. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: Wanpeng Li Cc: Ingo Molnar

[PATCH 0/6] isolation: 1Hz residual tick offloading v6

2018-02-14 Thread Frederic Weisbecker
The version addresses the reviews from Ingo on v5: * Start changelog titles with verbs. * Improve/reword several comments. * Improve/reword documentation. * Various cosmetic changes. * Use BUG_ON() on boot allocation failure. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.g

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

2018-02-14 Thread Brian Gerst
On Wed, Feb 14, 2018 at 7:17 PM, Andy Lutomirski wrote: > On Wed, Feb 14, 2018 at 6:21 PM, Dominik Brodowski > wrote: >> 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" stac

[PATCH 5/6] sched/nohz: Remove the 1 Hz tick code

2018-02-14 Thread Frederic Weisbecker
Now that the 1Hz tick is offloaded to workqueues, we can safely remove the residual code that used to handle it locally. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel

[PATCH 2/6] nohz: Allow to check if remote CPU tick is stopped

2018-02-14 Thread Frederic Weisbecker
This check is racy but provides a good heuristic to determine whether a CPU may need a remote tick or not. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas G

[PATCH 1/6] sched: Rename init_rq_hrtick to hrtick_rq_init

2018-02-14 Thread Frederic Weisbecker
Do that rename in order to normalize the hrtick namespace. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: Wanpeng Li Cc: Ingo Molnar --- k

Re: [PATCH v2 1/4] x86/speculation: Use IBRS if available before calling into firmware

2018-02-14 Thread Jim Mattson
On Wed, Feb 14, 2018 at 3:29 PM, David Woodhouse wrote: > +#define alternative_msr_write(_msr, _val, _feature)\ > + asm volatile(ALTERNATIVE("",\ > +"movl %[msr], %%ecx\n\t" \ > +"m

[GIT PULL] x86 fixes

2018-02-14 Thread Ingo Molnar
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 # HEAD: fd0e786d9d09024f67bd71ec094b110237dc3840 x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages Misc fixes all across the m

[PATCH] of: add early boot allocation of of_find_node_by_phandle() cache

2018-02-14 Thread frowand . list
From: Frank Rowand The initial implementation of the of_find_node_by_phandle() cache allocates the cache using kcalloc(). Add an early boot allocation of the cache so it will be usable during early boot. Switch over to the kcalloc() based cache once normal memory allocation becomes available.

[tip:x86/pti] x86/entry/64: Fix CR3 restore in paranoid_exit()

2018-02-14 Thread tip-bot for Ingo Molnar
Commit-ID: e48657573481a5dff7cfdc3d57005c80aa816500 Gitweb: https://git.kernel.org/tip/e48657573481a5dff7cfdc3d57005c80aa816500 Author: Ingo Molnar AuthorDate: Wed, 14 Feb 2018 08:39:11 +0100 Committer: Ingo Molnar CommitDate: Thu, 15 Feb 2018 01:15:54 +0100 x86/entry/64: Fix CR3 resto

[tip:x86/pti] x86/debug, objtool: Annotate WARN()-related UD2 as reachable

2018-02-14 Thread tip-bot for Josh Poimboeuf
Commit-ID: 2b5db66862b95532cb6cca8165ae6eb73633cf85 Gitweb: https://git.kernel.org/tip/2b5db66862b95532cb6cca8165ae6eb73633cf85 Author: Josh Poimboeuf AuthorDate: Thu, 8 Feb 2018 17:09:26 -0600 Committer: Ingo Molnar CommitDate: Thu, 15 Feb 2018 01:15:49 +0100 x86/debug, objtool: Annot

  1   2   3   4   5   6   7   8   9   10   >