[tip: ras/core] x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap

2020-08-18 Thread tip-bot2 for Yazen Ghannam
The following commit has been merged into the ras/core branch of tip: Commit-ID: 5f2c67bd0f8a470a12c38a8786c42c043e100014 Gitweb: https://git.kernel.org/tip/5f2c67bd0f8a470a12c38a8786c42c043e100014 Author:Yazen Ghannam AuthorDate:Mon, 20 Jul 2020 14:53:53 Committer:

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread peterz
On Tue, Aug 18, 2020 at 11:17:56AM +0100, Chris Down wrote: > I'd ask that you understand a bit more about the tradeoffs and intentions of > the patch before rushing in to declare its failure, considering it works > just fine :-) > > Clamping the maximal time allows the application to take some

Re: [PATCH 00/10] sound: convert tasklets to use new tasklet_setup()

2020-08-18 Thread Takashi Iwai
On Mon, 17 Aug 2020 10:56:53 +0200, Allen Pais wrote: > > From: Allen Pais > > Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")' > introduced a new tasklet initialization API. This series converts > all the sound drivers to use the new tasklet_setup() API > > Allen Pais (10):

Re: [PATCH 2/3] fpga manager: xilinx-spi: provide better diagnostics on programming failure

2020-08-18 Thread Luca Ceresoli
[a question for GPIO maintainers below] Hi Tom, thanks for your review! On 17/08/20 20:15, Tom Rix wrote: > The other two patches are fine. > > On 8/17/20 9:59 AM, Luca Ceresoli wrote: >> When the DONE pin does not go high after programming to confirm programming >> success, the INIT_B pin

Tools build error due to "Auto-detecting system features" missing cleanup

2020-08-18 Thread Jesper Dangaard Brouer
Started as a build error for bpftool. On latest DaveM net-git tree (06a4ec1d9dc652), I got this build error, when building the bpftool: cd tools/bpf/bpftool $ make Auto-detecting system features: ...libbfd: [ on ] ...disassembler-four-args: [ on ] ...

Re: [PATCH 17/17] file: Rename __close_fd to close_fd and remove the files parameter

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:25PM -0500, Eric W. Biederman wrote: > The function __close_fd was added to support binder[1]. Now that > binder has been fixed to no longer need __close_fd[2] and > get_files_struct has been removed it is no longer possible to > correctly call __close_fd with

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread peterz
On Tue, Aug 18, 2020 at 12:05:16PM +0200, Michal Hocko wrote: > > But then how can it run-away like Waiman suggested? > > As Chris mentioned in other reply. This functionality is quite new. > > > /me goes look... and finds MEMCG_MAX_HIGH_DELAY_JIFFIES. > > We can certainly tune a different

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread Chris Down
pet...@infradead.org writes: But then how can it run-away like Waiman suggested? Probably because he's not running with that commit at all. We and others use this to prevent runaway allocation on a huge range of production and desktop use cases and it works just fine. /me goes look... and

[PATCH] soundwire: cadence: fix race condition between suspend and Slave device alerts

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart In system suspend stress cases, the SOF CI reports timeouts. The root cause is that an alert is generated while the system suspends. The interrupt handling generates transactions on the bus that will never be handled because the interrupts are disabled in parallel. As

Re: [PATCH 16/17] file: Merge __alloc_fd into alloc_fd

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:24PM -0500, Eric W. Biederman wrote: > The function __alloc_fd was added to support binder[1]. With binder > fixed[2] there are no more users. Further with get_files_struct > removed there can be no more users of __alloc_fd that pass anything > except

Re: [PATCH 0/2] KVM: arm64: Fix sleeping while atomic BUG() on OOM

2020-08-18 Thread Will Deacon
On Tue, Aug 18, 2020 at 08:31:08AM +0200, Paolo Bonzini wrote: > On 11/08/20 12:27, Will Deacon wrote: > > Will Deacon (2): > > KVM: Pass MMU notifier range flags to kvm_unmap_hva_range() > > KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set > > > >

Re: [PATCH 14/17] file: Merge __fd_install into fd_install

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:22PM -0500, Eric W. Biederman wrote: > The function __fd_install was added to support binder[1]. With binder > fixed[2] there are no more users. Further with get_files_struct > removed there can be no more users of __fd_install that pass anything > except

[GIT PULL] Fix regression in IA-64 caused by page table allocation refactoring

2020-08-18 Thread Mike Rapoport
Hi Linus, The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git tags/fixes-2020-08-18 for you to fetch changes up to

Re: [PATCH v5 2/2] Add Intel LGM soc DMA support.

2020-08-18 Thread Peter Ujfalusi
Hi, On 14/08/2020 8.26, Amireddy Mallikarjuna reddy wrote: > Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. > > The main function of the DMA controller is the transfer of data from/to any > DPlus compliant peripheral to/from the memory. A memory to memory copy > capability

Re: [PATCH] n_gsm: Fix write handling for zero bytes written

