Re: [PATCH 4.15 00/60] 4.15.2-stable review

2018-02-06 Thread Guenter Roeck
On 02/05/2018 10:22 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.2 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH 1/3] sched: Stop nohz stats when decayed

2018-02-06 Thread Vincent Guittot
On 6 February 2018 at 15:16, Valentin Schneider wrote: > Hi Vincent, > > On 02/06/2018 08:32 AM, Vincent Guittot wrote: >> Stopped the periodic update of blocked load when all idle CPUs have fully >> decayed. We introduce a new nohz.has_blocked that reflect if some idle >> CPUs has blocked load th

Re: [PATCH 3/3] sched: update blocked load when newly idle

2018-02-06 Thread Valentin Schneider
Hi Vincent, On 02/06/2018 08:32 AM, Vincent Guittot wrote: > When NEWLY_IDLE load balance is not triggered, we might need to update the > blocked load anyway. We can kick an ilb so an idle CPU will take care of > updating blocked load or we can try to update them locally before entering > idle. In

Re: [PATCH 4.15 00/60] 4.15.2-stable review

2018-02-06 Thread Guenter Roeck
On 02/05/2018 10:22 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.2 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

RE: [PATCH v4 4/7] typec: tcpm: Add core support for sink side PPS

2018-02-06 Thread Adam Thomson
On 30 January 2018 12:47, Heikki Krogerus wrote: > > +static int tcpm_pps_set_op_curr(struct tcpm_port *port, u16 op_curr) > > +{ > > + unsigned int target_mw; > > + int ret = 0; > > + > > + mutex_lock(&port->swap_lock); > > + mutex_lock(&port->lock); > > + > > + if (!port->pps_data.acti

[PATCH] scsi: pmcraid: remove redundant initializations of pointer 'ioadl'

2018-02-06 Thread Colin King
From: Colin Ian King There are several occurrances where pointer ioadl is initialized with a value that is never read and where it is re-assigned a new value later on, hence the initialization is redundant and can be removed. Cleans up clang warnings: drivers/scsi/pmcraid.c:1028:29: warning: Val

Re: [PATCH -mm] mm, swap, frontswap: Fix THP swap if frontswap enabled

2018-02-06 Thread Minchan Kim
On Tue, Feb 06, 2018 at 09:34:44PM +0800, huang ying wrote: > On Tue, Feb 6, 2018 at 5:02 PM, Minchan Kim wrote: > > On Tue, Feb 06, 2018 at 04:39:18PM +0800, Huang, Ying wrote: > >> Hi, Minchan, > >> > >> Minchan Kim writes: > >> > >> > Hi Huang, > >> > > >> > On Tue, Feb 06, 2018 at 02:54:04PM

Re: [PATCH 1/2] rcu: Transform kfree_rcu() into kvfree_rcu()

2018-02-06 Thread Steven Rostedt
On Tue, 06 Feb 2018 13:19:45 +0300 Kirill Tkhai wrote: > /** > - * kfree_rcu() - kfree an object after a grace period. > - * @ptr: pointer to kfree > + * kvfree_rcu() - kvfree an object after a grace period. > + * @ptr: pointer to kvfree > * @rcu_head:the name of the struct rcu_

Re: [PATCH] Resolve RF Type mismatch

2018-02-06 Thread Greg Kroah-Hartman
On Tue, Feb 06, 2018 at 10:39:45PM +0900, Kangmin Park wrote: > Match rf_type of staging/rtlwifi/wifi.h and > staging/rtl8723bs/include/rtw_rf.h, > and update some additional code that resulted. > > Signed-off-by: Kangmin Park > Cc: Greg Kroah-Hartman > --- > > > diff --git a/drivers/staging/

Re: [PATCH] scsi: libfc: remove redundant initialization of 'disc'

2018-02-06 Thread Johannes Thumshirn
Looks good, Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürn

[PATCH v4 0/3] Utilization estimation (util_est) for FAIR tasks

2018-02-06 Thread Patrick Bellasi
Hi, This is a respin of [1], still based on today's tip/sche/core [2], which includes Juri's series [3] to integrate SCHED_DEADLINE into schedutil. Thanks to everyone who provided feedback, all of them have been addressed. Testing on Intel and ARM (Android) devices confirms the negligible overhe

[PATCH v4 1/3] sched/fair: add util_est on top of PELT

2018-02-06 Thread Patrick Bellasi
The util_avg signal computed by PELT is too variable for some use-cases. For example, a big task waking up after a long sleep period will have its utilization almost completely decayed. This introduces some latency before schedutil will be able to pick the best frequency to run a task. The same is

[PATCH v4 2/3] sched/fair: use util_est in LB and WU paths

2018-02-06 Thread Patrick Bellasi
When the scheduler looks at the CPU utilization, the current PELT value for a CPU is returned straight away. In certain scenarios this can have undesired side effects on task placement. For example, since the task utilization is decayed at wakeup time, when a long sleeping big task is enqueued it

[PATCH v4 3/3] sched/cpufreq_schedutil: use util_est for OPP selection

2018-02-06 Thread Patrick Bellasi
When schedutil looks at the CPU utilization, the current PELT value for that CPU is returned straight away. In certain scenarios this can have undesired side effects and delays on frequency selection. For example, since the task utilization is decayed at wakeup time, a long sleeping big task newly

[PATCH 0/3] HID-Logitech: Adjustments for two function implementations

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 15:38:30 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in lg_probe() Improve a size determination in lg_probe() Delete an error m

[PATCH 1/3] hid-lg: Delete an error message for a failed memory allocation in lg_probe()

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 14:25:32 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/hid/hid-lg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 dele

[PATCH 2/3] hid-lg: Improve a size determination in lg_probe()

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 14:54:14 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was dete

Re: [PATCH][btrfs-next] btrfs: remove redundant check on ret and goto

2018-02-06 Thread David Sterba
On Fri, Jan 12, 2018 at 04:52:58PM +, Colin King wrote: > From: Colin Ian King > > The check for a non-zero ret is redundant as the goto will jump to > the very next statement anyway. Remove this extraneous code. > > Detected by CoverityScan, CID#1463784 ("Identical code for different > bra

[PATCH 3/3] hid-lg4ff: Delete an error message for a failed memory allocation in lg4ff_init()

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 15:26:06 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/hid/hid-lg4ff.c | 4 +--- 1 file changed, 1 insertion(+), 3 del

Re: [PATCH 3.18 00/36] 3.18.94-stable review

2018-02-06 Thread Guenter Roeck
On 02/06/2018 05:14 AM, Greg Kroah-Hartman wrote: On Tue, Feb 06, 2018 at 11:42:15AM +, Harsh Shandilya wrote: On Tue 6 Feb, 2018, 4:04 PM Greg Kroah-Hartman, wrote: On Tue, Feb 06, 2018 at 06:48:53AM +, Harsh Shandilya wrote: On Tue 6 Feb, 2018, 12:09 AM Greg Kroah-Hartman, < gre..

[PATCH] kasan: remove redundant initialization of variable 'real_size'

2018-02-06 Thread Colin King
From: Colin Ian King Variable real_size is initialized with a value that is never read, it is re-assigned a new value later on, hence the initialization is redundant and can be removed. Cleans up clang warning: lib/test_kasan.c:422:21: warning: Value stored to 'real_size' during its initializati

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-06 Thread Paolo Valente
> Il giorno 06 feb 2018, alle ore 15:07, Oleksandr Natalenko > ha scritto: > > Hi. > > 06.02.2018 14:46, Mike Galbraith wrote: >>> Sorry for the noise, but just to make it clear, are we talking about >>> "deadline" or "mq-deadline" now? >> mq-deadline. > > Okay, I've spent a little bit more

Re: [PATCH] pvcalls-back: do not return error on inet_accept EAGAIN

2018-02-06 Thread Juergen Gross
On 03/02/18 02:34, Stefano Stabellini wrote: > When the client sends a regular blocking accept request, the backend is > expected to return only when the accept is completed, simulating a > blocking behavior, or return an error. > > Specifically, on EAGAIN from inet_accept, the backend shouldn't r

Re: [PATCH 0/2] Fix a couple of crashes in netfront

2018-02-06 Thread Juergen Gross
On 11/01/18 10:36, Ross Lagerwall wrote: > Here are a couple of patches to fix two crashes in netfront. > > Ross Lagerwall (2): > xen/grant-table: Use put_page instead of free_page > xen-netfront: Fix race between device setup and open > > drivers/net/xen-netfront.c | 46 > +

Re: [PATCHv2 1/3] drivers/perf: arm_pmu: Add platform hardware setup hooks.

2018-02-06 Thread Robin Murphy
Hi Sebastian, On 06/02/18 14:26, Sebastian Reichel wrote: Allow platform specific code to be called when enabling or disabling the hardware. Since arm_pmu_platdata wants to go away[1], does i.MX53 actually need all this machinery, or would it suffice to set DBG_EN from platform code at boot

Re: [PATCH v4 4/7] typec: tcpm: Add core support for sink side PPS

2018-02-06 Thread Heikki Krogerus
On Tue, Feb 06, 2018 at 02:33:08PM +, Adam Thomson wrote: > On 30 January 2018 12:47, Heikki Krogerus wrote: > > > > +static int tcpm_pps_set_op_curr(struct tcpm_port *port, u16 op_curr) > > > +{ > > > + unsigned int target_mw; > > > + int ret = 0; > > > + > > > + mutex_lock(&port->swap_lock);

Re: [RFC 4/4] KVM: arm64: Add support for PUD hugepages at stage 2

2018-02-06 Thread Christoffer Dall
On Wed, Jan 10, 2018 at 07:07:29PM +, Punit Agrawal wrote: > KVM only supports PMD hugepages at stage 2. Extend the stage 2 fault > handling to add support for PUD hugepages. > > Addition of PUD hugpage support enables additional hugepage sizes (1G *hugepage > with 4K granul

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-06 Thread Paolo Valente
> Il giorno 06 feb 2018, alle ore 14:40, Holger Hoffstätte > ha scritto: > > > The plot thickens! > Yep, the culprit seems clearer, though ... > Just as I was about to post that I didn't have any problems - because > I didn't have any - I decided to do a second test, activated bfq on my >

Re: [RFC 2/4] KVM: arm64: Support dirty page tracking for PUD hugepages

2018-02-06 Thread Christoffer Dall
On Wed, Jan 10, 2018 at 07:07:27PM +, Punit Agrawal wrote: > In preparation for creating PUD hugepages at stage 2, add support for > write protecting PUD hugepages when they are encountered. Write > protecting guest tables is used to track dirty pages when migrating VMs. > > Also, provide triv

[GIT PULL] Thermal management updates for v4.16-rc1

2018-02-06 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.16-rc1 with top-most commit 134f4010799a30acd969e603985c27b9f3e6f58d:   Merge branches 'thermal-core', 'thermal-intel' and 'thermal-soc' into

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-06 Thread Oleksandr Natalenko
06.02.2018 15:50, Paolo Valente wrote: Could you please do a gdb /block/bfq-iosched.o # or vmlinux.o if bfq is builtin list *(bfq_finish_requeue_request+0x54) list *(bfq_put_queue+0x10b) for me? Yes. Just give me some time to recompile the kernel with minimal debug info enabled. I'll post then

Re: [PATCH v3 1/2] drm/virtio: Add window server support

2018-02-06 Thread Pekka Paalanen
On Mon, 5 Feb 2018 17:03:22 +0100 Gerd Hoffmann wrote: > On Mon, Feb 05, 2018 at 03:46:17PM +0100, Tomeu Vizoso wrote: > > On 02/05/2018 01:20 PM, Gerd Hoffmann wrote: > > >Hi, > > > > > Hmm. I allways assumed the wayland client allocates the buffers, not > the server. Is that wrong?

Re: [PATCH] nvme-pci: Fix incorrect use of CMB size to calculate q_depth

2018-02-06 Thread Keith Busch
On Mon, Feb 05, 2018 at 03:32:23PM -0700, sba...@raithlin.com wrote: > > - if (dev->cmb && (dev->cmbsz & NVME_CMBSZ_SQS)) { > + if (dev->cmb && use_cmb_sqes && (dev->cmbsz & NVME_CMBSZ_SQS)) { Is this a prep patch for something coming later? dev->cmb is already NULL if use_cmb_sqes is fa

Re: [PATCH 1/2] rcu: Transform kfree_rcu() into kvfree_rcu()

2018-02-06 Thread Kirill Tkhai
On 06.02.2018 17:34, Steven Rostedt wrote: > On Tue, 06 Feb 2018 13:19:45 +0300 > Kirill Tkhai wrote: > >> /** >> - * kfree_rcu() - kfree an object after a grace period. >> - * @ptr:pointer to kfree >> + * kvfree_rcu() - kvfree an object after a grace period. >> + * @ptr:pointer to kvfree

Re: [PATCH V3 1/5] perf/x86/intel: fix event update for auto-reload

2018-02-06 Thread Peter Zijlstra
On Mon, Jan 29, 2018 at 08:29:29AM -0800, kan.li...@linux.intel.com wrote: > +/* > + * Specific intel_pmu_save_and_restart() for auto-reload. > + * It only be called from drain_pebs(). > + */ > +static int intel_pmu_save_and_restart_reload(struct perf_event *event, > +

Re: stable-rc/linux-4.15.y build: 185 builds: 0 failed, 185 passed, 46 warnings (v4.15.1-61-g7ab5513e4cbc)

2018-02-06 Thread Arnd Bergmann
On Mon, Feb 5, 2018 at 9:49 PM, kernelci.org bot wrote: > > stable-rc/linux-4.15.y build: 185 builds: 0 failed, 185 passed, 46 warnings > (v4.15.1-61-g7ab5513e4cbc) Hi Greg, FYI, the device tree compiler warnings are all fixed in linux-4.16-rc1. These are basically fixes that we ended up not su

Re: [PATCH 2/6] nvme-pci: fix the freeze and quiesce for shutdown and reset case

2018-02-06 Thread Keith Busch
On Tue, Feb 06, 2018 at 09:46:36AM +0800, jianchao.wang wrote: > Hi Keith > > Thanks for your kindly response. > > On 02/05/2018 11:13 PM, Keith Busch wrote: > > but how many requests are you letting enter to their demise by > > freezing on the wrong side of the reset? > > There are only two di

Re: [PATCH 3/3] vfio: disable filesystem-dax page pinning

2018-02-06 Thread Dan Williams
On Mon, Feb 5, 2018 at 11:53 PM, Haozhong Zhang wrote: > Hi Dan, > > On 02/04/18 15:05 -0800, Dan Williams wrote: >> Filesystem-DAX is incompatible with 'longterm' page pinning. Without >> page cache indirection a DAX mapping maps filesystem blocks directly. >> This means that the filesystem must

Re: [PATCH/RFC 0/6] Allow compile-testing NO_DMA

2018-02-06 Thread Arnd Bergmann
On Tue, Feb 6, 2018 at 11:14 AM, Geert Uytterhoeven wrote: > Hi all, > > If NO_DMA=y, get_dma_ops() returns a reference to the non-existing > symbol bad_dma_ops, thus causing a link failure if it is ever used. > > The intention of this is twofold: > 1. To catch users of the DMA API on sy

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-06 Thread Denis Du
Hi, David: How  do you think my patch? As you see, Krzysztof  think my patch is ok to be accepted. But if you have a better idea to fix it,I am glad to see it. Anyway, this issue have to be fixed. Denis DU On Sunday, January 28, 2018, 9:34:15 AM EST, Krzysztof Halasa wrote: Den

Thinkpad X1 Carbon 3rd - Reducing the compressed framebuffer size

2018-02-06 Thread Pali Rohár
Hi! I'm periodically getting following message in dmesg on Lenovo Thinkpad X1 Carbon 3rd generation: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. In BIOS I already set GPU si

Re: [PATCH/RFC 0/6] Allow compile-testing NO_DMA

2018-02-06 Thread Arnd Bergmann
On Tue, Feb 6, 2018 at 2:05 PM, Robin Murphy wrote: > > It looks like we have only one real arch (score) without IOMEM, and two > (s390 and tile) where it is possible to configure out, so it does seem like > a reasonable feature to assume. Maybe we could have something like > asm-generic/no-io.h t

Re: [PATCH][btrfs-next] Btrfs: extent map selftest: add missing void parameter to btrfs_test_extent_map

2018-02-06 Thread David Sterba
On Mon, Jan 08, 2018 at 11:06:32PM +, Colin King wrote: > From: Colin Ian King > > Add a missing void parameter to function btrfs_test_extent_map, fixes > sparse warning: > > warning: non-ANSI function declaration of function 'btrfs_test_extent_map' > > Signed-off-by: Colin Ian King Added

Re: [PATCHv3] tlv320dac33: Add device tree bindings

2018-02-06 Thread Mark Brown
On Tue, Feb 06, 2018 at 02:49:06PM +0100, Pavel Machek wrote: > On Tue 2018-02-06 12:11:22, Mark Brown wrote: > > Please submit patches using subject lines reflecting the style for the > > subsystem. This makes it easier for people to identify relevant > > patches. Look at what existing commits

[PATCH v1 1/1] spi_ks8995: use regmap to access chip registers.

2018-02-06 Thread Sven Van Asbroeck
The register map layouts used in this driver are well suited to being accessed through a regmap. This makes the driver simpler and shorter, by eliminating some spi boilerplate code. Testing: - tested on a ksz8785. - not tested on the other supported chips (ks8995, ksz8864) because I don't have a

[PATCH v1 0/1] spi_ks8995: use regmap to access chip registers.

2018-02-06 Thread Sven Van Asbroeck
v1: starting point. is there a way to test-run this on supported devices that I don't have physical access to - (ks8995, ksz8864) ? Sven Van Asbroeck (1): spi_ks8995: use regmap to access chip registers. drivers/net/phy/spi_ks8995.c | 163 +--

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-06 Thread David Miller
From: Denis Du Date: Tue, 6 Feb 2018 15:15:28 + (UTC) > How  do you think my patch? > > As you see, Krzysztof  think my patch is ok to be accepted. > But if you have a better idea to fix it,I am glad to see it. Anyway, this > issue have to be fixed. Please resubmit it and I'll think about

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-06 Thread Holger Hoffstätte
On 02/06/18 15:55, Paolo Valente wrote: > > >> Il giorno 06 feb 2018, alle ore 14:40, Holger Hoffstätte >> ha scritto: >> >> >> The plot thickens! >> > > Yep, the culprit seems clearer, though ... > >> Just as I was about to post that I didn't have any problems - because >> I didn't have any

Re: [PATCH] mtd: nand: gpmi: fall back to legacy mode if no ECC information present

2018-02-06 Thread Boris Brezillon
On Mon, 05 Feb 2018 23:16:57 +0100 ste...@agner.ch wrote: > Hi Boris, > > [Also adding Huang] > > On 31.01.2018 22:18, ste...@agner.ch wrote: > > I accidentally removed ML/cc before, re-adding. > > > > On 31.01.2018 10:57, Boris Brezillon wrote: > >> On Wed, 31 Jan 2018 10:19:05 +0100 > >> st

Re: [PATCH v3 0/6] cpufreq: schedutil: fixes for flags updates

2018-02-06 Thread Patrick Bellasi
Hi Claudio, On 06-Feb 11:55, Claudio Scordino wrote: > Hi Peter, > > Il 20/12/2017 16:30, Peter Zijlstra ha scritto: > > > >So I ended up with the below (on top of Juri's cpufreq-dl patches). > > > >It compiles, but that's about all the testing it had. > > > >--- a/include/linux/sched/cpufreq.h >

Re: [PATCH 1/2] rcu: Transform kfree_rcu() into kvfree_rcu()

2018-02-06 Thread Steven Rostedt
On Tue, 6 Feb 2018 18:06:33 +0300 Kirill Tkhai wrote: > There are kfree_rcu() and vfree_rcu() defined below, and they will give > compilation error if someone tries to implement one more primitive with > the same name. Ah, I misread the patch. I was thinking you were simply replacing kfree_rcu(

Re: [PATCH 2/2] usb: chipidea: imx: Fix ULPI on imx53

2018-02-06 Thread Sebastian Reichel
Hi Peter, On Mon, Jan 29, 2018 at 11:33:15AM +0800, Peter Chen wrote: > On Wed, Jan 24, 2018 at 06:14:39PM +0100, Sebastian Reichel wrote: > > Traditionally, PORTSC should be set before initializing ULPI phys. But > > setting PORTSC before powering on the phy results in a kernel freeze > > on imx5

Re: [PATCH v4 1/3] sched/fair: add util_est on top of PELT

2018-02-06 Thread Peter Zijlstra
Mostly nice, I almost applied, except too many nits below. On Tue, Feb 06, 2018 at 02:41:29PM +, Patrick Bellasi wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 7b6535987500..118f49c39b60 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -5193,6 +5

RE: [PATCH v4 6/7] typec: tcpm: Represent source supply through power_supply class

2018-02-06 Thread Adam Thomson
On 30 January 2018 13:12, Heikki Krogerus wrote: > Hi Adam, > > On Tue, Jan 02, 2018 at 03:50:54PM +, Adam Thomson wrote: > > This commit adds a power_supply class instance to represent a > > PD source's voltage and current properties. This provides an > > interface for reading these propertie

Re: [PATCH] mtd: nand: gpmi: fall back to legacy mode if no ECC information present

2018-02-06 Thread stefan
On 06.02.2018 16:40, Boris Brezillon wrote: > On Mon, 05 Feb 2018 23:16:57 +0100 > ste...@agner.ch wrote: > >> Hi Boris, >> >> [Also adding Huang] >> >> On 31.01.2018 22:18, ste...@agner.ch wrote: >> > I accidentally removed ML/cc before, re-adding. >> > >> > On 31.01.2018 10:57, Boris Brezillon w

Re: [PATCH] nvme-pci: Fix incorrect use of CMB size to calculate q_depth

2018-02-06 Thread Stephen Bates
> On Feb 6, 2018, at 8:02 AM, Keith Busch wrote: > >> On Mon, Feb 05, 2018 at 03:32:23PM -0700, sba...@raithlin.com wrote: >> >> -if (dev->cmb && (dev->cmbsz & NVME_CMBSZ_SQS)) { >> +if (dev->cmb && use_cmb_sqes && (dev->cmbsz & NVME_CMBSZ_SQS)) { > > Is this a prep patch for something

[PATCH] Resolve RF Type mismatch

2018-02-06 Thread Kangmin Park
From: pr0gr4m --- drivers/staging/rtl8723bs/hal/odm.h | 17 + drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 16 ++-- drivers/staging/rtl8723bs/include/rtw_rf.h| 15 ++- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 12

RE: dell-smbios makes wireless card unusable on Dell XPS 13 9360

2018-02-06 Thread Mario.Limonciello
Hi Paul, > -Original Message- > From: Paul Menzel [mailto:pmenzel+platform-driver-...@molgen.mpg.de] > Sent: Tuesday, February 6, 2018 9:50 AM > To: Pali Rohár ; Limonciello, Mario > ; it+platform-driver-...@molgen.mpg.de > Cc: platform-driver-...@vger.kernel.org; Linux Kernel Mailing List

[PATCH] pps-gpio: implement echo pulses

2018-02-06 Thread Lukas Senger
pps-gpio reports as having echo capability via sysfs, which is not actually the case. This patch implements it. The output pin is hardcoded as 17. This should probably be configurable via the dtoverlay in the same way as the input pin. --- drivers/pps/clients/pps-gpio.c | 55 +

[PATCH v5 00/11] ufs: sysfs: read-only access to device

2018-02-06 Thread Stanislav Nijnikov
This patch introduces sysfs entries that will provide read-only access to device management data that could be received with UFS query requests. User-space applications will be able to read UFS device descriptors, flags and attributes. This will allow to get full UFS device configuration and its st

[PATCH v5 04/11] scsi: ufs: sysfs: geometry descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS geometry descriptor parameters. The group adds "geometry_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could b

[PATCH v5 01/11] scsi: ufs: sysfs: attribute group for existing sysfs entries.

2018-02-06 Thread Stanislav Nijnikov
This patch introduces attribute group to show existing sysfs entries. Signed-off-by: Stanislav Nijnikov --- drivers/scsi/ufs/Makefile| 3 +- drivers/scsi/ufs/ufs-sysfs.c | 156 +++ drivers/scsi/ufs/ufs-sysfs.h | 14 drivers/scsi/ufs/ufshcd.c

[PATCH v5 03/11] scsi: ufs: sysfs: interconnect descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS interconnect descriptor parameters. The group adds "interconnect_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters

[PATCH v5 02/11] scsi: ufs: sysfs: device descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS device descriptor parameters. The group adds "device_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be fo

[PATCH v5 06/11] scsi: ufs: sysfs: power descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS power descriptor parameters. The group adds "power_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be foun

[PATCH v5 05/11] scsi: ufs: sysfs: health descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS health descriptor parameters. The group adds "health_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be fo

[PATCH v5 11/11] scsi: ufs: sysfs: attributes

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS attributes. The group adds "attributes" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The attributes are shown as hexadecimal numbers. The full information about the attributes could be found at UFS specifications

Re: [PATCH] kconfig: Remove last trace of GENERIC_IO

2018-02-06 Thread Rob Herring
On Tue, Feb 6, 2018 at 7:11 AM, Robin Murphy wrote: > Since commit 9de8da47742b ("kconfig: kill off GENERIC_IO option"), this > select has done nothing, and is now just confusing. Clean it up. > > Signed-off-by: Robin Murphy > --- > lib/Kconfig | 1 - > 1 file changed, 1 deletion(-) We already

Re: dell-smbios makes wireless card unusable on Dell XPS 13 9360

2018-02-06 Thread Paul Menzel
Dear Mario, On 02/06/18 16:58, mario.limoncie...@dell.com wrote: -Original Message- From: Paul Menzel [mailto:pmenzel+platform-driver-...@molgen.mpg.de] Sent: Tuesday, February 6, 2018 9:50 AM To: Pali Rohár ; Limonciello, Mario ; it+platform-driver-...@molgen.mpg.de Cc: platform-drive

[PATCH v5 10/11] scsi: ufs: sysfs: flags

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS flags. The group adds "flags" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The flags are shown as boolean value ("true" or "false"). The full information about the UFS flags could be found at UFS specifications 2

Re: [PATCH] Resolve RF Type mismatch

2018-02-06 Thread Bastien Nocera
On Wed, 2018-02-07 at 00:57 +0900, Kangmin Park wrote: > From: pr0gr4m This needs a commit message. I don't understand what the code is trying to do.

Re: [PATCH 10/20] lib/Kconfig: Remove leftover select of GENERIC_IO

2018-02-06 Thread Rob Herring
On Sun, Feb 4, 2018 at 7:21 PM, Ulf Magnusson wrote: > GENERIC_IO was removed by commit 9de8da47742b ("kconfig: kill off > GENERIC_IO option"), but HAS_IOMEM still selects it. > > Remove the select of GENERIC_IO from HAS_IOMEM. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob

[PATCH v5 08/11] scsi: host template attribute groups

2018-02-06 Thread Stanislav Nijnikov
The patch introduces an additional field in the scsi_host_template structure - struct attribute_group **sdev_group. This field allows to define groups of attributes. It will provide an ability to use binary attributes as well as device attributes and to group them under subfolders if necessary. Si

[PATCH v5 07/11] scsi: ufs: sysfs: string descriptors

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS string descriptors. The group adds "string_descriptors" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The folder will contain 5 files that will show string values defined by the UFS spec: a manufacturer name, a pr

[PATCH v5 09/11] scsi: ufs: sysfs: unit descriptor

2018-02-06 Thread Stanislav Nijnikov
This patch introduces a sysfs group entry for the UFS unit descriptor parameters. The group adds "unit_descriptor" folder under the corresponding SCSI device sysfs entry (/sys/class/scsi_device/*/device/). The parameters are shown as hexadecimal numbers. The full information about the parameters co

[PATCH] Fix a misspelling in kernel/cpu.c

2018-02-06 Thread Kangmin Park
--- kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index 53f7dc6..9a1ee53 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -1336,7 +1336,7 @@ static struct cpuhp_step cpuhp_ap_states[] = { .teardown.single= smpcfd

Re: [PATCH] kconfig: Remove last trace of GENERIC_IO

2018-02-06 Thread Robin Murphy
On 06/02/18 16:06, Rob Herring wrote: On Tue, Feb 6, 2018 at 7:11 AM, Robin Murphy wrote: Since commit 9de8da47742b ("kconfig: kill off GENERIC_IO option"), this select has done nothing, and is now just confusing. Clean it up. Signed-off-by: Robin Murphy --- lib/Kconfig | 1 - 1 file chang

Re: [PATCH v1 0/1] spi_ks8995: use regmap to access chip registers.

2018-02-06 Thread Andrew Lunn
On Tue, Feb 06, 2018 at 10:13:55AM -0500, Sven Van Asbroeck wrote: > v1: > starting point. > is there a way to test-run this on supported devices that I don't > have physical access to - (ks8995, ksz8864) ? > > Sven Van Asbroeck (1): > spi_ks8995: use regmap to access c

[PATCH 0/3] HID-Lenovo: Adjustments for three function implementations

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 17:12:34 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in two functions Improve a size determination in lenovo_probe_tpkbd() Adju

Re: [PATCH 10/20] lib/Kconfig: Remove leftover select of GENERIC_IO

2018-02-06 Thread Robin Murphy
On 05/02/18 01:21, Ulf Magnusson wrote: GENERIC_IO was removed by commit 9de8da47742b ("kconfig: kill off GENERIC_IO option"), but HAS_IOMEM still selects it. Remove the select of GENERIC_IO from HAS_IOMEM. Discovered with the https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_un

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

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 16:48:52 +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 --- drivers/hid/hid-lenovo.c | 6 ++ 1 file changed, 2 insertions(+),

Re: [PATCH 3/3] sched: update blocked load when newly idle

2018-02-06 Thread Vincent Guittot
On 6 February 2018 at 15:32, Valentin Schneider wrote: > Hi Vincent, > > On 02/06/2018 08:32 AM, Vincent Guittot wrote: >> When NEWLY_IDLE load balance is not triggered, we might need to update the >> blocked load anyway. We can kick an ilb so an idle CPU will take care of >> updating blocked load

[PATCH 2/3] HID: lenovo: Improve a size determination in lenovo_probe_tpkbd()

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 16:52:58 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was dete

[PATCH 3/3] HID: lenovo: Adjust four checks for null pointers

2018-02-06 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Feb 2018 17:02:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pla

Re: [PATCH 1/2] bdi: make sure congestion states are clear on free

2018-02-06 Thread Jan Kara
On Fri 02-02-18 09:53:28, Tejun Heo wrote: > FUSE has a bug where it fails to clear congestion states if a > connection gets aborted while congested, which can leave > nr_wb_congested[] stuck until reboot causing wait_iff_congested() to > wait spuriously. > > While the bdi owner, FUSE, is primaril

Re: [PATCH v2] socket: Provide put_cmsg_whitelist() for constant size copies

2018-02-06 Thread David Miller
From: Kees Cook Date: Tue, 6 Feb 2018 04:31:50 +1100 > On Tue, Feb 6, 2018 at 2:03 AM, David Miller wrote: >> From: Kees Cook >> Date: Fri, 2 Feb 2018 02:27:49 -0800 >> >>> @@ -343,6 +343,14 @@ struct ucred { >>> >>> extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct >>> sock

Re: [PATCH v4 2/5] irqchip/gic-v3-its: add ability to save/restore ITS state

2018-02-06 Thread Marc Zyngier
On 05/02/18 21:33, dbasehore . wrote: > On Mon, Feb 5, 2018 at 7:56 AM, Marc Zyngier wrote: >> On 03/02/18 01:24, Derek Basehore wrote: >>> Some platforms power off GIC logic in suspend, so we need to >>> save/restore state. The distributor and redistributor registers need >>> to be handled in pla

Re: [PATCH 2/2] FUSE: fix congested state leak on aborted connections

2018-02-06 Thread Jan Kara
On Fri 02-02-18 09:54:14, Tejun Heo wrote: > If a connection gets aborted while congested, FUSE can leave > nr_wb_congested[] stuck until reboot causing wait_iff_congested() to > wait spuriously which can lead to severe performance degradation. > > The leak is caused by gating congestion state cle

Re: [PATCH 4/4] net: amd-xgbe: fix comparison to bitshift when dealing with a mask

2018-02-06 Thread David Miller
From: Wolfram Sang Date: Mon, 5 Feb 2018 21:10:01 +0100 > Due to a typo, the mask was destroyed by a comparison instead of a bit > shift. > > Signed-off-by: Wolfram Sang Applied and queued up for -stable, thanks.

Re: [PATCH] Revert "cpuidle: Make drivers initialize polling state"

2018-02-06 Thread Ville Syrjälä
On Mon, Feb 05, 2018 at 06:56:31PM +0100, Rafael J. Wysocki wrote: > On Monday, February 5, 2018 3:04:45 PM CET Ville Syrjälä wrote: > > On Sun, Feb 04, 2018 at 10:18:07AM +0100, Rafael J. Wysocki wrote: > > > On Sun, Feb 4, 2018 at 10:12 AM, Rafael J. Wysocki > > > wrote: > > > > On Mon, Jan 22,

Re: [PATCH 3/3] sched: update blocked load when newly idle

2018-02-06 Thread Valentin Schneider
On 02/06/2018 04:17 PM, Vincent Guittot wrote: > On 6 February 2018 at 15:32, Valentin Schneider > wrote: >> Hi Vincent, >> >> On 02/06/2018 08:32 AM, Vincent Guittot wrote: >>> When NEWLY_IDLE load balance is not triggered, we might need to update the >>> blocked load anyway. We can kick an ilb s

Re: [PATCH] Resolve RF Type mismatch

2018-02-06 Thread Kangmin Park
Oops, Sorry for being stupid cuz of first time to use git email. RF_TYPE and ODM_RF_TYPE on staging/rtl8723bs is different from staging/rtlwifi 's - updated from v 4.14 - So, I try to update code on staging/rtl8723bs in comparison with staging/rtlwifi. commit message is "Update rf_type and odm_rf_t

[PATCH v3 00/11] Tegra210 DFLL implementation

2018-02-06 Thread Peter De Schrijver
This series introduces support for the DFLL as a CPU clock source on Tegra210. As Jetson TX2 uses a PWM controlled regulator IC which is driven directly by the DFLLs PWM output, we also introduce support for PWM regulators next to I2C controlled regulators. The DFLL output frequency is directly con

[PATCH v3 02/11] clk: tegra: retrieve regulator info from framework

2018-02-06 Thread Peter De Schrijver
The CVB table contains calibration data for the CPU DFLL based on process charaterization. The regulator step and offset parameters depend on the regulator supplying vdd-cpu , not on the specific Tegra SKU. Hence than hardcoding those regulator parameters in the CVB table, retrieve them from the re

[PATCH v3 09/11] cpufreq: tegra124-cpufreq: extend to support Tegra210

2018-02-06 Thread Peter De Schrijver
Tegra210 has a very similar CPU clocking scheme than Tegra124. So add support in this driver. Also allow for the case where the CPU voltage is controlled directly by the DFLL rather than by a separate regulator object. Signed-off-by: Peter De Schrijver --- drivers/cpufreq/tegra124-cpufreq.c | 15

[PATCH v3 07/11] dt-bindings: tegra: Update DFLL binding for PWM regulator

2018-02-06 Thread Peter De Schrijver
Add new properties to configure the DFLL PWM regulator support. Also add an example and make the I2C clock only required when I2C support is used. Signed-off-by: Peter De Schrijver --- .../bindings/clock/nvidia,tegra124-dfll.txt| 76 +- 1 file changed, 74 insertions(+

[PATCH v3 10/11] arm64: dts: tegra: Add Tegra210 DFLL definition

2018-02-06 Thread Peter De Schrijver
Signed-off-by: Peter De Schrijver --- arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 18 ++ arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 12 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 19 +++ 3 files changed, 49 insertions(+) diff --git a/

[PATCH v3 08/11] clk: tegra: build clk-dfll.c for Tegra124 and Tegra210

2018-02-06 Thread Peter De Schrijver
Tegra210 has a DFLL as well and can share the majority of the code with the Tegra124 implementation. So build the same code for both platforms. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Kconfig | 5 + drivers/clk/tegra/Makefile | 2 +- 2 files changed, 6 insertions(+), 1 delet

[PATCH v3 11/11] arm64: dts: nvidia: Tegra210 CPU clock definition

2018-02-06 Thread Peter De Schrijver
Signed-off-by: Peter De Schrijver --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index bc9851a..a7fddae 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dt

Re: [PATCH v3 01/11] regulator: core: add API to get voltage constraints

2018-02-06 Thread Mark Brown
On Tue, Feb 06, 2018 at 06:34:02PM +0200, Peter De Schrijver wrote: > From: Laxman Dewangan > > Add API to get min/max rail voltage configured from platform for > given rails. because... signature.asc Description: PGP signature

<    1   2   3   4   5   6   7   8   9   10   >