From: Prarit Bhargava <prarit(a)redhat.com>
kernel/rh_taint.c: Update to new messaging
Bugzilla: https://bugzilla.redhat.com/2019377
Upstream Status: RHEL only
Red Hat requires customer-facing messages to inform users that hardware
and drivers are scheduled to be removed from support ie) disabled in the
kernel. Hardware and drivers that are scheduled to be disabled in a
future release fall into two categories: unmaintained and deprecated.
Deprecated hardware and drivers continue to be fully maintained in the
current release, but will be disabled in a future major release.
Unmaintained hardware and drivers may receive security fixes and are also
disabled in a future major release.
The new messages have been agreed upon by the RHBU and RH Engineering.
The changes include renaming rh_taint.c to rh_message.c and adding PCI
device specific functions.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index blahblah..blahblah 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -752,7 +752,8 @@ static void rh_check_supported(void)
pr_crit("Detected processor %s %s\n",
boot_cpu_data.x86_vendor_id,
boot_cpu_data.x86_model_id);
- mark_hardware_unsupported("Processor");
+ mark_hardware_unmaintained("x86 processor", "%s %s", boot_cpu_data.x86_vendor_id,
+ boot_cpu_data.x86_model_id);
break;
}
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index blahblah..blahblah 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -3045,7 +3045,7 @@ static int __init team_module_init(void)
if (err)
goto err_nl_init;
- mark_hardware_deprecated(DRV_NAME);
+ mark_driver_deprecated(DRV_NAME);
return 0;
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index blahblah..blahblah 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -296,33 +296,83 @@ static struct attribute *pci_drv_attrs[] = {
};
ATTRIBUTE_GROUPS(pci_drv);
+#if CONFIG_RHEL_DIFFERENCES
/**
- * pci_hw_vendor_status - Tell if a PCI device is supported by the HW vendor
+ * pci_hw_deprecated - Tell if a PCI device is deprecated
* @ids: array of PCI device id structures to search in
* @dev: the PCI device structure to match against
*
- * Used by a driver to check whether this device is in its list of unsupported
+ * Used by a driver to check whether this device is in its list of deprecated
* devices. Returns the matching pci_device_id structure or %NULL if there is
* no match.
*
* Reserved for Internal Red Hat use only.
*/
-const struct pci_device_id *pci_hw_vendor_status(
- const struct pci_device_id *ids,
+const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
+ struct pci_dev *dev)
+{
+ const struct pci_device_id *ret = pci_match_id(ids, dev);
+
+ if (!ret)
+ return NULL;
+
+ mark_hardware_deprecated(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
+ dev->device, dev->vendor, pci_name(dev));
+ return ret;
+}
+EXPORT_SYMBOL(pci_hw_deprecated);
+
+/**
+ * pci_hw_unmaintained - Tell if a PCI device is unmaintained
+ * @ids: array of PCI device id structures to search in
+ * @dev: the PCI device structure to match against
+ *
+ * Used by a driver to check whether this device is in its list of unmaintained
+ * devices. Returns the matching pci_device_id structure or %NULL if there is
+ * no match.
+ *
+ * Reserved for Internal Red Hat use only.
+ */
+const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id *ids,
struct pci_dev *dev)
{
- char devinfo[64];
const struct pci_device_id *ret = pci_match_id(ids, dev);
- if (ret) {
- snprintf(devinfo, sizeof(devinfo), "%s %s",
- dev_driver_string(&dev->dev), dev_name(&dev->dev));
- mark_hardware_deprecated(devinfo);
- }
+ if (!ret)
+ return NULL;
+ mark_hardware_unmaintained(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
+ dev->device, dev->vendor, pci_name(dev));
return ret;
}
-EXPORT_SYMBOL(pci_hw_vendor_status);
+EXPORT_SYMBOL(pci_hw_unmaintained);
+
+/**
+ * pci_hw_disabled - Tell if a PCI device is disabled
+ * @ids: array of PCI device id structures to search in
+ * @dev: the PCI device structure to match against
+ *
+ * Used by a driver to check whether this device is in its list of disabled
+ * devices. Returns the matching pci_device_id structure or %NULL if there is
+ * no match.
+ *
+ * Reserved for Internal Red Hat use only.
+ */
+const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
+ struct pci_dev *dev)
+{
+ const struct pci_device_id *ret = pci_match_id(ids, dev);
+
+ if (!ret)
+ return NULL;
+
+ mark_hardware_disabled(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
+ dev->device, dev->vendor, pci_name(dev));
+ return ret;
+}
+EXPORT_SYMBOL(pci_hw_disabled);
+
+#endif
struct drv_dev_and_id {
struct pci_driver *drv;
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index blahblah..blahblah 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -499,17 +499,19 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
struct module;
#ifdef CONFIG_RHEL_DIFFERENCES
-void mark_hardware_unsupported(const char *msg);
-void mark_hardware_deprecated(const char *msg);
+void mark_hardware_unmaintained(const char *driver_name, char *fmt, ...);
+void mark_driver_unmaintained(const char *driver_name);
+void mark_hardware_deprecated(const char *driver_name, char *fmt, ...);
+void mark_driver_deprecated(const char *driver_name);
+void mark_hardware_disabled(const char *driver_name, char *fmt, ...);
void mark_tech_preview(const char *msg, struct module *mod);
-void mark_driver_unsupported(const char *name);
-void mark_driver_deprecated(const char *name);
#else
-static inline void mark_hardware_unsupported(const char *msg) { }
-static inline void mark_hardware_deprecated(const char *msg) { }
+static inline void mark_hardware_unsupported(const char *driver_name, char *fmt, ...) { }
+static inline void mark_driver_unmaintained(const char *driver_name) { }
+static inline void mark_hardware_deprecated(const char *driver_name, char *fmt, ...) { }
+static inline void mark_driver_deprecated(const char *driver_name) { }
+static inline void mark_hardware_disabled(const char *driver_name, char *fmt, ...) { }
static inline void mark_tech_preview(const char *msg, struct module *mod) { }
-static inline void mark_driver_unsupported(const char *name) { }
-static inline void mark_driver_deprecated(const char *name) { }
#endif
#endif
diff --git a/include/linux/pci.h b/include/linux/pci.h
index blahblah..blahblah 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1478,10 +1478,22 @@ int pci_add_dynid(struct pci_driver *drv,
unsigned long driver_data);
const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
struct pci_dev *dev);
-/* Reserved for Internal Red Hat use only */
-const struct pci_device_id *pci_hw_vendor_status(
- const struct pci_device_id *ids,
+
+#ifdef CONFIG_RHEL_DIFFERENCES
+const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
+ struct pci_dev *dev);
+const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id *ids,
struct pci_dev *dev);
+const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
+ struct pci_dev *dev);
+#else
+static inline const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
+ struct pci_dev *dev) { return NULL; }
+static inline const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id *ids,
+ struct pci_dev *dev) { return NULL; }
+const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
+ struct pci_dev *dev) {return NULL; }
+#endif
int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max,
int pass);
diff --git a/kernel/Makefile b/kernel/Makefile
index blahblah..blahblah 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -12,7 +12,7 @@ obj-y = fork.o exec_domain.o panic.o \
notifier.o ksysfs.o cred.o reboot.o \
async.o range.o smpboot.o ucount.o regset.o
-obj-$(CONFIG_RHEL_DIFFERENCES) += rh_taint.o
+obj-$(CONFIG_RHEL_DIFFERENCES) += rh_messages.o
obj-$(CONFIG_USERMODE_DRIVER) += usermode_driver.o
obj-$(CONFIG_MODULES) += kmod.o
obj-$(CONFIG_MULTIUSER) += groups.o
diff --git a/kernel/rh_messages.c b/kernel/rh_messages.c
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/kernel/rh_messages.c
@@ -0,0 +1,179 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
+
+#define DEV_DESC_LEN 256
+/*
+ * The following functions are used by Red Hat to indicate to users that
+ * hardware and drivers are unsupported, or have limited support in RHEL major
+ * and minor releases. These functions output loud warning messages to the end
+ * user and should be USED WITH CAUTION.
+ *
+ * Any use of these functions _MUST_ be documented in the RHEL Release Notes,
+ * and have approval of management.
+ *
+ * Generally, the process of disabling a driver or device in RHEL requires the
+ * driver or device to be marked as 'deprecated' in all existing releases, and
+ * then either 'unmaintained' or 'disabled' in a future release.
+ *
+ * In general, deprecated and unmaintained drivers continue to receive security
+ * related fixes until they are disabled.
+ */
+
+/**
+ * mark_hardware_unmaintained() - Mark hardware as unmaintained.
+ * @driver_name: driver name
+ * @fmt: format for device description
+ * @...: args for device description
+ *
+ * Called to notify users that the device will no longer be tested on a routine
+ * basis and driver code associated with this device is no longer being updated.
+ * Red Hat may fix security-related and critical issues. Support for this device
+ * will be disabled in a future major release and users deploying this device
+ * should plan to replace the device in production systems.
+ *
+ * This function should be used when the driver's usage can be tied to a
+ * specific hardware device. For example, a network device driver loading on a
+ * specific device that is no longer maintained by the manufacturer.
+ */
+void mark_hardware_unmaintained(const char *driver_name, char *fmt, ...)
+{
+ char device_description[DEV_DESC_LEN];
+ va_list args;
+
+ va_start(args, fmt);
+ vsnprintf(device_description, DEV_DESC_LEN, fmt, args);
+ pr_crit("Warning: Unmaintained hardware is detected: %s:%s\n", driver_name,
+ device_description);
+ va_end(args);
+}
+EXPORT_SYMBOL(mark_hardware_unmaintained);
+
+/**
+ * mark_driver_unmaintained() - Mark a driver as unmaintained.
+ * @driver_name: driver name
+ *
+ * Called to notify users that a driver will no longer be tested on a routine
+ * basis and the driver code is no longer being updated. Red Hat may fix
+ * security-related and critical issues. Support for this driver will be
+ * disabled in a future major release, and users should replace any affected
+ * devices in production systems.
+ *
+ * This function should be used when a driver's usage cannot be tied to a
+ * specific hardware device. For example, a network bonding driver or a higher
+ * level storage layer driver that is no longer maintained upstream.
+ */
+void mark_driver_unmaintained(const char *driver_name)
+{
+ pr_crit("Warning: Unmaintained driver is detected: %s\n", driver_name);
+}
+EXPORT_SYMBOL(mark_driver_unmaintained);
+
+/**
+ * mark_hardware_deprecated() - Mark hardware as deprecated.
+ * @driver_name: driver name
+ * @fmt: format for device description
+ * @...: args for device description
+ *
+ * Called to notify users that support for the device is planned to be
+ * unmaintained in a future major release, and will eventually be disabled in a
+ * future major release. This device should not be used in new production
+ * environments and users should replace the device in production systems.
+ *
+ * This function should be used when the driver's usage can be tied to a
+ * specific hardware device. For example, a network device driver loading on a
+ * specific device that is no longer maintained by the manufacturer.
+ */
+void mark_hardware_deprecated(const char *driver_name, char *fmt, ...)
+{
+ char device_description[DEV_DESC_LEN];
+ va_list args;
+
+ va_start(args, fmt);
+ vsnprintf(device_description, DEV_DESC_LEN, fmt, args);
+ pr_crit("Warning: Deprecated Hardware is detected: %s:%s will not be maintained a future major release and may be disabled\n",
+ driver_name, device_description);
+ va_end(args);
+}
+EXPORT_SYMBOL(mark_hardware_deprecated);
+
+/**
+ * mark_driver_deprecated() - Mark a driver as deprecated.
+ * @driver_name: driver name
+ *
+ * Called to notify users that support for this driver is planned to be
+ * unmaintained in a future major release, and will eventually be disabled in a
+ * future major release. This driver should not be used in new production
+ * environments and users should replace any affected devices in production
+ * systems.
+ *
+ * This function should be used when a driver's usage cannot be tied to a
+ * specific hardware device. For example, a network bonding driver or a higher
+ * level storage layer driver that is no longer maintained upstream.
+ */
+void mark_driver_deprecated(const char *driver_name)
+{
+ pr_crit("Warning: Deprecated Driver is detected: %s will not be maintained in a future major release and may be disabled\n",
+ driver_name);
+}
+EXPORT_SYMBOL(mark_driver_deprecated);
+
+/**
+ * mark_hardware_disabled() - Mark a driver as removed.
+ * @driver_name: driver name
+ * @fmt: format for device description
+ * @...: args for device description
+ *
+ * Called to notify users that a device's support has been completely disabled
+ * and no future support updates will occur. This device cannot be used in new
+ * production environments, and users must replace the device in production
+ * systems.
+ *
+ * This function should be used when the driver's usage can be tied to a
+ * specific hardware device. For example, a network device driver loading on a
+ * specific device that is no longer maintained by the manufacturer.
+ */
+void mark_hardware_disabled(const char *driver_name, char *fmt, ...)
+{
+ char device_description[DEV_DESC_LEN];
+ va_list args;
+
+ va_start(args, fmt);
+ vsnprintf(device_description, DEV_DESC_LEN, fmt, args);
+ pr_crit("Warning: Disabled Hardware is detected: %s:%s is no longer enabled in this release.\n",
+ driver_name, device_description);
+ va_end(args);
+}
+EXPORT_SYMBOL(mark_hardware_disabled);
+
+/**
+ * mark_tech_preview() - Mark driver or kernel subsystem as 'Tech Preview'
+ * @msg: Driver or kernel subsystem name
+ *
+ * Called to minimize the support status of a new driver. This does TAINT the
+ * kernel. Calling this function indicates that the driver or subsystem has
+ * had limited testing and is not marked for full support within this RHEL
+ * minor release. The next RHEL minor release may contain full support for
+ * this driver. Red Hat does not guarantee that bugs reported against this
+ * driver or subsystem will be resolved.
+ */
+void mark_tech_preview(const char *msg, struct module *mod)
+{
+ const char *str = NULL;
+
+ if (msg)
+ str = msg;
+#ifdef CONFIG_MODULES
+ else if (mod && mod->name)
+ str = mod->name;
+#endif
+
+ pr_warn("TECH PREVIEW: %s may not be fully supported.\n"
+ "Please review provided documentation for limitations.\n",
+ (str ? str : "kernel"));
+ add_taint(TAINT_AUX, LOCKDEP_STILL_OK);
+#ifdef CONFIG_MODULES
+ if (mod)
+ mod->taints |= (1U << TAINT_AUX);
+#endif
+}
+EXPORT_SYMBOL(mark_tech_preview);
diff --git a/kernel/rh_taint.c b/kernel/rh_taint.c
deleted file mode 100644
index blahblah..blahblah 0
--- a/kernel/rh_taint.c
+++ /dev/null
@@ -1,109 +0,0 @@
-#include <linux/kernel.h>
-#include <linux/module.h>
-
-/*
- * The following functions are used by Red Hat to indicate to users that
- * hardware and drivers are unsupported, or have limited support in RHEL major
- * and minor releases. These functions output loud warning messages to the end
- * user and should be USED WITH CAUTION.
- *
- * Any use of these functions _MUST_ be documented in the RHEL Release Notes,
- * and have approval of management.
- */
-
-/**
- * mark_hardware_unsupported() - Mark hardware, class, or type as unsupported.
- * @msg: Hardware name, class, or type
- *
- * Called to mark a device, class of devices, or types of devices as not having
- * support in any RHEL minor release. This does not TAINT the kernel. Red Hat
- * will not fix bugs against this hardware in this minor release. Red Hat may
- * declare support in a future major or minor update release. This cannot be
- * used to mark drivers unsupported.
- */
-void mark_hardware_unsupported(const char *msg)
-{
- /* Print one single message */
- pr_crit("Warning: %s - this hardware has not undergone testing by Red Hat and might not be certified. Please consult https://catalog.redhat.com for certified hardware.\n", msg);
-}
-EXPORT_SYMBOL(mark_hardware_unsupported);
-
-/**
- * mark_hardware_deprecated() - Mark hardware, class, or type as deprecated.
- * @msg: Hardware name, class, or type
- *
- * Called to minimize the support status of a previously supported device in
- * a minor release. This does not TAINT the kernel. Marking hardware
- * deprecated is usually done in conjunction with the hardware vendor. Future
- * RHEL major releases may not include this driver. Driver updates and fixes
- * for this device will be limited to critical issues in future minor releases.
- */
-void mark_hardware_deprecated(const char *msg)
-{
- pr_crit("Warning: %s - this hardware is not recommended for new deployments. It continues to be supported in this RHEL release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact Red Hat Support or your device's hardware vendor for additional information.\n", msg);
-}
-EXPORT_SYMBOL(mark_hardware_deprecated);
-
-/**
- * mark_tech_preview() - Mark driver or kernel subsystem as 'Tech Preview'
- * @msg: Driver or kernel subsystem name
- *
- * Called to minimize the support status of a new driver. This does TAINT the
- * kernel. Calling this function indicates that the driver or subsystem has
- * had limited testing and is not marked for full support within this RHEL
- * minor release. The next RHEL minor release may contain full support for
- * this driver. Red Hat does not guarantee that bugs reported against this
- * driver or subsystem will be resolved.
- */
-void mark_tech_preview(const char *msg, struct module *mod)
-{
- const char *str = NULL;
-
- if (msg)
- str = msg;
-#ifdef CONFIG_MODULES
- else if (mod && mod->name)
- str = mod->name;
-#endif
-
- pr_warn("TECH PREVIEW: %s may not be fully supported.\n"
- "Please review provided documentation for limitations.\n",
- (str ? str : "kernel"));
- add_taint(TAINT_AUX, LOCKDEP_STILL_OK);
-#ifdef CONFIG_MODULES
- if (mod)
- mod->taints |= (1U << TAINT_AUX);
-#endif
-}
-EXPORT_SYMBOL(mark_tech_preview);
-
-/**
- * mark_driver_unsupported - drivers that we know we don't want to support
- * @name: the name of the driver
- *
- * In some cases Red Hat has chosen to build a driver for internal QE
- * use. Use this function to mark those drivers as unsupported for
- * customers.
- */
-void mark_driver_unsupported(const char *name)
-{
- pr_crit("Warning: %s - This driver has not undergone sufficient testing by Red Hat for this release and therefore cannot be used in production systems.\n",
- name ? name : "kernel");
-}
-EXPORT_SYMBOL(mark_driver_unsupported);
-
-/**
- * mark_driver_deprecated() - Mark drivers as deprecated.
- * @name: the name of the driver
- *
- * Called to minimize the support status of a previously supported driver in
- * a minor release. This does not TAINT the kernel. Future
- * RHEL major releases may not include this driver. Driver updates and fixes
- * will be limited to critical issues in future minor releases.
- */
-void mark_driver_deprecated(const char *name)
-{
- pr_crit("Warning: %s - this driver is not recommended for new deployments. It continues to be supported in this RHEL release, but it is likely to be removed in the next major release. Driver updates and fixes will be limited to critical issues. Please contact Red Hat Support for additional information.\n",
- name ? name : "kernel");
-}
-EXPORT_SYMBOL(mark_driver_deprecated);
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1459
From: Herton R. Krzesinski <herton(a)redhat.com>
redhat: make Patchlist.changelog generation conditional
Right now Patchlist.changelog is always generated and contains an
URL to the kernel-ark repository. However, when kernel-ark is forked
into CentOS or any other downstream repo, this file will continue to
be generated and will contains the kernel-ark repo URLs even if we
are already in another repository. Fix this by allowing setting other
URL value in the Makefile.variables file, or if for any reason we
don't want the Patchlist.changelog file, just set the PATCHLIST_URL
value to "none".
Signed-off-by: Herton R. Krzesinski <herton(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -237,7 +237,11 @@ setup-source: dist-git-version-check dist-clean-sources
cp $(REDHAT)/$(CHANGELOG_PREV) $(REDHAT)/$(CHANGELOG); \
fi
@cp $(REDHAT)/$(CHANGELOG) $(SOURCES)/$(CHANGELOG)
- @$(REDHAT)/genspec.sh $(SOURCES) $(SOURCES)/$(SPECFILE) $(SOURCES)/$(CHANGELOG) $(PKGRELEASE) $(RPMKVERSION) $(RPMKPATCHLEVEL) $(RPMKSUBLEVEL) $(DISTRO_BUILD) $(RELEASED_KERNEL) $(SPECRELEASE) $(__ZSTREAM) "$(BUILDOPTS)" $(MARKER) `cat $(REDHAT)/marker` $(SINGLE_TARBALL) $(TARFILE_RELEASE) $(SNAPSHOT) $(UPSTREAM_BRANCH) $(INCLUDE_FEDORA_FILES) $(INCLUDE_RHEL_FILES) $(BUILDID)
+ @if [ -z "$(PATCHLIST_URL)" ]; then \
+ echo "Error: PATCHLIST_URL must be set (to 'none' or any URL)"; \
+ exit 1; \
+ fi
+ @$(REDHAT)/genspec.sh $(SOURCES) $(SOURCES)/$(SPECFILE) $(SOURCES)/$(CHANGELOG) $(PKGRELEASE) $(RPMKVERSION) $(RPMKPATCHLEVEL) $(RPMKSUBLEVEL) $(DISTRO_BUILD) $(RELEASED_KERNEL) $(SPECRELEASE) $(__ZSTREAM) "$(BUILDOPTS)" $(MARKER) `cat $(REDHAT)/marker` $(SINGLE_TARBALL) $(TARFILE_RELEASE) $(SNAPSHOT) $(UPSTREAM_BRANCH) $(INCLUDE_FEDORA_FILES) $(INCLUDE_RHEL_FILES) $(PATCHLIST_URL) $(BUILDID)
@cp $(SOURCES)/$(SPECFILE) $(SOURCES)/../SPECS/
generate-testpatch-tmp:
diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables
index blahblah..blahblah 100644
--- a/redhat/Makefile.variables
+++ b/redhat/Makefile.variables
@@ -45,3 +45,9 @@ BUMP_RELEASE:=yes
# to '0'.
INCLUDE_FEDORA_FILES:=1
INCLUDE_RHEL_FILES:=1
+
+# In case PATCHLIST_URL is not set to "none", Patchlist.changelog is added to
+# the kernel src.rpm, which will contain shas and commits not upstream. The
+# value of PATCHLIST_URL in this case should point to the git repository where
+# the commits are located, and will be added as a prefix to the shas listed.
+PATCHLIST_URL ?= "https://gitlab.com/cki-project/kernel-ark/-/commit"
diff --git a/redhat/genspec.sh b/redhat/genspec.sh
index blahblah..blahblah 100755
--- a/redhat/genspec.sh
+++ b/redhat/genspec.sh
@@ -24,7 +24,8 @@ SNAPSHOT=${17}
UPSTREAM_BRANCH=${18}
INCLUDE_FEDORA_FILES=${19}
INCLUDE_RHEL_FILES=${20}
-BUILDID=${21}
+PATCHLIST_URL=${21}
+BUILDID=${22}
RPMVERSION=${KVERSION}.${KPATCHLEVEL}
clogf="$SOURCES/changelog"
# hide [redhat] entries from changelog
@@ -126,6 +127,33 @@ else
BUILDID_DEFINE="# define buildid .local"
fi
+EXCLUDE_FILES=":(exclude,top).get_maintainer.conf \
+ :(exclude,top).gitattributes \
+ :(exclude,top).gitignore \
+ :(exclude,top).gitlab-ci.yml \
+ :(exclude,top)makefile \
+ :(exclude,top)Makefile.rhelver \
+ :(exclude,top)redhat \
+ :(exclude,top)configs"
+
+# If PATCHLIST_URL is not set to "none", generate Patchlist.changelog file that
+# holds the shas and commits not included upstream and git commit url.
+PATCHLIST_CHANGELOG=0
+if [ "$PATCHLIST_URL" != "none" ]; then
+ # sed convert
+ # <sha> <description>
+ # to
+ # <ark_commit_url>/<sha>
+ # <sha> <description>
+ #
+ # May need to preserve word splitting in EXCLUDE_FILES
+ # shellcheck disable=SC2086
+ git log --no-merges --pretty=oneline --no-decorate ${UPSTREAM}.. $EXCLUDE_FILES | \
+ sed "s!^\([^ ]*\)!$PATCHLIST_URL/\1\n &!; s!\$!\n!" \
+ > "$SOURCES"/Patchlist.changelog
+ PATCHLIST_CHANGELOG=1
+fi
+
test -n "$SPECFILE" &&
sed -i -e "
/%%CHANGELOG%%/r $CHANGELOG
@@ -141,19 +169,11 @@ test -n "$SPECFILE" &&
s/%%DEBUG_BUILDS_ENABLED%%/$DEBUG_BUILDS_ENABLED/
s/%%INCLUDE_FEDORA_FILES%%/$INCLUDE_FEDORA_FILES/
s/%%INCLUDE_RHEL_FILES%%/$INCLUDE_RHEL_FILES/
+ s/%%PATCHLIST_CHANGELOG%%/$PATCHLIST_CHANGELOG/
s/%%TARBALL_VERSION%%/$TARFILE_RELEASE/" "$SPECFILE"
echo "MARKER is $MARKER"
-EXCLUDE_FILES=":(exclude,top).get_maintainer.conf \
- :(exclude,top).gitattributes \
- :(exclude,top).gitignore \
- :(exclude,top).gitlab-ci.yml \
- :(exclude,top)makefile \
- :(exclude,top)Makefile.rhelver \
- :(exclude,top)redhat \
- :(exclude,top)configs"
-
if [ "$SINGLE_TARBALL" = 0 ]; then
# May need to preserve word splitting in EXCLUDE_FILES
# shellcheck disable=SC2086
@@ -164,22 +184,6 @@ else
touch "$SOURCES"/patch-"$RPMVERSION"-redhat.patch
fi
-# generate Patchlist.changelog file that holds the shas and commits not
-# included upstream and git commit url.
-ARK_COMMIT_URL="https://gitlab.com/cki-project/kernel-ark/-/commit"
-
-# sed convert
-# <sha> <description>
-# to
-# <ark_commit_url>/<sha>
-# <sha> <description>
-#
-# May need to preserve word splitting in EXCLUDE_FILES
-# shellcheck disable=SC2086
-git log --no-merges --pretty=oneline --no-decorate ${UPSTREAM}.. $EXCLUDE_FILES | \
- sed "s!^\([^ ]*\)!$ARK_COMMIT_URL/\1\n &!; s!\$!\n!" \
- > "$SOURCES"/Patchlist.changelog
-
# We depend on work splitting of BUILDOPTS
# shellcheck disable=SC2086
for opt in $BUILDOPTS; do
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -7,6 +7,8 @@
%global include_fedora %%INCLUDE_FEDORA_FILES%%
# Include RHEL files
%global include_rhel %%INCLUDE_RHEL_FILES%%
+# Provide Patchlist.changelog file
+%global patchlist_changelog %%PATCHLIST_CHANGELOG%%
# Disable LTO in userspace packages.
%global _lto_cflags %{nil}
@@ -834,7 +836,9 @@ Source2002: kvm_stat.logrotate
# source tree, but in the mean time we carry this to support the legacy workflow
Source3000: merge.pl
Source3001: kernel-local
-Source3003: Patchlist.changelog
+%if %{patchlist_changelog}
+Source3002: Patchlist.changelog
+%endif
Source4000: README.rst
Source4001: rpminspect.yaml
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1415
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Fix up PREEMPT configs
While preempt_dynamic was greatly improved at the beginning of the merge
window, the config to make things work was messy and the new BEHAVIOUR
configs were confusing to some. With commit
a8b76910e465d718effce0cad306a21fa4f3526b the BEHAVIOUR config options
are gone and we now default to whichever CONFIG_PREEMPT is selected.
This MR moves us to the new config options, but should leave the kernel
behaving as before with PREEMPT_VOLUNTARY as the default with
PREEMPT_DYNAMIC enabled for all arches but s390 which does not enable
DYNAMIC and builds with PREEMPT_NONE.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/configs/common/generic/CONFIG_PREEMPT b/redhat/configs/common/generic/CONFIG_PREEMPT
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_PREEMPT
+++ b/redhat/configs/common/generic/CONFIG_PREEMPT
@@ -1 +1 @@
-CONFIG_PREEMPT=y
+# CONFIG_PREEMPT is not set
diff --git a/redhat/configs/common/generic/CONFIG_PREEMPT_BEHAVIOUR b/redhat/configs/common/generic/CONFIG_PREEMPT_BEHAVIOUR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_PREEMPT_BEHAVIOUR
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT_BEHAVIOUR is not set
diff --git a/redhat/configs/common/generic/CONFIG_PREEMPT_NONE b/redhat/configs/common/generic/CONFIG_PREEMPT_NONE
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_PREEMPT_NONE
+++ b/redhat/configs/common/generic/CONFIG_PREEMPT_NONE
@@ -1 +1 @@
-CONFIG_PREEMPT_NONE=y
+# CONFIG_PREEMPT_NONE is not set
diff --git a/redhat/configs/common/generic/CONFIG_PREEMPT_NONE_BEHAVIOUR b/redhat/configs/common/generic/CONFIG_PREEMPT_NONE_BEHAVIOUR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_PREEMPT_NONE_BEHAVIOUR
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set
diff --git a/redhat/configs/common/generic/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR b/redhat/configs/common/generic/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR=y
diff --git a/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_NONE_BEHAVIOUR b/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_NONE_BEHAVIOUR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_NONE_BEHAVIOUR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PREEMPT_NONE_BEHAVIOUR=y
diff --git a/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR b/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR is not set
diff --git a/redhat/configs/pending-common/generic/CONFIG_PREEMPT b/redhat/configs/pending-common/generic/CONFIG_PREEMPT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/CONFIG_PREEMPT
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT is not set
diff --git a/redhat/configs/pending-common/generic/CONFIG_PREEMPT_NONE b/redhat/configs/pending-common/generic/CONFIG_PREEMPT_NONE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/CONFIG_PREEMPT_NONE
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT_NONE is not set
diff --git a/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_NONE b/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_NONE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_NONE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PREEMPT_NONE=y
diff --git a/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY b/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/s390x/CONFIG_PREEMPT_VOLUNTARY
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PREEMPT_VOLUNTARY is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1500
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/docs/index.rst: Add local build information.
Add instuctions for obtaining the kernel's .config and additional
instructions for building locally.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/docs/index.rst b/redhat/docs/index.rst
index blahblah..blahblah 100644
--- a/redhat/docs/index.rst
+++ b/redhat/docs/index.rst
@@ -38,9 +38,8 @@ separate remote in Git. Once GitLab finishes forking the repository:
* Leave the other checkboxes blank (or select them if desired).
* Click 'Mirror Repository'. The first update will take about 20 minutes.
-
-Building packages
------------------
+Cloning the Repository
+----------------------
Install the dependencies for generating source RPM packages:
@@ -61,7 +60,27 @@ The ``os-build`` branch is checked out automatically after cloning. This
branch contains the configuration and build scripts, and it is regularly
updated to work with Linus's master branch.
-With the ``os-build`` branch checked out, build a source RPM package:
+The ``ark-latest`` branch contains a very recent 'known-good' version of the
+os-build branch that can be used if the os-build branch does not compile due to
+upstream bugs. However, the os-build branch must be used as a Merge Request
+target for all Fedora/ARK specific changes.
+
+Local builds
+------------
+
+With the ``os-build`` or ``ark-latest`` branch checked out, get the kernel .config:
+
+.. code-block:: sh
+
+ make dist-configs # or make dist-configs-arch
+ cp redhat/configs/<flavor_os>.config .config
+
+You can now execute any common upstream make targets (make, make -j, make cscope, etc.).
+
+Building packages
+-----------------
+
+With the ``os-build`` or ``ark-latest`` branch checked out, build a source RPM package:
.. code-block:: sh
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1488
Hey All,
I would like to invite all of you to participate in the Kernel 5.15
Test week is happening from 2021-11-14 to 2021-11-21. It's
fairly simple, head over to the wiki [0] and read in detail about the
test week and simply run the test case mentioned in[1] and enter your
results.
As usual, the Fedora QA team will hangout at #fedora-test-day(a)libera.chat
for question and
discussion.
If you are someone who is just starting out, remember that we give out
badges[2] for
testing new Kernel Builds!
Collect 'em now :)
[0] http://fedoraproject.org/wiki/Test_Day:2021-11-14_Kernel_5.15_Test_Week
[1] https://testdays.fedoraproject.org/events/125
[2] https://badges.fedoraproject.org/badge/science-kernel-tester-i
--
//sumantro
Fedora QE
TRIED AND PERSONALLY TESTED, ERGO TRUSTED
Hello,
We ran automated tests on the following kernel build:
Kernel package: kernel-5.14.18-200.fc34
Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=78755406
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Tests: FAILED
One or more kernel tests failed:
s390x:
β LTP - syscalls
aarch64:
π₯ Storage blktests - srp
β LTP - syscalls
ppc64le:
β LTP - syscalls
All kernel binaries, config files, and logs are available for download here:
https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefiβ¦
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
For the full detail on our testing procedures, please scroll to the bottom of
this message.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
β Boot test
β Reboot test
π§ π₯ Storage blktests - srp
Host 2:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ Reboot test
β‘β‘β‘ Ethernet drivers sanity - mlx5
Host 3:
β Boot test
β Reboot test
β ACPI table test
β LTP - cve
β LTP - sched
β LTP - syscalls
β LTP - can
β LTP - commands
β LTP - containers
β LTP - dio
β LTP - fs
β LTP - fsx
β LTP - math
β LTP - hugetlb
β LTP - mm
β LTP - nptl
β LTP - pty
β LTP - ipc
β LTP - tracing
β LTP: openposix test suite
β CIFS Connectathon
β Loopdev Sanity
β Memory: fork_mem
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Ethernet drivers sanity
π§ β xarray-idr-radixtree-test
π§ β NFS Connectathon
Host 4:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β Boot test
β Reboot test
π§ β‘β‘β‘ Storage blktests - nvmeof-mp
Host 5:
β Boot test
β Reboot test
β xfstests - ext4
β xfstests - xfs
β Storage: swraid mdadm raid_module test
π§ β xfstests - btrfs
π§ β Storage blktests - blk
π§ β Storage blktests - nvme-tcp
π§ β Storage block - filesystem fio test
π§ β Storage block - queue scheduler test
π§ β storage: software RAID testing
π§ β stress: stress-ng - interrupt
π§ β stress: stress-ng - cpu
π§ β stress: stress-ng - cpu-cache
π§ β stress: stress-ng - memory
π§ β stress: stress-ng - os
Host 6:
β Boot test
β Reboot test
β Ethernet drivers sanity - mlx5
ppc64le:
Host 1:
β Boot test
β Reboot test
β LTP - cve
β LTP - sched
β LTP - syscalls
β LTP - can
β LTP - commands
β LTP - containers
β LTP - dio
β LTP - fs
β LTP - fsx
β LTP - math
β LTP - hugetlb
β LTP - mm
β LTP - nptl
β LTP - pty
β LTP - ipc
β LTP - tracing
β LTP: openposix test suite
β CIFS Connectathon
β Loopdev Sanity
β Memory: fork_mem
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Ethernet drivers sanity
π§ β xarray-idr-radixtree-test
π§ β NFS Connectathon
Host 2:
β Boot test
β Reboot test
β xfstests - ext4
β xfstests - xfs
β Storage: swraid mdadm raid_module test
π§ β xfstests - btrfs
π§ β Storage blktests - blk
π§ β Storage blktests - nvme-tcp
π§ β Storage block - filesystem fio test
π§ β Storage block - queue scheduler test
π§ β Storage: lvm device-mapper test - upstream
π§ β storage: software RAID testing
Host 3:
β Boot test
β Reboot test
π§ β Storage blktests - nvmeof-mp
Host 4:
β Boot test
β Reboot test
π§ β Storage blktests - srp
s390x:
Host 1:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β Boot test
β Reboot test
β Storage: swraid mdadm raid_module test
π§ β Storage blktests - blk
π§ β Storage blktests - nvme-tcp
π§ β stress: stress-ng - interrupt
π§ β stress: stress-ng - cpu
π§ β stress: stress-ng - cpu-cache
π§ β stress: stress-ng - memory
π§ β‘β‘β‘ stress: stress-ng - os
Host 2:
β Boot test
β Reboot test
π§ β Storage blktests - nvmeof-mp
Host 3:
β Boot test
β Reboot test
β LTP - cve
β LTP - sched
β LTP - syscalls
β LTP - can
β LTP - commands
β LTP - containers
β LTP - dio
β LTP - fs
β LTP - fsx
β LTP - math
β LTP - hugetlb
β LTP - mm
β LTP - nptl
β LTP - pty
β LTP - ipc
β LTP - tracing
β LTP: openposix test suite
β CIFS Connectathon
β Loopdev Sanity
β Memory: fork_mem
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Ethernet drivers sanity
π§ β xarray-idr-radixtree-test
π§ β NFS Connectathon
Host 4:
β Boot test
β Reboot test
π§ β Storage blktests - srp
x86_64:
Host 1:
β Boot test
β Reboot test
π§ β Storage blktests - nvmeof-mp
Host 2:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ Reboot test
β‘β‘β‘ xfstests - ext4
β‘β‘β‘ xfstests - xfs
β‘β‘β‘ xfstests - nfsv4.2
β‘β‘β‘ Storage: swraid mdadm raid_module test
π§ β‘β‘β‘ xfstests - btrfs
π§ β‘β‘β‘ xfstests - cifsv3.11
π§ β‘β‘β‘ Storage blktests - blk
π§ β‘β‘β‘ Storage blktests - nvme-tcp
π§ β‘β‘β‘ Storage block - filesystem fio test
π§ β‘β‘β‘ Storage block - queue scheduler test
π§ β‘β‘β‘ Storage: lvm device-mapper test - upstream
π§ β‘β‘β‘ storage: software RAID testing
π§ β‘β‘β‘ stress: stress-ng - interrupt
π§ β‘β‘β‘ stress: stress-ng - cpu
π§ β‘β‘β‘ stress: stress-ng - cpu-cache
π§ β‘β‘β‘ stress: stress-ng - memory
π§ β‘β‘β‘ stress: stress-ng - os
Host 3:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β Boot test
β Reboot test
β ACPI table test
β LTP - cve
β‘β‘β‘ LTP - sched
β‘β‘β‘ LTP - syscalls
β‘β‘β‘ LTP - can
β‘β‘β‘ LTP - commands
β‘β‘β‘ LTP - containers
β‘β‘β‘ LTP - dio
β‘β‘β‘ LTP - fs
β‘β‘β‘ LTP - fsx
β‘β‘β‘ LTP - math
β‘β‘β‘ LTP - hugetlb
β‘β‘β‘ LTP - mm
β‘β‘β‘ LTP - nptl
β‘β‘β‘ LTP - pty
β‘β‘β‘ LTP - ipc
β‘β‘β‘ LTP - tracing
β‘β‘β‘ LTP: openposix test suite
β‘β‘β‘ CIFS Connectathon
β‘β‘β‘ Loopdev Sanity
β‘β‘β‘ Memory: fork_mem
β‘β‘β‘ Memory function: memfd_create
β‘β‘β‘ AMTU (Abstract Machine Test Utility)
β‘β‘β‘ Ethernet drivers sanity
π§ β‘β‘β‘ xarray-idr-radixtree-test
π§ β‘β‘β‘ NFS Connectathon
Host 4:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ Reboot test
π§ β‘β‘β‘ Storage blktests - srp
Host 5:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ Reboot test
π§ β‘β‘β‘ Storage blktests - srp
Host 6:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β Boot test
β Reboot test
β‘β‘β‘ xfstests - ext4
β‘β‘β‘ xfstests - xfs
β‘β‘β‘ xfstests - nfsv4.2
β‘β‘β‘ Storage: swraid mdadm raid_module test
π§ β‘β‘β‘ xfstests - btrfs
π§ β‘β‘β‘ xfstests - cifsv3.11
π§ β‘β‘β‘ Storage blktests - blk
π§ β‘β‘β‘ Storage blktests - nvme-tcp
π§ β‘β‘β‘ Storage block - filesystem fio test
π§ β‘β‘β‘ Storage block - queue scheduler test
π§ β‘β‘β‘ Storage: lvm device-mapper test - upstream
π§ β‘β‘β‘ storage: software RAID testing
π§ β‘β‘β‘ stress: stress-ng - interrupt
π§ β‘β‘β‘ stress: stress-ng - cpu
π§ β‘β‘β‘ stress: stress-ng - cpu-cache
π§ β‘β‘β‘ stress: stress-ng - memory
π§ β‘β‘β‘ stress: stress-ng - os
Test sources: https://gitlab.com/cki-project/kernel-tests
π Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with β‘β‘β‘.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with π§. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with β±.
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
New configs in drivers/media
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
Symbol: CEC_SECO [=n]
Type : tristate
Defined at drivers/media/cec/platform/Kconfig:100
Prompt: SECO Boards HDMI CEC driver
Depends on: MEDIA_CEC_SUPPORT [=y] && (X86 [=y] || IA64 || COMPILE_TEST [=n]) && PCI [=y] && DMI [=y]
Location:
-> Device Drivers
-> HDMI CEC drivers (MEDIA_CEC_SUPPORT [=y])
Selects: CEC_CORE [=m] && CEC_NOTIFIER [=n]
diff --git a/redhat/configs/common/generic/CONFIG_CEC_SECO b/redhat/configs/common/generic/CONFIG_CEC_SECO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_CEC_SECO
@@ -0,0 +1 @@
+# CONFIG_CEC_SECO is not set
diff --git a/redhat/configs/common/generic/CONFIG_MEDIA_PLATFORM_SUPPORT b/redhat/configs/common/generic/CONFIG_MEDIA_PLATFORM_SUPPORT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_MEDIA_PLATFORM_SUPPORT
@@ -0,0 +1 @@
+# CONFIG_MEDIA_PLATFORM_SUPPORT is not set
diff --git a/redhat/configs/common/generic/CONFIG_MEDIA_SUPPORT_FILTER b/redhat/configs/common/generic/CONFIG_MEDIA_SUPPORT_FILTER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_MEDIA_SUPPORT_FILTER
@@ -0,0 +1 @@
+CONFIG_MEDIA_SUPPORT_FILTER=y
diff --git a/redhat/configs/common/generic/CONFIG_MEDIA_TEST_SUPPORT b/redhat/configs/common/generic/CONFIG_MEDIA_TEST_SUPPORT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_MEDIA_TEST_SUPPORT
@@ -0,0 +1 @@
+# CONFIG_MEDIA_TEST_SUPPORT is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_AD5820 b/redhat/configs/common/generic/CONFIG_VIDEO_AD5820
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_AD5820
@@ -0,0 +1 @@
+# CONFIG_VIDEO_AD5820 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_ADP1653 b/redhat/configs/common/generic/CONFIG_VIDEO_ADP1653
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_ADP1653
@@ -0,0 +1 @@
+# CONFIG_VIDEO_ADP1653 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_AK7375 b/redhat/configs/common/generic/CONFIG_VIDEO_AK7375
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_AK7375
@@ -0,0 +1 @@
+# CONFIG_VIDEO_AK7375 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_DW9714 b/redhat/configs/common/generic/CONFIG_VIDEO_DW9714
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_DW9714
@@ -0,0 +1 @@
+# CONFIG_VIDEO_DW9714 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_DW9807_VCM b/redhat/configs/common/generic/CONFIG_VIDEO_DW9807_VCM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_DW9807_VCM
@@ -0,0 +1 @@
+# CONFIG_VIDEO_DW9807_VCM is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_ET8EK8 b/redhat/configs/common/generic/CONFIG_VIDEO_ET8EK8
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_ET8EK8
@@ -0,0 +1 @@
+# CONFIG_VIDEO_ET8EK8 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_HI556 b/redhat/configs/common/generic/CONFIG_VIDEO_HI556
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_HI556
@@ -0,0 +1 @@
+# CONFIG_VIDEO_HI556 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_IMX258 b/redhat/configs/common/generic/CONFIG_VIDEO_IMX258
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_IMX258
@@ -0,0 +1 @@
+# CONFIG_VIDEO_IMX258 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_IMX274 b/redhat/configs/common/generic/CONFIG_VIDEO_IMX274
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_IMX274
@@ -0,0 +1 @@
+# CONFIG_VIDEO_IMX274 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_IMX319 b/redhat/configs/common/generic/CONFIG_VIDEO_IMX319
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_IMX319
@@ -0,0 +1 @@
+# CONFIG_VIDEO_IMX319 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_IMX355 b/redhat/configs/common/generic/CONFIG_VIDEO_IMX355
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_IMX355
@@ -0,0 +1 @@
+# CONFIG_VIDEO_IMX355 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_IPU3_CIO2 b/redhat/configs/common/generic/CONFIG_VIDEO_IPU3_CIO2
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_IPU3_CIO2
@@ -0,0 +1 @@
+# CONFIG_VIDEO_IPU3_CIO2 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_LM3560 b/redhat/configs/common/generic/CONFIG_VIDEO_LM3560
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_LM3560
@@ -0,0 +1 @@
+# CONFIG_VIDEO_LM3560 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_LM3646 b/redhat/configs/common/generic/CONFIG_VIDEO_LM3646
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_LM3646
@@ -0,0 +1 @@
+# CONFIG_VIDEO_LM3646 is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_M5MOLS b/redhat/configs/common/generic/CONFIG_VIDEO_M5MOLS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_M5MOLS
@@ -0,0 +1 @@
+# CONFIG_VIDEO_M5MOLS is not set
diff --git a/redhat/configs/common/generic/CONFIG_VIDEO_MT9M001 b/redhat/configs/common/generic/CONFIG_VIDEO_MT9M001
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VIDEO_MT9M001
@@ -0,0 +1 @@
+# CONFIG_VIDEO_MT9M001 is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1487