Date   

[PATCH [5.10.y-cip] 04/13] thermal/drivers/rz2gl: Add error check for reset_control_deassert()

Biju Das
 

commit 8ee1c0f6526ce942b7595951c7bb0165010051c2 upstream.

If reset_control_deassert() fails, then we won't be able to access
the device registers. Therefore check the return code of
reset_control_deassert() and bail out in case of error.

While at it replace the parameter "&pdev->dev" -> "dev" in
devm_reset_control_get_exclusive().

Suggested-by: Philipp Zabel <p.zabel@...>
Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Philipp Zabel <p.zabel@...>
Link: https://lore.kernel.org/r/20211208164010.4130-1-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/thermal/rzg2l_thermal.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/rzg2l_thermal.c b/drivers/thermal/rzg2l_thermal.c
index d47d4a30cd6c..7a9cdc1f37ca 100644
--- a/drivers/thermal/rzg2l_thermal.c
+++ b/drivers/thermal/rzg2l_thermal.c
@@ -170,12 +170,14 @@ static int rzg2l_thermal_probe(struct platform_device *pdev)
return PTR_ERR(priv->base);

priv->dev = dev;
- priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
+ priv->rstc = devm_reset_control_get_exclusive(dev, NULL);
if (IS_ERR(priv->rstc))
return dev_err_probe(dev, PTR_ERR(priv->rstc),
"failed to get cpg reset");

- reset_control_deassert(priv->rstc);
+ ret = reset_control_deassert(priv->rstc);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to deassert");

pm_runtime_enable(dev);
pm_runtime_get_sync(dev);
--
2.25.1


[PATCH [5.10.y-cip] 03/13] thermal/drivers: Add TSU driver for RZ/G2L

Biju Das
 

commit 673c68bd48390dad01f7d17670de3e33b60860ac upstream.

The RZ/G2L SoC incorporates a thermal sensor unit (TSU) that measures the
temperature inside the LSI.

The thermal sensor in this unit measures temperatures in the range from
−40 degree Celsius to 125 degree Celsius with an accuracy of ±3°C. The
TSU repeats measurement at 20 microseconds intervals and automatically
updates the results of measurement.

The TSU has no interrupts as well as no external pins.

This patch adds Thermal Sensor Unit(TSU) driver for RZ/G2L SoC.

Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...>
Link: https://lore.kernel.org/r/20211130155757.17837-3-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/rzg2l_thermal.c | 240 ++++++++++++++++++++++++++++++++
3 files changed, 250 insertions(+)
create mode 100644 drivers/thermal/rzg2l_thermal.c

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 7edc8dc6bbab..e51c8cc989d8 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -354,6 +354,15 @@ config RCAR_GEN3_THERMAL
Enable this to plug the R-Car Gen3 or RZ/G2 thermal sensor driver into
the Linux thermal framework.

+config RZG2L_THERMAL
+ tristate "Renesas RZ/G2L thermal driver"
+ depends on ARCH_RENESAS || COMPILE_TEST
+ depends on HAS_IOMEM
+ depends on OF
+ help
+ Enable this to plug the RZ/G2L thermal sensor driver into the Linux
+ thermal framework.
+
config KIRKWOOD_THERMAL
tristate "Temperature sensor on Marvell Kirkwood SoCs"
depends on MACH_KIRKWOOD || COMPILE_TEST
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index b64dd50a6629..b71f9b88b567 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
+obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o
obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
obj-y += samsung/
obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
diff --git a/drivers/thermal/rzg2l_thermal.c b/drivers/thermal/rzg2l_thermal.c
new file mode 100644
index 000000000000..d47d4a30cd6c
--- /dev/null
+++ b/drivers/thermal/rzg2l_thermal.c
@@ -0,0 +1,240 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Renesas RZ/G2L TSU Thermal Sensor Driver
+ *
+ * Copyright (C) 2021 Renesas Electronics Corporation
+ */
+#include <linux/delay.h>
+#include <linux/err.h>
+#include <linux/io.h>
+#include <linux/iopoll.h>
+#include <linux/math.h>
+#include <linux/module.h>
+#include <linux/of_device.h>
+#include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
+#include <linux/reset.h>
+#include <linux/thermal.h>
+#include <linux/units.h>
+
+#include "thermal_hwmon.h"
+
+#define CTEMP_MASK 0xFFF
+
+/* default calibration values, if FUSE values are missing */
+#define SW_CALIB0_VAL 3148
+#define SW_CALIB1_VAL 503
+
+/* Register offsets */
+#define TSU_SM 0x00
+#define TSU_ST 0x04
+#define TSU_SAD 0x0C
+#define TSU_SS 0x10
+
+#define OTPTSUTRIM_REG(n) (0x18 + ((n) * 0x4))
+
+/* Sensor Mode Register(TSU_SM) */
+#define TSU_SM_EN_TS BIT(0)
+#define TSU_SM_ADC_EN_TS BIT(1)
+#define TSU_SM_NORMAL_MODE (TSU_SM_EN_TS | TSU_SM_ADC_EN_TS)
+
+/* TSU_ST bits */
+#define TSU_ST_START BIT(0)
+
+#define TSU_SS_CONV_RUNNING BIT(0)
+
+#define TS_CODE_AVE_SCALE(x) ((x) * 1000000)
+#define MCELSIUS(temp) ((temp) * MILLIDEGREE_PER_DEGREE)
+#define TS_CODE_CAP_TIMES 8 /* Capture times */
+
+#define RZG2L_THERMAL_GRAN 500 /* milli Celsius */
+#define RZG2L_TSU_SS_TIMEOUT_US 1000
+
+#define CURVATURE_CORRECTION_CONST 13
+
+struct rzg2l_thermal_priv {
+ struct device *dev;
+ void __iomem *base;
+ struct thermal_zone_device *zone;
+ struct reset_control *rstc;
+ u32 calib0, calib1;
+};
+
+static inline u32 rzg2l_thermal_read(struct rzg2l_thermal_priv *priv, u32 reg)
+{
+ return ioread32(priv->base + reg);
+}
+
+static inline void rzg2l_thermal_write(struct rzg2l_thermal_priv *priv, u32 reg,
+ u32 data)
+{
+ iowrite32(data, priv->base + reg);
+}
+
+static int rzg2l_thermal_get_temp(void *devdata, int *temp)
+{
+ struct rzg2l_thermal_priv *priv = devdata;
+ u32 result = 0, dsensor, ts_code_ave;
+ int val, i;
+
+ for (i = 0; i < TS_CODE_CAP_TIMES ; i++) {
+ /* TSU repeats measurement at 20 microseconds intervals and
+ * automatically updates the results of measurement. As per
+ * the HW manual for measuring temperature we need to read 8
+ * values consecutively and then take the average.
+ * ts_code_ave = (ts_code[0] + ⋯ + ts_code[7]) / 8
+ */
+ result += rzg2l_thermal_read(priv, TSU_SAD) & CTEMP_MASK;
+ usleep_range(20, 30);
+ }
+
+ ts_code_ave = result / TS_CODE_CAP_TIMES;
+
+ /* Calculate actual sensor value by applying curvature correction formula
+ * dsensor = ts_code_ave / (1 + ts_code_ave * 0.000013). Here we are doing
+ * integer calculation by scaling all the values by 1000000.
+ */
+ dsensor = TS_CODE_AVE_SCALE(ts_code_ave) /
+ (TS_CODE_AVE_SCALE(1) + (ts_code_ave * CURVATURE_CORRECTION_CONST));
+
+ /* The temperature Tj is calculated by the formula
+ * Tj = (dsensor − calib1) * 165/ (calib0 − calib1) − 40
+ * where calib0 and calib1 are the caliberation values.
+ */
+ val = ((dsensor - priv->calib1) * (MCELSIUS(165) /
+ (priv->calib0 - priv->calib1))) - MCELSIUS(40);
+
+ *temp = roundup(val, RZG2L_THERMAL_GRAN);
+
+ return 0;
+}
+
+static const struct thermal_zone_of_device_ops rzg2l_tz_of_ops = {
+ .get_temp = rzg2l_thermal_get_temp,
+};
+
+static int rzg2l_thermal_init(struct rzg2l_thermal_priv *priv)
+{
+ u32 reg_val;
+
+ rzg2l_thermal_write(priv, TSU_SM, TSU_SM_NORMAL_MODE);
+ rzg2l_thermal_write(priv, TSU_ST, 0);
+
+ /* Before setting the START bit, TSU should be in normal operating
+ * mode. As per the HW manual, it will take 60 µs to place the TSU
+ * into normal operating mode.
+ */
+ usleep_range(60, 80);
+
+ reg_val = rzg2l_thermal_read(priv, TSU_ST);
+ reg_val |= TSU_ST_START;
+ rzg2l_thermal_write(priv, TSU_ST, reg_val);
+
+ return readl_poll_timeout(priv->base + TSU_SS, reg_val,
+ reg_val == TSU_SS_CONV_RUNNING, 50,
+ RZG2L_TSU_SS_TIMEOUT_US);
+}
+
+static void rzg2l_thermal_reset_assert_pm_disable_put(struct platform_device *pdev)
+{
+ struct rzg2l_thermal_priv *priv = dev_get_drvdata(&pdev->dev);
+
+ pm_runtime_put(&pdev->dev);
+ pm_runtime_disable(&pdev->dev);
+ reset_control_assert(priv->rstc);
+}
+
+static int rzg2l_thermal_remove(struct platform_device *pdev)
+{
+ struct rzg2l_thermal_priv *priv = dev_get_drvdata(&pdev->dev);
+
+ thermal_remove_hwmon_sysfs(priv->zone);
+ rzg2l_thermal_reset_assert_pm_disable_put(pdev);
+
+ return 0;
+}
+
+static int rzg2l_thermal_probe(struct platform_device *pdev)
+{
+ struct thermal_zone_device *zone;
+ struct rzg2l_thermal_priv *priv;
+ struct device *dev = &pdev->dev;
+ int ret;
+
+ priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
+ if (!priv)
+ return -ENOMEM;
+
+ priv->base = devm_platform_ioremap_resource(pdev, 0);
+ if (IS_ERR(priv->base))
+ return PTR_ERR(priv->base);
+
+ priv->dev = dev;
+ priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
+ if (IS_ERR(priv->rstc))
+ return dev_err_probe(dev, PTR_ERR(priv->rstc),
+ "failed to get cpg reset");
+
+ reset_control_deassert(priv->rstc);
+
+ pm_runtime_enable(dev);
+ pm_runtime_get_sync(dev);
+
+ priv->calib0 = rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0));
+ if (!priv->calib0)
+ priv->calib0 = SW_CALIB0_VAL;
+
+ priv->calib1 = rzg2l_thermal_read(priv, OTPTSUTRIM_REG(1));
+ if (!priv->calib1)
+ priv->calib1 = SW_CALIB1_VAL;
+
+ platform_set_drvdata(pdev, priv);
+ ret = rzg2l_thermal_init(priv);
+ if (ret) {
+ dev_err(dev, "Failed to start TSU");
+ goto err;
+ }
+
+ zone = devm_thermal_zone_of_sensor_register(dev, 0, priv,
+ &rzg2l_tz_of_ops);
+ if (IS_ERR(zone)) {
+ dev_err(dev, "Can't register thermal zone");
+ ret = PTR_ERR(zone);
+ goto err;
+ }
+
+ priv->zone = zone;
+ priv->zone->tzp->no_hwmon = false;
+ ret = thermal_add_hwmon_sysfs(priv->zone);
+ if (ret)
+ goto err;
+
+ dev_dbg(dev, "TSU probed with %s caliberation values",
+ rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0)) ? "hw" : "sw");
+
+ return 0;
+
+err:
+ rzg2l_thermal_reset_assert_pm_disable_put(pdev);
+ return ret;
+}
+
+static const struct of_device_id rzg2l_thermal_dt_ids[] = {
+ { .compatible = "renesas,rzg2l-tsu", },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, rzg2l_thermal_dt_ids);
+
+static struct platform_driver rzg2l_thermal_driver = {
+ .driver = {
+ .name = "rzg2l_thermal",
+ .of_match_table = rzg2l_thermal_dt_ids,
+ },
+ .probe = rzg2l_thermal_probe,
+ .remove = rzg2l_thermal_remove,
+};
+module_platform_driver(rzg2l_thermal_driver);
+
+MODULE_DESCRIPTION("Renesas RZ/G2L TSU Thermal Sensor Driver");
+MODULE_AUTHOR("Biju Das <biju.das.jz@...>");
+MODULE_LICENSE("GPL v2");
--
2.25.1


[PATCH [5.10.y-cip] 02/13] units: Add SI metric prefix definitions

Biju Das
 

From: Andy Shevchenko <andriy.shevchenko@...>

commit 26471d4a6cf8d5d0bd0fb55c7169de7d67cc703a upstream.

Sometimes it's useful to have well-defined SI metric prefix to be used
to self-describe the formulas or equations.

List most popular ones in the units.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@...>
Signed-off-by: Wolfram Sang <wsa@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
include/linux/units.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/include/linux/units.h b/include/linux/units.h
index 5c115c809507..4a25e0cc8fb3 100644
--- a/include/linux/units.h
+++ b/include/linux/units.h
@@ -4,6 +4,26 @@

#include <linux/math.h>

+/* Metric prefixes in accordance with Système international (d'unités) */
+#define PETA 1000000000000000ULL
+#define TERA 1000000000000ULL
+#define GIGA 1000000000UL
+#define MEGA 1000000UL
+#define KILO 1000UL
+#define HECTO 100UL
+#define DECA 10UL
+#define DECI 10UL
+#define CENTI 100UL
+#define MILLI 1000UL
+#define MICRO 1000000UL
+#define NANO 1000000000UL
+#define PICO 1000000000000ULL
+#define FEMTO 1000000000000000ULL
+
+#define MILLIWATT_PER_WATT 1000L
+#define MICROWATT_PER_MILLIWATT 1000L
+#define MICROWATT_PER_WATT 1000000L
+
#define ABSOLUTE_ZERO_MILLICELSIUS -273150

static inline long milli_kelvin_to_millicelsius(long t)
--
2.25.1


[PATCH [5.10.y-cip] 01/13] kernel.h: split out mathematical helpers

Biju Das
 

From: Andy Shevchenko <andriy.shevchenko@...>

