Page MenuHomeFreeBSD

Patch to add missing Amlogic pic barriers
ClosedPublic

Authored by john-feith.com on May 7 2015, 5:07 PM.
Tags
Referenced Files
Unknown Object (File)
Mar 10 2024, 5:12 AM
Unknown Object (File)
Dec 25 2023, 6:38 AM
Unknown Object (File)
Dec 19 2023, 9:50 PM
Unknown Object (File)
Nov 16 2023, 2:16 PM
Unknown Object (File)
Nov 15 2023, 3:29 PM
Unknown Object (File)
Aug 13 2023, 4:21 AM
Unknown Object (File)
Jun 16 2023, 9:56 PM
Unknown Object (File)
May 10 2023, 4:55 PM
Subscribers

Details

Reviewers
ganbold
Summary

This follows the gic and ti/aintc code by adding additional barriers to the
Amlogic pic driver.

Test Plan

Tested on YYHD18 (aml8726-m3 SoC) ... config files coming soon.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

john-feith.com retitled this revision from to Patch to add missing Amlogic pic barriers.
john-feith.com updated this object.
john-feith.com edited the test plan for this revision. (Show Details)
john-feith.com added a reviewer: ganbold.
john-feith.com set the repository for this revision to rS FreeBSD src repository - subversion.
john-feith.com added a project: ARM.

Does arm_mask_irq() also need arm_irq_memory_barrier(nb) ?

I don't believe so and the gic as well as the ti/aintc arm_mask_irq routines
do not currently call arm_irq_memory_barrier.

The intent of arm_irq_memory_barrier is to ensure any device driver writes
have hit the hardware (thus clearing the device's interrupt line) before
the interrupt controller unmasks the interrupt.

ganbold edited edge metadata.
This revision is now accepted and ready to land.May 8 2015, 4:34 AM