From: Benjamin Tissoires <[email protected]>

redhat/configs: enable UINPUT on aarch64

Centos-stream 9 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119170
Upstream Status: RHEL only
Tested: sanity only with make dist-configs

uinput.ko is required for spicevd-agent to work properly.

UINPUT is properly set for all architectures, but its dependency
INPUT_MISC is not.

Remove the override on aarch64 and add a couple of new configs that are
not set to have make dist-configs working. Also disable all of dependent
new input configs that were previously disabled

Results in the old vs new config:

```diff
--- /tmp/kernel-6.0.0-aarch64.config    2022-08-30 09:40:17.529075330 +0200
+++ ./redhat/configs/kernel-6.0.0-aarch64.config        2022-08-30 
09:40:47.515018585 +0200
@@ -2988,7 +2988,37 @@
 # CONFIG_INPUT_JOYSTICK is not set
 # CONFIG_INPUT_TABLET is not set
 # CONFIG_INPUT_TOUCHSCREEN is not set
-# CONFIG_INPUT_MISC is not set
+CONFIG_INPUT_MISC=y
+# CONFIG_INPUT_AD714X is not set
+# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
+# CONFIG_INPUT_BMA150 is not set
+# CONFIG_INPUT_E3X0_BUTTON is not set
+# CONFIG_INPUT_MMA8450 is not set
+# CONFIG_INPUT_GPIO_BEEPER is not set
+# CONFIG_INPUT_GPIO_DECODER is not set
+# CONFIG_INPUT_GPIO_VIBRA is not set
+# CONFIG_INPUT_ATI_REMOTE2 is not set
+# CONFIG_INPUT_KEYSPAN_REMOTE is not set
+# CONFIG_INPUT_KXTJ9 is not set
+# CONFIG_INPUT_POWERMATE is not set
+# CONFIG_INPUT_YEALINK is not set
+# CONFIG_INPUT_CM109 is not set
+CONFIG_INPUT_UINPUT=m
+# CONFIG_INPUT_PCF8574 is not set
+# CONFIG_INPUT_PWM_BEEPER is not set
+# CONFIG_INPUT_PWM_VIBRA is not set
+# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
+# CONFIG_INPUT_DA7280_HAPTICS is not set
+# CONFIG_INPUT_ADXL34X is not set
+# CONFIG_INPUT_IMS_PCU is not set
+# CONFIG_INPUT_IQS269A is not set
+# CONFIG_INPUT_IQS626A is not set
+# CONFIG_INPUT_IQS7222 is not set
+# CONFIG_INPUT_CMA3000 is not set
+# CONFIG_INPUT_DRV260X_HAPTICS is not set
+# CONFIG_INPUT_DRV2665_HAPTICS is not set
+# CONFIG_INPUT_DRV2667_HAPTICS is not set
+# CONFIG_INPUT_HISI_POWERKEY is not set
 CONFIG_RMI4_CORE=m
 CONFIG_RMI4_I2C=m
 CONFIG_RMI4_SPI=m
```

Signed-off-by: Benjamin Tissoires <[email protected]>

diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_INPUT_MISC 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_INPUT_MISC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/arm/aarch64/CONFIG_INPUT_MISC
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_INPUT_MISC is not set
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_ATI_REMOTE2 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_ATI_REMOTE2
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_ATI_REMOTE2
@@ -0,0 +1 @@
+# CONFIG_INPUT_ATI_REMOTE2 is not set
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_CM109 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_CM109
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_CM109
@@ -0,0 +1 @@
+# CONFIG_INPUT_CM109 is not set
diff --git 
a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_GPIO_ROTARY_ENCODER 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_GPIO_ROTARY_ENCODER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_GPIO_ROTARY_ENCODER
@@ -0,0 +1 @@
+# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
diff --git 
a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_HISI_POWERKEY 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_HISI_POWERKEY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_HISI_POWERKEY
@@ -0,0 +1 @@
+# CONFIG_INPUT_HISI_POWERKEY is not set
diff --git 
a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_KEYSPAN_REMOTE 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_KEYSPAN_REMOTE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_KEYSPAN_REMOTE
@@ -0,0 +1 @@
+# CONFIG_INPUT_KEYSPAN_REMOTE is not set
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_POWERMATE 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_POWERMATE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_POWERMATE
@@ -0,0 +1 @@
+# CONFIG_INPUT_POWERMATE is not set
diff --git 
a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_REGULATOR_HAPTIC 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_REGULATOR_HAPTIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_REGULATOR_HAPTIC
@@ -0,0 +1 @@
+# CONFIG_INPUT_REGULATOR_HAPTIC is not set
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_YEALINK 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_YEALINK
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_INPUT_YEALINK
@@ -0,0 +1 @@
+# CONFIG_INPUT_YEALINK is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2002
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to