commit aa6159ab99a9ab5df835b4750b66cf132a5aa292 upstream

kernel.h is being used as a dump for all kinds of stuff for a long time.
Here is the attempt to start cleaning it up by splitting out
mathematical helpers.

At the same time convert users in header and lib folder to use new
header. Though for time being include new header back to kernel.h to
avoid twisted indirected includes for existing users.

[sfr@...: fix powerpc build]
Link: https://lkml.kernel.org/r/20201029150809.13059608@canb.auug.org.au

Link: https://lkml.kernel.org/r/20201028173212.41768-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...>
Cc: "Paul E. McKenney" <paulmck@...>
Cc: Trond Myklebust <trond.myklebust@...>
Cc: Jeff Layton <jlayton@...>
Cc: Rasmus Villemoes <linux@...>
Signed-off-by: Andrew Morton <akpm@...>
Signed-off-by: Linus Torvalds <torvalds@...>
[biju: manually applied trivial change]
Signed-off-by: Biju Das <biju.das.jz@...>
---
fs/nfs/callback_proc.c | 5 +
include/linux/bitops.h | 11 ++-
include/linux/dcache.h | 1 +
include/linux/iommu-helper.h | 4 +-
include/linux/kernel.h | 173 +--------------------------------
include/linux/math.h | 177 ++++++++++++++++++++++++++++++++++
include/linux/rcu_node_tree.h | 2 +
include/linux/units.h | 2 +-
lib/errname.c | 1 +
lib/errseq.c | 1 +
lib/find_bit.c | 3 +-
lib/math/div64.c | 4 +-
lib/math/int_pow.c | 2 +-
lib/math/int_sqrt.c | 3 +-
lib/math/reciprocal_div.c | 9 +-
15 files changed, 215 insertions(+), 183 deletions(-)
create mode 100644 include/linux/math.h

diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index bfdd21224073..ccf313238441 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -6,10 +6,15 @@
*
* NFSv4 callback procedures
*/
+
+#include <linux/errno.h>
+#include <linux/math.h>
#include <linux/nfs4.h>
#include <linux/nfs_fs.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
+#include <linux/types.h>
+
#include "nfs4_fs.h"
#include "callback.h"
#include "delegation.h"
diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index 5b74bdf159d6..a61f192c096b 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -1,9 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_BITOPS_H
#define _LINUX_BITOPS_H
+
#include <asm/types.h>
#include <linux/bits.h>

+#include <uapi/linux/kernel.h>
+
/* Set bits in the first 'n' bytes when loaded from memory */
#ifdef __LITTLE_ENDIAN
# define aligned_byte_mask(n) ((1UL << 8*(n))-1)
@@ -12,10 +15,10 @@
#endif

#define BITS_PER_TYPE(type) (sizeof(type) * BITS_PER_BYTE)
-#define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long))
-#define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u64))
-#define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32))
-#define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
+#define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long))
+#define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64))
+#define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32))
+#define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char))

extern unsigned int __sw_hweight8(unsigned int w);
extern unsigned int __sw_hweight16(unsigned int w);
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 6f95c3300cbb..d7b369fc15d3 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -4,6 +4,7 @@

#include <linux/atomic.h>
#include <linux/list.h>
+#include <linux/math.h>
#include <linux/rculist.h>
#include <linux/rculist_bl.h>
#include <linux/spinlock.h>
diff --git a/include/linux/iommu-helper.h b/include/linux/iommu-helper.h
index 70d01edcbf8b..74be34f3a20a 100644
--- a/include/linux/iommu-helper.h
+++ b/include/linux/iommu-helper.h
@@ -3,7 +3,9 @@
#define _LINUX_IOMMU_HELPER_H

#include <linux/bug.h>
-#include <linux/kernel.h>
+#include <linux/log2.h>
+#include <linux/math.h>
+#include <linux/types.h>

static inline unsigned long iommu_device_max_index(unsigned long size,
unsigned long offset,
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index f5392d96d688..0586f87dab73 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -2,7 +2,6 @@
#ifndef _LINUX_KERNEL_H
#define _LINUX_KERNEL_H

-
#include <stdarg.h>
#include <linux/limits.h>
#include <linux/linkage.h>
@@ -11,12 +10,14 @@
#include <linux/compiler.h>
#include <linux/bitops.h>
#include <linux/log2.h>
+#include <linux/math.h>
#include <linux/minmax.h>
#include <linux/typecheck.h>
#include <linux/printk.h>
#include <linux/build_bug.h>
+
#include <asm/byteorder.h>
-#include <asm/div64.h>
+
#include <uapi/linux/kernel.h>

#define STACK_MAGIC 0xdeadbeef
@@ -54,125 +55,11 @@
} \
)

-/*
- * This looks more complex than it should be. But we need to
- * get the type for the ~ right in round_down (it needs to be
- * as wide as the result!), and we want to evaluate the macro
- * arguments just once each.
- */
-#define __round_mask(x, y) ((__typeof__(x))((y)-1))
-/**
- * round_up - round up to next specified power of 2
- * @x: the value to round
- * @y: multiple to round up to (must be a power of 2)
- *
- * Rounds @x up to next multiple of @y (which must be a power of 2).
- * To perform arbitrary rounding up, use roundup() below.
- */
-#define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
-/**
- * round_down - round down to next specified power of 2
- * @x: the value to round
- * @y: multiple to round down to (must be a power of 2)
- *
- * Rounds @x down to next multiple of @y (which must be a power of 2).
- * To perform arbitrary rounding down, use rounddown() below.
- */
-#define round_down(x, y) ((x) & ~__round_mask(x, y))
-
#define typeof_member(T, m) typeof(((T*)0)->m)

-#define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
-
-#define DIV_ROUND_DOWN_ULL(ll, d) \
- ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
-
-#define DIV_ROUND_UP_ULL(ll, d) \
- DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
-
-#if BITS_PER_LONG == 32
-# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)
-#else
-# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d)
-#endif
-
-/**
- * roundup - round up to the next specified multiple
- * @x: the value to up
- * @y: multiple to round up to
- *
- * Rounds @x up to next multiple of @y. If @y will always be a power
- * of 2, consider using the faster round_up().
- */
-#define roundup(x, y) ( \
-{ \
- typeof(y) __y = y; \
- (((x) + (__y - 1)) / __y) * __y; \
-} \
-)
-/**
- * rounddown - round down to next specified multiple
- * @x: the value to round
- * @y: multiple to round down to
- *
- * Rounds @x down to next multiple of @y. If @y will always be a power
- * of 2, consider using the faster round_down().
- */
-#define rounddown(x, y) ( \
-{ \
- typeof(x) __x = (x); \
- __x - (__x % (y)); \
-} \
-)
-
-/*
- * Divide positive or negative dividend by positive or negative divisor
- * and round to closest integer. Result is undefined for negative
- * divisors if the dividend variable type is unsigned and for negative
- * dividends if the divisor variable type is unsigned.
- */
-#define DIV_ROUND_CLOSEST(x, divisor)( \
-{ \
- typeof(x) __x = x; \
- typeof(divisor) __d = divisor; \
- (((typeof(x))-1) > 0 || \
- ((typeof(divisor))-1) > 0 || \
- (((__x) > 0) == ((__d) > 0))) ? \
- (((__x) + ((__d) / 2)) / (__d)) : \
- (((__x) - ((__d) / 2)) / (__d)); \
-} \
-)
-/*
- * Same as above but for u64 dividends. divisor must be a 32-bit
- * number.
- */
-#define DIV_ROUND_CLOSEST_ULL(x, divisor)( \
-{ \
- typeof(divisor) __d = divisor; \
- unsigned long long _tmp = (x) + (__d) / 2; \
- do_div(_tmp, __d); \
- _tmp; \
-} \
-)
-
-/*
- * Multiplies an integer by a fraction, while avoiding unnecessary
- * overflow or loss of precision.
- */
-#define mult_frac(x, numer, denom)( \
-{ \
- typeof(x) quot = (x) / (denom); \
- typeof(x) rem = (x) % (denom); \
- (quot * (numer)) + ((rem * (numer)) / (denom)); \
-} \
-)
-
-
#define _RET_IP_ (unsigned long)__builtin_return_address(0)
#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })

-#define sector_div(a, b) do_div(a, b)
-
/**
* upper_32_bits - return bits 32-63 of a number
* @n: the number we're accessing
@@ -265,48 +152,6 @@ extern void __cant_sleep(const char *file, int line, int preempt_offset);
# define cant_migrate() do { } while (0)
#endif

-/**
- * abs - return absolute value of an argument
- * @x: the value. If it is unsigned type, it is converted to signed type first.
- * char is treated as if it was signed (regardless of whether it really is)
- * but the macro's return type is preserved as char.
- *
- * Return: an absolute value of x.
- */
-#define abs(x) __abs_choose_expr(x, long long, \
- __abs_choose_expr(x, long, \
- __abs_choose_expr(x, int, \
- __abs_choose_expr(x, short, \
- __abs_choose_expr(x, char, \
- __builtin_choose_expr( \
- __builtin_types_compatible_p(typeof(x), char), \
- (char)({ signed char __x = (x); __x<0?-__x:__x; }), \
- ((void)0)))))))
-
-#define __abs_choose_expr(x, type, other) __builtin_choose_expr( \
- __builtin_types_compatible_p(typeof(x), signed type) || \
- __builtin_types_compatible_p(typeof(x), unsigned type), \
- ({ signed type __x = (x); __x < 0 ? -__x : __x; }), other)
-
-/**
- * reciprocal_scale - "scale" a value into range [0, ep_ro)
- * @val: value
- * @ep_ro: right open interval endpoint
- *
- * Perform a "reciprocal multiplication" in order to "scale" a value into
- * range [0, @ep_ro), where the upper interval endpoint is right-open.
- * This is useful, e.g. for accessing a index of an array containing
- * @ep_ro elements, for example. Think of it as sort of modulus, only that
- * the result isn't that of modulo. ;) Note that if initial input is a
- * small value, then result will return 0.
- *
- * Return: a result based on @val in interval [0, @ep_ro).
- */
-static inline u32 reciprocal_scale(u32 val, u32 ep_ro)
-{
- return (u32)(((u64) val * ep_ro) >> 32);
-}
-
#if defined(CONFIG_MMU) && \
(defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP))
#define might_fault() __might_fault(__FILE__, __LINE__)
@@ -508,18 +353,6 @@ extern int __kernel_text_address(unsigned long addr);
extern int kernel_text_address(unsigned long addr);
extern int func_ptr_is_kernel_text(void *ptr);

-u64 int_pow(u64 base, unsigned int exp);
-unsigned long int_sqrt(unsigned long);
-
-#if BITS_PER_LONG < 64
-u32 int_sqrt64(u64 x);
-#else
-static inline u32 int_sqrt64(u64 x)
-{
- return (u32)int_sqrt(x);
-}
-#endif
-
#ifdef CONFIG_SMP
extern unsigned int sysctl_oops_all_cpu_backtrace;
#else
diff --git a/include/linux/math.h b/include/linux/math.h
new file mode 100644
index 000000000000..53674a327e39
--- /dev/null
+++ b/include/linux/math.h
@@ -0,0 +1,177 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_MATH_H
+#define _LINUX_MATH_H
+
+#include <asm/div64.h>
+#include <uapi/linux/kernel.h>
+
+/*
+ * This looks more complex than it should be. But we need to
+ * get the type for the ~ right in round_down (it needs to be
+ * as wide as the result!), and we want to evaluate the macro
+ * arguments just once each.
+ */
+#define __round_mask(x, y) ((__typeof__(x))((y)-1))
+
+/**
+ * round_up - round up to next specified power of 2
+ * @x: the value to round
+ * @y: multiple to round up to (must be a power of 2)
+ *
+ * Rounds @x up to next multiple of @y (which must be a power of 2).
+ * To perform arbitrary rounding up, use roundup() below.
+ */
+#define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
+
+/**
+ * round_down - round down to next specified power of 2
+ * @x: the value to round
+ * @y: multiple to round down to (must be a power of 2)
+ *
+ * Rounds @x down to next multiple of @y (which must be a power of 2).
+ * To perform arbitrary rounding down, use rounddown() below.
+ */
+#define round_down(x, y) ((x) & ~__round_mask(x, y))
+
+#define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
+
+#define DIV_ROUND_DOWN_ULL(ll, d) \
+ ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
+
+#define DIV_ROUND_UP_ULL(ll, d) \
+ DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
+
+#if BITS_PER_LONG == 32
+# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)
+#else
+# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d)
+#endif
+
+/**
+ * roundup - round up to the next specified multiple
+ * @x: the value to up
+ * @y: multiple to round up to
+ *
+ * Rounds @x up to next multiple of @y. If @y will always be a power
+ * of 2, consider using the faster round_up().
+ */
+#define roundup(x, y) ( \
+{ \
+ typeof(y) __y = y; \
+ (((x) + (__y - 1)) / __y) * __y; \
+} \
+)
+/**
+ * rounddown - round down to next specified multiple
+ * @x: the value to round
+ * @y: multiple to round down to
+ *
+ * Rounds @x down to next multiple of @y. If @y will always be a power
+ * of 2, consider using the faster round_down().
+ */
+#define rounddown(x, y) ( \
+{ \
+ typeof(x) __x = (x); \
+ __x - (__x % (y)); \
+} \
+)
+
+/*
+ * Divide positive or negative dividend by positive or negative divisor
+ * and round to closest integer. Result is undefined for negative
+ * divisors if the dividend variable type is unsigned and for negative
+ * dividends if the divisor variable type is unsigned.
+ */
+#define DIV_ROUND_CLOSEST(x, divisor)( \
+{ \
+ typeof(x) __x = x; \
+ typeof(divisor) __d = divisor; \
+ (((typeof(x))-1) > 0 || \
+ ((typeof(divisor))-1) > 0 || \
+ (((__x) > 0) == ((__d) > 0))) ? \
+ (((__x) + ((__d) / 2)) / (__d)) : \
+ (((__x) - ((__d) / 2)) / (__d)); \
+} \
+)
+/*
+ * Same as above but for u64 dividends. divisor must be a 32-bit
+ * number.
+ */
+#define DIV_ROUND_CLOSEST_ULL(x, divisor)( \
+{ \
+ typeof(divisor) __d = divisor; \
+ unsigned long long _tmp = (x) + (__d) / 2; \
+ do_div(_tmp, __d); \
+ _tmp; \
+} \
+)
+
+/*
+ * Multiplies an integer by a fraction, while avoiding unnecessary
+ * overflow or loss of precision.
+ */
+#define mult_frac(x, numer, denom)( \
+{ \
+ typeof(x) quot = (x) / (denom); \
+ typeof(x) rem = (x) % (denom); \
+ (quot * (numer)) + ((rem * (numer)) / (denom)); \
+} \
+)
+
+#define sector_div(a, b) do_div(a, b)
+
+/**
+ * abs - return absolute value of an argument
+ * @x: the value. If it is unsigned type, it is converted to signed type first.
+ * char is treated as if it was signed (regardless of whether it really is)
+ * but the macro's return type is preserved as char.
+ *
+ * Return: an absolute value of x.
+ */
+#define abs(x) __abs_choose_expr(x, long long, \
+ __abs_choose_expr(x, long, \
+ __abs_choose_expr(x, int, \
+ __abs_choose_expr(x, short, \
+ __abs_choose_expr(x, char, \
+ __builtin_choose_expr( \
+ __builtin_types_compatible_p(typeof(x), char), \
+ (char)({ signed char __x = (x); __x<0?-__x:__x; }), \
+ ((void)0)))))))
+
+#define __abs_choose_expr(x, type, other) __builtin_choose_expr( \
+ __builtin_types_compatible_p(typeof(x), signed type) || \
+ __builtin_types_compatible_p(typeof(x), unsigned type), \
+ ({ signed type __x = (x); __x < 0 ? -__x : __x; }), other)
+
+/**
+ * reciprocal_scale - "scale" a value into range [0, ep_ro)
+ * @val: value
+ * @ep_ro: right open interval endpoint
+ *
+ * Perform a "reciprocal multiplication" in order to "scale" a value into
+ * range [0, @ep_ro), where the upper interval endpoint is right-open.
+ * This is useful, e.g. for accessing a index of an array containing
+ * @ep_ro elements, for example. Think of it as sort of modulus, only that
+ * the result isn't that of modulo. ;) Note that if initial input is a
+ * small value, then result will return 0.
+ *
+ * Return: a result based on @val in interval [0, @ep_ro).
+ */
+static inline u32 reciprocal_scale(u32 val, u32 ep_ro)
+{
+ return (u32)(((u64) val * ep_ro) >> 32);
+}
+
+u64 int_pow(u64 base, unsigned int exp);
+unsigned long int_sqrt(unsigned long);
+
+#if BITS_PER_LONG < 64
+u32 int_sqrt64(u64 x);
+#else
+static inline u32 int_sqrt64(u64 x)
+{
+ return (u32)int_sqrt(x);
+}
+#endif
+
+#endif /* _LINUX_MATH_H */
diff --git a/include/linux/rcu_node_tree.h b/include/linux/rcu_node_tree.h
index b8e094b125ee..78feb8ba7358 100644
--- a/include/linux/rcu_node_tree.h
+++ b/include/linux/rcu_node_tree.h
@@ -20,6 +20,8 @@
#ifndef __LINUX_RCU_NODE_TREE_H
#define __LINUX_RCU_NODE_TREE_H