2020-08-18 Thread Jiri Slaby
On 18. 08. 20, 11:56, Tony Lindgren wrote: > Hi, > > * Jiri Slaby [200818 08:24]: >> On 17. 08. 20, 15:54, Tony Lindgren wrote: >>> If write returns zero we currently end up removing the message >>> from the queue. Instead of removing the message, we want to just >>> break out of the loop just

Re: [PATCH] x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap

2020-08-18 Thread Borislav Petkov
On Mon, Aug 17, 2020 at 10:18:21AM -0500, Yazen Ghannam wrote: > Yeah, I'm trying to keep "may" out of my vocabulary. :) Hahha, you never know with hardware :-) > I do. This check was added because I wasn't sure what to expect with > this new architecural extension. But after a few product

Re: [PATCH v3 5/9] dt-bindings: pinctrl: realtek: Add Realtek DHC SoC rtd1295

2020-08-18 Thread Andreas Färber
Am 17.08.20 um 22:33 schrieb Rob Herring: > On Thu, 13 Aug 2020 15:49:04 +0800, TY Chang wrote: >> Add device tree binding Documentation for rtd1295 >> pinctrl driver. >> >> Signed-off-by: TY Chang >> --- >> .../pinctrl/realtek,rtd1295-pinctrl.yaml | 192 ++ >> 1 file

Re: [PATCH 15/17] file: In f_dupfd read RLIMIT_NOFILE once.

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:23PM -0500, Eric W. Biederman wrote: > Simplify the code, and remove the chance of races by reading > RLIMIT_NOFILE only once in f_dupfd. > > Pass the read value of RLIMIT_NOFILE into alloc_fd which is the other > location the rlimit was read in f_dupfd. As f_dupfd

Re: [PATCH 2/3] dma-buf: heaps: add chunk heap to dmabuf heaps

2020-08-18 Thread David Hildenbrand
On 18.08.20 10:04, Hyesoo Yu wrote: > This patch adds support for a chunk heap that allows for buffers > that are made up of a list of fixed size chunks taken from a CMA. > Chunk sizes are configuratd when the heaps are created. > > Signed-off-by: Hyesoo Yu > --- > drivers/dma-buf/heaps/Kconfig

[PATCH v2] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Sahitya Tummala
If the sbi->ckpt->next_free_nid is not NAT block aligned and if there are free nids in that NAT block between the start of the block and next_free_nid, then those free nids will not be scanned in scan_nat_page(). This results into mismatch between nm_i->available_nids and the sum of

Re: [PATCH 16/20] drm/msm/a6xx: Add support for per-instance pagetables

2020-08-18 Thread Akhil P Oommen
Reviewed-by: Akhil P Oommen On 8/18/2020 3:31 AM, Rob Clark wrote: From: Jordan Crouse Add support for using per-instance pagetables if all the dependencies are available. Signed-off-by: Jordan Crouse Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 63

Re: [PATCH 03/17] exec: Remove reset_files_struct

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:11PM -0500, Eric W. Biederman wrote: > Now that exec no longer needs to restore the previous value of current->files > on error there are no more callers of reset_files_struct so remove it. > > Signed-off-by: "Eric W. Biederman" > --- Acked-by: Christian Brauner

Re: [PATCH 02/17] exec: Simplify unshare_files

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:10PM -0500, Eric W. Biederman wrote: > Now that exec no longer needs to return the unshared files to their > previous value there is no reason to return displaced. > > Instead when unshare_fd creates a copy of the file table, call > put_files_struct before returning

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Will Deacon
On Tue, Aug 18, 2020 at 06:37:39PM +0900, Cho KyongHo wrote: > On Tue, Aug 18, 2020 at 09:28:53AM +0100, Will Deacon wrote: > > On Tue, Aug 18, 2020 at 04:43:10PM +0900, Cho KyongHo wrote: > > > Cache maintenance operations in the most of CPU architectures needs > > > memory barrier after the

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread peterz
On Tue, Aug 18, 2020 at 10:27:37AM +0100, Chris Down wrote: > pet...@infradead.org writes: > > On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: > > > Memory controller can be used to control and limit the amount of > > > physical memory used by a task. When a limit is set in

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread Michal Hocko
On Tue 18-08-20 11:59:10, Peter Zijlstra wrote: > On Tue, Aug 18, 2020 at 11:26:17AM +0200, Michal Hocko wrote: > > On Tue 18-08-20 11:14:53, Peter Zijlstra wrote: > > > On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: > > > > Memory controller can be used to control and limit the

Re: [PATCH] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Sahitya Tummala
On Tue, Aug 18, 2020 at 03:25:47PM +0530, Sahitya Tummala wrote: > On Tue, Aug 18, 2020 at 04:29:05PM +0800, Chao Yu wrote: > > On 2020/8/14 16:05, Sahitya Tummala wrote: > > >If the sbi->ckpt->next_free_nid is not NAT block aligned and if there > > >are free nids in that NAT block between the

