Re: [PATCH] ath10k: qmi: Skip host capability request for Xiaomi Poco F1

2020-09-21 Thread Amit Pundir
AHLSWMTPLZ-1 > > > > qcom,snoc-host-cap-8bit-quirk didn't help. If I use this > > quirk, then the host capability request does get accepted, > > but we run into fatal "msa info req rejected" error and > > WiFi interface doesn't come up. > >

BUG: unable to handle kernel paging request in bpf_trace_run2

2020-09-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:70b97111 bpf: Use hlist_add_head_rcu when linking to local.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1375823d90 kernel config: https://syzkaller.appspot.com/x/.config?x=7e0ca96a9b6ee858 das

BUG: unable to handle kernel paging request in bpf_trace_run1

2020-09-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:325d0eab Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=128d4dd990 kernel config: https://syzkaller.appspot.com/x/.config?x=b12e84189082991c dashboard lin

Re: [PULL REQUEST] i2c for 5.9

2020-09-19 Thread pr-tracker-bot
The pull request you sent on Sat, 19 Sep 2020 18:02:06 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c8d1a46f943877c08d1154a6f90f43a245a671cf Thank you! -- Deet-doot-dot, I a

[PULL REQUEST] i2c for 5.9

2020-09-19 Thread Wolfram Sang
Linus, here is another bunch of fixes for I2C. Only Jean's i801 patch is a cleanup on top of Volker's i801 patch, but it will make dependency handling much easier if those two go together. Please pull. Thanks, Wolfram The following changes since commit 856deb866d16e29bd65952e0289066f6078af

Re: [PATCH net-next v2] net: phy: bcm7xxx: request and manage GPHY clock

2020-09-18 Thread David Miller
From: Florian Fainelli Date: Wed, 16 Sep 2020 19:04:13 -0700 > The internal Gigabit PHY on Broadcom STB chips has a digital clock which > drives its MDIO interface among other things, the driver now requests > and manage that clock during .probe() and .remove() accordingly. > > Because the PHY d

[PATCH net-next RFC v5 07/15] net/mlx5: Handle sync reset request event

2020-09-18 Thread Moshe Shemesh
Once the driver gets sync_reset_request from firmware it prepares for the coming reset and sends acknowledge. After getting this event the driver expects device reset, either it will trigger PCI reset on sync_reset_now event or such PCI reset will be triggered by another PF of the same device. So i

[PATCH v7 08/17] crypto: sun8i-ce: move iv data to request context

2020-09-18 Thread Corentin Labbe
Instead of storing IV data in the channel context, store them in the request context. Storing them in the channel structure was conceptualy wrong since they are per request related. Signed-off-by: Corentin Labbe --- .../allwinner/sun8i-ce/sun8i-ce-cipher.c | 27 +-- drivers

[PATCH AUTOSEL 5.4 026/330] dm table: do not allow request-based DM to stack on partitions

2020-09-17 Thread Sasha Levin
From: Mike Snitzer [ Upstream commit 6ba01df72b4b63a26b4977790f58d8f775d2992c ] Partitioned request-based devices cannot be used as underlying devices for request-based DM because no partition offsets are added to each incoming request. As such, until now, stacking on partitioned devices would

[PATCH AUTOSEL 5.4 168/330] Bluetooth: L2CAP: handle l2cap config request during open state

2020-09-17 Thread Sasha Levin
after this change. === Before === ... > ACL Data RX: Handle 256 flags 0x02 dlen 12#22 L2CAP: Connection Request (0x02) ident 2 len 4 PSM: 1 (0x0001) Source CID: 65 < ACL Data TX: Handle 256 flags 0x00 dlen 16#23 L2CAP: Connection Re

[PATCH AUTOSEL 5.4 319/330] vfio/pci: fix racy on error and request eventfd ctx

2020-09-17 Thread Sasha Levin
From: Zeng Tao [ Upstream commit b872d0640840018669032b20b6375a478ed1f923 ] The vfio_pci_release call will free and clear the error and request eventfd ctx while these ctx could be in use at the same time in the function like vfio_pci_request, and it's expected to protect them under the

[PATCH AUTOSEL 4.19 104/206] Bluetooth: L2CAP: handle l2cap config request during open state

2020-09-17 Thread Sasha Levin
after this change. === Before === ... > ACL Data RX: Handle 256 flags 0x02 dlen 12#22 L2CAP: Connection Request (0x02) ident 2 len 4 PSM: 1 (0x0001) Source CID: 65 < ACL Data TX: Handle 256 flags 0x00 dlen 16#23 L2CAP: Connection Re

[PATCH AUTOSEL 4.19 201/206] vfio/pci: fix racy on error and request eventfd ctx

