#
160179ea |
| 02-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
Remove now-redundant calls to device_delete_children
Earlier calls to bus_generic_detach now take care of deleting children.
Differential Revision: https://reviews.freebsd.org/D47962
|
#
18250ec6 |
| 06-Dec-2024 |
John Baldwin <jhb@FreeBSD.org> |
Replace calls to bus_generic_attach with bus_attach_children
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
|
Revision tags: release/14.2.0 |
|
#
5c7af849 |
| 01-Nov-2024 |
John Baldwin <jhb@FreeBSD.org> |
nvdimm: Use a bus_child_deleted method to free ivars for children
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47363
|
Revision tags: release/13.4.0 |
|
#
a05a6804 |
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY
Sponsored by: Netflix
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
3ff49706 |
| 13-Oct-2022 |
Robert Herndon <Robert.Herndon@Dell.com> |
Fix Coverity issue in the NVDIMM driver
Summary: Coverity reports a potential memory leak in the nvdimm driver. Examination shows it's real; fix it.
Sponsored by: Dell Technologies MFC after: 1w
T
Fix Coverity issue in the NVDIMM driver
Summary: Coverity reports a potential memory leak in the nvdimm driver. Examination shows it's real; fix it.
Sponsored by: Dell Technologies MFC after: 1w
Test Plan: Changes in use at $WORK
Reviewers: robert.herndon_dell.com, vangyzen, bret_ketchum_dell.com
Subscribers: imp, badger
Differential Revision: https://reviews.freebsd.org/D38676
show more ...
|
Revision tags: release/13.1.0 |
|
#
534c3629 |
| 09-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
nvdimm: Remove unused devclass arguments to DRIVER_MODULE.
|
#
cae7d9ec |
| 28-Feb-2022 |
Warner Losh <imp@FreeBSD.org> |
bus: Add ACPI locator support
Add support for printing ACPI paths. This is a bit of a degenerate case for this interface since it's always just the device handle if the device has one. But it is ill
bus: Add ACPI locator support
Add support for printing ACPI paths. This is a bit of a degenerate case for this interface since it's always just the device handle if the device has one. But it is illustrtive of how to do this for a few nodes in the tree.
Sponsored by: Netflix Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D32748
show more ...
|
Revision tags: release/12.3.0 |
|
#
ddfc9c4c |
| 23-Jun-2021 |
Warner Losh <imp@FreeBSD.org> |
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates an sbuf into char * and len. The current interface suffers issues of what to do in cases of truncation, etc. Instead, migrate all these functions to using struct sbuf and these issues go away. The caller is also in charge of any memory allocation and/or expansion that's needed during this process.
Create a bus_generic_child_{pnpinfo,location} and make it default. It just returns success. This is for those busses that have no information for these items. Migrate the now-empty routines to using this as appropriate.
Document these new interfaces with man pages, and oversight from before.
Reviewed by: jhb, bcr Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29937
show more ...
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
cf8b104f |
| 12-Nov-2019 |
D Scott Phillips <scottph@FreeBSD.org> |
nvdimm(4): Only expose namespaces for accessible data SPAs
Apply the same user accessible filter to namespaces as is applied to full-SPA devices. Also, explicitly filter out control region SPAs whic
nvdimm(4): Only expose namespaces for accessible data SPAs
Apply the same user accessible filter to namespaces as is applied to full-SPA devices. Also, explicitly filter out control region SPAs which don't expose the nvdimm data area.
Reviewed by: cem Approved by: scottl (mentor) MFC after: 1 week Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D21987
show more ...
|
Revision tags: release/12.1.0 |
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
31f1c8fc |
| 02-Oct-2019 |
Conrad Meyer <cem@FreeBSD.org> |
nvdimm: Fix error path mis-free
Regression introduced in r343629 when malloc result was renamed from spa to spa_mapping and the 'spa' name was instead used to iterate a table, but the free() target
nvdimm: Fix error path mis-free
Regression introduced in r343629 when malloc result was renamed from spa to spa_mapping and the 'spa' name was instead used to iterate a table, but the free() target was not updated.
Reviewed by: kib, scottph Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21871
show more ...
|
#
963c89ff |
| 27-Sep-2019 |
Conrad Meyer <cem@FreeBSD.org> |
nvdimm(4): Extract ACPI root bus driver
No functional change intended.
The intent is to add a "legacy" e820 pmem newbus bus for nvdimm device in a subsequent revision, and it's a little more clear
nvdimm(4): Extract ACPI root bus driver
No functional change intended.
The intent is to add a "legacy" e820 pmem newbus bus for nvdimm device in a subsequent revision, and it's a little more clear if the parent buses get independent source files.
Quite a lot of ACPI-specific logic is left in nvdimm.c; disentangling that is a much larger change (and probably not especially useful).
Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21813
show more ...
|