Re: [PATCH 01/17] exec: Move unshare_files to fix posix file locking during exec

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:09PM -0500, Eric W. Biederman wrote: > Many moons ago the binfmts were doing some very questionable things > with file descriptors and an unsharing of the file descriptor table > was added to make things better[1][2]. The helper steal_files was > added to avoid

Re: [v2] drm/msm: add shutdown support for display platform_driver

2020-08-18 Thread Sai Prakash Ranjan
Hi, On 2020-06-01 16:33, Krishna Manikandan wrote: Define shutdown callback for display drm driver, so as to disable all the CRTCS when shutdown notification is received by the driver. This change will turn off the timing engine so that no display transactions are requested while mmu

[PATCH] soundwire: bus: fix typo in comment on INTSTAT registers

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart s/Instat/Intstat/ Signed-off-by: Pierre-Louis Bossart Reviewed-by: Guennadi Liakhovetski Signed-off-by: Bard Liao --- drivers/soundwire/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c

Re: [Letux-kernel] [PATCH] omap5: Fix DSI base address and clocks

2020-08-18 Thread H. Nikolaus Schaller
> Am 18.08.2020 um 11:51 schrieb David Shah : > > DSI was not probing due to base address off by 0x1000, and sys_clk > missing. > > With this patch, the Pyra display works if HDMI is disabled in the > device tree. For me it also works if HDMI is not disabled. So IMHO this comment is

Re: [PATCH] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Chao Yu
On 2020/8/18 17:55, Sahitya Tummala wrote: On Tue, Aug 18, 2020 at 04:29:05PM +0800, Chao Yu wrote: On 2020/8/14 16:05, Sahitya Tummala wrote: If the sbi->ckpt->next_free_nid is not NAT block aligned and if there are free nids in that NAT block between the start of the block and next_free_nid,

Re: [Linux-kernel-mentees] [PATCH v2 RESEND] usbhid: Fix slab-out-of-bounds write in hiddev_ioctl_usage()

2020-08-18 Thread Peilin Ye
On Mon, Aug 17, 2020 at 12:21:41PM +0200, Jiri Kosina wrote: > On Wed, 29 Jul 2020, Peilin Ye wrote: > > > `uref->usage_index` is not always being properly checked, causing > > hiddev_ioctl_usage() to go out of bounds under some cases. Fix it. > > > > Reported-by:

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread peterz
On Tue, Aug 18, 2020 at 11:26:17AM +0200, Michal Hocko wrote: > On Tue 18-08-20 11:14:53, Peter Zijlstra wrote: > > On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: > > > Memory controller can be used to control and limit the amount of > > > physical memory used by a task. When a limit

