[PATCH 5.9 025/152] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 5.9 111/152] net: ena: handle bad request id in ena_netdev

2020-12-01 Thread Greg Kroah-Hartman
From: Shay Agroskin [ Upstream commit 5b7022cf1dc0d721bd4b5f3bada05bd8ced82fe0 ] After request id is checked in validate_rx_req_id() its value is still used in the line rx_ring->free_ids[next_to_clean] = rx_ring->ena_bufs[i].req_id; even if

[PATCH 5.4 17/98] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 4.19 08/57] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 4.14 09/50] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 4.9 07/42] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 4.4 03/24] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-12-01 Thread Greg Kroah-Hartman
: (kvm_apic_accept_pic_intr(vcpu) +&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

BUG: unable to handle kernel paging request in workingset_age_nonresident

2020-11-30 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c6b11acc Add linux-next specific files for 20201130 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=114b94e950 kernel config: https://syzkaller.appspot.com/x/.config?x=b5e03844e9b34d37 dashboard

Re: [RFC PATCH v3.1 20/27] mmc: sdhci-uhs2: add request() and others

2020-11-30 Thread AKASHI Takahiro
On Thu, Nov 26, 2020 at 10:18:44AM +0200, Adrian Hunter wrote: > On 6/11/20 4:27 am, AKASHI Takahiro wrote: > > This is a sdhci version of mmc's request operation. > > It covers both UHS-I and UHS-II. > > > > Signed-off-by: Ben Chuang > > Signed-off-by: AKA

Re: [git pull] habanalabs pull request for kernel 5.11-rc1

2020-11-30 Thread Greg KH
On Mon, Nov 30, 2020 at 11:13:04AM +0200, Oded Gabbay wrote: > Hello Greg, > > This is habanalabs pull request for the merge window of kernel 5.11. > It contains many changes, new features, support for new firmware. > Details are in the tag. > > Thanks, > Oded > &g

[git pull] habanalabs pull request for kernel 5.11-rc1

2020-11-30 Thread Oded Gabbay
Hello Greg, This is habanalabs pull request for the merge window of kernel 5.11. It contains many changes, new features, support for new firmware. Details are in the tag. Thanks, Oded The following changes since commit 3473065927a877e0a15c4d4b64f245ccaba24e3f: Merge 5.10-rc6 into char-misc

[PATCH v3 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-29 Thread Wendy Liang
Add request/release and related clock gating functions to AI engine driver: * scanning when the partition is being requested to know which tiles are in use. * check if a tile is gated or not * tiles requesting and releasing ioctl so that user application can enable/disable tiles at runtime

[PATCH v3 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-29 Thread Wendy Liang
From: Nishad Saraf Platform management services like device control, resets, power management, etc. are provided by Platform, Loader and Manager(PLM) through firmware driver APIs. For requesting some of these services, this change reads AI Engine platform management node ID from DT node. Some oth

[PATCH 6/8] ASoC: Intel: Skylake: Await purge request ack on CNL

2020-11-29 Thread Cezary Rojewski
commit 7693cadac86548b30389a6e11d78c38db654f393 upstream. Each purge request is sent by driver after master core is powered up and unresetted but before it is unstalled. On unstall, ROM begins processing the request and initializing environment for FW load. Host should await ROM's ack b

Re: [PATCH 08/13] ibmvfc: map/request irq and register Sub-CRQ interrupt handler

2020-11-27 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center

Re: [PATCH 2/2] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-11-27 Thread Filippo Sironi
&& !pending_userspace_extint(v))); we realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win =

[PATCH 2/2] KVM: x86: Fix split-irqchip vs interrupt injection window request

2020-11-27 Thread Paolo Bonzini
e realize two things. First, thanks to the previous patch the complex conditional can reuse !kvm_cpu_has_extint(vcpu). Second, the interrupt window request in vcpu_enter_guest() bool req_int_win = dm_request_for_irq_injection(vcpu) && kvm_cpu

[PATCH v3 14/15] remoteproc: Properly deal with detach request

2020-11-26 Thread Mathieu Poirier
This patch introduces the capability to detach a remote processor that has been attached to or booted by the remoteproc core. For that to happen a rproc::ops::detach() operation need to be available. Signed-off-by: Mathieu Poirier Reviewed-by: Peng Fan --- drivers/remoteproc/remoteproc_cdev.c

[PATCH v3 13/15] remoteproc: Properly deal with a start request when attached

2020-11-26 Thread Mathieu Poirier
This patch takes into account scenarios where a remote processor has been attached to when receiving a "start" command from sysfs. As with the "running" case, the command can't be carried out if the remote processor is already in operation. Signed-off-by: Mathieu Poirier --- drivers/remoteproc/

[PATCH v3 12/15] remoteproc: Properly deal with a stop request when attached

2020-11-26 Thread Mathieu Poirier
This patch introduces the capability to stop a remote processor that has been attached to by the remoteproc core. For that to happen a rproc::ops::stop() operation need to be available. Signed-off-by: Mathieu Poirier Reviewed-by: Peng Fan Reviewed-by: Arnaud Pouliquen --- drivers/remoteproc/r

Re: [RFC PATCH v3.1 20/27] mmc: sdhci-uhs2: add request() and others

2020-11-26 Thread Adrian Hunter
On 6/11/20 4:27 am, AKASHI Takahiro wrote: > This is a sdhci version of mmc's request operation. > It covers both UHS-I and UHS-II. > > Signed-off-by: Ben Chuang > Signed-off-by: AKASHI Takahiro > --- > drivers/mmc/host/sdhci-uhs2.c | 529

[PATCH net-next v7 4/5] net/x25: fix restart request/confirm handling

2020-11-25 Thread Martin Schiller
We have to take the actual link state into account to handle restart requests/confirms well. Signed-off-by: Martin Schiller --- net/x25/x25_link.c | 41 + 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/net/x25/x25_link.c b/net/x25/x25_link.

[PATCH 08/13] ibmvfc: map/request irq and register Sub-CRQ interrupt handler

2020-11-25 Thread Tyrel Datwyler
Create an irq mapping for the hw_irq number provided from phyp firmware. Request an irq assigned our Sub-CRQ interrupt handler. Signed-off-by: Tyrel Datwyler --- drivers/scsi/ibmvscsi/ibmvfc.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/scsi/ibmvscsi

[RFC PATCH 4/4] crypto: caam - avoid allocating memory at crypto request runtime for aead

2020-11-25 Thread Iuliana Prodan (OSS)
From: Iuliana Prodan Remove CRYPTO_ALG_ALLOCATES_MEMORY flag and allocate the memory needed by the driver, to fulfil a request, within the crypto request object. The extra size needed for base extended descriptor, hw descriptor commands and link tables is computed in frontend driver (caamalg

[RFC PATCH 3/4] crypto: caam - avoid allocating memory at crypto request runtime for skcipher

2020-11-25 Thread Iuliana Prodan (OSS)
From: Iuliana Prodan Remove CRYPTO_ALG_ALLOCATES_MEMORY flag and allocate the memory needed by the driver, to fulfil a request, within the crypto request object. The extra size needed for base extended descriptor and hw descriptor commands, link tables, IV is computed in frontend driver (caamalg

[RFC PATCH 2/4] net: esp: check CRYPTO_TFM_REQ_DMA flag when allocating crypto request

2020-11-25 Thread Iuliana Prodan (OSS)
From: Iuliana Prodan Some crypto backends might require the requests' private contexts to be allocated in DMA-able memory. Signed-off-by: Horia Geanta --- net/ipv4/esp4.c | 7 ++- net/ipv6/esp6.c | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net/ipv4/esp4.c b

Re: [FEATURE REQUEST] tracing: Have event filters handle dynamic arrays

2020-11-25 Thread Tom Zanussi
Hi Steve, Daniel, On Tue, 2020-11-24 at 11:37 -0500, Steven Rostedt wrote: > Hi Tom, > > Daniel asked about filtering bitmasks, something like: > >cpumask != 0xff > > Looking into the code, I realized that bitmasks are dynamic arrays, > and > there's no logic in the filter code to handle dy

Re: [PATCH 3/3] media: hfi_venus: Request interrupt for sync cmds

2020-11-25 Thread Stanimir Varbanov
On 11/25/20 10:08 AM, Alexandre Courbot wrote: > On Fri, Nov 20, 2020 at 9:12 AM Stanimir Varbanov > wrote: >> >> From: Vikash Garodia >> >> For synchronous commands, update the message queue variable. >> This would inform video firmware to raise interrupt on host >> CPU whenever there is a re

Re: [PATCH 3/3] media: hfi_venus: Request interrupt for sync cmds

2020-11-25 Thread Alexandre Courbot
On Fri, Nov 20, 2020 at 9:12 AM Stanimir Varbanov wrote: > > From: Vikash Garodia > > For synchronous commands, update the message queue variable. > This would inform video firmware to raise interrupt on host > CPU whenever there is a response for such commands. > > Signed-off-by: Vikash Garodia

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

2020-11-24 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

[FEATURE REQUEST] tracing: Have event filters handle dynamic arrays

2020-11-24 Thread Steven Rostedt
Hi Tom, Daniel asked about filtering bitmasks, something like: cpumask != 0xff Looking into the code, I realized that bitmasks are dynamic arrays, and there's no logic in the filter code to handle dynamic arrays of anything other than 'char' type (which are dynamic strings). If you have any

[PATCH net-next v6 4/5] net/x25: fix restart request/confirm handling

2020-11-24 Thread Martin Schiller
We have to take the actual link state into account to handle restart requests/confirms well. Signed-off-by: Martin Schiller --- net/x25/x25_link.c | 41 + 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/net/x25/x25_link.c b/net/x25/x25_link.

[PATCH net-next v5 4/5] net/x25: fix restart request/confirm handling

2020-11-24 Thread Martin Schiller
We have to take the actual link state into account to handle restart requests/confirms well. Signed-off-by: Martin Schiller --- net/x25/x25_link.c | 41 + 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/net/x25/x25_link.c b/net/x25/x25_link.

[PATCH 5.9 203/252] staging: mt7621-pci: avoid to request pci bus resources

2020-11-23 Thread Greg Kroah-Hartman
7; is parsed and populated into resources when the host bridge is allocated. The resources are requested as well, but that happens a 2nd time for this driver in mt7621_pcie_request_resources(). Hence we should avoid this second request. Also, the bus ranges was also populated by default, so we can re

[PATCH 5.9 239/252] io_uring: dont double complete failed reissue request

2020-11-23 Thread Greg Kroah-Hartman
From: Jens Axboe commit c993df5a688975bf9ce899706ca13d2bc8d6be25 upstream. Zorro reports that an xfstest test case is failing, and it turns out that for the reissue path we can potentially issue a double completion on the request for the failure path. There's an issue around the retry as

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

2020-11-23 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

Re: [PATCH 3/3] media: hfi_venus: Request interrupt for sync cmds

2020-11-22 Thread Stanimir Varbanov
On 11/21/20 3:02 AM, Fritz Koenig wrote: > On Thu, Nov 19, 2020 at 4:12 PM Stanimir Varbanov > wrote: >> >> From: Vikash Garodia >> >> For synchronous commands, update the message queue variable. >> This would inform video firmware to raise interrupt on host >> CPU whenever there is a response

Re: [PATCH 3/3] media: hfi_venus: Request interrupt for sync cmds

2020-11-20 Thread Fritz Koenig
On Thu, Nov 19, 2020 at 4:12 PM Stanimir Varbanov wrote: > > From: Vikash Garodia > > For synchronous commands, update the message queue variable. > This would inform video firmware to raise interrupt on host > CPU whenever there is a response for such commands. > > Signed-off-by: Vikash Garodia

[RFC PATCH 04/18] virt/mshv: request version ioctl

2020-11-20 Thread Nuno Das Neves
Reserve ioctl number in userpsace-api/ioctl/ioctl-number.rst Introduce MSHV_REQUEST_VERSION ioctl. Introduce documentation for /dev/mshv in Documentation/virt/mshv Signed-off-by: Nuno Das Neves --- .../userspace-api/ioctl/ioctl-number.rst | 2 + Documentation/virt/mshv/api.rst

[PATCH net-next v4 4/5] net/x25: fix restart request/confirm handling

2020-11-19 Thread Martin Schiller
We have to take the actual link state into account to handle restart requests/confirms well. Signed-off-by: Martin Schiller --- net/x25/x25_link.c | 41 + 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/net/x25/x25_link.c b/net/x25/x25_link.

[PATCH 3/3] media: hfi_venus: Request interrupt for sync cmds

2020-11-19 Thread Stanimir Varbanov
From: Vikash Garodia For synchronous commands, update the message queue variable. This would inform video firmware to raise interrupt on host CPU whenever there is a response for such commands. Signed-off-by: Vikash Garodia Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venu

[PATCH v2 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-18 Thread Wendy Liang
Add request/release and related clock gating functions to AI engine driver: * scanning when the partition is being requested to know which tiles are in use. * check if a tile is gated or not * tiles requesting and releasing ioctl so that user application can enable/disable tiles at runtime

[PATCH v2 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-18 Thread Wendy Liang
From: Nishad Saraf Platform management services like device control, resets, power management, etc. are provided by Platform, Loader and Manager(PLM) through firmware driver APIs. For requesting some of these services, this change reads AI Engine platform management node ID from DT node. Some oth

[PATCH net-next v3 5/6] net/x25: fix restart request/confirm handling

2020-11-18 Thread Martin Schiller
We have to take the actual link state into account to handle restart requests/confirms well. Also, the T20 timer needs to be stopped, if the link is terminated. Signed-off-by: Martin Schiller --- net/x25/x25_link.c | 45 + 1 file changed, 37 insertion

[PATCH 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-18 Thread Wendy Liang
Add request/release and related clock gating functions to AI engine driver: * scanning when the partition is being requested to know which tiles are in use. * check if a tile is gated or not * tiles requesting and releasing ioctl so that user application can enable/disable tiles at runtime

[PATCH 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-18 Thread Wendy Liang
From: Nishad Saraf Platform management services like device control, resets, power management, etc. are provided by Platform, Loader and Manager(PLM) through firmware driver APIs. For requesting some of these services, this change reads AI Engine platform management node ID from DT node. Some oth

BUG: unable to handle kernel paging request in bitfill_aligned (2)

2020-11-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0062442e Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16584b8150 kernel config: https://syzkaller.appspot.com/x/.config?x=f9aa2432c01bcb1f das

[PATCH 4.19 005/101] usb: dwc3: gadget: Reclaim extra TRBs after request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Thinh Nguyen [ Upstream commit 690e5c2dc29f8891fcfd30da67e0d5837c2c9df5 ] An SG request may be partially completed (due to no available TRBs). Don't reclaim extra TRBs and clear the needs_extra_trb flag until the request is fully completed. Otherwise, the driver will reclaim the wron

[PATCH 5.9 111/255] nvme-tcp: avoid repeated request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Sagi Grimberg [ Upstream commit 0a8a2c85b83589a5c10bc5564b796836bf4b4984 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out. It is not sa

[PATCH 5.9 110/255] nvme-rdma: avoid repeated request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Sagi Grimberg [ Upstream commit fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is no

[PATCH 5.4 072/151] nvme-rdma: avoid repeated request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Sagi Grimberg [ Upstream commit fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is no

[PATCH 5.4 073/151] nvme-tcp: avoid repeated request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Sagi Grimberg [ Upstream commit 0a8a2c85b83589a5c10bc5564b796836bf4b4984 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out. It is not sa

[PATCH 5.4 007/151] usb: dwc3: gadget: Reclaim extra TRBs after request completion

2020-11-17 Thread Greg Kroah-Hartman
From: Thinh Nguyen [ Upstream commit 690e5c2dc29f8891fcfd30da67e0d5837c2c9df5 ] An SG request may be partially completed (due to no available TRBs). Don't reclaim extra TRBs and clear the needs_extra_trb flag until the request is fully completed. Otherwise, the driver will reclaim the wron

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

2020-11-16 Thread Shawn Guo
ock will > be always ON when a mailbox channel is requested. > > For 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 pa

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-13 Thread Dhananjay Phadke
On Tue, 10 Nov 2020 11:24:36 -0800, Ray Jui wrote: Yes it's true that for master write-read events both IS_S_RD_EVENT_SHIFT and IS_S_RX_EVENT_SHIFT are coming together. So before the slave starts transmitting data to the master, it should first read all data from rx-fifo i.e.

[PATCH v2 0/3] fix dp link training failed at irq_hpd request

2020-11-13 Thread Kuogee Hsieh
Some dongle require link training be done at irq_hpd request. This serial patches address the issues so that DP/HDMI display can be lit up properlly. This serial Patch also fixes clock stuck at "off" state error caused by previous link training failed. Kuogee Hsieh (3): drm/msm/dp: de

BUG: unable to handle kernel paging request in bpf_trace_run4

2020-11-11 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c6bde958 bpf: Lift hashtab key_size limit git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=159f611a50 kernel config: https://syzkaller.appspot.com/x/.config?x=58a4ca757d776bfe dashboard link: https:

Re: [PATCH v9 1/6] Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request

2020-11-11 Thread Marcel Holtmann
Hi Howard, > This replaces the BT_DBG function to bt_dev_dbg as it is cleaner to show > the controller index in the debug message. > > Signed-off-by: Howard Chung > --- > > Changes in v9: > - Fix compile warning on patch 6/6 > > Changes in v8: > - Simplified logic in __hci_update_interleaved_s

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

2020-11-11 Thread 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 index Notice that we

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

2020-11-11 Thread Daniel Baluta
uce 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: Introduce imx_dsp_setup_cha

Re: BUG: unable to handle kernel paging request in pvclock_gtod_notify

2020-11-11 Thread Dmitry Vyukov
On Sun, Nov 1, 2020 at 11:11 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a49145acfb975d921464b84fe00279f99827d816 > Author: George Kennedy > Date: Tue Jul 7 19:26:03 2020 + > > fbmem: add margin check to fb_check_caps() > > bisection log: https://syz

[PATCH v9 1/6] Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request

2020-11-10 Thread Howard Chung
truct hci_request *req, hci_req_complete_t complete, struct sk_buff *skb; unsigned long flags; - BT_DBG("length %u", skb_queue_len(&req->cmd_q)); + bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); /* If an error occurred

[PATCH 3/3] md: use current request time as base for ktime comparisons

2020-11-10 Thread Pankaj Gupta
From: Pankaj Gupta Request coalescing logic uses 'prev_flush_start' as base to compare the current request start time. 'prev_flush_start' is updated in other context. This patch changes this by using ktime comparison base to 'req_start' for better readability o

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-10 Thread Ray Jui
On 11/9/2020 8:23 PM, Rayagonda Kokatanur wrote: > Hi Ray, > > Could you please check Dhananjay comments and update your thoughts. > > On Fri, Nov 6, 2020 at 11:11 PM Dhananjay Phadke > wrote: >> >> On Thu, 5 Nov 2020 15:13:04 +0530, Rayagonda Kokatanur wrote: So the suggestion was to set

[PATCH v8 1/6] Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request

2020-11-10 Thread Howard Chung
struct sk_buff *skb; unsigned long flags; - BT_DBG("length %u", skb_queue_len(&req->cmd_q)); + bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); /* If an error occurred during request building, remove all HCI

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-09 Thread Rayagonda Kokatanur
Hi Ray, Could you please check Dhananjay comments and update your thoughts. On Fri, Nov 6, 2020 at 11:11 PM Dhananjay Phadke wrote: > > On Thu, 5 Nov 2020 15:13:04 +0530, Rayagonda Kokatanur wrote: > >> So the suggestion was to set HW threshold for rx fifo interrupt, not > >> really a SW propert

[PATCH AUTOSEL 5.9 36/55] nvme-tcp: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 0a8a2c85b83589a5c10bc5564b796836bf4b4984 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out. It is not sa

[PATCH AUTOSEL 5.9 35/55] nvme-rdma: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is no

[PATCH AUTOSEL 5.4 27/42] nvme-rdma: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is no

[PATCH AUTOSEL 5.4 28/42] nvme-tcp: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 0a8a2c85b83589a5c10bc5564b796836bf4b4984 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out. It is not sa

Re: [PATCH] drm: xlnx: Use dma_request_chan for DMA channel request

2020-11-08 Thread Sam Ravnborg
er->id], i); > - dma->chan = of_dma_request_slave_channel(disp->dev->of_node, > - dma_channel_name); > + dma->chan = dma_request_chan(disp->dev, dma_channel_name); > if (IS_ERR(dma->chan)) { > dev_err(disp->

Re: [PULL REQUEST] i2c for 5.10

2020-11-07 Thread pr-tracker-bot
The pull request you sent on Sat, 7 Nov 2020 19:39:57 +0100: > 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/af6e7de0c7d1338c3e4224c764fbcb7e28064df9 Thank you! -- Deet-doot-dot, I a

[PULL REQUEST] i2c for 5.10

2020-11-07 Thread Wolfram Sang
Linus, here are driver bugfixes for I2C. Most of them are for the new mlxbf driver which got more exposure after rc1. The sh_mobile patch should already have reached you during the merge window, but I accidently dropped it. However, since it fixes a problem with rebooting, I think it is still fine

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-06 Thread Dhananjay Phadke
On Thu, 5 Nov 2020 15:13:04 +0530, Rayagonda Kokatanur wrote: >> So the suggestion was to set HW threshold for rx fifo interrupt, not >> really a SW property. By setting it in DT, makes it easier to >> customize for target system, module param needs or ioctl makes it >> dependent on userpsace to co

[RFC PATCH v3.1 20/27] mmc: sdhci-uhs2: add request() and others

2020-11-05 Thread AKASHI Takahiro
This is a sdhci version of mmc's request operation. It covers both UHS-I and UHS-II. Signed-off-by: Ben Chuang Signed-off-by: AKASHI Takahiro --- drivers/mmc/host/sdhci-uhs2.c | 529 ++ drivers/mmc/host/sdhci.c | 93 +++--- drivers/mmc/host/sd

[PATCH net-next 02/13] net: ipa: request GSI IRQ later

2020-11-05 Thread Alex Elder
Introduce gsi_irq_init() and gsi_irq_exit(), to encapsulate looking up the GSI IRQ and registering its handler. Call gsi_irq_init() a little later in gsi_init(), and initialize the completion earlier. The IRQ handler accesses both the GSI virtual memory pointer and the completion, and this way the

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-05 Thread Rayagonda Kokatanur
On Thu, Nov 5, 2020 at 1:16 PM Dhananjay Phadke wrote: > > On Wed, 4 Nov 2020 10:01:06 -0800, Ray Jui wrote: > > +#define MAX_SLAVE_RX_PER_INT 10 > > >>> > In patch [3/6], you've enabled IS_S_RX_THLD_SHIFT in slave ISR bitmask, > however it's not actually used in proces

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-04 Thread Dhananjay Phadke
On Wed, 4 Nov 2020 10:01:06 -0800, Ray Jui wrote: +#define MAX_SLAVE_RX_PER_INT 10 >>> In patch [3/6], you've enabled IS_S_RX_THLD_SHIFT in slave ISR bitmask, however it's not actually used in processing rx events. Instead of hardcoding this threshold here, it

Request to Update WCN3991 FW file

2020-11-04 Thread asitshah
Hello Team, Please include updated firmware bins for WCN3991. Change includes updated TLV file to fix BT SSR. Snapshot of pull request is as below, let me know if anything is missing. The following changes since commit dae4b4cd084102cd49c37aa8b579b208028ab025: Merge branch 'v

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-04 Thread Ray Jui
On 11/3/2020 7:57 PM, Rayagonda Kokatanur wrote: > On Wed, Nov 4, 2020 at 9:05 AM Florian Fainelli wrote: >> >> >> >> On 11/2/2020 10:19 PM, Dhananjay Phadke wrote: >>> On Mon, 2 Nov 2020 09:24:32 +0530, Rayagonda Kokatanur wrote: >>> >>>

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-03 Thread Rayagonda Kokatanur
On Wed, Nov 4, 2020 at 9:05 AM Florian Fainelli wrote: > > > > On 11/2/2020 10:19 PM, Dhananjay Phadke wrote: > > On Mon, 2 Nov 2020 09:24:32 +0530, Rayagonda Kokatanur wrote: > > > >> Handle single or multi byte master read request with or without >

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-03 Thread Florian Fainelli
On 11/2/2020 10:19 PM, Dhananjay Phadke wrote: > On Mon, 2 Nov 2020 09:24:32 +0530, Rayagonda Kokatanur wrote: > >> Handle single or multi byte master read request with or without >> repeated start. >> >> Fixes: c245d94ed106 ("i2c: iproc: Add multi byte re

[PATCH 5.9 242/391] usb: dwc3: gadget: Reclaim extra TRBs after request completion

2020-11-03 Thread Greg Kroah-Hartman
From: Thinh Nguyen commit 690e5c2dc29f8891fcfd30da67e0d5837c2c9df5 upstream. An SG request may be partially completed (due to no available TRBs). Don't reclaim extra TRBs and clear the needs_extra_trb flag until the request is fully completed. Otherwise, the driver will reclaim the wron

[PATCH 0/3] fix dp link training failed at irq_hpd request

2020-11-03 Thread Kuogee Hsieh
Some dongle require link training be done at irq_hpd request. This serial patches address the issues so that DP/HDMI display can be lit up properlly. This serial Patch also fixes clock stuck at "off" state error caused by previous link training failed. Kuogee Hsieh (3): drm/msm/dp: de

[PATCH 5.4 136/214] usb: dwc3: gadget: Check MPS of the request length

2020-11-03 Thread Greg Kroah-Hartman
From: Thinh Nguyen commit ca3df3468eec87f6374662f7de425bc44c3810c1 upstream. When preparing for SG, not all the entries are prepared at once. When resume, don't use the remaining request length to calculate for MPS alignment. Use the entire request->length to do that.

[PATCH 4.19 137/191] usb: dwc3: gadget: Check MPS of the request length

2020-11-03 Thread Greg Kroah-Hartman
From: Thinh Nguyen commit ca3df3468eec87f6374662f7de425bc44c3810c1 upstream. When preparing for SG, not all the entries are prepared at once. When resume, don't use the remaining request length to calculate for MPS alignment. Use the entire request->length to do that.

[PATCH 5.9 297/391] remoteproc: Fixup coredump debugfs disable request

2020-11-03 Thread Greg Kroah-Hartman
From: Sibi Sankar commit 1894622636745237f882bfab47925afc48e122e0 upstream. 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...@v

[PATCH 5.9 241/391] usb: dwc3: gadget: Check MPS of the request length

2020-11-03 Thread Greg Kroah-Hartman
From: Thinh Nguyen commit ca3df3468eec87f6374662f7de425bc44c3810c1 upstream. When preparing for SG, not all the entries are prepared at once. When resume, don't use the remaining request length to calculate for MPS alignment. Use the entire request->length to do that.

[PATCH v3 0/6] fix iproc driver to handle master read request

2020-11-01 Thread Rayagonda Kokatanur
This series of patches adds the following, - Handle master abort error - Fix support for single/multi byte master read request with/without repeated start. - Handle rx fifo full interrupt - Fix typo Changes from V2: --Add missing Acked-by tag. Changes from V1: --Address review comments from Ray

[PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-01 Thread Rayagonda Kokatanur
Handle single or multi byte master read request with or without repeated start. Fixes: c245d94ed106 ("i2c: iproc: Add multi byte read-write support for slave mode") Signed-off-by: Rayagonda Kokatanur --- drivers/i2c/busses/i2c-bcm-iproc.c | 215 +++-- 1 fi

Re: BUG: unable to handle kernel paging request in pvclock_gtod_notify

2020-11-01 Thread syzbot
syzbot suspects this issue was fixed by commit: commit a49145acfb975d921464b84fe00279f99827d816 Author: George Kennedy Date: Tue Jul 7 19:26:03 2020 + fbmem: add margin check to fb_check_caps() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1749972450 start commit:

[PATCH v4 05/17] dmaengine: idxd: add interrupt handle request support

2020-10-30 Thread Dave Jiang
descriptor to program the interrupt handle 1:1 with the MSI-X index without getting it from the request interrupt handle device command. For a guest device, the index can be any index that the host assigned for the IMS table, and therefore it must be requested from the virtual device during MSI-X

[PATCH v2 5/6] i2c: iproc: handle master read request

2020-10-29 Thread Rayagonda Kokatanur
Handle single or multi byte master read request with or without repeated start. Fixes: c245d94ed106 ("i2c: iproc: Add multi byte read-write support for slave mode") Signed-off-by: Rayagonda Kokatanur --- drivers/i2c/busses/i2c-bcm-iproc.c | 215 +++-- 1 fi

[PATCH v2 0/6] fix iproc driver to handle master read request

2020-10-29 Thread Rayagonda Kokatanur
This series of patches adds the following, - Handle master abort error - Fix support for single/multi byte master read request with/without repeated start. - Handle rx fifo full interrupt - Fix typo Changes from V1: --Address review comments from Ray Jui, Remove fixes tag Rayagonda Kokatanur

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-29 Thread Rich Felker
On Thu, Oct 29, 2020 at 07:58:42AM +, Sargun Dhillon wrote: > A mechanism for the thing listening on the listener FD to turn itself on or > off > and indicate that it is no longer interested in receiving notifications and > to > always continue / return an error code, or that it has taken a

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-29 Thread Sargun Dhillon
On Wed, Oct 28, 2020 at 03:47:27PM -0700, Kees Cook wrote: > On Wed, Oct 28, 2020 at 12:18:47PM +0100, Camille Mougey wrote: > > (This is my first message to the kernel list, I hope I'm doing it right) > > Looks good to me! The key was CCing real people. ;) > > > From my understanding, there is n

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-28 Thread Rich Felker
On Wed, Oct 28, 2020 at 01:42:13PM +0100, Jann Horn wrote: > +luto just in case he has opinions on this > > On Wed, Oct 28, 2020 at 12:18 PM Camille Mougey wrote: > > From my understanding, there is no way to delay the activation of > > seccomp filters, for instance "until an _execve_ call". > >

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-28 Thread Rich Felker
On Wed, Oct 28, 2020 at 07:25:45PM +0100, Jann Horn wrote: > On Wed, Oct 28, 2020 at 6:52 PM Rich Felker wrote: > > On Wed, Oct 28, 2020 at 06:34:56PM +0100, Jann Horn wrote: > > > On Wed, Oct 28, 2020 at 5:49 PM Rich Felker wrote: > > > > On Wed, Oct 28, 2020 at 01:42:13PM +0100, Jann Horn wrote

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-28 Thread Rich Felker
On Wed, Oct 28, 2020 at 07:39:41PM +0100, Jann Horn wrote: > On Wed, Oct 28, 2020 at 7:35 PM Rich Felker wrote: > > On Wed, Oct 28, 2020 at 07:25:45PM +0100, Jann Horn wrote: > > > On Wed, Oct 28, 2020 at 6:52 PM Rich Felker wrote: > > > > On Wed, Oct 28, 2020 at 06:34:56PM +0100, Jann Horn wrote

[seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-28 Thread Camille Mougey
Hello, (This is my first message to the kernel list, I hope I'm doing it right) >From my understanding, there is no way to delay the activation of seccomp filters, for instance "until an _execve_ call". But this might be useful, especially for tools who sandbox other, non-cooperative, executables

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