+#include <linux/math.h>
+
/*
* Define shape of hierarchy based on NR_CPUS, CONFIG_RCU_FANOUT, and
* CONFIG_RCU_FANOUT_LEAF.
diff --git a/include/linux/units.h b/include/linux/units.h
index aaf716364ec3..5c115c809507 100644
--- a/include/linux/units.h
+++ b/include/linux/units.h
@@ -2,7 +2,7 @@
#ifndef _LINUX_UNITS_H
#define _LINUX_UNITS_H

-#include <linux/kernel.h>
+#include <linux/math.h>

#define ABSOLUTE_ZERO_MILLICELSIUS -273150

diff --git a/lib/errname.c b/lib/errname.c
index 0c4d3e66170e..05cbf731545f 100644
--- a/lib/errname.c
+++ b/lib/errname.c
@@ -3,6 +3,7 @@
#include <linux/errno.h>
#include <linux/errname.h>
#include <linux/kernel.h>
+#include <linux/math.h>

/*
* Ensure these tables do not accidentally become gigantic if some
diff --git a/lib/errseq.c b/lib/errseq.c
index 81f9e33aa7e7..93e9b94358dc 100644
--- a/lib/errseq.c
+++ b/lib/errseq.c
@@ -3,6 +3,7 @@
#include <linux/bug.h>
#include <linux/atomic.h>
#include <linux/errseq.h>
+#include <linux/log2.h>

/*
* An errseq_t is a way of recording errors in one place, and allowing any
diff --git a/lib/find_bit.c b/lib/find_bit.c
index 4a8751010d59..f67f86fd2f62 100644
--- a/lib/find_bit.c
+++ b/lib/find_bit.c
@@ -15,8 +15,9 @@
#include <linux/bitops.h>
#include <linux/bitmap.h>
#include <linux/export.h>
-#include <linux/kernel.h>
+#include <linux/math.h>
#include <linux/minmax.h>
+#include <linux/swab.h>

#if !defined(find_next_bit) || !defined(find_next_zero_bit) || \
!defined(find_next_bit_le) || !defined(find_next_zero_bit_le) || \
diff --git a/lib/math/div64.c b/lib/math/div64.c
index edd1090c9edb..46866394fc84 100644
--- a/lib/math/div64.c
+++ b/lib/math/div64.c
@@ -18,9 +18,11 @@
* or by defining a preprocessor macro in arch/include/asm/div64.h.
*/

+#include <linux/bitops.h>
#include <linux/export.h>
-#include <linux/kernel.h>
+#include <linux/math.h>
#include <linux/math64.h>
+#include <linux/log2.h>

/* Not needed on 64bit architectures */
#if BITS_PER_LONG == 32
diff --git a/lib/math/int_pow.c b/lib/math/int_pow.c
index 622fc1ab3c74..0cf426e69bda 100644
--- a/lib/math/int_pow.c
+++ b/lib/math/int_pow.c
@@ -6,7 +6,7 @@
*/

#include <linux/export.h>
-#include <linux/kernel.h>
+#include <linux/math.h>
#include <linux/types.h>

/**
diff --git a/lib/math/int_sqrt.c b/lib/math/int_sqrt.c
index 30e0f9770f88..a8170bb9142f 100644
--- a/lib/math/int_sqrt.c
+++ b/lib/math/int_sqrt.c
@@ -6,9 +6,10 @@
* square root from Guy L. Steele.
*/

-#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/bitops.h>
+#include <linux/limits.h>
+#include <linux/math.h>

/**
* int_sqrt - computes the integer square root
diff --git a/lib/math/reciprocal_div.c b/lib/math/reciprocal_div.c
index 32436dd4171e..6cb4adbb81d2 100644
--- a/lib/math/reciprocal_div.c
+++ b/lib/math/reciprocal_div.c
@@ -1,10 +1,13 @@
// SPDX-License-Identifier: GPL-2.0
+#include <linux/bitops.h>
#include <linux/bug.h>
-#include <linux/kernel.h>
-#include <asm/div64.h>
-#include <linux/reciprocal_div.h>
#include <linux/export.h>
+#include <linux/limits.h>
+#include <linux/math.h>
#include <linux/minmax.h>
+#include <linux/types.h>
+
+#include <linux/reciprocal_div.h>

/*
* For a description of the algorithm please have a look at
--
2.25.1


[PATCH [5.10.y-cip] 00/13] Add thermal driver and watchdog driver enhancements

Biju Das
 

This patch series aims to add thermal driver support and watchdog driver enhancments
for RZ/G2L platform.

Andy Shevchenko (2):
kernel.h: split out mathematical helpers
units: Add SI metric prefix definitions

Biju Das (10):
thermal/drivers: Add TSU driver for RZ/G2L
thermal/drivers/rz2gl: Add error check for reset_control_deassert()
thermal/drivers/rz2gl: Fix OTP Calibration Register values
watchdog: rzg2l_wdt: Fix 32bit overflow issue
watchdog: rzg2l_wdt: Fix Runtime PM usage
watchdog: rzg2l_wdt: Fix 'BUG: Invalid wait context'
watchdog: rzg2l_wdt: Fix reset control imbalance
watchdog: rzg2l_wdt: Add error check for reset_control_deassert
watchdog: rzg2l_wdt: Use force reset for WDT reset
watchdog: rzg2l_wdt: Add set_timeout callback

Geert Uytterhoeven (1):
arm64: defconfig: Enable additional support for Renesas platforms

arch/arm64/configs/defconfig | 4 +
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/rzg2l_thermal.c | 248 ++++++++++++++++++++++++++++++++
drivers/watchdog/rzg2l_wdt.c | 83 ++++++-----
fs/nfs/callback_proc.c | 5 +
include/linux/bitops.h | 11 +-
include/linux/dcache.h | 1 +
include/linux/iommu-helper.h | 4 +-
include/linux/kernel.h | 173 +---------------------
include/linux/math.h | 177 +++++++++++++++++++++++
include/linux/rcu_node_tree.h | 2 +
include/linux/units.h | 22 ++-
lib/errname.c | 1 +
lib/errseq.c | 1 +
lib/find_bit.c | 3 +-
lib/math/div64.c | 4 +-
lib/math/int_pow.c | 2 +-
lib/math/int_sqrt.c | 3 +-
lib/math/reciprocal_div.c | 9 +-
20 files changed, 544 insertions(+), 219 deletions(-)
create mode 100644 drivers/thermal/rzg2l_thermal.c
create mode 100644 include/linux/math.h

--
2.25.1


[PATCH [5.10.y-cip] 12/13] watchdog: rzg2l_wdt: Use force reset for WDT reset

Biju Das
 

commit f43e6ddbd7d7b63b9e71927a1f50860f8d55f9cc upstream.

This patch uses the force reset(WDTRSTB) for triggering WDT reset for
restart callback. This method(ie, Generate Reset (WDTRSTB) Signal on
parity error)is faster compared to the overflow method for triggering
watchdog reset.

Overflow method:
reboot: Restarting system
Reboot failed -- System halted
NOTICE: BL2: v2.5(release):v2.5/rzg2l-1.00-27-gf48f1440c

Parity error method:
reboot: Restarting system
NOTICE: BL2: v2.5(release):v2.5/rzg2l-1.00-27-gf48f1440c

Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Reviewed-by: Guenter Roeck <linux@...>
Link: https://lore.kernel.org/r/20220225175320.11041-7-biju.das.jz@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@...>
Signed-off-by: Wim Van Sebroeck <wim@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/watchdog/rzg2l_wdt.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/watchdog/rzg2l_wdt.c b/drivers/watchdog/rzg2l_wdt.c
index 73b667ed3e99..4e7107655cc2 100644
--- a/drivers/watchdog/rzg2l_wdt.c
+++ b/drivers/watchdog/rzg2l_wdt.c
@@ -21,8 +21,11 @@
#define WDTSET 0x04
#define WDTTIM 0x08
#define WDTINT 0x0C
+#define PECR 0x10
+#define PEEN 0x14
#define WDTCNT_WDTEN BIT(0)
#define WDTINT_INTDISP BIT(0)
+#define PEEN_FORCE BIT(0)

#define WDT_DEFAULT_TIMEOUT 60U

@@ -117,17 +120,14 @@ static int rzg2l_wdt_restart(struct watchdog_device *wdev,
{
struct rzg2l_wdt_priv *priv = watchdog_get_drvdata(wdev);

- /* Reset the module before we modify any register */
- reset_control_reset(priv->rstc);
-
clk_prepare_enable(priv->pclk);
clk_prepare_enable(priv->osc_clk);

- /* smallest counter value to reboot soon */
- rzg2l_wdt_write(priv, WDTSET_COUNTER_VAL(1), WDTSET);
+ /* Generate Reset (WDTRSTB) Signal on parity error */
+ rzg2l_wdt_write(priv, 0, PECR);

- /* Enable watchdog timer*/
- rzg2l_wdt_write(priv, WDTCNT_WDTEN, WDTCNT);
+ /* Force parity error */
+ rzg2l_wdt_write(priv, PEEN_FORCE, PEEN);

return 0;
}
--
2.25.1


[PATCH [5.10.y-cip] 10/13] watchdog: rzg2l_wdt: Fix reset control imbalance

Biju Das
 

commit 33d04d0fdba9fae18c7d58364643d2c606a43dba upstream.

Both rzg2l_wdt_probe() and rzg2l_wdt_start() calls reset_control_
deassert() which results in a reset control imbalance.

This patch fixes reset control imbalance by removing reset_control_
deassert() from rzg2l_wdt_start() and replaces reset_control_assert with
reset_control_reset in rzg2l_wdt_stop() as watchdog module can be stopped
only by a module reset. This change will allow us to restart WDT after
stop() by configuring WDT timeout and enable registers.

Fixes: 2cbc5cd0b55fa2 ("watchdog: Add Watchdog Timer driver for RZ/G2L")
Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Reviewed-by: Guenter Roeck <linux@...>
Link: https://lore.kernel.org/r/20220225175320.11041-5-biju.das.jz@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@...>
Signed-off-by: Wim Van Sebroeck <wim@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/watchdog/rzg2l_wdt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/watchdog/rzg2l_wdt.c b/drivers/watchdog/rzg2l_wdt.c
index 48dfe6e5e64f..88274704b260 100644
--- a/drivers/watchdog/rzg2l_wdt.c
+++ b/drivers/watchdog/rzg2l_wdt.c
@@ -88,7 +88,6 @@ static int rzg2l_wdt_start(struct watchdog_device *wdev)
{
struct rzg2l_wdt_priv *priv = watchdog_get_drvdata(wdev);

- reset_control_deassert(priv->rstc);
pm_runtime_get_sync(wdev->parent);

/* Initialize time out */
@@ -108,7 +107,7 @@ static int rzg2l_wdt_stop(struct watchdog_device *wdev)
struct rzg2l_wdt_priv *priv = watchdog_get_drvdata(wdev);

pm_runtime_put(wdev->parent);
- reset_control_assert(priv->rstc);
+ reset_control_reset(priv->rstc);

return 0;
}
--
2.25.1