drivers/gpu/drm/qxl/qxl_kms.c:277:21: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 9 weeks ago config: m68k-randconfig-s032-20200818 (attached

Re: [PATCH v3] usb: renesas-xhci: remove version check

2020-08-18 Thread Vinod Koul
On 18-08-20, 10:46, Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2020 at 02:09:19PM +0530, Vinod Koul wrote: > > On 18-08-20, 09:31, Greg Kroah-Hartman wrote: > > > On Tue, Aug 18, 2020 at 12:47:39PM +0530, Vinod Koul wrote: > > > > Some devices in wild are reporting bunch of firmware versions, so

Re: [PATCH] lockdep: Introduce CONFIG_LOCKDEP_LARGE

2020-08-18 Thread Dmitry Vyukov
On Tue, Aug 4, 2020 at 4:36 AM Tetsuo Handa wrote: > > Hello, Peter, Ingo and Will. > > (Q1) Can we change the capacity using kernel config? > > (Q2) If we can change the capacity, is it OK to specify these constants > independently? (In other words, is there inter-dependency among >

Re: [PATCH] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Sahitya Tummala
On Tue, Aug 18, 2020 at 04:29:05PM +0800, Chao Yu wrote: > On 2020/8/14 16:05, Sahitya Tummala wrote: > >If the sbi->ckpt->next_free_nid is not NAT block aligned and if there > >are free nids in that NAT block between the start of the block and > >next_free_nid, then those free nids will not be

Re: [PATCH] n_gsm: Fix write handling for zero bytes written

2020-08-18 Thread Tony Lindgren
Hi, * Jiri Slaby [200818 08:24]: > On 17. 08. 20, 15:54, Tony Lindgren wrote: > > If write returns zero we currently end up removing the message > > from the queue. Instead of removing the message, we want to just > > break out of the loop just like we already do for error codes. > > When

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 09:37:20AM +0100, Christoph Hellwig wrote: > On Tue, Aug 18, 2020 at 09:28:53AM +0100, Will Deacon wrote: > > On Tue, Aug 18, 2020 at 04:43:10PM +0900, Cho KyongHo wrote: > > > Cache maintenance operations in the most of CPU architectures needs > > > memory barrier after

Re: [PATCH 4.19 027/168] Bluetooth: add a mutex lock to avoid UAF in do_enale_set

2020-08-18 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2020 at 11:40:25AM +0200, Pavel Machek wrote: > Hi! > > > From: Lihong Kou > > > > [ Upstream commit f9c70bdc279b191da8d60777c627702c06e4a37d ] > > > > In the case we set or free the global value listen_chan in > > different threads, we can encounter the UAF problems because >

Re: [PATCH][next] ath11k: Use fallthrough pseudo-keyword

2020-08-18 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. > > [1] >

Re: [PATCH v7 00/11] Introduce features and debugfs/sysfs entries for MHI

2020-08-18 Thread Manivannan Sadhasivam
On Tue, Aug 11, 2020 at 11:56:25AM +0530, Manivannan Sadhasivam wrote: > Hi Bhaumik, > > On Mon, Aug 10, 2020 at 03:00:54PM -0700, Bhaumik Bhatt wrote: > > Save hardware information from BHI. > > Allow reading and modifying some MHI variables for debug, test, and > > informational purposes using

Re: [PATCH 0/4] *** SUBJECT HERE ***

2020-08-18 Thread Tomer Samara
On Tue, Aug 18, 2020 at 11:50:35AM +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2020 at 12:17:08PM +0300, Tomer Samara wrote: > > *** BLURB HERE *** > > Really? > > And your subject line could use some work too :( > sorry for that, i've made a script for sending patchset and accidently

[PATCH] memory: tegra: Correct shift value of apew

2020-08-18 Thread Nicolin Chen
According to Tegra X1 (Tegra210) TRM, the APEW field is between [23:16] so the shift bit for apew should be 16 accordingly. Signed-off-by: Nicolin Chen --- drivers/memory/tegra/tegra210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/tegra/tegra210.c

Re: [PATCH net-next] ath11k: Fix possible memleak in ath11k_qmi_init_service

2020-08-18 Thread Kalle Valo
Wang Yufen wrote: > When qmi_add_lookup fail, we should destroy the workqueue > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Reported-by: Hulk Robot > Signed-off-by: Wang Yufen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks.

Re: [PATCHv2 0/2] scripts:gdb: Add few structs info in gdb scripts

2020-08-18 Thread Jan Kiszka
On 18.08.20 11:34, Ritesh Harjani wrote: > I was using these structs info internally in my gdb scripts. > So sending it out for merge to upstream. > Patch-2 is just adding some headers and improves spacing. > Both patches Reviewed-by: Jan Kiszka Jan -- Siemens AG, Corporate Technology, CT

Re: [PATCH 2/2] nvme: add emulation for zone-append

2020-08-18 Thread Javier Gonzalez
On 18.08.2020 09:12, Christoph Hellwig wrote: On Tue, Aug 18, 2020 at 10:59:36AM +0530, Kanchan Joshi wrote: If drive does not support zone-append natively, enable emulation using regular write. Make emulated zone-append cmd write-lock the zone, preventing concurrent append/write on the same

Re: [PATCH 4.19 051/168] dyndbg: fix a BUG_ON in ddebug_describe_flags

2020-08-18 Thread Pavel Machek
On Mon 2020-08-17 17:16:22, Greg Kroah-Hartman wrote: > From: Jim Cromie > > [ Upstream commit f678ce8cc3cb2ad29df75d8824c74f36398ba871 ] > > ddebug_describe_flags() currently fills a caller provided string buffer, > after testing its size (also passed) in a BUG_ON. Fix this by > replacing

Re: [PATCH v5 0/8] drm: rcar-du: Add Color Management Module (CMM)

2020-08-18 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Jun 12, 2020 at 5:51 PM Laurent Pinchart wrote: > On Fri, Jun 12, 2020 at 05:36:07PM +0200, Eugeniu Rosca wrote: > > On Fri, Jun 12, 2020 at 06:10:05PM +0300, Laurent Pinchart wrote: > > > On Fri, Jun 12, 2020 at 05:00:32PM +0200, Jacopo Mondi wrote: > > > > On Tue, Jun 09,

Re: [PATCH 08/30] net: wireless: ath: carl9170: Mark 'ar9170_qmap' as __maybe_unused

2020-08-18 Thread Lee Jones
On Mon, 17 Aug 2020, Kalle Valo wrote: > Rasmus Villemoes writes: > > > On 14/08/2020 17.14, Christian Lamparter wrote: > >> On 2020-08-14 13:39, Lee Jones wrote: > >>> 'ar9170_qmap' is used in some source files which include carl9170.h, > >>> but not all of them.  Mark it as __maybe_unused to

Re: [PATCH 0/4] *** SUBJECT HERE ***

2020-08-18 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2020 at 12:17:08PM +0300, Tomer Samara wrote: > *** BLURB HERE *** Really? And your subject line could use some work too :(

Re: [PATCH] ath10k: Register shutdown handler

2020-08-18 Thread Kalle Valo
Rakesh Pillai wrote: > As a part of device shutdown the smmu driver will be > stopped and henceforth any IOVA address translation > will not be done. The wlan driver, being one of the > smmu driver consumer, should stop all the dma related > activity as a part of shutdown, and thereby ensuring >

Hi

2020-08-18 Thread Laura J. Richardson
Hi dear friend, I'm Laura J. Richardson from the United States. Please, I would wish to have a communication with you. I will be waiting for your response. Laura.

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 09:28:53AM +0100, Will Deacon wrote: > On Tue, Aug 18, 2020 at 04:43:10PM +0900, Cho KyongHo wrote: > > Cache maintenance operations in the most of CPU architectures needs > > memory barrier after the cache maintenance for the DMAs to view the > > region of the memory

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-18 Thread Anshuman Khandual
On 08/18/2020 02:43 PM, Jonathan Cameron wrote: > On Mon, 17 Aug 2020 14:49:43 +0530 > Anshuman Khandual wrote: > >> pmd_present() and pmd_trans_huge() are expected to behave in the following >> manner during various phases of a given PMD. It is derived from a previous >> detailed discussion

Re: [PATCH 4.19 040/168] drm/radeon: disable AGP by default

2020-08-18 Thread Pavel Machek
On Mon 2020-08-17 17:16:11, Greg Kroah-Hartman wrote: > From: Christian König > > [ Upstream commit ba806f98f868ce107aa9c453fef751de9980e4af ] > > Always use the PCI GART instead. We just have to many cases > where AGP still causes problems. This means a performance > regression for some GPUs,

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-18 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 11:30 PM Al Viro wrote: > > On Wed, Aug 12, 2020 at 07:33:26PM +0100, Al Viro wrote: > > > BTW, what would such opened files look like from /proc/*/fd/* POV? And > > what would happen if you walk _through_ that symlink, with e.g. ".." > > following it? Or with names of

Re: [PATCHv2] soc: qcom: llcc: Support chipsets that can write to llcc registers

2020-08-18 Thread Sai Prakash Ranjan
Hi, On 2020-08-18 02:35, Doug Anderson wrote: Hi, On Mon, Aug 17, 2020 at 7:47 AM Sai Prakash Ranjan wrote: From: "Isaac J. Manjarres" Older chipsets may not be allowed to configure certain LLCC registers as that is handled by the secure side software. However, this is not the case for

Re: [PATCH 4.19 027/168] Bluetooth: add a mutex lock to avoid UAF in do_enale_set

2020-08-18 Thread Pavel Machek
Hi! > From: Lihong Kou > > [ Upstream commit f9c70bdc279b191da8d60777c627702c06e4a37d ] > > In the case we set or free the global value listen_chan in > different threads, we can encounter the UAF problems because > the method is not protected by any lock, add one to avoid > this bug. For

Re: [PATCH] USB: core: remove polling for /sys/kernel/debug/usb/devices

2020-08-18 Thread Greg Kroah-Hartman
On Sun, Aug 09, 2020 at 07:12:30PM +0300, Sergey Korolev wrote: > The latest reference to usbfs_conn_disc_event() removed in > commit fb28d58b72aa ("USB: remove CONFIG_USB_DEVICEFS") > in 2012 and now a user poll() waits infinitely for content changes. > > Signed-off-by: Sergey Korolev > --- >

[PATCHv2 2/2] tasks: Add headers and improve spacing format

2020-08-18 Thread Ritesh Harjani
With the patch. TASK PIDCOMM 0x82c2b8c0 0 swapper/0 0x888a0ba20040 1 systemd 0x888a0ba24040 2 kthreadd 0x888a0ba28040 3 rcu_gp w/o 0x82c2b8c0 0 swapper/0 0x888a0ba20040 1 systemd 0x888a0ba24040 2 kthreadd 0x888a0ba28040

[PATCHv2 1/2] proc: Add struct mount & struct super_block addr in lx-mounts command

2020-08-18 Thread Ritesh Harjani
This is many times found useful while debugging some FS related issue. mount super_block devname pathname fstype options 0x888a0bfa4b40 0x888a0bfc1000 none / rootfs rw 0 0 0x888a033f75c0 0x8889fcf65000 /dev/root / ext4 rw,relatime 0 0 0x8889fc8ce040

[PATCHv2 0/2] scripts:gdb: Add few structs info in gdb scripts

2020-08-18 Thread Ritesh Harjani
I was using these structs info internally in my gdb scripts. So sending it out for merge to upstream. Patch-2 is just adding some headers and improves spacing. -- 2.25.4

[PATCHv2] PCI: designware-ep: Fix the Header Type check

2020-08-18 Thread Zhiqiang Hou
From: Hou Zhiqiang The current check will result in the multiple function device fails to initialize. So fix the check by masking out the multiple function bit. Fixes: 0b24134f7888 ("PCI: dwc: Add validation that PCIe core is set to correct mode") Signed-off-by: Hou Zhiqiang --- V2: - Add

Re: [PATCH 00/10] sound: convert tasklets to use new tasklet_setup()

2020-08-18 Thread Allen
> > Well, then at the next time, please mention it explicitly in the cover > letter. Usually this kind of API conversion isn't done during rc. Or > it's done systematically via script or such. So unless mentioned, > it's not expected to be carried to 5.9. Sorry for having missed the detail.

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-18 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 8:33 PM Al Viro wrote: > > On Wed, Aug 12, 2020 at 06:39:11PM +0100, Al Viro wrote: > > On Wed, Aug 12, 2020 at 07:16:37PM +0200, Miklos Szeredi wrote: > > > On Wed, Aug 12, 2020 at 6:33 PM Al Viro wrote: > > > > > > > > On Wed, Aug 12, 2020 at 05:13:14PM +0200, Miklos

Re: [PATCH] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()

2020-08-18 Thread hongwus
On 2020-08-18 13:42, Asutosh Das wrote: On Mon, Aug 17 2020 at 22:21 -0700, Can Guo wrote: Commit 5586dd8ea250a ("scsi: ufs: Fix a race condition between error handler and runtime PM ops") moves the ufshcd_scsi_block_requests() inside err_handler(), but forgets to remove the

Re: [PATCH] riscv: Add SiFive drivers to rv32_defconfig

2020-08-18 Thread Bin Meng
On Fri, Jul 17, 2020 at 12:39 AM Alistair Francis wrote: > > On Wed, 2020-07-15 at 21:39 -0700, Bin Meng wrote: > > From: Bin Meng > > > > This adds SiFive drivers to rv32_defconfig, to keep in sync with the > > 64-bit config. This is useful when testing 32-bit kernel with QEMU > > 'sifive_u'

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread Chris Down
pet...@infradead.org writes: On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: Memory controller can be used to control and limit the amount of physical memory used by a task. When a limit is set in "memory.high" in a v2 non-root memory cgroup, the memory controller will try to

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread Michal Hocko
On Tue 18-08-20 11:14:53, Peter Zijlstra wrote: > On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: > > Memory controller can be used to control and limit the amount of > > physical memory used by a task. When a limit is set in "memory.high" in > > a v2 non-root memory cgroup, the

DEAR FRIEND

2020-08-18 Thread MRS.ALICE ARTHUR
DEAR FRIEND Compliment of the day to you. I am mrs.ALICE ARTHUR I am sending this brief letter to solicit your partnership to transfer $9.3 Million US Dollars.I shall send you more information and procedures when I receive positive response From you. Please send me a message in My private

Re: [PATCH 4.19 012/168] crypto: ccree - fix resource leak on error path

2020-08-18 Thread Pavel Machek
Hi! > Fix a small resource leak on the error path of cipher processing. I believe this one is wrong. > @@ -149,10 +148,19 @@ static int cc_cipher_init(struct crypto_tfm *tfm) > ctx_p->flow_mode = cc_alg->flow_mode; > ctx_p->drvdata = cc_alg->drvdata; > > + if

[PATCH v2 2/2] drm/virtio: set max_segment

2020-08-18 Thread Gerd Hoffmann
When initializing call virtio_max_dma_size() to figure the scatter list limit. Needed to make virtio-gpu work properly with SEV. v2: place max_segment in drm driver not gem object. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_kms.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v2 1/2] drm: allow limiting the scatter list size.

2020-08-18 Thread Gerd Hoffmann
Add max_segment argument to drm_prime_pages_to_sg(). When set pass it through to the __sg_alloc_table_from_pages() call, otherwise use SCATTERLIST_MAX_SEGMENT. Also add max_segment field to drm driver and pass it to drm_prime_pages_to_sg() calls in drivers and helpers. v2: place max_segment in

Re: [PATCH 1/5] infiniband: bnxt_re: convert tasklets to use new tasklet_setup() API

2020-08-18 Thread Allen
> > diff --git a/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c > > b/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c > > index 4e211162acee..7261be29fb09 100644 > > +++ b/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c > > @@ -50,7 +50,7 @@ > > #include "qplib_sp.h" > > #include "qplib_fp.h" > > > > -static

[PATCH 0/4] *** SUBJECT HERE ***

2020-08-18 Thread Tomer Samara
*** BLURB HERE *** Tomer Samara (4): staging: android: Replace BUG_ON with WARN_ON staging: android: Add error handling to ion_page_pool_shrink staging: android: Convert BUG to WARN staging: android: Add error handling to order_to_index callers

Re: [PATCH v5 1/3] perf jevents: Add support for parsing perchip/percore events

2020-08-18 Thread kajoljain
On 8/16/20 10:05 PM, Andi Kleen wrote: >> @@ -321,7 +331,7 @@ static void print_events_table_prefix(FILE *fp, const >> char *tblname) >> static int print_events_table_entry(void *data, char *name, char *event, >> char *desc, char *long_desc, >>

Re: [PATCH v2 0/2] ACPI/IORT: Code cleanups

2020-08-18 Thread Hanjun Guo
On 2020/8/18 14:36, Zenghui Yu wrote: * From v1 [1]: - As pointed out by Hanjun, remove two now unused inline functions. Compile tested with CONFIG_IOMMU_API is not selected. [1] https://lore.kernel.org/r/20200817105946.1511-1-yuzeng...@huawei.com Zenghui Yu (2): ACPI/IORT: Drop the

Re: [PATCH] char: ipmi: convert tasklets to use new tasklet_setup() API

2020-08-18 Thread Allen
> > > > Signed-off-by: Romain Perier > > Signed-off-by: Allen Pais > > This looks good to me. > > Reviewed-by: Corey Minyard > > Are you planning to push this, or do you want me to take it? If you > want me to take it, what is the urgency? Thanks. Well, not hurry, as long as it goes into 5.9

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-08-18 Thread peterz
On Mon, Aug 17, 2020 at 10:08:23AM -0400, Waiman Long wrote: > Memory controller can be used to control and limit the amount of > physical memory used by a task. When a limit is set in "memory.high" in > a v2 non-root memory cgroup, the memory controller will try to reclaim > memory if the limit

Re: [RFC PATCH bpf-next 2/4] bpf: make BTF show support generic, apply to seq files/bpf_trace_printk

2020-08-18 Thread Alan Maguire
On Fri, 14 Aug 2020, Alexei Starovoitov wrote: > On Fri, Aug 14, 2020 at 02:06:37PM +0100, Alan Maguire wrote: > > On Wed, 12 Aug 2020, Alexei Starovoitov wrote: > > > > > On Thu, Aug 06, 2020 at 03:42:23PM +0100, Alan Maguire wrote: > > > > > > > > The bpf_trace_printk tracepoint is

Re: [PATCH 06/20] ethernet: chelsio: convert tasklets to use new tasklet_setup() API

2020-08-18 Thread Allen
> > You need to adjust kdoc when you change functions: > > drivers/net/ethernet/chelsio/cxgb4/sge.c:2664: warning: Function parameter or > member 't' not described in 'restart_ctrlq' > drivers/net/ethernet/chelsio/cxgb4/sge.c:2664: warning: Excess function > parameter 'data' description in

Re: [PATCH net-next RFC v2 13/13] devlink: Add Documentation/networking/devlink/devlink-reload.rst

2020-08-18 Thread Moshe Shemesh
On 8/17/2020 7:39 PM, Jiri Pirko wrote: Mon, Aug 17, 2020 at 11:37:52AM CEST, mo...@mellanox.com wrote: Add devlink reload rst documentation file. Update index file to include it. Signed-off-by: Moshe Shemesh --- - Instead of reload levels driver,fw_reset,fw_live_patch have reload actions

Re: [PATCH 00/16] wirless: convert tasklets to use new tasklet_setup()

2020-08-18 Thread Allen
> > General question for the whole series: have you considered the long-term > aim instead? That is: convert away from tasklets completely? I.e. use > threaded irqs or workqueues? > Yes, since changing tasklets to workqueues or threaded irqs becomes a little trivial when it comes to tree-wide

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-18 Thread Jonathan Cameron
On Mon, 17 Aug 2020 14:49:43 +0530 Anshuman Khandual wrote: > pmd_present() and pmd_trans_huge() are expected to behave in the following > manner during various phases of a given PMD. It is derived from a previous > detailed discussion on this topic [1] and present THP documentation [2]. > >

Re: Kernel build error on BTFIDS vmlinux

2020-08-18 Thread Jiri Olsa
On Tue, Aug 18, 2020 at 10:55:55AM +0200, Jesper Dangaard Brouer wrote: > > On latest DaveM net-git tree (06a4ec1d9dc652), after linking (LD vmlinux) the > "BTFIDS vmlinux" fails. Are anybody else experiencing this? Are there already > a > fix? (just returned from vacation so not fully

Re: [PATCH v3 43/44] dt: document HiSilicon SPMI controller and mfd/regulator properties

2020-08-18 Thread Mauro Carvalho Chehab
Em Mon, 17 Aug 2020 14:12:11 -0600 Rob Herring escreveu: > On Mon, Aug 17, 2020 at 09:11:02AM +0200, Mauro Carvalho Chehab wrote: > > Add documentation for the properties needed by the HiSilicon > > 6421v600 driver, and by the SPMI controller used to access > > the chipset. > > > >

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

2020-08-18 Thread Moshe Shemesh
On 8/17/2020 7:36 PM, Jiri Pirko wrote: Mon, Aug 17, 2020 at 11:37:40AM CEST, mo...@mellanox.com wrote: Add devlink reload action to allow the user to request a specific reload action. The action parameter is optional, if not specified then devlink driver re-init action is used (backward

[PATCH] qed_main: Remove unnecessary cast in kfree

2020-08-18 Thread Xu Wang
Remove unnecassary casts in the argument to kfree. Signed-off-by: Xu Wang --- drivers/net/ethernet/qlogic/qed/qed_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_main.c b/drivers/net/ethernet/qlogic/qed/qed_main.c index

Re: [PATCH RFC 0/2] Break heap spraying needed for exploiting use-after-free

2020-08-18 Thread Alexander Popov
On 15.08.2020 19:39, Kees Cook wrote: > On Thu, Aug 13, 2020 at 06:19:20PM +0300, Alexander Popov wrote: >> I've found an easy way to break heap spraying for use-after-free >> exploitation. I simply extracted slab freelist quarantine from KASAN >> functionality and called it

Re: [Patch v2] mm/page_reporting: drop stale list head check in page_reporting_cycle

2020-08-18 Thread Wei Yang
On Tue, Aug 18, 2020 at 04:44:48PM +0800, Wei Yang wrote: >list_for_each_entry_safe() guarantees that we will never stumble over >the list head; ">lru != list" will always evaluate to true. Let's >simplify. [da...@redhat.com: Changelog refine.] > >Signed-off-by: Wei Yang >Reviewed-by: David

Re: [PATCH] ath10k: fix the status check and wrong return

2020-08-18 Thread Kalle Valo
Tang Bin writes: > 在 2020/8/17 22:26, Kalle Valo 写道: >>> In the function ath10k_ahb_clock_init(), devm_clk_get() doesn't >>> return NULL. Thus use IS_ERR() and PTR_ERR() to validate >>> the returned value instead of IS_ERR_OR_NULL(). >> Why? What's the benefit of this patch? Or what harm does >>

Re: [PATCH v3] sched/fair: simplfy the work when reweighting entity

2020-08-18 Thread Vincent Guittot
On Tue, 11 Aug 2020 at 13:32, Jiang Biao wrote: > > From: Jiang Biao > > The code in reweight_entity() can be simplified. > > For a sched entity on the rq, the entity accounting can be replaced by > cfs_rq instantaneous load updates currently called from within the > entity accounting. > > Even

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

2020-08-18 Thread Moshe Shemesh
On 8/17/2020 7:16 PM, Jakub Kicinski wrote: On Mon, 17 Aug 2020 12:37:40 +0300 Moshe Shemesh wrote: Add devlink reload action to allow the user to request a specific reload action. The action parameter is optional, if not specified then devlink driver re-init action is used (backward

Re: [PATCH 1/2] PM / Domains: Add GENPD_FLAG_SUSPEND_ON flag

2020-08-18 Thread Sibi Sankar
On 2020-08-18 14:01, Ulf Hansson wrote: On Mon, 17 Aug 2020 at 18:49, Sibi Sankar wrote: On 2020-08-17 14:14, Ulf Hansson wrote: > On Thu, 13 Aug 2020 at 19:26, Sibi Sankar wrote: >> >> On 2020-08-13 18:04, Ulf Hansson wrote: >> > On Wed, 12 Aug 2020 at 19:03, Sibi Sankar wrote: >> >> >> >>

Re: [PATCH V2 4/9] PCI/AER: Extend AER error handling to RCECs

2020-08-18 Thread Jonathan Cameron
On Mon, 17 Aug 2020 17:24:33 -0500 Bjorn Helgaas wrote: > On Mon, Aug 10, 2020 at 10:32:52AM +0100, Jonathan Cameron wrote: > > On Fri, 7 Aug 2020 17:55:17 -0700 > > Sean V Kelley wrote: > > > On 7 Aug 2020, at 15:53, Bjorn Helgaas wrote: > > > > On Tue, Aug 04, 2020 at 12:40:47PM -0700,

Re: [PATCH] mm: sort freelist by rank number

2020-08-18 Thread Cho KyongHo
On Mon, Aug 10, 2020 at 09:32:18AM +0200, David Hildenbrand wrote: > On 07.08.20 09:08, Pekka Enberg wrote: > > Hi Cho and David, > > > > On Mon, Aug 3, 2020 at 10:57 AM David Hildenbrand wrote: > >> > >> On 03.08.20 08:10, pullip@samsung.com wrote: > >>> From: Cho KyongHo > >>> > >>>

[tip: ras/core] RAS/CEC: Fix cec_init() prototype

2020-08-18 Thread tip-bot2 for Luca Stefani
The following commit has been merged into the ras/core branch of tip: Commit-ID: 71aefb9a89d4ad751726ff5b902896c35c7df5b9 Gitweb: https://git.kernel.org/tip/71aefb9a89d4ad751726ff5b902896c35c7df5b9 Author:Luca Stefani AuthorDate:Wed, 05 Aug 2020 11:57:08 +02:00 Committer:

Re: [PATCH 1/2] drm: allow limiting the scatter list size.

2020-08-18 Thread Gerd Hoffmann
Hi, > > > I'm missing an explanation why this should be useful (it certainly is). > > virtio-gpu needs this to work properly with SEV (see patch 2/2 of this > > series). > > Yeah, that's the problem patch 2/2 never showed up here :) The list should have everything. Your inbox probably has

<    6   7   8   9   10   11   12   13   14   >