2020-09-17 Thread Sasha Levin
From: Zeng Tao [ Upstream commit b872d0640840018669032b20b6375a478ed1f923 ] The vfio_pci_release call will free and clear the error and request eventfd ctx while these ctx could be in use at the same time in the function like vfio_pci_request, and it's expected to protect them under the

[PATCH AUTOSEL 4.14 121/127] vfio/pci: Clear error and request eventfd ctx after releasing

2020-09-17 Thread Sasha Levin
From: Alex Williamson [ Upstream commit 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 ] The next use of the device will generate an underflow from the stale reference. Cc: Qian Cai Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx") Reported-by: Daniel Wagner Reviewed-by: Cornelia Hu

[PATCH AUTOSEL 4.9 48/90] Bluetooth: L2CAP: handle l2cap config request during open state

2020-09-17 Thread Sasha Levin
after this change. === Before === ... > ACL Data RX: Handle 256 flags 0x02 dlen 12#22 L2CAP: Connection Request (0x02) ident 2 len 4 PSM: 1 (0x0001) Source CID: 65 < ACL Data TX: Handle 256 flags 0x00 dlen 16#23 L2CAP: Connection Re

[PATCH AUTOSEL 4.9 87/90] vfio/pci: Clear error and request eventfd ctx after releasing

2020-09-17 Thread Sasha Levin
From: Alex Williamson [ Upstream commit 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 ] The next use of the device will generate an underflow from the stale reference. Cc: Qian Cai Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx") Reported-by: Daniel Wagner Reviewed-by: Cornelia Hu

[PATCH AUTOSEL 4.4 32/64] Bluetooth: L2CAP: handle l2cap config request during open state

2020-09-17 Thread Sasha Levin
after this change. === Before === ... > ACL Data RX: Handle 256 flags 0x02 dlen 12#22 L2CAP: Connection Request (0x02) ident 2 len 4 PSM: 1 (0x0001) Source CID: 65 < ACL Data TX: Handle 256 flags 0x00 dlen 16#23 L2CAP: Connection Re

[PATCH AUTOSEL 4.4 64/64] vfio/pci: fix racy on error and request eventfd ctx

2020-09-17 Thread Sasha Levin
From: Zeng Tao [ Upstream commit b872d0640840018669032b20b6375a478ed1f923 ] The vfio_pci_release call will free and clear the error and request eventfd ctx while these ctx could be in use at the same time in the function like vfio_pci_request, and it's expected to protect them under the

[PATCH AUTOSEL 4.4 63/64] vfio/pci: Clear error and request eventfd ctx after releasing

2020-09-17 Thread Sasha Levin
From: Alex Williamson [ Upstream commit 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 ] The next use of the device will generate an underflow from the stale reference. Cc: Qian Cai Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx") Reported-by: Daniel Wagner Reviewed-by: Cornelia Hu

[PATCH AUTOSEL 4.9 90/90] vfio/pci: fix racy on error and request eventfd ctx

2020-09-17 Thread Sasha Levin
From: Zeng Tao [ Upstream commit b872d0640840018669032b20b6375a478ed1f923 ] The vfio_pci_release call will free and clear the error and request eventfd ctx while these ctx could be in use at the same time in the function like vfio_pci_request, and it's expected to protect them under the

[PATCH AUTOSEL 4.14 126/127] vfio/pci: fix racy on error and request eventfd ctx

2020-09-17 Thread Sasha Levin
From: Zeng Tao [ Upstream commit b872d0640840018669032b20b6375a478ed1f923 ] The vfio_pci_release call will free and clear the error and request eventfd ctx while these ctx could be in use at the same time in the function like vfio_pci_request, and it's expected to protect them under the

[PATCH AUTOSEL 4.14 063/127] Bluetooth: L2CAP: handle l2cap config request during open state

2020-09-17 Thread Sasha Levin
after this change. === Before === ... > ACL Data RX: Handle 256 flags 0x02 dlen 12#22 L2CAP: Connection Request (0x02) ident 2 len 4 PSM: 1 (0x0001) Source CID: 65 < ACL Data TX: Handle 256 flags 0x00 dlen 16#23 L2CAP: Connection Re

[PATCH AUTOSEL 4.19 195/206] vfio/pci: Clear error and request eventfd ctx after releasing

2020-09-17 Thread Sasha Levin
From: Alex Williamson [ Upstream commit 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 ] The next use of the device will generate an underflow from the stale reference. Cc: Qian Cai Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx") Reported-by: Daniel Wagner Reviewed-by: Cornelia Hu

[PATCH AUTOSEL 5.4 312/330] vfio/pci: Clear error and request eventfd ctx after releasing

