search for: setup_ring

Displaying 9 results from an estimated 9 matches for "setup_ring".

Did you mean: setup_rings
2011 Nov 03
2
grep fixed (?) in 2.14
#This is probably due to my incomplete understanding of grep, but the below code has been working for some time to #search for .R with anything in front of it and return a list of scripts to source. Likely, the syntax for the #grep statement has been wrong all along. scripts2source <- (c("/home/ssefick/R_scripts/Convert_package.R",
2018 Sep 13
2
We need a patch in the kernel for tpm
Hi! Think I found a reference to the problem(s) I am seeing with xen-tpmfront in my setup on the net: https://patchwork.kernel.org/patch/9485637/ This patch has not been officially entered and it is not included in the kernel provided in SIG virt either Can we please get it in ? Best Dag
2018 Sep 13
2
We need a patch in the kernel for tpm
...it up from here. The patch was the following: =================================== diff --git a/drivers/char/tpm/xen-tpmfront.c b/drivers/char/tpm/xen-tpmfront.c index 5aaa268..dd83a07 100644 --- a/drivers/char/tpm/xen-tpmfront.c +++ b/drivers/char/tpm/xen-tpmfront.c @@ -203,7 +203,7 @@ static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv) return -ENOMEM; } - rv = xenbus_grant_ring(dev, &priv->shr, 1, &gref); + rv = xenbus_grant_ring(dev, priv->shr, 1, &gref); if (rv < 0) return rv; ==================================== Best Dag
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...SET_KICK_RW_IO = 0x4018, > +}; > + > +/* > + * Virtual h/w commands. > + */ > + > +enum PVSCSICommands { > + PVSCSI_CMD_FIRST = 0, /* has to be first */ > + > + PVSCSI_CMD_ADAPTER_RESET = 1, > + PVSCSI_CMD_ISSUE_SCSI = 2, > + PVSCSI_CMD_SETUP_RINGS = 3, > + PVSCSI_CMD_RESET_BUS = 4, > + PVSCSI_CMD_RESET_DEVICE = 5, > + PVSCSI_CMD_ABORT_CMD = 6, > + PVSCSI_CMD_CONFIG = 7, > + PVSCSI_CMD_SETUP_MSG_RING = 8, > + PVSCSI_CMD_DEVICE_UNPLUG = 9, > + > + PVSCSI_CMD_LAST...
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...SET_KICK_RW_IO = 0x4018, > +}; > + > +/* > + * Virtual h/w commands. > + */ > + > +enum PVSCSICommands { > + PVSCSI_CMD_FIRST = 0, /* has to be first */ > + > + PVSCSI_CMD_ADAPTER_RESET = 1, > + PVSCSI_CMD_ISSUE_SCSI = 2, > + PVSCSI_CMD_SETUP_RINGS = 3, > + PVSCSI_CMD_RESET_BUS = 4, > + PVSCSI_CMD_RESET_DEVICE = 5, > + PVSCSI_CMD_ABORT_CMD = 6, > + PVSCSI_CMD_CONFIG = 7, > + PVSCSI_CMD_SETUP_MSG_RING = 8, > + PVSCSI_CMD_DEVICE_UNPLUG = 9, > + > + PVSCSI_CMD_LAST...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...; + base += PAGE_SIZE; > + } > + > + memset(adapter->rings_state, 0, PAGE_SIZE); > + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); > + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, > + &cmd, sizeof(cmd)); > + > + if (adapter->use_msg) { > + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; > + > + cmd_msg.numPages = adapter->msg_pages; > + > + base = adapter->msgRingPA; > + for (i = 0; i < adapter->msg_pages; i++) {...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...; + base += PAGE_SIZE; > + } > + > + memset(adapter->rings_state, 0, PAGE_SIZE); > + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); > + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, > + &cmd, sizeof(cmd)); > + > + if (adapter->use_msg) { > + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; > + > + cmd_msg.numPages = adapter->msg_pages; > + > + base = adapter->msgRingPA; > + for (i = 0; i < adapter->msg_pages; i++) {...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...gPPNs[i] = base >> PAGE_SHIFT; + base += PAGE_SIZE; + } + + memset(adapter->rings_state, 0, PAGE_SIZE); + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, + &cmd, sizeof(cmd)); + + if (adapter->use_msg) { + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; + + cmd_msg.numPages = adapter->msg_pages; + + base = adapter->msgRingPA; + for (i = 0; i < adapter->msg_pages; i++) { + cmd_msg.ringPPNs[i] = base >> PAGE_...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...gPPNs[i] = base >> PAGE_SHIFT; + base += PAGE_SIZE; + } + + memset(adapter->rings_state, 0, PAGE_SIZE); + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, + &cmd, sizeof(cmd)); + + if (adapter->use_msg) { + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; + + cmd_msg.numPages = adapter->msg_pages; + + base = adapter->msgRingPA; + for (i = 0; i < adapter->msg_pages; i++) { + cmd_msg.ringPPNs[i] = base >> PAGE_...