Re: [PATCH] media: do not use C++ style comments in uapi headers

2019-06-09 Thread Masahiro Yamada
On Sun, Jun 9, 2019 at 8:57 PM Joe Perches wrote: > > On Sun, 2019-06-09 at 16:14 +0900, Masahiro Yamada wrote: > > Hi Joe, > > > > On Thu, Jun 6, 2019 at 2:06 AM Joe Perches wrote: > > > Perhaps a checkpatch change too: > > > > > > The first block updates unsigned only bitfields > > > The

Re: [PATCH RFC 02/10] fs/locks: Export F_LAYOUT lease to user space

2019-06-09 Thread Jeff Layton
On Wed, 2019-06-05 at 18:45 -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > GUP longterm pins of non-pagecache file system pages (eg FS DAX) are > currently disallowed because they are unsafe. > > The danger for pinning these pages comes from the fact that hole punch > and/or truncate

[PATCH 4.14 0/2] Fix FUSE read/write deadlock on stream-like files

2019-06-09 Thread Kirill Smelkov
Hello stable team, Please consider applying the following 2 patches to Linux-4.14 stable tree. The patches fix regression introduced in 3.14 where both read and write started to run under lock taken, which resulted in FUSE (and many other drivers) deadlocks for cases where stream-like files are

Re: [PATCH RFC 01/10] fs/locks: Add trace_leases_conflict

2019-06-09 Thread Jeff Layton
On Wed, 2019-06-05 at 18:45 -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > Signed-off-by: Ira Weiny > --- > fs/locks.c | 20 ++- > include/trace/events/filelock.h | 35 + > 2 files changed, 50 insertions(+), 5

[PATCH 3/3] staging: rtl8723bs: provide spaces around unary operators

2019-06-09 Thread Hariprasad Kelam
This patch fixes below issues reported by checkpatch CHECK: spaces preferred around that '-' (ctx:VxV) + skb_copy_bits(pfile->pkt, pfile->buf_len-pfile->pkt_len, rmem, len); CHECK: spaces preferred around that '*' (ctx:VxV) +#define WMM_XMIT_THRESHOLD (NR_XMITFRAME*2/5)

[PATCH 2/3] staging: rtl8723bs: fix issue "Using comparison to true is error prone"

2019-06-09 Thread Hariprasad Kelam
this patch fixes below issue reported by checkpatch CHECK: Using comparison to true is error prone + if (res == true) Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/3] staging: rtl8723bs: fix warning comparison to NULL

2019-06-09 Thread Hariprasad Kelam
This patch fixes below issue reported by checkpatch CHECK: Comparison to NULL could be written "!pxmitbuf->pallocated_buf" + if (pxmitbuf->pallocated_buf == NULL) Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 2 +- 1 file changed, 1

[PATCH v5 4/6] staging: rtl8712: removed unused variables from struct _adapter

2019-06-09 Thread Deepak Mishra
This patch removed following unused member variables from struct _adapter IsrContent, xmitThread, evtThread, recvThread Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/drv_types.h

[PATCH v5 6/6] staging: rtl8712: Renamed CamelCase lockRxFF0Filter to lock_rx_ff0_filter

2019-06-09 Thread Deepak Mishra
This patch renames CamelCase variable lockRxFF0Filter to lock_rx_ff0_filter in drv_types.h, usb_intf.c and xmit_linux.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +- drivers/staging/rtl8712/usb_intf.c | 2 +-

[PATCH v5 3/6] staging: rtl8712: Fixed CamelCase cmdThread rename to cmd_thread

2019-06-09 Thread Deepak Mishra
This patch renames CamelCase cmdThread to cmd_thread in struct _adapter in drv_types.h and in os_intfs.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +- drivers/staging/rtl8712/os_intfs.c | 6 +++--- 2 files changed, 4

[PATCH v5 2/6] staging: rtl8712: Removed redundant code from function oid_rt_pro_write_register_hdl

2019-06-09 Thread Deepak Mishra
In function oid_rt_pro_write_register_hdl, Adapter->ImrContent is assigned with RegRWStruct->value but Adapter->ImrContent is never used anywhere else. So those lines has no impact and are removed removed. As that was the only place where ImrContent was used, so the member variable is removed

[PATCH v5 5/6] staging: rtl8712: Renamed CamelCase wkFilterRxFF0 to wk_filter_rx_ff0

2019-06-09 Thread Deepak Mishra
This patch renames CamelCase variable wkFilterRxFF0 to wk_filter_rx_ff0 in drv_types.h, rtl871x_xmit.c and xmit_linux.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h| 2 +- drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-

[PATCH v5 0/6] staging: rtl8712: cleanup struct _adapter

