Re: [PATCH v3 3/3] KVM: SVM: Fix disable pause loop exit/pause filtering capability on SVM

2020-07-31 Thread Paolo Bonzini
On 31/07/20 05:12, Wanpeng Li wrote: > From: Wanpeng Li > > 'Commit 8566ac8b8e7c ("KVM: SVM: Implement pause loop exit logic in SVM")' > drops disable pause loop exit/pause filtering capability completely, I > guess it is a merge fault by Radim since disable vmexits capabilities and > pause

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-31 Thread Amit Pundir
On Fri, 31 Jul 2020 at 06:40, Nathan Chancellor wrote: > > On Tue, Jul 28, 2020 at 12:09:18PM +0200, Christoph Hellwig wrote: > > Ok, I found a slight bug that wasn't intended. I wanted to make sure > > we can always fall back to a lower pool, but got that wrong. Should be > > fixed in the next

Re: [PATCH v3 1/3] KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled

2020-07-31 Thread Paolo Bonzini
On 31/07/20 05:12, Wanpeng Li wrote: > From: Wanpeng Li > > Prevent setting the tscdeadline timer if the lapic is hw disabled. > > Fixes: bce87cce88 (KVM: x86: consolidate different ways to test for in-kernel > LAPIC) > Cc: > Signed-off-by: Wanpeng Li > --- > v1 -> v2: > * add Fixes tag and

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-07-31 Thread Xin Long
On Fri, Jul 31, 2020 at 2:50 PM YueHaibing wrote: > > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > [-Wunused-variable] > > Signed-off-by: YueHaibing Fixes: 55a48c7ec75a ("ip_vti: not register

exfatprogs-1.0.4 version released

2020-07-31 Thread Namjae Jeon
Hi folk, In this release, The performance of fsck have been much improved and the new option in mkfs have been added to adjust boundary alignment. As the result below, The fsck performance is improved close to windows's fsck and much faster than the one in exfat-utils package. We measured the

[PATCH -next] emulate:Fix build error

2020-07-31 Thread Peng Wu
The declaration of function kvm_mips_complete_mmio_load has only one formal parameter,but two parameters are passed when called. So, the following error is seen while building emulate.c arch/mips/kvm/emulate.c: In function ‘kvm_mips_emulate_load’: arch/mips/kvm/emulate.c:2130:3: error: too many

Re: possible deadlock in __dev_queue_xmit (3)

2020-07-31 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:27a2145d ibmvnic: Fix IRQ mapping disposal in error path git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1058775090 kernel config:

Re: [Linux-kernel-mentees] [PATCH] drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()

2020-07-31 Thread Greg Kroah-Hartman
On Fri, Jul 31, 2020 at 08:57:53AM +0200, Christian König wrote: > Am 31.07.20 um 08:53 schrieb Greg Kroah-Hartman: > > On Thu, Jul 30, 2020 at 05:09:07PM -0400, Luben Tuikov wrote: > > > On 2020-07-29 9:49 a.m., Alex Deucher wrote: > > > > On Wed, Jul 29, 2020 at 4:11 AM Christian König > > > >

Re: [PATCH v3 2/2] iio: light: as73211: New driver

2020-07-31 Thread Andy Shevchenko
On Fri, Jul 31, 2020 at 9:55 AM Christian Eggers wrote: > On Thursday, 30 July 2020, 13:31:31 CEST, Andy Shevchenko wrote: > > On Thu, Jul 30, 2020 at 1:52 PM Christian Eggers wrote: ... > > > + * @buffer: Buffer for triggered measurements. > > Actually Jonathan is correct -- the above has

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-07-31 Thread Kanchan Joshi
On Fri, Jul 31, 2020 at 12:12 PM Damien Le Moal wrote: > > On 2020/07/31 3:26, Kanchan Joshi wrote: > > On Thu, Jul 30, 2020 at 11:24 PM Jens Axboe wrote: > >> > >> On 7/30/20 11:51 AM, Kanchan Joshi wrote: > >>> On Thu, Jul 30, 2020 at 11:10 PM Pavel Begunkov > >>> wrote: > > On

Re: [Linux-kernel-mentees] [PATCH net] rds: Prevent kernel-infoleak in rds_notify_queue_get()

2020-07-31 Thread Andy Shevchenko
Sakari, JFYI. I remember during some reviews we have a discussion about {0} vs {} and surprisingly they are not an equivalent. On Fri, Jul 31, 2020 at 10:00 AM Leon Romanovsky wrote: > On Fri, Jul 31, 2020 at 09:29:27AM +0300, Andy Shevchenko wrote: > > On Friday, July 31, 2020, Greg

[PATCH v4 2/2] iio: light: as73211: New driver

2020-07-31 Thread Christian Eggers
Support for AMS AS73211 JENCOLOR(R) Digital XYZ Sensor. This driver has no built-in trigger. In order for making triggered measurements, an external (software) trigger driver like iio-trig-hrtimer or iio-trig-sysfs is required. The sensor supports single and continuous measurement modes. The

[PATCH v4 1/2] dt-bindings: iio: light: add AMS AS73211 support

2020-07-31 Thread Christian Eggers
Add DT bindings for AMS AS73211 XYZ True Color Sensor. Signed-off-by: Christian Eggers --- .../bindings/iio/light/ams,as73211.yaml | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/ams,as73211.yaml diff --git

[PATCH v4 0/2] iio: light: Support AMS AS73211 digital XYZ sensor

2020-07-31 Thread Christian Eggers
his series adds support for the AMS AS73211 digital XYZ sensor. Changes in v4: --- - Integrated 2nd review from Andy Shevchenko - Use more devm_ functions in as73211_probe() Changes in v3: --- - Integrated comments from Andy Shevchenko - Integrated comments from Jonathan

Re: [PATCH v2 9/9] objtool: Abstract unwind hint reading

2020-07-31 Thread Julien Thierry
On 7/30/20 4:03 PM, Josh Poimboeuf wrote: On Thu, Jul 30, 2020 at 10:46:52AM +0100, Julien Thierry wrote: The type of unwind hints and the semantics associated with them depend on the architecture. Let arch specific code convert unwind hints into objtool stack state descriptions.

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-07-31 Thread Damien Le Moal
On 2020/07/31 15:45, h...@infradead.org wrote: > On Fri, Jul 31, 2020 at 06:42:10AM +, Damien Le Moal wrote: >>> - We may not be able to use RWF_APPEND, and need exposing a new >>> type/flag (RWF_INDIRECT_OFFSET etc.) user-space. Not sure if this >>> sounds outrageous, but is it OK to have

Re: [PATCH] Platform lockdown information in SYSFS

2020-07-31 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2020 at 06:41:36PM -0300, Daniel Gutson wrote: > This patch exports information about the platform lockdown > firmware configuration in the sysfs filesystem. > In this initial patch, I include some configuration attributes > for the system SPI chip. > > This initial version

Re: [PATCH v4] usb: typec: tcpm: Migrate workqueue to RT priority for processing events

2020-07-31 Thread Badhri Jagan Sridharan
Thanks for catching that !! On Thu, Jul 30, 2020 at 9:05 AM Guenter Roeck wrote: > > On 7/30/20 5:34 AM, Heikki Krogerus wrote: > > Hi, > > > > One more nitpick below... > > > > On Thu, Jul 30, 2020 at 12:25:31AM -0700, Badhri Jagan Sridharan wrote: > >> @@ -4786,10 +4807,28 @@ static int

Re: [RFC PATCH] iomap: add support to track dirty state of sub pages

2020-07-31 Thread Christoph Hellwig
On Thu, Jul 30, 2020 at 04:19:34AM +0100, Matthew Wilcox wrote: > On Thu, Jul 30, 2020 at 09:19:01AM +0800, Yu Kuai wrote: > > +++ b/fs/iomap/buffered-io.c > > @@ -29,7 +29,9 @@ struct iomap_page { > > atomic_tread_count; > > atomic_twrite_count; > >

Re: [Linux-kernel-mentees] [PATCH net] rds: Prevent kernel-infoleak in rds_notify_queue_get()

2020-07-31 Thread Leon Romanovsky
On Fri, Jul 31, 2020 at 09:29:27AM +0300, Andy Shevchenko wrote: > On Friday, July 31, 2020, Greg Kroah-Hartman > wrote: > > > On Fri, Jul 31, 2020 at 07:33:06AM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Jul 31, 2020 at 07:53:01AM +0300, Leon Romanovsky wrote: > > > > On Thu, Jul 30, 2020 at

[PATCH v5] usb: typec: tcpm: Migrate workqueue to RT priority for processing events

2020-07-31 Thread Badhri Jagan Sridharan
"tReceiverResponse 15 ms Section 6.6.2 The receiver of a Message requiring a response Shall respond within tReceiverResponse in order to ensure that the sender’s SenderResponseTimer does not expire." When the cpu complex is busy running other lower priority work items, TCPM's work queue sometimes

Re: [Linux-kernel-mentees] [PATCH] drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()

2020-07-31 Thread Christian König
Am 31.07.20 um 08:53 schrieb Greg Kroah-Hartman: On Thu, Jul 30, 2020 at 05:09:07PM -0400, Luben Tuikov wrote: On 2020-07-29 9:49 a.m., Alex Deucher wrote: On Wed, Jul 29, 2020 at 4:11 AM Christian König wrote: Am 28.07.20 um 21:29 schrieb Peilin Ye: Compiler leaves a 4-byte hole near the

Re: [PATCH v3 2/2] iio: light: as73211: New driver

2020-07-31 Thread Christian Eggers
Good morning Andy, thank you again for the comprehensive feedback! Below I removed everything but possible open points. I'll send v4 soon. Best regards Christian On Thursday, 30 July 2020, 13:31:31 CEST, Andy Shevchenko wrote: > On Thu, Jul 30, 2020 at 1:52 PM Christian Eggers wrote: > > +/**

Re: [PATCH] MIPS: Provide Kconfig option for default IEEE754 conformance mode

2020-07-31 Thread Huacai Chen
Reviewed-by: Huacai Chen On Fri, Jul 31, 2020 at 2:18 PM Serge Semin wrote: > > On Fri, Jul 31, 2020 at 12:10:16PM +0800, Jiaxun Yang wrote: > > Requested by downstream distros, a Kconfig option for default > > IEEE754 conformance mode allows them to set their mode to > > relaxed by default. >

Re: [PATCH v2: [linux-4.14.y] ] dm cache: submit writethrough writes in parallel to origin and cache

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 03:33:42PM -0500, John Donnelly wrote: > From: Mike Snitzer > > Discontinue issuing writethrough write IO in series to the origin and > then cache. > > Use bio_clone_fast() to create a new origin clone bio that will be > mapped to the origin device and then bio_chain()

[PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()

2020-07-31 Thread Jing Xiangfeng
lpfc_init() misses to call misc_deregister() in an error path. Add a label 'unregister' to fix it. Signed-off-by: Jing Xiangfeng --- drivers/scsi/lpfc/lpfc_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c

Re: [Linux-kernel-mentees] [PATCH] drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()

2020-07-31 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2020 at 05:09:07PM -0400, Luben Tuikov wrote: > On 2020-07-29 9:49 a.m., Alex Deucher wrote: > > On Wed, Jul 29, 2020 at 4:11 AM Christian König > > wrote: > >> > >> Am 28.07.20 um 21:29 schrieb Peilin Ye: > >>> Compiler leaves a 4-byte hole near the end of `dev_info`, causing >

Re: upstream boot error: BUG: soft lockup in __do_softirq

2020-07-31 Thread Dmitry Vyukov
On Fri, Jul 31, 2020 at 8:44 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:92ed3019 Linux 5.8-rc7 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=10e84cdf10 > kernel config:

[PATCH net-next] ip_vti: Fix unused variable warning

2020-07-31 Thread YueHaibing
If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used [-Wunused-variable] Signed-off-by: YueHaibing --- net/ipv4/ip_vti.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c

Re: [PATCH] arm64/alternatives: move length validation inside the subsection

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 04:23:31PM +0100, Catalin Marinas wrote: > On Thu, Jul 30, 2020 at 08:13:05AM -0700, Sami Tolvanen wrote: > > On Thu, Jul 30, 2020 at 5:22 AM Catalin Marinas > > wrote: > > > > > > On Wed, Jul 29, 2020 at 02:51:52PM -0700, Sami Tolvanen wrote: > > > > Commit f7b93d42945c

Re: clocksource: dw_apb_timer: commit 6d2e16a3181b broke Arria10 platform

2020-07-31 Thread Serge Semin
Hello Dinh, It must be something wrong with your timer2 and timer3 declared in the Arria10 dts because the patch didn't change anything for the first two timers (timer0 and timer1). It just permits to register all DW APB Timers found in dts. If those timers are broken, then you should have

[PATCH net 5/5] fsl/fman: fix eth hash table allocation

2020-07-31 Thread Florinel Iordache
Fix memory allocation for ethernet address hash table. The code was wrongly allocating an array for eth hash table which is incorrect because this is the main structure for eth hash table (struct eth_hash_t) that contains inside a number of elements. Fixes: 57ba4c9b ("fsl/fman: Add FMan MAC

[PATCH net 0/5] DPAA FMan driver fixes

2020-07-31 Thread Florinel Iordache
Here are several fixes for the DPAA FMan driver. Florinel Iordache (5): fsl/fman: use 32-bit unsigned integer fsl/fman: fix dereference null return value fsl/fman: fix unreachable code fsl/fman: check dereferencing null pointer fsl/fman: fix eth hash table allocation

[PATCH net 1/5] fsl/fman: use 32-bit unsigned integer

2020-07-31 Thread Florinel Iordache
Potentially overflowing expression (ts_freq << 16 and intgr << 16) declared as type u32 (32-bit unsigned) is evaluated using 32-bit arithmetic and then used in a context that expects an expression of type u64 (64-bit unsigned) which ultimately is used as 16-bit unsigned by typecasting to u16.

[PATCH net 4/5] fsl/fman: check dereferencing null pointer

2020-07-31 Thread Florinel Iordache
Add a safe check to avoid dereferencing null pointer Fixes: 57ba4c9b ("fsl/fman: Add FMan MAC support") Signed-off-by: Florinel Iordache --- drivers/net/ethernet/freescale/fman/fman_dtsec.c | 4 ++-- drivers/net/ethernet/freescale/fman/fman_memac.c | 3 ++-

[PATCH net 2/5] fsl/fman: fix dereference null return value

2020-07-31 Thread Florinel Iordache
Check before using returned value to avoid dereferencing null pointer. Fixes: 18a6c85f ("fsl/fman: Add FMan Port Support") Signed-off-by: Florinel Iordache --- drivers/net/ethernet/freescale/fman/fman_port.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH net 3/5] fsl/fman: fix unreachable code

2020-07-31 Thread Florinel Iordache
The parameter 'priority' is incorrectly forced to zero which ultimately induces logically dead code in the subsequent lines. Fixes: 57ba4c9b ("fsl/fman: Add FMan MAC support") Signed-off-by: Florinel Iordache --- drivers/net/ethernet/freescale/fman/fman_memac.c | 1 - 1 file changed, 1

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-07-31 Thread h...@infradead.org
On Fri, Jul 31, 2020 at 06:42:10AM +, Damien Le Moal wrote: > > - We may not be able to use RWF_APPEND, and need exposing a new > > type/flag (RWF_INDIRECT_OFFSET etc.) user-space. Not sure if this > > sounds outrageous, but is it OK to have uring-only flag which can be > > combined with

Re: [PATCH 2/3] driver core: Use rwsem for kill_device() serialization

2020-07-31 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2020 at 11:56:10AM +0200, Lukas Wunner wrote: > On Thu, Jul 30, 2020 at 08:53:26AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Jul 08, 2020 at 03:27:02PM +0200, Lukas Wunner wrote: > > > kill_device() is currently serialized with driver probing by way of the > > > device_lock().

Re: [Question] the check of ioeventfd collision in kvm_*assign_ioeventfd_idx

2020-07-31 Thread Paolo Bonzini
On 31/07/20 08:39, Zhenyu Ye wrote: > On 2020/7/31 2:03, Paolo Bonzini wrote: >> Yes, I think it's not needed. Probably the deassign check can be turned into >> an assertion? >> >> Paolo >> > > I think we can do this in the same function, and turnt he check of > p->eventfd into assertion in

upstream boot error: BUG: soft lockup in __do_softirq

2020-07-31 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:92ed3019 Linux 5.8-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10e84cdf10 kernel config: https://syzkaller.appspot.com/x/.config?x=b45e47f6d958ae82 dashboard link:

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-07-31 Thread Damien Le Moal
On 2020/07/31 3:26, Kanchan Joshi wrote: > On Thu, Jul 30, 2020 at 11:24 PM Jens Axboe wrote: >> >> On 7/30/20 11:51 AM, Kanchan Joshi wrote: >>> On Thu, Jul 30, 2020 at 11:10 PM Pavel Begunkov >>> wrote: On 30/07/2020 20:16, Jens Axboe wrote: > On 7/30/20 10:26 AM, Pavel Begunkov

linux-next: manual merge of the kvm-arm tree with the kvm-fixes tree

2020-07-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in: arch/arm64/kvm/mmu.c between commit: b757b47a2fcb ("KVM: arm64: Don't inherit exec permission across page-table levels") from the kvm-fixes tree and commit: a0e50aa3f4a8 ("KVM: arm64: Factor out stage 2 page table

Re: [Question] the check of ioeventfd collision in kvm_*assign_ioeventfd_idx

2020-07-31 Thread Zhenyu Ye
On 2020/7/31 2:03, Paolo Bonzini wrote: > Yes, I think it's not needed. Probably the deassign check can be turned into > an assertion? > > Paolo > I think we can do this in the same function, and turnt he check of p->eventfd into assertion in kvm_deassign_ioeventfd_idx(). Just like: ---8<---

[PATCH] usb: mtu3: fix panic in mtu3_gadget_disconnect()

2020-07-31 Thread Macpaul Lin
This patch fixes a possible issue when mtu3_gadget_stop() already assigned NULL to mtu->gadget_driver during mtu_gadget_disconnect(). Backtrace: [] notifier_call_chain+0xa4/0x128 [] __atomic_notifier_call_chain+0x84/0x138 [] notify_die+0xb0/0x120 [] die+0x1f8/0x5d0 []

Re: (resend) [PATCH [linux-4.14.y]] dm cache: submit writethrough writes in parallel to origin and cache

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 09:40:32AM -0500, John Donnelly wrote: > > > > On Jul 30, 2020, at 12:21 AM, Greg KH wrote: > > > > On Wed, Jul 29, 2020 at 06:45:46PM -0500, John Donnelly wrote: > >> > >> > >> On 7/29/20 9:16 AM, Mike Snitzer wrote: > >>> On Wed, Jul 29 2020 at 7:55am -0400, > >>>

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

2020-07-31 Thread Christoph Hellwig
On Fri, Jul 31, 2020 at 03:14:24AM +0100, Al Viro wrote: > Christoph Hellwig (28): > [snip] > initramfs: switch initramfs unpacking to struct file based APIs > initramfs: switch initramfs unpacking to struct file based APIs > [snip] > > It's not a bisect hazard, of course, but if you

[PATCH] ASoC: fsl_sai: Fix value of FSL_SAI_CR1_RFW_MASK

2020-07-31 Thread Shengjiu Wang
The fifo_depth is 64 on i.MX8QM/i.MX8QXP, 128 on i.MX8MQ, 16 on i.MX7ULP. Original FSL_SAI_CR1_RFW_MASK value 0x1F is not suitable for these platform, the FIFO watermark mask should be updated according to the fifo_depth. Fixes: a860fac42097 ("ASoC: fsl_sai: Add support for imx7ulp/imx8mq")

Re: [PATCH v3 3/4] iommu: Add iommu_aux_get_domain_for_dev()

2020-07-31 Thread Lu Baolu
Hi Alex, On 2020/7/30 4:25, Alex Williamson wrote: On Tue, 14 Jul 2020 13:57:02 +0800 Lu Baolu wrote: The device driver needs an API to get its aux-domain. A typical usage scenario is: unsigned long pasid; struct iommu_domain *domain; struct device *dev =

Re: [RFC] ALSA: hda: Add workaround to adapt to Loongson 7A1000 controller

2020-07-31 Thread Takashi Iwai
On Fri, 31 Jul 2020 04:41:54 +0200, Kaige Li wrote: > > There's some issues that cause palyback without a sound on Loongson > platform (3A3000 + 7A1000) with a Realtek ALC269 codec. After lengthy > debugging sessions, we solved it by adding workaround. > > Signed-off-by: Kaige Li Thanks for

Re: [RFC][PATCH] exec: Conceal the other threads from wakeups during exec

2020-07-31 Thread Oleg Nesterov
Eric, I won't comment the intent, but I too do not understand this idea. On 07/30, Eric W. Biederman wrote: > > [This change requires more work to handle TASK_STOPPED and TASK_TRACED] Yes. And it is not clear to me how can you solve this. > [This adds a new lock ordering dependency siglock ->

Re: [PATCH][next] habanalabs: fix incorrect check on failed workqueue create

2020-07-31 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2020 at 01:51:48PM +0300, Oded Gabbay wrote: > On Thu, Jul 30, 2020 at 11:20 AM Colin King wrote: > > > > From: Colin Ian King > > > > The null check on a failed workqueue create is currently null checking > > hdev->cq_wq rather than the pointer hdev->cq_wq[i] and so the test > >

Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 09:35:43PM +0800, Dongdong Yang wrote: > From: Dongdong Yang > > The power consumption and UI response are more cared > for by the portable equipment users. USF(User Sensitive > Feedback factor) auxiliary cpufreq governor is > providing more utils adjustment settings to a

Re: [PATCH V4 2/3] mfd: Intel Platform Monitoring Technology support

2020-07-31 Thread Lee Jones
On Wed, 29 Jul 2020, Mark D Rustad wrote: > at 12:58 AM, Lee Jones wrote: > > > If you do: > > > > do { > > int pos; > > > > pos = pci_find_next_ext_capability(pdev, pos, > > PCI_EXT_CAP_ID_DVSEC); > > if (!pos) > > break; > > > >

Re: [PATCH] MIPS: Provide Kconfig option for default IEEE754 conformance mode

2020-07-31 Thread Serge Semin
On Fri, Jul 31, 2020 at 12:10:16PM +0800, Jiaxun Yang wrote: > Requested by downstream distros, a Kconfig option for default > IEEE754 conformance mode allows them to set their mode to > relaxed by default. That's what should have been here in the first place. Thanks! Reviewed-by: Serge Semin >

[PATCH bpf-next] bpf: fix compilation warning of selftests

2020-07-31 Thread Jianlin Lv
Clang compiler version: 12.0.0 The following warning appears during the selftests/bpf compilation: prog_tests/send_signal.c:51:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 51 | write(pipe_c2p[1], buf, 1); |

Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 09:35:42PM +0800, Dongdong Yang wrote: > From: Dongdong Yang > > This patch provides USF(User Sensitive Feedback factor) > auxiliary cpufreq governor to support high level layer > sysfs inodes setting for utils adjustment purpose from > the identified scenario on portable

Re: [PATCH v2] drm/connector: Add of_drm_find_connector

2020-07-31 Thread Daniel Vetter
On Fri, Jul 31, 2020 at 4:33 AM Andy Yan wrote: > > ping > > On 7/3/20 5:45 PM, Andy Yan wrote: > > Add a function to look up a connector by > > device tree node, like what of_drm_find_bridge/panel > > does. > > > > Signed-off-by: Andy Yan > > Reported-by: kernel test robot I'm pretty sure the

Re: [PATCH] drm/amdkfd: Put ACPI table after using it

2020-07-31 Thread Hanjun Guo
On 2020/7/31 10:41, Felix Kuehling wrote: Hi Hanjun, Sorry for the late reply. Thank you for the patch and the explanation. This seems to have been broken since the first version of KFD in 2014. See one suggestion inline. Am 2020-07-22 um 5:48 a.m. schrieb Hanjun Guo: The acpi_get_table()

<    7   8   9   10   11   12