Re: [V9fs-developer] [PATCH kernel] 9p/trans_fd: Check file mode at opening

2020-07-28 Thread Greg Kurz
Hi Alexey, Working on 9p now ?!? ;-) Cc'ing Dominique Martinet who appears to be the person who takes care of 9p these days. On Tue, 28 Jul 2020 22:41:29 +1000 Alexey Kardashevskiy wrote: > The "fd" transport layer uses 2 file descriptors passed externally > and calls

Re: [RFC PATCH 3/5] mm: introduce VM_EXEC_KEEP

2020-07-28 Thread Anthony Yznaga
On 7/28/20 6:38 AM, ebied...@xmission.com wrote: > Anthony Yznaga writes: > >> A vma with the VM_EXEC_KEEP flag is preserved across exec. For anonymous >> vmas only. For safety, overlap with fixed address VMAs created in the new >> mm during exec (e.g. the stack and elf load segments) is not

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Roger Pau Monné
On Tue, Jul 28, 2020 at 06:12:46PM +0100, Julien Grall wrote: > Hi Roger, > > On 28/07/2020 17:59, Roger Pau Monné wrote: > > On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: > > > Hi, > > > > > > On 27/07/2020 10:13, Roger Pau Monne wrote: > > > > To be used in order to create

Re: Re: [PATCH v18 06/14] mm/damon: Implement callbacks for the virtual memory address spaces

2020-07-28 Thread Shakeel Butt
On Mon, Jul 27, 2020 at 2:03 AM SeongJae Park wrote: > > On Mon, 27 Jul 2020 00:34:54 -0700 Greg Thelen wrote: > > > SeongJae Park wrote: > > > > > From: SeongJae Park > > > > > > This commit introduces a reference implementation of the address space > > > specific low level primitives for the

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Roger Pau Monné
On Tue, Jul 28, 2020 at 06:06:25PM +0100, Andrew Cooper wrote: > On 28/07/2020 17:59, Roger Pau Monné wrote: > > On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: > >> Hi, > >> > >> On 27/07/2020 10:13, Roger Pau Monne wrote: > >>> To be used in order to create foreign mappings. This

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Sean V Kelley
On 28 Jul 2020, at 10:02, Jonathan Cameron wrote: On Tue, 28 Jul 2020 09:14:11 -0700 Sean V Kelley wrote: On 28 Jul 2020, at 6:27, Zhuo, Qiuxu wrote: From: Jonathan Cameron Sent: Monday, July 27, 2020 7:17 PM To: Kelley, Sean V Cc: bhelg...@google.com; r...@rjwysocki.net;

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread kernel test robot
Hi Dhiraj, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on staging/staging-testing soc/for-next v5.8-rc7 next-20200728] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Andy Lutomirski
> On Jul 28, 2020, at 6:11 AM, madve...@linux.microsoft.com wrote: > > From: "Madhavan T. Venkataraman" > > The kernel creates the trampoline mapping without any permissions. When > the trampoline is executed by user code, a page fault happens and the > kernel gets control. The kernel

Re: [PATCH] ASoC: Intel: Atom: use hardware counter to update hw_ptr

2020-07-28 Thread Pierre-Louis Bossart
On 7/28/20 12:02 PM, Lu, Brent wrote: So if there are already quirks in atom machine drivers to change the period size, why is this patch necessary? The story is: google implemented the constraint but doesn't know why it works so asked us to explain. After checking the two counters I

Re: Kernel panic - not syncing: IO-APIC + timer doesn't work!

2020-07-28 Thread Scott Branden
Hi Thomas, On 2020-07-28 1:22 a.m., Thomas Gleixner wrote: > Scott, > > Scott Branden writes: >> Bios now updated to latest.  Same kernel panic issue.  Log below. >> >> I think it is related to power cycling quickly. >> Should APIC work if PC power cycled in a few seconds or is that the >>

Re: [PATCH] mwifiex: don't call del_timer_sync() on uninitialized timer

2020-07-28 Thread Andy Shevchenko
On Tue, Jul 28, 2020 at 4:46 AM Tetsuo Handa wrote: > > syzbot is reporting that del_timer_sync() is called from > mwifiex_usb_cleanup_tx_aggr() from mwifiex_unregister_dev() without > checking timer_setup() from mwifiex_usb_tx_init() was called [1]. > Since mwifiex_usb_prepare_tx_aggr_skb() is

