[22.10 FEAT] Enablement for MIO Instructions - rdma-core part

Bug #1959544 reported by bugproxy
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
rdma-core (Ubuntu)
Fix Released
High
Canonical Server

Bug Description

Enablement for MIO Instructions - rdma-core part

Feature Description

Make use of the new PCI Load/Store instructions in the rdma-core package.

The existing support for rdma-core uses the privileged functions for RDMA traffic, which rely on add'l syscalls. Though syscalls on s390 are said to be not as expensive as on other platforms, it still defeats the purpose of the userspace RDMA approach, and the context switches still cost us.
Furthermore, the new instructions operate on virtual addresses instead of function handles, with Millicode handling the address translation. This is more similar to real MMIO, and allows for real re-mapping..

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-196212 severity-high targetmilestone-inin2204
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2022-01-30 22:11 EDT-------
This also has a kernel part:
Canonical LP#1959543 - IBM BZ#196211 [22.04 FEAT] Enablement for MIO Instructions - kernel part

Revision history for this message
Frank Heimes (fheimes) wrote : Re: [22.04 FEAT] Enablement for MIO Instructions - rdma-core part

Please share the rdma-core version that incl. this 'enablement for MIO instructions for s390x' and/or the needed commit IDs - updating ticket to Incomplete for now...

affects: linux (Ubuntu) → rdma-core (Ubuntu)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Changed in rdma-core (Ubuntu):
importance: Undecided → High
Changed in ubuntu-z-systems:
importance: Undecided → High
Changed in rdma-core (Ubuntu):
status: New → Incomplete
Changed in ubuntu-z-systems:
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2022-02-28 10:33 EDT-------
The code for this feature has just been merged into rdma-core upstream a few minutes ago: https://github.com/linux-rdma/rdma-core/pull/1122

I would thus expect it to be included in versions >v39.0

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Incomplete → New
Changed in rdma-core (Ubuntu):
status: Incomplete → New
Revision history for this message
Frank Heimes (fheimes) wrote : Re: [22.04 FEAT] Enablement for MIO Instructions - rdma-core part

Unfortunately we are now past feature freeze, which was last Thu the 24th of February.
Version 39.0-1 landed in jammy (22.04).
Since this is about z15 hw exploitation, I /think/ there is a little chance to SRU this later.
But this needs now further investigation and discussions ...

Changed in rdma-core (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Canonical Server Team (canonical-server)
Revision history for this message
Frank Heimes (fheimes) wrote :

@Niklas btw. do you have an indication when a new version > v39.0 might arrive?

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2022-03-15 06:29 EDT-------
This item did not make it in time for jammy, therefore moving to Ubuntu 22.10.
Updating target milestone from 22.04 ==> 22.10

tags: added: targetmilestone-inin2210
removed: targetmilestone-inin2204
Frank Heimes (fheimes)
summary: - [22.04 FEAT] Enablement for MIO Instructions - rdma-core part
+ [22.10 FEAT] Enablement for MIO Instructions - rdma-core part
Changed in ubuntu-z-systems:
status: New → Incomplete
Changed in rdma-core (Ubuntu):
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-04-11 07:31 EDT-------
(In reply to comment #12)
> This item did not make it in time for jammy, therefore moving to Ubuntu
> 22.10.
> Updating target milestone from 22.04 ==> 22.10

This feature made it into upstream rdma-core v40. Is there information already if this will be available in 22.10?
(https://github.com/linux-rdma/rdma-core/releases/tag/v40.0)

Revision history for this message
Benjamin Drung (bdrung) wrote :

I will update rdma-core to v40 in Debian soonish. Then this version can by synced. Expect this version in 22.10 quite early in the release cycle.

Revision history for this message
Frank Heimes (fheimes) wrote :

That's great - thx Benjamin!

Revision history for this message
Benjamin Drung (bdrung) wrote :

Uploaded rdma-core 40.0-1 and synced to Ubuntu. It's in kinetic-proposed now.

Revision history for this message
Frank Heimes (fheimes) wrote :

Fantastic, thx Benjamin!
(Updating status to Fix Committed.)

Changed in rdma-core (Ubuntu):
status: Incomplete → Fix Committed
Changed in ubuntu-z-systems:
status: Incomplete → Fix Committed
Revision history for this message
Frank Heimes (fheimes) wrote :

Meanwhile rdma-core 40.0-1 left proposed and landed.
Updating this LP bug to Fix Released and closing it.

Changed in rdma-core (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.