Re: [PATCH] enable NVRAM driver on ppc

2019-07-26 Thread Laura Abbott

On 7/26/19 5:07 AM, Dan Horák wrote:

NVRAM is enabled by default in the mainline kernel on all ppc machines.

Related: #1732612
---
  configs/fedora/generic/powerpc/CONFIG_NVRAM | 1 +
  kernel-ppc64le-debug.config | 2 +-
  kernel-ppc64le.config   | 2 +-
  3 files changed, 3 insertions(+), 2 deletions(-)
  create mode 100644 configs/fedora/generic/powerpc/CONFIG_NVRAM

diff --git a/configs/fedora/generic/powerpc/CONFIG_NVRAM 
b/configs/fedora/generic/powerpc/CONFIG_NVRAM
new file mode 100644
index 0..a296f9134
--- /dev/null
+++ b/configs/fedora/generic/powerpc/CONFIG_NVRAM
@@ -0,0 +1 @@
+CONFIG_NVRAM=y
diff --git a/kernel-ppc64le-debug.config b/kernel-ppc64le-debug.config
index 6d5a7c928..b2537db5d 100644
--- a/kernel-ppc64le-debug.config
+++ b/kernel-ppc64le-debug.config
@@ -3629,7 +3629,7 @@ CONFIG_NVME_TARGET_RDMA=m
  CONFIG_NVME_TARGET_TCP=m
  CONFIG_NVME_TCP=m
  # CONFIG_NVM is not set
-# CONFIG_NVRAM is not set
+CONFIG_NVRAM=y
  # CONFIG_NXP_TJA11XX_PHY is not set
  # CONFIG_OCFS2_DEBUG_FS is not set
  # CONFIG_OCFS2_DEBUG_MASKLOG is not set
diff --git a/kernel-ppc64le.config b/kernel-ppc64le.config
index a06cc62d2..7a96e9b5f 100644
--- a/kernel-ppc64le.config
+++ b/kernel-ppc64le.config
@@ -3608,7 +3608,7 @@ CONFIG_NVME_TARGET_RDMA=m
  CONFIG_NVME_TARGET_TCP=m
  CONFIG_NVME_TCP=m
  # CONFIG_NVM is not set
-# CONFIG_NVRAM is not set
+CONFIG_NVRAM=y
  # CONFIG_NXP_TJA11XX_PHY is not set
  # CONFIG_OCFS2_DEBUG_FS is not set
  # CONFIG_OCFS2_DEBUG_MASKLOG is not set



I folded this into today's rawhide build. You should see this in
kernel-5.3.0-0.rc1.git4.1.fc31

Thanks,
Laura
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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/kernel@lists.fedoraproject.org


[PATCH] enable NVRAM driver on ppc

2019-07-26 Thread Dan Horák
NVRAM is enabled by default in the mainline kernel on all ppc machines.

Related: #1732612
---
 configs/fedora/generic/powerpc/CONFIG_NVRAM | 1 +
 kernel-ppc64le-debug.config | 2 +-
 kernel-ppc64le.config   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 configs/fedora/generic/powerpc/CONFIG_NVRAM

diff --git a/configs/fedora/generic/powerpc/CONFIG_NVRAM 
b/configs/fedora/generic/powerpc/CONFIG_NVRAM
new file mode 100644
index 0..a296f9134
--- /dev/null
+++ b/configs/fedora/generic/powerpc/CONFIG_NVRAM
@@ -0,0 +1 @@
+CONFIG_NVRAM=y
diff --git a/kernel-ppc64le-debug.config b/kernel-ppc64le-debug.config
index 6d5a7c928..b2537db5d 100644
--- a/kernel-ppc64le-debug.config
+++ b/kernel-ppc64le-debug.config
@@ -3629,7 +3629,7 @@ CONFIG_NVME_TARGET_RDMA=m
 CONFIG_NVME_TARGET_TCP=m
 CONFIG_NVME_TCP=m
 # CONFIG_NVM is not set
-# CONFIG_NVRAM is not set
+CONFIG_NVRAM=y
 # CONFIG_NXP_TJA11XX_PHY is not set
 # CONFIG_OCFS2_DEBUG_FS is not set
 # CONFIG_OCFS2_DEBUG_MASKLOG is not set
diff --git a/kernel-ppc64le.config b/kernel-ppc64le.config
index a06cc62d2..7a96e9b5f 100644
--- a/kernel-ppc64le.config
+++ b/kernel-ppc64le.config
@@ -3608,7 +3608,7 @@ CONFIG_NVME_TARGET_RDMA=m
 CONFIG_NVME_TARGET_TCP=m
 CONFIG_NVME_TCP=m
 # CONFIG_NVM is not set
-# CONFIG_NVRAM is not set
+CONFIG_NVRAM=y
 # CONFIG_NXP_TJA11XX_PHY is not set
 # CONFIG_OCFS2_DEBUG_FS is not set
 # CONFIG_OCFS2_DEBUG_MASKLOG is not set
-- 
2.21.0
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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/kernel@lists.fedoraproject.org