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)
Thu, Dec 19, 8:26 PM
Unknown Object (File)
Nov 1 2024, 2:32 PM
Unknown Object (File)
Oct 4 2024, 7:49 AM
Unknown Object (File)
Sep 25 2024, 2:54 AM
Unknown Object (File)
Sep 24 2024, 8:15 AM
Unknown Object (File)
Sep 24 2024, 1:56 AM
Unknown Object (File)
Sep 18 2024, 2:45 AM
Unknown Object (File)
Sep 17 2024, 8:21 AM
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