Project

General

Profile

Actions

Feature #8703

closed

pci/npe DDI_CTLOPS_REGSIZE should be 64-bit aware

Added by Robert Mustacchi about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2017-10-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The DDI_CTLOPS_REGSIZE is an argument to ddi_ctlops. It takes an off_t; however, the npe and pci drivers always truncate the value to 32-bit quantities. As we're cleaning up 8702, we should go through and take care of these here as well. One wrinkle is that these values are generally a uint64_t; however, we use an off_t, which is a signed quantity. If we have something in that upper bit, we're unlikely to be able to represent it anyways and do anything useful with it and that we'd need a new DDI interface.


Related issues

Related to illumos gate - Bug #8702: PCI addresses with physaddr > 0xffffffff can't be mapped inClosedRobert Mustacchi2017-10-04

Actions
Actions

Also available in: Atom PDF