Re: [PATCH 1/2] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-07 Thread Uwe Kleine-König
On Wed, Nov 07, 2018 at 10:36:12AM +0100, Clément Péron wrote: > The Cygnus architecture use a Kona PWM. This is already present > in the device tree but can't be built actually. Hence, allow the > Kona PWM to be built for Cygnus arch. > > Signed-off-by: Clément Péron > --- >

My Name Is Doctor Lilly T Williams From USA

2018-11-07 Thread From Dr Lilly Williams
-- Hello Dear. My name is Doctor Lilly Williams, I am 26 years old medical doctor from USA united state of America. presently working and living in the UK United kingdom, my mum is from french why my father is from USA, I was just going through the Internet search when i saw your

[PATCH] sched/rt: Introduce prio_{higher,lower}() helper for comparing RT task prority

2018-11-07 Thread Muchun Song
We use a value to represent the priority of the RT task. But a smaller value corresponds to a higher priority. If there are two RT task A and B, their priorities are prio_a and prio_b, respectively. If prio_a is larger than prio_b, which means that the priority of RT task A is lower than RT task

[PATCH] of/pdt: Remove unused of_pdt_build_more function ptr

2018-11-07 Thread Rob Herring
There are no users of of_pdt_build_more since 2012, so remove it. Cc: Frank Rowand Signed-off-by: Rob Herring --- drivers/of/pdt.c | 5 - include/linux/of_pdt.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/of/pdt.c b/drivers/of/pdt.c index 013e65de074a..4fc0fd96ed04

Re: [PATCH] of, numa: Validate some distance map rules

2018-11-07 Thread John Garry
On 07/11/2018 15:55, Rob Herring wrote: On Wed, Nov 07, 2018 at 03:44:31PM +, Will Deacon wrote: Hi John, On Tue, Nov 06, 2018 at 08:39:33PM +0800, John Garry wrote: Currently the NUMA distance map parsing does not validate the distance table for the distance-matrix rules 1-2 in [1].

[PATCH] soc: qcom: fix semicolon.cocci warnings

2018-11-07 Thread kbuild test robot
From: kbuild test robot sound/soc/qcom/sdm845.c:156:3-4: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: ccfb464cd106 ("soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs") CC: Niklas Cassel Signed-off-by: kbuild test robot ---

sound/soc/qcom/sdm845.c:156:3-4: Unneeded semicolon