[PATCH [5.10.y-cip] 08/13] watchdog: rzg2l_wdt: Fix Runtime PM usage

Biju Das
 

commit 95abafe76297fa057de6c3486ef844bd446bdf18 upstream.

Both rzg2l_wdt_probe() and rzg2l_wdt_start() calls pm_runtime_get() which
results in a usage counter imbalance. This patch fixes this issue by
removing pm_runtime_get() call from probe.

Fixes: 2cbc5cd0b55fa2 ("watchdog: Add Watchdog Timer driver for RZ/G2L")
Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Reviewed-by: Guenter Roeck <linux@...>
Link: https://lore.kernel.org/r/20220225175320.11041-3-biju.das.jz@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@...>
Signed-off-by: Wim Van Sebroeck <wim@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/watchdog/rzg2l_wdt.c | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/drivers/watchdog/rzg2l_wdt.c b/drivers/watchdog/rzg2l_wdt.c
index 96f2a018ab62..0fc73b8a9567 100644
--- a/drivers/watchdog/rzg2l_wdt.c
+++ b/drivers/watchdog/rzg2l_wdt.c
@@ -151,12 +151,11 @@ static const struct watchdog_ops rzg2l_wdt_ops = {
.restart = rzg2l_wdt_restart,
};

-static void rzg2l_wdt_reset_assert_pm_disable_put(void *data)
+static void rzg2l_wdt_reset_assert_pm_disable(void *data)
{
struct watchdog_device *wdev = data;
struct rzg2l_wdt_priv *priv = watchdog_get_drvdata(wdev);

- pm_runtime_put(wdev->parent);
pm_runtime_disable(wdev->parent);
reset_control_assert(priv->rstc);
}
@@ -206,11 +205,6 @@ static int rzg2l_wdt_probe(struct platform_device *pdev)

reset_control_deassert(priv->rstc);
pm_runtime_enable(&pdev->dev);
- ret = pm_runtime_resume_and_get(&pdev->dev);
- if (ret < 0) {
- dev_err(dev, "pm_runtime_resume_and_get failed ret=%pe", ERR_PTR(ret));
- goto out_pm_get;
- }

priv->wdev.info = &rzg2l_wdt_ident;
priv->wdev.ops = &rzg2l_wdt_ops;
@@ -222,7 +216,7 @@ static int rzg2l_wdt_probe(struct platform_device *pdev)

watchdog_set_drvdata(&priv->wdev, priv);
ret = devm_add_action_or_reset(&pdev->dev,
- rzg2l_wdt_reset_assert_pm_disable_put,
+ rzg2l_wdt_reset_assert_pm_disable,
&priv->wdev);
if (ret < 0)
return ret;
@@ -235,12 +229,6 @@ static int rzg2l_wdt_probe(struct platform_device *pdev)
dev_warn(dev, "Specified timeout invalid, using default");

return devm_watchdog_register_device(&pdev->dev, &priv->wdev);
-
-out_pm_get:
- pm_runtime_disable(dev);
- reset_control_assert(priv->rstc);
-
- return ret;
}

static const struct of_device_id rzg2l_wdt_ids[] = {
--
2.25.1


[PATCH [5.10.y-cip] 06/13] arm64: defconfig: Enable additional support for Renesas platforms

Biju Das
 

From: Geert Uytterhoeven <geert+renesas@...>

commit 2e8a3335472461927e57d1741ccf1791ff416075 upstream.

Increase build and test coverage by enabling support for more hardware
present on Renesas SoCs and boards:
- Renesas RSPI, RZ/G2L thermal, RZ/G2L WDT watchdog, and OSTM timer,
as used on the RZ/G2L SMARC EVK board,
- R-Car Image Signal Processor (ISP) and Display Unit embedded MIPI
DSI encoder on R-Car V3U, as used on the Falcon board.

All of the above are modular, except for thermal, watchdog, and timer.

Signed-off-by: Geert Uytterhoeven <geert+renesas@...>
Link: https://lore.kernel.org/r/c9800d67f91a90d418a3ce44c59109ae0a87b2d8.1643373223.git.geert+renesas@glider.be
Signed-off-by: Biju Das <biju.das.jz@...>
[biju: Removed R-Car V3U configs]
---
arch/arm64/configs/defconfig | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7575dbd6f57c..58a79a3e1cd0 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -465,6 +465,7 @@ CONFIG_SPI_ORION=y
CONFIG_SPI_PL022=y
CONFIG_SPI_ROCKCHIP=y
CONFIG_SPI_RPCIF=m
+CONFIG_SPI_RSPI=m
CONFIG_SPI_QCOM_QSPI=m
CONFIG_SPI_QUP=y
CONFIG_SPI_QCOM_GENI=m
@@ -540,6 +541,7 @@ CONFIG_IMX8MM_THERMAL=m
CONFIG_ROCKCHIP_THERMAL=m
CONFIG_RCAR_THERMAL=y
CONFIG_RCAR_GEN3_THERMAL=y
+CONFIG_RZG2L_THERMAL=y
CONFIG_ARMADA_THERMAL=y
CONFIG_BCM2711_THERMAL=m
CONFIG_BCM2835_THERMAL=m
@@ -563,6 +565,7 @@ CONFIG_QCOM_WDT=m
CONFIG_MESON_GXBB_WATCHDOG=m
CONFIG_MESON_WATCHDOG=m
CONFIG_RENESAS_WDT=y
+CONFIG_RENESAS_RZG2LWDT=y
CONFIG_UNIPHIER_WATCHDOG=y
CONFIG_BCM2835_WDT=y
CONFIG_MFD_ALTERA_SYSMGR=y
@@ -909,6 +912,7 @@ CONFIG_SM_GPUCC_8250=y
CONFIG_QCOM_HFPLL=y
CONFIG_HWSPINLOCK=y
CONFIG_HWSPINLOCK_QCOM=y
+CONFIG_RENESAS_OSTM=y
CONFIG_ARM_MHU=y
CONFIG_IMX_MBOX=y
CONFIG_PLATFORM_MHU=y
--
2.25.1


[PATCH [5.10.y-cip] 03/13] thermal/drivers: Add TSU driver for RZ/G2L

Biju Das
 

commit 673c68bd48390dad01f7d17670de3e33b60860ac upstream.

The RZ/G2L SoC incorporates a thermal sensor unit (TSU) that measures the
temperature inside the LSI.

The thermal sensor in this unit measures temperatures in the range from
−40 degree Celsius to 125 degree Celsius with an accuracy of ±3°C. The
TSU repeats measurement at 20 microseconds intervals and automatically
updates the results of measurement.

The TSU has no interrupts as well as no external pins.

This patch adds Thermal Sensor Unit(TSU) driver for RZ/G2L SoC.

Signed-off-by: Biju Das <biju.das.jz@...>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...>
Link: https://lore.kernel.org/r/20211130155757.17837-3-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/rzg2l_thermal.c | 240 ++++++++++++++++++++++++++++++++
3 files changed, 250 insertions(+)
create mode 100644 drivers/thermal/rzg2l_thermal.c

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 7edc8dc6bbab..e51c8cc989d8 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -354,6 +354,15 @@ config RCAR_GEN3_THERMAL
Enable this to plug the R-Car Gen3 or RZ/G2 thermal sensor driver into
the Linux thermal framework.

+config RZG2L_THERMAL
+ tristate "Renesas RZ/G2L thermal driver"
+ depends on ARCH_RENESAS || COMPILE_TEST
+ depends on HAS_IOMEM
+ depends on OF
+ help
+ Enable this to plug the RZ/G2L thermal sensor driver into the Linux
+ thermal framework.
+
config KIRKWOOD_THERMAL
tristate "Temperature sensor on Marvell Kirkwood SoCs"
depends on MACH_KIRKWOOD || COMPILE_TEST
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index b64dd50a6629..b71f9b88b567 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
+obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o
obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
obj-y += samsung/
obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
diff --git a/drivers/thermal/rzg2l_thermal.c b/drivers/thermal/rzg2l_thermal.c
new file mode 100644
index 000000000000..d47d4a30cd6c
--- /dev/null
+++ b/drivers/thermal/rzg2l_thermal.c
@@ -0,0 +1,240 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Renesas RZ/G2L TSU Thermal Sensor Driver
+ *
+ * Copyright (C) 2021 Renesas Electronics Corporation
+ */
+#include <linux/delay.h>
+#include <linux/err.h>
+#include <linux/io.h>
+#include <linux/iopoll.h>
+#include <linux/math.h>
+#include <linux/module.h>
+#include <linux/of_device.h>
+#include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
+#include <linux/reset.h>
+#include <linux/thermal.h>
+#include <linux/units.h>
+
+#include "thermal_hwmon.h"
+
+#define CTEMP_MASK 0xFFF
+
+/* default calibration values, if FUSE values are missing */
+#define SW_CALIB0_VAL 3148
+#define SW_CALIB1_VAL 503
+
+/* Register offsets */
+#define TSU_SM 0x00
+#define TSU_ST 0x04
+#define TSU_SAD 0x0C
+#define TSU_SS 0x10
+
+#define OTPTSUTRIM_REG(n) (0x18 + ((n) * 0x4))
+
+/* Sensor Mode Register(TSU_SM) */
+#define TSU_SM_EN_TS BIT(0)
+#define TSU_SM_ADC_EN_TS BIT(1)
+#define TSU_SM_NORMAL_MODE (TSU_SM_EN_TS | TSU_SM_ADC_EN_TS)
+
+/* TSU_ST bits */
+#define TSU_ST_START BIT(0)
+
+#define TSU_SS_CONV_RUNNING BIT(0)
+
+#define TS_CODE_AVE_SCALE(x) ((x) * 1000000)
+#define MCELSIUS(temp) ((temp) * MILLIDEGREE_PER_DEGREE)
+#define TS_CODE_CAP_TIMES 8 /* Capture times */
+
+#define RZG2L_THERMAL_GRAN 500 /* milli Celsius */
+#define RZG2L_TSU_SS_TIMEOUT_US 1000
+
+#define CURVATURE_CORRECTION_CONST 13
+
+struct rzg2l_thermal_priv {
+ struct device *dev;
+ void __iomem *base;
+ struct thermal_zone_device *zone;
+ struct reset_control *rstc;
+ u32 calib0, calib1;
+};
+
+static inline u32 rzg2l_thermal_read(struct rzg2l_thermal_priv *priv, u32 reg)
+{
+ return ioread32(priv->base + reg);
+}
+
+static inline void rzg2l_thermal_write(struct rzg2l_thermal_priv *priv, u32 reg,
+ u32 data)
+{
+ iowrite32(data, priv->base + reg);
+}
+
+static int rzg2l_thermal_get_temp(void *devdata, int *temp)
+{
+ struct rzg2l_thermal_priv *priv = devdata;
+ u32 result = 0, dsensor, ts_code_ave;
+ int val, i;
+
+ for (i = 0; i < TS_CODE_CAP_TIMES ; i++) {
+ /* TSU repeats measurement at 20 microseconds intervals and
+ * automatically updates the results of measurement. As per
+ * the HW manual for measuring temperature we need to read 8
+ * values consecutively and then take the average.
+ * ts_code_ave = (ts_code[0] + ⋯ + ts_code[7]) / 8
+ */
+ result += rzg2l_thermal_read(priv, TSU_SAD) & CTEMP_MASK;
+ usleep_range(20, 30);
+ }
+
+ ts_code_ave = result / TS_CODE_CAP_TIMES;
+
+ /* Calculate actual sensor value by applying curvature correction formula
+ * dsensor = ts_code_ave / (1 + ts_code_ave * 0.000013). Here we are doing
+ * integer calculation by scaling all the values by 1000000.
+ */
+ dsensor = TS_CODE_AVE_SCALE(ts_code_ave) /
+ (TS_CODE_AVE_SCALE(1) + (ts_code_ave * CURVATURE_CORRECTION_CONST));
+
+ /* The temperature Tj is calculated by the formula
+ * Tj = (dsensor − calib1) * 165/ (calib0 − calib1) − 40
+ * where calib0 and calib1 are the caliberation values.
+ */
+ val = ((dsensor - priv->calib1) * (MCELSIUS(165) /
+ (priv->calib0 - priv->calib1))) - MCELSIUS(40);
+
+ *temp = roundup(val, RZG2L_THERMAL_GRAN);
+
+ return 0;
+}
+
+static const struct thermal_zone_of_device_ops rzg2l_tz_of_ops = {
+ .get_temp = rzg2l_thermal_get_temp,
+};
+
+static int rzg2l_thermal_init(struct rzg2l_thermal_priv *priv)
+{
+ u32 reg_val;
+
+ rzg2l_thermal_write(priv, TSU_SM, TSU_SM_NORMAL_MODE);
+ rzg2l_thermal_write(priv, TSU_ST, 0);
+
+ /* Before setting the START bit, TSU should be in normal operating
+ * mode. As per the HW manual, it will take 60 µs to place the TSU
+ * into normal operating mode.
+ */
+ usleep_range(60, 80);
+
+ reg_val = rzg2l_thermal_read(priv, TSU_ST);
+ reg_val |= TSU_ST_START;
+ rzg2l_thermal_write(priv, TSU_ST, reg_val);
+
+ return readl_poll_timeout(priv->base + TSU_SS, reg_val,
+ reg_val == TSU_SS_CONV_RUNNING, 50,
+ RZG2L_TSU_SS_TIMEOUT_US);
+}
+
+static void rzg2l_thermal_reset_assert_pm_disable_put(struct platform_device *pdev)
+{
+ struct rzg2l_thermal_priv *priv = dev_get_drvdata(&pdev->dev);
+
+ pm_runtime_put(&pdev->dev);
+ pm_runtime_disable(&pdev->dev);
+ reset_control_assert(priv->rstc);
+}
+
+static int rzg2l_thermal_remove(struct platform_device *pdev)
+{
+ struct rzg2l_thermal_priv *priv = dev_get_drvdata(&pdev->dev);
+
+ thermal_remove_hwmon_sysfs(priv->zone);
+ rzg2l_thermal_reset_assert_pm_disable_put(pdev);
+
+ return 0;
+}
+
+static int rzg2l_thermal_probe(struct platform_device *pdev)
+{
+ struct thermal_zone_device *zone;
+ struct rzg2l_thermal_priv *priv;
+ struct device *dev = &pdev->dev;
+ int ret;
+
+ priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
+ if (!priv)
+ return -ENOMEM;
+
+ priv->base = devm_platform_ioremap_resource(pdev, 0);
+ if (IS_ERR(priv->base))
+ return PTR_ERR(priv->base);
+
+ priv->dev = dev;
+ priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
+ if (IS_ERR(priv->rstc))
+ return dev_err_probe(dev, PTR_ERR(priv->rstc),
+ "failed to get cpg reset");
+
+ reset_control_deassert(priv->rstc);
+
+ pm_runtime_enable(dev);
+ pm_runtime_get_sync(dev);
+
+ priv->calib0 = rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0));
+ if (!priv->calib0)
+ priv->calib0 = SW_CALIB0_VAL;
+
+ priv->calib1 = rzg2l_thermal_read(priv, OTPTSUTRIM_REG(1));
+ if (!priv->calib1)
+ priv->calib1 = SW_CALIB1_VAL;
+
+ platform_set_drvdata(pdev, priv);
+ ret = rzg2l_thermal_init(priv);
+ if (ret) {
+ dev_err(dev, "Failed to start TSU");
+ goto err;
+ }
+
+ zone = devm_thermal_zone_of_sensor_register(dev, 0, priv,
+ &rzg2l_tz_of_ops);
+ if (IS_ERR(zone)) {
+ dev_err(dev, "Can't register thermal zone");
+ ret = PTR_ERR(zone);
+ goto err;
+ }
+
+ priv->zone = zone;
+ priv->zone->tzp->no_hwmon = false;
+ ret = thermal_add_hwmon_sysfs(priv->zone);
+ if (ret)
+ goto err;
+
+ dev_dbg(dev, "TSU probed with %s caliberation values",
+ rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0)) ? "hw" : "sw");
+
+ return 0;
+
+err:
+ rzg2l_thermal_reset_assert_pm_disable_put(pdev);
+ return ret;
+}
+
+static const struct of_device_id rzg2l_thermal_dt_ids[] = {
+ { .compatible = "renesas,rzg2l-tsu", },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, rzg2l_thermal_dt_ids);
+
+static struct platform_driver rzg2l_thermal_driver = {
+ .driver = {
+ .name = "rzg2l_thermal",
+ .of_match_table = rzg2l_thermal_dt_ids,
+ },
+ .probe = rzg2l_thermal_probe,
+ .remove = rzg2l_thermal_remove,
+};
+module_platform_driver(rzg2l_thermal_driver);
+
+MODULE_DESCRIPTION("Renesas RZ/G2L TSU Thermal Sensor Driver");
+MODULE_AUTHOR("Biju Das <biju.das.jz@...>");
+MODULE_LICENSE("GPL v2");
--
2.25.1