2019-06-09 Thread Deepak Mishra
In process of cleaning up rtl8712 struct _adapter in drv_types.h I have tried to remove some unused variables and redundant lines of code associated with those variables. I have also fixed some CamelCase reported by checkpatch.pl Following review comments from previous versions are addressed

Re: [PATCH] MIPS: Ocelot: configs: Move ocelot.config from generic

2019-06-09 Thread Alexandre Belloni
Hi, On 09/06/2019 14:20:46+0200, Horatiu Vultur wrote: > Move board-ocelot.config from configs/generic to configs. This allows to > enable or disable more configuration options for ocelot board. > Therefore enable the following options: > CONFIG_MISC_FILESYSTEMS=y > CONFIG_SQUASHFS=y >

[PATCH v5 1/6] staging: rtl8712: Fixed CamelCase for EepromAddressSize

2019-06-09 Thread Deepak Mishra
This patch renames CamelCase EepromAddressSizefrom to eeprom_address_size in struct _adapter and in related files drv_types.h, rtl871x_eeprom.c, usb_intf.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +-

Re: [PATCH v6 05/10] mm: introduce __memcg_kmem_uncharge_memcg()

2019-06-09 Thread Vladimir Davydov
On Tue, Jun 04, 2019 at 07:44:49PM -0700, Roman Gushchin wrote: > Let's separate the page counter modification code out of > __memcg_kmem_uncharge() in a way similar to what > __memcg_kmem_charge() and __memcg_kmem_charge_memcg() work. > > This will allow to reuse this code later using a new >

[Patch v2] staging: rtl8723bs: hal: move common code to macro

2019-06-09 Thread Hariprasad Kelam
In halbtc8723b2ant_TdmaDurationAdjust function,below piece of code is repeated many times. halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); pCoexDm->psTdmaDuAdjType = val; So replace the same with "HAL_BTC8723B2ANT_DMA_DURATION_ADJUST" MACRO. Signed-off-by: Hariprasad Kelam -

Re: [PATCH v6 04/10] mm: generalize postponed non-root kmem_cache deactivation

2019-06-09 Thread Vladimir Davydov
On Tue, Jun 04, 2019 at 07:44:48PM -0700, Roman Gushchin wrote: > Currently SLUB uses a work scheduled after an RCU grace period > to deactivate a non-root kmem_cache. This mechanism can be reused > for kmem_caches release, but requires generalization for SLAB > case. > > Introduce

Re: Question about cacheline bounching with percpu-rwsem and rcu-sync

2019-06-09 Thread Paul E. McKenney
On Sat, Jun 08, 2019 at 08:24:36PM -0400, Joel Fernandes wrote: > On Fri, May 31, 2019 at 10:43 AM Joel Fernandes > wrote: > [snip] > > > > > > Either way, it would be good for you to just try it. Create a kernel > > > module or similar than hammers on percpu_down_read() and percpu_up_read(), >

[PATCH] MIPS: Ocelot: configs: Move ocelot.config from generic

2019-06-09 Thread Horatiu Vultur
Move board-ocelot.config from configs/generic to configs. This allows to enable or disable more configuration options for ocelot board. Therefore enable the following options: CONFIG_MISC_FILESYSTEMS=y CONFIG_SQUASHFS=y CONFIG_SQUASHFS_XZ=y CONFIG_NET_SCHED=y CONFIG_NET_SCH_INGRESS=y

Re: [RFC PATCH 1/6] ASoC: core: add support to snd_soc_dai_get_sdw_stream()

2019-06-09 Thread Srinivas Kandagatla
Thanks for taking time to review, On 08/06/2019 20:22, Cezary Rojewski wrote: On 2019-06-07 10:56, Srinivas Kandagatla wrote: On platforms which have smart speaker amplifiers connected via soundwire and modeled as aux devices in ASoC, in such usecases machine driver should be able to get sdw

Re: [alsa-devel] [RFC PATCH 5/6] dt-bindings: soundwire: add bindings for Qcom controller

2019-06-09 Thread Srinivas Kandagatla
Thanks for taking time to review, On 07/06/2019 13:50, Pierre-Louis Bossart wrote: On 6/7/19 3:56 AM, Srinivas Kandagatla wrote: This patch adds bindings for Qualcomm soundwire controller. Qualcomm SoundWire Master controller is present in most Qualcomm SoCs either integrated as part of WCD

Re: [alsa-devel] [RFC PATCH 6/6] soundwire: qcom: add support for SoundWire controller