Re: [External] Re: [PATCH 2/2] ftrace: setup correct flags before replace code of module rec

2020-07-28 Thread Chengming Zhou
在 2020/7/28 下午9:02, Steven Rostedt 写道: > On Tue, 28 Jul 2020 18:27:20 +0800 > Chengming Zhou wrote: > >> When module loaded and enabled, we will use __ftrace_replace_code >> for module if any ftrace_ops referenced it found. But we will get >> wrong ftrace_addr for module rec in

Re: [PATCH RFC leds + net-next v4 1/2] net: phy: add API for LEDs controlled by PHY HW

2020-07-28 Thread Marek Behun
On Tue, 28 Jul 2020 18:18:00 +0200 Andrew Lunn wrote: > > +static int of_phy_register_led(struct phy_device *phydev, struct > > device_node *np) > > +{ > > + struct led_init_data init_data = {}; > > + struct phy_device_led *led; > > + u32 reg; > > + int ret; > > + > > + ret =

Re: [PATCH v4 10/10] module: Reorder functions

2020-07-28 Thread Jessica Yu
+++ Kristen Carlson Accardi [17/07/20 10:00 -0700]: Introduce a new config option to allow modules to be re-ordered by function. This option can be enabled independently of the kernel text KASLR or FG_KASLR settings so that it can be used by architectures that do not support either of these

Re: [RFC PATCH 0/5] madvise MADV_DOEXEC

2020-07-28 Thread Anthony Yznaga
On 7/28/20 4:34 AM, Kirill Tkhai wrote: > On 27.07.2020 20:11, Anthony Yznaga wrote: >> This patchset adds support for preserving an anonymous memory range across >> exec(3) using a new madvise MADV_DOEXEC argument. The primary benefit for >> sharing memory in this manner, as opposed to

Re: [PATCH RFC leds + net-next v4 1/2] net: phy: add API for LEDs controlled by PHY HW

2020-07-28 Thread Marek Behun
On Tue, 28 Jul 2020 18:28:16 +0200 Andrew Lunn wrote: > > > @@ -736,6 +777,16 @@ struct phy_driver { > > > int (*set_loopback)(struct phy_device *dev, bool enable); > > > int (*get_sqi)(struct phy_device *dev); > > > int (*get_sqi_max)(struct phy_device *dev); > > > + > > > + /* PHY LED

Re: [PATCH 1/1] USB: PHY: JZ4770: Fix static checker warning.

2020-07-28 Thread Andy Shevchenko
On Tue, Jul 28, 2020 at 8:09 PM 周琰杰 (Zhou Yanjie) wrote: > > The commit 2a6c0b82e651 ("USB: PHY: JZ4770: Add support for new > Ingenic SoCs.") introduced the initialization function for different > chips, but left the relevant code involved in the resetting process > in the original function,

Re: [PATCH 16/19] perf metric: Make compute_single function more precise

2020-07-28 Thread Ian Rogers
On Tue, Jul 28, 2020 at 5:36 AM Arnaldo Carvalho de Melo wrote: > > Em Sun, Jul 19, 2020 at 08:13:17PM +0200, Jiri Olsa escreveu: > > So far compute_single function relies on the fact, that > > there's only single metric defined within evlist in all > > tests. In following patch we will add test

Re: [External] Re: [PATCH 1/2] ftrace: clear module from hash of all ftrace ops

2020-07-28 Thread Steven Rostedt
On Wed, 29 Jul 2020 00:59:33 +0800 Chengming Zhou wrote: > > i.e. > > > > # echo some_module_function > set_ftrace_filter > > # rmmod module_with_that_function > > # insmod module_with_same_address_of_function > > # echo function > current_tracer > > > > Now the tr->ops->hash would

Re: [PATCH] pci: vc: Fix kerneldoc

2020-07-28 Thread Bjorn Helgaas
Patch looks fine, but can you run "git log --oneline drivers/pci/vc.c" and match the subject line style? On Tue, Jul 28, 2020 at 07:10:45PM +0200, Krzysztof Kozlowski wrote: > Fix W=1 compile warnings (invalid kerneldoc): > > drivers/pci/vc.c:188: warning: Excess function parameter 'name' >

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

2020-07-28 Thread Greg KH
On Tue, Jul 28, 2020 at 07:17:05PM +0200, Greg KH wrote: > On Tue, Jul 28, 2020 at 06:23:59PM +1000, Stephen Rothwell wrote: > > Hi Greg, > > > > On Tue, 28 Jul 2020 09:53:36 +0200 Greg KH wrote: > > > > > > On Tue, Jul 28, 2020 at 05:33:31PM +1000, Stephen Rothwell wrote: > > > > Hi Greg, > > >

[PATCH] habanalabs: fix up absolute include instructions

2020-07-28 Thread Greg Kroah-Hartman
There's no need to try to be cute with the include file locations in the Makefile, so just specify exactly where the files are. Bonus is this fixes the problem of building with O= as well as trying to just build the subdirectory alone. Reported-by: Stephen Rothwell Cc: Oded Gabbay Cc: Omer

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

2020-07-28 Thread Greg KH
On Tue, Jul 28, 2020 at 06:23:59PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Tue, 28 Jul 2020 09:53:36 +0200 Greg KH wrote: > > > > On Tue, Jul 28, 2020 at 05:33:31PM +1000, Stephen Rothwell wrote: > > > Hi Greg, > > > > > > On Mon, 27 Jul 2020 11:24:48 +0200 Greg KH wrote: > > > > >

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2020 at 9:32 AM Madhavan T. Venkataraman wrote: > > Thanks. See inline.. > > On 7/28/20 10:13 AM, David Laight wrote: > > From: madve...@linux.microsoft.com > >> Sent: 28 July 2020 14:11 > > ... > >> The kernel creates the trampoline mapping without any permissions. When > >> the

Re: [PATCH] KVM: x86: Deflect unknown MSR accesses to user space

2020-07-28 Thread Jim Mattson
On Tue, Jul 28, 2020 at 5:41 AM Alexander Graf wrote: > > > > On 28.07.20 10:15, Vitaly Kuznetsov wrote: > > > > Alexander Graf writes: > > > >> MSRs are weird. Some of them are normal control registers, such as EFER. > >> Some however are registers that really are model specific, not very > >>

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Julien Grall
Hi Roger, On 28/07/2020 17:59, Roger Pau Monné wrote: On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: Hi, On 27/07/2020 10:13, Roger Pau Monne wrote: To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory

[PATCH 2/4] mm: swap: Fix kerneldoc of swap_vma_readahead()

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): mm/swap_state.c:742: warning: Function parameter or member 'fentry' not described in 'swap_vma_readahead' mm/swap_state.c:742: warning: Excess function parameter 'entry' description in 'swap_vma_readahead' Signed-off-by: Krzysztof Kozlowski

[PATCH 4/4] mm: mmu_notifier: Fix and extend kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): mm/mmu_notifier.c:187: warning: Function parameter or member 'interval_sub' not described in 'mmu_interval_read_bgin' mm/mmu_notifier.c:708: warning: Function parameter or member 'subscription' not described in 'mmu_notifier_registr'

[PATCH 3/4] mm: mempolicy: Fix kerneldoc of numa_map_to_online_node()

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): mm/mempolicy.c:137: warning: Function parameter or member 'node' not described in 'numa_map_to_online_node' mm/mempolicy.c:137: warning: Excess function parameter 'nid' description in 'numa_map_to_online_node' Signed-off-by: Krzysztof

[PATCH 1/4] anon_inodes: Make _anon_inode_getfile() static

2020-07-28 Thread Krzysztof Kozlowski
_anon_inode_getfile() function is not used outside so make it static to fix W=1 warning: fs/anon_inodes.c:80:14: warning: no previous prototype for '_anon_inode_getfile' [-Wmissing-prototypes] 80 | struct file *_anon_inode_getfile(const char *name, Signed-off-by: Krzysztof Kozlowski

[PATCH] pci: vc: Fix kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/pci/vc.c:188: warning: Excess function parameter 'name' description in 'pci_vc_do_save_buffer' Signed-off-by: Krzysztof Kozlowski --- drivers/pci/vc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/vc.c

[PATCH] reset: Fix and extend kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/reset/core.c:50: warning: Function parameter or member 'array' not described in 'reset_control' drivers/reset/core.c:50: warning: Function parameter or member 'deassert_count' not described in 'reset_control' Signed-off-by:

[PATCH] KEYS: asymmetric: Fix kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or member 'kid1' not described in 'asymmetric_key_id_same' crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or member 'kid2' not described in

[PATCH] cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode

2020-07-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Because intel_pstate_set_energy_pref_index() reads and writes the MSR_HWP_REQUEST register without using the cached value of it used by intel_pstate_hwp_boost_up() and intel_pstate_hwp_boost_down(), those functions may overwrite the value written by it and so the EPP

[PATCH] dmaengine: ti: omap-dma: Drop of_match_ptr to fix -Wunused-const-variable

2020-07-28 Thread Krzysztof Kozlowski
The of_device_id is included unconditionally by of.h header and used in the driver as well. Remove of_match_ptr to fix W=1 compile test warning with !CONFIG_OF: drivers/dma/ti/omap-dma.c:1892:34: warning: 'omap_dma_match' defined but not used [-Wunused-const-variable=] 1892 | static

[PATCH 3/3] iommu: qcom: Drop of_match_ptr to fix -Wunused-const-variable

2020-07-28 Thread Krzysztof Kozlowski
The of_device_id is included unconditionally by of.h header and used in the driver as well. Remove of_match_ptr to fix W=1 compile test warning with !CONFIG_OF: drivers/iommu/qcom_iommu.c:910:34: warning: 'qcom_iommu_of_match' defined but not used [-Wunused-const-variable=] 910 |

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Madhavan T. Venkataraman
On 7/28/20 12:05 PM, James Morris wrote: > On Tue, 28 Jul 2020, Casey Schaufler wrote: > >> You could make a separate LSM to do these checks instead of limiting >> it to SELinux. Your use case, your call, of course. > It's not limited to SELinux. This is hooked via the LSM API and >

[PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name()

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/dma-buf/dma-buf.c:328: warning: Function parameter or member 'dmabuf' not described in 'dma_buf_set_name' Signed-off-by: Krzysztof Kozlowski --- drivers/dma-buf/dma-buf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 2/3] iommu: intel: Drop kerneldoc marker from regular comment

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/iommu/intel/dmar.c:389: warning: Function parameter or member 'header' not described in 'dmar_parse_one_drhd' Signed-off-by: Krzysztof Kozlowski --- drivers/iommu/intel/dmar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 1/3] iommu: amd: Fix kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/iommu/amd/init.c:1586: warning: Function parameter or member 'ivrs' not described in 'get_highest_supported_ivhd_type' drivers/iommu/amd/init.c:1938: warning: Function parameter or member 'iommu' not described in

[PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc

2020-07-28 Thread Krzysztof Kozlowski
Fix W=1 compile warnings (invalid kerneldoc): drivers/dma-buf/dma-fence-chain.c:233: warning: Function parameter or member 'seqno' not described in 'dma_fence_chain_init' Signed-off-by: Krzysztof Kozlowski --- drivers/dma-buf/dma-fence-chain.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] amdgpu_dm: fix nonblocking atomic commit use-after-free

2020-07-28 Thread Kazlauskas, Nicholas
On 2020-07-28 5:22 a.m., Paul Menzel wrote: Dear Linux folks, Am 25.07.20 um 07:20 schrieb Mazin Rezk: On Saturday, July 25, 2020 12:59 AM, Duncan wrote: On Sat, 25 Jul 2020 03:03:52 + Mazin Rezk wrote: Am 24.07.20 um 19:33 schrieb Kees Cook: There was a fix to disable the async

KASAN: out-of-bounds Read in ath9k_hif_usb_rx_cb (2)

2020-07-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:25252919 xhci: dbgtty: Make some functions static git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=164adf2890 kernel config:

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Andrew Cooper
On 28/07/2020 17:59, Roger Pau Monné wrote: > On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: >> Hi, >> >> On 27/07/2020 10:13, Roger Pau Monne wrote: >>> To be used in order to create foreign mappings. This is based on the >>> ZONE_DEVICE facility which is used by persistent memory

[PATCH 0/1] Fix static checker warning.

2020-07-28 Thread Zhou Yanjie
Fix the warning that appears during Static analysis. 周琰杰 (Zhou Yanjie) (1): USB: PHY: JZ4770: Fix static checker warning. drivers/usb/phy/phy-jz4770.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) -- 2.11.0

[PATCH 1/1] USB: PHY: JZ4770: Fix static checker warning.

2020-07-28 Thread Zhou Yanjie
The commit 2a6c0b82e651 ("USB: PHY: JZ4770: Add support for new Ingenic SoCs.") introduced the initialization function for different chips, but left the relevant code involved in the resetting process in the original function, resulting in uninitialized variable calls. This problem can be solved

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread James Morris
On Tue, 28 Jul 2020, Casey Schaufler wrote: > You could make a separate LSM to do these checks instead of limiting > it to SELinux. Your use case, your call, of course. It's not limited to SELinux. This is hooked via the LSM API and implementable by any LSM (similar to execmem, execstack etc.)

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Jonathan Cameron
On Tue, 28 Jul 2020 09:14:11 -0700 Sean V Kelley wrote: > On 28 Jul 2020, at 6:27, Zhuo, Qiuxu wrote: > > >> From: Jonathan Cameron > >> Sent: Monday, July 27, 2020 7:17 PM > >> To: Kelley, Sean V > >> Cc: bhelg...@google.com; r...@rjwysocki.net; ashok@kernel.org; > >> Luck, > >> Tony ;

RE: [PATCH] ASoC: Intel: Atom: use hardware counter to update hw_ptr

2020-07-28 Thread Lu, Brent
> > So if there are already quirks in atom machine drivers to change the period > size, why is this patch necessary? > The story is: google implemented the constraint but doesn't know why it works so asked us to explain. After checking the two counters I realized the increase of ring buffer

Re: [PATCH 04/23] devtmpfs: refactor devtmpfsd()

2020-07-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 06:33:57PM +0200, Christoph Hellwig wrote: > Split the main worker loop into a separate function. This allows > devtmpfsd_setup to be marked __init, which will allows us to call > __init routines for the setup work. devtmpfѕ itself needs a __ref > marker for that to work,

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Roger Pau Monné
On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: > Hi, > > On 27/07/2020 10:13, Roger Pau Monne wrote: > > To be used in order to create foreign mappings. This is based on the > > ZONE_DEVICE facility which is used by persistent memory devices in > > order to create struct pages and

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Dhiraj Sharma
Alright sorry, I will ignore this patch and will commit the new patch in another file. On Tue, Jul 28, 2020 at 10:28 PM Greg KH wrote: > > On Tue, Jul 28, 2020 at 10:13:22PM +0530, Dhiraj Sharma wrote: > > > As the bot said, only do one type of thing per patch, and "fix all > > > checkpatch

RE: [RFC 0/7] Add support to process rx packets in thread

2020-07-28 Thread Rakesh Pillai
> -Original Message- > From: David Laight > Sent: Sunday, July 26, 2020 4:46 PM > To: 'Sebastian Gottschall' ; Hillf Danton > > Cc: Andrew Lunn ; Rakesh Pillai ; > net...@vger.kernel.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; ath...@lists.infradead.org; >

Re: [External] Re: [PATCH 1/2] ftrace: clear module from hash of all ftrace ops

2020-07-28 Thread Chengming Zhou
在 2020/7/28 下午8:53, Steven Rostedt 写道: On Tue, 28 Jul 2020 18:27:19 +0800 Chengming Zhou wrote: We should clear module from hash of all ops on ftrace_ops_list when module going, or the ops including these modules will be matched wrongly by new module loaded later. This is really up to the

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Greg KH
On Tue, Jul 28, 2020 at 10:13:22PM +0530, Dhiraj Sharma wrote: > > As the bot said, only do one type of thing per patch, and "fix all > > checkpatch errors/warnings" is not one type of thing. > > So should I send a fresh patch with minimal fixes? instead of replying > to this mail with [PATCH 01]

[PATCH v3] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
Unregister from suspend notifications and cancel suspend preparations before running hci_dev_do_close. Otherwise, the suspend notifier may race with unregister and cause cmd_timeout even after hdev has been freed. Below is the trace from when this panic was seen: [ 832.578518] Bluetooth:

Re: [PATCH] /proc/PID/smaps: Consistent whitespace output format

2020-07-28 Thread Yang Shi
On 7/28/20 1:32 AM, Michal Koutný wrote: The keys in smaps output are padded to fixed width with spaces. All except for THPeligible that uses tabs (only since commit c06306696f83 ("mm: thp: fix false negative of shmem vma's THP eligibility")). Unify the output formatting to save time

[no subject]

2020-07-28 Thread Mrs Nicole Marois Benoite
Dear Beloved I am Mrs Nicole Benoite Marois and i have been suffering from ovarian cancer disease and the doctor says that i have just few days to leave. I am from (Paris) France but based in Africa Burkina Faso since eight years ago as a business woman dealing with gold exportation. Now that i

Re: [PATCH v1] block: Remove callback typedefs for blk_mq_ops

2020-07-28 Thread Bart Van Assche
On 2020-07-28 09:20, Daniel Wagner wrote: > No need to define typedefs for the callbacks, because there is not a > single user except blk_mq_ops. Thanks for having done this work. Reviewed-by: Bart Van Assche

Re: [PATCH v2] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
I sent this a bit too quick without a Fixes tag. Please disregard. v3 coming up. On Tue, Jul 28, 2020 at 9:53 AM Abhishek Pandit-Subedi wrote: > > Unregister from suspend notifications and cancel suspend preparations > before running hci_dev_do_close. Otherwise, the suspend notifier may > race

[PATCH v2] Bluetooth: Fix suspend notifier race

2020-07-28 Thread Abhishek Pandit-Subedi
Unregister from suspend notifications and cancel suspend preparations before running hci_dev_do_close. Otherwise, the suspend notifier may race with unregister and cause cmd_timeout even after hdev has been freed. Below is the trace from when this panic was seen: [ 832.578518] Bluetooth:

Re: [PATCH v4 4/5] arm64: dts: sdm845: Add OPP tables and power-domains for venus

2020-07-28 Thread Lina Iyer
On Mon, Jul 27 2020 at 18:45 -0600, Stephen Boyd wrote: Quoting Lina Iyer (2020-07-24 09:28:25) On Fri, Jul 24 2020 at 03:03 -0600, Rajendra Nayak wrote: >Hi Maulik/Lina, > >On 7/23/2020 11:36 PM, Stanimir Varbanov wrote: >>Hi Rajendra, >> >>After applying 2,3 and 4/5 patches on

drivers/video/fbdev/imsttfb.c:1538:20: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 92ed301919932f13b9172e525674157e983d commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 6 weeks ago config: arm-randconfig-s032-20200728 (attached

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-07-28 Thread Madhavan T. Venkataraman
Thanks. On 7/28/20 11:05 AM, Casey Schaufler wrote: >> In this solution, the kernel recognizes certain sequences of instructions >> as "well-known" trampolines. When such a trampoline is executed, a page >> fault happens because the trampoline page does not have execute permission. >> The kernel

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Julien Grall
Hi, On 27/07/2020 10:13, Roger Pau Monne wrote: To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory devices in order to create struct pages and kernel virtual mappings for the IOMEM areas of such devices. Note that on

Re: [PATCH v4] mm/hugetlb: add mempolicy check in the reservation routine

2020-07-28 Thread Mike Kravetz
On 7/28/20 6:24 AM, Baoquan He wrote: > Hi Muchun, > > On 07/28/20 at 11:49am, Muchun Song wrote: >> In the reservation routine, we only check whether the cpuset meets >> the memory allocation requirements. But we ignore the mempolicy of >> MPOL_BIND case. If someone mmap hugetlb succeeds, but

Re: [PATCH net-next RFC 01/13] devlink: Add reload level option to devlink reload command

2020-07-28 Thread Jacob Keller
On 7/28/2020 6:58 AM, Jiri Pirko wrote: > Tue, Jul 28, 2020 at 02:58:02AM CEST, k...@kernel.org wrote: >> On Mon, 27 Jul 2020 14:02:21 +0300 Moshe Shemesh wrote: >>> Add devlink reload level to allow the user to request a specific reload >>> level. The level parameter is optional, if not

[PATCH] ASoC: tlv320adcx140: Fix various style errors and warnings

2020-07-28 Thread Dan Murphy
Fix white space issues and remove else case where it was not needed. Convert "static const char *" to "static const char * const" Fixes: 689c7655b50 ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 12

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-07-28 Thread Jacob Keller
On 7/27/2020 10:25 PM, Vasundhara Volam wrote: > On Mon, Jul 27, 2020 at 4:36 PM Moshe Shemesh wrote: >> >> Introduce new option on devlink reload API to enable the user to select the >> reload level required. Complete support for all levels in mlx5. >> The following reload levels are

Re: [PATCH] media: usbvision: fixed coding style

2020-07-28 Thread Dhiraj Sharma
> As the bot said, only do one type of thing per patch, and "fix all > checkpatch errors/warnings" is not one type of thing. So should I send a fresh patch with minimal fixes? instead of replying to this mail with [PATCH 01]

URGENT RESPONSE

2020-07-28 Thread BILL Exchange manager & Audit Department
Dear Friend, I am Mr. KARIM TRAORE Working with a reputable bank here in Burkina Faso as the manager in audit department. During our last banking audits we discovered an abandoned account belongs to one of our deceased customer, late Mr. Hamid Amine Razzaq, a billionaire businessman.

Spende von 2.000.000,00 Euro.

2020-07-28 Thread manuel franco
Sie haben eine Spende von 2.000.000,00 Euro. Mein Name ist Manuel Franco aus den USA. Ich habe die America-Lotterie im Wert von 768 Millionen US-Dollar gewonnen und spende einen Teil davon an nur 5 glückliche Menschen und einige Waisenhäuser als Wohlwollen für die Menschheit.

Re: [PATCH v4 2/2] MIPS: ingenic: Enable JZ4780_NEMC manually

2020-07-28 Thread Thomas Bogendoerfer
On Tue, Jul 28, 2020 at 02:00:35PM +0200, Krzysztof Kozlowski wrote: > On Tue, Jul 28, 2020 at 01:37:02PM +0200, Thomas Bogendoerfer wrote: > > On Tue, Jul 28, 2020 at 01:19:35PM +0200, Krzysztof Kozlowski wrote: > > > On Tue, Jul 28, 2020 at 01:12:11PM +0200, Paul Cercueil wrote: > > > > Hi

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-07-28 Thread Jacob Keller
On 7/27/2020 4:02 AM, Moshe Shemesh wrote: > Introduce new option on devlink reload API to enable the user to select the > reload level required. Complete support for all levels in mlx5. > The following reload levels are supported: > driver: Driver entities re-instantiation only. So, this

Re: [PATCH v4 3/5] irqchip/irq-pruss-intc: Add logic for handling reserved interrupts

2020-07-28 Thread Marc Zyngier
On 2020-07-28 10:18, Grzegorz Jaszczyk wrote: From: Suman Anna The PRUSS INTC has a fixed number of output interrupt lines that are connected to a number of processors or other PRUSS instances or other devices (like DMA) on the SoC. The output interrupt lines 2 through 9 are usually connected

Re: [PATCH v2 1/2] i2c: smbus: add core function handling SMBus host-notify

2020-07-28 Thread Wolfram Sang
Hi Alain, > I've taken your comments and prepared a new serie including them. > I'll wait for the conclusion regarding the bindings before pushing it. Thanks! I hope we can finish the discussion this week because Linus hasn't made a clear statement if there will be an rc8. But I still think we

add file system helpers that take kernel pointers for the init code v4

2020-07-28 Thread Christoph Hellwig
Hi Al and Linus, currently a lot of the file system calls in the early in code (and the devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during boot. This is one of the few last remaining places we need to deal with to kill off set_fs entirely, so this series adds new helpers that take

[PATCH 04/23] devtmpfs: refactor devtmpfsd()

2020-07-28 Thread Christoph Hellwig
Split the main worker loop into a separate function. This allows devtmpfsd_setup to be marked __init, which will allows us to call __init routines for the setup work. devtmpfѕ itself needs a __ref marker for that to work, and a comment explaining why it works. Signed-off-by: Christoph Hellwig

[PATCH 09/23] init: add an init_umount helper

2020-07-28 Thread Christoph Hellwig
Like ksys_umount, but takes a kernel pointer for the destination path. Switch over the umount in the init code, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now. Signed-off-by: Christoph Hellwig --- fs/init.c | 14 ++

[PATCH 08/23] init: add an init_mount helper

2020-07-28 Thread Christoph Hellwig
Like do_mount, but takes a kernel pointer for the destination path. Switch over the mounts in the init code and devtmpfs to it, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 5

[PATCH 11/23] init: add an init_rmdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to rmdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_rmdir. Signed-off-by: Christoph Hellwig --- fs/init.c | 5 + include/linux/init_syscalls.h | 1 + include/linux/syscalls.h | 7 ---

[PATCH 17/23] init: add an init_link helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to link with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_link. Signed-off-by: Christoph Hellwig --- fs/init.c | 33 + fs/internal.h | 3 +-- fs/namei.c

[PATCH 16/23] init: add an init_eaccess helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to check if a file exists based on kernel space file name and switch the early init code over to it. Note that this theoretically changes behavior as it always is based on the effective permissions. But during early init that doesn't make a difference. Signed-off-by:

[PATCH 19/23] init: add an init_mkdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to mkdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_mkdir. Signed-off-by: Christoph Hellwig --- fs/init.c | 18 ++ fs/internal.h | 1 - fs/namei.c

[PATCH 22/23] init: add an init_utimes helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to set timestamps with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 13 + include/linux/init_syscalls.h | 1 + init/initramfs.c | 3 +-- 3 files changed, 15

Re: [PATCH net-next v2] net: dsa: qca8k: Add 802.1q VLAN support

2020-07-28 Thread Vladimir Oltean
Hi Jonathan, On Sun, Jul 26, 2020 at 03:56:11PM +0100, Jonathan McDowell wrote: > This adds full 802.1q VLAN support to the qca8k, allowing the use of > vlan_filtering and more complicated bridging setups than allowed by > basic port VLAN support. > > Tested with a number of untagged ports with

[PATCH 07/23] init: mark create_dev as __init

2020-07-28 Thread Christoph Hellwig
This helper is only used for the early init code. Signed-off-by: Christoph Hellwig --- init/do_mounts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/do_mounts.h b/init/do_mounts.h index c855b3f0e06d19..021e2f60223e25 100644 --- a/init/do_mounts.h +++

[PATCH 20/23] init: add an init_mknod helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to mknod with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_mknod. Signed-off-by: Christoph Hellwig --- fs/init.c | 25 + fs/internal.h | 2 -- fs/namei.c

[PATCH 06/23] init: mark console_on_rootfs as __init

2020-07-28 Thread Christoph Hellwig
This helper is only used for the early init code. Signed-off-by: Christoph Hellwig --- init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/main.c b/init/main.c index c2c9143db96795..47698427b15f62 100644 --- a/init/main.c +++ b/init/main.c @@ -1458,7 +1458,7 @@

[PATCH 21/23] init: add an init_stat helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to stat with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- drivers/md/md-autodetect.c| 3 ++- fs/init.c | 15 +++ include/linux/init_syscalls.h | 1 + init/initramfs.c

[PATCH 05/23] init: initialize ramdisk_execute_command at compile time

2020-07-28 Thread Christoph Hellwig
Set ramdisk_execute_command to "/init" at compile time. The command line can still override it, but this saves a few instructions and removes a NULL check. Signed-off-by: Christoph Hellwig --- init/main.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init/main.c

[PATCH 23/23] init: add an init_dup helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to grab a reference to a file and install it at the next available fd, and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 12 include/linux/init_syscalls.h | 1 + init/main.c | 7

[PATCH 18/23] init: add an init_symlink helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to symlink with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_symlink. Signed-off-by: Christoph Hellwig --- fs/init.c | 16 fs/internal.h | 2 -- fs/namei.c

[PATCH 12/23] init: add an init_chdir helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chdir. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 2 +- fs/init.c | 16 fs/open.c

[PATCH 14/23] init: add an init_chown helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chown with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 18 ++ fs/internal.h | 2 +- fs/open.c | 2 +-

[PATCH 10/23] init: add an init_unlink helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to unlink with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_unlink. Signed-off-by: Christoph Hellwig --- fs/init.c | 5 + include/linux/init_syscalls.h | 1 + include/linux/syscalls.h | 7 ---

[PATCH 15/23] init: add an init_chmod helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chmod with a kernel space file name and switch the early init code over to it. Signed-off-by: Christoph Hellwig --- fs/init.c | 13 + fs/internal.h | 2 +- fs/open.c | 4 ++--

[PATCH 13/23] init: add an init_chroot helper

2020-07-28 Thread Christoph Hellwig
Add a simple helper to chroot with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chroot. Signed-off-by: Christoph Hellwig --- drivers/base/devtmpfs.c | 2 +- fs/init.c | 24 fs/open.c

[PATCH 03/23] fs: push the getname from do_rmdir into the callers

2020-07-28 Thread Christoph Hellwig
This mirrors do_unlinkat and will make life a little easier for the init code to reuse the whole function with a kernel filename. Signed-off-by: Christoph Hellwig --- fs/internal.h| 2 +- fs/namei.c | 10 -- include/linux/syscalls.h | 4 ++-- 3 files changed,

[PATCH 01/23] fs: refactor do_mount

2020-07-28 Thread Christoph Hellwig
Factor out a path_mount helper that takes a struct path * instead of the actual file name. This will allow to convert the init and devtmpfs code to properly mount based on a kernel pointer instead of relying on the implicit set_fs(KERNEL_DS) during early init. Signed-off-by: Christoph Hellwig

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