[PATCH [5.10.y-cip] 02/13] units: Add SI metric prefix definitions

Biju Das
 

From: Andy Shevchenko <andriy.shevchenko@...>

commit 26471d4a6cf8d5d0bd0fb55c7169de7d67cc703a upstream.

Sometimes it's useful to have well-defined SI metric prefix to be used
to self-describe the formulas or equations.

List most popular ones in the units.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@...>
Signed-off-by: Wolfram Sang <wsa@...>
Signed-off-by: Biju Das <biju.das.jz@...>
---
include/linux/units.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/include/linux/units.h b/include/linux/units.h
index 5c115c809507..4a25e0cc8fb3 100644
--- a/include/linux/units.h
+++ b/include/linux/units.h
@@ -4,6 +4,26 @@

#include <linux/math.h>

+/* Metric prefixes in accordance with Système international (d'unités) */
+#define PETA 1000000000000000ULL
+#define TERA 1000000000000ULL
+#define GIGA 1000000000UL
+#define MEGA 1000000UL
+#define KILO 1000UL
+#define HECTO 100UL
+#define DECA 10UL
+#define DECI 10UL
+#define CENTI 100UL
+#define MILLI 1000UL
+#define MICRO 1000000UL
+#define NANO 1000000000UL
+#define PICO 1000000000000ULL
+#define FEMTO 1000000000000000ULL
+
+#define MILLIWATT_PER_WATT 1000L
+#define MICROWATT_PER_MILLIWATT 1000L
+#define MICROWATT_PER_WATT 1000000L
+
#define ABSOLUTE_ZERO_MILLICELSIUS -273150

static inline long milli_kelvin_to_millicelsius(long t)
--
2.25.1


cip/linux-4.4.y-cip ltp-pty: 3 runs, 1 regressions (v4.4.302-cip69-508-gd887d54a1be6) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip ltp-pty: 3 runs, 1 regressions (v4.4.302-cip69-508-gd887d54a1be6)

Regressions Summary
-------------------

platform | arch | lab | compiler | defconfig | regressions
-------------------------+--------+---------------+----------+------------------------------+------------
asus-C523NA-A20057-coral | x86_64 | lab-collabora | gcc-10 | x86_64_defcon...6-chromebook | 1

Details: https://kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-508-gd887d54a1be6/plan/ltp-pty/

Test: ltp-pty
Tree: cip
Branch: linux-4.4.y-cip
Describe: v4.4.302-cip69-508-gd887d54a1be6
URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
SHA: d887d54a1be6de9a74cb732ba80ecaf1cedefb61

Test suite revisions:
ltp-tests
URL: https://github.com/linux-test-project/ltp.git
SHA: 17d354e4d1bf15f7ad55500abc60f2049b57590f


Test Regressions
----------------


platform | arch | lab | compiler | defconfig | regressions
-------------------------+--------+---------------+----------+------------------------------+------------
asus-C523NA-A20057-coral | x86_64 | lab-collabora | gcc-10 | x86_64_defcon...6-chromebook | 1

Details: https://kernelci.org/test/plan/id/62d0101d71368761eea39c29

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: x86_64_defconfig+x86-chromebook
Compiler: gcc-10 (gcc (Debian 10.2.1-6) 10.2.1 20210110)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/x86_64/x86_64_defconfig+x86-chromebook/gcc-10/lab-collabora/ltp-pty-asus-C523NA-A20057-coral.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/x86_64/x86_64_defconfig+x86-chromebook/gcc-10/lab-collabora/ltp-pty-asus-C523NA-A20057-coral.html
Rootfs: http://storage.kernelci.org/images/rootfs/debian/bullseye-ltp/20220708.0/amd64/initrd.cpio.gz


* ltp-pty.login: https://kernelci.org/test/case/id/62d0101d71368761eea39c2a
new failure (last pass: v4.4.302-cip69-296-g52de9431d314)


cip/linux-4.4.y-cip baseline: 64 runs, 4 regressions (v4.4.302-cip69-508-gd887d54a1be6) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip baseline: 64 runs, 4 regressions (v4.4.302-cip69-508-gd887d54a1be6)

Regressions Summary
-------------------

platform | arch | lab | compiler | defconfig | regressions
----------------------+-------+--------------+----------+----------------------------+------------
qemu_arm64-virt-gicv2 | arm64 | lab-baylibre | gcc-10 | defconfig+arm64-chromebook | 1
qemu_arm64-virt-gicv2 | arm64 | lab-baylibre | gcc-10 | defconfig | 1
qemu_arm64-virt-gicv3 | arm64 | lab-baylibre | gcc-10 | defconfig+arm64-chromebook | 1
qemu_arm64-virt-gicv3 | arm64 | lab-baylibre | gcc-10 | defconfig | 1

Details: https://kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-508-gd887d54a1be6/plan/baseline/

Test: baseline
Tree: cip
Branch: linux-4.4.y-cip
Describe: v4.4.302-cip69-508-gd887d54a1be6
URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
SHA: d887d54a1be6de9a74cb732ba80ecaf1cedefb61


Test Regressions
----------------


platform | arch | lab | compiler | defconfig | regressions
----------------------+-------+--------------+----------+----------------------------+------------
qemu_arm64-virt-gicv2 | arm64 | lab-baylibre | gcc-10 | defconfig+arm64-chromebook | 1