2020-09-17 Thread Sasha Levin
From: Alex Williamson [ Upstream commit 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 ] The next use of the device will generate an underflow from the stale reference. Cc: Qian Cai Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx") Reported-by: Daniel Wagner Reviewed-by: Cornelia Hu

Re: [PATCH net-next v2] net: phy: bcm7xxx: request and manage GPHY clock

2020-09-17 Thread Andrew Lunn
On Wed, Sep 16, 2020 at 07:04:13PM -0700, Florian Fainelli wrote: > The internal Gigabit PHY on Broadcom STB chips has a digital clock which > drives its MDIO interface among other things, the driver now requests > and manage that clock during .probe() and .remove() accordingly. > > Because the PH

Re: [PATCH] ath10k: qmi: Skip host capability request for Xiaomi Poco F1

2020-09-17 Thread Bjorn Andersson
we ignore it. > > We suspect either the host cap is not implemented or there > may be firmware specific issues. Firmware version is > QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c3-00257-QCAHLSWMTPLZ-1 > > qcom,snoc-host-cap-8bit-quirk didn't help. If I use this > quirk, then the hos

Re: [PATCH net-next v2] net: phy: bcm7xxx: request and manage GPHY clock

2020-09-17 Thread Florian Fainelli
On 9/17/2020 6:11 AM, Andrew Lunn wrote: On Wed, Sep 16, 2020 at 07:04:13PM -0700, Florian Fainelli wrote: The internal Gigabit PHY on Broadcom STB chips has a digital clock which drives its MDIO interface among other things, the driver now requests and manage that clock during .probe() and .

Re: [PATCH net-next v2] net: phy: bcm7xxx: request and manage GPHY clock

2020-09-17 Thread Andrew Lunn
On Wed, Sep 16, 2020 at 07:04:13PM -0700, Florian Fainelli wrote: > The internal Gigabit PHY on Broadcom STB chips has a digital clock which > drives its MDIO interface among other things, the driver now requests > and manage that clock during .probe() and .remove() accordingly. > > Because the PH

[PATCH v4 1/2] KVM: add request KVM_REQ_OUT_OF_MEMORY

2020-09-17 Thread Maxim Levitsky
This request will be used in rare cases when emulation can't continue due to being out of memory, to kill the current VM. Currently only implemented for x86. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/x86.c | 7 +++ include/linux/kvm_host.h | 1 + 2 files changed, 8 inser

[PATCH] ath10k: qmi: Skip host capability request for Xiaomi Poco F1

2020-09-17 Thread Amit Pundir
may be firmware specific issues. Firmware version is QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c3-00257-QCAHLSWMTPLZ-1 qcom,snoc-host-cap-8bit-quirk didn't help. If I use this quirk, then the host capability request does get accepted, but we run into fatal "msa info req rejected" error and

[PATCH net-next v2] net: phy: bcm7xxx: request and manage GPHY clock

2020-09-16 Thread Florian Fainelli
The internal Gigabit PHY on Broadcom STB chips has a digital clock which drives its MDIO interface among other things, the driver now requests and manage that clock during .probe() and .remove() accordingly. Because the PHY driver can be probed with the clocks turned off we need to apply the dummy

[PATCH v2] remoteproc: Fixup coredump debugfs disable request