2019-06-09 Thread Srinivas Kandagatla
Thanks for taking time to review, On 07/06/2019 14:36, Pierre-Louis Bossart wrote: +config SOUNDWIRE_QCOM +    tristate "Qualcomm SoundWire Master driver" +    select SOUNDWIRE_BUS +    depends on SND_SOC depends on SLIMBUS if you need the SlimBus link to talk to your SoundWire Master?

Re: [RFC PATCH 6/6] soundwire: qcom: add support for SoundWire controller

2019-06-09 Thread Srinivas Kandagatla
Thanks for taking time to review, I agre with most of the comments specially handling returns and making code more readable. Will fix them in next version. On 08/06/2019 22:53, Cezary Rojewski wrote: On 2019-06-07 10:56, Srinivas Kandagatla wrote: Qualcomm SoundWire Master controller is

Re: [PATCH v6 03/10] mm: rename slab delayed deactivation functions and fields

2019-06-09 Thread Vladimir Davydov
On Tue, Jun 04, 2019 at 07:44:47PM -0700, Roman Gushchin wrote: > The delayed work/rcu deactivation infrastructure of non-root > kmem_caches can be also used for asynchronous release of these > objects. Let's get rid of the word "deactivation" in corresponding > names to make the code look better

Re: 5.2-rc2: low framerate in flightgear, cpu not running at full speed, thermal related?

2019-06-09 Thread Pavel Machek
Hi! > > When I start flightgear, I get framerates around 20 fps and cpu at > > 3GHz: > > > > pavel@duo:~/bt$ cat /proc/cpuinfo | grep MHz > > cpu MHz : 3027.471 > > cpu MHz : 2981.863 > > cpu MHz : 2958.352 > > cpu MHz

Re: [PATCH v6 01/10] mm: add missing smp read barrier on getting memcg kmem_cache pointer

2019-06-09 Thread Vladimir Davydov
On Tue, Jun 04, 2019 at 07:44:45PM -0700, Roman Gushchin wrote: > Johannes noticed that reading the memcg kmem_cache pointer in > cache_from_memcg_idx() is performed using READ_ONCE() macro, > which doesn't implement a SMP barrier, which is required > by the logic. > > Add a proper smp_rmb() to

Re: [PATCH] Updated the function description for musb_stage0_irq Signed-off-by: Saurav-Girepunje

2019-06-09 Thread Greg KH
On Sun, Jun 09, 2019 at 04:54:00PM +0530, Saurav-Girepunje wrote: > --- > drivers/usb/musb/musb_core.c | 1 - > 1 file changed, 1 deletion(-) Please stop, wait a few days, then fix your commit to not have everything mushed into the subject: line, resend the patch to YOURSELF to verify that it

Re: [PATCH v4 0/6] staging: rtl8712: cleanup struct _adapter

2019-06-09 Thread Greg KH
On Sun, Jun 09, 2019 at 05:16:48PM +0530, Deepak Kumar Mishra wrote: > Hi Greg, > > On 09/06/19 4:40 PM, Greg KH wrote: > > On Sat, Jun 08, 2019 at 04:26:55PM +0530, Deepak Mishra wrote: > > > In process of cleaning up rtl8712 struct _adapter in drv_types.h I have > > > tried to remove some

Re: [tip:ras/core] RAS/CEC: Rename count_threshold to action_threshold

2019-06-09 Thread Borislav Petkov
On Sun, Jun 09, 2019 at 11:06:37AM +0200, Ingo Molnar wrote: > > * tip-bot for Borislav Petkov wrote: > > > Commit-ID: b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd > > Gitweb: > > https://git.kernel.org/tip/b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd > > Author: Borislav Petkov > >

Re: [PATCH] media: do not use C++ style comments in uapi headers

2019-06-09 Thread Joe Perches
On Sun, 2019-06-09 at 16:14 +0900, Masahiro Yamada wrote: > Hi Joe, > > On Thu, Jun 6, 2019 at 2:06 AM Joe Perches wrote: > > Perhaps a checkpatch change too: > > > > The first block updates unsigned only bitfields > > The second tests uapi definitions and suggests "__ > Good. > > In

Donation for you

2019-06-09 Thread Mr. Harold Diamond
Hello, Donation for you, reply back for more information on how to get it. Signed, Harold Diamond. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

[PATCH] regulator: max8952: Convert to use GPIO descriptors

2019-06-09 Thread Linus Walleij
This finalizes the descriptor conversion of the MAX8952 driver by letting the VID0 and VID1 GPIOs be fetched from descriptors. Both VID0 and VID1 must be supplied for the VID selection to work, I add some code to preserve the semantics that if only one of the two VID gpios is supplied, it will be

Re: [PATCH v4 0/6] staging: rtl8712: cleanup struct _adapter

