Displaying 20 results from an estimated 23 matches for "ccw_device_create_consol".
Did you mean:
ccw_device_create_console
2019 Jun 03
2
[PATCH v3 3/8] s390/cio: add basic protected virtualization support
...+++------
> drivers/s390/cio/device_status.c | 24 +++++++-------
> drivers/s390/cio/io_sch.h | 20 +++++++++---
> drivers/s390/virtio/virtio_ccw.c | 10 ------
> 10 files changed, 163 insertions(+), 83 deletions(-)
(...)
> @@ -1593,20 +1625,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> return ERR_CAST(sch);
>
> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> - if (!io_priv) {
> - put_device(&sch->dev);
> - return ERR_PTR(-ENOMEM);
> - }
> + if (!io_priv)
> + goto err_priv;
> + io_priv->dma_a...
2019 Jun 03
2
[PATCH v3 3/8] s390/cio: add basic protected virtualization support
...+++------
> drivers/s390/cio/device_status.c | 24 +++++++-------
> drivers/s390/cio/io_sch.h | 20 +++++++++---
> drivers/s390/virtio/virtio_ccw.c | 10 ------
> 10 files changed, 163 insertions(+), 83 deletions(-)
(...)
> @@ -1593,20 +1625,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> return ERR_CAST(sch);
>
> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> - if (!io_priv) {
> - put_device(&sch->dev);
> - return ERR_PTR(-ENOMEM);
> - }
> + if (!io_priv)
> + goto err_priv;
> + io_priv->dma_a...
2019 Jun 03
1
[PATCH v3 3/8] s390/cio: add basic protected virtualization support
...3 Jun 2019 14:45:03 +0200
Michael Mueller <mimu at linux.ibm.com> wrote:
> On 03.06.19 14:06, Cornelia Huck wrote:
> > On Wed, 29 May 2019 14:26:52 +0200
> > Michael Mueller <mimu at linux.ibm.com> wrote:
> >> @@ -1593,20 +1625,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> >> return ERR_CAST(sch);
> >>
> >> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> >> - if (!io_priv) {
> >> - put_device(&sch->dev);
> >> - return ERR_PTR(-ENOMEM);
> >> - }
&g...
2019 May 27
3
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...> drivers/s390/cio/device_status.c | 24 +++++++--------
> drivers/s390/cio/io_sch.h | 20 +++++++++----
> drivers/s390/virtio/virtio_ccw.c | 10 -------
> 10 files changed, 164 insertions(+), 83 deletions(-)
>
(...)
> @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> return ERR_CAST(sch);
>
> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> - if (!io_priv) {
> - put_device(&sch->dev);
> - return ERR_PTR(-ENOMEM);
> - }
> + if (!io_priv)
> + goto err_priv;
> + io_priv->dma_a...
2019 May 27
3
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...> drivers/s390/cio/device_status.c | 24 +++++++--------
> drivers/s390/cio/io_sch.h | 20 +++++++++----
> drivers/s390/virtio/virtio_ccw.c | 10 -------
> 10 files changed, 164 insertions(+), 83 deletions(-)
>
(...)
> @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> return ERR_CAST(sch);
>
> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> - if (!io_priv) {
> - put_device(&sch->dev);
> - return ERR_PTR(-ENOMEM);
> - }
> + if (!io_priv)
> + goto err_priv;
> + io_priv->dma_a...
2019 May 27
2
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
.../s390/cio/io_sch.h | 20 +++++++++----
> > > drivers/s390/virtio/virtio_ccw.c | 10 -------
> > > 10 files changed, 164 insertions(+), 83 deletions(-)
> > >
> >
> > (...)
> >
> > > @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> > > return ERR_CAST(sch);
> > >
> > > io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> > > - if (!io_priv) {
> > > - put_device(&sch->dev);
> > > - return ERR_PTR(-ENOMEM);
> > > -...
2019 May 27
2
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
.../s390/cio/io_sch.h | 20 +++++++++----
> > > drivers/s390/virtio/virtio_ccw.c | 10 -------
> > > 10 files changed, 164 insertions(+), 83 deletions(-)
> > >
> >
> > (...)
> >
> > > @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> > > return ERR_CAST(sch);
> > >
> > > io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> > > - if (!io_priv) {
> > > - put_device(&sch->dev);
> > > - return ERR_PTR(-ENOMEM);
> > > -...
2019 Apr 11
0
[RFC PATCH 05/12] s390/cio: add protected virtualization support to cio
On Fri, 5 Apr 2019, Halil Pasic wrote:
> @@ -1593,20 +1609,29 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> return ERR_CAST(sch);
>
> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> - if (!io_priv) {
> - put_device(&sch->dev);
> - return ERR_PTR(-ENOMEM);
> - }
> + if (!io_priv)
> + goto err_priv;
> + io_priv->dma_a...
2019 Jun 03
0
[PATCH v3 3/8] s390/cio: add basic protected virtualization support
...evice_status.c | 24 +++++++-------
>> drivers/s390/cio/io_sch.h | 20 +++++++++---
>> drivers/s390/virtio/virtio_ccw.c | 10 ------
>> 10 files changed, 163 insertions(+), 83 deletions(-)
>
> (...)
>
>> @@ -1593,20 +1625,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
>> return ERR_CAST(sch);
>>
>> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
>> - if (!io_priv) {
>> - put_device(&sch->dev);
>> - return ERR_PTR(-ENOMEM);
>> - }
>> + if (!io_priv)
>> +...
2019 May 27
0
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...| 24 +++++++--------
> > drivers/s390/cio/io_sch.h | 20 +++++++++----
> > drivers/s390/virtio/virtio_ccw.c | 10 -------
> > 10 files changed, 164 insertions(+), 83 deletions(-)
> >
>
> (...)
>
> > @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
> > return ERR_CAST(sch);
> >
> > io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
> > - if (!io_priv) {
> > - put_device(&sch->dev);
> > - return ERR_PTR(-ENOMEM);
> > - }
> > + if (!io_priv)
> &g...
2019 May 29
0
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...| 20 +++++++++----
>>>> drivers/s390/virtio/virtio_ccw.c | 10 -------
>>>> 10 files changed, 164 insertions(+), 83 deletions(-)
>>>>
>>>
>>> (...)
>>>
>>>> @@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
>>>> return ERR_CAST(sch);
>>>>
>>>> io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
>>>> - if (!io_priv) {
>>>> - put_device(&sch->dev);
>>>> - return ERR_PTR(-ENOMEM);
&g...
2019 Apr 26
0
[PATCH 06/10] s390/cio: add basic protected virtualization support
...;lock);
out_free:
+ dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
+ io_priv->dma_area, io_priv->dma_area_dma);
kfree(io_priv);
sysfs_remove_group(&sch->dev.kobj, &io_subchannel_attr_group);
return 0;
@@ -1593,20 +1623,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
return ERR_CAST(sch);
io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
- if (!io_priv) {
- put_device(&sch->dev);
- return ERR_PTR(-ENOMEM);
- }
+ if (!io_priv)
+ goto err_priv;
+ io_priv->dma_area = dma_alloc_coherent(&sch->dev,
+ si...
2019 May 23
0
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...;lock);
out_free:
+ dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
+ io_priv->dma_area, io_priv->dma_area_dma);
kfree(io_priv);
sysfs_remove_group(&sch->dev.kobj, &io_subchannel_attr_group);
return 0;
@@ -1593,20 +1622,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
return ERR_CAST(sch);
io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
- if (!io_priv) {
- put_device(&sch->dev);
- return ERR_PTR(-ENOMEM);
- }
+ if (!io_priv)
+ goto err_priv;
+ io_priv->dma_area = dma_alloc_coherent(&sch->dev,
+ si...
2019 May 29
0
[PATCH v3 3/8] s390/cio: add basic protected virtualization support
...;lock);
out_free:
+ dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
+ io_priv->dma_area, io_priv->dma_area_dma);
kfree(io_priv);
sysfs_remove_group(&sch->dev.kobj, &io_subchannel_attr_group);
return 0;
@@ -1593,20 +1625,31 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
return ERR_CAST(sch);
io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
- if (!io_priv) {
- put_device(&sch->dev);
- return ERR_PTR(-ENOMEM);
- }
+ if (!io_priv)
+ goto err_priv;
+ io_priv->dma_area = dma_alloc_coherent(&sch->dev,
+ si...
2019 Jun 12
0
[PATCH v5 3/8] s390/cio: add basic protected virtualization support
...;lock);
out_free:
+ dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
+ io_priv->dma_area, io_priv->dma_area_dma);
kfree(io_priv);
sysfs_remove_group(&sch->dev.kobj, &io_subchannel_attr_group);
return 0;
@@ -1593,20 +1625,32 @@ struct ccw_device * __init ccw_device_create_console(struct ccw_driver *drv)
return ERR_CAST(sch);
io_priv = kzalloc(sizeof(*io_priv), GFP_KERNEL | GFP_DMA);
- if (!io_priv) {
- put_device(&sch->dev);
- return ERR_PTR(-ENOMEM);
- }
+ if (!io_priv)
+ goto err_priv;
+ io_priv->dma_area = dma_alloc_coherent(&sch->dev,
+ si...
2019 May 29
16
[PATCH v3 0/8] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of
bounce buffers for I/O. While support for this was built into the virtio
core, virtio-ccw wasn't changed accordingly.
Some background on technology (not part of this series) and the
terminology used.
* Protected Virtualization (PV):
Protected Virtualization guarantees, that non-shared memory of a guest
that operates in PV
2019 May 23
18
[PATCH v2 0/8] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of
bounce buffers for I/O. While support for this was built into the virtio
core, virtio-ccw wasn't changed accordingly.
Some background on technology (not part of this series) and the
terminology used.
* Protected Virtualization (PV):
Protected Virtualization guarantees, that non-shared memory of a guest
that operates in PV
2019 Apr 26
33
[PATCH 00/10] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of
bounce buffers for I/O. While support for this was built into the virtio
core, virtio-ccw wasn't changed accordingly.
Some background on technology (not part of this series) and the
terminology used.
* Protected Virtualization (PV):
Protected Virtualization guarantees, that non-shared memory of a guest
that operates in PV
2019 Apr 26
33
[PATCH 00/10] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of
bounce buffers for I/O. While support for this was built into the virtio
core, virtio-ccw wasn't changed accordingly.
Some background on technology (not part of this series) and the
terminology used.
* Protected Virtualization (PV):
Protected Virtualization guarantees, that non-shared memory of a guest
that operates in PV
2019 Jun 12
21
[PATCH v5 0/8] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of
bounce buffers for I/O. While support for this was built into the virtio
core, virtio-ccw wasn't changed accordingly.
Some background on technology (not part of this series) and the
terminology used.
* Protected Virtualization (PV):
Protected Virtualization guarantees, that non-shared memory of a guest
that operates in PV