Displaying 12 results from an estimated 12 matches for "register_pm_notifi".
Did you mean:
register_pm_notifier
2019 Jun 03
1
[PATCH v3 2/8] s390/cio: introduce DMA pools to cio
On Mon, 3 Jun 2019 14:09:02 +0200
Michael Mueller <mimu at linux.ibm.com> wrote:
> >> @@ -1059,16 +1168,19 @@ static int __init css_bus_init(void)
> >> if (ret)
> >> goto out_unregister;
> >> ret = register_pm_notifier(&css_power_notifier);
> >> - if (ret) {
> >> - unregister_reboot_notifier(&css_reboot_notifier);
> >> - goto out_unregister;
> >> - }
> >> + if (ret)
> >> + goto out_unregister_rn;
> >> + ret = cio_dma_pool_init();
> >...
2019 Jun 03
5
[PATCH v3 2/8] s390/cio: introduce DMA pools to cio
...K(64);
> + css->device.dma_mask = &css->device.coherent_dma_mask;
>
> mutex_init(&css->mutex);
> css->cssid = chsc_get_cssid(nr);
(...)
> @@ -1059,16 +1168,19 @@ static int __init css_bus_init(void)
> if (ret)
> goto out_unregister;
> ret = register_pm_notifier(&css_power_notifier);
> - if (ret) {
> - unregister_reboot_notifier(&css_reboot_notifier);
> - goto out_unregister;
> - }
> + if (ret)
> + goto out_unregister_rn;
> + ret = cio_dma_pool_init();
> + if (ret)
> + goto out_unregister_rn;
Don't you also nee...
2019 Jun 03
5
[PATCH v3 2/8] s390/cio: introduce DMA pools to cio
...K(64);
> + css->device.dma_mask = &css->device.coherent_dma_mask;
>
> mutex_init(&css->mutex);
> css->cssid = chsc_get_cssid(nr);
(...)
> @@ -1059,16 +1168,19 @@ static int __init css_bus_init(void)
> if (ret)
> goto out_unregister;
> ret = register_pm_notifier(&css_power_notifier);
> - if (ret) {
> - unregister_reboot_notifier(&css_reboot_notifier);
> - goto out_unregister;
> - }
> + if (ret)
> + goto out_unregister_rn;
> + ret = cio_dma_pool_init();
> + if (ret)
> + goto out_unregister_rn;
Don't you also nee...
2019 Jun 03
0
[PATCH v3 2/8] s390/cio: introduce DMA pools to cio
...>device.coherent_dma_mask;
>>
>> mutex_init(&css->mutex);
>> css->cssid = chsc_get_cssid(nr);
>
> (...)
>
>> @@ -1059,16 +1168,19 @@ static int __init css_bus_init(void)
>> if (ret)
>> goto out_unregister;
>> ret = register_pm_notifier(&css_power_notifier);
>> - if (ret) {
>> - unregister_reboot_notifier(&css_reboot_notifier);
>> - goto out_unregister;
>> - }
>> + if (ret)
>> + goto out_unregister_rn;
>> + ret = cio_dma_pool_init();
>> + if (ret)
>> + goto out_un...
2019 May 29
0
[PATCH v3 2/8] s390/cio: introduce DMA pools to cio
...+ cio_gp_dma_free(cio_dma_pool, cpu_addr, size);
+}
+
/*
* Now that the driver core is running, we can setup our channel subsystem.
* The struct subchannel's are created during probing.
@@ -1059,16 +1168,19 @@ static int __init css_bus_init(void)
if (ret)
goto out_unregister;
ret = register_pm_notifier(&css_power_notifier);
- if (ret) {
- unregister_reboot_notifier(&css_reboot_notifier);
- goto out_unregister;
- }
+ if (ret)
+ goto out_unregister_rn;
+ ret = cio_dma_pool_init();
+ if (ret)
+ goto out_unregister_rn;
css_init_done = 1;
/* Enable default isc for I/O subchannels....
2019 Jun 06
0
[PATCH v4 2/8] s390/cio: introduce DMA pools to cio
...+ cio_gp_dma_free(cio_dma_pool, cpu_addr, size);
+}
+
/*
* Now that the driver core is running, we can setup our channel subsystem.
* The struct subchannel's are created during probing.
@@ -1059,16 +1177,21 @@ static int __init css_bus_init(void)
if (ret)
goto out_unregister;
ret = register_pm_notifier(&css_power_notifier);
- if (ret) {
- unregister_reboot_notifier(&css_reboot_notifier);
- goto out_unregister;
- }
+ if (ret)
+ goto out_unregister_rn;
+ ret = cio_dma_pool_init();
+ if (ret)
+ goto out_unregister_pmn;
css_init_done = 1;
/* Enable default isc for I/O subchannels....
2019 Jun 12
0
[PATCH v5 2/8] s390/cio: introduce DMA pools to cio
...+ cio_gp_dma_free(cio_dma_pool, cpu_addr, size);
+}
+
/*
* Now that the driver core is running, we can setup our channel subsystem.
* The struct subchannel's are created during probing.
@@ -1059,16 +1179,21 @@ static int __init css_bus_init(void)
if (ret)
goto out_unregister;
ret = register_pm_notifier(&css_power_notifier);
- if (ret) {
- unregister_reboot_notifier(&css_reboot_notifier);
- goto out_unregister;
- }
+ if (ret)
+ goto out_unregister_rn;
+ ret = cio_dma_pool_init();
+ if (ret)
+ goto out_unregister_pmn;
css_init_done = 1;
/* Enable default isc for I/O subchannels....
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 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
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
2019 Jun 06
15
[PATCH v4 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 Jun 06
15
[PATCH v4 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