2019-06-09 Thread Deepak Kumar Mishra
Hi Greg, On 09/06/19 4:40 PM, Greg KH wrote: On Sat, Jun 08, 2019 at 04:26:55PM +0530, Deepak Mishra wrote: In process of cleaning up rtl8712 struct _adapter in drv_types.h I have tried to remove some unused variables and redundant lines of code associated with those variables. I have also

Re: Oex

2019-06-09 Thread Ywe Cærlyn
And the more enligthened of you may be interested in my project about realizing the zén-concept I use. https://www.youtube.com/channel/UCXt31evVH11u8IzD4e3923Q

[PATCH] PCI/PME: Fix race on PME polling

2019-06-09 Thread Lukas Wunner
Since commit df17e62e5bff ("PCI: Add support for polling PME state on suspended legacy PCI devices"), the work item pci_pme_list_scan() polls the PME status flag of devices and wakes them up if the bit is set. The function performs a check whether a device's upstream bridge is in D0 for otherwise

Re: [PATCH V5 04/11] misc: xilinx_sdfec: Store driver config and state

2019-06-09 Thread Greg KH
On Sun, Jun 09, 2019 at 01:04:09AM +0100, Dragan Cvetic wrote: > Stores configuration based on parameters from the DT > node and values from the SD-FEC core plus reads > the default state from the SD-FEC core. To obtain > values from the core register read, write capabilities > have been added

[PATCH] Updated the function description for musb_stage0_irq Signed-off-by: Saurav-Girepunje

2019-06-09 Thread Saurav-Girepunje
--- drivers/usb/musb/musb_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 9f5a4819a744..2451e0ee2d01 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -909,7 +909,6 @@ static void

Re: 5.2-rc2: low framerate in flightgear, cpu not running at full speed, thermal related?

2019-06-09 Thread Pavel Machek
Hi! > When I start flightgear, I get framerates around 20 fps and cpu at > 3GHz: > > pavel@duo:~/bt$ cat /proc/cpuinfo | grep MHz > cpu MHz : 3027.471 > cpu MHz : 2981.863 > cpu MHz : 2958.352 > cpu MHz :

Re: [PATCH V5 02/11] misc: xilinx-sdfec: add core driver

2019-06-09 Thread Greg KH
On Sun, Jun 09, 2019 at 01:04:07AM +0100, Dragan Cvetic wrote: > Implement a platform driver that matches with xlnx, > sd-fec-1.1 device tree node and registers as a character > device, including: > - SD-FEC driver binds to sdfec DT node. > - creates and initialise an initial driver dev structure.

Re: [PATCH 04/34] leds: leds-pca955x: simplify getting the adapter of a client

2019-06-09 Thread Jacek Anaszewski
On 6/9/19 1:05 PM, Pavel Machek wrote: On Sun 2019-06-09 13:03:40, Jacek Anaszewski wrote: Hi Wolfram, Thank you for the patches. On 6/8/19 12:55 PM, Wolfram Sang wrote: We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by:

5.2-rc2: low framerate in flightgear, cpu not running at full speed, thermal related?

