Patch "dt-bindings: perf: riscv,pmu: fix property dependencies" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    dt-bindings: perf: riscv,pmu: fix property dependencies

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     dt-bindings-perf-riscv-pmu-fix-property-dependencies.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 55395c53d15da3cef78b4ae13ac1ce4f90048621
Author: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
Date:   Tue Apr 4 19:03:22 2023 +0100

    dt-bindings: perf: riscv,pmu: fix property dependencies
    
    [ Upstream commit 4d276e4d3bb4a503e75086faab54f92c0a8fd368 ]
    
    Seemingly I mis-implemented the dependencies here. The OpenSBI docs only
    point out that the "riscv,event-to-mhpmcounters property is mandatory if
    riscv,event-to-mhpmevent is present". It never claims that
    riscv,event-to-mhpmcounters requires riscv,event-to-mhpmevent.
    
    Drop the dependency of riscv,event-to-mhpmcounters on
    riscv,event-to-mhpmevent.
    
    Fixes: 7e38085d9c59 ("dt-bindings: riscv: add SBI PMU event mappings")
    Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
    Reviewed-by: Atish Patra <atishp@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230404-tractor-confusing-8852e552539a@spud
    Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/Documentation/devicetree/bindings/perf/riscv,pmu.yaml b/Documentation/devicetree/bindings/perf/riscv,pmu.yaml
index a55a4d047d3fd..c8448de2f2a07 100644
--- a/Documentation/devicetree/bindings/perf/riscv,pmu.yaml
+++ b/Documentation/devicetree/bindings/perf/riscv,pmu.yaml
@@ -91,7 +91,6 @@ properties:
 
 dependencies:
   "riscv,event-to-mhpmevent": [ "riscv,event-to-mhpmcounters" ]
-  "riscv,event-to-mhpmcounters": [ "riscv,event-to-mhpmevent" ]
 
 required:
   - compatible



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux