summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-ibs/ipmi/intel-ipmi-oem/0005-Allow-additional-non-whitelisted-commands.patch
blob: 8d9005d2925a4799f614bc77b20ef111537d6f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From e3038d5a1d2d41595ebda920e82de94ecef0bbee Mon Sep 17 00:00:00 2001
From: Nikita Kosenkov <NKosenkov@IBS.RU>
Date: Wed, 14 Sep 2022 16:22:04 +0300
Subject: [PATCH] Allow additional non-whitelisted commands

---
 ipmi-whitelist.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ipmi-whitelist.conf b/ipmi-whitelist.conf
index 4dea509..6b65561 100644
--- a/ipmi-whitelist.conf
+++ b/ipmi-whitelist.conf
@@ -7,8 +7,8 @@
 0x00:0x05:0x7f7f   //<Chassis>:<Set Chassis Capabilities>
 0x00:0x06:0x7f7f   //<Chassis>:<Set Power Restore Policy>
 0x00:0x07:0xff7f   //<Chassis>:<Get System Restart Cause>
-0x00:0x08:0x7f7f   //<Chassis>:<Set System Boot Options>
-0x00:0x09:0xff7f   //<Chassis>:<Get System Boot Options>
+0x00:0x08:0xffff   //<Chassis>:<Set System Boot Options>
+0x00:0x09:0xffff   //<Chassis>:<Get System Boot Options>
 0x00:0x0a:0xff7f   //<Chassis>:<Set Front Panel Enables>
 0x00:0x0f:0xff7f   //<Chassis>:<Get POH Counter>
 0x04:0x00:0x7f7f   //<Sensor/Event>:<Set Event Receiver>
@@ -43,11 +43,11 @@
 0x06:0x05:0x7f7f   //<App>:<Manufacturing Test Mode>
 0x06:0x06:0xffff   //<App>:<Set ACPI Power State>
 0x06:0x07:0xffff   //<App>:<Get ACPI Power State>
-0x06:0x08:0xff7f   //<App>:<Get Device GUID>
+0x06:0x08:0xffff   //<App>:<Get Device GUID>
 0x06:0x22:0xff7f   //<App>:<Reset Watchdog Timer>
 0x06:0x24:0xff7f   //<App>:<Set Watchdog Timer>
 0x06:0x25:0xff7f   //<App>:<Get Watchdog Timer>
-0x06:0x2e:0x0000   //<App>:<Set BMC Global Enables>
+0x06:0x2e:0xffff   //<App>:<Set BMC Global Enables>
 0x06:0x2f:0xffff   //<App>:<Get BMC Global Enables>
 0x06:0x30:0x8080   //<App>:<Clear Message Flags>
 0x06:0x31:0x8080   //<App>:<Get Message Flags>
-- 
2.35.1