2020-09-16 Thread Sibi Sankar
Fix the discrepancy observed between accepted input and read back value while disabling remoteproc coredump through the coredump debugfs entry. Fixes: 3afdc59e4390 ("remoteproc: Add coredump debugfs entry") Cc: sta...@vger.kernel.org Signed-off-by: Sibi Sankar --- V2: * Fixup commit message [Bj

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-16 Thread Viresh Kumar
On 16-09-20, 13:50, Viresh Kumar wrote: > On 16-09-20, 13:37, Viresh Kumar wrote: > > On 16-09-20, 09:37, Ulf Hansson wrote: > > > I have the board as well. If you need some help with testing, just let me > > > know. > > > > > > In any case, I will try the revert and see how that changes things.

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-16 Thread Viresh Kumar
On 16-09-20, 13:37, Viresh Kumar wrote: > On 16-09-20, 09:37, Ulf Hansson wrote: > > I have the board as well. If you need some help with testing, just let me > > know. > > > > In any case, I will try the revert and see how that changes things. > > I am testing this with help of Naresh currently

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-16 Thread Viresh Kumar
On 16-09-20, 09:37, Ulf Hansson wrote: > I have the board as well. If you need some help with testing, just let me > know. > > In any case, I will try the revert and see how that changes things. I am testing this with help of Naresh currently, will try to update back today itself. -- viresh

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-16 Thread Ulf Hansson
l-config: > > > https://builds.tuxbuild.com/J5oDTkph2aj855oeGOd45Q/kernel.config > > > > > > > > > crash log: > > > - > > > [3.517615] Synopsys Designware Multimedia Card Interface Driver > > > [3.524258] sdhci-pltfm: SD

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-15 Thread Viresh Kumar
> > - > > [3.517615] Synopsys Designware Multimedia Card Interface Driver > > [3.524258] sdhci-pltfm: SDHCI platform and OF driver helper > > [3.531302] Unable to handle kernel paging request at virtual > > address dead0108 > >

[PATCH 5.4 052/132] nvme-fabrics: dont check state NVME_CTRL_NEW for request acceptance

2020-09-15 Thread Greg Kroah-Hartman
/fabrics.c @@ -580,7 +580,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

[PATCH 5.4 060/132] nvme-pci: cancel nvme device request before disabling

2020-09-15 Thread Greg Kroah-Hartman
nvme_reset_work() is still in execution. This patch fixed the problem by setting flag of the problematic request to NVME_REQ_CANCELLED before calling nvme_dev_disable() to make sure __nvme_submit_sync_cmd() returns an error code and let nvme_submit_sync_cmd() fail gracefully. The following is console output

Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-15 Thread Naresh Kamboju
/J5oDTkph2aj855oeGOd45Q/kernel.config crash log: - [3.517615] Synopsys Designware Multimedia Card Interface Driver [3.524258] sdhci-pltfm: SDHCI platform and OF driver helper [3.531302] Unable to handle kernel paging request at virtual address dead0108 [3.531396

[PATCH 5.8 084/177] nvme-fabrics: dont check state NVME_CTRL_NEW for request acceptance

2020-09-15 Thread Greg Kroah-Hartman
/fabrics.c @@ -580,7 +580,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

[PATCH 5.8 092/177] nvme-pci: cancel nvme device request before disabling

2020-09-15 Thread Greg Kroah-Hartman
nvme_reset_work() is still in execution. This patch fixed the problem by setting flag of the problematic request to NVME_REQ_CANCELLED before calling nvme_dev_disable() to make sure __nvme_submit_sync_cmd() returns an error code and let nvme_submit_sync_cmd() fail gracefully. The following is console output

[PATCH 4.19 27/78] nvme-fabrics: dont check state NVME_CTRL_NEW for request acceptance

2020-09-15 Thread Greg Kroah-Hartman
/fabrics.c @@ -577,7 +577,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

Re: [PATCH] remoteproc: Fixup coredump debugfs disable request

2020-09-15 Thread Sibi Sankar
Hey Bjorn, Thanks for taking time to review the patch. On 2020-09-15 20:48, Bjorn Andersson wrote: On Tue 15 Sep 07:34 UTC 2020, Sibi Sankar wrote: Currently the coredump debugfs entry takes in "disable" to set the coredump state to "disabled". Let's just accept the expected state instead.

Re: Unable to handle kernel paging request at virtual address dead - __clk_put

2020-09-15 Thread Ulf Hansson
SDHCI platform and OF driver helper > [3.531302] Unable to handle kernel paging request at virtual > address dead0108 > [3.531396] Mem abort info: > [3.531460] sdhci_msm 7864900.sdhci: Got CD GPIO > [3.539182] ESR = 0x9644 > [3.541953] ledtrig-cpu:

Re: [PATCH] remoteproc: Fixup coredump debugfs disable request

2020-09-15 Thread Bjorn Andersson
On Tue 15 Sep 07:34 UTC 2020, Sibi Sankar wrote: > Currently the coredump debugfs entry takes in "disable" to set the > coredump state to "disabled". Let's just accept the expected state > instead. > I like this patch, but rather than arguing that it should match the name of the internal state I

[PATCH] remoteproc: Fixup coredump debugfs disable request

2020-09-15 Thread Sibi Sankar
Currently the coredump debugfs entry takes in "disable" to set the coredump state to "disabled". Let's just accept the expected state instead. Fixes: 3afdc59e43904 ("remoteproc: Add coredump debugfs entry") Signed-off-by: Sibi Sankar --- drivers/remoteproc/remoteproc_debugfs.c | 2 +- 1 file cha

Re: [RFC] METADATA design using V4l2 Request API

2020-09-14 Thread Hans Verkuil
On 14/09/2020 12:21, diksh...@codeaurora.org wrote: > Hi Hans, > > I picked your latest patches to add support for RO Request and implemented > the driver changes as required. > To set a ctrl value from driver I am getting the ctrl using v4l2_ctrl_find() > by passing Main hand

Re: [RFC] METADATA design using V4l2 Request API

2020-09-14 Thread dikshita
Hi Hans, I picked your latest patches to add support for RO Request and implemented the driver changes as required. To set a ctrl value from driver I am getting the ctrl using v4l2_ctrl_find() by passing Main handler as a parameter as suggested by you and then setting the ctrl value with

[RESEND PATCH 3/3] firmware: imx-dsp: Export functions to request/free channels

2020-09-14 Thread Daniel Baluta
From: Daniel Baluta In order to save power, we only need to request a channel when the communication with the DSP active. For this we export the following functions: - imx_dsp_request_channel, gets a channel with a given index - imx_dsp_free_channel, frees a channel with a given

[RESEND PATCH 0/3] Allow on demand channel request / free

2020-09-14 Thread Daniel Baluta
this, reason we introduce a way to request/free IMX DSP channels on demand to save power when the channels are not used. First two patches are doing code refactoring preparing the path for 3rd patch which exports functions for on demand channel request/free Daniel Baluta (3): firmware: imx: Intr

[PATCH net-next RFC v4 07/15] net/mlx5: Handle sync reset request event

2020-09-13 Thread Moshe Shemesh
Once the driver gets sync_reset_request from firmware it prepares for the coming reset and sends acknowledge. After getting this event the driver expects device reset, either it will trigger PCI reset on sync_reset_now event or such PCI reset will be triggered by another PF of the same device. So i

Re: [PATCH] intel-iommu: don't disable ATS for device without page aligned request

2020-09-13 Thread Jason Wang
dress.") disables ATS for device that can do unaligned page request. Did you take a look at the PCI specification? Page Aligned Request is in the ATS capability Register. ATS Capability Register (Offset 0x04h) bit (5): Page Aligned Request - If Set, indicates the Untranslated address is alwa

BUG: unable to handle kernel paging request in pvclock_gtod_notify

2020-09-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e8878ab8 Merge tag 'spi-fix-v5.9-rc4' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=137c47a590 kernel config: https://syzkaller.appspot.com/x/.config?x=c61610091f4ca8c4 das

Re: [PULL REQUEST] i2c for v5.9

2020-09-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Sep 2020 21:43:36 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e9287bd248160880ff9476eea705fa47f75c6136 Thank you! -- Deet-doot-dot, I a

[PULL REQUEST] i2c for v5.9

2020-09-11 Thread Wolfram Sang
Linus, here are some "usual" driver bugfixes for the I2C subsystem. Please pull. Thanks, Wolfram The following changes since commit f4d51dffc6c01a9e94650d95ce0104964f8ae822: Linux 5.9-rc4 (2020-09-06 17:11:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/sc

BUG: unable to handle kernel paging request in free_swap_cache

2020-09-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dd9fb9bb Merge tags 'auxdisplay-for-linus-v5.9-rc4', 'clan.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=164e35cd90 kernel config: https://syzkaller.appspot.com/x/.config?x=bd46548257448703 das

Re: [PATCH 1/2] fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE

2020-09-09 Thread Joel Stanley
Is it ? > > I no longer work for IBM and dont have access to any of the > documentation here but I had vague memories that we would get a reset > request in the down fifo in order to reset the up one since we control > the up one and the host controls the down one, no ? Joachi

Re: [PATCH] intel-iommu: don't disable ATS for device without page aligned request

2020-09-09 Thread Jason Wang
- Original Message - > Hi Jason > > On Wed, Sep 09, 2020 at 04:34:32PM +0800, Jason Wang wrote: > > Commit 61363c1474b1 ("iommu/vt-d: Enable ATS only if the device uses > > page aligned address.") disables ATS for device that can do unaligned > > p

Partner request

2020-09-09 Thread Ms. Reem al-Hashimi
My name is Reem E. Al-Hashimi, the Emirates Minister of State and Managing Director of the United Arab Emirates (Dubai) World Expo 2020 Committee. I am writing to you to stand as my partner to receive my share of gratification from foreign companies whom I helped during the bidding exercise towa

Re: [PATCH] intel-iommu: don't disable ATS for device without page aligned request

2020-09-09 Thread Raj, Ashok
Hi Jason On Wed, Sep 09, 2020 at 04:34:32PM +0800, Jason Wang wrote: > Commit 61363c1474b1 ("iommu/vt-d: Enable ATS only if the device uses > page aligned address.") disables ATS for device that can do unaligned > page request. Did you take a look at the PCI specification? P

[PATCH v3 09/17] virt: acrn: Introduce I/O request management

2020-09-09 Thread shuo . a . liu
From: Shuo Liu An I/O request of a User VM, which is constructed by the hypervisor, is distributed by the ACRN Hypervisor Service Module to an I/O client corresponding to the address range of the I/O request. For each User VM, there is a shared 4-KByte memory region used for I/O requests

[PATCH] intel-iommu: don't disable ATS for device without page aligned request

2020-09-09 Thread Jason Wang
Commit 61363c1474b1 ("iommu/vt-d: Enable ATS only if the device uses page aligned address.") disables ATS for device that can do unaligned page request. This looks wrong, since the commit log said it's because the page request descriptor doesn't support reporting unaligned r

[PATCH 5.4 127/129] mm/khugepaged.c: fix khugepageds request size in collapse_file

2020-09-08 Thread Greg Kroah-Hartman
From: David Howells commit e5a59d308f52bb0052af5790c22173651b187465 upstream. collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be read to page_cache_sync_readahead(). The intent was probably to read a single page. Fix it to use the number of pages to the end of the wind

[PATCH 5.8 184/186] mm/khugepaged.c: fix khugepageds request size in collapse_file

2020-09-08 Thread Greg Kroah-Hartman
From: David Howells commit e5a59d308f52bb0052af5790c22173651b187465 upstream. collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be read to page_cache_sync_readahead(). The intent was probably to read a single page. Fix it to use the number of pages to the end of the wind

BUG: unable to handle kernel paging request in __sb_start_write

2020-09-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e28f0104 Merge tag 'fixes-2020-09-03' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11a6b85990 kernel config: https://syzkaller.appspot.com/x/.config?x=3c5f6ce8d5b68299 das

BUG: unable to handle kernel paging request in preempt_schedule_notrace_thunk

2020-09-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e28f0104 Merge tag 'fixes-2020-09-03' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=155d703190 kernel config: https://syzkaller.appspot.com/x/.config?x=3c5f6ce8d5b68299 das

[PATCH AUTOSEL 5.8 28/53] nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance

2020-09-07 Thread Sasha Levin
/fabrics.c @@ -576,7 +576,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

[PATCH AUTOSEL 5.8 36/53] nvme-pci: cancel nvme device request before disabling

2020-09-07 Thread Sasha Levin
nvme_reset_work() is still in execution. This patch fixed the problem by setting flag of the problematic request to NVME_REQ_CANCELLED before calling nvme_dev_disable() to make sure __nvme_submit_sync_cmd() returns an error code and let nvme_submit_sync_cmd() fail gracefully. The following is console output

[PATCH AUTOSEL 5.4 21/43] nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance

2020-09-07 Thread Sasha Levin
/fabrics.c @@ -576,7 +576,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

[PATCH AUTOSEL 5.4 29/43] nvme-pci: cancel nvme device request before disabling

2020-09-07 Thread Sasha Levin
nvme_reset_work() is still in execution. This patch fixed the problem by setting flag of the problematic request to NVME_REQ_CANCELLED before calling nvme_dev_disable() to make sure __nvme_submit_sync_cmd() returns an error code and let nvme_submit_sync_cmd() fail gracefully. The following is console output

[PATCH AUTOSEL 4.19 13/26] nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance

2020-09-07 Thread Sasha Levin
/fabrics.c @@ -577,7 +577,6 @@ bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, * which is require to set the queue live in the appropinquate states. */ switch (ctrl->state) { - case NVME_CTRL_NEW: case NVME_CTRL_CONNECTING:

[PATCH v2 4/4] integrity: prompt keyring name for unknown key request

2020-09-04 Thread Bruno Meneguele
tric.c index cfa4127d0518..14de98ef67f6 100644 --- a/security/integrity/digsig_asymmetric.c +++ b/security/integrity/digsig_asymmetric.c @@ -55,8 +55,14 @@ static struct key *request_asymmetric_key(struct key *keyring, uint32_t keyid) } if (IS_ERR(key)) { - pr_err_ratelim

[PATCH v6 08/18] crypto: sun8i-ce: move iv data to request context

2020-09-04 Thread Corentin Labbe
Instead of storing IV data in the channel context, store them in the request context. Storing them in the channel structure was conceptualy wrong since they are per request related. Signed-off-by: Corentin Labbe --- .../allwinner/sun8i-ce/sun8i-ce-cipher.c | 27 +-- drivers

[PATCH v2 09/17] virt: acrn: Introduce I/O request management

2020-09-03 Thread shuo . a . liu
From: Shuo Liu An I/O request of a User VM, which is constructed by the hypervisor, is distributed by the ACRN Hypervisor Service Module to an I/O client corresponding to the address range of the I/O request. For each User VM, there is a shared 4-KByte memory region used for I/O requests

Re: [PATCH] Fix khugepaged's request size in collapse_file()

2020-09-02 Thread Pankaj Gupta
> collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be > read ahead to page_cache_sync_readahead(). It seems this was expressed as a > number of bytes rather than a number of pages. > > Fix it to use the number of pages to the end of the window instead. > > Fixes: 99cb0dbd47

Re: [PATCH] Fix khugepaged's request size in collapse_file()

2020-09-02 Thread Yang Shi
On Wed, Sep 2, 2020 at 7:16 AM David Howells wrote: > > collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be > read ahead to page_cache_sync_readahead(). It seems this was expressed as a > number of bytes rather than a number of pages. > > Fix it to use the number of pages

[RFC PATCH 1/6] Fix khugepaged's request size in collapse_file() [ver #2]

2020-09-02 Thread David Howells
collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be read ahead to page_cache_sync_readahead(). It seems this was expressed as a number of bytes rather than a number of pages. Fix it to use the number of pages to the end of the window instead. Fixes: 99cb0dbd47a1 ("mm,thp:

[PATCH] Fix khugepaged's request size in collapse_file()

2020-09-02 Thread David Howells
collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be read ahead to page_cache_sync_readahead(). It seems this was expressed as a number of bytes rather than a number of pages. Fix it to use the number of pages to the end of the window instead. Fixes: 99cb0dbd47a1 ("mm,thp:

Re: [PATCH net-next 2/3] net: dsa: bcm_sf2: request and handle clocks

2020-09-02 Thread Andrew Lunn
On Tue, Sep 01, 2020 at 03:59:12PM -0700, Florian Fainelli wrote: > Fetch the corresponding clock resource and enable/disable it during > suspend/resume if and only if we have no ports defined for Wake-on-LAN. > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 2/3] net: dsa: bcm_sf2: request and handle clocks

2020-09-01 Thread Florian Fainelli
Fetch the corresponding clock resource and enable/disable it during suspend/resume if and only if we have no ports defined for Wake-on-LAN. Signed-off-by: Florian Fainelli --- drivers/net/dsa/bcm_sf2.c | 20 ++-- drivers/net/dsa/bcm_sf2.h | 2 ++ 2 files changed, 20 insertions(+

Re: [RFC PATCH 1/7] Fix khugepaged's request size in collapse_file()

2020-09-01 Thread Song Liu
On Tue, Sep 1, 2020 at 9:28 AM David Howells wrote: > > collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be > read ahead to page_cache_sync_readahead(). It seems this was expressed as a > number of bytes rather than a number of pages. > > Fix it to use the number of pages

[PATCH 4.14 55/91] scsi: ufs: Clean up completed request without interrupt notification

2020-09-01 Thread Greg Kroah-Hartman
From: Stanley Chu [ Upstream commit b10178ee7fa88b68a9e8adc06534d2605cb0ec23 ] If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may behave

[PATCH 4.19 073/125] scsi: ufs: Clean up completed request without interrupt notification

2020-09-01 Thread Greg Kroah-Hartman
From: Stanley Chu [ Upstream commit b10178ee7fa88b68a9e8adc06534d2605cb0ec23 ] If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may behave

[PATCH 5.4 100/214] block: virtio_blk: fix handling single range discard request

2020-09-01 Thread Greg Kroah-Hartman
actly what qemu is doing. So far, block layer switches to normal request merge if max discard segment limit is 1, and multiple bios can be merged to single segment. This way may cause memory corruption in virtblk_setup_discard_write_zeroes(). Fix the issue by handling single max discard

[RFC PATCH 1/7] Fix khugepaged's request size in collapse_file()

2020-09-01 Thread David Howells
collapse_file() in khugepaged passes PAGE_SIZE as the number of pages to be read ahead to page_cache_sync_readahead(). It seems this was expressed as a number of bytes rather than a number of pages. Fix it to use the number of pages to the end of the window instead. Fixes: 99cb0dbd47a1 ("mm,thp:

[PATCH 5.4 105/214] blk-mq: insert request not through ->queue_rq into sw/scheduler queue

2020-09-01 Thread Greg Kroah-Hartman
From: Ming Lei [ Upstream commit db03f88fae8a2c8007caafa70287798817df2875 ] c616cbee97ae ("blk-mq: punt failed direct issue to dispatch list") supposed to add request which has been through ->queue_rq() to the hw queue dispatch list, however it adds request running out of budget

[PATCH 5.4 139/214] scsi: ufs: Clean up completed request without interrupt notification

2020-09-01 Thread Greg Kroah-Hartman
From: Stanley Chu [ Upstream commit b10178ee7fa88b68a9e8adc06534d2605cb0ec23 ] If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may behave

[PATCH 5.8 146/255] scsi: ufs: Clean up completed request without interrupt notification

2020-09-01 Thread Greg Kroah-Hartman
From: Stanley Chu [ Upstream commit b10178ee7fa88b68a9e8adc06534d2605cb0ec23 ] If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may behave

[PATCH 5.8 092/255] blk-mq: insert request not through ->queue_rq into sw/scheduler queue

2020-09-01 Thread Greg Kroah-Hartman
From: Ming Lei [ Upstream commit db03f88fae8a2c8007caafa70287798817df2875 ] c616cbee97ae ("blk-mq: punt failed direct issue to dispatch list") supposed to add request which has been through ->queue_rq() to the hw queue dispatch list, however it adds request running out of budget

[PATCH 5.8 102/255] vdpa: ifcvf: return err when fail to request config irq

2020-09-01 Thread Greg Kroah-Hartman
vf->config_msix_name, vf); + if (ret) { + IFCVF_ERR(pdev, "Failed to request config irq\n"); + return ret; + } for (i = 0; i < IFCVF_MAX_QUEUE_PAIRS * 2; i++) { snprintf(vf->vring[i].msix_name, 256, "ifcvf[%s]-%d\n", -- 2.25.1

Re: [git pull] habanalabs fixes pull request for kernel 5.9-rc4

2020-09-01 Thread Greg KH
On Mon, Aug 31, 2020 at 03:58:29PM +0300, Oded Gabbay wrote: > Hello Greg, > > This is the pull request for habanalabs driver fixes for 5.9-rc4. > Two small fixes, details are in the tag. > > Thanks, > Oded > > The following changes since commit f75aef392f869

[PATCH 5.8 087/255] block: virtio_blk: fix handling single range discard request

2020-09-01 Thread Greg Kroah-Hartman
actly what qemu is doing. So far, block layer switches to normal request merge if max discard segment limit is 1, and multiple bios can be merged to single segment. This way may cause memory corruption in virtblk_setup_discard_write_zeroes(). Fix the issue by handling single max discard

[git pull] habanalabs fixes pull request for kernel 5.9-rc4

2020-08-31 Thread Oded Gabbay
Hello Greg, This is the pull request for habanalabs driver fixes for 5.9-rc4. Two small fixes, details are in the tag. Thanks, Oded The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b: Linux 5.9-rc3 (2020-08-30 16:01:54 -0700) are available in the Git repository at

Re: [PATCH] usb: gadget: net2272: assert for a valid dma request

2020-08-30 Thread Greg KH
On Sun, Aug 30, 2020 at 11:36:46AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags this representive problem > > net2272.c:1541:8: warning: Dereference of null pointer > if ((req->req.length % ep->ep.maxpacket != 0) || > ^~~ > This is mostly

Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges

2020-08-30 Thread Viresh Kumar
On 28-08-20, 14:23, Ulf Hansson wrote: > Anders, Naresh - thanks for testing and reporting. I am dropping the > patch from my tree. > > Viresh, I suggest to keep Anders/Naresh in the cc, for the next > version. Then I can wait for their tested-by tag before I apply again. Sorry for the trouble, I

Re: [PATCH] usb: gadget: net2272: assert for a valid dma request

2020-08-30 Thread Tom Rix
On 8/30/20 2:22 PM, Alan Stern wrote: > On Sun, Aug 30, 2020 at 11:36:46AM -0700, t...@redhat.com wrote: >> From: Tom Rix >> >> clang static analysis flags this representive problem >> >> net2272.c:1541:8: warning: Dereference of null pointer >> if ((req->req.length % ep->ep.maxpacket != 0)

Re: [PATCH] usb: gadget: net2272: assert for a valid dma request

2020-08-30 Thread Alan Stern
On Sun, Aug 30, 2020 at 11:36:46AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags this representive problem > > net2272.c:1541:8: warning: Dereference of null pointer > if ((req->req.length % ep->ep.maxpacket != 0) || > ^~~ > This is mostly

[PATCH] usb: gadget: net2272: assert for a valid dma request

2020-08-30 Thread trix
From: Tom Rix clang static analysis flags this representive problem net2272.c:1541:8: warning: Dereference of null pointer if ((req->req.length % ep->ep.maxpacket != 0) || ^~~ This is mostly not a problem. In net2272_handle_dma(), even though every path through the rout

[PATCH net-next RFC v3 06/14] net/mlx5: Handle sync reset request event

2020-08-30 Thread Moshe Shemesh
Once the driver gets sync_reset_request from firmware it prepares for the coming reset and sends acknowledge. After getting this event the driver expects device reset, either it will trigger PCI reset on sync_reset_now event or such PCI reset will be triggered by another PF of the same device. So i

<    4   5   6   7   8   9   10   11   12   13   >