Details: https://kernelci.org/test/plan/id/62d010fdc8375f91f7a39bfc

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: defconfig+arm64-chromebook
Compiler: gcc-10 (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20220708.0/arm64/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/62d010fdc8375f91f7a39bfd
failing since 56 days (last pass: v4.4.302-cip69, first fail: v4.4.302-cip69-296-g52de9431d314)



platform | arch | lab | compiler | defconfig | regressions
----------------------+-------+--------------+----------+----------------------------+------------
qemu_arm64-virt-gicv2 | arm64 | lab-baylibre | gcc-10 | defconfig | 1

Details: https://kernelci.org/test/plan/id/62d011c63bdb63e01fa39beb

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: defconfig
Compiler: gcc-10 (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20220708.0/arm64/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/62d011c63bdb63e01fa39bec
failing since 56 days (last pass: v4.4.302-cip69, first fail: v4.4.302-cip69-296-g52de9431d314)



platform | arch | lab | compiler | defconfig | regressions
----------------------+-------+--------------+----------+----------------------------+------------
qemu_arm64-virt-gicv3 | arm64 | lab-baylibre | gcc-10 | defconfig+arm64-chromebook | 1

Details: https://kernelci.org/test/plan/id/62d010fcc8375f91f7a39bf9

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: defconfig+arm64-chromebook
Compiler: gcc-10 (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20220708.0/arm64/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/62d010fcc8375f91f7a39bfa
failing since 56 days (last pass: v4.4.302-cip69, first fail: v4.4.302-cip69-296-g52de9431d314)



platform | arch | lab | compiler | defconfig | regressions
----------------------+-------+--------------+----------+----------------------------+------------
qemu_arm64-virt-gicv3 | arm64 | lab-baylibre | gcc-10 | defconfig | 1

Details: https://kernelci.org/test/plan/id/62d011b279c0f70856a39bf3

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: defconfig
Compiler: gcc-10 (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.302-cip69-508-gd887d54a1be6/arm64/defconfig/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20220708.0/arm64/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/62d011b279c0f70856a39bf4
failing since 56 days (last pass: v4.4.302-cip69, first fail: v4.4.302-cip69-296-g52de9431d314)


cip/linux-4.4.y-cip build: 187 builds: 5 failed, 182 passed, 6 errors, 200 warnings (v4.4.302-cip69-508-gd887d54a1be6) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip build: 187 builds: 5 failed, 182 passed, 6 errors, 200 warnings (v4.4.302-cip69-508-gd887d54a1be6)

Full Build Summary: https://kernelci.org/build/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-508-gd887d54a1be6/

Tree: cip
Branch: linux-4.4.y-cip
Git Describe: v4.4.302-cip69-508-gd887d54a1be6
Git Commit: d887d54a1be6de9a74cb732ba80ecaf1cedefb61
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
Built: 6 unique architectures

Build Failures Detected:

arm:
rpc_defconfig: (gcc-10) FAIL

mips:
fuloong2e_defconfig: (gcc-10) FAIL
ip27_defconfig: (gcc-10) FAIL
ip28_defconfig: (gcc-10) FAIL
lemote2f_defconfig: (gcc-10) FAIL

Errors and Warnings Detected:

arc:
axs103_defconfig (gcc-10): 1 warning
axs103_smp_defconfig (gcc-10): 1 warning
nsim_hs_defconfig (gcc-10): 1 warning
nsim_hs_smp_defconfig (gcc-10): 1 warning
nsimosci_hs_defconfig (gcc-10): 1 warning
nsimosci_hs_smp_defconfig (gcc-10): 1 warning
vdk_hs38_defconfig (gcc-10): 1 warning
vdk_hs38_smp_defconfig (gcc-10): 1 warning

arm64:
defconfig (gcc-10): 2 warnings
defconfig+arm64-chromebook (gcc-10): 2 warnings

arm:
acs5k_defconfig (gcc-10): 1 warning
acs5k_tiny_defconfig (gcc-10): 1 warning
am200epdkit_defconfig (gcc-10): 1 warning
assabet_defconfig (gcc-10): 1 warning
at91_dt_defconfig (gcc-10): 1 warning
axm55xx_defconfig (gcc-10): 1 warning
badge4_defconfig (gcc-10): 1 warning
bcm2835_defconfig (gcc-10): 1 warning
bcm_defconfig (gcc-10): 1 warning
cerfcube_defconfig (gcc-10): 1 warning
clps711x_defconfig (gcc-10): 2 warnings
cm_x2xx_defconfig (gcc-10): 1 warning
cm_x300_defconfig (gcc-10): 1 warning
colibri_pxa270_defconfig (gcc-10): 1 warning
colibri_pxa300_defconfig (gcc-10): 1 warning
collie_defconfig (gcc-10): 1 warning
corgi_defconfig (gcc-10): 1 warning
davinci_all_defconfig (gcc-10): 2 warnings
dove_defconfig (gcc-10): 1 warning
ebsa110_defconfig (gcc-10): 1 warning
efm32_defconfig (gcc-10): 1 warning
em_x270_defconfig (gcc-10): 1 warning
ep93xx_defconfig (gcc-10): 1 warning
eseries_pxa_defconfig (gcc-10): 1 warning
exynos_defconfig (gcc-10): 1 warning
ezx_defconfig (gcc-10): 1 warning
footbridge_defconfig (gcc-10): 1 warning
h3600_defconfig (gcc-10): 1 warning
h5000_defconfig (gcc-10): 1 warning
hackkit_defconfig (gcc-10): 1 warning
hisi_defconfig (gcc-10): 1 warning
imote2_defconfig (gcc-10): 1 warning
imx_v4_v5_defconfig (gcc-10): 1 warning
imx_v6_v7_defconfig (gcc-10): 1 warning
integrator_defconfig (gcc-10): 1 warning
iop13xx_defconfig (gcc-10): 1 warning
iop32x_defconfig (gcc-10): 1 warning
iop33x_defconfig (gcc-10): 1 warning
ixp4xx_defconfig (gcc-10): 1 warning
jornada720_defconfig (gcc-10): 1 warning
keystone_defconfig (gcc-10): 1 warning
ks8695_defconfig (gcc-10): 1 warning
lart_defconfig (gcc-10): 1 warning
lpc18xx_defconfig (gcc-10): 1 warning
lpc32xx_defconfig (gcc-10): 2 warnings
lpd270_defconfig (gcc-10): 1 warning
lubbock_defconfig (gcc-10): 1 warning
magician_defconfig (gcc-10): 1 warning
mainstone_defconfig (gcc-10): 1 warning
mini2440_defconfig (gcc-10): 2 warnings
mmp2_defconfig (gcc-10): 1 warning
multi_v5_defconfig (gcc-10): 1 warning
multi_v7_defconfig (gcc-10): 1 warning
mv78xx0_defconfig (gcc-10): 1 warning
mvebu_v5_defconfig (gcc-10): 1 warning
mvebu_v7_defconfig (gcc-10): 1 warning
mxs_defconfig (gcc-10): 2 warnings
neponset_defconfig (gcc-10): 1 warning
netwinder_defconfig (gcc-10): 1 warning
netx_defconfig (gcc-10): 1 warning
nhk8815_defconfig (gcc-10): 1 warning
omap1_defconfig (gcc-10): 2 warnings
omap2plus_defconfig (gcc-10): 2 warnings
orion5x_defconfig (gcc-10): 1 warning
palmz72_defconfig (gcc-10): 1 warning
pcm027_defconfig (gcc-10): 1 warning
pleb_defconfig (gcc-10): 1 warning
pxa168_defconfig (gcc-10): 1 warning
pxa255-idp_defconfig (gcc-10): 1 warning
pxa3xx_defconfig (gcc-10): 1 warning
pxa910_defconfig (gcc-10): 1 warning
qcom_defconfig (gcc-10): 1 warning
raumfeld_defconfig (gcc-10): 1 warning
realview-smp_defconfig (gcc-10): 1 warning
realview_defconfig (gcc-10): 1 warning
rpc_defconfig (gcc-10): 2 errors
s3c2410_defconfig (gcc-10): 2 warnings
s3c6400_defconfig (gcc-10): 2 warnings
sama5_defconfig (gcc-10): 1 warning
shannon_defconfig (gcc-10): 1 warning
shmobile_defconfig (gcc-10): 1 warning
simpad_defconfig (gcc-10): 1 warning
socfpga_defconfig (gcc-10): 1 warning
spear13xx_defconfig (gcc-10): 1 warning
spitz_defconfig (gcc-10): 1 warning
sunxi_defconfig (gcc-10): 1 warning
tegra_defconfig (gcc-10): 1 warning
trizeps4_defconfig (gcc-10): 1 warning
u8500_defconfig (gcc-10): 1 warning
versatile_defconfig (gcc-10): 1 warning
vexpress_defconfig (gcc-10): 1 warning
viper_defconfig (gcc-10): 1 warning
vt8500_v6_v7_defconfig (gcc-10): 1 warning
xcep_defconfig (gcc-10): 1 warning
zeus_defconfig (gcc-10): 1 warning

i386:
i386_defconfig (gcc-10): 5 warnings

mips:
ar7_defconfig (gcc-10): 1 warning
ath79_defconfig (gcc-10): 1 warning
bcm47xx_defconfig (gcc-10): 1 warning
bcm63xx_defconfig (gcc-10): 1 warning
bigsur_defconfig (gcc-10): 1 warning
bmips_be_defconfig (gcc-10): 1 warning
bmips_stb_defconfig (gcc-10): 1 warning
capcella_defconfig (gcc-10): 1 warning
cavium_octeon_defconfig (gcc-10): 1 warning
ci20_defconfig (gcc-10): 1 warning
cobalt_defconfig (gcc-10): 1 warning
db1xxx_defconfig (gcc-10): 1 warning
decstation_defconfig (gcc-10): 1 warning
fuloong2e_defconfig (gcc-10): 2 errors
gpr_defconfig (gcc-10): 1 warning
ip22_defconfig (gcc-10): 2 warnings
ip32_defconfig (gcc-10): 1 warning
jazz_defconfig (gcc-10): 1 warning
jmr3927_defconfig (gcc-10): 1 warning
lasat_defconfig (gcc-10): 1 warning
lemote2f_defconfig (gcc-10): 2 errors
loongson3_defconfig (gcc-10): 1 warning
ls1b_defconfig (gcc-10): 1 warning
malta_defconfig (gcc-10): 1 warning
malta_kvm_defconfig (gcc-10): 1 warning
malta_kvm_guest_defconfig (gcc-10): 1 warning
malta_qemu_32r6_defconfig (gcc-10): 1 warning
maltaaprp_defconfig (gcc-10): 1 warning
maltasmvp_defconfig (gcc-10): 1 warning
maltasmvp_eva_defconfig (gcc-10): 1 warning
maltaup_defconfig (gcc-10): 1 warning
maltaup_xpa_defconfig (gcc-10): 1 warning
markeins_defconfig (gcc-10): 1 warning
mips_paravirt_defconfig (gcc-10): 1 warning
mpc30x_defconfig (gcc-10): 1 warning
msp71xx_defconfig (gcc-10): 1 warning
mtx1_defconfig (gcc-10): 4 warnings
nlm_xlp_defconfig (gcc-10): 1 warning
nlm_xlr_defconfig (gcc-10): 1 warning
pnx8335_stb225_defconfig (gcc-10): 1 warning
qi_lb60_defconfig (gcc-10): 1 warning
rb532_defconfig (gcc-10): 1 warning
rbtx49xx_defconfig (gcc-10): 1 warning
rm200_defconfig (gcc-10): 1 warning
rt305x_defconfig (gcc-10): 1 warning
sb1250_swarm_defconfig (gcc-10): 1 warning
sead3_defconfig (gcc-10): 1 warning
sead3micro_defconfig (gcc-10): 1 warning
tb0219_defconfig (gcc-10): 1 warning
tb0226_defconfig (gcc-10): 1 warning
tb0287_defconfig (gcc-10): 1 warning
workpad_defconfig (gcc-10): 1 warning
xway_defconfig (gcc-10): 1 warning

x86_64:
allnoconfig (gcc-10): 4 warnings
tinyconfig (gcc-10): 3 warnings
x86_64_defconfig (gcc-10): 9 warnings
x86_64_defconfig+x86-chromebook (gcc-10): 9 warnings

Errors summary:

4 cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’
1 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
1 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

Warnings summary:

149 net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
8 net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
7 arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
4 arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
4 arch/x86/entry/entry_64.S:1642: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret'
3 ld: warning: creating DT_TEXTREL in a PIE
3 drivers/tty/serial/samsung.c:1777:34: warning: array ‘s3c24xx_uart_dt_match’ assumed to have one element
3 WARNING: vmlinux.o (.discard.retpoline_safe): unexpected non-allocatable section.
3 WARNING: vmlinux.o (.discard.nospec): unexpected non-allocatable section.
2 sound/pci/echoaudio/echoaudio_dsp.c:647:9: warning: iteration 1073741824 invokes undefined behavior [-Waggressive-loop-optimizations]
2 ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text'
2 drivers/net/ethernet/apm/xgene/xgene_enet_main.c:32:36: warning: array ‘xgene_enet_acpi_match’ assumed to have one element
1 sound/pci/echoaudio/echoaudio_dsp.c:658:9: warning: iteration 1073741824 invokes undefined behavior [-Waggressive-loop-optimizations]
1 ld: arch/x86/boot/compressed/head_32.o: warning: relocation in read-only section `.head.text'
1 drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
1 drivers/mmc/host/sdhci-s3c.c:429:34: warning: array ‘sdhci_s3c_dt_match’ assumed to have one element
1 drivers/gpio/gpio-omap.c:1161:34: warning: array ‘omap_gpio_match’ assumed to have one element
1 drivers/cpufreq/ti-cpufreq.c:250:24: warning: passing argument 1 of ‘PTR_ERR_OR_ZERO’ makes pointer from integer without a cast [-Wint-conversion]
1 arch/arm/mach-mxs/mach-mxs.c:285:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-lpc32xx/phy3250.c:215:36: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-davinci/da8xx-dt.c:23:34: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-clps711x/board-autcpu12.c:163:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]

================================================================================

Detailed per-defconfig build reports:

--------------------------------------------------------------------------------
acs5k_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
acs5k_tiny_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
allnoconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-10) — PASS, 0 errors, 4 warnings, 0 section mismatches

Warnings:
arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/entry/entry_64.S:1642: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'

--------------------------------------------------------------------------------
allnoconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bcm_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
clps711x_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
arch/arm/mach-clps711x/board-autcpu12.c:163:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
cm_x2xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
arch/arm/mach-davinci/da8xx-dt.c:23:34: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
drivers/net/ethernet/apm/xgene/xgene_enet_main.c:32:36: warning: array ‘xgene_enet_acpi_match’ assumed to have one element

--------------------------------------------------------------------------------
defconfig+arm64-chromebook (arm64, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
drivers/net/ethernet/apm/xgene/xgene_enet_main.c:32:36: warning: array ‘xgene_enet_acpi_match’ assumed to have one element

--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
em_x270_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — FAIL, 2 errors, 0 warnings, 0 section mismatches

Errors:
cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’
cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’

--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-10) — PASS, 0 errors, 5 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
WARNING: vmlinux.o (.discard.nospec): unexpected non-allocatable section.
WARNING: vmlinux.o (.discard.retpoline_safe): unexpected non-allocatable section.
ld: arch/x86/boot/compressed/head_32.o: warning: relocation in read-only section `.head.text'
ld: warning: creating DT_TEXTREL in a PIE

--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
iop13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
iop33x_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ks8695_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lasat_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-10) — FAIL, 2 errors, 0 warnings, 0 section mismatches

Errors:
cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’
cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’

--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
arch/arm/mach-lpc32xx/phy3250.c:215:36: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
ls1b_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
markeins_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
drivers/tty/serial/samsung.c:1777:34: warning: array ‘s3c24xx_uart_dt_match’ assumed to have one element

--------------------------------------------------------------------------------
mips_paravirt_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
msp71xx_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-10) — PASS, 0 errors, 4 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
sound/pci/echoaudio/echoaudio_dsp.c:647:9: warning: iteration 1073741824 invokes undefined behavior [-Waggressive-loop-optimizations]
sound/pci/echoaudio/echoaudio_dsp.c:658:9: warning: iteration 1073741824 invokes undefined behavior [-Waggressive-loop-optimizations]
sound/pci/echoaudio/echoaudio_dsp.c:647:9: warning: iteration 1073741824 invokes undefined behavior [-Waggressive-loop-optimizations]

--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mv78xx0_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
arch/arm/mach-mxs/mach-mxs.c:285:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
netx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
nsim_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
nsim_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
nuc910_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nuc950_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nuc960_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
drivers/gpio/gpio-omap.c:1161:34: warning: array ‘omap_gpio_match’ assumed to have one element
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
drivers/cpufreq/ti-cpufreq.c:250:24: warning: passing argument 1 of ‘PTR_ERR_OR_ZERO’ makes pointer from integer without a cast [-Wint-conversion]
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pnx8335_stb225_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
raumfeld_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
realview-smp_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-10) — FAIL, 2 errors, 0 warnings, 0 section mismatches

Errors:
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
drivers/tty/serial/samsung.c:1777:34: warning: array ‘s3c24xx_uart_dt_match’ assumed to have one element

--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-10) — PASS, 0 errors, 2 warnings, 0 section mismatches

Warnings:
drivers/mmc/host/sdhci-s3c.c:429:34: warning: array ‘sdhci_s3c_dt_match’ assumed to have one element
drivers/tty/serial/samsung.c:1777:34: warning: array ‘s3c24xx_uart_dt_match’ assumed to have one element

--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
sead3_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
sead3micro_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
tinyconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-10) — PASS, 0 errors, 3 warnings, 0 section mismatches

Warnings:
arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/entry/entry_64.S:1642: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'

--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-10) — PASS, 0 errors, 9 warnings, 0 section mismatches

Warnings:
arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/entry/entry_64.S:1642: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
WARNING: vmlinux.o (.discard.nospec): unexpected non-allocatable section.
WARNING: vmlinux.o (.discard.retpoline_safe): unexpected non-allocatable section.
ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text'
ld: warning: creating DT_TEXTREL in a PIE

--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-10) — PASS, 0 errors, 9 warnings, 0 section mismatches

Warnings:
arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/entry/entry_64.S:1642: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
WARNING: vmlinux.o (.discard.nospec): unexpected non-allocatable section.
WARNING: vmlinux.o (.discard.retpoline_safe): unexpected non-allocatable section.
ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text'
ld: warning: creating DT_TEXTREL in a PIE

--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
xilfpga_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
xway_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
net/ipv4/inet_hashtables.c:592:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]

--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches

---
For more info write to <info@...>


Re: [isar-cip-core v3] recipes-core/images/cip-core-image-security.bb:Add libpam-google-authenticator Package

Jan Kiszka
 

On 12.07.22 10:19, Shreyas.Karmahe@... wrote:
Hi Jan-San,

Is there any new patch required to add libpam-google-authenticator Package in cip-core-image-security.bb file with v3 version
Or is there anything else need to be addressed along with package ?
As I wrote below: This patch is technically no longer needed because
security-customizations pulls it in now as dependency. If you still like
to have the package explicitly (and now rudundantly) listed in
cip-core-image-security.bb, please provide the reasoning with the patch.

Jan

Kindly clarify my queries

Kind Regards,
Shreyas

-----Original Message-----
From: Jan Kiszka <jan.kiszka@...>
Sent: Monday, July 11, 2022 4:29 PM
To: karmahe shreyas(TSIP TMIEC ODG Porting) <Shreyas.Karmahe@...>; cip-dev@...
Cc: dinesh kumar(TSIP TMIEC ODG Porting) <dinesh.kumar@...>; pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla@...>; hayashi kazuhiro(林 和宏 □SWC◯ACT) <kazuhiro3.hayashi@...>
Subject: Re: [isar-cip-core v3] recipes-core/images/cip-core-image-security.bb:Add libpam-google-authenticator Package

On 11.07.22 12:29, Shreyas.Karmahe@... wrote:
From: Shreyas Karmahe <Shreyas.Karmahe@...>

Add libpam-google-authenticator to enable Multi-factor authentication.

Signed-off-by: Shreyas Karmahe <Shreyas.Karmahe@...>
---
recipes-core/images/cip-core-image-security.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-core/images/cip-core-image-security.bb
b/recipes-core/images/cip-core-image-security.bb
index 6060978..24b1f46 100644
--- a/recipes-core/images/cip-core-image-security.bb
+++ b/recipes-core/images/cip-core-image-security.bb
@@ -33,6 +33,7 @@ IMAGE_PREINSTALL += " \
uuid-runtime \
sudo \
aide-common \
+ libpam-google-authenticator \
"

OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
With v3 of "recipes-core/security-customizations/files/postinst:Add
configuration for MFA" (non-optimal naming BTW, will adjust), this patch is now obsolete.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux
--
Siemens AG, Technology
Competence Center Embedded Linux


Re: KernelCI reports

Alice Ferrazzi
 

hello Florian,

On Thu, Jul 14, 2022 at 7:27 PM Bezdeka, Florian
<florian.bezdeka@...> wrote:

On Thu, 2022-07-14 at 19:17 +0900, Alice Ferrazzi wrote:
On Thu, Jul 14, 2022 at 6:45 PM florian.bezdeka@...
<florian.bezdeka@...> wrote:

On Thu, 2022-07-14 at 18:20 +0900, Alice Ferrazzi via lists.cip-
project.org wrote:
Hi Pavel,

On Fri, Jun 24, 2022 at 3:13 AM Pavel Machek <pavel@...> wrote:

Hi!

First... what I am currently using for testing: gitlab; I simply watch
for green ticks there. It takes ~15 minutes to get results. Red cross
in compile stage is pretty sure sign of build error. Red cross in
testing means I need to look at the results, but it is pretty easy to
see "network timeout" or "board unavailable" problems, and mostly I
can just hit retry and get the green tick.

What wories me about gitlab is that we have single board for 4.4-st,
and just two for 4.4-cip.

Now, kernelci.

https://ircbot.wl.linuxfoundation.org/meetings/cip/2022/06/cip.2022-06-23-12.01.html

I got this link in the irc meeting:

https://linux.kernelci.org/job/cip/

Lets start with build results.

linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3

I click on "3" and get build error summary:

Errors Summary
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

...but those are not kernel problems, that's buildsystem incompatible
with config or something like that. Nothing for me to solve.

Let me go through more:

linux-4.19.y-cip v4.19.246-cip75 38ce181ac6ca9f3decdd389cbfd0a38fecdb28c7 111 8 1
linux-4.19.y-cip v4.19.245-cip74 0be9d6774be9b192bcea6fddada917ae3d22f22e 106 7 1
linux-4.19.y-cip-rt v4.19.245-cip74-rt25 c80ee3077a4ce344cf1cffa23af767c9fd75d52c 181 16 6
linux-4.4.y-cip v4.4.302-cip69-296-g52de9431d314 52de9431d314a28c4aa66d8f81144c9958c11168 164 18 5
linux-5.10.y-cip-rt v5.10.109-cip5-rt4 b41186882eaf0137277045da13ea649577c42c11 177 8 3
linux-5.10.y-cip v5.10.112-cip6 c8f6747dcd02a8f87731c324f4bc37bd120a8982 180 7 3
linux-4.19.y-cip v4.19.239-cip72 fdf770b2db8080de95dcf74cc7547319034a4a56 0 0 120

That's 19 errors total + outlier of v4.19.239-cip72 with 120
errors. None of the 19 errors is real. KernelCI needs to fix their
configs/build environment.

120 errors are reported at https://linux.kernelci.org/build/cip/branch/linux-4.19.y-cip/kernel/v4.19.239-cip72/ . Wow. Except that I don't see that many errors there. I see lines such as

cm_x2xx_defconfig ‐ arm ‐ gcc-10 0 warnings 0 errors. When I click for details I get "No test results found".

https://linux.kernelci.org/build/id/6266a495d40dfd0dacff948c/

Nothing for me to debug, either, agreed? So lets look at test results.

Branch Kernel Commit Build Status Test Results Date
linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3 2457 256 21 2022-06-12

21 failures.

If I click that, I can see that most regressions (11) are at baseline
test plan. The machine that looks relevant to us is
qemu_arm64-virt-gicv2 defconfig+arm64-chromebook --

https://linux.kernelci.org/test/job/cip/branch/linux-5.10.y-cip/kernel/v5.10.121-cip9/plan/baseline/

New regression, last pass: v5.10.112-cip6

I get to
https://linux.kernelci.org/test/case/id/62a333452713980006a39c13/
which looks quite useful, it lists successful run and failed run,
v5.10.121-cip9 fails while v5.10.112-cip6 works.
Yes, checking for regressions is quite useful.


Eventually I get to https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html .

And sorry, no I don't see anything I could debug there. Did the docker
fail to start? Hmm. Lets compare it with the older results.

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.112-cip6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html . Aha, 404. No comparison possible.
The garbage collector removes everything that's older than 28 days.


Lets try one more.

rk3399-gru-kevin defconfig+arm64-chromebook ‐ arm64 ‐ gcc-10

https://linux.kernelci.org/test/plan/id/62a337700aadba677da39bdd/

It gets me to:

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

I see some errors... Like missing firmware (not a kernel problem). At
the end there's "tpm-chip-is-online: fail" . Is that what I should be debugging?

1368 12:21:39.212881 /usr/bin/tpm2_getcap
1369 12:21:39.251829 ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:114:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
1370 12:21:39.261387 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:307:Esys_GetCapability_Finish() Received a non-TPM Error
1371 12:21:39.272254 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:107:Esys_GetCapability() Esys Finish ErrorCode (0x00080001)
1372 12:21:39.281854 ERROR: Esys_GetCapability(0x80001) - sys:Catch all for all errors not otherwise specified
1373 12:21:39.285316 ERROR: Unable to run tpm2_getcap

Userland seems to say that it does not support this device. I guess I could compare it with older boot?

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.83-cip1-178-g2cf1d12aab81/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

Aha, no, could not, 404.
same here, the garbage collector removes everything that's older than 28 days.


Now, let's go through Jan's
example. https://linux.kernelci.org/build/id/61fbabe0cb6f27a6ce5d6f03/logs/?
. Again, errors look like missconfigured build system, with

arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

Full log https://storage.kernelci.org/stable-rc/linux-4.4.y/v4.4.302/arm/rpc_defconfig/gcc-10/logs gives 404.
same here, the garbage collector removes everything that's older than 28 days.


I spent quite some time trying to click around to find an error I
could debug. I could not find one. All of above looks like kernelCI
configuration problems. Can they be fixed and/or filtered out?
If you can write which configurations you want to filter out (because
they are not needed for CIP)
to KernelCI, KernelCI could blocklist such configurations.

for reference: https://github.com/kernelci/kernelci-core/issues/1053#issuecomment-1050679725
Jan asked me to check the kernelci related issues you summarized here
related to the 4.4-cip branch. I tried to find the latest 4.4 test
report that failed. Can someone point me there?