2019-06-09 Thread Pavel Machek
Hi! When I start flightgear, I get framerates around 20 fps and cpu at 3GHz: pavel@duo:~/bt$ cat /proc/cpuinfo | grep MHz cpu MHz : 3027.471 cpu MHz : 2981.863 cpu MHz : 2958.352 cpu MHz : 2864.001 pavel@duo:~/bt$ (Ok, fgfs is really

Re: [PATCH v4 0/6] staging: rtl8712: cleanup struct _adapter

2019-06-09 Thread Greg KH
On Sat, Jun 08, 2019 at 04:26:55PM +0530, Deepak Mishra wrote: > In process of cleaning up rtl8712 struct _adapter in drv_types.h I have > tried to remove some unused variables and redundant lines of code > associated with those variables. I have also fixed some CamelCase > reported by

Re: [PATCH 1/2] staging: kpc2000: kpc2000_i2c: void* -> void *

2019-06-09 Thread Greg KH
On Sat, Jun 08, 2019 at 01:45:05PM +, Geordan Neukum wrote: > On Sat, Jun 08, 2019 at 03:27:46PM +0800, Hao Xu wrote: > > modify void* to void * for #define inb_p(a) readq((void*)a) > > and #define outb_p(d,a) writeq(d,(void*)a) > > > > Signed-off-by: Hao Xu > > --- > >

Re: [PATCH 04/34] leds: leds-pca955x: simplify getting the adapter of a client

2019-06-09 Thread Pavel Machek
On Sun 2019-06-09 13:03:40, Jacek Anaszewski wrote: > Hi Wolfram, > > Thank you for the patches. > > On 6/8/19 12:55 PM, Wolfram Sang wrote: > >We have a dedicated pointer for that, so use it. Much easier to read and > >less computation involved. > > > >Signed-off-by: Wolfram Sang > >--- > > >

[PATCH] regulator: max77802: Drop unused includes

2019-06-09 Thread Linus Walleij
This driver does not use any symbols from no so just drop the includes. Cc: Javier Martinez Canillas Signed-off-by: Linus Walleij --- drivers/regulator/max77802-regulator.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/max77802-regulator.c

Re: [PATCH 04/34] leds: leds-pca955x: simplify getting the adapter of a client

2019-06-09 Thread Jacek Anaszewski
Hi Wolfram, Thank you for the patches. On 6/8/19 12:55 PM, Wolfram Sang wrote: We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/leds/leds-pca955x.c | 2 +- 1

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-09 Thread Greg KH
On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: > Remove variables that are declared and assigned values but not otherwise > used. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 9 - > 1 file

Re: [PATCH] staging: rtl8723bs: fix indentation issues

2019-06-09 Thread Greg Kroah-Hartman
On Sun, Jun 09, 2019 at 11:07:41AM +0530, Hariprasad Kelam wrote: > fix below issues reported by checkpatch > > CHECK: Please don't use multiple blank lines > WARNING: space prohibited between function name and open parenthesis '(' > +void _rtw_open_pktfile (_pkt *pktptr, struct pkt_file *pfile)

[PATCH] Staging: ralink-gdma: fixed a brace coding style issue

2019-06-09 Thread Harold André
Fixed a coding style issue. Signed-off-by: Harold André --- drivers/staging/ralink-gdma/ralink-gdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index de3e357b2640..5854551d0a52

Re: [PATCH] staging: isdn: hysdn: fix symbol 'hysdn_proc_entry' was not declared.

2019-06-09 Thread Greg KH
On Wed, Jun 05, 2019 at 03:53:49PM +0200, Valerio Genovese wrote: > This was reported by sparse: > drivers/staging/isdn/hysdn/hysdn_procconf.c:352:23: warning: symbol > 'hysdn_proc_entry' was not declared. Should it be static? > > Signed-off-by: Valerio Genovese > --- >

Re: [PATCH] staging: rtl8723bs: hal: move common code to macro

2019-06-09 Thread Greg Kroah-Hartman
On Sun, Jun 09, 2019 at 04:02:32PM +0530, Hariprasad Kelam wrote: > > As part of halbtc8723b2ant_TdmaDurationAdjust function below > piece of code is used many times. > > halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); > pCoexDm->psTdmaDuAdjType = val; > > This

Re: [1/2] dt-bindngs: display: panel: Add BOE tv101wum-nl6 panel bindings

2019-06-09 Thread Sam Ravnborg
Hi Jitao Always good to see more panels added. On Sat, Jun 08, 2019 at 03:02:29PM +0800, Jitao Shi wrote: > Add documentation for boe tv101wum-n16 panel. The changelog says tv101wum-n16 but the compatible says tv101wum-nl6. Please pick the right one and be consistent. (number one '1' versus

[PATCH v5 4/5] dt-bindings: mtd: Add bindings for TI's AM654 HyperBus memory controller

2019-06-09 Thread Vignesh Raghavendra
Add binding documentation for TI's HyperBus memory controller present on AM654 SoC. Signed-off-by: Vignesh Raghavendra --- v5: Update binding example to show MMIO mux Fix reg property for flash slave. .../devicetree/bindings/mtd/ti,am654-hbmc.txt | 51 +++ MAINTAINERS

[PATCH v5 3/5] mtd: Add support for HyperBus memory devices

2019-06-09 Thread Vignesh Raghavendra
Cypress' HyperBus is Low Signal Count, High Performance Double Data Rate Bus interface between a host system master and one or more slave interfaces. HyperBus is used to connect microprocessor, microcontroller, or ASIC devices with random access NOR flash memory (called HyperFlash) or self refresh

[PATCH] staging: rtl8723bs: hal: move common code to macro

2019-06-09 Thread Hariprasad Kelam
As part of halbtc8723b2ant_TdmaDurationAdjust function below piece of code is used many times. halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); pCoexDm->psTdmaDuAdjType = val; This patch replaces this common code with MACRO

[PATCH v5 2/5] dt-bindings: mtd: Add binding documentation for HyperFlash

2019-06-09 Thread Vignesh Raghavendra
Add DT binding documentation for HyperFlash devices. Signed-off-by: Vignesh Raghavendra Reviewed-by: Rob Herring --- v5: No change .../devicetree/bindings/mtd/cypress,hyperflash.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644

[PATCH v5 0/5] MTD: Add Initial Hyperbus support

2019-06-09 Thread Vignesh Raghavendra
Cypress HyperBus is Low Signal Count, High Performance Double Data Rate Bus interface between a host system master and one or more slave interfaces. HyperBus is used to connect microprocessor, microcontroller, or ASIC devices with random access NOR flash memory(called HyperFlash) or self refresh

[PATCH v5 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-06-09 Thread Vignesh Raghavendra
HyperFlash devices are compliant with CFI AMD/Fujitsu Extended Command Set (0x0002) for flash operations, therefore drivers/mtd/chips/cfi_cmdset_0002.c can be used as is. But these devices do not support DQ polling method of determining chip ready/good status. These flashes provide Status Register

[PATCH v5 5/5] mtd: hyperbus: Add driver for TI's HyperBus memory controller

2019-06-09 Thread Vignesh Raghavendra
Add driver for HyperBus memory controller on TI's AM654 SoC. Programming IP is pretty simple and provides direct memory mapped access to connected Flash devices. Add basic support for the IP without DMA. Second chipSelect is not supported for now. Signed-off-by: Vignesh Raghavendra --- v5: Drop

Greetings Friend

2019-06-09 Thread Dawuda Usman
Dear Friend, Greetings to you friend, I am Mr. Dawuda Usman working with a Commercial bank here in Lome Togo in the department of Audit and accounting manager , There is this fund that was kept in my custody years ago,please I need your assistance for the transferring of this fund to your bank

[PATCH v2 6/6] mm: use down_read_killable for locking mmap_sem in access_remote_vm

2019-06-09 Thread Konstantin Khlebnikov
This function is used by ptrace and proc files like /proc/pid/cmdline and /proc/pid/environ. Access_remote_vm never returns error codes, all errors are ignored and only size of successfully read data is returned. So, if current task was killed we'll simply return 0 (bytes read). Mmap_sem could

[PATCH v2 4/6] proc: use down_read_killable mmap_sem for /proc/pid/clear_refs

2019-06-09 Thread Konstantin Khlebnikov
Do not stuck forever if something wrong. Killable lock allows to cleanup stuck tasks and simplifies investigation. Replace the only unkillable mmap_sem lock in clear_refs_write. Signed-off-by: Konstantin Khlebnikov Reviewed-by: Roman Gushchin Reviewed-by: Cyrill Gorcunov Reviewed-by: Kirill

[PATCH v2 5/6] proc: use down_read_killable mmap_sem for /proc/pid/map_files

2019-06-09 Thread Konstantin Khlebnikov
Do not stuck forever if something wrong. Killable lock allows to cleanup stuck tasks and simplifies investigation. It seems ->d_revalidate() could return any error (except ECHILD) to abort validation and pass error as result of lookup sequence. Signed-off-by: Konstantin Khlebnikov Reviewed-by:

[PATCH v2 0/6] mm: use down_read_killable for locking mmap_sem in proc

2019-06-09 Thread Konstantin Khlebnikov
v1: https://lore.kernel.org/lkml/155790967258.1319.11531787078240675602.stgit@buzz/ v1 "mm: use down_read_killable for locking mmap_sem in access_remote_vm" https://lore.kernel.org/lkml/155790847881.2798.7160461383704600177.stgit@buzz/ changes since v1: * update comments and collect

[PATCH v2 1/6] proc: use down_read_killable mmap_sem for /proc/pid/maps

2019-06-09 Thread Konstantin Khlebnikov
Do not stuck forever if something wrong. Killable lock allows to cleanup stuck tasks and simplifies investigation. This function also used for /proc/pid/smaps. Signed-off-by: Konstantin Khlebnikov Reviewed-by: Roman Gushchin Reviewed-by: Cyrill Gorcunov Reviewed-by: Kirill Tkhai Acked-by:

[PATCH v2 2/6] proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup

2019-06-09 Thread Konstantin Khlebnikov
Do not stuck forever if something wrong. Killable lock allows to cleanup stuck tasks and simplifies investigation. Signed-off-by: Konstantin Khlebnikov Reviewed-by: Roman Gushchin Reviewed-by: Cyrill Gorcunov Reviewed-by: Kirill Tkhai Acked-by: Michal Hocko --- fs/proc/task_mmu.c |8

[PATCH v2 3/6] proc: use down_read_killable mmap_sem for /proc/pid/pagemap

2019-06-09 Thread Konstantin Khlebnikov
Do not stuck forever if something wrong. Killable lock allows to cleanup stuck tasks and simplifies investigation. Signed-off-by: Konstantin Khlebnikov Reviewed-by: Roman Gushchin Reviewed-by: Cyrill Gorcunov Reviewed-by: Kirill Tkhai Acked-by: Michal Hocko --- fs/proc/task_mmu.c |4

Re: [PATCH AUTOSEL 4.9 18/25] MIPS: perf: ath79: Fix perfcount IRQ assignment

2019-06-09 Thread Greg KH
On Thu, Jun 06, 2019 at 11:28:04PM +0200, Petr Štetiar wrote: > Hi, > > Karl has reported to me today, that he's experiencing weird reboot hang on his > devices with 4.9.180 kernel and that he has bisected it down to my backported > patch. > > I would like to kindly ask you for removal of this

Re: [PATCH] x86/build: Move _etext to actual end of .text

2019-06-09 Thread Klaus Kusche
Hello, Same problem for linux 5.1.7: Kernel building fails with the same relocation error. 5.1.5 does not have the problem, builds fine for me. Is there anything I can do to investigate the problem? -- Prof. Dr. Klaus Kusche Private address: Rosenberg 41, 07546 Gera, Germany +49 365

[PATCH] mm: align up min_free_kbytes to multipy of 4

2019-06-09 Thread ChenGang
Usually the value of min_free_kbytes is multiply of 4, and in this case ,the right shift is ok. But if it's not, the right-shifting operation will lose the low 2 bits, and this cause kernel don't reserve enough memory. So it's necessary to align the value of min_free_kbytes to multiply of 4. For

[PATCH] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-09 Thread Ryder Lee
Fill in RX status->chain_signal to avoid empty value. Signed-off-by: Ryder Lee --- .../net/wireless/mediatek/mt76/mt7615/mac.c | 30 ++- .../net/wireless/mediatek/mt76/mt7615/mac.h | 5 2 files changed, 34 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 2/5] proc: use down_read_killable for /proc/pid/smaps_rollup

2019-06-09 Thread Konstantin Khlebnikov
On 17.05.2019 15:45, Michal Hocko wrote: On Wed 15-05-19 11:41:14, Konstantin Khlebnikov wrote: Ditto. Proper changelog or simply squash those patches into a single patch if you do not feel like copy is fun Signed-off-by: Konstantin Khlebnikov --- fs/proc/task_mmu.c |8 ++--

Re: [tip:ras/core] RAS/CEC: Rename count_threshold to action_threshold

2019-06-09 Thread Ingo Molnar
* tip-bot for Borislav Petkov wrote: > Commit-ID: b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd > Gitweb: > https://git.kernel.org/tip/b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd > Author: Borislav Petkov > AuthorDate: Sat, 20 Apr 2019 21:30:11 +0200 > Committer: Borislav Petkov >

Re: Linux 5.2-rc4

2019-06-09 Thread Bhaskar Chowdhury
Woohoo! testing time fells,thanks Linus!. On 20:46 Sat 08 Jun , Linus Torvalds wrote: No, I'm not confused, and I haven't lost track of what day it is, I do actually know that it's still Saturday here, not Sunday, and I'm just doing rc4 a bit early because I'll be on an airplane during my

Re: [PATCH] Updated the function description for musb_stage0_irq Signed-off-by: Saurav-Girepunje

2019-06-09 Thread Greg KH
On Sun, Jun 09, 2019 at 01:38:02PM +0530, Saurav-Girepunje wrote: > --- > drivers/usb/musb/musb_core.c | 1 - > 1 file changed, 1 deletion(-) I think something went wrong with your commit :(

Re: Linux 5.1.8

2019-06-09 Thread Bhaskar Chowdhury
Thanks, a bunch Greg! On 09:38 Sun 09 Jun , Greg KH wrote: I'm announcing the release of the 5.1.8 kernel. All users of the 5.1 kernel series must upgrade. The updated 5.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.1.y

[PATCH] Updated the function description for musb_stage0_irq Signed-off-by: Saurav-Girepunje

2019-06-09 Thread Saurav-Girepunje
--- drivers/usb/musb/musb_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 9f5a4819a744..2451e0ee2d01 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -909,7 +909,6 @@ static void

Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

2019-06-09 Thread Christoph Hellwig
On Sat, Jun 08, 2019 at 06:49:09PM -0700, Paul Walmsley wrote: > On Wed, 5 Jun 2019, Kevin Hilman wrote: > > > Enable PRCI clock driver and serial console by default, so the default > > upstream defconfig is bootable to a serial console. > > > > Signed-off-by: Kevin Hilman > > Thanks, queued

Re: [PATCH v3 1/5] arch: riscv: add support for building DTB files from DT source data

2019-06-09 Thread Christoph Hellwig
On Sat, Jun 08, 2019 at 10:50:14PM -0700, Paul Walmsley wrote: > Once there are SoC variants that have different CPU cores, but with the > remaining chip integration the same, I think it would make sense to move > the CONFIG_SOC_ stuff out from ARM, RISC-V, etc., into something that's > not CPU

BUG: Dentry still in use [unmount of tmpfs tmpfs]

2019-06-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16eacf36a0 kernel config: https://syzkaller.appspot.com/x/.config?x=60564cb52ab29d5b

Linux 4.14.124

2019-06-09 Thread Greg KH
I'm announcing the release of the 4.14.124 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: Linux 4.14.124

2019-06-09 Thread Greg KH
diff --git a/Documentation/conf.py b/Documentation/conf.py index 63857d33778c..329c519158b6 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -37,7 +37,7 @@ needs_sphinx = '1.3' extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', 'kfigure'] # The name of

Re: Linux 4.19.49

2019-06-09 Thread Greg KH
diff --git a/Documentation/conf.py b/Documentation/conf.py index b691af4831fa..22c1a6d96f9e 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -37,7 +37,7 @@ needs_sphinx = '1.3' extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', 'kfigure',

Linux 5.1.8

2019-06-09 Thread Greg KH
I'm announcing the release of the 5.1.8 kernel. All users of the 5.1 kernel series must upgrade. The updated 5.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.1.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.49

2019-06-09 Thread Greg KH
I'm announcing the release of the 4.19.49 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 5.1.8

2019-06-09 Thread Greg KH
diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst index 20f92c16ffbf..26b3a3e7daf6 100644 --- a/Documentation/admin-guide/cgroup-v2.rst +++ b/Documentation/admin-guide/cgroup-v2.rst @@ -177,6 +177,15 @@ cgroup v2 currently supports the following mount

Re: [PATCH 5.1 00/85] 5.1.8-stable review

2019-06-09 Thread Greg Kroah-Hartman
On Sat, Jun 08, 2019 at 11:50:30AM -0700, Guenter Roeck wrote: > On 6/7/19 8:38 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.8 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH 4.14 00/69] 4.14.124-stable review

2019-06-09 Thread Greg Kroah-Hartman
On Sun, Jun 09, 2019 at 12:36:23AM +0530, Naresh Kamboju wrote: > On Sat, 8 Jun 2019 at 15:03, Greg Kroah-Hartman > wrote: > > > > On Fri, Jun 07, 2019 at 05:38:41PM +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.14.124 release. > > > There are 69

Re: [PATCH] media: do not use C++ style comments in uapi headers

2019-06-09 Thread Masahiro Yamada
Hi Joe, On Thu, Jun 6, 2019 at 2:06 AM Joe Perches wrote: > Perhaps a checkpatch change too: > > The first block updates unsigned only bitfields > The second tests uapi definitions and suggests "__

[PATCH -next] ocelot: remove unused variable 'rc' in vcap_cmd()

2019-06-09 Thread Mao Wenan
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/ethernet/mscc/ocelot_ace.c: In function ‘vcap_cmd’: drivers/net/ethernet/mscc/ocelot_ace.c:108:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] int rc; ^ It's never used since introduction in commit

