CVS log for src/sys/arch/arm/acpi/acpi_machdep.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / acpi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 9 21:56:19 2024 UTC (39 hours, 56 minutes ago) by jmcneill
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +13 -3
lines
arm64: acpi: Honour DMA memory address limit for named components.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Oct 15 11:07:38 2022 UTC (2 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Use "non-posted" instead of "strongly ordered" to describe nGnRnE mappings
Rename the following defines:
- _ARM_BUS_SPACE_MAP_STRONGLY_ORDERED to BUS_SPACE_MAP_NONPOSTED
- PMAP_DEV_SO to PMAP_DEV_NP
- LX_BLKPAG_ATTR_DEVICE_MEM_SO to LX_BLKPAG_ATTR_DEVICE_MEM_NP
Rename the following option:
- AARCH64_DEVICE_MEM_STRONGLY_ORDERED to AARCH64_DEVICE_MEM_NONPOSTED
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 8 10:28:26 2021 UTC (3 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +130 -9
lines
arm: ACPI: Add support for simple sharing of platform interrupts
Allow sharing of platform interrupts provided that the type, ipl, and
mpsafe-ness are the same.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Aug 7 18:40:45 2021 UTC (3 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
acpi: DMA: Use acpi_resource_parse_any to parse _DMA resources
_DMA resources really should be marked ResourceProducer, so use
acpi_resource_parse_any to pick these up.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:42 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -8
lines
Merge thorpej-cfargs2.
Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 16:51:26 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +5 -8
lines
Adapt to CFARGS().
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:25 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -5
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 17 18:03:32 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +3 -3
lines
acpi_md_gtdt_probe(): Fix paste-o in interface attribute name.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 2 22:17:37 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -5
lines
config_found_ia() -> config_found() w/ CFARG_IATTR.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:37:47 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -7
lines
Sync w/ HEAD.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Dec 13 20:24:26 2020 UTC (3 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -7
lines
Add MI support for attaching drivers to arbitrary System Description
Tables.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Oct 24 07:08:22 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Trailing whitespace
Revision 1.6.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:32 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.6.4.3: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.3: +58 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.6.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:27 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.6.4.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.2: +179 -3
lines
Merge changes from current as of 20200406
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:37 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +28 -8
lines
Sync with head.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 21 11:24:47 2020 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +28 -8
lines
Provide a properly constrained 32-bit DMA tag to ACPI.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Dec 31 17:26:04 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -9
lines
Rely on 32/64-bit overflow to calculate translation offsets. Store this
as a separate ar_xbase field in acpi_mem instead of having separate
ar_offset and ar_decode fields.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:54:22 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +92 -56
lines
Create bus_dma tags for each device node based on _CCA and _DMA properties
found by walking up the device node tree. These tags encode range
restrictions, address translations, and whether or not the device is
cache coherent.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Dec 31 11:42:46 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +29 -8
lines
The DMA restrictions may not be defined in the direct parent of a device,
so search up the tree for a module device.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Dec 30 19:50:29 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +60 -4
lines
If a device node is a child of a module device, and the module device declares DMA range restrictions, use them.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 29 23:47:56 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +22 -2
lines
Allow MD code to provide custom bus_dma tags on a per-node basis. On Arm
this is required to return non-coherent bus_dma tags for device nodes with
_CCA=0
Revision 1.6.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 29 09:27:10 2019 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.6.6.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.2: +17 -3
lines
Pull up following revision(s) (requested by jmcneill in ticket #586):
sys/arch/arm/nvidia/tegra_pcie.c: revision 1.27
sys/arch/aarch64/aarch64/pmap.c: revision 1.57
sys/arch/aarch64/aarch64/locore.S: revision 1.48
sys/arch/aarch64/include/armreg.h: revision 1.29
sys/arch/aarch64/aarch64/pmap.c: revision 1.58
sys/arch/aarch64/aarch64/locore.S: revision 1.49
sys/arch/arm/acpi/acpipchb.c: revision 1.14
sys/arch/aarch64/aarch64/genassym.cf: revision 1.16
sys/arch/arm/acpi/acpi_machdep.c: revision 1.13
sys/arch/aarch64/include/pmap.h: revision 1.27
sys/arch/aarch64/aarch64/genassym.cf: revision 1.17
sys/arch/aarch64/include/pmap.h: revision 1.28
sys/arch/arm/fdt/pcihost_fdtvar.h: revision 1.3
sys/arch/arm/include/bus_defs.h: revision 1.14
sys/arch/aarch64/aarch64/bus_space.c: revision 1.9
sys/arch/arm/fdt/pcihost_fdt.c: revision 1.12
sys/arch/aarch64/conf/files.aarch64: revision 1.15
sys/arch/aarch64/conf/files.aarch64: revision 1.16
sys/arch/arm/rockchip/rk3399_pcie.c: revision 1.9
Enable early write acknowledge for device memory mappings.
Do not use Early Write Acknowledge for PCIe I/O and config space.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Dec 28 17:19:43 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +17 -3
lines
Do not use Early Write Acknowledge for PCIe I/O and config space.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:34:23 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -6
lines
Implement acpi_md_intr_mask and acpi_md_intr_unmask
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 22 15:57:06 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +16 -2
lines
Add acpi_intr_mask() and acpi_intr_unmask() which, following the pre-existing
ACPI software layering model, are wrappers around acpi_md_intr_mask() and
acpi_md_intr_unmask(), which in turn are wrappers around intr_mask() and
intr_unmask().
XXX ARM and IA64 implementations of acpi_md_intr_mask() and
acpi_md_intr_unmask() are just stubs for now.
Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 12 17:32:09 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC1
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.6.1: +4 -4
lines
Pull up following revision(s) (requested by skrll in ticket #48):
sys/arch/arm/acpi/acpi_machdep.c: revision 1.9
sys/arch/arm/acpi/acpi_machdep.c: revision 1.10
Correct the test for writeable memory. There aren't any users of this at
this point.
Use same style test as acpi_md_OsWritable
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 12 15:37:26 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Use same style test as acpi_md_OsWritable
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 12 15:29:48 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Correct the test for writeable memory. There aren't any users of this at
this point.
Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 4 11:37:56 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +58 -3
lines
Pull up following revision(s) (requested by jmcneill in ticket #3):
sys/stand/efiboot/efiacpi.c: revision 1.4
sys/stand/efiboot/efifdt.c: revision 1.18
sys/stand/efiboot/version: revision 1.12
sys/arch/arm/acpi/acpi_machdep.c: revision 1.7
sys/arch/arm/acpi/acpi_machdep.c: revision 1.8
Add full UEFI memory map to the /chosen node.
-
acpi_md_OsMapMemory can be used for both normal and device memory. Use the
UEFI memory map to determine how to map a given region.
Always map ACPI table memory as normal memory. Always map device memory as device memory.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 18:59:10 2019 UTC (5 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -10
lines
Always map ACPI table memory as normal memory. Always map device memory as device memory.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 1 13:13:51 2019 UTC (5 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +48 -3
lines
acpi_md_OsMapMemory can be used for both normal and device memory. Use the
UEFI memory map to determine how to map a given region.
Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:50 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.1: +283 -0
lines
Sync with HEAD
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:17 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +37 -11
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.6.4.1
Fri Nov 16 23:03:55 2018 UTC (6 years ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.6: +0 -283
lines
file acpi_machdep.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 16 23:03:55 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi,
netbsd-9
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +15 -8
lines
Add MD functions for establishing and disestablishing interrupt handlers.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 12 12:56:05 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -2
lines
Support building kernels with ACPI and no PCI.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 21 13:34:33 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +18 -5
lines
Don't make assumptions about the order of MADT subtables. Ensure that we
attach CPUs before the interrupt controller driver.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:24 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +257 -0
lines
Sync with head
Revision 1.3.2.1
Tue Oct 16 16:38:22 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -257
lines
file acpi_machdep.c was added on branch pgoyette-compat on 2018-10-20 06:58:24 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 16 16:38:22 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Fix size calculation in acpi_md_OsUnmapMemory
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 15 11:35:03 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2
lines
Add ARM ACPI PCI support.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 12 22:12:11 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
Add ARM MD ACPI implementation.
CVSweb <webmaster@jp.NetBSD.org>