With some guidance from Alice it should be possible for me to come up
with a exclude/blocklist to bring 4.4 back to a "green" state.
Afterwards we would have to sort out all the problems (decoupled from
Pavel's testing)
Hello Florian

Latest build 4.4 cip is here
https://linux.kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-296-g52de9431d314/
is a really old build as the latest 4.4 cip tag is v4.4.302-cip69
tagged on date 2022-04-04 13:18:30 +0900
Unfortunately as I previously said KernelCI garbage collector removes
everything that's older than 28 days.
You can find CIP builds here: https://linux.kernelci.org/job/cip/
Thanks a lot Alice!

Any chance for me to trigger a re-build?
I'm trying to triggering CIP_4.4 again it should appear in
https://staging.kernelci.org/job/
but Pavel have is own repository for triggering re-builds
"""
tree: cip-gitlab
branch: 'ci/pavel/linux-test'
variants: *cip_variants
cip_pavel-test:
"""

Thanks,
Alicef

--
======================================
Cybertrust Japan Co.,Ltd.
Alice Ferrazzi
alice.ferrazzi@...
======================================


Re: KernelCI reports

Florian Bezdeka
 

On Thu, 2022-07-14 at 19:17 +0900, Alice Ferrazzi wrote:
On Thu, Jul 14, 2022 at 6:45 PM florian.bezdeka@...
<florian.bezdeka@...> wrote:

On Thu, 2022-07-14 at 18:20 +0900, Alice Ferrazzi via lists.cip-
project.org wrote:
Hi Pavel,

On Fri, Jun 24, 2022 at 3:13 AM Pavel Machek <pavel@...> wrote:

Hi!

First... what I am currently using for testing: gitlab; I simply watch
for green ticks there. It takes ~15 minutes to get results. Red cross
in compile stage is pretty sure sign of build error. Red cross in
testing means I need to look at the results, but it is pretty easy to
see "network timeout" or "board unavailable" problems, and mostly I
can just hit retry and get the green tick.

What wories me about gitlab is that we have single board for 4.4-st,
and just two for 4.4-cip.

Now, kernelci.

https://ircbot.wl.linuxfoundation.org/meetings/cip/2022/06/cip.2022-06-23-12.01.html

I got this link in the irc meeting:

https://linux.kernelci.org/job/cip/

Lets start with build results.

linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3

I click on "3" and get build error summary:

Errors Summary
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

...but those are not kernel problems, that's buildsystem incompatible
with config or something like that. Nothing for me to solve.

Let me go through more:

linux-4.19.y-cip v4.19.246-cip75 38ce181ac6ca9f3decdd389cbfd0a38fecdb28c7 111 8 1
linux-4.19.y-cip v4.19.245-cip74 0be9d6774be9b192bcea6fddada917ae3d22f22e 106 7 1
linux-4.19.y-cip-rt v4.19.245-cip74-rt25 c80ee3077a4ce344cf1cffa23af767c9fd75d52c 181 16 6
linux-4.4.y-cip v4.4.302-cip69-296-g52de9431d314 52de9431d314a28c4aa66d8f81144c9958c11168 164 18 5
linux-5.10.y-cip-rt v5.10.109-cip5-rt4 b41186882eaf0137277045da13ea649577c42c11 177 8 3
linux-5.10.y-cip v5.10.112-cip6 c8f6747dcd02a8f87731c324f4bc37bd120a8982 180 7 3
linux-4.19.y-cip v4.19.239-cip72 fdf770b2db8080de95dcf74cc7547319034a4a56 0 0 120

That's 19 errors total + outlier of v4.19.239-cip72 with 120
errors. None of the 19 errors is real. KernelCI needs to fix their
configs/build environment.

120 errors are reported at https://linux.kernelci.org/build/cip/branch/linux-4.19.y-cip/kernel/v4.19.239-cip72/ . Wow. Except that I don't see that many errors there. I see lines such as

cm_x2xx_defconfig ‐ arm ‐ gcc-10 0 warnings 0 errors. When I click for details I get "No test results found".

https://linux.kernelci.org/build/id/6266a495d40dfd0dacff948c/

Nothing for me to debug, either, agreed? So lets look at test results.

Branch Kernel Commit Build Status Test Results Date
linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3 2457 256 21 2022-06-12

21 failures.

If I click that, I can see that most regressions (11) are at baseline
test plan. The machine that looks relevant to us is
qemu_arm64-virt-gicv2 defconfig+arm64-chromebook --

https://linux.kernelci.org/test/job/cip/branch/linux-5.10.y-cip/kernel/v5.10.121-cip9/plan/baseline/

New regression, last pass: v5.10.112-cip6

I get to
https://linux.kernelci.org/test/case/id/62a333452713980006a39c13/
which looks quite useful, it lists successful run and failed run,
v5.10.121-cip9 fails while v5.10.112-cip6 works.
Yes, checking for regressions is quite useful.


Eventually I get to https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html .

And sorry, no I don't see anything I could debug there. Did the docker
fail to start? Hmm. Lets compare it with the older results.

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.112-cip6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html . Aha, 404. No comparison possible.
The garbage collector removes everything that's older than 28 days.


Lets try one more.

rk3399-gru-kevin defconfig+arm64-chromebook ‐ arm64 ‐ gcc-10

https://linux.kernelci.org/test/plan/id/62a337700aadba677da39bdd/

It gets me to:

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

I see some errors... Like missing firmware (not a kernel problem). At
the end there's "tpm-chip-is-online: fail" . Is that what I should be debugging?

1368 12:21:39.212881 /usr/bin/tpm2_getcap
1369 12:21:39.251829 ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:114:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
1370 12:21:39.261387 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:307:Esys_GetCapability_Finish() Received a non-TPM Error
1371 12:21:39.272254 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:107:Esys_GetCapability() Esys Finish ErrorCode (0x00080001)
1372 12:21:39.281854 ERROR: Esys_GetCapability(0x80001) - sys:Catch all for all errors not otherwise specified
1373 12:21:39.285316 ERROR: Unable to run tpm2_getcap

Userland seems to say that it does not support this device. I guess I could compare it with older boot?

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.83-cip1-178-g2cf1d12aab81/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

Aha, no, could not, 404.
same here, the garbage collector removes everything that's older than 28 days.


Now, let's go through Jan's
example. https://linux.kernelci.org/build/id/61fbabe0cb6f27a6ce5d6f03/logs/?
. Again, errors look like missconfigured build system, with

arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

Full log https://storage.kernelci.org/stable-rc/linux-4.4.y/v4.4.302/arm/rpc_defconfig/gcc-10/logs gives 404.
same here, the garbage collector removes everything that's older than 28 days.


I spent quite some time trying to click around to find an error I
could debug. I could not find one. All of above looks like kernelCI
configuration problems. Can they be fixed and/or filtered out?
If you can write which configurations you want to filter out (because
they are not needed for CIP)
to KernelCI, KernelCI could blocklist such configurations.

for reference: https://github.com/kernelci/kernelci-core/issues/1053#issuecomment-1050679725
Jan asked me to check the kernelci related issues you summarized here
related to the 4.4-cip branch. I tried to find the latest 4.4 test
report that failed. Can someone point me there?

With some guidance from Alice it should be possible for me to come up
with a exclude/blocklist to bring 4.4 back to a "green" state.
Afterwards we would have to sort out all the problems (decoupled from
Pavel's testing)
Hello Florian

Latest build 4.4 cip is here
https://linux.kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-296-g52de9431d314/
is a really old build as the latest 4.4 cip tag is v4.4.302-cip69
tagged on date 2022-04-04 13:18:30 +0900
Unfortunately as I previously said KernelCI garbage collector removes
everything that's older than 28 days.
You can find CIP builds here: https://linux.kernelci.org/job/cip/
Thanks a lot Alice!

Any chance for me to trigger a re-build?


Thanks,
Alicef


Re: KernelCI reports

Alice Ferrazzi
 

On Thu, Jul 14, 2022 at 6:45 PM florian.bezdeka@...
<florian.bezdeka@...> wrote:

On Thu, 2022-07-14 at 18:20 +0900, Alice Ferrazzi via lists.cip-
project.org wrote:
Hi Pavel,

On Fri, Jun 24, 2022 at 3:13 AM Pavel Machek <pavel@...> wrote:

Hi!

First... what I am currently using for testing: gitlab; I simply watch
for green ticks there. It takes ~15 minutes to get results. Red cross
in compile stage is pretty sure sign of build error. Red cross in
testing means I need to look at the results, but it is pretty easy to
see "network timeout" or "board unavailable" problems, and mostly I
can just hit retry and get the green tick.

What wories me about gitlab is that we have single board for 4.4-st,
and just two for 4.4-cip.

Now, kernelci.

https://ircbot.wl.linuxfoundation.org/meetings/cip/2022/06/cip.2022-06-23-12.01.html

I got this link in the irc meeting:

https://linux.kernelci.org/job/cip/

Lets start with build results.

linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3

I click on "3" and get build error summary:

Errors Summary
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

...but those are not kernel problems, that's buildsystem incompatible
with config or something like that. Nothing for me to solve.

Let me go through more:

linux-4.19.y-cip v4.19.246-cip75 38ce181ac6ca9f3decdd389cbfd0a38fecdb28c7 111 8 1
linux-4.19.y-cip v4.19.245-cip74 0be9d6774be9b192bcea6fddada917ae3d22f22e 106 7 1
linux-4.19.y-cip-rt v4.19.245-cip74-rt25 c80ee3077a4ce344cf1cffa23af767c9fd75d52c 181 16 6
linux-4.4.y-cip v4.4.302-cip69-296-g52de9431d314 52de9431d314a28c4aa66d8f81144c9958c11168 164 18 5
linux-5.10.y-cip-rt v5.10.109-cip5-rt4 b41186882eaf0137277045da13ea649577c42c11 177 8 3
linux-5.10.y-cip v5.10.112-cip6 c8f6747dcd02a8f87731c324f4bc37bd120a8982 180 7 3
linux-4.19.y-cip v4.19.239-cip72 fdf770b2db8080de95dcf74cc7547319034a4a56 0 0 120

That's 19 errors total + outlier of v4.19.239-cip72 with 120
errors. None of the 19 errors is real. KernelCI needs to fix their
configs/build environment.

120 errors are reported at https://linux.kernelci.org/build/cip/branch/linux-4.19.y-cip/kernel/v4.19.239-cip72/ . Wow. Except that I don't see that many errors there. I see lines such as

cm_x2xx_defconfig ‐ arm ‐ gcc-10 0 warnings 0 errors. When I click for details I get "No test results found".

https://linux.kernelci.org/build/id/6266a495d40dfd0dacff948c/

Nothing for me to debug, either, agreed? So lets look at test results.

Branch Kernel Commit Build Status Test Results Date
linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3 2457 256 21 2022-06-12

21 failures.

If I click that, I can see that most regressions (11) are at baseline
test plan. The machine that looks relevant to us is
qemu_arm64-virt-gicv2 defconfig+arm64-chromebook --

https://linux.kernelci.org/test/job/cip/branch/linux-5.10.y-cip/kernel/v5.10.121-cip9/plan/baseline/

New regression, last pass: v5.10.112-cip6

I get to
https://linux.kernelci.org/test/case/id/62a333452713980006a39c13/
which looks quite useful, it lists successful run and failed run,
v5.10.121-cip9 fails while v5.10.112-cip6 works.
Yes, checking for regressions is quite useful.


Eventually I get to https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html .

And sorry, no I don't see anything I could debug there. Did the docker
fail to start? Hmm. Lets compare it with the older results.

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.112-cip6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html . Aha, 404. No comparison possible.
The garbage collector removes everything that's older than 28 days.


Lets try one more.

rk3399-gru-kevin defconfig+arm64-chromebook ‐ arm64 ‐ gcc-10

https://linux.kernelci.org/test/plan/id/62a337700aadba677da39bdd/

It gets me to:

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

I see some errors... Like missing firmware (not a kernel problem). At
the end there's "tpm-chip-is-online: fail" . Is that what I should be debugging?

1368 12:21:39.212881 /usr/bin/tpm2_getcap
1369 12:21:39.251829 ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:114:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
1370 12:21:39.261387 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:307:Esys_GetCapability_Finish() Received a non-TPM Error
1371 12:21:39.272254 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:107:Esys_GetCapability() Esys Finish ErrorCode (0x00080001)
1372 12:21:39.281854 ERROR: Esys_GetCapability(0x80001) - sys:Catch all for all errors not otherwise specified
1373 12:21:39.285316 ERROR: Unable to run tpm2_getcap

Userland seems to say that it does not support this device. I guess I could compare it with older boot?

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.83-cip1-178-g2cf1d12aab81/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

Aha, no, could not, 404.
same here, the garbage collector removes everything that's older than 28 days.


Now, let's go through Jan's
example. https://linux.kernelci.org/build/id/61fbabe0cb6f27a6ce5d6f03/logs/?
. Again, errors look like missconfigured build system, with

arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

Full log https://storage.kernelci.org/stable-rc/linux-4.4.y/v4.4.302/arm/rpc_defconfig/gcc-10/logs gives 404.
same here, the garbage collector removes everything that's older than 28 days.


I spent quite some time trying to click around to find an error I
could debug. I could not find one. All of above looks like kernelCI
configuration problems. Can they be fixed and/or filtered out?
If you can write which configurations you want to filter out (because
they are not needed for CIP)
to KernelCI, KernelCI could blocklist such configurations.

for reference: https://github.com/kernelci/kernelci-core/issues/1053#issuecomment-1050679725
Jan asked me to check the kernelci related issues you summarized here
related to the 4.4-cip branch. I tried to find the latest 4.4 test
report that failed. Can someone point me there?

With some guidance from Alice it should be possible for me to come up
with a exclude/blocklist to bring 4.4 back to a "green" state.
Afterwards we would have to sort out all the problems (decoupled from
Pavel's testing)
Hello Florian

Latest build 4.4 cip is here
https://linux.kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.302-cip69-296-g52de9431d314/
is a really old build as the latest 4.4 cip tag is v4.4.302-cip69
tagged on date 2022-04-04 13:18:30 +0900
Unfortunately as I previously said KernelCI garbage collector removes
everything that's older than 28 days.
You can find CIP builds here: https://linux.kernelci.org/job/cip/

Thanks,
Alicef


--
======================================
Cybertrust Japan Co.,Ltd.
Alice Ferrazzi
alice.ferrazzi@...
======================================


CIP IRC weekly meeting today on libera.chat

Jan Kiszka
 

Hi all,

Kindly be reminded to attend the weekly meeting through IRC to discuss
technical topics with CIP kernel today. Our channel is the following:

irc:irc.libera.chat:6667/cip

The IRC meeting is scheduled to UTC (GMT) 12:00:

https://www.timeanddate.com/worldclock/meetingdetails.html?year=2022&month=7&day=14&hour=12&min=0&sec=0&p1=224&p2=179&p3=136&p4=37&p5=241&p6=248

USWest USEast UK DE TW JP
05:00 08:00 13:00 14:00 20:00 21:00

Last meeting minutes:
https://ircbot.wl.linuxfoundation.org/meetings/cip/2022/07/cip.2022-07-07-12.01.log.html

Pavel will run the meeting this week (TIA!). I might listen but can't actively participate.

* Action items
1. Resolve/ignore failures of KernelCI on 4.4-cip - ???
2. Check cip devices on kernelci old pull request - patersonc
* Kernel maintenance updates
* Kernel testing
* AOB
- I'll likely be on DebConf day-trip next week (21th), will need a substitute again

Jan


Re: KernelCI reports

Florian Bezdeka
 

On Thu, 2022-07-14 at 18:20 +0900, Alice Ferrazzi via lists.cip-
project.org wrote:
Hi Pavel,

On Fri, Jun 24, 2022 at 3:13 AM Pavel Machek <pavel@...> wrote:

Hi!

First... what I am currently using for testing: gitlab; I simply watch
for green ticks there. It takes ~15 minutes to get results. Red cross
in compile stage is pretty sure sign of build error. Red cross in
testing means I need to look at the results, but it is pretty easy to
see "network timeout" or "board unavailable" problems, and mostly I
can just hit retry and get the green tick.

What wories me about gitlab is that we have single board for 4.4-st,
and just two for 4.4-cip.

Now, kernelci.

https://ircbot.wl.linuxfoundation.org/meetings/cip/2022/06/cip.2022-06-23-12.01.html

I got this link in the irc meeting:

https://linux.kernelci.org/job/cip/

Lets start with build results.

linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3

I click on "3" and get build error summary:

Errors Summary
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

...but those are not kernel problems, that's buildsystem incompatible
with config or something like that. Nothing for me to solve.

Let me go through more:

linux-4.19.y-cip v4.19.246-cip75 38ce181ac6ca9f3decdd389cbfd0a38fecdb28c7 111 8 1
linux-4.19.y-cip v4.19.245-cip74 0be9d6774be9b192bcea6fddada917ae3d22f22e 106 7 1
linux-4.19.y-cip-rt v4.19.245-cip74-rt25 c80ee3077a4ce344cf1cffa23af767c9fd75d52c 181 16 6
linux-4.4.y-cip v4.4.302-cip69-296-g52de9431d314 52de9431d314a28c4aa66d8f81144c9958c11168 164 18 5
linux-5.10.y-cip-rt v5.10.109-cip5-rt4 b41186882eaf0137277045da13ea649577c42c11 177 8 3
linux-5.10.y-cip v5.10.112-cip6 c8f6747dcd02a8f87731c324f4bc37bd120a8982 180 7 3
linux-4.19.y-cip v4.19.239-cip72 fdf770b2db8080de95dcf74cc7547319034a4a56 0 0 120

That's 19 errors total + outlier of v4.19.239-cip72 with 120
errors. None of the 19 errors is real. KernelCI needs to fix their
configs/build environment.

120 errors are reported at https://linux.kernelci.org/build/cip/branch/linux-4.19.y-cip/kernel/v4.19.239-cip72/ . Wow. Except that I don't see that many errors there. I see lines such as

cm_x2xx_defconfig ‐ arm ‐ gcc-10 0 warnings 0 errors. When I click for details I get "No test results found".

https://linux.kernelci.org/build/id/6266a495d40dfd0dacff948c/

Nothing for me to debug, either, agreed? So lets look at test results.

Branch Kernel Commit Build Status Test Results Date
linux-5.10.y-cip v5.10.121-cip9 bd24696dd7ad23517733728da675a00cd3073916 169 7 3 2457 256 21 2022-06-12

21 failures.

If I click that, I can see that most regressions (11) are at baseline
test plan. The machine that looks relevant to us is
qemu_arm64-virt-gicv2 defconfig+arm64-chromebook --

https://linux.kernelci.org/test/job/cip/branch/linux-5.10.y-cip/kernel/v5.10.121-cip9/plan/baseline/

New regression, last pass: v5.10.112-cip6

I get to
https://linux.kernelci.org/test/case/id/62a333452713980006a39c13/
which looks quite useful, it lists successful run and failed run,
v5.10.121-cip9 fails while v5.10.112-cip6 works.
Yes, checking for regressions is quite useful.


Eventually I get to https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html .

And sorry, no I don't see anything I could debug there. Did the docker
fail to start? Hmm. Lets compare it with the older results.

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.112-cip6/arm64/defconfig+arm64-chromebook/gcc-10/lab-baylibre/baseline-qemu_arm64-virt-gicv2.html . Aha, 404. No comparison possible.
The garbage collector removes everything that's older than 28 days.


Lets try one more.

rk3399-gru-kevin defconfig+arm64-chromebook ‐ arm64 ‐ gcc-10

https://linux.kernelci.org/test/plan/id/62a337700aadba677da39bdd/

It gets me to:

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.121-cip9/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

I see some errors... Like missing firmware (not a kernel problem). At
the end there's "tpm-chip-is-online: fail" . Is that what I should be debugging?

1368 12:21:39.212881 /usr/bin/tpm2_getcap
1369 12:21:39.251829 ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:114:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
1370 12:21:39.261387 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:307:Esys_GetCapability_Finish() Received a non-TPM Error
1371 12:21:39.272254 ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:107:Esys_GetCapability() Esys Finish ErrorCode (0x00080001)
1372 12:21:39.281854 ERROR: Esys_GetCapability(0x80001) - sys:Catch all for all errors not otherwise specified
1373 12:21:39.285316 ERROR: Unable to run tpm2_getcap

Userland seems to say that it does not support this device. I guess I could compare it with older boot?

https://storage.kernelci.org/cip/linux-5.10.y-cip/v5.10.83-cip1-178-g2cf1d12aab81/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-rk3399-gru-kevin.html

Aha, no, could not, 404.
same here, the garbage collector removes everything that's older than 28 days.


Now, let's go through Jan's
example. https://linux.kernelci.org/build/id/61fbabe0cb6f27a6ce5d6f03/logs/?
. Again, errors look like missconfigured build system, with

arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’

Full log https://storage.kernelci.org/stable-rc/linux-4.4.y/v4.4.302/arm/rpc_defconfig/gcc-10/logs gives 404.
same here, the garbage collector removes everything that's older than 28 days.


I spent quite some time trying to click around to find an error I
could debug. I could not find one. All of above looks like kernelCI
configuration problems. Can they be fixed and/or filtered out?
If you can write which configurations you want to filter out (because
they are not needed for CIP)
to KernelCI, KernelCI could blocklist such configurations.

for reference: https://github.com/kernelci/kernelci-core/issues/1053#issuecomment-1050679725
Jan asked me to check the kernelci related issues you summarized here
related to the 4.4-cip branch. I tried to find the latest 4.4 test
report that failed. Can someone point me there?

With some guidance from Alice it should be possible for me to come up
with a exclude/blocklist to bring 4.4 back to a "green" state.
Afterwards we would have to sort out all the problems (decoupled from
Pavel's testing)

Best regards,
Florian



381 - 400 of 9152