Zdravstvuyte! Vas interesuyut kliyentskiye bazy dannykh?

2019-06-09 Thread linux-kernel
Zdravstvuyte! Vas interesuyut kliyentskiye bazy dannykh?

Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-09 Thread Leo Yan
Hi Arnaldo, On Fri, Jun 07, 2019 at 03:23:25PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 07, 2019 at 02:44:25PM +0800, Leo Yan escreveu: > > On Thu, Jun 06, 2019 at 05:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier

[PATCH] tomoyo: Don't check open/getattr permission on sockets.

2019-06-09 Thread Tetsuo Handa
syzbot is reporting that use of SOCKET_I()->sk from open() can result in use after free problem [1], for socket's inode is still reachable via /proc/pid/fd/n despite destruction of SOCKET_I()->sk already completed. But there is no point with calling security_file_open() on sockets because

Re: [PATCH v3 5/5] riscv: dts: add initial board data for the SiFive HiFive Unleashed

2019-06-09 Thread Antony Pavlov
On Sun, 2 Jun 2019 01:05:00 -0700 Paul Walmsley wrote: Hi! > Add initial board data for the SiFive HiFive Unleashed A00. > > Currently the data populated in this DT file describes the board > DRAM configuration and the external clock sources that supply the > PRCI. > > This third version

<    3   4   5   6   7   8