2018-11-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8053e5b93eca9b011f7b79bb019bf1eeaaf96c4b commit: ccfb464cd106890cfa51070f75921a273e2852e5 soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs date: 8 weeks ago coccinelle warnings: (new ones prefixed by

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-11-07 Thread Stefan Agner
On 06.11.2018 05:49, Nicolas Pitre wrote: > On Tue, 6 Nov 2018, Stefan Agner wrote: > >> On 16.10.2018 22:43, Nicolas Pitre wrote: >> > Subject: [PATCH] ARM: remove naked function usage >> > >> > Convert page copy functions not to rely on the naked function attribute. >> > >> > This attribute is

Re: [PATCH V3 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-11-07 Thread Alan Stern
On Wed, 7 Nov 2018, Al Cooper wrote: > On 11/7/18 10:23 AM, Alan Stern wrote: > > On Tue, 6 Nov 2018, Florian Fainelli wrote: > > > >> On 11/6/18 1:40 PM, Al Cooper wrote: > >>> On 11/6/18 11:08 AM, Alan Stern wrote: > On Mon, 5 Nov 2018, Al Cooper wrote: > > > Add support for

Re: [PATCH RESEND v4 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-11-07 Thread Schrempf Frieder
Hi Yogesh, I didn't have time to look at all of the code, but nevertheless here are some comments. On 23.10.18 10:56, Yogesh Narayan Gaur wrote: > - Add driver for NXP FlexSPI host controller > > (0) What is the FlexSPI controller? > FlexSPI is a flexsible SPI host controller which supports

Re: INFO: task hung in fuse_sb_destroy

2018-11-07 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+6339eda9cb4ebbc4c...@syzkaller.appspotmail.com Tested on: commit: 59fc453b21f7 Merge branch 'akpm' (patches from Andrew) git tree:

Re: [PATCH] fs/proc: introduce /proc/stat2 file

2018-11-07 Thread Daniel Colascione
On Wed, Nov 7, 2018 at 10:03 AM, Miklos Szeredi wrote: > On Wed, Nov 7, 2018 at 12:48 AM, Andrew Morton > wrote: >> On Mon, 29 Oct 2018 23:04:45 + Daniel Colascione >> wrote: >> >>> On Mon, Oct 29, 2018 at 7:25 PM, Davidlohr Bueso wrote: >>> > This patch introduces a new /proc/stat2 file

Re: [RFC PATCH] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-07 Thread Dmitry V. Levin
On Wed, Nov 07, 2018 at 04:27:51AM +0100, Elvira Khabirova wrote: [...] > The structure was chosen according to [2], except for two changes. > First: instead of an arch field with a value of AUDIT_ARCH_*, a boolean > is_compat value is returned, because a) not all arches have an AUDIT_ARCH_* >

[tip:core/urgent] resource/docs: Complete kernel-doc style function documentation

2018-11-07 Thread tip-bot for Borislav Petkov
Commit-ID: f26621e60b35369bca9228bc936dc723b3e421af Gitweb: https://git.kernel.org/tip/f26621e60b35369bca9228bc936dc723b3e421af Author: Borislav Petkov AuthorDate: Mon, 5 Nov 2018 10:33:07 +0100 Committer: Ingo Molnar CommitDate: Wed, 7 Nov 2018 16:47:47 +0100 resource/docs: Complete

Re: [LKP] [locks] dee160df82: BUG:KASAN:null-ptr-deref_in_l

2018-11-07 Thread Thierry Reding
On Wed, Nov 07, 2018 at 07:01:29AM -0500, Jeff Layton wrote: > On Wed, 2018-11-07 at 16:43 +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > > > commit: dee160df820de41ff2f59a715643680822a0ab06 ("locks: use properly > > initialized file_lock when

Re: [PATCH v16 06/22] x86/cpu/intel: Detect SGX support and update caps appropriately

2018-11-07 Thread Jarkko Sakkinen
On Tue, Nov 06, 2018 at 05:58:01AM -0800, Sean Christopherson wrote: > On Tue, 2018-11-06 at 15:45 +0200, Jarkko Sakkinen wrote: > > From: Sean Christopherson > > > > Similar to other large Intel features such as VMX and TXT, SGX must be > > explicitly enabled in IA32_FEATURE_CONTROL MSR to be

Re: [PATCH 3/7] ext4: lost release of s_journal_flag_rwsem on rollback in ext4_fill_super

2018-11-07 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 10:12:35PM +0300, Vasily Averin wrote: > Fixes c8585c6fcaf2 ("ext4: fix races between changing inode journal ...") # > 4.7 > > cc: Daeho Jeong > Signed-off-by: Vasily Averin Thanks, applied. - Ted

Re: [alsa-devel] [PATCH] ASoC: core: Invoke pcm_new() for all DAI-link

2018-11-07 Thread Mark Brown
On Tue, Nov 06, 2018 at 04:41:23PM +0100, Arnaud Pouliquen wrote: > I would say force device to 0 if no_pcm (need probably to create the > control in hdmi_of_xlate_dai_id instead of hdmi_codec_pcm_new). > But keep in mind that solution has to work in case of multi HDMI codec > instances, perhaps

Re: [PATCH v4 06/10] ARM: defconfig: Use the new FSL QSPI driver under the SPI framework

2018-11-07 Thread Olof Johansson
On Wed, Nov 7, 2018 at 6:44 AM Frieder Schrempf wrote: > > From: Frieder Schrempf > > The new driver at spi/spi-fsl-qspi.c replaces the old SPI NOR driver > at mtd/fsl-quadspi.c. Switch to the new driver in the defconfigs. > > Signed-off-by: Frieder Schrempf Hi Frieder, This patch is part of

Re: [PATCH v2] ubsan: don't mark __ubsan_handle_builtin_unreachable as noreturn

2018-11-07 Thread Olof Johansson
On Wed, Nov 7, 2018 at 6:45 AM Andrey Ryabinin wrote: > > From: Arnd Bergmann > > gcc-8 complains about the prototype for this function: > > lib/ubsan.c:432:1: error: ignoring attribute 'noreturn' in declaration of a > built-in function '__ubsan_handle_builtin_unreachable' because it conflicts

Re: [PATCH 4/6] usb: gadget: add functions to signal udc driver to delay status stage

2018-11-07 Thread Alan Stern
On Wed, 7 Nov 2018, Felipe Balbi wrote: > Hi, > > Alan Stern writes: > >> Alan Stern writes: > >> > There's a similar race at the hardware level. What happens if the > >> > controller receives a new SETUP packet and concurrently the driver is > >> > setting up the controller registers for a

Re: [PATCH] rtc: hctosys: Add missing range error reporting

2018-11-07 Thread Alexandre Belloni
On 05/11/2018 03:48:25+, Maciej W. Rozycki wrote: > Fix an issue with the 32-bit range error path in `rtc_hctosys' where no > error code is set and consequently the successful preceding call result > from `rtc_read_time' is propagated to `rtc_hctosys_ret'. This in turn > makes any

Re: [PATCH] rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write

2018-11-07 Thread Alexandre Belloni
On 06/11/2018 16:42:19+0800, Xulin Sun wrote: > pcf2127_i2c_gather_write() allocates memory as local variable > for i2c_master_send(), after finishing the master transfer, > the allocated memory should be freed. The kmemleak is reported: > > unreferenced object 0x80231e7dba80 (size 64): >

Re: [PATCH 2/2] pwm: bcm-kona: apply pwm settings on enable

2018-11-07 Thread Uwe Kleine-König
Hello, On Wed, Nov 07, 2018 at 10:36:13AM +0100, Clément Péron wrote: > From: Suji Velupillai > > When pwm_bl framework calls enable, a call to pwm_is_enabled(pwm) still > return false, this prevents the backlight being turn on at boot time. > > Signed-off-by: Suji Velupillai > Signed-off-by:

Re: [PATCH] fs/proc: introduce /proc/stat2 file

2018-11-07 Thread Waiman Long
On 11/06/2018 10:32 PM, Davidlohr Bueso wrote: > On Tue, 06 Nov 2018, Andrew Morton wrote: > >> It would be interesting to know precisely which stat fields the >> database-which-shall-not-be-named is looking for.  Then we could cook >> up a very whizzy way of getting at the info. > > The ctxt

Re: [PATCH] kernel/time/posix-cpu-timers: Remove useless call to check_dl_overrun

2018-11-07 Thread Steven Rostedt
On Wed, 7 Nov 2018 16:02:21 +0100 Peter Zijlstra wrote: > On Wed, Nov 07, 2018 at 09:56:27AM -0500, Steven Rostedt wrote: > > On Wed, 7 Nov 2018 12:10:32 +0100 > > Juri Lelli wrote: > > > > > check_dl_overrun is used to send a SIGXCPU to users that asked to be > > > informed when

Re: [PATCH v8 03/15] PM: Introduce an Energy Model management framework

2018-11-07 Thread Vincent Guittot
Hi Quentin, On Tue, 16 Oct 2018 at 12:15, Quentin Perret wrote: > > + > +/** > + * em_pd_energy() - Estimates the energy consumed by the CPUs of a perf. > domain > + * @pd : performance domain for which energy has to be estimated > + * @max_util : highest utilization among CPUs of

Re: [PATCH] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-07 Thread Theodore Y. Ts'o
On Sun, Nov 04, 2018 at 08:29:39PM +0300, Vasily Averin wrote: > ext4_getblk() called with map_flags=0 can return NULL, > it can lead to oops on bh dereferemce > > Fixes e50e5129f384 ("ext4: xattr-in-inode support") > Cc: sta...@kernel.org # 4.13 > > Signed-off-by: Vasily Averin > --- >

Re: [PATCH v16 18/22] platform/x86: Intel SGX driver

2018-11-07 Thread Jarkko Sakkinen
On Tue, Nov 06, 2018 at 08:40:00AM -0800, Sean Christopherson wrote: > On Tue, 2018-11-06 at 15:45 +0200, Jarkko Sakkinen wrote: > > Intel Software Guard eXtensions (SGX) is a set of CPU instructions that > > can be used by applications to set aside private regions of code and > > data. The code

Re: [PATCH v4 06/10] ARM: defconfig: Use the new FSL QSPI driver under the SPI framework

2018-11-07 Thread Schrempf Frieder
Hi Olof, On 07.11.18 17:20, Olof Johansson wrote: > On Wed, Nov 7, 2018 at 6:44 AM Frieder Schrempf > wrote: >> >> From: Frieder Schrempf >> >> The new driver at spi/spi-fsl-qspi.c replaces the old SPI NOR driver >> at mtd/fsl-quadspi.c. Switch to the new driver in the defconfigs. >> >>

Re: [PATCH v3] x86/vsmp_64.c: Remove dependency on pv_irq_ops

2018-11-07 Thread Eial Czerwacki
Greetings Ingo, On 11/05/2018 07:59 PM, Ingo Molnar wrote: > > * Eial Czerwacki wrote: > >> +#if defined(CONFIG_PCI) > > This is shorter: > >#ifdef CONFIG_PCI > > Thanks, > > Ingo > you are absolutely right, looks like Thomas have handled it already. Eial.

Re: fs/ubifs/auth.c:249:2: error: implicit declaration of function 'request_key'

2018-11-07 Thread Sascha Hauer
On Wed, Nov 07, 2018 at 02:25:10AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 8053e5b93eca9b011f7b79bb019bf1eeaaf96c4b > commit: d8a22773a12c6d78ee758c9e530f3a488bb7cb29 ubifs: Enable authentication > support >

[tip:x86/boot] x86/boot: Simplify the detect_memory*() control flow

2018-11-07 Thread tip-bot for Jordan Borgner
Commit-ID: e8eeb3c8aab044ee8faf5e0389db8518629a9324 Gitweb: https://git.kernel.org/tip/e8eeb3c8aab044ee8faf5e0389db8518629a9324 Author: Jordan Borgner AuthorDate: Fri, 2 Nov 2018 14:56:22 + Committer: Ingo Molnar CommitDate: Tue, 6 Nov 2018 21:05:01 +0100 x86/boot: Simplify the

Re: [PATCH] ubifs: CONFIG_UBIFS_FS_AUTHENTICATION should depend on UBIFS_FS

2018-11-07 Thread Sascha Hauer
On Mon, Nov 05, 2018 at 09:25:40AM +0100, Geert Uytterhoeven wrote: > Instead of adding yet another dependency on UBIFS_FS, wrap the whole > block of ubifs config options in a single "if UBIFS_FS". > > Fixes: d8a22773a12c6d78 ("ubifs: Enable authentication support") > Signed-off-by: Geert

Greetings From Mrs.Elodie Antoine,

2018-11-07 Thread Mrs Elodie Antoine
Greetings From Mrs.Elodie Antoine, May be this letter will definitely come to you as a huge surprise, but I implore you to take the time to go through it carefully as the decision you make will go off a long way to determine my future and continued existence. I am Mrs.Elodie Antoine aging

Re: [PATCH] mm, memory_hotplug: check zone_movable in has_unmovable_pages

2018-11-07 Thread Michal Hocko
On Wed 07-11-18 08:55:26, osalvador wrote: > On Wed, 2018-11-07 at 08:35 +0100, Michal Hocko wrote: > > On Wed 07-11-18 07:35:18, Balbir Singh wrote: > > > The check seems to be quite aggressive and in a loop that iterates > > > pages, but has nothing to do with the page, did you mean to make > >

Re: [PATCH 1/2] pci: prevent sk hynix nvme from entering D3

2018-11-07 Thread Christoph Hellwig
On Tue, Nov 06, 2018 at 06:11:31PM +0800, AceLan Kao wrote: > Agree, this is not a good fix for Sk hynix nvme, so Dell is still pushing > Sk hynix to fix it from firmware. > But before the firmware is ready, this is still a issue that need to be fixed > in > kernel side, and the new firmware may

Re: [PATCH v2 1/4] mm: Fix multiple evaluvations of totalram_pages and managed_pages

2018-11-07 Thread Michal Hocko
On Tue 06-11-18 21:51:47, Arun KS wrote: > This patch is in preparation to a later patch which converts totalram_pages > and zone->managed_pages to atomic variables. This patch does not introduce > any functional changes. I forgot to comment on this one. The patch makes a lot of sense. But I

Re: [PATCH RFC] hist lookups

2018-11-07 Thread Jiri Olsa
On Tue, Nov 06, 2018 at 10:13:49PM -0800, David Miller wrote: > From: Jiri Olsa > Date: Tue, 6 Nov 2018 21:42:55 +0100 > > > I pushed that fix in perf/fixes branch, but I'm still occasionaly > > hitting the namespace crash.. working on it ;-) > > Jiri, how can this new scheme work without

Re: [PATCH 03/24] leds: dt-bindings: Add LED_FUNCTION definitions

2018-11-07 Thread Vokáč Michal
On 6.11.2018 23:07, Jacek Anaszewski wrote: > Add common LED function definitions for use in Device Tree. > The function names were extracted from existing dts files > after eliminating oddities. > > Signed-off-by: Jacek Anaszewski > Cc: Baolin Wang > Cc: Daniel Mack > Cc: Dan Murphy > Cc:

Re: [PATCH] i2c: at91: switched to resume/suspend callbacks.

2018-11-07 Thread Ludovic Desroches
On Mon, Oct 22, 2018 at 12:17:47PM +0200, Andrei Stefanescu - M50506 wrote: > In the previous version of the driver resume/suspend_noirq callbacks > were used. Because of this, when resuming from suspend-to-ram, > an I2C (belonging to a FLEXCOM) would resume before FLEXCOM. > The first read on the

Re: [PATCH 0/2] pinctrl: sh-pfc: r8a77965: Add VIN4 and VIN5

2018-11-07 Thread Geert Uytterhoeven
Hi Jacopo, (sorry, seems I prepared a reply, but forgot to press "Send") On Tue, Nov 6, 2018 at 10:31 AM jacopo mondi wrote: > On Tue, Nov 06, 2018 at 10:24:30AM +0100, Geert Uytterhoeven wrote: > > On Tue, Nov 6, 2018 at 10:08 AM jacopo mondi wrote: > > > On Mon, Nov 05, 2018 at 06:19:22PM

Re: [PATCH v2 1/4] mm: Fix multiple evaluvations of totalram_pages and managed_pages

2018-11-07 Thread Vlastimil Babka
On 11/7/18 9:20 AM, Michal Hocko wrote: > On Tue 06-11-18 21:51:47, Arun KS wrote: Hi, there's typo in subject: evaluvations -> evaluations. However, "fix" is also misleading (more below), so I'd suggest something like: mm: reference totalram_pages and managed_pages once per function >> This

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Michal Simek
On 01. 11. 18 1:57, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another: > > drivers/pinctrl/pinctrl-zynq.c:985:18: warning: implicit conversion from > enumeration type 'enum zynq_pin_config_param' to different enumeration > type 'enum

Re: [PATCH] mmc: core: Remove timeout when enabling cache

2018-11-07 Thread Wolfram Sang
> That also happens to be one of the cards we deploy; However i did > wonder about adding a quirk but decided against it as it was not clear > to me from the specification that CACHE ON really is meant to complete > within GENERIC_CMD6_TIMEOUT. That and i fret about ending up in hit-a- > mole

Re: [PATCH v3 0/7] PBLK Bugfixes and cleanups

2018-11-07 Thread Matias Bjørling
On 11/06/2018 02:33 PM, Hans Holmberg wrote: From: Hans Holmberg This series is a slew of bugfixes and cleanups for PBLK, mostly fixing issues found during corner-case testing in QEMU. Changes since v1: Messed up from:, now the patches apply with the correct author Pardon the

Re: [PATCH v1 0/4]mm: convert totalram_pages, totalhigh_pages and managed pages to atomic

2018-11-07 Thread Vlastimil Babka
On 11/7/18 8:02 AM, Konstantin Khlebnikov wrote: > On 06.11.2018 11:43, Arun KS wrote: >> On 2018-11-06 14:07, Konstantin Khlebnikov wrote: >>> On 06.11.2018 11:30, Arun KS wrote: On 2018-11-06 13:47, Konstantin Khlebnikov wrote: > On 06.11.2018 8:38, Arun KS wrote: >> Any comments?

[PATCH] ARM: dts: imx6sx: specify proper clock for nodes with dummy clock

2018-11-07 Thread Anson Huang
>From i.MX6SX reference manual CCM chapter, KPP and WDOGn use IPG clock as their clock, specify IPG clock for KPP and WDOGn instead of DUMMY clock. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 0/3] x86/cpu: fix some prototype warning

2018-11-07 Thread Yi Wang
This series of patch fix some prototype warning because of missing include file. Yi Wang (3): x86/cpu: fix prototype warning in cacheinfo.c x86/cpu: fix prototype warning in scattered.c x86/cpu: fix prototype warning in topology.c arch/x86/kernel/cpu/cacheinfo.c | 1 +

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Nathan Chancellor
On Wed, Nov 07, 2018 at 09:46:12AM +0100, Michal Simek wrote: > On 01. 11. 18 1:57, Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another: > > > > drivers/pinctrl/pinctrl-zynq.c:985:18: warning: implicit conversion from > > enumeration type 'enum

[PATCH v2] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another: drivers/pinctrl/pinctrl-zynq.c:985:18: warning: implicit conversion from enumeration type 'enum zynq_pin_config_param' to different enumeration type 'enum pin_config_param' [-Wenum-conversion] {"io-standard",

Re: [PATCH v2 2/4] mm: Convert zone->managed_pages to atomic variable

2018-11-07 Thread Vlastimil Babka
On 11/6/18 5:21 PM, Arun KS wrote: > totalram_pages, zone->managed_pages and totalhigh_pages updates > are protected by managed_page_count_lock, but readers never care > about it. Convert these variables to atomic to avoid readers > potentially seeing a store tear. > > This patch converts

[PATCH 3/3] x86/cpu: fix prototype warning in topology.c

2018-11-07 Thread Yi Wang
Missing include file causes warning: arch/x86/kernel/cpu/topology.c:25:5: warning: no previous prototype for ‘detect_extended_topology_early’ [-Wmissing-prototypes] arch/x86/kernel/cpu/topology.c:57:5: warning: no previous prototype for ‘detect_extended_topology’ [-Wmissing-prototypes]

[PATCH 1/3] x86/cpu: fix prototype warning in cacheinfo.c

2018-11-07 Thread Yi Wang
Missing include file causes warning: arch/x86/kernel/cpu/cacheinfo.c:647:6: warning: no previous prototype for ‘cacheinfo_amd_init_llc_id’ [-Wmissing-prototypes] arch/x86/kernel/cpu/cacheinfo.c:686:6: warning: no previous prototype for ‘cacheinfo_hygon_init_llc_id’ [-Wmissing-prototypes]

[PATCH 2/3] x86/cpu: fix prototype warning in scattered.c

2018-11-07 Thread Yi Wang
Missing include file causes warning: arch/x86/kernel/cpu/scattered.c:37:6: warning: no previous prototype for ‘init_scattered_cpuid_features’ [-Wmissing-prototypes] arch/x86/kernel/cpu/scattered.c:60:5: warning: no previous prototype for ‘get_scattered_cpuid_leaf’ [-Wmissing-prototypes]

Re: [RFC/RFT][PATCH v3] cpuidle: New timer events oriented governor for tickless systems

2018-11-07 Thread Peter Zijlstra
On Wed, Nov 07, 2018 at 12:39:31AM +0100, Rafael J. Wysocki wrote: > On Tue, Nov 6, 2018 at 8:51 PM Peter Zijlstra wrote: > > > > On Tue, Nov 06, 2018 at 07:19:24PM +0100, Rafael J. Wysocki wrote: > > > On Tue, Nov 6, 2018 at 6:04 PM Peter Zijlstra > > > wrote: > > > > > > Instead of this

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Michal Simek
On 07. 11. 18 9:55, Nathan Chancellor wrote: > On Wed, Nov 07, 2018 at 09:46:12AM +0100, Michal Simek wrote: >> On 01. 11. 18 1:57, Nathan Chancellor wrote: >>> Clang warns when one enumerated type is implicitly converted to another: >>> >>> drivers/pinctrl/pinctrl-zynq.c:985:18: warning: implicit

Re: [PATCH v2] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Michal Simek
On 07. 11. 18 9:56, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another: > > drivers/pinctrl/pinctrl-zynq.c:985:18: warning: implicit conversion from > enumeration type 'enum zynq_pin_config_param' to different enumeration > type 'enum

Re: [PATCH v2 3/4] mm: convert totalram_pages and totalhigh_pages variables to atomic

2018-11-07 Thread Vlastimil Babka
On 11/6/18 5:21 PM, Arun KS wrote: > totalram_pages and totalhigh_pages are made static inline function. > > Suggested-by: Michal Hocko > Suggested-by: Vlastimil Babka > Signed-off-by: Arun KS > Reviewed-by: Konstantin Khlebnikov > Acked-by: Michal Hocko Acked-by: Vlastimil Babka One bug

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-07 Thread David Woodhouse
On Tue, 2018-11-06 at 13:49 -0800, Nikunj Kela wrote: > This patch allows the endianness of the JFSS2 filesystem to be > specified by mount option 'force_endian=big|little|native'. If > endianness is not specified, it defaults to 'native' endianness > thus retaining the existing behavior. > >

Re: [PATCH v3] driver-staging: vsoc.c: Add sysfs support for examining the permissions of regions.

2018-11-07 Thread Greg Kroah-Hartman
On Wed, Nov 07, 2018 at 10:30:43AM +0800, Jerry Lin wrote: > Add a attribute called permissions under vsoc device node for examining > current granted permissions in vsoc_device. > > This file will display permissions in following format: > begin_offset end_offset owner_offset owned_value >

[PATCH] utimensat: AT_EMPTY_PATH support

2018-11-07 Thread Miklos Szeredi
This makes it possible to use utimensat on an O_PATH file (including symlinks). It supersedes the nonstandard utimensat(fd, NULL, ...) form. Signed-off-by: Miklos Szeredi --- fs/utimes.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/utimes.c b/fs/utimes.c index

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-07 Thread Joakim Tjernlund
On Wed, 2018-11-07 at 10:05 +0100, David Woodhouse wrote: > > On Tue, 2018-11-06 at 13:49 -0800, Nikunj Kela wrote: > > This patch allows the endianness of the JFSS2 filesystem to be > > specified by mount option 'force_endian=big|little|native'. If > > endianness is not specified, it defaults to

Re: [PATCH] arm64: fix commit style in the comments

2018-11-07 Thread Catalin Marinas
On Wed, Nov 07, 2018 at 11:39:11PM +0800, Peng Hao wrote: > Use git commit description style 'commit <12+ chars of sha1> > ("")' in the comments. > > Signed-off-by: Peng Hao > --- > arch/arm64/kernel/sys32.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 2/4] x86/amd_nb: add support for newer PCI topologies

2018-11-07 Thread Borislav Petkov
On Tue, Nov 06, 2018 at 05:20:41PM -0600, Bjorn Helgaas wrote: > Or maybe even drivers/acpi/thermal.c, which claims every Thermal Zone > (ACPI 6.2, sec 11), would be sufficient. I don't know what the > relationship between hwmon and other thermal stuff, e.g., > Documentation/thermal/sysfs-api.txt

Re: [PATCH v2 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl

2018-11-07 Thread Sean Wang
On Wed, Oct 31, 2018 at 11:28 PM Manivannan Sadhasivam wrote: > > Add devicetree bindings for Mediatek MT6797 SoC Pin Controller. > > Signed-off-by: Manivannan Sadhasivam > --- > .../bindings/pinctrl/pinctrl-mt6797.txt | 74 + > include/dt-bindings/pinctrl/mt6797-pinfunc.h | 1368

Re: RFC: staging: gasket: re-implement using UIO

2018-11-07 Thread Greg KH
On Tue, Nov 06, 2018 at 04:20:49PM -0800, Todd Poynor wrote: > On Mon, Sep 10, 2018 at 8:28 AM Ahmed S. Darwish wrote: > > > > The gasket in-kernel framework, recently introduced under staging, > > re-implements what is already long-time provided by the UIO > > subsystem, with extra PCI BAR

Re: [PATCH v2 1/4] mm: Fix multiple evaluvations of totalram_pages and managed_pages

2018-11-07 Thread Michal Hocko
On Wed 07-11-18 09:44:00, Vlastimil Babka wrote: > On 11/7/18 9:20 AM, Michal Hocko wrote: > > On Tue 06-11-18 21:51:47, Arun KS wrote: > > Hi, > > there's typo in subject: evaluvations -> evaluations. > > However, "fix" is also misleading (more below), so I'd suggest something > like: > > mm:

[PATCH V2 2/2] mmc: mmci: add variant property to send stop cmd if a command fail

2018-11-07 Thread Ludovic Barre
From: Ludovic Barre The mmc framework follows the requirement of SD_Specification: the STOP_TRANSMISSION is sent on multiple write/read commands and the stop command (alone), not needed on other ADTC commands. But, if an error happens on command or data transmission, some variants require a

[PATCH V2 0/2] mmc: mmci: add stop command

2018-11-07 Thread Ludovic Barre
From: Ludovic Barre This patch series sends a stop command: -If set block count command fail, the host needs to issue cmd12 if any error is detected in the CMD18 and CMD25 operations. -On stm32 sdmmc variant, if a request fail the DPSM must be cleared by a stop command. Ludovic Barre (2):

[PATCH V2 1/2] mmc: mmci: send stop command if sbc error issue

2018-11-07 Thread Ludovic Barre
From: Ludovic Barre Refer to "4.15 set block count command" of sd specification: Host needs to issue CMD12 if any error is detected in the CMD18 and CMD25 operations. In sbc case, the data->stop is fill by framework. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 5 ++--- 1 file

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-07 Thread Uwe Kleine-König
Hello Michal, just to state it more explicitly, I think the following patch (not even compile tested) is much preferable over your approach: diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 1d5242c9cde0..af88644b5efb 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c

[PATCH 1/2] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-07 Thread Clément Péron
The Cygnus architecture use a Kona PWM. This is already present in the device tree but can't be built actually. Hence, allow the Kona PWM to be built for Cygnus arch. Signed-off-by: Clément Péron --- drivers/pwm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] pwm: bcm-kona: apply pwm settings on enable

2018-11-07 Thread Clément Péron
From: Suji Velupillai When pwm_bl framework calls enable, a call to pwm_is_enabled(pwm) still return false, this prevents the backlight being turn on at boot time. Signed-off-by: Suji Velupillai Signed-off-by: Clément Péron --- drivers/pwm/pwm-bcm-kona.c | 16 +++- 1 file

[PATCH] perf script: add newline after uregs output

2018-11-07 Thread Milian Wolff
This change makes it much easier to easily distinguish between consecutive samples by keeping the empty line between them, like we see when we do not enable uregs output. Before: ``` cpp-inlining 28298 [-01] 54837.342780:3068085 cycles:pp: 77c96709 __hypot_finite+0xa9

Re: [PATCH v4 1/6] tpm: dynamically allocate active_banks array

2018-11-07 Thread Roberto Sassu
On 11/7/2018 7:14 AM, Nayna Jain wrote: On 11/06/2018 08:31 PM, Roberto Sassu wrote: This patch removes the hard-coded limit of the active_banks array size. The hard-coded limit in static array active_banks[] represents the maximum possible banks. A TPM might have three banks, but only

[PATCH] staging: goldfish: Add SPDX license identifier.

2018-11-07 Thread Rohit Sarkar
Fix checkpatch warning by adding the SPDX license identifier. Signed-off-by: Rohit Sarkar --- drivers/staging/goldfish/goldfish_audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/goldfish/goldfish_audio.c b/drivers/staging/goldfish/goldfish_audio.c index

Re: [RFC PATCH 2/2] memcg: do not report racy no-eligible OOM tasks

2018-11-07 Thread Tetsuo Handa
On 2018/11/06 21:42, Michal Hocko wrote: > On Tue 06-11-18 18:44:43, Tetsuo Handa wrote: > [...] >> diff --git a/mm/memcontrol.c b/mm/memcontrol.c >> index 6e1469b..a97648a 100644 >> --- a/mm/memcontrol.c >> +++ b/mm/memcontrol.c >> @@ -1382,8 +1382,13 @@ static bool

Re: [PATCH 0/3] x86/cpu: fix some prototype warning

2018-11-07 Thread Ingo Molnar
* Yi Wang wrote: > This series of patch fix some prototype warning because > of missing include file. > > Yi Wang (3): > x86/cpu: fix prototype warning in cacheinfo.c > x86/cpu: fix prototype warning in scattered.c > x86/cpu: fix prototype warning in topology.c > >

Re: [PATCH v1 4/7] vfio: ap: AP Queue Interrupt Control VFIO ioctl calls

2018-11-07 Thread Cornelia Huck
On Wed, 31 Oct 2018 19:12:54 +0100 Pierre Morel wrote: > This is the implementation of the VFIO ioctl calls to handle > the AQIC interception and use GISA to handle interrupts. > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 95 +++ > 1

[PATCH] irq/timings: Fix model validity

2018-11-07 Thread Peter Zijlstra
On Wed, Nov 07, 2018 at 09:59:36AM +0100, Peter Zijlstra wrote: > On Wed, Nov 07, 2018 at 12:39:31AM +0100, Rafael J. Wysocki wrote: > > In general, however, I need to be convinced that interrupts that > > didn't wake up the CPU from idle are relevant for next wakeup > > prediction. I see that

[PATCH] MAINTAINERS: Fix remaining pointers to obsolete libata.git

2018-11-07 Thread Geert Uytterhoeven
libata.git no longer exists. Replace the remaining pointers to it by pointers to the block tree, which is where all libata development happens now. Signed-off-by: Geert Uytterhoeven --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-11-07 Thread Arnd Bergmann
On 11/7/18, Palmer Dabbelt wrote: > On Mon, 05 Nov 2018 00:52:52 PST (-0800), Arnd Bergmann wrote: >> On 11/5/18, Christoph Hellwig wrote: >>> On Mon, Nov 05, 2018 at 02:58:07PM +0800, Vincent Chen wrote: Many thanks for kinds of comments. I quickly synthesize the comments and

Re: [PATCH v5 3/5] cgroup/cpuset: make callback_lock raw

2018-11-07 Thread Juri Lelli
Hi, Ping. Thanks, - Juri On 25/09/18 16:34, Juri Lelli wrote: > Hi Li Zefan and Tejun Heo, > > It would be great if you could please have a look at the proposed change > below (and the rest of the set of course :-). > > Another bit that I'd be more comfortable after hearing your word on it >

Re: [PATCH] pinctrl: mediatek: Fix dependencies for EINT_MTK

2018-11-07 Thread Sean Wang
Thanks for the catch. Acked-by: Sean Wang On Thu, Nov 1, 2018 at 7:57 PM Olof Johansson wrote: > > Fixes the following config-time warning: > > WARNING: unmet direct dependencies detected for EINT_MTK > Depends on [n]: PINCTRL [=y] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=n]) > &&

Re: [PATCH] fs/proc: introduce /proc/stat2 file

2018-11-07 Thread Miklos Szeredi
On Wed, Nov 7, 2018 at 12:48 AM, Andrew Morton wrote: > On Mon, 29 Oct 2018 23:04:45 + Daniel Colascione > wrote: > >> On Mon, Oct 29, 2018 at 7:25 PM, Davidlohr Bueso wrote: >> > This patch introduces a new /proc/stat2 file that is identical to the >> > regular 'stat' except that it

Re: [PATCH] ARM: dts: imx7d-sdb: add rev-a board support

2018-11-07 Thread Fabio Estevam
Hi Anson, On Wed, Nov 7, 2018 at 3:19 AM Anson Huang wrote: > + { > + pinctrl-0 = <_enet2>; > + /delete-property/pinctrl-assert-gpios; "pinctrl-assert-gpios" does not exist in mainline, so not sure why you are deleting it.

Re: [RFC PATCH 2/2] memcg: do not report racy no-eligible OOM tasks

2018-11-07 Thread Michal Hocko
On Wed 07-11-18 18:45:27, Tetsuo Handa wrote: > On 2018/11/06 21:42, Michal Hocko wrote: > > On Tue 06-11-18 18:44:43, Tetsuo Handa wrote: > > [...] > >> diff --git a/mm/memcontrol.c b/mm/memcontrol.c > >> index 6e1469b..a97648a 100644 > >> --- a/mm/memcontrol.c > >> +++ b/mm/memcontrol.c > >> @@

[PATCHv2 1/4] PCI: dwc: fix potential memory leak

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang Free the allocated pci_host_bridge struct when failed to get host bridge resources, and free the resource windows before free the bridge. Signed-off-by: Hou Zhiqiang Acked-by: Gustavo Pimentel --- V2: - Reworded the subject.

[PATCHv2 0/4] PCI: dwc: add prefetchable memory range support

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang This patch set is to add prefetchable memory range support, patch 4/4. Patch 3/4 is to initialize the number of viewport for layerscape PCIe. BTW, fix 2 bugs, see patch 1/4 and 2/4. Hou Zhiqiang (4): PCI: dwc: fix potential memory leak PCI: dwc: fix 4GiB outbound window

Re: [PATCH 2/2] dt-bindings: pinctrl: update bindings for MT7629 SoC

2018-11-07 Thread Sean Wang
On Mon, Nov 5, 2018 at 12:43 AM Ryder Lee wrote: > > This updates bindings for MT7629 pinctrl driver. > > Cc: Sean Wang > Signed-off-by: Ryder Lee > --- > .../devicetree/bindings/pinctrl/pinctrl-mt7622.txt | 128 > + > 1 file changed, 128 insertions(+) > > diff --git

[PATCHv2 3/4] PCI: layerscape: initialize the number of viewport

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang FSL implements 6 viewports on Layerscape series SoCs PCIe controllers. Signed-off-by: Hou Zhiqiang --- V2: - Reworded the subject and commit description. drivers/pci/controller/dwc/pci-layerscape.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[RFC][PATCH] irq/timings: Ignore predictions in the past

2018-11-07 Thread Peter Zijlstra
On Wed, Nov 07, 2018 at 12:39:31AM +0100, Rafael J. Wysocki wrote: > In general, however, I need to be convinced that interrupts that > didn't wake up the CPU from idle are relevant for next wakeup > prediction. So you're worried about the case where we're 100% busy and generating IO interrupts

[PATCHv2 4/4] PCI: dwc: add prefetchable memory range support

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang The current code only support non-prefetchable memory range, as the non-prefetchable memory range must not be greater than 4GiB, one viewport can cover it, which supports upto 4GiB. To support prefetchable memory range, which is upto 64-bit memory space and can be greater

[PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang The current type of mem_size is 'u32', so when resource_size() return 4G it will be truncated to zero. This patch fix it by changing its type to 'u64'. Signed-off-by: Hou Zhiqiang Acked-by: Gustavo Pimentel --- V2: - Reworded the subject.

Re: INFO: rcu detected stall in do_idle

2018-11-07 Thread Daniel Bristot de Oliveira
On 11/5/18 11:55 AM, Juri Lelli wrote: > On 02/11/18 11:00, Daniel Bristot de Oliveira wrote: >> On 11/1/18 6:55 AM, Juri Lelli wrote: I meant, I am not against the/a fix, i just think that... it is more complicated that it seems. For example: Let's assume that we have a

Re: [RFC/RFT][PATCH v3] cpuidle: New timer events oriented governor for tickless systems

2018-11-07 Thread Daniel Lezcano
On 07/11/2018 00:39, Rafael J. Wysocki wrote: > On Tue, Nov 6, 2018 at 8:51 PM Peter Zijlstra wrote: >> >> On Tue, Nov 06, 2018 at 07:19:24PM +0100, Rafael J. Wysocki wrote: >>> On Tue, Nov 6, 2018 at 6:04 PM Peter Zijlstra wrote: >> Instead of this detector; why haven't you used the code

[RFC PATCH 0/5] mm, memory_hotplug: improve memory offlining failures debugging

2018-11-07 Thread Michal Hocko
Hi, I have been promissing to improve memory offlining failures debugging for quite some time. As things stand now we get only very limited information in the kernel log when the offlining fails. It is usually only [ 1984.506184] rac1 kernel: memory offlining [mem 0x826-0x8267fff]

[RFC PATCH 5/5] mm, memory_hotplug: be more verbose for memory offline failures

2018-11-07 Thread Michal Hocko
From: Michal Hocko There is only very limited information printed when the memory offlining fails: [ 1984.506184] rac1 kernel: memory offlining [mem 0x826-0x8267fff] failed due to signal backoff This tells us that the failure is triggered by the userspace intervention but it

[RFC PATCH 4/5] mm, memory_hotplug: print reason for the offlining failure

2018-11-07 Thread Michal Hocko
From: Michal Hocko The memory offlining failure reporting is inconsistent and insufficient. Some error paths simply do not report the failure to the log at all. When we do report there are no details about the reason of the failure and there are several of them which makes memory offlining

<    3   4   5   6   7   8   9   10   11   12   >