diff --git a/image/debian/UFI003_MB_V02/kernel/.ci-check.sh b/image/debian/UFI003_MB_V02/kernel/.ci-check.sh new file mode 100755 index 0000000000..520cebecc7 --- /dev/null +++ b/image/debian/UFI003_MB_V02/kernel/.ci-check.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only +set -eux + +git format-patch "$1" +scripts/checkpatch.pl --strict --color=always *.patch || : +! scripts/checkpatch.pl --strict --color=always --terse --show-types *.patch \ + | grep -Ff .ci-checkpatch.txt diff --git a/image/debian/UFI003_MB_V02/kernel/.ci-checkpatch.txt b/image/debian/UFI003_MB_V02/kernel/.ci-checkpatch.txt new file mode 100644 index 0000000000..78bc7f2300 --- /dev/null +++ b/image/debian/UFI003_MB_V02/kernel/.ci-checkpatch.txt @@ -0,0 +1,7 @@ +ERROR: +BAD_SIGN_OFF: +FROM_SIGN_OFF_MISMATCH: +LEADING_SPACE: +MISSING_EOF_NEWLINE: +SPACE_BEFORE_TAB: +SPDX_LICENSE_TAG: diff --git a/image/debian/UFI003_MB_V02/kernel/.get_maintainer.ignore b/image/debian/UFI003_MB_V02/kernel/.get_maintainer.ignore index 9ff8574b72..7d1b30aae8 100644 --- a/image/debian/UFI003_MB_V02/kernel/.get_maintainer.ignore +++ b/image/debian/UFI003_MB_V02/kernel/.get_maintainer.ignore @@ -1,5 +1,5 @@ -Alan Cox -Alan Cox -Christoph Hellwig -Jeff Kirsher -Marc Gonzalez +Alan Cox +Alan Cox +Christoph Hellwig +Jeff Kirsher +Marc Gonzalez diff --git a/image/debian/UFI003_MB_V02/kernel/.gitattributes b/image/debian/UFI003_MB_V02/kernel/.gitattributes index bc676d6265..2325c529e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/.gitattributes +++ b/image/debian/UFI003_MB_V02/kernel/.gitattributes @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -*.[ch] diff=cpp -*.dts diff=dts -*.dts[io] diff=dts -*.rs diff=rust +# SPDX-License-Identifier: GPL-2.0-only +*.[ch] diff=cpp +*.dts diff=dts +*.dts[io] diff=dts +*.rs diff=rust diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled index 6a64a64d29..e9c2de8b36 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled @@ -1,9 +1,9 @@ -This ABI is renamed and moved to a new location /sys/kernel/fadump/enabled. - -What: /sys/kernel/fadump_enabled -Date: Feb 2012 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read only - Primarily used to identify whether the FADump is enabled in - the kernel or not. -User: Kdump service +This ABI is renamed and moved to a new location /sys/kernel/fadump/enabled. + +What: /sys/kernel/fadump_enabled +Date: Feb 2012 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read only + Primarily used to identify whether the FADump is enabled in + the kernel or not. +User: Kdump service diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/ip_queue b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/ip_queue index 0dec730b04..3243613bc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/ip_queue +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/ip_queue @@ -1,9 +1,9 @@ -What: ip_queue -Date: finally removed in kernel v3.5.0 -Contact: Pablo Neira Ayuso -Description: - ip_queue has been replaced by nfnetlink_queue which provides - more advanced queueing mechanism to user-space. The ip_queue - module was already announced to become obsolete years ago. - -Users: +What: ip_queue +Date: finally removed in kernel v3.5.0 +Contact: Pablo Neira Ayuso +Description: + ip_queue has been replaced by nfnetlink_queue which provides + more advanced queueing mechanism to user-space. The ip_queue + module was already announced to become obsolete years ago. + +Users: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/net_dma b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/net_dma index e5b3d5cd8e..a173aecc2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/net_dma +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/net_dma @@ -1,8 +1,8 @@ -What: tcp_dma_copybreak sysctl -Date: Removed in kernel v3.13 -Contact: Dan Williams -Description: - Formerly the lower limit, in bytes, of the size of socket reads - that will be offloaded to a DMA copy engine. Removed due to - coherency issues of the cpu potentially touching the buffers - while dma is in flight. +What: tcp_dma_copybreak sysctl +Date: Removed in kernel v3.13 +Contact: Dan Williams +Description: + Formerly the lower limit, in bytes, of the size of socket reads + that will be offloaded to a DMA copy engine. Removed due to + coherency issues of the cpu potentially touching the buffers + while dma is in flight. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore index 1915ac86ce..a8d46cd0f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore @@ -1,9 +1,9 @@ -This ABI is moved to /sys/firmware/opal/mpipl/release_core. - -What: /sys/kernel/fadump_release_opalcore -Date: Sep 2019 -Contact: linuxppc-dev@lists.ozlabs.org -Description: write only - The sysfs file is available when the system is booted to - collect the dump on OPAL based machine. It used to release - the memory used to collect the opalcore. +This ABI is moved to /sys/firmware/opal/mpipl/release_core. + +What: /sys/kernel/fadump_release_opalcore +Date: Sep 2019 +Contact: linuxppc-dev@lists.ozlabs.org +Description: write only + The sysfs file is available when the system is booted to + collect the dump on OPAL based machine. It used to release + the memory used to collect the opalcore. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28ea00 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28ea00 index baad25d74f..534e63731a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28ea00 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28ea00 @@ -1,6 +1,6 @@ -What: /sys/bus/w1/devices/.../w1_seq -Date: Apr 2015 -Contact: Matt Campbell -Description: Support for the DS28EA00 chain sequence function - see Documentation/w1/slaves/w1_therm.rst for detailed information -Users: any user space application which wants to communicate with DS28EA00 +What: /sys/bus/w1/devices/.../w1_seq +Date: Apr 2015 +Contact: Matt Campbell +Description: Support for the DS28EA00 chain sequence function + see Documentation/w1/slaves/w1_therm.rst for detailed information +Users: any user space application which wants to communicate with DS28EA00 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-kernel-notes b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-kernel-notes index ca3c4d184a..2c76ee9e67 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-kernel-notes +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-kernel-notes @@ -1,5 +1,5 @@ -What: /sys/kernel/notes -Date: July 2009 -Contact: -Description: The /sys/kernel/notes file contains the binary representation - of the running vmlinux's .notes section. +What: /sys/kernel/notes +Date: July 2009 +Contact: +Description: The /sys/kernel/notes file contains the binary representation + of the running vmlinux's .notes section. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-platform-wmi-bmof b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-platform-wmi-bmof index e73653ac3e..2881244e3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-platform-wmi-bmof +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-platform-wmi-bmof @@ -1,7 +1,7 @@ -What: /sys/bus/wmi/devices/05901221-D566-11D1-B2F0-00A0C9062910[-X]/bmof -Date: Jun 2017 -KernelVersion: 4.13 -Description: - Binary MOF metadata used to describe the details of available ACPI WMI interfaces. - - See Documentation/wmi/devices/wmi-bmof.rst for details. +What: /sys/bus/wmi/devices/05901221-D566-11D1-B2F0-00A0C9062910[-X]/bmof +Date: Jun 2017 +KernelVersion: 4.13 +Description: + Binary MOF metadata used to describe the details of available ACPI WMI interfaces. + + See Documentation/wmi/devices/wmi-bmof.rst for details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/thermal-notification b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/thermal-notification index e639e23c1d..9723e8b7ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/thermal-notification +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/thermal-notification @@ -1,4 +1,4 @@ -What: A notification mechanism for thermal related events -Description: - This interface enables notification for thermal related events. - The notification is in the form of a netlink event. +What: A notification mechanism for thermal related events +Description: + This interface enables notification for thermal related events. + The notification is in the form of a netlink event. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-loopback b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-loopback index d08c67d1f9..e6c6ba5ac7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-loopback +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-loopback @@ -1,10 +1,10 @@ -What: /config/usb-gadget/gadget/functions/Loopback.name -Date: Nov 2013 -KernelVersion: 3.13 -Description: - The attributes: - - ======= ======================= - qlen depth of loopback queue - buflen buffer length - ======= ======================= +What: /config/usb-gadget/gadget/functions/Loopback.name +Date: Nov 2013 +KernelVersion: 3.13 +Description: + The attributes: + + ======= ======================= + qlen depth of loopback queue + buflen buffer length + ======= ======================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-obex b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-obex index 6c61c6ff1d..a6a9327ed9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-obex +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-obex @@ -1,9 +1,9 @@ -What: /config/usb-gadget/gadget/functions/obex.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - - This item contains just one readonly attribute: port_num. - It contains the port number of the /dev/ttyGS device - associated with obex function's instance "name". - +What: /config/usb-gadget/gadget/functions/obex.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + + This item contains just one readonly attribute: port_num. + It contains the port number of the /dev/ttyGS device + associated with obex function's instance "name". + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-phonet b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-phonet index 76e691ce45..7037a358e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-phonet +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-phonet @@ -1,8 +1,8 @@ -What: /config/usb-gadget/gadget/functions/phonet.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - - This item contains just one readonly attribute: ifname. - It contains the network interface name assigned during - network device registration. +What: /config/usb-gadget/gadget/functions/phonet.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + + This item contains just one readonly attribute: ifname. + It contains the network interface name assigned during + network device registration. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-printer b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-printer index ede475e1c4..7aa731bac2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-printer +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-printer @@ -1,11 +1,11 @@ -What: /config/usb-gadget/gadget/functions/printer.name -Date: Apr 2015 -KernelVersion: 4.1 -Description: - The attributes: - - ========== =========================================== - pnp_string Data to be passed to the host in pnp string - q_len Number of requests per endpoint - ========== =========================================== - +What: /config/usb-gadget/gadget/functions/printer.name +Date: Apr 2015 +KernelVersion: 4.1 +Description: + The attributes: + + ========== =========================================== + pnp_string Data to be passed to the host in pnp string + q_len Number of requests per endpoint + ========== =========================================== + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-serial b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-serial index 89de787cb8..474d249f76 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-serial +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-serial @@ -1,9 +1,9 @@ -What: /config/usb-gadget/gadget/functions/gser.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - - This item contains just one readonly attribute: port_num. - It contains the port number of the /dev/ttyGS device - associated with gser function's instance "name". - +What: /config/usb-gadget/gadget/functions/gser.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + + This item contains just one readonly attribute: port_num. + It contains the port number of the /dev/ttyGS device + associated with gser function's instance "name". + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-tcm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-tcm index b93c880f77..a29ed2dd61 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-tcm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-tcm @@ -1,6 +1,6 @@ -What: /config/usb-gadget/gadget/functions/tcm.name -Date: Dec 2015 -KernelVersion: 4.5 -Description: - There are no attributes because all the configuration - is performed in the "target" subsystem of configfs. +What: /config/usb-gadget/gadget/functions/tcm.name +Date: Dec 2015 +KernelVersion: 4.5 +Description: + There are no attributes because all the configuration + is performed in the "target" subsystem of configfs. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-rssd b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-rssd index f218cf83ab..beef30c046 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-rssd +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-rssd @@ -1,5 +1,5 @@ -What: /sys/block/rssd*/status -Date: April 2012 -KernelVersion: 3.4 -Contact: Asai Thambi S P -Description: This is a read-only file. Indicates the status of the device. +What: /sys/block/rssd*/status +Date: April 2012 +KernelVersion: 3.4 +Contact: Asai Thambi S P +Description: This is a read-only file. Indicates the status of the device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-bq32k b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-bq32k index d913c29abf..398b258fb7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-bq32k +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-bq32k @@ -1,7 +1,7 @@ -What: /sys/bus/i2c/devices/.../trickle_charge_bypass -Date: Jan 2017 -KernelVersion: 4.11 -Contact: Enric Balletbo i Serra -Description: Attribute for enable/disable the trickle charge bypass - The trickle_charge_bypass attribute allows the userspace to - enable/disable the Trickle charge FET bypass. +What: /sys/bus/i2c/devices/.../trickle_charge_bypass +Date: Jan 2017 +KernelVersion: 4.11 +Contact: Enric Balletbo i Serra +Description: Attribute for enable/disable the trickle charge bypass + The trickle_charge_bypass attribute allows the userspace to + enable/disable the Trickle charge FET bypass. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 index b93bbaf71b..47e34f865c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 @@ -1,7 +1,7 @@ -What: /sys/bus/iio/devices/triggerX/name = "adxl372-devX-peak" -KernelVersion: -Contact: linux-iio@vger.kernel.org -Description: - The adxl372 accelerometer kernel module provides an additional trigger, - which sets the device in a mode in which it will record only the peak acceleration - sensed over the set period of time in the events sysfs. +What: /sys/bus/iio/devices/triggerX/name = "adxl372-devX-peak" +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + The adxl372 accelerometer kernel module provides an additional trigger, + which sets the device in a mode in which it will record only the peak acceleration + sensed over the set period of time in the events sysfs. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-bmc150 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-bmc150 index 552cb11697..99847a913a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-bmc150 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-accel-bmc150 @@ -1,7 +1,7 @@ -What: /sys/bus/iio/devices/triggerX/name = "bmc150_accel-any-motion-devX" -KernelVersion: 3.17 -Contact: linux-iio@vger.kernel.org -Description: - The BMC150 accelerometer kernel module provides an additional trigger, - which sets driver in a mode, where data is pushed to the buffer - only when there is any motion. +What: /sys/bus/iio/devices/triggerX/name = "bmc150_accel-any-motion-devX" +KernelVersion: 3.17 +Contact: linux-iio@vger.kernel.org +Description: + The BMC150 accelerometer kernel module provides an additional trigger, + which sets driver in a mode, where data is pushed to the buffer + only when there is any motion. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-vz89x b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-vz89x index be75af8af4..d512f86560 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-vz89x +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-vz89x @@ -1,7 +1,7 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_concentration_VOC_short_raw -Date: September 2015 -KernelVersion: 4.3 -Contact: Matt Ranostay -Description: - Get the raw calibration VOC value from the sensor. - This value has little application outside of calibration. +What: /sys/bus/iio/devices/iio:deviceX/in_concentration_VOC_short_raw +Date: September 2015 +KernelVersion: 4.3 +Contact: Matt Ranostay +Description: + Get the raw calibration VOC value from the sensor. + This value has little application outside of calibration. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac index fcd20582ff..580e93f373 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac @@ -1,8 +1,8 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw_available -Date: October 2016 -KernelVersion: 4.9 -Contact: Peter Rosin -Description: - The range of available values represented as the minimum value, - the step and the maximum value, all enclosed in square brackets. - Example: [0 1 256] +What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw_available +Date: October 2016 +KernelVersion: 4.9 +Contact: Peter Rosin +Description: + The range of available values represented as the minimum value, + the step and the maximum value, all enclosed in square brackets. + Example: [0 1 256] diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371 index df85e02446..7fe6935d14 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371 @@ -1,11 +1,11 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_name -KernelVersion: -Contact: linux-iio@vger.kernel.org -Description: - Reading returns the datasheet name for channel Y:: - - out_altvoltage0_name: RF8x - out_altvoltage1_name: RFAUX8x - out_altvoltage2_name: RF16x - out_altvoltage3_name: RF32x - +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_name +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + Reading returns the datasheet name for channel Y:: + + out_altvoltage0_name: RF8x + out_altvoltage1_name: RFAUX8x + out_altvoltage2_name: RF16x + out_altvoltage3_name: RF32x + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160 index dc797a09ef..e98209c915 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160 @@ -1,7 +1,7 @@ -What: /sys/bus/iio/devices/triggerX/name = "bmg160-any-motion-devX" -KernelVersion: 3.17 -Contact: linux-iio@vger.kernel.org -Description: - The BMG160 gyro kernel module provides an additional trigger, - which sets driver in a mode, where data is pushed to the buffer - only when there is any motion. +What: /sys/bus/iio/devices/triggerX/name = "bmg160-any-motion-devX" +KernelVersion: 3.17 +Contact: linux-iio@vger.kernel.org +Description: + The BMG160 gyro kernel module provides an additional trigger, + which sets driver in a mode, where data is pushed to the buffer + only when there is any motion. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-meas-spec b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-meas-spec index 38a909db66..6d47e548ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-meas-spec +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-meas-spec @@ -1,7 +1,7 @@ -What: /sys/bus/iio/devices/iio:deviceX/battery_low -KernelVersion: 4.1.0 -Contact: linux-iio@vger.kernel.org -Description: - Reading returns either '1' or '0'. '1' means that the - battery level supplied to sensor is below 2.25V. - This ABI is available for tsys02d, htu21, ms8607 +What: /sys/bus/iio/devices/iio:deviceX/battery_low +KernelVersion: 4.1.0 +Contact: linux-iio@vger.kernel.org +Description: + Reading returns either '1' or '0'. '1' means that the + battery level supplied to sensor is below 2.25V. + This ABI is available for tsys02d, htu21, ms8607 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 index 5b12d6a7de..2a91fbe394 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 @@ -1,8 +1,8 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw_available -Date: October 2016 -KernelVersion: 4.9 -Contact: Peter Rosin -Description: - The range of available values represented as the minimum value, - the step and the maximum value, all enclosed in square brackets. - Example: [0 1 256] +What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw_available +Date: October 2016 +KernelVersion: 4.9 +Contact: Peter Rosin +Description: + The range of available values represented as the minimum value, + the step and the maximum value, all enclosed in square brackets. + Example: [0 1 256] diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-media b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-media index dfeb187051..7057e57415 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-media +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-media @@ -1,6 +1,6 @@ -What: /sys/bus/media/devices/.../model -Date: January 2011 -Contact: Laurent Pinchart - linux-media@vger.kernel.org -Description: Contains the device model name in UTF-8. The device version is - is not be appended to the model name. +What: /sys/bus/media/devices/.../model +Date: January 2011 +Contact: Laurent Pinchart + linux-media@vger.kernel.org +Description: Contains the device model name in UTF-8. The device version is + is not be appended to the model name. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mmc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mmc index abf198ccfc..519f028d19 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mmc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mmc @@ -1,4 +1,4 @@ -What: /sys/bus/mmc/devices/.../rev -Date: October 2017 -Contact: Jin Qian -Description: Extended CSD revision number +What: /sys/bus/mmc/devices/.../rev +Date: October 2017 +Contact: Jin Qian +Description: Extended CSD revision number diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-avs b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-avs index b931721aa6..ebff3fa120 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-avs +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-avs @@ -1,8 +1,8 @@ -What: /sys/devices/pci0000:00//avs/fw_version -Date: February 2024 -Contact: Cezary Rojewski -Description: - Version of AudioDSP firmware ASoC avs driver is communicating - with. - - Format: %d.%d.%d.%d, type:major:minor:build. +What: /sys/devices/pci0000:00//avs/fw_version +Date: February 2024 +Contact: Cezary Rojewski +Description: + Version of AudioDSP firmware ASoC avs driver is communicating + with. + + Format: %d.%d.%d.%d, type:major:minor:build. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-janz-cmodio b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-janz-cmodio index debd54834e..4d08f28dc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-janz-cmodio +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-janz-cmodio @@ -1,8 +1,8 @@ -What: /sys/bus/pci/drivers/janz-cmodio/.../modulbus_number -Date: May 2010 -KernelVersion: 2.6.35 -Contact: Ira W. Snyder -Description: - Value representing the HEX switch S2 of the janz carrier board CMOD-IO or CAN-PCI2 - - Read-only: value of the configuration switch (0..15) +What: /sys/bus/pci/drivers/janz-cmodio/.../modulbus_number +Date: May 2010 +KernelVersion: 2.6.35 +Contact: Ira W. Snyder +Description: + Value representing the HEX switch S2 of the janz carrier board CMOD-IO or CAN-PCI2 + + Read-only: value of the configuration switch (0..15) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-dev b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-dev index 451eb74e50..b06a48c3c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-dev +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-dev @@ -1,9 +1,9 @@ -What: /sys/bus/platform/devices//always_powered_in_suspend -Date: June 2022 -KernelVersion: 5.20 -Contact: Matthias Kaehlcke - linux-usb@vger.kernel.org -Description: - (RW) Controls whether the USB hub remains always powered - during system suspend or not. This attribute is not - available for non-hub devices. +What: /sys/bus/platform/devices//always_powered_in_suspend +Date: June 2022 +KernelVersion: 5.20 +Contact: Matthias Kaehlcke + linux-usb@vger.kernel.org +Description: + (RW) Controls whether the USB hub remains always powered + during system suspend or not. This attribute is not + available for non-hub devices. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-vbc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-vbc index 4542042962..38c5aaaaa8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-vbc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-vbc @@ -1,6 +1,6 @@ -What: /sys/class/chromeos//vbc/vboot_context -Date: October 2015 -KernelVersion: 4.4 -Description: - Read/write the verified boot context data included on a - small nvram space on some EC implementations. +What: /sys/class/chromeos//vbc/vboot_context +Date: October 2015 +KernelVersion: 4.4 +Description: + Read/write the verified boot context data included on a + small nvram space on some EC implementations. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-aw200xx b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-aw200xx index 298465b4f7..6d4449cf9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-aw200xx +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-aw200xx @@ -1,5 +1,5 @@ -What: /sys/class/leds//dim -Date: May 2023 -Description: 64-level DIM current. If you write a negative value or - "auto", the dim will be calculated according to the - brightness. +What: /sys/class/leds//dim +Date: May 2023 +Description: 64-level DIM current. If you write a negative value or + "auto", the dim will be calculated according to the + brightness. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-mp2629 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-mp2629 index 065f161fa3..914d67caac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-mp2629 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-mp2629 @@ -1,9 +1,9 @@ -What: /sys/class/power_supply/mp2629_battery/batt_impedance_compen -Date: April 2020 -KernelVersion: 5.7 -Description: - Represents a battery impedance compensation to accelerate charging. - - Access: Read, Write - - Valid values: Represented in milli-ohms. Valid range is [0, 140]. +What: /sys/class/power_supply/mp2629_battery/batt_impedance_compen +Date: April 2020 +KernelVersion: 5.7 +Description: + Represents a battery impedance compensation to accelerate charging. + + Access: Read, Write + + Valid values: Represented in milli-ohms. Valid range is [0, 140]. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-vfio-dev b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-vfio-dev index 21487b2318..e21424fd96 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-vfio-dev +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-vfio-dev @@ -1,8 +1,8 @@ -What: /sys/...//vfio-dev/vfioX/ -Date: September 2022 -Contact: Yi Liu -Description: - This directory is created when the device is bound to a - vfio driver. The layout under this directory matches what - exists for a standard 'struct device'. 'X' is a unique - index marking this device in vfio. +What: /sys/...//vfio-dev/vfioX/ +Date: September 2022 +Contact: Yi Liu +Description: + This directory is created when the device is bound to a + vfio driver. The layout under this directory matches what + exists for a standard 'struct device'. 'X' is a unique + index marking this device in vfio. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-altera-cvp b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-altera-cvp index 0dcc69195a..fbd8078fd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-altera-cvp +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-altera-cvp @@ -1,8 +1,8 @@ -What: /sys/bus/pci/drivers/altera-cvp/chkcfg -Date: May 2017 -KernelVersion: 4.13 -Contact: Anatolij Gustschin -Description: - Contains either 1 or 0 and controls if configuration - error checking in altera-cvp driver is turned on or - off. +What: /sys/bus/pci/drivers/altera-cvp/chkcfg +Date: May 2017 +KernelVersion: 4.13 +Contact: Anatolij Gustschin +Description: + Contains either 1 or 0 and controls if configuration + error checking in altera-cvp driver is turned on or + off. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-cros-ec-keyb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-cros-ec-keyb index 02f68bd82a..c7afc23280 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-cros-ec-keyb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-cros-ec-keyb @@ -1,6 +1,6 @@ -What: /sys/class/input/input(x)/device/function_row_physmap -Date: January 2021 -Contact: Philip Chen -Description: A space separated list of scancodes for the top row keys, - ordered by the physical positions of the keys, from left - to right. +What: /sys/class/input/input(x)/device/function_row_physmap +Date: January 2021 +Contact: Philip Chen +Description: A space separated list of scancodes for the top row keys, + ordered by the physical positions of the keys, from left + to right. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ucsi-ccg b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ucsi-ccg index b3e08b8978..45cf62ad89 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ucsi-ccg +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ucsi-ccg @@ -1,6 +1,6 @@ -What: /sys/bus/i2c/drivers/ucsi_ccg/.../do_flash -Date: May 2019 -Contact: Ajay Gupta -Description: - Tell the driver for Cypress CCGx Type-C controller to attempt - firmware upgrade by writing [Yy1] to the file. +What: /sys/bus/i2c/drivers/ucsi_ccg/.../do_flash +Date: May 2019 +Contact: Ajay Gupta +Description: + Tell the driver for Cypress CCGx Type-C controller to attempt + firmware upgrade by writing [Yy1] to the file. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-initrd b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-initrd index 6e8e59edb9..20bf7cf77a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-initrd +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-initrd @@ -1,8 +1,8 @@ -What: /sys/firmware/initrd -Date: December 2023 -Contact: Alexander Graf -Description: - When the kernel was booted with an initrd and the - "retain_initrd" option is set on the kernel command - line, /sys/firmware/initrd contains the contents of the - initrd that the kernel was booted with. +What: /sys/firmware/initrd +Date: December 2023 +Contact: Alexander Graf +Description: + When the kernel was booted with an initrd and the + "retain_initrd" option is set on the kernel command + line, /sys/firmware/initrd contains the contents of the + initrd that the kernel was booted with. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-log b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-log index 2ed3d47b85..9b58e7c536 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-log +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-log @@ -1,7 +1,7 @@ -What: /sys/firmware/log -Date: February 2011 -Contact: Mike Waychison -Description: - The /sys/firmware/log is a binary file that represents a - read-only copy of the firmware's log if one is - available. +What: /sys/firmware/log +Date: February 2011 +Contact: Mike Waychison +Description: + The /sys/firmware/log is a binary file that represents a + read-only copy of the firmware's log if one is + available. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-virtiofs b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-virtiofs index 36df7b1fbf..4839dbce99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-virtiofs +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-virtiofs @@ -1,11 +1,11 @@ -What: /sys/fs/virtiofs//tag -Date: Feb 2024 -Contact: virtio-fs@lists.linux.dev -Description: - [RO] The mount "tag" that can be used to mount this filesystem. - -What: /sys/fs/virtiofs//device -Date: Feb 2024 -Contact: virtio-fs@lists.linux.dev -Description: - Symlink to the virtio device that exports this filesystem. +What: /sys/fs/virtiofs//tag +Date: Feb 2024 +Contact: virtio-fs@lists.linux.dev +Description: + [RO] The mount "tag" that can be used to mount this filesystem. + +What: /sys/fs/virtiofs//device +Date: Feb 2024 +Contact: virtio-fs@lists.linux.dev +Description: + Symlink to the virtio device that exports this filesystem. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-address_bits b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-address_bits index 0ad46f9ab8..5d09ff84d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-address_bits +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-address_bits @@ -1,10 +1,10 @@ -What: /sys/kernel/address_bit -Date: May 2023 -KernelVersion: 6.3 -Contact: Thomas Weißschuh -Description: - The address size of the running kernel in bits. - - Access: Read - -Users: util-linux +What: /sys/kernel/address_bit +Date: May 2023 +KernelVersion: 6.3 +Contact: Thomas Weißschuh +Description: + The address size of the running kernel in bits. + + Access: Read + +Users: util-linux diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-cpu_byteorder b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-cpu_byteorder index 01567c2569..f0e6ac1b53 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-cpu_byteorder +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-cpu_byteorder @@ -1,12 +1,12 @@ -What: /sys/kernel/cpu_byteorder -Date: February 2023 -KernelVersion: 6.2 -Contact: Thomas Weißschuh -Description: - The endianness of the running kernel. - - Access: Read - - Valid values: - "little", "big" -Users: util-linux +What: /sys/kernel/cpu_byteorder +Date: February 2023 +KernelVersion: 6.2 +Contact: Thomas Weißschuh +Description: + The endianness of the running kernel. + + Access: Read + + Valid values: + "little", "big" +Users: util-linux diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-fscaps b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-fscaps index f854c5cff2..bcff346651 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-fscaps +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-fscaps @@ -1,8 +1,8 @@ -What: /sys/kernel/fscaps -Date: February 2011 -KernelVersion: 2.6.38 -Contact: Ludwig Nussel -Description: - Shows whether file system capabilities are honored - when executing a binary - +What: /sys/kernel/fscaps +Date: February 2011 +KernelVersion: 2.6.38 +Contact: Ludwig Nussel +Description: + Shows whether file system capabilities are honored + when executing a binary + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm index a3a0790275..190d523ac1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm @@ -1,6 +1,6 @@ -What: /sys/kernel/mm -Date: July 2008 -Contact: Nishanth Aravamudan , VM maintainers -Description: - /sys/kernel/mm/ should contain any and all VM - related information in /sys/kernel/. +What: /sys/kernel/mm +Date: July 2008 +Contact: Nishanth Aravamudan , VM maintainers +Description: + /sys/kernel/mm/ should contain any and all VM + related information in /sys/kernel/. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy index 4f19509c54..8ac327fd7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy @@ -1,4 +1,4 @@ -What: /sys/kernel/mm/mempolicy/ -Date: January 2024 -Contact: Linux memory management mailing list -Description: Interface for Mempolicy +What: /sys/kernel/mm/mempolicy/ +Date: January 2024 +Contact: Linux memory management mailing list +Description: Interface for Mempolicy diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-oops_count b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-oops_count index c26a444b41..156cca9dbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-oops_count +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-oops_count @@ -1,6 +1,6 @@ -What: /sys/kernel/oops_count -Date: November 2022 -KernelVersion: 6.2.0 -Contact: Linux Kernel Hardening List -Description: - Shows how many times the system has Oopsed since last boot. +What: /sys/kernel/oops_count +Date: November 2022 +KernelVersion: 6.2.0 +Contact: Linux Kernel Hardening List +Description: + Shows how many times the system has Oopsed since last boot. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-warn_count b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-warn_count index 4e8978d4e5..90a0298137 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-warn_count +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-warn_count @@ -1,6 +1,6 @@ -What: /sys/kernel/warn_count -Date: November 2022 -KernelVersion: 6.2.0 -Contact: Linux Kernel Hardening List -Description: - Shows how many times the system has Warned since last boot. +What: /sys/kernel/warn_count +Date: November 2022 +KernelVersion: 6.2.0 +Contact: Linux Kernel Hardening List +Description: + Shows how many times the system has Warned since last boot. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-gisb-arb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-gisb-arb index c5c505405b..f1bad92bbe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-gisb-arb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-gisb-arb @@ -1,8 +1,8 @@ -What: /sys/devices/../../gisb_arb_timeout -Date: May 2014 -KernelVersion: 3.17 -Contact: Florian Fainelli -Description: - Returns the currently configured raw timeout value of the - Broadcom Set Top Box internal GISB bus arbiter. Minimum value - is 1, and maximum value is 0xffffffff. +What: /sys/devices/../../gisb_arb_timeout +Date: May 2014 +KernelVersion: 3.17 +Contact: Florian Fainelli +Description: + Returns the currently configured raw timeout value of the + Broadcom Set Top Box internal GISB bus arbiter. Minimum value + is 1, and maximum value is 0xffffffff. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-chipidea-usb2 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-chipidea-usb2 index bc2e682300..b9f7d924f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-chipidea-usb2 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-chipidea-usb2 @@ -1,9 +1,9 @@ -What: /sys/bus/platform/devices/ci_hdrc.0/role -Date: Mar 2017 -Contact: Peter Chen -Description: - When read, it returns string "gadget" or "host", indicating - the current controller role. - - It will do role switch when "gadget" or "host" is written to it. - Only controller at dual-role configuration supports writing. +What: /sys/bus/platform/devices/ci_hdrc.0/role +Date: Mar 2017 +Contact: Peter Chen +Description: + When read, it returns string "gadget" or "host", indicating + the current controller role. + + It will do role switch when "gadget" or "host" is written to it. + Only controller at dual-role configuration supports writing. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-wmi-ddv b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-wmi-ddv index 625803f6c2..a9d39d9e88 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-wmi-ddv +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-wmi-ddv @@ -1,9 +1,9 @@ -What: /sys/class/power_supply//eppid -Date: September 2022 -KernelVersion: 6.1 -Contact: Armin Wolf -Description: - Reports the Dell ePPID (electronic Piece Part Identification) - of the ACPI battery. - - See Documentation/wmi/devices/dell-wmi-ddv.rst for details. +What: /sys/class/power_supply//eppid +Date: September 2022 +KernelVersion: 6.1 +Contact: Armin Wolf +Description: + Reports the Dell ePPID (electronic Piece Part Identification) + of the ACPI battery. + + See Documentation/wmi/devices/dell-wmi-ddv.rst for details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-hidma b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-hidma index c2a3c3aa63..a80aeda85e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-hidma +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-hidma @@ -1,9 +1,9 @@ -What: /sys/devices/platform/hidma-*/chid - /sys/devices/platform/QCOM8061:*/chid -Date: Dec 2015 -KernelVersion: 4.4 -Contact: "Sinan Kaya " -Description: - Contains the ID of the channel within the HIDMA instance. - It is used to associate a given HIDMA channel with the - priority and weight calls in the management interface. +What: /sys/devices/platform/hidma-*/chid + /sys/devices/platform/QCOM8061:*/chid +Date: Dec 2015 +KernelVersion: 4.4 +Contact: "Sinan Kaya " +Description: + Contains the ID of the channel within the HIDMA instance. + It is used to associate a given HIDMA channel with the + priority and weight calls in the management interface. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-twl4030-usb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-twl4030-usb index b61dde0829..512c51be64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-twl4030-usb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-twl4030-usb @@ -1,8 +1,8 @@ -What: /sys/bus/platform/devices/*twl4030-usb/vbus -Description: - Read-only status reporting if VBUS (approx 5V) - is being supplied by the USB bus. - - Possible values: "on", "off". - - Changes are notified via select/poll. +What: /sys/bus/platform/devices/*twl4030-usb/vbus +Description: + Read-only status reporting if VBUS (approx 5V) + is being supplied by the USB bus. + + Possible values: "on", "off". + + Changes are notified via select/poll. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-profiling b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-profiling index a3f647f210..e39dd3a0ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-profiling +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-profiling @@ -1,13 +1,13 @@ -What: /sys/kernel/profiling -Date: September 2008 -Contact: Dave Hansen -Description: - /sys/kernel/profiling is the runtime equivalent - of the boot-time profile= option. - - You can get the same effect running:: - - echo 2 > /sys/kernel/profiling - - as you would by issuing profile=2 on the boot - command line. +What: /sys/kernel/profiling +Date: September 2008 +Contact: Dave Hansen +Description: + /sys/kernel/profiling is the runtime equivalent + of the boot-time profile= option. + + You can get the same effect running:: + + echo 2 > /sys/kernel/profiling + + as you would by issuing profile=2 on the boot + command line. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/index.rst index 72ef568266..4d2333e7ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -PCI Endpoint Framework -====================== - -.. toctree:: - :maxdepth: 2 - - pci-endpoint - pci-endpoint-cfs - pci-test-function - pci-test-howto - pci-ntb-function - pci-ntb-howto - pci-vntb-function - pci-vntb-howto - - function/binding/pci-test - function/binding/pci-ntb +.. SPDX-License-Identifier: GPL-2.0 + +====================== +PCI Endpoint Framework +====================== + +.. toctree:: + :maxdepth: 2 + + pci-endpoint + pci-endpoint-cfs + pci-test-function + pci-test-howto + pci-ntb-function + pci-ntb-howto + pci-vntb-function + pci-vntb-howto + + function/binding/pci-test + function/binding/pci-ntb diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/index.rst index b92bf735ba..e73f84aebd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -PCI Bus Subsystem -================= - -.. toctree:: - :maxdepth: 2 - :numbered: - - pci - pciebus-howto - pci-iov-howto - msi-howto - sysfs-pci - acpi-info - pci-error-recovery - pcieaer-howto - endpoint/index - boot-interrupts +.. SPDX-License-Identifier: GPL-2.0 + +================= +PCI Bus Subsystem +================= + +.. toctree:: + :maxdepth: 2 + :numbered: + + pci + pciebus-howto + pci-iov-howto + msi-howto + sysfs-pci + acpi-info + pci-error-recovery + pcieaer-howto + endpoint/index + boot-interrupts diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/index.rst index a703a389e8..e94a0160b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -Compute Accelerators -==================== - -.. toctree:: - :maxdepth: 1 - - introduction - qaic/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==================== +Compute Accelerators +==================== + +.. toctree:: + :maxdepth: 1 + + introduction + qaic/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/index.rst index fe4772dfbc..967b9dd8ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -===================================== - accel/qaic Qualcomm Cloud AI driver -===================================== - -The accel/qaic driver supports the Qualcomm Cloud AI machine learning -accelerator cards. - -.. toctree:: - - qaic - aic080 - aic100 +.. SPDX-License-Identifier: GPL-2.0-only + +===================================== + accel/qaic Qualcomm Cloud AI driver +===================================== + +The accel/qaic driver supports the Qualcomm Cloud AI machine learning +accelerator cards. + +.. toctree:: + + qaic + aic080 + aic100 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/index.rst index 9204fb0ae6..9369d8bf32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -Accounting -========== - -.. toctree:: - :maxdepth: 1 - - cgroupstats - delay-accounting - psi - taskstats - taskstats-struct +.. SPDX-License-Identifier: GPL-2.0 + +========== +Accounting +========== + +.. toctree:: + :maxdepth: 1 + + cgroupstats + delay-accounting + psi + taskstats + taskstats-struct diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/index.rst index 3a39aab1aa..f4087040a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/index.rst @@ -1,7 +1,7 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. toctree:: - :maxdepth: 2 - - main - error-decoding - address-translation +.. SPDX-License-Identifier: GPL-2.0 +.. toctree:: + :maxdepth: 2 + + main + error-decoding + address-translation diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-obsolete.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-obsolete.rst index f51bcfe9d7..594e697aa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-obsolete.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-obsolete.rst @@ -1,11 +1,11 @@ -ABI obsolete symbols -==================== - -Documents interfaces that are still remaining in the kernel, but are -marked to be removed at some later point in time. - -The description of the interface will document the reason why it is -obsolete and when it can be expected to be removed. - -.. kernel-abi:: ABI/obsolete - :rst: +ABI obsolete symbols +==================== + +Documents interfaces that are still remaining in the kernel, but are +marked to be removed at some later point in time. + +The description of the interface will document the reason why it is +obsolete and when it can be expected to be removed. + +.. kernel-abi:: ABI/obsolete + :rst: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-removed.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-removed.rst index 27741a588c..f9e000c818 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-removed.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-removed.rst @@ -1,5 +1,5 @@ -ABI removed symbols -=================== - -.. kernel-abi:: ABI/removed - :rst: +ABI removed symbols +=================== + +.. kernel-abi:: ABI/removed + :rst: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi.rst index 16b8d8d504..bcab3ef259 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi.rst @@ -1,11 +1,11 @@ -===================== -Linux ABI description -===================== - -.. toctree:: - :maxdepth: 2 - - abi-stable - abi-testing - abi-obsolete - abi-removed +===================== +Linux ABI description +===================== + +.. toctree:: + :maxdepth: 2 + + abi-stable + abi-testing + abi-obsolete + abi-removed diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/acpi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/acpi/index.rst index 3db53b73fd..b078fdb8f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/acpi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/acpi/index.rst @@ -1,14 +1,14 @@ -============ -ACPI Support -============ - -Here we document in detail how to interact with various mechanisms in -the Linux ACPI support. - -.. toctree:: - :maxdepth: 1 - - initrd_table_override - ssdt-overlays - cppc_sysfs - fan_performance_states +============ +ACPI Support +============ + +Here we document in detail how to interact with various mechanisms in +the Linux ACPI support. + +.. toctree:: + :maxdepth: 1 + + initrd_table_override + ssdt-overlays + cppc_sysfs + fan_performance_states diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/autoload.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/autoload.sh index 061145cdc9..815dff4691 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/autoload.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/autoload.sh @@ -1,17 +1,17 @@ -#!/bin/sh -# set aoe to autoload by installing the -# aliases in /etc/modprobe.d/ - -f=/etc/modprobe.d/aoe.conf - -if test ! -r $f || test ! -w $f; then - echo "cannot configure $f for module autoloading" 1>&2 - exit 1 -fi - -grep major-152 $f >/dev/null -if [ $? = 1 ]; then - echo alias block-major-152 aoe >> $f - echo alias char-major-152 aoe >> $f -fi - +#!/bin/sh +# set aoe to autoload by installing the +# aliases in /etc/modprobe.d/ + +f=/etc/modprobe.d/aoe.conf + +if test ! -r $f || test ! -w $f; then + echo "cannot configure $f for module autoloading" 1>&2 + exit 1 +fi + +grep major-152 $f >/dev/null +if [ $? = 1 ]; then + echo alias block-major-152 aoe >> $f + echo alias char-major-152 aoe >> $f +fi + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/index.rst index 589a062c45..d71c5df159 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/index.rst @@ -1,17 +1,17 @@ -======================= -ATA over Ethernet (AoE) -======================= - -.. toctree:: - :maxdepth: 1 - - aoe - todo - examples - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +======================= +ATA over Ethernet (AoE) +======================= + +.. toctree:: + :maxdepth: 1 + + aoe + todo + examples + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/auxdisplay/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/auxdisplay/index.rst index b8d232413a..e466f05952 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/auxdisplay/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/auxdisplay/index.rst @@ -1,16 +1,16 @@ -========================= -Auxiliary Display Support -========================= - -.. toctree:: - :maxdepth: 1 - - ks0108.rst - cfag12864b.rst - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +========================= +Auxiliary Display Support +========================= + +.. toctree:: + :maxdepth: 1 + + ks0108.rst + cfag12864b.rst + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/index.rst index 317d01ab69..957ccf6177 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/index.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -Block Devices -============= - -.. toctree:: - :maxdepth: 1 - - floppy - nbd - paride - ramdisk - zram - - drbd/index +.. SPDX-License-Identifier: GPL-2.0 + +============= +Block Devices +============= + +.. toctree:: + :maxdepth: 1 + + floppy + nbd + paride + ramdisk + zram + + drbd/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/misc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/misc.rst index 31263af8c0..661614c24d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/misc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/misc.rst @@ -1,4 +1,4 @@ -=============== -Misc controller -=============== -Please refer "Misc" documentation in Documentation/admin-guide/cgroup-v2.rst +=============== +Misc controller +=============== +Please refer "Misc" documentation in Documentation/admin-guide/cgroup-v2.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/changes.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/changes.rst index cb92b6ab9f..8c42c4de51 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/changes.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/changes.rst @@ -1,9 +1,9 @@ -======= -Changes -======= - -See https://wiki.samba.org/index.php/LinuxCIFSKernel for summary -information about fixes/improvements to CIFS/SMB2/SMB3 support (changes -to cifs.ko module) by kernel version (and cifs internal module version). -This may be easier to read than parsing the output of -"git log fs/smb/client" by release. +======= +Changes +======= + +See https://wiki.samba.org/index.php/LinuxCIFSKernel for summary +information about fixes/improvements to CIFS/SMB2/SMB3 support (changes +to cifs.ko module) by kernel version (and cifs internal module version). +This may be easier to read than parsing the output of +"git log fs/smb/client" by release. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/index.rst index 0821fe253f..fad5268635 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -CIFS -==== - -.. toctree:: - :maxdepth: 2 - - introduction - usage - todo - changes - authors - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==== +CIFS +==== + +.. toctree:: + :maxdepth: 2 + + introduction + usage + todo + changes + authors + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/clearing-warn-once.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/clearing-warn-once.rst index f022cec8fb..211fd926cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/clearing-warn-once.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/clearing-warn-once.rst @@ -1,9 +1,9 @@ -Clearing WARN_ONCE ------------------- - -WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once. - -echo 1 > /sys/kernel/debug/clear_warn_once - -clears the state and allows the warnings to print once again. -This can be useful after test suite runs to reproduce problems. +Clearing WARN_ONCE +------------------ + +WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once. + +echo 1 > /sys/kernel/debug/clear_warn_once + +clears the state and allows the warnings to print once again. +This can be useful after test suite runs to reproduce problems. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/index.rst index 60da6c2890..712f379731 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -GPIO -==== - -.. toctree:: - :maxdepth: 1 - - Character Device Userspace API <../../userspace-api/gpio/chardev> - gpio-aggregator - gpio-sim - gpio-virtuser - Obsolete APIs - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==== +GPIO +==== + +.. toctree:: + :maxdepth: 1 + + Character Device Userspace API <../../userspace-api/gpio/chardev> + gpio-aggregator + gpio-sim + gpio-virtuser + Obsolete APIs + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/obsolete.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/obsolete.rst index 370facce34..5adbff02d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/obsolete.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/gpio/obsolete.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================== -Obsolete GPIO APIs -================== - -.. toctree:: - :maxdepth: 1 - - Character Device Userspace API (v1) <../../userspace-api/gpio/chardev_v1> - Sysfs Interface <../../userspace-api/gpio/sysfs> - Mockup Testing Module - +.. SPDX-License-Identifier: GPL-2.0 + +================== +Obsolete GPIO APIs +================== + +.. toctree:: + :maxdepth: 1 + + Character Device Userspace API (v1) <../../userspace-api/gpio/chardev_v1> + Sysfs Interface <../../userspace-api/gpio/sysfs> + Mockup Testing Module + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/laptops/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/laptops/index.rst index ec2dedf631..cd9a1c2695 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/laptops/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/laptops/index.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -Laptop Drivers -============== - -.. toctree:: - :maxdepth: 1 - - asus-laptop - disk-shock-protection - laptop-mode - lg-laptop - sony-laptop - sonypi - thinkpad-acpi - toshiba_haps +.. SPDX-License-Identifier: GPL-2.0 + +============== +Laptop Drivers +============== + +.. toctree:: + :maxdepth: 1 + + asus-laptop + disk-shock-protection + laptop-mode + lg-laptop + sony-laptop + sonypi + thinkpad-acpi + toshiba_haps diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-drivers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-drivers.rst index 514337b9ac..66fa4edd06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-drivers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-drivers.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================================== -Digital TV driver-specific documentation -======================================== - -.. toctree:: - :maxdepth: 2 - - avermedia - bt8xx - lmedm04 - opera-firmware - technisat - ttusb-dec +.. SPDX-License-Identifier: GPL-2.0 + +======================================== +Digital TV driver-specific documentation +======================================== + +.. toctree:: + :maxdepth: 2 + + avermedia + bt8xx + lmedm04 + opera-firmware + technisat + ttusb-dec diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-a800-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-a800-cardlist.rst index 806e26d372..2ec8bb8230 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-a800-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-a800-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-a800 cards list -======================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - AVerMedia AverTV DVB-T USB 2.0 (A800) - - 07ca:a800, 07ca:a801 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-a800 cards list +======================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - AVerMedia AverTV DVB-T USB 2.0 (A800) + - 07ca:a800, 07ca:a801 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-anysee-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-anysee-cardlist.rst index ec3792e02e..1fb5d22a00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-anysee-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-anysee-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-anysee cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Anysee - - 04b4:861f, 1c73:861f +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-anysee cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Anysee + - 04b4:861f, 1c73:861f diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-au6610-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-au6610-cardlist.rst index 1e316ed3f9..02b2b74271 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-au6610-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-au6610-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-au6610 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Sigmatek DVB-110 - - 058f:6610 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-au6610 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Sigmatek DVB-110 + - 058f:6610 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cinergyT2-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cinergyT2-cardlist.rst index 2452cd801c..0ee753929e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cinergyT2-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cinergyT2-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-cinergyT2 cards list -============================ - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - TerraTec/qanu USB2.0 Highspeed DVB-T Receiver - - 0ccd:0x0038 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-cinergyT2 cards list +============================ + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - TerraTec/qanu USB2.0 Highspeed DVB-T Receiver + - 0ccd:0x0038 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-digitv-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-digitv-cardlist.rst index 1447fd6c1a..2b4d8325e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-digitv-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-digitv-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-digitv cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Nebula Electronics uDigiTV DVB-T USB2.0) - - 0547:0201 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-digitv cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Nebula Electronics uDigiTV DVB-T USB2.0) + - 0547:0201 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtv5100-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtv5100-cardlist.rst index f915503107..91d6e35e6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtv5100-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtv5100-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-dtv5100 cards list -========================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - AME DTV-5100 USB2.0 DVB-T - - 0x06be:0xa232 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-dtv5100 cards list +========================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - AME DTV-5100 USB2.0 DVB-T + - 0x06be:0xa232 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ec168-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ec168-cardlist.rst index 8e22717be7..a3660dfa5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ec168-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ec168-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-ec168 cards list -======================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - E3C EC168 reference design - - 18b4:1689, 18b4:fffa, 18b4:fffb, 18b4:1001, 18b4:1002 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-ec168 cards list +======================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - E3C EC168 reference design + - 18b4:1689, 18b4:fffa, 18b4:fffb, 18b4:1001, 18b4:1002 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-nova-t-usb2-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-nova-t-usb2-cardlist.rst index ff56824a45..e295f912a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-nova-t-usb2-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-nova-t-usb2-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-nova-t-usb2 cards list -============================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Hauppauge WinTV-NOVA-T usb2 - - 2040:9300, 2040:9301 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-nova-t-usb2 cards list +============================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Hauppauge WinTV-NOVA-T usb2 + - 2040:9300, 2040:9301 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-opera1-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-opera1-cardlist.rst index 4506bb9a96..362245f5a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-opera1-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-opera1-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-opera1 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Opera1 DVB-S USB2.0 - - 04b4:2830, 695c:3829 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-opera1 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Opera1 DVB-S USB2.0 + - 04b4:2830, 695c:3829 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-technisat-usb2-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-technisat-usb2-cardlist.rst index 26f765d88e..30ee92ada1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-technisat-usb2-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-technisat-usb2-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-technisat-usb2 cards list -================================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Technisat SkyStar USB HD (DVB-S/S2) - - 14f7:0500 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-technisat-usb2 cards list +================================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Technisat SkyStar USB HD (DVB-S/S2) + - 14f7:0500 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-umt-010-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-umt-010-cardlist.rst index 5c183c2c59..ce7ce901b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-umt-010-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-umt-010-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-umt-010 cards list -========================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Hanftek UMT-010 DVB-T USB2.0 - - 15f4:0001, 15f4:0015 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-umt-010 cards list +========================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Hanftek UMT-010 DVB-T USB2.0 + - 15f4:0001, 15f4:0015 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp702x-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp702x-cardlist.rst index 2bc1c034e3..1014424342 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp702x-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp702x-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-vp702x cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - TwinhanDTV StarBox DVB-S USB2.0 (VP7021) - - 13d3:3207 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-vp702x cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - TwinhanDTV StarBox DVB-S USB2.0 (VP7021) + - 13d3:3207 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-zd1301-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-zd1301-cardlist.rst index 0b8a8ab183..9ca4461847 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-zd1301-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-zd1301-cardlist.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-zd1301 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - ZyDAS ZD1301 reference design - - 0ace:13a1 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-zd1301 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - ZyDAS ZD1301 reference design + - 0ace:13a1 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb.rst index 984a812e46..e5258bfa5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -Digital TV -========== - -.. toctree:: - - dvb_intro - ci - faq - dvb_references +.. SPDX-License-Identifier: GPL-2.0 + +========== +Digital TV +========== + +.. toctree:: + + dvb_intro + ci + faq + dvb_references diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/index.rst index a6596b7612..384f2e0f33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/index.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -Namespaces -========== - -.. toctree:: - :maxdepth: 1 - - compatibility-list - resource-control +.. SPDX-License-Identifier: GPL-2.0 + +========== +Namespaces +========== + +.. toctree:: + :maxdepth: 1 + + compatibility-list + resource-control diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/index.rst index dd6ac34df7..3601a708f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/index.rst @@ -1,14 +1,14 @@ -============= -NFS -============= - -.. toctree:: - :maxdepth: 1 - - nfs-client - nfsroot - nfs-rdma - nfsd-admin-interfaces - nfs-idmapper - pnfs-block-server - pnfs-scsi-server +============= +NFS +============= + +.. toctree:: + :maxdepth: 1 + + nfs-client + nfsroot + nfs-rdma + nfsd-admin-interfaces + nfs-idmapper + pnfs-block-server + pnfs-scsi-server diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/index.rst index 8d9216078a..39f8f9f81e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================ -Power Management -================ - -.. toctree:: - :maxdepth: 2 - - strategies - system-wide - working-state +.. SPDX-License-Identifier: GPL-2.0 + +================ +Power Management +================ + +.. toctree:: + :maxdepth: 2 + + strategies + system-wide + working-state diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/system-wide.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/system-wide.rst index 65873b5142..1a1924d710 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/system-wide.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/system-wide.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================ -System-Wide Power Management -============================ - -.. toctree:: - :maxdepth: 2 - - sleep-states - suspend-flows +.. SPDX-License-Identifier: GPL-2.0 + +============================ +System-Wide Power Management +============================ + +.. toctree:: + :maxdepth: 2 + + sleep-states + suspend-flows diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/working-state.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/working-state.rst index a926001899..ee45887811 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/working-state.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/working-state.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -Working-State Power Management -============================== - -.. toctree:: - :maxdepth: 2 - - cpuidle - intel_idle - cpufreq - intel_pstate - amd-pstate - cpufreq_drivers - intel_epb - intel-speed-select - intel_uncore_frequency_scaling +.. SPDX-License-Identifier: GPL-2.0 + +============================== +Working-State Power Management +============================== + +.. toctree:: + :maxdepth: 2 + + cpuidle + intel_idle + cpufreq + intel_pstate + amd-pstate + cpufreq_drivers + intel_epb + intel-speed-select + intel_uncore_frequency_scaling diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/thermal/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/thermal/index.rst index 3521576f42..193b7b01a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/thermal/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/thermal/index.rst @@ -1,8 +1,8 @@ -================= -Thermal Subsystem -================= - -.. toctree:: - :maxdepth: 1 - - intel_powerclamp +================= +Thermal Subsystem +================= + +.. toctree:: + :maxdepth: 1 + + intel_powerclamp diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arc/index.rst index 8991d277c7..7b098d4a5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arc/index.rst @@ -1,17 +1,17 @@ -=================== -ARC architecture -=================== - -.. toctree:: - :maxdepth: 1 - - arc - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +=================== +ARC architecture +=================== + +.. toctree:: + :maxdepth: 1 + + arc + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/index.rst index e2ba2b5127..3c4d2f9aa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================================== -NetWinder's floating point emulator -=================================== - -.. toctree:: - :maxdepth: 1 - - nwfpe - netwinder-fpe - notes - todo +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +NetWinder's floating point emulator +=================================== + +.. toctree:: + :maxdepth: 1 + + nwfpe + netwinder-fpe + notes + todo diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/index.rst index a16b93c115..8b365b212e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -TI OMAP -======= - -.. toctree:: - :maxdepth: 1 - - omap - omap_pm - dss +.. SPDX-License-Identifier: GPL-2.0 + +======= +TI OMAP +======= + +.. toctree:: + :maxdepth: 1 + + omap + omap_pm + dss diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/index.rst index dbf4e5cde2..c9aed43280 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -Intel StrongARM 1100 -==================== - -.. toctree:: - :maxdepth: 1 - - assabet - cerf - lart - serial_uart +.. SPDX-License-Identifier: GPL-2.0 + +==================== +Intel StrongARM 1100 +==================== + +.. toctree:: + :maxdepth: 1 + + assabet + cerf + lart + serial_uart diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/samsung/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/samsung/index.rst index 6409f7110c..8142cce3d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/samsung/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/samsung/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========== -Samsung SoC -=========== - -.. toctree:: - :maxdepth: 1 - - gpio - bootloader-interface - overview +.. SPDX-License-Identifier: GPL-2.0 + +=========== +Samsung SoC +=========== + +.. toctree:: + :maxdepth: 1 + + gpio + bootloader-interface + overview diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/features.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/features.rst index 5d22d5d266..009f44c795 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/features.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/features.rst @@ -1,3 +1,3 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. kernel-feat:: features loongarch +.. SPDX-License-Identifier: GPL-2.0 + +.. kernel-feat:: features loongarch diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/index.rst index f592ba8b38..c779bfa00c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -LoongArch Architecture -====================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - introduction - booting - irq-chip-model - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +====================== +LoongArch Architecture +====================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + introduction + booting + irq-chip-model + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/m68k/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/m68k/index.rst index 2441ce41e5..0f890dbb5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/m68k/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/m68k/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -m68k Architecture -================= - -.. toctree:: - :maxdepth: 2 - - kernel-options - buddha-driver - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================= +m68k Architecture +================= + +.. toctree:: + :maxdepth: 2 + + kernel-options + buddha-driver + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/mips/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/mips/index.rst index 0c23f0bd8f..037f85a08f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/mips/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/mips/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========================== -MIPS-specific Documentation -=========================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - booting - ingenic-tcu - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +MIPS-specific Documentation +=========================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + booting + ingenic-tcu + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/index.rst index 375ea738ae..4468fe1a10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -Nios II Specific Documentation -============================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - nios2 - features +.. SPDX-License-Identifier: GPL-2.0 + +============================== +Nios II Specific Documentation +============================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + nios2 + features diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/index.rst index 5b0da18864..6879f998b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -OpenRISC Architecture -===================== - -.. toctree:: - :maxdepth: 2 - - openrisc_port - todo - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +===================== +OpenRISC Architecture +===================== + +.. toctree:: + :maxdepth: 2 + + openrisc_port + todo + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/index.rst index 92fac74781..2406857518 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -PA-RISC Architecture -==================== - -.. toctree:: - :maxdepth: 2 - - debugging - registers - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==================== +PA-RISC Architecture +==================== + +.. toctree:: + :maxdepth: 2 + + debugging + registers + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/index.rst index 60f58ce16c..eecf347ce8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/index.rst @@ -1,25 +1,25 @@ -=================== -RISC-V architecture -=================== - -.. toctree:: - :maxdepth: 1 - - acpi - boot - boot-image-header - vm-layout - hwprobe - patch-acceptance - uabi - vector - cmodx - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +=================== +RISC-V architecture +=================== + +.. toctree:: + :maxdepth: 1 + + acpi + boot + boot-image-header + vm-layout + hwprobe + patch-acceptance + uabi + vector + cmodx + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/text_files.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/text_files.rst index 70f3f09792..c94d05d4fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/text_files.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/text_files.rst @@ -1,11 +1,11 @@ -ibm 3270 changelog ------------------- - -.. include:: 3270.ChangeLog - :literal: - -ibm 3270 config3270.sh ----------------------- - -.. literalinclude:: config3270.sh - :language: shell +ibm 3270 changelog +------------------ + +.. include:: 3270.ChangeLog + :literal: + +ibm 3270 config3270.sh +---------------------- + +.. literalinclude:: config3270.sh + :language: shell diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/console.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/console.rst index d89e60de3e..73132db83e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/console.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/console.rst @@ -1,9 +1,9 @@ -Steps for sending 'break' on sunhv console -========================================== - -On Baremetal: - 1. press Esc + 'B' - -On LDOM: - 1. press Ctrl + ']' - 2. telnet> send break +Steps for sending 'break' on sunhv console +========================================== + +On Baremetal: + 1. press Esc + 'B' + +On LDOM: + 1. press Ctrl + ']' + 2. telnet> send break diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/index.rst index 3a1af173fb..ae884224ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sparc/index.rst @@ -1,13 +1,13 @@ -================== -Sparc Architecture -================== - -.. toctree:: - :maxdepth: 1 - - console - adi - - oradax/oracle-dax - - features +================== +Sparc Architecture +================== + +.. toctree:: + :maxdepth: 1 + + console + adi + + oradax/oracle-dax + + features diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/i386/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/i386/index.rst index 4f7edf6ecb..8747cf5bbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/i386/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/i386/index.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -i386 Support -============ - -.. toctree:: - :maxdepth: 2 - - IO-APIC +.. SPDX-License-Identifier: GPL-2.0 + +============ +i386 Support +============ + +.. toctree:: + :maxdepth: 2 + + IO-APIC diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/ifs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/ifs.rst index f43522ab0a..97abb696a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/ifs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/ifs.rst @@ -1,2 +1,2 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. kernel-doc:: drivers/platform/x86/intel/ifs/ifs.h +.. SPDX-License-Identifier: GPL-2.0 +.. kernel-doc:: drivers/platform/x86/intel/ifs/ifs.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/index.rst index a8d7f077ce..ad15e9bd62 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -x86_64 Support -============== - -.. toctree:: - :maxdepth: 2 - - boot-options - uefi - mm - 5level-paging - fake-numa-for-cpusets - cpu-hotplug-spec - machinecheck - fsgs - fred +.. SPDX-License-Identifier: GPL-2.0 + +============== +x86_64 Support +============== + +.. toctree:: + :maxdepth: 2 + + boot-options + uefi + mm + 5level-paging + fake-numa-for-cpusets + cpu-hotplug-spec + machinecheck + fsgs + fred diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/xtensa/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/xtensa/index.rst index 4961d7c790..69952446a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/xtensa/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/xtensa/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -Xtensa Architecture -=================== - -.. toctree:: - :maxdepth: 1 - - atomctl - booting - mmu - - features +.. SPDX-License-Identifier: GPL-2.0 + +=================== +Xtensa Architecture +=================== + +.. toctree:: + :maxdepth: 1 + + atomctl + booting + mmu + + features diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/block/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/block/index.rst index b0ca4237c9..9fea696f9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/block/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/block/index.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===== -Block -===== - -.. toctree:: - :maxdepth: 1 - - bfq-iosched - biovecs - blk-mq - cmdline-partition - data-integrity - deadline-iosched - inline-encryption - ioprio - kyber-iosched - null_blk - pr - stat - switching-sched - writeback_cache_control - ublk +.. SPDX-License-Identifier: GPL-2.0 + +===== +Block +===== + +.. toctree:: + :maxdepth: 1 + + bfq-iosched + biovecs + blk-mq + cmdline-partition + data-integrity + deadline-iosched + inline-encryption + ioprio + kyber-iosched + null_blk + pr + stat + switching-sched + writeback_cache_control + ublk diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/faq.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/faq.rst index 39003d0a77..a622602ce9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/faq.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/faq.rst @@ -1,11 +1,11 @@ -================================ -Frequently asked questions (FAQ) -================================ - -Two sets of Questions and Answers (Q&A) are maintained. - -.. toctree:: - :maxdepth: 1 - - bpf_design_QA - bpf_devel_QA +================================ +Frequently asked questions (FAQ) +================================ + +Two sets of Questions and Answers (Q&A) are maintained. + +.. toctree:: + :maxdepth: 1 + + bpf_design_QA + bpf_devel_QA diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/helpers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/helpers.rst index 678d65d570..c4ee0cc20d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/helpers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/helpers.rst @@ -1,7 +1,7 @@ -Helper functions -================ - -* `bpf-helpers(7)`_ maintains a list of helpers available to eBPF programs. - -.. Links +Helper functions +================ + +* `bpf-helpers(7)`_ maintains a list of helpers available to eBPF programs. + +.. Links .. _bpf-helpers(7): https://man7.org/linux/man-pages/man7/bpf-helpers.7.html \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/other.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/other.rst index 3b0af156c9..7e6b120188 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/other.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/other.rst @@ -1,10 +1,10 @@ -===== -Other -===== - -.. toctree:: - :maxdepth: 1 - - ringbuf - llvm_reloc - graph_ds_impl +===== +Other +===== + +.. toctree:: + :maxdepth: 1 + + ringbuf + llvm_reloc + graph_ds_impl diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/programs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/programs.rst index 4f18d060be..c99000ab6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/programs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/programs.rst @@ -1,12 +1,12 @@ -============= -Program Types -============= - -.. toctree:: - :maxdepth: 1 - :glob: - - prog_* - -For a list of all program types, see :ref:`program_types_and_elf` in -the :ref:`libbpf` documentation. +============= +Program Types +============= + +.. toctree:: + :maxdepth: 1 + :glob: + + prog_* + +For a list of all program types, see :ref:`program_types_and_elf` in +the :ref:`libbpf` documentation. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/syscall_api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/syscall_api.rst index 0ef8401354..f0a1dff087 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/syscall_api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/syscall_api.rst @@ -1,11 +1,11 @@ -=========== -Syscall API -=========== - -The primary info for the bpf syscall is available in the `man-pages`_ -for `bpf(2)`_. For more information about the userspace API, see -Documentation/userspace-api/ebpf/index.rst. - -.. Links: -.. _man-pages: https://www.kernel.org/doc/man-pages/ +=========== +Syscall API +=========== + +The primary info for the bpf syscall is available in the `man-pages`_ +for `bpf(2)`_. For more information about the userspace API, see +Documentation/userspace-api/ebpf/index.rst. + +.. Links: +.. _man-pages: https://www.kernel.org/doc/man-pages/ .. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/test_debug.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/test_debug.rst index cfc55e2344..ebf0caceb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/test_debug.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/test_debug.rst @@ -1,9 +1,9 @@ -========================= -Testing and debugging BPF -========================= - -.. toctree:: - :maxdepth: 1 - - drgn - s390 +========================= +Testing and debugging BPF +========================= + +.. toctree:: + :maxdepth: 1 + + drgn + s390 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/cdrom/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/cdrom/index.rst index 7f976ea15c..e9b022d709 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/cdrom/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/cdrom/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====== -CD-ROM -====== - -.. toctree:: - :maxdepth: 1 - - cdrom-standard - packet-writing - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +====== +CD-ROM +====== + +.. toctree:: + :maxdepth: 1 + + cdrom-standard + packet-writing + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/cleanup.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/cleanup.rst index 761aebbfe7..527eb2f8ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/cleanup.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/cleanup.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========================== -Scope-based Cleanup Helpers -=========================== - -.. kernel-doc:: include/linux/cleanup.h - :doc: scope-based cleanup helpers +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +Scope-based Cleanup Helpers +=========================== + +.. kernel-doc:: include/linux/cleanup.h + :doc: scope-based cleanup helpers diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/generic-radix-tree.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/generic-radix-tree.rst index 0eae5c07c5..ed42839ae4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/generic-radix-tree.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/generic-radix-tree.rst @@ -1,12 +1,12 @@ -================================= -Generic radix trees/sparse arrays -================================= - -.. kernel-doc:: include/linux/generic-radix-tree.h - :doc: Generic radix trees/sparse arrays - -generic radix tree functions ----------------------------- - -.. kernel-doc:: include/linux/generic-radix-tree.h - :functions: +================================= +Generic radix trees/sparse arrays +================================= + +.. kernel-doc:: include/linux/generic-radix-tree.h + :doc: Generic radix trees/sparse arrays + +generic radix tree functions +---------------------------- + +.. kernel-doc:: include/linux/generic-radix-tree.h + :functions: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/irq/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/irq/index.rst index 6a34624a1e..0d65d11e54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/irq/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/irq/index.rst @@ -1,11 +1,11 @@ -==== -IRQs -==== - -.. toctree:: - :maxdepth: 1 - - concepts - irq-affinity - irq-domain - irqflags-tracing +==== +IRQs +==== + +.. toctree:: + :maxdepth: 1 + + concepts + irq-affinity + irq-domain + irqflags-tracing diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_bitops.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_bitops.rst index c0321cd368..bf24e4081a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_bitops.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_bitops.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - This is a simple wrapper to bring atomic_bitops.txt into the RST world - until such a time as that file can be converted directly. - -============= -Atomic bitops -============= - -.. raw:: latex - - \footnotesize - -.. include:: ../../atomic_bitops.txt - :literal: - -.. raw:: latex - - \normalsize +.. SPDX-License-Identifier: GPL-2.0 + This is a simple wrapper to bring atomic_bitops.txt into the RST world + until such a time as that file can be converted directly. + +============= +Atomic bitops +============= + +.. raw:: latex + + \footnotesize + +.. include:: ../../atomic_bitops.txt + :literal: + +.. raw:: latex + + \normalsize diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_t.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_t.rst index c2ba94107a..ed109a964c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_t.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/atomic_t.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - This is a simple wrapper to bring atomic_t.txt into the RST world - until such a time as that file can be converted directly. - -============ -Atomic types -============ - -.. raw:: latex - - \footnotesize - -.. include:: ../../atomic_t.txt - :literal: - -.. raw:: latex - - \normalsize - +.. SPDX-License-Identifier: GPL-2.0 + This is a simple wrapper to bring atomic_t.txt into the RST world + until such a time as that file can be converted directly. + +============ +Atomic types +============ + +.. raw:: latex + + \footnotesize + +.. include:: ../../atomic_t.txt + :literal: + +.. raw:: latex + + \normalsize + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api.rst index b6fbd1d026..ff31c30561 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api.rst @@ -1,13 +1,13 @@ -Programming Interface -===================== - -.. toctree:: - :caption: Table of contents - :maxdepth: 2 - - api-skcipher - api-aead - api-digest - api-rng - api-akcipher - api-kpp +Programming Interface +===================== + +.. toctree:: + :caption: Table of contents + :maxdepth: 2 + + api-skcipher + api-aead + api-digest + api-rng + api-akcipher + api-kpp diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/index.rst index e6b781a1dc..c81d311ac6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/index.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Hardware Device Driver Specific Documentation ---------------------------------------------- - -.. toctree:: - :maxdepth: 1 - - octeontx2 +.. SPDX-License-Identifier: GPL-2.0 + +Hardware Device Driver Specific Documentation +--------------------------------------------- + +.. toctree:: + :maxdepth: 1 + + octeontx2 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/clk.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/clk.rst index 1fe681486c..eeaa500894 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/clk.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/clk.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======== -Clk API -======== - -The KUnit clk API is used to test clk providers and clk consumers. - -.. kernel-doc:: drivers/clk/clk_kunit_helpers.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +======== +Clk API +======== + +The KUnit clk API is used to test clk providers and clk consumers. + +.. kernel-doc:: drivers/clk/clk_kunit_helpers.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/of.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/of.rst index bca9a7eb27..cb4193dcdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/of.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/of.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -Device Tree (OF) API -==================== - -The KUnit device tree API is used to test device tree (of_*) dependent code. - -.. kernel-doc:: include/kunit/of.h - :internal: - -.. kernel-doc:: drivers/of/of_kunit_helpers.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +==================== +Device Tree (OF) API +==================== + +The KUnit device tree API is used to test device tree (of_*) dependent code. + +.. kernel-doc:: include/kunit/of.h + :internal: + +.. kernel-doc:: drivers/of/of_kunit_helpers.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/platformdevice.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/platformdevice.rst index c51a76482f..49ddd57290 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/platformdevice.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/platformdevice.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -Platform Device API -=================== - -The KUnit platform device API is used to test platform devices. - -.. kernel-doc:: lib/kunit/platform.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +=================== +Platform Device API +=================== + +The KUnit platform device API is used to test platform devices. + +.. kernel-doc:: lib/kunit/platform.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/test.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/test.rst index d9201ac056..c5eca423e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/test.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/test.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======== -Test API -======== - -This file documents all of the standard testing API. - -.. kernel-doc:: include/kunit/test.h - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +======== +Test API +======== + +This file documents all of the standard testing API. + +.. kernel-doc:: include/kunit/test.h + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/.gitignore b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/.gitignore index 9688d414f9..51ddb26d93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/.gitignore @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -*.example.dts -/processed-schema*.yaml -/processed-schema*.json - -# -# We don't want to ignore the following even if they are dot-files -# -!.yamllint +# SPDX-License-Identifier: GPL-2.0-only +*.example.dts +/processed-schema*.yaml +/processed-schema*.json + +# +# We don't want to ignore the following even if they are dot-files +# +!.yamllint diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs101.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs101.txt index faf1d04fc6..48290d5178 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs101.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs101.txt @@ -1,7 +1,7 @@ -Synopsys DesignWare ARC Software Development Platforms Device Tree Bindings ---------------------------------------------------------------------------- - -SDP Main Board with an AXC001 CPU Card hoisting ARC700 core in silicon - -Required root node properties: - - compatible = "snps,axs101", "snps,arc-sdp"; +Synopsys DesignWare ARC Software Development Platforms Device Tree Bindings +--------------------------------------------------------------------------- + +SDP Main Board with an AXC001 CPU Card hoisting ARC700 core in silicon + +Required root node properties: + - compatible = "snps,axs101", "snps,arc-sdp"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs103.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs103.txt index 14195c29a5..6eea862e72 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs103.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/axs103.txt @@ -1,8 +1,8 @@ -Synopsys DesignWare ARC Software Development Platforms Device Tree Bindings ---------------------------------------------------------------------------- - -SDP Main Board with an AXC003 FPGA Card which can contain various flavours of -HS38x cores. - -Required root node properties: - - compatible = "snps,axs103", "snps,arc-sdp"; +Synopsys DesignWare ARC Software Development Platforms Device Tree Bindings +--------------------------------------------------------------------------- + +SDP Main Board with an AXC003 FPGA Card which can contain various flavours of +HS38x cores. + +Required root node properties: + - compatible = "snps,axs103", "snps,arc-sdp"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/eznps.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/eznps.txt index e089b55cf8..1aa50c6406 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/eznps.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/eznps.txt @@ -1,7 +1,7 @@ -EZchip NPS Network Processor Platforms Device Tree Bindings ---------------------------------------------------------------------------- - -Appliance main board with NPS400 ASIC. - -Required root node properties: - - compatible = "ezchip,arc-nps"; +EZchip NPS Network Processor Platforms Device Tree Bindings +--------------------------------------------------------------------------- + +Appliance main board with NPS400 ASIC. + +Required root node properties: + - compatible = "ezchip,arc-nps"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/hsdk.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/hsdk.txt index cdd62b6501..be50654bbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/hsdk.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/hsdk.txt @@ -1,7 +1,7 @@ -Synopsys DesignWare ARC HS Development Kit Device Tree Bindings ---------------------------------------------------------------------------- - -ARC HSDK Board with quad-core ARC HS38x4 in silicon. - -Required root node properties: - - compatible = "snps,hsdk"; +Synopsys DesignWare ARC HS Development Kit Device Tree Bindings +--------------------------------------------------------------------------- + +ARC HSDK Board with quad-core ARC HS38x4 in silicon. + +Required root node properties: + - compatible = "snps,hsdk"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axis.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axis.txt index e41ee09244..ebd33a8877 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axis.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axis.txt @@ -1,13 +1,13 @@ -Axis Communications AB -ARTPEC series SoC Device Tree Bindings - -ARTPEC-6 ARM SoC -================ - -Required root node properties: -- compatible = "axis,artpec6"; - -ARTPEC-6 Development board: ---------------------------- -Required root node properties: -- compatible = "axis,artpec6-dev-board", "axis,artpec6"; +Axis Communications AB +ARTPEC series SoC Device Tree Bindings + +ARTPEC-6 ARM SoC +================ + +Required root node properties: +- compatible = "axis,artpec6"; + +ARTPEC-6 Development board: +--------------------------- +Required root node properties: +- compatible = "axis,artpec6-dev-board", "axis,artpec6"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder.txt index c5b5b56dd3..6f63a58669 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder.txt @@ -1,10 +1,10 @@ -Cavium Thunder platform device tree bindings --------------------------------------------- - -Boards with Cavium's Thunder SoC shall have following properties. - -Root Node ---------- -Required root node properties: - - - compatible = "cavium,thunder-88xx"; +Cavium Thunder platform device tree bindings +-------------------------------------------- + +Boards with Cavium's Thunder SoC shall have following properties. + +Root Node +--------- +Required root node properties: + + - compatible = "cavium,thunder-88xx"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder2.txt index 00ebf71a42..dc5dd65cbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cavium-thunder2.txt @@ -1,8 +1,8 @@ -Cavium ThunderX2 CN99XX platform tree bindings ----------------------------------------------- - -Boards with Cavium ThunderX2 CN99XX SoC shall have the root property: - compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc"; - -These SoC uses the "cavium,thunder2" core which will be compatible -with "brcm,vulcan". +Cavium ThunderX2 CN99XX platform tree bindings +---------------------------------------------- + +Boards with Cavium ThunderX2 CN99XX SoC shall have the root property: + compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc"; + +These SoC uses the "cavium,thunder2" core which will be compatible +with "brcm,vulcan". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/m4if.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/m4if.txt index 4bbb194b9e..93bd7b867a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/m4if.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/m4if.txt @@ -1,12 +1,12 @@ -* Freescale Multi Master Multi Memory Interface (M4IF) module - -Required properties: -- compatible : Should be "fsl,imx51-m4if" -- reg : Address and length of the register set for the device - -Example: - -m4if: m4if@83fd8000 { - compatible = "fsl,imx51-m4if"; - reg = <0x83fd8000 0x1000>; -}; +* Freescale Multi Master Multi Memory Interface (M4IF) module + +Required properties: +- compatible : Should be "fsl,imx51-m4if" +- reg : Address and length of the register set for the device + +Example: + +m4if: m4if@83fd8000 { + compatible = "fsl,imx51-m4if"; + reg = <0x83fd8000 0x1000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/tigerp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/tigerp.txt index a6cd584463..19e2aad63d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/tigerp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/freescale/tigerp.txt @@ -1,12 +1,12 @@ -* Freescale Tigerp platform module - -Required properties: -- compatible : Should be "fsl,imx51-tigerp" -- reg : Address and length of the register set for the device - -Example: - -tigerp: tigerp@83fa0000 { - compatible = "fsl,imx51-tigerp"; - reg = <0x83fa0000 0x28>; -}; +* Freescale Tigerp platform module + +Required properties: +- compatible : Should be "fsl,imx51-tigerp" +- reg : Address and length of the register set for the device + +Example: + +tigerp: tigerp@83fa0000 { + compatible = "fsl,imx51-tigerp"; + reg = <0x83fa0000 0x28>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt index 489b9d7702..26eb9d3aa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt @@ -1,16 +1,16 @@ -Resume Control --------------- -Available on Marvell SOCs: 98DX3336 and 98DX4251 - -Required properties: - -- compatible: must be "marvell,98dx3336-resume-ctrl" - -- reg: Should contain resume control registers location and length - -Example: - -resume@20980 { - compatible = "marvell,98dx3336-resume-ctrl"; - reg = <0x20980 0x10>; -}; +Resume Control +-------------- +Available on Marvell SOCs: 98DX3336 and 98DX4251 + +Required properties: + +- compatible: must be "marvell,98dx3336-resume-ctrl" + +- reg: Should contain resume control registers location and length + +Example: + +resume@20980 { + compatible = "marvell,98dx3336-resume-ctrl"; + reg = <0x20980 0x10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-375.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-375.txt index e9ee5005f5..867d0b80cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-375.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-375.txt @@ -1,9 +1,9 @@ -Marvell Armada 375 Platforms Device Tree Bindings -------------------------------------------------- - -Boards with a SoC of the Marvell Armada 375 family shall have the -following property: - -Required root node property: - -compatible: must contain "marvell,armada375" +Marvell Armada 375 Platforms Device Tree Bindings +------------------------------------------------- + +Boards with a SoC of the Marvell Armada 375 family shall have the +following property: + +Required root node property: + +compatible: must contain "marvell,armada375" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt index d90e273bbf..e10e8525ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt @@ -1,7 +1,7 @@ -Marvell Dove Platforms Device Tree Bindings ------------------------------------------------ - -Boards with a Marvell Dove SoC shall have the following properties: - -Required root node property: -- compatible: must contain "marvell,dove"; +Marvell Dove Platforms Device Tree Bindings +----------------------------------------------- + +Boards with a Marvell Dove SoC shall have the following properties: + +Required root node property: +- compatible: must contain "marvell,dove"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dsp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dsp.txt index 52275d785d..d3830a32ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dsp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dsp.txt @@ -1,14 +1,14 @@ -* TI - DSP (Digital Signal Processor) - -TI DSP included in OMAP SoC - -Required properties: -- compatible : Should be "ti,omap3-c64" for OMAP3 & 4 -- ti,hwmods: "dsp" - -Examples: - -dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; -}; +* TI - DSP (Digital Signal Processor) + +TI DSP included in OMAP SoC + +Required properties: +- compatible : Should be "ti,omap3-c64" for OMAP3 & 4 +- ti,hwmods: "dsp" + +Examples: + +dsp { + compatible = "ti,omap3-c64"; + ti,hwmods = "dsp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500/via,vt8500-pmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500/via,vt8500-pmc.txt index a4aa08f5e9..521b9c7de9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500/via,vt8500-pmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500/via,vt8500-pmc.txt @@ -1,13 +1,13 @@ -VIA/Wondermedia VT8500 Power Management Controller ------------------------------------------------------ - -Required properties: -- compatible : "via,vt8500-pmc" -- reg : Should contain 1 register ranges(address and length) - -Example: - - pmc@d8130000 { - compatible = "via,vt8500-pmc"; - reg = <0xd8130000 0x1000>; - }; +VIA/Wondermedia VT8500 Power Management Controller +----------------------------------------------------- + +Required properties: +- compatible : "via,vt8500-pmc" +- reg : Should contain 1 register ranges(address and length) + +Example: + + pmc@d8130000 { + compatible = "via,vt8500-pmc"; + reg = <0xd8130000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clock-bindings.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clock-bindings.txt index 5e3217e83c..6fe5413688 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clock-bindings.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clock-bindings.txt @@ -1,2 +1,2 @@ -This file has moved to the clock binding schema: -https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/clock/clock.yaml +This file has moved to the clock binding schema: +https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/clock/clock.yaml diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,prizm-ge-rops.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,prizm-ge-rops.txt index 89bf0997f3..a850fa011f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,prizm-ge-rops.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,prizm-ge-rops.txt @@ -1,13 +1,13 @@ -VIA/Wondermedia Graphics Engine Controller ------------------------------------------------------ - -Required properties: -- compatible : "wm,prizm-ge-rops" -- reg : Should contain 1 register ranges(address and length) - -Example: - - ge_rops@d8050400 { - compatible = "wm,prizm-ge-rops"; - reg = <0xd8050400 0x100>; - }; +VIA/Wondermedia Graphics Engine Controller +----------------------------------------------------- + +Required properties: +- compatible : "wm,prizm-ge-rops" +- reg : Should contain 1 register ranges(address and length) + +Example: + + ge_rops@d8050400 { + compatible = "wm,prizm-ge-rops"; + reg = <0xd8050400 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-pr-ip.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-pr-ip.txt index bf1340c96c..52a294cf27 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-pr-ip.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-pr-ip.txt @@ -1,12 +1,12 @@ -Altera Arria10 Partial Reconfiguration IP - -Required properties: -- compatible : should contain "altr,a10-pr-ip" -- reg : base address and size for memory mapped io. - -Example: - - fpga_mgr: fpga-mgr@ff20c000 { - compatible = "altr,a10-pr-ip"; - reg = <0xff20c000 0x10>; - }; +Altera Arria10 Partial Reconfiguration IP + +Required properties: +- compatible : should contain "altr,a10-pr-ip" +- reg : base address and size for memory mapped io. + +Example: + + fpga_mgr: fpga-mgr@ff20c000 { + compatible = "altr,a10-pr-ip"; + reg = <0xff20c000 0x10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-exar.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-exar.txt index 0ce22eae62..4540d61824 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-exar.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-exar.txt @@ -1,5 +1,5 @@ -Exportable MPIO interface of Exar UART chips - -Required properties of the device: - - exar,first-pin: first exportable pins (0..15) - - ngpios: number of exportable pins (1..16) +Exportable MPIO interface of Exar UART chips + +Required properties of the device: + - exar,first-pin: first exportable pins (0..15) + - ngpios: number of exportable pins (1..16) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt index b1b5fb8e11..473b34c876 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt @@ -1,10 +1,10 @@ -Lantiq cpu temperature sensor - -Requires node properties: -- compatible value : - "lantiq,cputemp" - -Example: - cputemp@0 { - compatible = "lantiq,cputemp"; - }; +Lantiq cpu temperature sensor + +Requires node properties: +- compatible value : + "lantiq,cputemp" + +Example: + cputemp@0 { + compatible = "lantiq,cputemp"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/index.rst index 197f549977..cc1fbdc056 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/index.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. toctree:: - :maxdepth: 1 - - ABI - dts-coding-style - writing-bindings - writing-schema - submitting-patches +.. SPDX-License-Identifier: GPL-2.0 + +.. toctree:: + :maxdepth: 1 + + ABI + dts-coding-style + writing-bindings + writing-schema + submitting-patches diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt index e06ccfb40f..2551850091 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt @@ -1,10 +1,10 @@ -This binding is based on the matrix-keymap binding with the following -changes: - -keypad,num-rows and keypad,num-columns are required. - -Required properties: -- compatible: "ti,tca8418" -- reg: the I2C address -- interrupts: IRQ line number, should trigger on falling edge -- linux,keymap: Keys definitions, see keypad-matrix. +This binding is based on the matrix-keymap binding with the following +changes: + +keypad,num-rows and keypad,num-columns are required. + +Required properties: +- compatible: "ti,tca8418" +- reg: the I2C address +- interrupts: IRQ line number, should trigger on falling edge +- linux,keymap: Keys definitions, see keypad-matrix. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/jailhouse.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/jailhouse.txt index 6037a26197..2901c25ff3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/jailhouse.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/jailhouse.txt @@ -1,8 +1,8 @@ -Jailhouse non-root cell device tree bindings --------------------------------------------- - -When running in a non-root Jailhouse cell (partition), the device tree of this -platform shall have a top-level "hypervisor" node with the following -properties: - -- compatible = "jailhouse,cell" +Jailhouse non-root cell device tree bindings +-------------------------------------------- + +When running in a non-root Jailhouse cell (partition), the device tree of this +platform shall have a top-level "hypervisor" node with the following +properties: + +- compatible = "jailhouse,cell" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/88pm860x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/88pm860x.txt index 990091c2d3..261df27993 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/88pm860x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/88pm860x.txt @@ -1,15 +1,15 @@ -88pm860x-backlight bindings - -Optional properties: - - marvell,88pm860x-iset: Current supplies on backlight device. - - marvell,88pm860x-pwm: PWM frequency on backlight device. - -Example: - - backlights { - backlight-0 { - marvell,88pm860x-iset = <4>; - marvell,88pm860x-pwm = <3>; - }; - backlight-2 { - }; +88pm860x-backlight bindings + +Optional properties: + - marvell,88pm860x-iset: Current supplies on backlight device. + - marvell,88pm860x-pwm: PWM frequency on backlight device. + +Example: + + backlights { + backlight-0 { + marvell,88pm860x-iset = <4>; + marvell,88pm860x-pwm = <3>; + }; + backlight-2 { + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ths8200.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ths8200.txt index d35e0db794..285f6ae7df 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ths8200.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ths8200.txt @@ -1,19 +1,19 @@ -* Texas Instruments THS8200 video encoder - -The ths8200 device is a digital to analog converter used in DVD players, video -recorders, set-top boxes. - -Required Properties : -- compatible : value must be "ti,ths8200" - -Example: - - i2c0@1c22000 { - ... - ... - ths8200@5c { - compatible = "ti,ths8200"; - reg = <0x5c>; - }; - ... - }; +* Texas Instruments THS8200 video encoder + +The ths8200 device is a digital to analog converter used in DVD players, video +recorders, set-top boxes. + +Required Properties : +- compatible : value must be "ti,ths8200" + +Example: + + i2c0@1c22000 { + ... + ... + ths8200@5c { + compatible = "ti,ths8200"; + reg = <0x5c>; + }; + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/video-interfaces.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/video-interfaces.txt index 46be180eb6..8fcf5f52bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/video-interfaces.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/video-interfaces.txt @@ -1 +1 @@ -This file has moved to video-interfaces.yaml and video-interface-devices.yaml. +This file has moved to video-interfaces.yaml and video-interface-devices.yaml. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ni.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ni.txt index b7f0a72af0..722bf2d62d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ni.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ni.txt @@ -1,7 +1,7 @@ -National Instruments MIPS platforms - -required root node properties: - - compatible: must be "ni,169445" - -CPU Nodes - - compatible: must be "mti,mips14KEc" +National Instruments MIPS platforms + +required root node properties: + - compatible: must be "ni,169445" + +CPU Nodes + - compatible: must be "mti,mips14KEc" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.txt index c01be93002..dab208b5c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.txt @@ -1,4 +1,4 @@ -Distributed Switch Architecture Device Tree Bindings ----------------------------------------------------- - -See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documentation. +Distributed Switch Architecture Device Tree Bindings +---------------------------------------------------- + +See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documentation. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/restart-poweroff.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/restart-poweroff.txt index b0354fc71b..5776e684af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/restart-poweroff.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/restart-poweroff.txt @@ -1,8 +1,8 @@ -* Restart Power Off - -Buffalo Linkstation LS-XHL and LS-CHLv2, and other devices power off -by restarting and letting u-boot keep hold of the machine until the -user presses a button. - -Required Properties: -- compatible: Should be "restart-poweroff" +* Restart Power Off + +Buffalo Linkstation LS-XHL and LS-CHLv2, and other devices power off +by restarting and letting u-boot keep hold of the machine until the +user presses a button. + +Required Properties: +- compatible: Should be "restart-poweroff" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/st-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/st-reset.txt index 1b013a0387..b63948737d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/st-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/st-reset.txt @@ -1,11 +1,11 @@ -*Device-Tree bindings for ST SW reset functionality - -Required properties: -- compatible: should be "stih407-restart". -- st,syscfg: should be a phandle of the syscfg node. - -Example node: - restart { - compatible = "st,stih407-restart"; - st,syscfg = <&syscfg_sbc_reg>; - }; +*Device-Tree bindings for ST SW reset functionality + +Required properties: +- compatible: should be "stih407-restart". +- st,syscfg: should be a phandle of the syscfg node. + +Example node: + restart { + compatible = "st,stih407-restart"; + st,syscfg = <&syscfg_sbc_reg>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt index 3ef34eaa4d..74b5bc5dd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt @@ -1,17 +1,17 @@ -LPC32XX PWM controller - -Required properties: -- compatible: should be "nxp,lpc3220-pwm" -- reg: physical base address and length of the controller's registers - -Examples: - -pwm@4005c000 { - compatible = "nxp,lpc3220-pwm"; - reg = <0x4005c000 0x4>; -}; - -pwm@4005c004 { - compatible = "nxp,lpc3220-pwm"; - reg = <0x4005c004 0x4>; -}; +LPC32XX PWM controller + +Required properties: +- compatible: should be "nxp,lpc3220-pwm" +- reg: physical base address and length of the controller's registers + +Examples: + +pwm@4005c000 { + compatible = "nxp,lpc3220-pwm"; + reg = <0x4005c000 0x4>; +}; + +pwm@4005c004 { + compatible = "nxp,lpc3220-pwm"; + reg = <0x4005c004 0x4>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt index 109845e43a..8ce72996d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt @@ -1 +1 @@ -This file has been moved to reserved-memory.yaml in the dtschema repository. +This file has been moved to reserved-memory.yaml in the dtschema repository. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32-rcc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32-rcc.txt index 9ebdb39da3..01db343751 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32-rcc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32-rcc.txt @@ -1,6 +1,6 @@ -STMicroelectronics STM32 Peripheral Reset Controller -==================================================== - -The RCC IP is both a reset and a clock controller. - -Please see Documentation/devicetree/bindings/clock/st,stm32-rcc.txt +STMicroelectronics STM32 Peripheral Reset Controller +==================================================== + +The RCC IP is both a reset and a clock controller. + +Please see Documentation/devicetree/bindings/clock/st,stm32-rcc.txt diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32mp1-rcc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32mp1-rcc.txt index 7833f0ebbd..2880d5dda9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32mp1-rcc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stm32mp1-rcc.txt @@ -1,6 +1,6 @@ -STMicroelectronics STM32MP1 Peripheral Reset Controller -======================================================= - -The RCC IP is both a reset and a clock controller. - -Please see Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml +STMicroelectronics STM32MP1 Peripheral Reset Controller +======================================================= + +The RCC IP is both a reset and a clock controller. + +Please see Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/hisi-rng.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/hisi-rng.txt index 01de9de635..d04d55a6c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/hisi-rng.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/hisi-rng.txt @@ -1,12 +1,12 @@ -Hisilicon Random Number Generator - -Required properties: -- compatible : Should be "hisilicon,hip04-rng" or "hisilicon,hip05-rng" -- reg : Offset and length of the register set of this block - -Example: - -rng@d1010000 { - compatible = "hisilicon,hip05-rng"; - reg = <0xd1010000 0x100>; -}; +Hisilicon Random Number Generator + +Required properties: +- compatible : Should be "hisilicon,hip04-rng" or "hisilicon,hip05-rng" +- reg : Offset and length of the register set of this block + +Example: + +rng@d1010000 { + compatible = "hisilicon,hip05-rng"; + reg = <0xd1010000 0x100>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt index 640049c37c..a2891ceb63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt @@ -1,5 +1,5 @@ -OLPC XO-1 RTC -~~~~~~~~~~~~~ - -Required properties: - - compatible : "olpc,xo1-rtc" +OLPC XO-1 RTC +~~~~~~~~~~~~~ + +Required properties: + - compatible : "olpc,xo1-rtc" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_jtaguart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_jtaguart.txt index 1b53007773..55a901051e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_jtaguart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_jtaguart.txt @@ -1,5 +1,5 @@ -Altera JTAG UART - -Required properties: -- compatible : should be "ALTR,juart-1.0" -- compatible : should be "altr,juart-1.0" +Altera JTAG UART + +Required properties: +- compatible : should be "ALTR,juart-1.0" +- compatible : should be "altr,juart-1.0" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_uart.txt index b42b26cca3..81bf7ffb1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/altera_uart.txt @@ -1,8 +1,8 @@ -Altera UART - -Required properties: -- compatible : should be "ALTR,uart-1.0" -- compatible : should be "altr,uart-1.0" - -Optional properties: -- clock-frequency : frequency of the clock input to the UART +Altera UART + +Required properties: +- compatible : should be "ALTR,uart-1.0" +- compatible : should be "altr,uart-1.0" + +Optional properties: +- clock-frequency : frequency of the clock input to the UART diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nxp-lpc32xx-hsuart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nxp-lpc32xx-hsuart.txt index 9ec6bd9926..0d439dfc1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nxp-lpc32xx-hsuart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nxp-lpc32xx-hsuart.txt @@ -1,14 +1,14 @@ -* NXP LPC32xx SoC High Speed UART - -Required properties: -- compatible: Should be "nxp,lpc3220-hsuart" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt - -Example: - - uart1: serial@40014000 { - compatible = "nxp,lpc3220-hsuart"; - reg = <0x40014000 0x1000>; - interrupts = <26 0>; - }; +* NXP LPC32xx SoC High Speed UART + +Required properties: +- compatible: Should be "nxp,lpc3220-hsuart" +- reg: Should contain registers location and length +- interrupts: Should contain interrupt + +Example: + + uart1: serial@40014000 { + compatible = "nxp,lpc3220-hsuart"; + reg = <0x40014000 0x1000>; + interrupts = <26 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/altera_ps2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/altera_ps2.txt index 096b334f01..520199e2e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/altera_ps2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/altera_ps2.txt @@ -1,5 +1,5 @@ -Altera UP PS/2 controller - -Required properties: -- compatible : should be "ALTR,ps2-1.0". -- compatible : should be "altr,ps2-1.0". +Altera UP PS/2 controller + +Required properties: +- compatible : should be "ALTR,ps2-1.0". +- compatible : should be "altr,ps2-1.0". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/olpc,ap-sp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/olpc,ap-sp.txt index 9bd1fc9404..0e72183f52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/olpc,ap-sp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/olpc,ap-sp.txt @@ -1,13 +1,13 @@ -OLPC AP-SP serio interface - -Required properties: -- compatible : "olpc,ap-sp" -- reg : base address and length of SoC's WTM registers -- interrupts : SP-AP interrupt - -Example: - ap-sp@d4290000 { - compatible = "olpc,ap-sp"; - reg = <0xd4290000 0x1000>; - interrupts = <40>; - } +OLPC AP-SP serio interface + +Required properties: +- compatible : "olpc,ap-sp" +- reg : base address and length of SoC's WTM registers +- interrupts : SP-AP interrupt + +Example: + ap-sp@d4290000 { + compatible = "olpc,ap-sp"; + reg = <0xd4290000 0x1000>; + interrupts = <40>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/usb.txt index 8828775f43..74bfda4bb8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/usb.txt @@ -1,15 +1,15 @@ -* USB (Universal Serial Bus Controller) - -Properties: -- compatible : "fsl,cpm1-usb", "fsl,cpm2-usb", "fsl,qe-usb" - -Example: - usb@11bc0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,cpm2-usb"; - reg = <11b60 18 8b00 100>; - interrupts = ; - interrupt-parent = <&PIC>; - fsl,cpm-command = <2e600000>; - }; +* USB (Universal Serial Bus Controller) + +Properties: +- compatible : "fsl,cpm1-usb", "fsl,cpm2-usb", "fsl,qe-usb" + +Example: + usb@11bc0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,cpm2-usb"; + reg = <11b60 18 8b00 100>; + interrupts = ; + interrupt-parent = <&PIC>; + fsl,cpm-command = <2e600000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4349.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4349.txt index e450fe7b8c..54c117b59d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4349.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4349.txt @@ -1,19 +1,19 @@ -CS4349 audio CODEC - -Required properties: - - - compatible : "cirrus,cs4349" - - - reg : the I2C address of the device for I2C - -Optional properties: - - - reset-gpios : a GPIO spec for the reset pin. - -Example: - -codec: cs4349@48 { - compatible = "cirrus,cs4349"; - reg = <0x48>; - reset-gpios = <&gpio 54 0>; -}; +CS4349 audio CODEC + +Required properties: + + - compatible : "cirrus,cs4349" + + - reg : the I2C address of the device for I2C + +Optional properties: + + - reset-gpios : a GPIO spec for the reset pin. + +Example: + +codec: cs4349@48 { + compatible = "cirrus,cs4349"; + reg = <0x48>; + reset-gpios = <&gpio 54 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6351.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6351.txt index da733b2d94..7fb2cb9924 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6351.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6351.txt @@ -1,16 +1,16 @@ -Mediatek MT6351 Audio Codec - -The communication between MT6351 and SoC is through Mediatek PMIC wrapper. -For more detail, please visit Mediatek PMIC wrapper documentation. - -Must be a child node of PMIC wrapper. - -Required properties: - -- compatible : "mediatek,mt6351-sound". - -Example: - -mt6351_snd { - compatible = "mediatek,mt6351-sound"; -}; +Mediatek MT6351 Audio Codec + +The communication between MT6351 and SoC is through Mediatek PMIC wrapper. +For more detail, please visit Mediatek PMIC wrapper documentation. + +Must be a child node of PMIC wrapper. + +Required properties: + +- compatible : "mediatek,mt6351-sound". + +Example: + +mt6351_snd { + compatible = "mediatek,mt6351-sound"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6797-mt6351.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6797-mt6351.txt index 0b4236e23b..1d95a8840f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6797-mt6351.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6797-mt6351.txt @@ -1,14 +1,14 @@ -MT6797 with MT6351 CODEC - -Required properties: -- compatible: "mediatek,mt6797-mt6351-sound" -- mediatek,platform: the phandle of MT6797 ASoC platform -- mediatek,audio-codec: the phandles of MT6351 codec - -Example: - - sound { - compatible = "mediatek,mt6797-mt6351-sound"; - mediatek,audio-codec = <&mt6351_snd>; - mediatek,platform = <&afe>; - }; +MT6797 with MT6351 CODEC + +Required properties: +- compatible: "mediatek,mt6797-mt6351-sound" +- mediatek,platform: the phandle of MT6797 ASoC platform +- mediatek,audio-codec: the phandles of MT6351 codec + +Example: + + sound { + compatible = "mediatek,mt6797-mt6351-sound"; + mediatek,audio-codec = <&mt6351_snd>; + mediatek,platform = <&afe>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm5102a.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm5102a.txt index 12809c2f5b..c63ab0b6ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm5102a.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm5102a.txt @@ -1,13 +1,13 @@ -PCM5102a audio CODECs - -These devices does not use I2C or SPI. - -Required properties: - - - compatible : set as "ti,pcm5102a" - -Examples: - - pcm5102a: pcm5102a { - compatible = "ti,pcm5102a"; - }; +PCM5102a audio CODECs + +These devices does not use I2C or SPI. + +Required properties: + + - compatible : set as "ti,pcm5102a" + +Examples: + + pcm5102a: pcm5102a { + compatible = "ti,pcm5102a"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt1308.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt1308.txt index 52e67f43ca..2d46084afc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt1308.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt1308.txt @@ -1,17 +1,17 @@ -RT1308 audio Amplifier - -This device supports I2C only. - -Required properties: - -- compatible : "realtek,rt1308". - -- reg : The I2C address of the device. - - -Example: - -rt1308: rt1308@10 { - compatible = "realtek,rt1308"; - reg = <0x10>; -}; +RT1308 audio Amplifier + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt1308". + +- reg : The I2C address of the device. + + +Example: + +rt1308: rt1308@10 { + compatible = "realtek,rt1308"; + reg = <0x10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,ads117x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,ads117x.txt index 580b3b0074..7db19b5086 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,ads117x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,ads117x.txt @@ -1,11 +1,11 @@ -Texas Intstruments ADS117x ADC - -Required properties: - - - compatible : "ti,ads1174" or "ti,ads1178" - -Example: - -ads1178 { - compatible = "ti,ads1178"; -}; +Texas Intstruments ADS117x ADC + +Required properties: + + - compatible : "ti,ads1174" or "ti,ads1178" + +Example: + +ads1178 { + compatible = "ti,ads1178"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8770.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8770.txt index 7292d522cc..cac762a110 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8770.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8770.txt @@ -1,16 +1,16 @@ -WM8770 audio CODEC - -This device supports SPI. - -Required properties: - - - compatible : "wlf,wm8770" - - - reg : the chip select number. - -Example: - -wm8770: codec@1 { - compatible = "wlf,wm8770"; - reg = <1>; -}; +WM8770 audio CODEC + +This device supports SPI. + +Required properties: + + - compatible : "wlf,wm8770" + + - reg : the chip select number. + +Example: + +wm8770: codec@1 { + compatible = "wlf,wm8770"; + reg = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt index ddbcbcbe69..b6ebe2bc70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt @@ -1,9 +1,9 @@ -Cadence Xtensa XTFPGA platform SPI controller. - -This simple SPI master controller is built into xtfpga bitstreams and is used -to control daughterboard audio codec. - -Required properties: -- compatible: should be "cdns,xtfpga-spi". -- reg: physical base address of the controller and length of memory mapped - region. +Cadence Xtensa XTFPGA platform SPI controller. + +This simple SPI master controller is built into xtfpga bitstreams and is used +to control daughterboard audio codec. + +Required properties: +- compatible: should be "cdns,xtfpga-spi". +- reg: physical base address of the controller and length of memory mapped + region. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_altera.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_altera.txt index 1a94f4b8fe..31319dcf30 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_altera.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_altera.txt @@ -1,5 +1,5 @@ -Altera SPI - -Required properties: -- compatible : should be "ALTR,spi-1.0". -- compatible : should be "altr,spi-1.0". +Altera SPI + +Required properties: +- compatible : should be "ALTR,spi-1.0". +- compatible : should be "altr,spi-1.0". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt index b905ae6197..8c0f5eb86d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt @@ -1,15 +1,15 @@ -* Kirkwood Thermal - -This version is for Kirkwood 88F8262 & 88F6283 SoCs. Other kirkwoods -don't contain a thermal sensor. - -Required properties: -- compatible : "marvell,kirkwood-thermal" -- reg : Address range of the thermal registers - -Example: - - thermal@10078 { - compatible = "marvell,kirkwood-thermal"; - reg = <0x10078 0x4>; - }; +* Kirkwood Thermal + +This version is for Kirkwood 88F8262 & 88F6283 SoCs. Other kirkwoods +don't contain a thermal sensor. + +Required properties: +- compatible : "marvell,kirkwood-thermal" +- reg : Address range of the thermal registers + +Example: + + thermal@10078 { + compatible = "marvell,kirkwood-thermal"; + reg = <0x10078 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/spear-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/spear-thermal.txt index 7ef0d6f702..93e3b67c10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/spear-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/spear-thermal.txt @@ -1,14 +1,14 @@ -* SPEAr Thermal - -Required properties: -- compatible : "st,thermal-spear1340" -- reg : Address range of the thermal registers -- st,thermal-flags: flags used to enable thermal sensor - -Example: - - thermal@fc000000 { - compatible = "st,thermal-spear1340"; - reg = <0xfc000000 0x1000>; - st,thermal-flags = <0x7000>; - }; +* SPEAr Thermal + +Required properties: +- compatible : "st,thermal-spear1340" +- reg : Address range of the thermal registers +- st,thermal-flags: flags used to enable thermal sensor + +Example: + + thermal@fc000000 { + compatible = "st,thermal-spear1340"; + reg = <0xfc000000 0x1000>; + st,thermal-flags = <0x7000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer1.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer1.txt index 378de18578..c0ab4190b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer1.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer1.txt @@ -1,15 +1,15 @@ -NPS Network Processor - -Required properties: - -- compatible : should be "ezchip,nps400-timer1" - -Clocks required for compatible = "ezchip,nps400-timer1": -- clocks : Must contain a single entry describing the clock input - -Example: - -timer { - compatible = "ezchip,nps400-timer1"; - clocks = <&sysclk>; -}; +NPS Network Processor + +Required properties: + +- compatible : should be "ezchip,nps400-timer1" + +Clocks required for compatible = "ezchip,nps400-timer1": +- clocks : Must contain a single entry describing the clock input + +Example: + +timer { + compatible = "ezchip,nps400-timer1"; + clocks = <&sysclk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-gfrc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-gfrc.txt index d9e3b781e9..b6cd1b3922 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-gfrc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-gfrc.txt @@ -1,14 +1,14 @@ -Synopsys ARC Free Running 64-bit Global Timer for ARC HS CPUs -- clocksource provider for SMP SoC - -Required properties: - -- compatible : should be "snps,archs-gfrc" -- clocks : phandle to the source clock - -Example: - - gfrc { - compatible = "snps,archs-gfrc"; - clocks = <&core_clk>; - }; +Synopsys ARC Free Running 64-bit Global Timer for ARC HS CPUs +- clocksource provider for SMP SoC + +Required properties: + +- compatible : should be "snps,archs-gfrc" +- clocks : phandle to the source clock + +Example: + + gfrc { + compatible = "snps,archs-gfrc"; + clocks = <&core_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-rtc.txt index f1bbed3555..47bd7a702f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,archs-rtc.txt @@ -1,14 +1,14 @@ -Synopsys ARC Free Running 64-bit Local Timer for ARC HS CPUs -- clocksource provider for UP SoC - -Required properties: - -- compatible : should be "snps,archs-rtc" -- clocks : phandle to the source clock - -Example: - - rtc { - compatible = "snps,arc-rtc"; - clocks = <&core_clk>; - }; +Synopsys ARC Free Running 64-bit Local Timer for ARC HS CPUs +- clocksource provider for UP SoC + +Required properties: + +- compatible : should be "snps,archs-rtc" +- clocks : phandle to the source clock + +Example: + + rtc { + compatible = "snps,arc-rtc"; + clocks = <&core_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,spear-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,spear-timer.txt index d9c05b5a4f..b5238a07da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,spear-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,spear-timer.txt @@ -1,16 +1,16 @@ -* SPEAr ARM Timer - -** Timer node required properties: - -- compatible : Should be: - "st,spear-timer" -- reg: Address range of the timer registers -- interrupt: Should contain the timer interrupt number - -Example: - - timer@f0000000 { - compatible = "st,spear-timer"; - reg = <0xf0000000 0x400>; - interrupts = <2>; - }; +* SPEAr ARM Timer + +** Timer node required properties: + +- compatible : Should be: + "st,spear-timer" +- reg: Address range of the timer registers +- interrupt: Should contain the timer interrupt number + +Example: + + timer@f0000000 { + compatible = "st,spear-timer"; + reg = <0xf0000000 0x400>; + interrupts = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/timer.txt index 50d393de5c..c688af58e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/timer.txt @@ -1,6 +1,6 @@ -Timers ------- - -* High Precision Event Timer (HPET) - Required property: - compatible = "intel,ce4100-hpet"; +Timers +------ + +* High Precision Event Timer (HPET) + Required property: + compatible = "intel,ce4100-hpet"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/index.rst index ec0e375667..24d058faa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/index.rst @@ -1,22 +1,22 @@ -.. _doc_guide: - -================================= -How to write kernel documentation -================================= - -.. toctree:: - :maxdepth: 1 - - sphinx - kernel-doc - parse-headers - contributing - maintainer-profile - checktransupdate - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. _doc_guide: + +================================= +How to write kernel documentation +================================= + +.. toctree:: + :maxdepth: 1 + + sphinx + kernel-doc + parse-headers + contributing + maintainer-profile + checktransupdate + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/docutils.conf b/image/debian/UFI003_MB_V02/kernel/Documentation/docutils.conf index 5e287af0d8..f1a180b97d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/docutils.conf +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/docutils.conf @@ -1,7 +1,7 @@ -# -*- coding: utf-8 mode: conf-colon -*- -# -# docutils configuration file -# http://docutils.sourceforge.net/docs/user/config.html - -[general] -halt_level: severe +# -*- coding: utf-8 mode: conf-colon -*- +# +# docutils configuration file +# http://docutils.sourceforge.net/docs/user/config.html + +[general] +halt_level: severe diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/index.rst index 15f58ace22..af210859d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/index.rst @@ -1,17 +1,17 @@ -===================================== -Linux 802.11 Driver Developer's Guide -===================================== - -.. toctree:: - - introduction - cfg80211 - mac80211 - mac80211-advanced - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +===================================== +Linux 802.11 Driver Developer's Guide +===================================== + +.. toctree:: + + introduction + cfg80211 + mac80211 + mac80211-advanced + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/acpi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/acpi/index.rst index a7c0823b05..ace0008e54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/acpi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/acpi/index.rst @@ -1,9 +1,9 @@ -============ -ACPI Support -============ - -.. toctree:: - :maxdepth: 2 - - linuxized-acpica - scan_handlers +============ +ACPI Support +============ + +.. toctree:: + :maxdepth: 2 + + linuxized-acpica + scan_handlers diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/aperture.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/aperture.rst index 7c3b9303fe..d173f4e7a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/aperture.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/aperture.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Managing Ownership of the Framebuffer Aperture -============================================== - -.. kernel-doc:: drivers/video/aperture.c - :doc: overview - -.. kernel-doc:: include/linux/aperture.h - :internal: - -.. kernel-doc:: drivers/video/aperture.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +Managing Ownership of the Framebuffer Aperture +============================================== + +.. kernel-doc:: drivers/video/aperture.c + :doc: overview + +.. kernel-doc:: include/linux/aperture.h + :internal: + +.. kernel-doc:: drivers/video/aperture.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/component.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/component.rst index c624b70edc..57e3759073 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/component.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/component.rst @@ -1,19 +1,19 @@ -.. _component: - -====================================== -Component Helper for Aggregate Drivers -====================================== - -.. kernel-doc:: drivers/base/component.c - :doc: overview - - -API -=== - -.. kernel-doc:: include/linux/component.h - :internal: - -.. kernel-doc:: drivers/base/component.c - :export: - +.. _component: + +====================================== +Component Helper for Aggregate Drivers +====================================== + +.. kernel-doc:: drivers/base/component.c + :doc: overview + + +API +=== + +.. kernel-doc:: include/linux/component.h + :internal: + +.. kernel-doc:: drivers/base/component.c + :export: + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/iaa/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/iaa/index.rst index 65c3e891fb..aa6837e272 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/iaa/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/iaa/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================= -IAA (Intel Analytics Accelerator) -================================= - -IAA provides hardware compression and decompression via the crypto -API. - -.. toctree:: - :maxdepth: 1 - - iaa-crypto - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================================= +IAA (Intel Analytics Accelerator) +================================= + +IAA provides hardware compression and decompression via the crypto +API. + +.. toctree:: + :maxdepth: 1 + + iaa-crypto + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/index.rst index 7c1b8cc9ae..fb9709b98b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/crypto/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -Crypto Drivers -============== - -Documentation for crypto drivers that may need more involved setup and -configuration. - -.. toctree:: - :maxdepth: 1 - - iaa/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============== +Crypto Drivers +============== + +Documentation for crypto drivers that may need more involved setup and +configuration. + +.. toctree:: + :maxdepth: 1 + + iaa/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/cxl/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/cxl/index.rst index 2ee47f53fd..965ba90e8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/cxl/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/cxl/index.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -Compute Express Link -==================== - -.. toctree:: - :maxdepth: 1 - - memory-devices - access-coordinates - - maturity-map - -.. only:: subproject and html +.. SPDX-License-Identifier: GPL-2.0 + +==================== +Compute Express Link +==================== + +.. toctree:: + :maxdepth: 1 + + memory-devices + access-coordinates + + maturity-map + +.. only:: subproject and html diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/driver-model/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/driver-model/index.rst index b74d5db977..4831bdd92e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/driver-model/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/driver-model/index.rst @@ -1,23 +1,23 @@ -============ -Driver Model -============ - -.. toctree:: - :maxdepth: 1 - - binding - bus - design-patterns - device - devres - driver - overview - platform - porting - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +============ +Driver Model +============ + +.. toctree:: + :maxdepth: 1 + + binding + bus + design-patterns + device + devres + driver + overview + platform + porting + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/early-userspace/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/early-userspace/index.rst index e203139c4a..149c1822f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/early-userspace/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/early-userspace/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Early Userspace -=============== - -.. toctree:: - :maxdepth: 1 - - early_userspace_support - buffer-format - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Early Userspace +=============== + +.. toctree:: + :maxdepth: 1 + + early_userspace_support + buffer-format + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/core.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/core.rst index 96ec379326..803cd574bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/core.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/core.rst @@ -1,17 +1,17 @@ -========================== -Firmware API core features -========================== - -The firmware API has a rich set of core features available. This section -documents these features. - -.. toctree:: - - fw_search_path - built-in-fw - firmware_cache - direct-fs-lookup - fallback-mechanisms - lookup-order - firmware-usage-guidelines - +========================== +Firmware API core features +========================== + +The firmware API has a rich set of core features available. This section +documents these features. + +.. toctree:: + + fw_search_path + built-in-fw + firmware_cache + direct-fs-lookup + fallback-mechanisms + lookup-order + firmware-usage-guidelines + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/efi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/efi/index.rst index 2c1b8cadd7..4fe8abba9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/efi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/efi/index.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -UEFI Support -============ - -UEFI stub library functions -=========================== - -.. kernel-doc:: drivers/firmware/efi/libstub/mem.c - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +============ +UEFI Support +============ + +UEFI stub library functions +=========================== + +.. kernel-doc:: drivers/firmware/efi/libstub/mem.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/index.rst index 9f0cce5adc..9d2c19dc8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/index.rst @@ -1,19 +1,19 @@ -================== -Linux Firmware API -================== - -.. toctree:: - - introduction - core - efi/index - request_firmware - fw_upload - other_interfaces - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +================== +Linux Firmware API +================== + +.. toctree:: + + introduction + core + efi/index + request_firmware + fw_upload + other_interfaces + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/index.rst index 02a2508b87..31a4773bd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/index.rst @@ -1,15 +1,15 @@ -============== -FPGA Subsystem -============== - -:Author: Alan Tull - -.. toctree:: - :maxdepth: 2 - - intro - fpga-mgr - fpga-bridge - fpga-region - fpga-programming - +============== +FPGA Subsystem +============== + +:Author: Alan Tull + +.. toctree:: + :maxdepth: 2 + + intro + fpga-mgr + fpga-bridge + fpga-region + fpga-programming + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/hte/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/hte/index.rst index 9180fdc3cb..29011de9a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/hte/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/hte/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================================ -The Linux Hardware Timestamping Engine (HTE) -============================================ - -The HTE Subsystem -================= - -.. toctree:: - :maxdepth: 1 - - hte - -HTE Tegra Provider -================== - -.. toctree:: - :maxdepth: 1 - - tegra-hte - +.. SPDX-License-Identifier: GPL-2.0 + +============================================ +The Linux Hardware Timestamping Engine (HTE) +============================================ + +The HTE Subsystem +================= + +.. toctree:: + :maxdepth: 1 + + hte + +HTE Tegra Provider +================== + +.. toctree:: + :maxdepth: 1 + + tegra-hte + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/device-driver-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/device-driver-api.rst index 09007dfc97..85bc3381cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/device-driver-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/device-driver-api.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -I3C device driver API -===================== - -.. kernel-doc:: include/linux/i3c/device.h - -.. kernel-doc:: drivers/i3c/device.c +.. SPDX-License-Identifier: GPL-2.0 + +===================== +I3C device driver API +===================== + +.. kernel-doc:: include/linux/i3c/device.h + +.. kernel-doc:: drivers/i3c/device.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/index.rst index 6b5d5fa702..783d6dad05 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/index.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -I3C subsystem -============= - -.. toctree:: - - protocol - device-driver-api - master-driver-api +.. SPDX-License-Identifier: GPL-2.0 + +============= +I3C subsystem +============= + +.. toctree:: + + protocol + device-driver-api + master-driver-api diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/master-driver-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/master-driver-api.rst index 45c7af316c..332552b283 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/master-driver-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/i3c/master-driver-api.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================ -I3C master controller driver API -================================ - -.. kernel-doc:: drivers/i3c/master.c - -.. kernel-doc:: include/linux/i3c/master.h +.. SPDX-License-Identifier: GPL-2.0 + +================================ +I3C master controller driver API +================================ + +.. kernel-doc:: drivers/i3c/master.c + +.. kernel-doc:: include/linux/i3c/master.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/index.rst index 01d3908302..7fba341bd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/index.rst @@ -1,18 +1,18 @@ -.. include:: - -Industrial I/O -============== - -**Copyright** |copy| 2015 Intel Corporation - -Contents: - -.. toctree:: - :maxdepth: 2 - - intro - core - buffers - triggers - triggered-buffers - hw-consumer +.. include:: + +Industrial I/O +============== + +**Copyright** |copy| 2015 Intel Corporation + +Contents: + +.. toctree:: + :maxdepth: 2 + + intro + core + buffers + triggers + triggered-buffers + hw-consumer diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/md/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/md/index.rst index ff7077386d..18f54a7d7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/md/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/md/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -RAID -==== - -.. toctree:: - :maxdepth: 1 - - md-cluster - raid5-cache - raid5-ppl +.. SPDX-License-Identifier: GPL-2.0 + +==== +RAID +==== + +.. toctree:: + :maxdepth: 1 + + md-cluster + raid5-cache + raid5-ppl diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-ca.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-ca.rst index fe487c40a5..8a09862b42 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-ca.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-ca.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Digital TV Conditional Access kABI ----------------------------------- - -.. kernel-doc:: include/media/dvb_ca_en50221.h +.. SPDX-License-Identifier: GPL-2.0 + +Digital TV Conditional Access kABI +---------------------------------- + +.. kernel-doc:: include/media/dvb_ca_en50221.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-net.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-net.rst index 10154b80bb..deb6bffe96 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-net.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-net.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Digital TV Network kABI ------------------------ - -.. kernel-doc:: include/media/dvb_net.h +.. SPDX-License-Identifier: GPL-2.0 + +Digital TV Network kABI +----------------------- + +.. kernel-doc:: include/media/dvb_net.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-async.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-async.rst index a76a897b1c..3422330b3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-async.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-async.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 async kAPI -^^^^^^^^^^^^^^^ -.. kernel-doc:: include/media/v4l2-async.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 async kAPI +^^^^^^^^^^^^^^^ +.. kernel-doc:: include/media/v4l2-async.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-cci.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-cci.rst index f6cd9abc09..dd297a40ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-cci.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-cci.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 CCI kAPI -^^^^^^^^^^^^^ -.. kernel-doc:: include/media/v4l2-cci.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 CCI kAPI +^^^^^^^^^^^^^ +.. kernel-doc:: include/media/v4l2-cci.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-common.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-common.rst index af57e26779..b1e70eb56a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-common.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-common.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 common functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-common.h - -.. kernel-doc:: include/media/v4l2-ioctl.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 common functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-common.h + +.. kernel-doc:: include/media/v4l2-ioctl.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-dv-timings.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-dv-timings.rst index 1b8fb2dc0c..b178f93151 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-dv-timings.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-dv-timings.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 DV Timings functions -^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-dv-timings.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 DV Timings functions +^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-dv-timings.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-flash-led-class.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-flash-led-class.rst index 14d6bb7bac..2aa6bed9b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-flash-led-class.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-flash-led-class.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 flash functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-flash-led-class.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 flash functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-flash-led-class.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-fwnode.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-fwnode.rst index 36f04447fc..e313b6cddc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-fwnode.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-fwnode.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 fwnode kAPI -^^^^^^^^^^^^^^^^ -.. kernel-doc:: include/media/v4l2-fwnode.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 fwnode kAPI +^^^^^^^^^^^^^^^^ +.. kernel-doc:: include/media/v4l2-fwnode.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-jpeg.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-jpeg.rst index c0409cb6aa..af3bc52f86 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-jpeg.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-jpeg.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 JPEG header related functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-jpeg.h - :internal: - -.. kernel-doc:: drivers/media/v4l2-core/v4l2-jpeg.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 JPEG header related functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-jpeg.h + :internal: + +.. kernel-doc:: drivers/media/v4l2-core/v4l2-jpeg.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mc.rst index 202585e1e8..0c352ac588 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mc.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 Media Controller functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-mc.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 Media Controller functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-mc.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mediabus.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mediabus.rst index 58153f026e..1f2254cba9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mediabus.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mediabus.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 Media Bus functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-mediabus.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 Media Bus functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-mediabus.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mem2mem.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mem2mem.rst index 2c3545ad4e..a43b31cc82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mem2mem.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-mem2mem.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 Memory to Memory functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-mem2mem.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 Memory to Memory functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-mem2mem.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-rect.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-rect.rst index 19ee95e5df..fc315cd841 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-rect.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-rect.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -V4L2 rect helper functions -^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/v4l2-rect.h +.. SPDX-License-Identifier: GPL-2.0 + +V4L2 rect helper functions +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/v4l2-rect.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tuner.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tuner.rst index 748cacf05c..e6caa33215 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tuner.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tuner.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Tuner functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/tuner.h - -.. kernel-doc:: include/media/tuner-types.h +.. SPDX-License-Identifier: GPL-2.0 + +Tuner functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/tuner.h + +.. kernel-doc:: include/media/tuner-types.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tveeprom.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tveeprom.rst index 904c572684..43fb391eda 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tveeprom.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-tveeprom.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Hauppauge TV EEPROM functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/tveeprom.h +.. SPDX-License-Identifier: GPL-2.0 + +Hauppauge TV EEPROM functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/tveeprom.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-videobuf2.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-videobuf2.rst index 9d9914929a..1044f64ff1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-videobuf2.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-videobuf2.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _vb2_framework: - -V4L2 videobuf2 functions and data structures -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. kernel-doc:: include/media/videobuf2-core.h - -.. kernel-doc:: include/media/videobuf2-v4l2.h - -.. kernel-doc:: include/media/videobuf2-memops.h +.. SPDX-License-Identifier: GPL-2.0 + +.. _vb2_framework: + +V4L2 videobuf2 functions and data structures +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. kernel-doc:: include/media/videobuf2-core.h + +.. kernel-doc:: include/media/videobuf2-v4l2.h + +.. kernel-doc:: include/media/videobuf2-memops.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/memory-devices/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/memory-devices/index.rst index 1a923c592c..28101458cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/memory-devices/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/memory-devices/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -Memory Controller drivers -========================= - -.. toctree:: - :maxdepth: 1 - - ti-emif - ti-gpmc - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +========================= +Memory Controller drivers +========================= + +.. toctree:: + :maxdepth: 1 + + ti-emif + ti-gpmc + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/message-based.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/message-based.rst index 23dac326a3..18ff94ef6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/message-based.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/message-based.rst @@ -1,12 +1,12 @@ -Message-based devices -===================== - -Fusion message devices ----------------------- - -.. kernel-doc:: drivers/message/fusion/mptbase.c - :export: - -.. kernel-doc:: drivers/message/fusion/mptscsih.c - :export: - +Message-based devices +===================== + +Fusion message devices +---------------------- + +.. kernel-doc:: drivers/message/fusion/mptbase.c + :export: + +.. kernel-doc:: drivers/message/fusion/mptscsih.c + :export: + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/misc_devices.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/misc_devices.rst index ddae7cfecc..c7ee7b02ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/misc_devices.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/misc_devices.rst @@ -1,5 +1,5 @@ -Miscellaneous Devices -===================== - -.. kernel-doc:: drivers/char/misc.c - :export: +Miscellaneous Devices +===================== + +.. kernel-doc:: drivers/char/misc.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/index.rst index c9f2d9dc92..8188863e59 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================== -MMC/SD/SDIO card support -======================== - -.. toctree:: - :maxdepth: 1 - - mmc-dev-attrs - mmc-dev-parts - mmc-async-req - mmc-test - mmc-tools +.. SPDX-License-Identifier: GPL-2.0 + +======================== +MMC/SD/SDIO card support +======================== + +.. toctree:: + :maxdepth: 1 + + mmc-dev-attrs + mmc-dev-parts + mmc-async-req + mmc-test + mmc-tools diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mtd/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mtd/index.rst index a66b9e24dc..6a4278f409 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mtd/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mtd/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -Memory Technology Device (MTD) -============================== - -.. toctree:: - :maxdepth: 1 - - spi-intel - nand_ecc - spi-nor +.. SPDX-License-Identifier: GPL-2.0 + +============================== +Memory Technology Device (MTD) +============================== + +.. toctree:: + :maxdepth: 1 + + spi-intel + nand_ecc + spi-nor diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nfc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nfc/index.rst index c217cb6ea8..b6e9eedbff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nfc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nfc/index.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================== -Near Field Communication -======================== - -.. toctree:: - :maxdepth: 1 - - nfc-hci - nfc-pn544 +.. SPDX-License-Identifier: GPL-2.0 + +======================== +Near Field Communication +======================== + +.. toctree:: + :maxdepth: 1 + + nfc-hci + nfc-pn544 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nvdimm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nvdimm/index.rst index 8763340fc5..5863bd04f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nvdimm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/nvdimm/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================================== -Non-Volatile Memory Device (NVDIMM) -=================================== - -.. toctree:: - :maxdepth: 1 - - nvdimm - btt - security - firmware-activate +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +Non-Volatile Memory Device (NVDIMM) +=================================== + +.. toctree:: + :maxdepth: 1 + + nvdimm + btt + security + firmware-activate diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/index.rst index 9f4f44935b..a38e475cdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================================ -The Linux PCI driver implementer's API guide -============================================ - -.. toctree:: - :caption: Table of contents - :maxdepth: 2 - - pci - p2pdma - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============================================ +The Linux PCI driver implementer's API guide +============================================ + +.. toctree:: + :caption: Table of contents + :maxdepth: 2 + + pci + p2pdma + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/phy/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/phy/index.rst index 90bf362b2a..69ba1216de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/phy/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/phy/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -Generic PHY Framework -===================== - -.. toctree:: - - phy - samsung-usb2 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - +.. SPDX-License-Identifier: GPL-2.0 + +===================== +Generic PHY Framework +===================== + +.. toctree:: + + phy + samsung-usb2 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/index.rst index bd3e43d33a..c2a9ef8d11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============================== -CPU and Device Power Management -=============================== - -.. toctree:: - - cpuidle - devices - notifiers - types - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=============================== +CPU and Device Power Management +=============================== + +.. toctree:: + + cpuidle + devices + notifiers + types + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/types.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/types.rst index 7d885f72c8..73a231caf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/types.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pm/types.rst @@ -1,7 +1,7 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================== -Device Power Management Data Types -================================== - -.. kernel-doc:: include/linux/pm.h +.. SPDX-License-Identifier: GPL-2.0 + +================================== +Device Power Management Data Types +================================== + +.. kernel-doc:: include/linux/pm.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/index.rst index 06460f1475..a41b4242d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/index.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========================== -The Linux RapidIO Subsystem -=========================== - -.. toctree:: - :maxdepth: 1 - - rapidio - sysfs - - tsi721 - mport_cdev - rio_cm +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +The Linux RapidIO Subsystem +=========================== + +.. toctree:: + :maxdepth: 1 + + rapidio + sysfs + + tsi721 + mport_cdev + rio_cm diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/sysfs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/sysfs.rst index 3051451195..540f726834 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/sysfs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/rapidio/sysfs.rst @@ -1,7 +1,7 @@ -============= -Sysfs entries -============= - -The RapidIO sysfs files have moved to: -Documentation/ABI/testing/sysfs-bus-rapidio and -Documentation/ABI/testing/sysfs-class-rapidio +============= +Sysfs entries +============= + +The RapidIO sysfs files have moved to: +Documentation/ABI/testing/sysfs-bus-rapidio and +Documentation/ABI/testing/sysfs-class-rapidio diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/serial/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/serial/index.rst index f34c5498d2..03a55b987a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/serial/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/serial/index.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================== -Support for Serial devices -========================== - -.. toctree:: - :maxdepth: 1 - - - driver - -Serial drivers -============== - -.. toctree:: - :maxdepth: 1 - - serial-iso7816 - serial-rs485 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +========================== +Support for Serial devices +========================== + +.. toctree:: + :maxdepth: 1 + + + driver + +Serial drivers +============== + +.. toctree:: + :maxdepth: 1 + + serial-iso7816 + serial-rs485 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/soundwire/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/soundwire/index.rst index 216b1a3190..234911a0db 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/soundwire/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/soundwire/index.rst @@ -1,18 +1,18 @@ -======================= -SoundWire Documentation -======================= - -.. toctree:: - :maxdepth: 1 - - summary - stream - error_handling - locking - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +======================= +SoundWire Documentation +======================= + +.. toctree:: + :maxdepth: 1 + + summary + stream + error_handling + locking + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/index.rst index e78b6b13af..6f3e109490 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -======================================= -Surface System Aggregator Module (SSAM) -======================================= - -.. toctree:: - :maxdepth: 2 - - overview - client - clients/index - ssh - internal - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0+ + +======================================= +Surface System Aggregator Module (SSAM) +======================================= + +.. toctree:: + :maxdepth: 2 + + overview + client + clients/index + ssh + internal + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/index.rst index 748786b983..a886028014 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -Thermal -======= - -.. toctree:: - :maxdepth: 1 - - cpu-cooling-api - cpu-idle-cooling - sysfs-api - power_allocator - - exynos_thermal - exynos_thermal_emulation - nouveau_thermal - x86_pkg_temperature_thermal - intel_dptf +.. SPDX-License-Identifier: GPL-2.0 + +======= +Thermal +======= + +.. toctree:: + :maxdepth: 1 + + cpu-cooling-api + cpu-idle-cooling + sysfs-api + power_allocator + + exynos_thermal + exynos_thermal_emulation + nouveau_thermal + x86_pkg_temperature_thermal + intel_dptf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_ioctl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_ioctl.rst index 603d07245b..3ff1ac5e07 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_ioctl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_ioctl.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -TTY IOCTL Helpers -================= - -.. kernel-doc:: drivers/tty/tty_ioctl.c - -.. kernel-doc:: include/linux/tty.h - :identifiers: tty_get_baud_rate +.. SPDX-License-Identifier: GPL-2.0 + +================= +TTY IOCTL Helpers +================= + +.. kernel-doc:: drivers/tty/tty_ioctl.c + +.. kernel-doc:: include/linux/tty.h + :identifiers: tty_get_baud_rate diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/virtio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/virtio/index.rst index 15d5f9d64e..528b14b291 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/virtio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/virtio/index.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====== -Virtio -====== - -.. toctree:: - :maxdepth: 1 - - virtio - writing_virtio_drivers +.. SPDX-License-Identifier: GPL-2.0 + +====== +Virtio +====== + +.. toctree:: + :maxdepth: 1 + + virtio + writing_virtio_drivers diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/index.rst index 4ec293f314..13f7589ed4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/index.rst @@ -1,16 +1,16 @@ - -=========== -Xilinx FPGA -=========== - -.. toctree:: - :maxdepth: 1 - - eemi - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` + +=========== +Xilinx FPGA +=========== + +.. toctree:: + :maxdepth: 1 + + eemi + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fault-injection/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fault-injection/index.rst index f496f8c88a..a6ea1d1902 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fault-injection/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fault-injection/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Fault-injection -=============== - -.. toctree:: - :maxdepth: 1 - - fault-injection - notifier-error-inject - nvme-fault-injection - provoke-crashes - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Fault-injection +=============== + +.. toctree:: + :maxdepth: 1 + + fault-injection + notifier-error-inject + nvme-fault-injection + provoke-crashes + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm501.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm501.rst index e2f7286c34..03e02c8042 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm501.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm501.rst @@ -1,15 +1,15 @@ -======= -sm501fb -======= - -Configuration: - -You can pass the following kernel command line options to sm501 -videoframebuffer:: - - sm501fb.bpp= SM501 Display driver: - Specify bits-per-pixel if not specified by 'mode' - - sm501fb.mode= SM501 Display driver: - Specify resolution as - "x[-][@]" +======= +sm501fb +======= + +Configuration: + +You can pass the following kernel command line options to sm501 +videoframebuffer:: + + sm501fb.bpp= SM501 Display driver: + Specify bits-per-pixel if not specified by 'mode' + + sm501fb.mode= SM501 Display driver: + Specify resolution as + "x[-][@]" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/list-arch.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/features/list-arch.sh old mode 100644 new mode 100755 index 2c29401f85..e73aa35848 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/list-arch.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/list-arch.sh @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Small script that visualizes the kernel feature support status -# of an architecture. -# -# (If no arguments are given then it will print the host architecture's status.) -# - -ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/')} - -$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH +# SPDX-License-Identifier: GPL-2.0 +# +# Small script that visualizes the kernel feature support status +# of an architecture. +# +# (If no arguments are given then it will print the host architecture's status.) +# + +ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/')} + +$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/bcachefs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/bcachefs/index.rst index dff0f630f2..95fc4b9073 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/bcachefs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/bcachefs/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -bcachefs Documentation -====================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - CodingStyle - errorcodes +.. SPDX-License-Identifier: GPL-2.0 + +====================== +bcachefs Documentation +====================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + CodingStyle + errorcodes diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/buffer.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/buffer.rst index 434ca6d915..ae24faf68e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/buffer.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/buffer.rst @@ -1,12 +1,12 @@ -Buffer Heads -============ - -Linux uses buffer heads to maintain state about individual filesystem blocks. -Buffer heads are deprecated and new filesystems should use iomap instead. - -Functions ---------- - -.. kernel-doc:: include/linux/buffer_head.h -.. kernel-doc:: fs/buffer.c - :export: +Buffer Heads +============ + +Linux uses buffer heads to maintain state about individual filesystem blocks. +Buffer heads are deprecated and new filesystems should use iomap instead. + +Functions +--------- + +.. kernel-doc:: include/linux/buffer_head.h +.. kernel-doc:: fs/buffer.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/caching/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/caching/index.rst index 60e8eb9ce8..df4307124b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/caching/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/caching/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Filesystem Caching -================== - -.. toctree:: - :maxdepth: 2 - - fscache - netfs-api - backend-api - cachefiles +.. SPDX-License-Identifier: GPL-2.0 + +Filesystem Caching +================== + +.. toctree:: + :maxdepth: 2 + + fscache + netfs-api + backend-api + cachefiles diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/dynamic.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/dynamic.rst index 50c4c5a725..bb0c843333 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/dynamic.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/dynamic.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Dynamic Structures -================== - -Dynamic metadata are created on the fly when files and blocks are -allocated to files. - -.. include:: inodes.rst -.. include:: ifork.rst -.. include:: directory.rst -.. include:: attributes.rst +.. SPDX-License-Identifier: GPL-2.0 + +Dynamic Structures +================== + +Dynamic metadata are created on the fly when files and blocks are +allocated to files. + +.. include:: inodes.rst +.. include:: ifork.rst +.. include:: directory.rst +.. include:: attributes.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/globals.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/globals.rst index d6119d94ac..b17418974f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/globals.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/globals.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Global Structures -================= - -The filesystem is sharded into a number of block groups, each of which -have static metadata at fixed locations. - -.. include:: super.rst -.. include:: group_descr.rst -.. include:: bitmaps.rst -.. include:: mmp.rst -.. include:: journal.rst -.. include:: orphan.rst +.. SPDX-License-Identifier: GPL-2.0 + +Global Structures +================= + +The filesystem is sharded into a number of block groups, each of which +have static metadata at fixed locations. + +.. include:: super.rst +.. include:: group_descr.rst +.. include:: bitmaps.rst +.. include:: mmp.rst +.. include:: journal.rst +.. include:: orphan.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/index.rst index a211a93bc3..705d813d55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext4/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================================== -ext4 Data Structures and Algorithms -=================================== - -.. toctree:: - :maxdepth: 6 - :numbered: - - about - overview - globals - dynamic +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +ext4 Data Structures and Algorithms +=================================== + +.. toctree:: + :maxdepth: 6 + :numbered: + + about + overview + globals + dynamic diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/iomap/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/iomap/index.rst index ad7226e531..3c6a524402 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/iomap/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/iomap/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================= -VFS iomap Documentation -======================= - -.. toctree:: - :maxdepth: 2 - :numbered: - - design - operations - porting +.. SPDX-License-Identifier: GPL-2.0 + +======================= +VFS iomap Documentation +======================= + +.. toctree:: + :maxdepth: 2 + :numbered: + + design + operations + porting diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/nfs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/nfs/index.rst index df9f1b874f..95c2c00987 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/nfs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/nfs/index.rst @@ -1,17 +1,17 @@ -=============================== -NFS -=============================== - - -.. toctree:: - :maxdepth: 1 - - client-identifier - exporting - localio - pnfs - rpc-cache - rpc-server-gss - nfs41-server - knfsd-stats - reexport +=============================== +NFS +=============================== + + +.. toctree:: + :maxdepth: 1 + + client-identifier + exporting + localio + pnfs + rpc-cache + rpc-server-gss + nfs41-server + knfsd-stats + reexport diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/smb/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/smb/index.rst index 81278173de..1c8597a679 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/smb/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/smb/index.rst @@ -1,10 +1,10 @@ -=============================== -CIFS -=============================== - - -.. toctree:: - :maxdepth: 1 - - ksmbd - cifsroot +=============================== +CIFS +=============================== + + +.. toctree:: + :maxdepth: 1 + + ksmbd + cifsroot diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/spufs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/spufs/index.rst index 16d6dac74a..5ed4a84949 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/spufs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/spufs/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -SPU Filesystem -============== - - -.. toctree:: - :maxdepth: 1 - - spufs - spu_create - spu_run +.. SPDX-License-Identifier: GPL-2.0 + +============== +SPU Filesystem +============== + + +.. toctree:: + :maxdepth: 1 + + spufs + spu_create + spu_run diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/xfs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/xfs/index.rst index db3e1fc250..ab66c57a5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/xfs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/xfs/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================ -XFS Filesystem Documentation -============================ - -.. toctree:: - :maxdepth: 2 - :numbered: - - xfs-delayed-logging-design - xfs-maintainer-entry-profile - xfs-self-describing-metadata - xfs-online-fsck-design +.. SPDX-License-Identifier: GPL-2.0 + +============================ +XFS Filesystem Documentation +============================ + +.. toctree:: + :maxdepth: 2 + :numbered: + + xfs-delayed-logging-design + xfs-maintainer-entry-profile + xfs-self-describing-metadata + xfs-online-fsck-design diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/index.rst index 2ac160f6e3..5355784ca0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============================== -The Linux kernel firmware guide -=============================== - -This section describes the ACPI subsystem in Linux from firmware perspective. - -.. toctree:: - :maxdepth: 1 - - acpi/index - +.. SPDX-License-Identifier: GPL-2.0 + +=============================== +The Linux kernel firmware guide +=============================== + +This section describes the ACPI subsystem in Linux from firmware perspective. + +.. toctree:: + :maxdepth: 1 + + acpi/index + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fpga/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fpga/index.rst index a23b3642bd..43c968871d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fpga/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fpga/index.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -FPGA -==== - -.. toctree:: - :maxdepth: 1 - - dfl - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==== +FPGA +==== + +.. toctree:: + :maxdepth: 1 + + dfl + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/module-parameters.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/module-parameters.rst index a76c632ef9..ea538c8dda 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/module-parameters.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/module-parameters.rst @@ -1,7 +1,7 @@ -=================== - Module Parameters -=================== - -The amdgpu driver supports the following module parameters: - -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +=================== + Module Parameters +=================== + +The amdgpu driver supports the following module parameters: + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/xgmi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/xgmi.rst index 9833c3c60f..23f2856f45 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/xgmi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/xgmi.rst @@ -1,5 +1,5 @@ -===================== - AMDGPU XGMI Support -===================== - -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +===================== + AMDGPU XGMI Support +===================== + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/backlight.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/backlight.rst index eb699011e3..9ebfc9d0ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/backlight.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/backlight.rst @@ -1,12 +1,12 @@ -================= -Backlight support -================= - -.. kernel-doc:: drivers/video/backlight/backlight.c - :doc: overview - -.. kernel-doc:: include/linux/backlight.h - :internal: - -.. kernel-doc:: drivers/video/backlight/backlight.c - :export: +================= +Backlight support +================= + +.. kernel-doc:: drivers/video/backlight/backlight.c + :doc: overview + +.. kernel-doc:: include/linux/backlight.h + :internal: + +.. kernel-doc:: drivers/video/backlight/backlight.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drm-client.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drm-client.rst index 90d5c8e62a..58b5a1d121 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drm-client.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drm-client.rst @@ -1,15 +1,15 @@ -================= -Kernel clients -================= - -.. kernel-doc:: drivers/gpu/drm/drm_client.c - :doc: overview - -.. kernel-doc:: include/drm/drm_client.h - :internal: - -.. kernel-doc:: drivers/gpu/drm/drm_client.c - :export: - -.. kernel-doc:: drivers/gpu/drm/drm_client_modeset.c - :export: +================= +Kernel clients +================= + +.. kernel-doc:: drivers/gpu/drm/drm_client.c + :doc: overview + +.. kernel-doc:: include/drm/drm_client.h + :internal: + +.. kernel-doc:: drivers/gpu/drm/drm_client.c + :export: + +.. kernel-doc:: drivers/gpu/drm/drm_client_modeset.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/imagination/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/imagination/index.rst index ea568a48f4..0c1e247cea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/imagination/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/imagination/index.rst @@ -1,13 +1,13 @@ -======================================= -drm/imagination PowerVR Graphics Driver -======================================= - -.. kernel-doc:: drivers/gpu/drm/imagination/pvr_drv.c - :doc: PowerVR (Series 6 and later) and IMG Graphics Driver - -Contents -======== -.. toctree:: - :maxdepth: 2 - - uapi +======================================= +drm/imagination PowerVR Graphics Driver +======================================= + +.. kernel-doc:: drivers/gpu/drm/imagination/pvr_drv.c + :doc: PowerVR (Series 6 and later) and IMG Graphics Driver + +Contents +======== +.. toctree:: + :maxdepth: 2 + + uapi diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/implementation_guidelines.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/implementation_guidelines.rst index 31f700832f..dbccfa72f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/implementation_guidelines.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/implementation_guidelines.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -=========================================================== -Misc DRM driver uAPI- and feature implementation guidelines -=========================================================== - -.. toctree:: - - drm-vm-bind-async - drm-vm-bind-locking +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +=========================================================== +Misc DRM driver uAPI- and feature implementation guidelines +=========================================================== + +.. toctree:: + + drm-vm-bind-async + drm-vm-bind-locking diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/mcde.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/mcde.rst index 526e70122e..dd43dde379 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/mcde.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/mcde.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================================================= - drm/mcde ST-Ericsson MCDE Multi-channel display engine -======================================================= - -.. kernel-doc:: drivers/gpu/drm/mcde/mcde_drv.c - :doc: ST-Ericsson MCDE Driver +.. SPDX-License-Identifier: GPL-2.0 + +======================================================= + drm/mcde ST-Ericsson MCDE Multi-channel display engine +======================================================= + +.. kernel-doc:: drivers/gpu/drm/mcde/mcde_drv.c + :doc: ST-Ericsson MCDE Driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/pl111.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/pl111.rst index 8d26600e06..6d9a1b59a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/pl111.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/pl111.rst @@ -1,6 +1,6 @@ -==================================================== - drm/pl111 ARM PrimeCell PL110 and PL111 CLCD Driver -==================================================== - -.. kernel-doc:: drivers/gpu/drm/pl111/pl111_drv.c - :doc: ARM PrimeCell PL110 and PL111 CLCD Driver +==================================================== + drm/pl111 ARM PrimeCell PL110 and PL111 CLCD Driver +==================================================== + +.. kernel-doc:: drivers/gpu/drm/pl111/pl111_drv.c + :doc: ARM PrimeCell PL110 and PL111 CLCD Driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/tve200.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/tve200.rst index 6a180daabd..152ea9398f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/tve200.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/tve200.rst @@ -1,6 +1,6 @@ -================================== - drm/tve200 Faraday TV Encoder 200 -================================== - -.. kernel-doc:: drivers/gpu/drm/tve200/tve200_drv.c - :doc: Faraday TV Encoder TVE200 DRM Driver +================================== + drm/tve200 Faraday TV Encoder 200 +================================== + +.. kernel-doc:: drivers/gpu/drm/tve200/tve200_drv.c + :doc: Faraday TV Encoder TVE200 DRM Driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe-drm-usage-stats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe-drm-usage-stats.rst index 60cdb23c96..482d503ae6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe-drm-usage-stats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe-drm-usage-stats.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -.. _xe-usage-stats: - -======================================== -Xe DRM client usage stats implementation -======================================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_drm_client.c - :doc: DRM Client usage stats +.. SPDX-License-Identifier: GPL-2.0+ + +.. _xe-usage-stats: + +======================================== +Xe DRM client usage stats implementation +======================================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_drm_client.c + :doc: DRM Client usage stats diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_cs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_cs.rst index bf30d491b6..e379aed4f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_cs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_cs.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -================== -Command submission -================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_exec.c - :doc: Execbuf (User GPU command submission) +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +================== +Command submission +================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_exec.c + :doc: Execbuf (User GPU command submission) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_debugging.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_debugging.rst index a9216e1481..d65e56ff35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_debugging.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_debugging.rst @@ -1,7 +1,7 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -========= -Debugging -========= - -.. kernel-doc:: drivers/gpu/drm/xe/xe_assert.h +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +========= +Debugging +========= + +.. kernel-doc:: drivers/gpu/drm/xe/xe_assert.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_freq.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_freq.rst index ddfe327705..c0811200e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_freq.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_freq.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -========================== -Xe GT Frequency Management -========================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c - :doc: Xe GT Frequency Management - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +========================== +Xe GT Frequency Management +========================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c + :doc: Xe GT Frequency Management + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_mcr.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_mcr.rst index 33c5893219..848c07bc36 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_mcr.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_gt_mcr.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -============================================== -GT Multicast/Replicated (MCR) Register Support -============================================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_mcr.c - :doc: GT Multicast/Replicated (MCR) Register Support - -Internal API -============ - -TODO +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +============================================== +GT Multicast/Replicated (MCR) Register Support +============================================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_mcr.c + :doc: GT Multicast/Replicated (MCR) Register Support + +Internal API +============ + +TODO diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_map.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_map.rst index 9f3851b739..a098cfd2df 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_map.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_map.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -========= -Map Layer -========= - -.. kernel-doc:: drivers/gpu/drm/xe/xe_map.h - :doc: Map layer +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +========= +Map Layer +========= + +.. kernel-doc:: drivers/gpu/drm/xe/xe_map.h + :doc: Map layer diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_migrate.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_migrate.rst index 23b612125a..f92faec0ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_migrate.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_migrate.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -============= -Migrate Layer -============= - -.. kernel-doc:: drivers/gpu/drm/xe/xe_migrate_doc.h - :doc: Migrate Layer +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +============= +Migrate Layer +============= + +.. kernel-doc:: drivers/gpu/drm/xe/xe_migrate_doc.h + :doc: Migrate Layer diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pcode.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pcode.rst index b2d534a688..d2e22cc450 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pcode.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pcode.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -===== -Pcode -===== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_pcode.c - :doc: PCODE - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_pcode.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +===== +Pcode +===== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pcode.c + :doc: PCODE + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pcode.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pm.rst index 89da0534da..6781cdfb24 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_pm.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -======================== -Runtime Power Management -======================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_pm.c - :doc: Xe Power Management - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_pm.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +======================== +Runtime Power Management +======================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pm.c + :doc: Xe Power Management + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pm.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_tile.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_tile.rst index e610321176..c33f68dd95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_tile.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_tile.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -================== -Multi-tile Devices -================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c - :doc: Multi-tile Design - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +================== +Multi-tile Devices +================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c + :doc: Multi-tile Design + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_wa.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_wa.rst index 212c0efe27..f8811cc6ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_wa.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_wa.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -==================== -Hardware workarounds -==================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_wa.c - :doc: Hardware workarounds - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_wa.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +==================== +Hardware workarounds +==================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_wa.c + :doc: Hardware workarounds + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_wa.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hid/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hid/index.rst index d29d6d75b8..af02cf7cfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hid/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hid/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================= -Human Interface Devices (HID) -============================= - -.. toctree:: - :maxdepth: 1 - - hidintro - hiddev - hidraw - hid-sensor - hid-transport - hid-bpf - - uhid - - hid-alps - intel-ish-hid - amd-sfh-hid +.. SPDX-License-Identifier: GPL-2.0 + +============================= +Human Interface Devices (HID) +============================= + +.. toctree:: + :maxdepth: 1 + + hidintro + hiddev + hidraw + hid-sensor + hid-transport + hid-bpf + + uhid + + hid-alps + intel-ish-hid + amd-sfh-hid diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/index.rst index 55aba18cdd..9cd7615438 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/index.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -InfiniBand -========== - -.. toctree:: - :maxdepth: 1 - - core_locking - ipoib - opa_vnic - sysfs - tag_matching - user_mad - user_verbs - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +========== +InfiniBand +========== + +.. toctree:: + :maxdepth: 1 + + core_locking + ipoib + opa_vnic + sysfs + tag_matching + user_mad + user_verbs + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/sysfs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/sysfs.rst index ccc682ad93..f0abd6fa48 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/sysfs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/infiniband/sysfs.rst @@ -1,6 +1,6 @@ -=========== -Sysfs files -=========== - -The sysfs interface has moved to -Documentation/ABI/stable/sysfs-class-infiniband. +=========== +Sysfs files +=========== + +The sysfs interface has moved to +Documentation/ABI/stable/sysfs-class-infiniband. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/input/devices/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/input/devices/index.rst index a5bad9a953..95a453782b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/input/devices/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/input/devices/index.rst @@ -1,19 +1,19 @@ -Driver-specific documentation -============================= - -This section provides information about various devices supported by the -Linux kernel, their protocols, and driver details. - -.. toctree:: - :maxdepth: 2 - :numbered: - :glob: - - * - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +Driver-specific documentation +============================= + +This section provides information about various devices supported by the +Linux kernel, their protocols, and driver details. + +.. toctree:: + :maxdepth: 2 + :numbered: + :glob: + + * + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/input/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/input/index.rst index 414f06512b..35581cd18e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/input/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/input/index.rst @@ -1,19 +1,19 @@ -=================== -Input Documentation -=================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - input_uapi - input_kapi - devices/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +=================== +Input Documentation +=================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + input_uapi + input_kapi + devices/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_kapi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_kapi.rst index 36a3689ffb..9937522daa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_kapi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_kapi.rst @@ -1,14 +1,14 @@ -.. include:: - -################################ -Linux Input Subsystem kernel API -################################ - -.. toctree:: - :caption: Table of Contents - :maxdepth: 2 - :numbered: - - input-programming - gameport-programming - notifier +.. include:: + +################################ +Linux Input Subsystem kernel API +################################ + +.. toctree:: + :caption: Table of Contents + :maxdepth: 2 + :numbered: + + input-programming + gameport-programming + notifier diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_uapi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_uapi.rst index 7b50d4598e..8275b4223a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_uapi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/input/input_uapi.rst @@ -1,19 +1,19 @@ -.. include:: - -################################### -Linux Input Subsystem userspace API -################################### - -.. toctree:: - :caption: Table of Contents - :maxdepth: 2 - :numbered: - - input - event-codes - multi-touch-protocol - gamepad - ff - joydev/index - uinput - userio +.. include:: + +################################### +Linux Input Subsystem userspace API +################################### + +.. toctree:: + :caption: Table of Contents + :maxdepth: 2 + :numbered: + + input + event-codes + multi-touch-protocol + gamepad + ff + joydev/index + uinput + userio diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/input/joydev/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/input/joydev/index.rst index af04136d79..d03d6f6cbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/input/joydev/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/input/joydev/index.rst @@ -1,14 +1,14 @@ -.. include:: - -====================== -Linux Joystick support -====================== - -:Copyright: |copy| 1996-2000 Vojtech Pavlik - Sponsored by SuSE - -.. toctree:: - :caption: Table of Contents - :maxdepth: 3 - - joystick - joystick-api +.. include:: + +====================== +Linux Joystick support +====================== + +:Copyright: |copy| 1996-2000 Vojtech Pavlik - Sponsored by SuSE + +.. toctree:: + :caption: Table of Contents + :maxdepth: 3 + + joystick + joystick-api diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/index.rst index 853171d6bc..9622939fa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -ISDN -==== - -.. toctree:: - :maxdepth: 2 - - interface_capi - - m_isdn - - credits - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==== +ISDN +==== + +.. toctree:: + :maxdepth: 2 + + interface_capi + + m_isdn + + credits + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/issues.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/issues.rst index c3d2665ee5..bdab01f733 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/issues.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/issues.rst @@ -1,15 +1,15 @@ -================ -Recursion issues -================ - -issue #1 --------- - -.. literalinclude:: Kconfig.recursion-issue-01 - :language: kconfig - -issue #2 --------- - -.. literalinclude:: Kconfig.recursion-issue-02 - :language: kconfig +================ +Recursion issues +================ + +issue #1 +-------- + +.. literalinclude:: Kconfig.recursion-issue-01 + :language: kconfig + +issue #2 +-------- + +.. literalinclude:: Kconfig.recursion-issue-02 + :language: kconfig diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/kernel-hacking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/kernel-hacking/index.rst index 3739f2b4dc..79c03bac99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/kernel-hacking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/kernel-hacking/index.rst @@ -1,12 +1,12 @@ -.. _kernel_hacking: - -===================== -Kernel Hacking Guides -===================== - -.. toctree:: - :maxdepth: 2 - - hacking - locking - false-sharing +.. _kernel_hacking: + +===================== +Kernel Hacking Guides +===================== + +.. toctree:: + :maxdepth: 2 + + hacking + locking + false-sharing diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/index.rst index 626f66dfb8..cebf1c71d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/index.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -Kernel Livepatching -=================== - -.. toctree:: - :maxdepth: 1 - - livepatch - callbacks - cumulative-patches - module-elf-format - shadow-vars - system-state - reliable-stacktrace - api - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=================== +Kernel Livepatching +=================== + +.. toctree:: + :maxdepth: 1 + + livepatch + callbacks + cumulative-patches + module-elf-format + shadow-vars + system-state + reliable-stacktrace + api + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mhi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mhi/index.rst index 0898fa63b5..1d8dec3027 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mhi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mhi/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=== -MHI -=== - -.. toctree:: - :maxdepth: 1 - - mhi - topology - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=== +MHI +=== + +.. toctree:: + :maxdepth: 1 + + mhi + topology + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/oom.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/oom.rst index 98e0fbbdf3..18e9e40c1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/oom.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/oom.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -Out Of Memory Handling -====================== +.. SPDX-License-Identifier: GPL-2.0 + +====================== +Out Of Memory Handling +====================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_allocation.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_allocation.rst index 9696082088..d9b4495561 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_allocation.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_allocation.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Page Allocation -=============== +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Page Allocation +=============== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_reclaim.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_reclaim.rst index 8ff85ff638..50a30b7f8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_reclaim.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_reclaim.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -Page Reclaim -============ +.. SPDX-License-Identifier: GPL-2.0 + +============ +Page Reclaim +============ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/process_addrs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/process_addrs.rst index c8bd1c18a5..e8618fbc62 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/process_addrs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/process_addrs.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -Process Addresses -================= +.. SPDX-License-Identifier: GPL-2.0 + +================= +Process Addresses +================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/shmfs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/shmfs.rst index c716f21941..8b01ebb4c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/shmfs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/shmfs.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================== -Shared Memory Filesystem -======================== +.. SPDX-License-Identifier: GPL-2.0 + +======================== +Shared Memory Filesystem +======================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/slab.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/slab.rst index ef05b1f872..87d5a5bb17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/slab.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/slab.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Slab Allocation -=============== +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Slab Allocation +=============== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/vmalloc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/vmalloc.rst index ed12c0b646..363fe20d6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/vmalloc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/vmalloc.rst @@ -1,5 +1,5 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================================== -Virtually Contiguous Memory Allocation -====================================== +.. SPDX-License-Identifier: GPL-2.0 + +====================================== +Virtually Contiguous Memory Allocation +====================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/draft_ietf.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/draft_ietf.rst index 22c65ddb25..5ed39ab823 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/draft_ietf.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/draft_ietf.rst @@ -1,5 +1,5 @@ -Draft IETF CIPSO IP Security ----------------------------- - - .. include:: draft-ietf-cipso-ipsecurity-01.txt - :literal: +Draft IETF CIPSO IP Security +---------------------------- + + .. include:: draft-ietf-cipso-ipsecurity-01.txt + :literal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/index.rst index 84b5965dee..984e1b191b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/netlabel/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======== -NetLabel -======== - -.. toctree:: - :maxdepth: 1 - - introduction - cipso_ipv4 - lsm_interface - - draft_ietf - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +======== +NetLabel +======== + +.. toctree:: + :maxdepth: 1 + + introduction + cipso_ipv4 + lsm_interface + + draft_ietf + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/caif/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/caif/index.rst index bf18df39bf..ec29b6f4bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/caif/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/caif/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -CAIF -==== - -Contents: - -.. toctree:: - :maxdepth: 2 - - linux_caif - caif +.. SPDX-License-Identifier: GPL-2.0 + +CAIF +==== + +Contents: + +.. toctree:: + :maxdepth: 2 + + linux_caif + caif diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/atm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/atm/index.rst index 4ab80642a3..7b593f031a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/atm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/atm/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Asynchronous Transfer Mode (ATM) Device Drivers -=============================================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - cxacru - fore200e - iphase - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Asynchronous Transfer Mode (ATM) Device Drivers +=============================================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + cxacru + fore200e + iphase + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cable/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cable/index.rst index 3b952f3edb..cce3c43929 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cable/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cable/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Cable Modem Device Drivers -========================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - sb1000 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Cable Modem Device Drivers +========================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + sb1000 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cellular/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cellular/index.rst index c50919da12..fc1812d3fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cellular/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/cellular/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Cellular Modem Device Drivers -============================= - -Contents: - -.. toctree:: - :maxdepth: 2 - - qualcomm/rmnet - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Cellular Modem Device Drivers +============================= + +Contents: + +.. toctree:: + :maxdepth: 2 + + qualcomm/rmnet + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/index.rst index ce017a2aed..62f4a4aff6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/index.rst @@ -1,12 +1,12 @@ -=================== -DPAA2 Documentation -=================== - -.. toctree:: - :maxdepth: 1 - - overview - dpio-driver - ethernet-driver - mac-phy-support - switch-driver +=================== +DPAA2 Documentation +=================== + +.. toctree:: + :maxdepth: 1 + + overview + dpio-driver + ethernet-driver + mac-phy-support + switch-driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/fddi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/fddi/index.rst index 260cb02f9f..0b75294e6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/fddi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/fddi/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Fiber Distributed Data Interface (FDDI) Device Drivers -====================================================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - defza - skfp - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Fiber Distributed Data Interface (FDDI) Device Drivers +====================================================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + defza + skfp + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/hamradio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/hamradio/index.rst index 677d16d04e..7e73173205 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/hamradio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/hamradio/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Amateur Radio Device Drivers -============================ - -Contents: - -.. toctree:: - :maxdepth: 2 - - baycom - z8530drv - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Amateur Radio Device Drivers +============================ + +Contents: + +.. toctree:: + :maxdepth: 2 + + baycom + z8530drv + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wifi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wifi/index.rst index aeb4a5bf2d..fb394f5de4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wifi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wifi/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Wi-Fi Device Drivers -==================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - intel/ipw2100 - intel/ipw2200 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Wi-Fi Device Drivers +==================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + intel/ipw2100 + intel/ipw2200 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wwan/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wwan/index.rst index 31849fbac1..370d8264d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wwan/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/wwan/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -WWAN Device Drivers -=================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - iosm - t7xx - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0-only + +WWAN Device Drivers +=================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + iosm + t7xx + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/dsa/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/dsa/index.rst index 8b8bcdbf68..ee631e2d64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/dsa/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/dsa/index.rst @@ -1,13 +1,13 @@ -=============================== -Distributed Switch Architecture -=============================== - -.. toctree:: - :maxdepth: 1 - - dsa - b53 - bcm_sf2 - lan9303 - sja1105 - configuration +=============================== +Distributed Switch Architecture +=============================== + +.. toctree:: + :maxdepth: 1 + + dsa + b53 + bcm_sf2 + lan9303 + sja1105 + configuration diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/generic_netlink.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/generic_netlink.rst index bdc1e39c8a..d960dbd7e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/generic_netlink.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/generic_netlink.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Generic Netlink -=============== - -A wiki document on how to use Generic Netlink can be found here: - - * https://wiki.linuxfoundation.org/networking/generic_netlink_howto +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Generic Netlink +=============== + +A wiki document on how to use Generic Netlink can be found here: + + * https://wiki.linuxfoundation.org/networking/generic_netlink_howto diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/hostapd.conf b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/hostapd.conf index ec244f2fd0..08cde7e35f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/hostapd.conf +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/hostapd.conf @@ -1,11 +1,11 @@ -interface=wlan0 -driver=nl80211 - -hw_mode=g -channel=1 -ssid=mac80211 test - -wpa=2 -wpa_key_mgmt=WPA-PSK -wpa_pairwise=CCMP -wpa_passphrase=12345678 +interface=wlan0 +driver=nl80211 + +hw_mode=g +channel=1 +ssid=mac80211 test + +wpa=2 +wpa_key_mgmt=WPA-PSK +wpa_pairwise=CCMP +wpa_passphrase=12345678 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/wpa_supplicant.conf b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/wpa_supplicant.conf index 50fe0019f0..299128cff0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/wpa_supplicant.conf +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/mac80211_hwsim/wpa_supplicant.conf @@ -1,10 +1,10 @@ -ctrl_interface=/var/run/wpa_supplicant - -network={ - ssid="mac80211 test" - psk="12345678" - key_mgmt=WPA-PSK - proto=WPA2 - pairwise=CCMP - group=CCMP -} +ctrl_interface=/var/run/wpa_supplicant + +network={ + ssid="mac80211 test" + psk="12345678" + key_mgmt=WPA-PSK + proto=WPA2 + pairwise=CCMP + group=CCMP +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/net_cachelines/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/net_cachelines/index.rst index a6583cf1c6..2669e4cda0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/net_cachelines/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/net_cachelines/index.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. Copyright (C) 2023 Google LLC - -=================================== -Common Networking Struct Cachelines -=================================== - -.. toctree:: - :maxdepth: 1 - - inet_connection_sock - inet_sock - net_device - netns_ipv4_sysctl - snmp - tcp_sock +.. SPDX-License-Identifier: GPL-2.0 +.. Copyright (C) 2023 Google LLC + +=================================== +Common Networking Struct Cachelines +=================================== + +.. toctree:: + :maxdepth: 1 + + inet_connection_sock + inet_sock + net_device + netns_ipv4_sysctl + snmp + tcp_sock diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netlink_spec/readme.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netlink_spec/readme.txt index f01e56314b..6763f99d21 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netlink_spec/readme.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netlink_spec/readme.txt @@ -1,4 +1,4 @@ -SPDX-License-Identifier: GPL-2.0 - -This file is populated during the build of the documentation (htmldocs) by the -tools/net/ynl/ynl-gen-rst.py script. +SPDX-License-Identifier: GPL-2.0 + +This file is populated during the build of the documentation (htmldocs) by the +tools/net/ynl/ynl-gen-rst.py script. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/pse-pd/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/pse-pd/index.rst index 88f3ac5d57..de28a5aee3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/pse-pd/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/pse-pd/index.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Power Sourcing Equipment (PSE) Documentation -============================================ - -.. toctree:: - :maxdepth: 2 - - introduction - pse-pi +.. SPDX-License-Identifier: GPL-2.0 + +Power Sourcing Equipment (PSE) Documentation +============================================ + +.. toctree:: + :maxdepth: 2 + + introduction + pse-pi diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/team.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/team.rst index d4118b0fd8..0a7f3a0595 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/team.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/team.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -Team -==== - -Team devices are driven from userspace via libteam library which is here: - https://github.com/jpirko/libteam +.. SPDX-License-Identifier: GPL-2.0 + +==== +Team +==== + +Team devices are driven from userspace via libteam library which is here: + https://github.com/jpirko/libteam diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/xfrm_sysctl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/xfrm_sysctl.rst index aeca0c2884..47b9bbdd01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/xfrm_sysctl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/xfrm_sysctl.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -XFRM Syscall -============ - -/proc/sys/net/core/xfrm_* Variables: -==================================== - -xfrm_acq_expires - INTEGER - default 30 - hard timeout in seconds for acquire requests +.. SPDX-License-Identifier: GPL-2.0 + +============ +XFRM Syscall +============ + +/proc/sys/net/core/xfrm_* Variables: +==================================== + +xfrm_acq_expires - INTEGER + default 30 - hard timeout in seconds for acquire requests diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/pcmcia/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/pcmcia/index.rst index 3083d47e53..8067236c51 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/pcmcia/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/pcmcia/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====== -PCMCIA -====== - -.. toctree:: - :maxdepth: 1 - - driver - devicetable - locking - driver-changes - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +====== +PCMCIA +====== + +.. toctree:: + :maxdepth: 1 + + driver + devicetable + locking + driver-changes + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/peci/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/peci/index.rst index 16c86c307c..930e75217c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/peci/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/peci/index.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -============== -PECI Subsystem -============== - -.. toctree:: - - peci - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0-only + +============== +PECI Subsystem +============== + +.. toctree:: + + peci + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/text_files.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/text_files.rst index 0a836dee05..0bc50307b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/text_files.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/text_files.rst @@ -1,5 +1,5 @@ -Scheduler pelt c program ------------------------- - -.. literalinclude:: sched-pelt.c - :language: c +Scheduler pelt c program +------------------------ + +.. literalinclude:: sched-pelt.c + :language: c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/scsi_transport_srp/figures.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/scsi_transport_srp/figures.rst index 12c30284f6..6c8f8dd630 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/scsi_transport_srp/figures.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/scsi_transport_srp/figures.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GPL-2.0 - -SCSI RDMA (SRP) transport class diagram -======================================= - -.. kernel-figure:: rport_state_diagram.dot +.. SPDX-License-Identifier: GPL-2.0 + +SCSI RDMA (SRP) transport class diagram +======================================= + +.. kernel-figure:: rport_state_diagram.dot diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/index.rst index 21bed65867..3e0a7114a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/index.rst @@ -1,22 +1,22 @@ -====================== -Security Documentation -====================== - -.. toctree:: - :maxdepth: 1 - - credentials - snp-tdx-threat-model - IMA-templates - keys/index - lsm - lsm-development - sak - SCTP - self-protection - siphash - tpm/index - digsig - landlock - secrets/index - ipe +====================== +Security Documentation +====================== + +.. toctree:: + :maxdepth: 1 + + credentials + snp-tdx-threat-model + IMA-templates + keys/index + lsm + lsm-development + sak + SCTP + self-protection + siphash + tpm/index + digsig + landlock + secrets/index + ipe diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/keys/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/keys/index.rst index 1b252f7a09..647d58f258 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/keys/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/keys/index.rst @@ -1,11 +1,11 @@ -=========== -Kernel Keys -=========== - -.. toctree:: - :maxdepth: 1 - - core - ecryptfs - request-key - trusted-encrypted +=========== +Kernel Keys +=========== + +.. toctree:: + :maxdepth: 1 + + core + ecryptfs + request-key + trusted-encrypted diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/secrets/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/secrets/index.rst index 125c9164e8..ced34e9c43 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/secrets/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/secrets/index.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -Secrets documentation -===================== - -.. toctree:: - - coco +.. SPDX-License-Identifier: GPL-2.0 + +===================== +Secrets documentation +===================== + +.. toctree:: + + coco diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/index.rst index 594bd7ed16..fa593d9600 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/index.rst @@ -1,12 +1,12 @@ -===================================== -Trusted Platform Module documentation -===================================== - -.. toctree:: - - tpm_event_log - tpm-security - tpm_tis - tpm_vtpm_proxy - xen-tpmfront - tpm_ftpm_tee +===================================== +Trusted Platform Module documentation +===================================== + +.. toctree:: + + tpm_event_log + tpm-security + tpm_tis + tpm_vtpm_proxy + xen-tpmfront + tpm_ftpm_tee diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/index.rst index e84c15ffed..e68bbb13c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/index.rst @@ -1,21 +1,21 @@ -Card-Specific Information -========================= - -.. toctree:: - :maxdepth: 2 - - joystick - cmipci - sb-live-mixer - audigy-mixer - emu-mixer - emu10k1-jack - via82xx-mixer - audiophile-usb - mixart - bt87x - maya44 - hdspm - serial-u16550 - img-spdif-in - pcmtest +Card-Specific Information +========================= + +.. toctree:: + :maxdepth: 2 + + joystick + cmipci + sb-live-mixer + audigy-mixer + emu-mixer + emu10k1-jack + via82xx-mixer + audiophile-usb + mixart + bt87x + maya44 + hdspm + serial-u16550 + img-spdif-in + pcmtest diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/via82xx-mixer.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/via82xx-mixer.rst index 18b25109c9..6ee993d453 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/via82xx-mixer.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/cards/via82xx-mixer.rst @@ -1,8 +1,8 @@ -============= -VIA82xx mixer -============= - -On many VIA82xx boards, the ``Input Source Select`` mixer control does not work. -Setting it to ``Input2`` on such boards will cause recording to hang, or fail -with EIO (input/output error) via OSS emulation. This control should be left -at ``Input1`` for such cards. +============= +VIA82xx mixer +============= + +On many VIA82xx boards, the ``Input Source Select`` mixer control does not work. +Setting it to ``Input2`` on such boards will cause recording to hang, or fail +with EIO (input/output error) via OSS emulation. This control should be left +at ``Input1`` for such cards. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/designs/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/designs/index.rst index af4e6b2d1b..b79db9ad87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/designs/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/designs/index.rst @@ -1,18 +1,18 @@ -Designs and Implementations -=========================== - -.. toctree:: - :maxdepth: 2 - - control-names - channel-mapping-api - compress-offload - timestamping - jack-controls - tracepoints - procfile - powersave - oss-emulation - seq-oss - jack-injection - midi-2.0 +Designs and Implementations +=========================== + +.. toctree:: + :maxdepth: 2 + + control-names + channel-mapping-api + compress-offload + timestamping + jack-controls + tracepoints + procfile + powersave + oss-emulation + seq-oss + jack-injection + midi-2.0 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/hd-audio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/hd-audio/index.rst index dbbccd719a..baefe4a5d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/hd-audio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/hd-audio/index.rst @@ -1,12 +1,12 @@ -HD-Audio -======== - -.. toctree:: - :maxdepth: 2 - - notes - models - controls - dp-mst - realtek-pc-beep - intel-multi-link +HD-Audio +======== + +.. toctree:: + :maxdepth: 2 + + notes + models + controls + dp-mst + realtek-pc-beep + intel-multi-link diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/kernel-api/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/kernel-api/index.rst index 857af6ea9e..d0e6df35b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/kernel-api/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/kernel-api/index.rst @@ -1,8 +1,8 @@ -ALSA Kernel API Documentation -============================= - -.. toctree:: - :maxdepth: 2 - - alsa-driver-api - writing-an-alsa-driver +ALSA Kernel API Documentation +============================= + +.. toctree:: + :maxdepth: 2 + + alsa-driver-api + writing-an-alsa-driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/soc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/soc/index.rst index 1f0f8052c5..e57df2dab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/soc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/soc/index.rst @@ -1,20 +1,20 @@ -============== -ALSA SoC Layer -============== - -The documentation is spilt into the following sections:- - -.. toctree:: - :maxdepth: 2 - - overview - codec - dai - dapm - platform - machine - pops-clicks - clocking - jack - dpcm - codec-to-codec +============== +ALSA SoC Layer +============== + +The documentation is spilt into the following sections:- + +.. toctree:: + :maxdepth: 2 + + overview + codec + dai + dapm + platform + machine + pops-clicks + clocking + jack + dpcm + codec-to-codec diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/spi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/spi/index.rst index fae8d8fbe1..824ce42ed4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/spi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/spi/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================= -Serial Peripheral Interface (SPI) -================================= - -.. toctree:: - :maxdepth: 1 - - spi-summary - spidev - butterfly - spi-lm70llp - spi-sc18is602 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================================= +Serial Peripheral Interface (SPI) +================================= + +.. toctree:: + :maxdepth: 1 + + spi-summary + spidev + butterfly + spi-lm70llp + spi-sc18is602 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/staging/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/staging/index.rst index c0b771943d..77bae5e532 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/staging/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/staging/index.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Unsorted Documentation -====================== - -.. toctree:: - :maxdepth: 2 - - crc32 - lzo - magic-number - remoteproc - rpmsg - speculation - static-keys - xz +.. SPDX-License-Identifier: GPL-2.0 + +Unsorted Documentation +====================== + +.. toctree:: + :maxdepth: 2 + + crc32 + lzo + magic-number + remoteproc + rpmsg + speculation + static-keys + xz diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/target/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/target/index.rst index 76327c48d5..4b24f81f74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/target/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/target/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================== -TCM Virtual Device -================== - -.. toctree:: - :maxdepth: 1 - - tcmu-design - tcm_mod_builder - scripts - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================== +TCM Virtual Device +================== + +.. toctree:: + :maxdepth: 1 + + tcmu-design + tcm_mod_builder + scripts + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/target/scripts.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/target/scripts.rst index d661859a4f..aa7b9c62c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/target/scripts.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/target/scripts.rst @@ -1,5 +1,5 @@ -Target export device script ---------------------------- - -.. literalinclude:: target-export-device - :language: shell +Target export device script +--------------------------- + +.. literalinclude:: target-export-device + :language: shell diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tee/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tee/index.rst index e8afde2a48..4be6e69d78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tee/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tee/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -TEE Subsystem -============= - -.. toctree:: - :maxdepth: 1 - - tee - op-tee - amd-tee - ts-tee - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============= +TEE Subsystem +============= + +.. toctree:: + :maxdepth: 1 + + tee + op-tee + amd-tee + ts-tee + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/timers/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/timers/index.rst index 035b4c7124..983f91f8f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/timers/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/timers/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====== -Timers -====== - -.. toctree:: - :maxdepth: 1 - - highres - hpet - hrtimers - no_hz - timekeeping - timers-howto - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +====== +Timers +====== + +.. toctree:: + :maxdepth: 1 + + highres + hpet + hrtimers + no_hz + timekeeping + timers-howto + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/index.rst index 1d2b4d7a2e..80488e290e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -Kernel tools -============ - -This book covers user-space tools that are shipped with the kernel source; -more additions are needed here: - -.. toctree:: - :maxdepth: 1 - - rtla/index - rv/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============ +Kernel tools +============ + +This book covers user-space tools that are shipped with the kernel source; +more additions are needed here: + +.. toctree:: + :maxdepth: 1 + + rtla/index + rv/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_appendix.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_appendix.rst index 39b65ed431..b5cf2dc223 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_appendix.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_appendix.rst @@ -1,13 +1,13 @@ -REPORTING BUGS -============== -Report bugs to -and - -LICENSE -======= -**rtla** is Free Software licensed under the GNU GPLv2 - -COPYING -======= -Copyright \(C) 2021 Red Hat, Inc. Free use of this software is granted under -the terms of the GNU Public License (GPL). +REPORTING BUGS +============== +Report bugs to +and + +LICENSE +======= +**rtla** is Free Software licensed under the GNU GPLv2 + +COPYING +======= +Copyright \(C) 2021 Red Hat, Inc. Free use of this software is granted under +the terms of the GNU Public License (GPL). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_aa.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_aa.rst index cc67dc8822..077029e6b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_aa.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_aa.rst @@ -1,7 +1,7 @@ -**--dump-tasks** - - prints the task running on all CPUs if stop conditions are met (depends on !--no-aa) - -**--no-aa** - - disable auto-analysis, reducing rtla timerlat cpu usage +**--dump-tasks** + + prints the task running on all CPUs if stop conditions are met (depends on !--no-aa) + +**--no-aa** + + disable auto-analysis, reducing rtla timerlat cpu usage diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_top_options.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_top_options.rst index 769cd501ee..f48878938f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_top_options.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_top_options.rst @@ -1,3 +1,3 @@ -**-q**, **--quiet** - - Print only a summary at the end of the session. +**-q**, **--quiet** + + Print only a summary at the end of the session. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_appendix.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_appendix.rst index 4cc6e08ac1..f4239192be 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_appendix.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_appendix.rst @@ -1,16 +1,16 @@ -REPORTING BUGS -============== - -Report bugs to -and - -LICENSE -======= - -**rv** is Free Software licensed under the GNU GPLv2 - -COPYING -======= - -Copyright \(C) 2022 Red Hat, Inc. Free use of this software is granted under -the terms of the GNU Public License (GPL). +REPORTING BUGS +============== + +Report bugs to +and + +LICENSE +======= + +**rv** is Free Software licensed under the GNU GPLv2 + +COPYING +======= + +Copyright \(C) 2022 Red Hat, Inc. Free use of this software is granted under +the terms of the GNU Public License (GPL). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/coresight/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/coresight/index.rst index f8e34eec08..8d31b155a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/coresight/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/coresight/index.rst @@ -1,9 +1,9 @@ -============================== -CoreSight - ARM Hardware Trace -============================== - -.. toctree:: - :maxdepth: 2 - :glob: - - * +============================== +CoreSight - ARM Hardware Trace +============================== + +.. toctree:: + :maxdepth: 2 + :glob: + + * diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/rv/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/rv/index.rst index aedcbb7bff..15fa966102 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/rv/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/rv/index.rst @@ -1,14 +1,14 @@ -==================== -Runtime Verification -==================== - -.. toctree:: - :maxdepth: 2 - :glob: - - runtime-verification.rst - deterministic_automata.rst - da_monitor_synthesis.rst - da_monitor_instrumentation.rst - monitor_wip.rst - monitor_wwnr.rst +==================== +Runtime Verification +==================== + +.. toctree:: + :maxdepth: 2 + :glob: + + runtime-verification.rst + deterministic_automata.rst + da_monitor_synthesis.rst + da_monitor_instrumentation.rst + monitor_wip.rst + monitor_wwnr.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/RCU/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/RCU/index.rst index 377e2a8e48..22adf1d587 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/RCU/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/RCU/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _it_rcu_concepts: - -=============== -Concetti su RCU -=============== - -.. toctree:: - :maxdepth: 3 - - torture - -.. only:: subproject and html - - Indici - ====== - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. _it_rcu_concepts: + +=============== +Concetti su RCU +=============== + +.. toctree:: + :maxdepth: 3 + + torture + +.. only:: subproject and html + + Indici + ====== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/README.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/README.rst index 2de5aff8a3..c874586a9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/README.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/README.rst @@ -1,12 +1,12 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/admin-guide/README.rst ` - -.. _it_readme: - -Rilascio del kernel Linux 6.x -=================================================== - -.. warning:: - - TODO ancora da tradurre +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/admin-guide/README.rst ` + +.. _it_readme: + +Rilascio del kernel Linux 6.x +=================================================== + +.. warning:: + + TODO ancora da tradurre diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/kernel-parameters.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/kernel-parameters.rst index 78dbc7dab8..0e36d82a92 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/kernel-parameters.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/admin-guide/kernel-parameters.rst @@ -1,12 +1,12 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/admin-guide/kernel-parameters.rst ` - -.. _it_kernelparameters: - -I parametri da linea di comando del kernel -========================================== - -.. warning:: - - TODO ancora da tradurre +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/admin-guide/kernel-parameters.rst ` + +.. _it_kernelparameters: + +I parametri da linea di comando del kernel +========================================== + +.. warning:: + + TODO ancora da tradurre diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/memory-allocation.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/memory-allocation.rst index f57b167068..11d5148f8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/memory-allocation.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/memory-allocation.rst @@ -1,13 +1,13 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/core-api/memory-allocation.rst ` - -.. _it_memory_allocation: - -================================ -Guida all'allocazione di memoria -================================ - -.. warning:: - - TODO ancora da tradurre +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/core-api/memory-allocation.rst ` + +.. _it_memory_allocation: + +================================ +Guida all'allocazione di memoria +================================ + +.. warning:: + + TODO ancora da tradurre diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/devicetree/bindings/submitting-patches.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/devicetree/bindings/submitting-patches.rst index f68fe8c146..b473cd2190 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/devicetree/bindings/submitting-patches.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/devicetree/bindings/submitting-patches.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-ita.rst - -:Original: Documentation/devicetree/bindings/submitting-patches.rst - -================================================ -Sottomettere patch per devicetree (DT) *binding* -================================================ - -.. note:: to be translated +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-ita.rst + +:Original: Documentation/devicetree/bindings/submitting-patches.rst + +================================================ +Sottomettere patch per devicetree (DT) *binding* +================================================ + +.. note:: to be translated diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/disclaimer-ita.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/disclaimer-ita.rst index 0cc1e469ea..bfe8a384ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/disclaimer-ita.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/disclaimer-ita.rst @@ -1,6 +1,6 @@ -:orphan: - -.. warning:: - In caso di dubbi sulla correttezza del contenuto di questa traduzione, - l'unico riferimento valido è la documentazione ufficiale in inglese. - Per maggiori informazioni consultate le :ref:`avvertenze `. +:orphan: + +.. warning:: + In caso di dubbi sulla correttezza del contenuto di questa traduzione, + l'unico riferimento valido è la documentazione ufficiale in inglese. + Per maggiori informazioni consultate le :ref:`avvertenze `. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/kernel-hacking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/kernel-hacking/index.rst index 21bde443bd..50228380bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/kernel-hacking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/kernel-hacking/index.rst @@ -1,16 +1,16 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/kernel-hacking/index.rst ` -:Translator: Federico Vaga - -.. _it_kernel_hacking: - -============================ -Guida all'hacking del kernel -============================ - -.. toctree:: - :maxdepth: 2 - - hacking - locking +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/kernel-hacking/index.rst ` +:Translator: Federico Vaga + +.. _it_kernel_hacking: + +============================ +Guida all'hacking del kernel +============================ + +.. toctree:: + :maxdepth: 2 + + hacking + locking diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/locking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/locking/index.rst index 638380c1fd..19963d33e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/locking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/locking/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================ -Sincronizzazione -================ - -.. toctree:: - :maxdepth: 1 - - locktypes - lockdep-design - lockstat - locktorture - -.. only:: subproject and html - - Indici - ====== - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================ +Sincronizzazione +================ + +.. toctree:: + :maxdepth: 1 + + locktypes + lockdep-design + lockstat + locktorture + +.. only:: subproject and html + + Indici + ====== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/maintainer/configure-git.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/maintainer/configure-git.rst index 6901ee8512..8316fa5394 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/maintainer/configure-git.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/maintainer/configure-git.rst @@ -1,10 +1,10 @@ -.. include:: ../disclaimer-ita.rst - -:Original: Documentation/process/botching-up-ioctls.rst - -.. _it_configuregit: - -Configurare Git -=============== - -.. note:: To be translated +.. include:: ../disclaimer-ita.rst + +:Original: Documentation/process/botching-up-ioctls.rst + +.. _it_configuregit: + +Configurare Git +=============== + +.. note:: To be translated diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/code-of-conduct.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/code-of-conduct.rst index 41a271f6a6..7dbd7f55f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/code-of-conduct.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/code-of-conduct.rst @@ -1,12 +1,12 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/process/code-of-conduct.rst ` - -.. _it_code_of_conduct: - -Accordo dei contributori sul codice di condotta -+++++++++++++++++++++++++++++++++++++++++++++++ - -.. warning:: - - TODO ancora da tradurre +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/process/code-of-conduct.rst ` + +.. _it_code_of_conduct: + +Accordo dei contributori sul codice di condotta ++++++++++++++++++++++++++++++++++++++++++++++++ + +.. warning:: + + TODO ancora da tradurre diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-tip.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-tip.rst index a337c2ce20..126f17ee54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-tip.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-tip.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-ita.rst - -:Original: Documentation/process/maintainer-tip.rst - -Il tascabile dei sorgenti tip -============================= - -.. note:: To be translated +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-ita.rst + +:Original: Documentation/process/maintainer-tip.rst + +Il tascabile dei sorgenti tip +============================= + +.. note:: To be translated diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/security-bugs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/security-bugs.rst index 707accf913..20994f4bfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/security-bugs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/security-bugs.rst @@ -1,12 +1,12 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/process/security-bugs.rst ` - -.. _it_securitybugs: - -Bachi di sicurezza -================== - -.. warning:: - - TODO ancora da tradurre +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/process/security-bugs.rst ` + +.. _it_securitybugs: + +Bachi di sicurezza +================== + +.. warning:: + + TODO ancora da tradurre diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ja_JP/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ja_JP/index.rst index 2fd011b1a2..0b476b429e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ja_JP/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ja_JP/index.rst @@ -1,18 +1,18 @@ -.. raw:: latex - - \renewcommand\thesection* - \renewcommand\thesubsection* - \kerneldocCJKon - \kerneldocBeginJP{ - -日本語訳 -===================== - -.. toctree:: - :maxdepth: 1 - - process/howto - -.. raw:: latex - - }\kerneldocEndJP +.. raw:: latex + + \renewcommand\thesection* + \renewcommand\thesubsection* + \kerneldocCJKon + \kerneldocBeginJP{ + +日本語訳 +===================== + +.. toctree:: + :maxdepth: 1 + + process/howto + +.. raw:: latex + + }\kerneldocEndJP diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/index.rst index 582d52de18..a20772f9d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/index.rst @@ -1,19 +1,19 @@ -.. raw:: latex - - \renewcommand\thesection* - \renewcommand\thesubsection* - \kerneldocCJKon - \kerneldocBeginKR{ - -한국어 번역 -=========== - -.. toctree:: - :maxdepth: 1 - - process/howto - core-api/wrappers/memory-barriers.rst - -.. raw:: latex - - }\kerneldocEndKR +.. raw:: latex + + \renewcommand\thesection* + \renewcommand\thesubsection* + \kerneldocCJKon + \kerneldocBeginKR{ + +한국어 번역 +=========== + +.. toctree:: + :maxdepth: 1 + + process/howto + core-api/wrappers/memory-barriers.rst + +.. raw:: latex + + }\kerneldocEndKR diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/3.Early-stage.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/3.Early-stage.rst index 8024dbadb4..71cfb3fb0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/3.Early-stage.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/3.Early-stage.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/3.Early-stage.rst - -.. _sp_development_early_stage: - -Planificación en etapa inicial -============================== - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/3.Early-stage.rst + +.. _sp_development_early_stage: + +Planificación en etapa inicial +============================== + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/4.Coding.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/4.Coding.rst index 6dd596d6bf..d9436e039b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/4.Coding.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/4.Coding.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/4.Coding.rst - -.. _sp_development_coding: - -Conseguir el código correcto -============================ - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/4.Coding.rst + +.. _sp_development_coding: + +Conseguir el código correcto +============================ + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/5.Posting.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/5.Posting.rst index 2e91800e4f..50a3bc5998 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/5.Posting.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/5.Posting.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/5.Posting.rst - -.. _sp_development_posting: - -Publicar parches -================ - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/5.Posting.rst + +.. _sp_development_posting: + +Publicar parches +================ + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/6.Followthrough.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/6.Followthrough.rst index 4cb3d13928..f0acf9082b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/6.Followthrough.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/6.Followthrough.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/6.Followthrough.rst - -.. _sp_development_followthrough: - -Seguimiento -=========== - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/6.Followthrough.rst + +.. _sp_development_followthrough: + +Seguimiento +=========== + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/7.AdvancedTopics.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/7.AdvancedTopics.rst index 4711384a59..5537598573 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/7.AdvancedTopics.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/7.AdvancedTopics.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/7.AdvancedTopics.rst - -.. _sp_development_advancedtopics: - -Temas avanzados -=============== - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/7.AdvancedTopics.rst + +.. _sp_development_advancedtopics: + +Temas avanzados +=============== + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/8.Conclusion.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/8.Conclusion.rst index 89ff1812fe..dd181cb8ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/8.Conclusion.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/8.Conclusion.rst @@ -1,11 +1,11 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/8.Conclusion.rst - -.. _sp_development_conclusion: - -Para más información -==================== - -.. warning:: - TODO aún no traducido +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/8.Conclusion.rst + +.. _sp_development_conclusion: + +Para más información +==================== + +.. warning:: + TODO aún no traducido diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/scheduler/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/scheduler/index.rst index c4e8334d87..32f9fd7517 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/scheduler/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/scheduler/index.rst @@ -1,9 +1,9 @@ -.. include:: ../disclaimer-sp.rst - -.. _sp_scheduler_index: - -.. toctree:: - :maxdepth: 1 - - sched-design-CFS - sched-eevdf +.. include:: ../disclaimer-sp.rst + +.. _sp_scheduler_index: + +.. toctree:: + :maxdepth: 1 + + sched-design-CFS + sched-eevdf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/accounting/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/accounting/index.rst index 406853ea41..a34952e12a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/accounting/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/accounting/index.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/accounting/index.rst -:Translator: Yang Yang - -.. _cn_accounting_index.rst: - - -==== -计数 -==== - -.. toctree:: - :maxdepth: 1 - - delay-accounting - psi - taskstats - -Todolist: - - cgroupstats - taskstats-struct +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/accounting/index.rst +:Translator: Yang Yang + +.. _cn_accounting_index.rst: + + +==== +计数 +==== + +.. toctree:: + :maxdepth: 1 + + delay-accounting + psi + taskstats + +Todolist: + + cgroupstats + taskstats-struct diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst index dc18772b51..659264d5f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst @@ -1,9 +1,9 @@ -清除 WARN_ONCE --------------- - -WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息. - -echo 1 > /sys/kernel/debug/clear_warn_once - -可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题 -很有用。 +清除 WARN_ONCE +-------------- + +WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息. + +echo 1 > /sys/kernel/debug/clear_warn_once + +可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题 +很有用。 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/arm64/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/arm64/index.rst index c78a4a6cb9..e12b9f6e5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/arm64/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/arm64/index.rst @@ -1,19 +1,19 @@ -.. include:: ../../disclaimer-zh_CN.rst - -:Original: :ref:`Documentation/arch/arm64/index.rst ` -:Translator: Bailu Lin - -.. _cn_arm64_index: - - -========== -ARM64 架构 -========== - -.. toctree:: - :maxdepth: 2 - - amu - hugetlbpage - perf - elf_hwcaps +.. include:: ../../disclaimer-zh_CN.rst + +:Original: :ref:`Documentation/arch/arm64/index.rst ` +:Translator: Bailu Lin + +.. _cn_arm64_index: + + +========== +ARM64 架构 +========== + +.. toctree:: + :maxdepth: 2 + + amu + hugetlbpage + perf + elf_hwcaps diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/features.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/features.rst index 3e290e7358..cec38dda82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/features.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/features.rst @@ -1,8 +1,8 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/loongarch/features.rst -:Translator: Huacai Chen - -.. kernel-feat:: features loongarch +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/loongarch/features.rst +:Translator: Huacai Chen + +.. kernel-feat:: features loongarch diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/features.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/features.rst index 8bfc792ce9..0d6df97db0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/features.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/features.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/mips/features.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_features: - -.. kernel-feat:: features mips +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/mips/features.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_features: + +.. kernel-feat:: features mips diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/irq/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/irq/index.rst index 0764c55e54..ba6acc4b48 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/irq/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/irq/index.rst @@ -1,22 +1,22 @@ -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/core-api/irq/index.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_irq_index.rst: - - -==== -IRQs -==== - -.. toctree:: - :maxdepth: 1 - - concepts - irq-affinity - irq-domain - irqflags-tracing +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/core-api/irq/index.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_irq_index.rst: + + +==== +IRQs +==== + +.. toctree:: + :maxdepth: 1 + + concepts + irq-affinity + irq-domain + irqflags-tracing diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/phy/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/phy/index.rst index 111146c219..2cdce17b74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/phy/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/phy/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -PHY 通用框架 -============ - -.. toctree:: - - phy - -Todolist: - -* samsung-usb2 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============ +PHY 通用框架 +============ + +.. toctree:: + + phy + +Todolist: + +* samsung-usb2 + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/iio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/iio/index.rst index a578fa4cdb..32d69047b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/iio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/iio/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/iio/index.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_iio_index: - -======== -工业 I/O -======== - -.. toctree:: - :maxdepth: 1 - - iio_configfs - - ep93xx_adc +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/iio/index.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_iio_index: + +======== +工业 I/O +======== + +.. toctree:: + :maxdepth: 1 + + iio_configfs + + ep93xx_adc diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kernel-hacking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kernel-hacking/index.rst index 048b1d978d..df530de227 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kernel-hacking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kernel-hacking/index.rst @@ -1,22 +1,22 @@ -.. _kernel_hacking_zh: - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/kernel-hacking/index.rst - -:译者: - - 吴想成 Wu XiangCheng - -============= -内核骇客指南 -============= - -.. toctree:: - :maxdepth: 2 - - hacking - -TODO - -- locking +.. _kernel_hacking_zh: + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/kernel-hacking/index.rst + +:译者: + + 吴想成 Wu XiangCheng + +============= +内核骇客指南 +============= + +.. toctree:: + :maxdepth: 2 + + hacking + +TODO + +- locking diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/peci/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/peci/index.rst index e8a07fcf43..4f6694c828 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/peci/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/peci/index.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0-only -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/peci/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - -================= -Linux PECI 子系统 -================= - -.. toctree:: - - - peci - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0-only +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/peci/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + +================= +Linux PECI 子系统 +================= + +.. toctree:: + + + peci + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/hd-audio/index.rst index e85e43e38f..d9885d53b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/hd-audio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/hd-audio/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_CN.rst - -:Original: :doc:`../../../../sound/hd-audio/index` -:Translator: Huang Jianghui - - -高清音频 -======== - -.. toctree:: - :maxdepth: 2 - - controls +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: :doc:`../../../../sound/hd-audio/index` +:Translator: Huang Jianghui + + +高清音频 +======== + +.. toctree:: + :maxdepth: 2 + + controls diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/staging/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/staging/index.rst index efe9abb0ba..bb55c81c84 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/staging/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/staging/index.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/staging/index.rst - -:翻译: - - 李睿 Rui Li - -未分类文档 -========== - -.. toctree:: - :maxdepth: 2 - - xz - -TODOList: - -* crc32 -* lzo -* remoteproc -* rpmsg -* speculation -* static-keys -* tee +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/staging/index.rst + +:翻译: + + 李睿 Rui Li + +未分类文档 +========== + +.. toctree:: + :maxdepth: 2 + + xz + +TODOList: + +* crc32 +* lzo +* remoteproc +* rpmsg +* speculation +* static-keys +* tee diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/features.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/features.rst index 22d4e6782f..c2175fd32b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/features.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/features.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/loongarch/features.rst -:Translator: Huacai Chen - -.. kernel-feat:: features loongarch - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/loongarch/features.rst +:Translator: Huacai Chen + +.. kernel-feat:: features loongarch + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/features.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/features.rst index 249d2d9a0d..3d3906c4d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/features.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/features.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/mips/features.rst - -:翻譯: - - 司延騰 Yanteng Si - -.. _tw_features: - -.. kernel-feat:: features mips - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/mips/features.rst + +:翻譯: + + 司延騰 Yanteng Si + +.. _tw_features: + +.. kernel-feat:: features mips + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/text_files.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/text_files.rst index e7c915e345..1c18c05c39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/text_files.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/text_files.rst @@ -1,23 +1,23 @@ -Linux CDC ACM inf ------------------ - -.. include:: linux-cdc-acm.inf - :literal: - -Linux inf ---------- - -.. include:: linux.inf - :literal: - -USB devfs drop permissions source ---------------------------------- - -.. literalinclude:: usbdevfs-drop-permissions.c - :language: c - -Credits -------- - -.. include:: CREDITS - :literal: +Linux CDC ACM inf +----------------- + +.. include:: linux-cdc-acm.inf + :literal: + +Linux inf +--------- + +.. include:: linux.inf + :literal: + +USB devfs drop permissions source +--------------------------------- + +.. literalinclude:: usbdevfs-drop-permissions.c + :language: c + +Credits +------- + +.. include:: CREDITS + :literal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/index.rst index b17e5db6be..f258de4ef3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -GPIO -==== - -.. toctree:: - :maxdepth: 1 - - Character Device Userspace API - Obsolete Userspace APIs - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +==== +GPIO +==== + +.. toctree:: + :maxdepth: 1 + + Character Device Userspace API + Obsolete Userspace APIs + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/obsolete.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/obsolete.rst index 040d850005..c42538b44e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/obsolete.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/obsolete.rst @@ -1,11 +1,11 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================ -Obsolete GPIO Userspace APIs -============================ - -.. toctree:: - :maxdepth: 1 - - Character Device Userspace API (v1) - Sysfs Interface +.. SPDX-License-Identifier: GPL-2.0 + +============================ +Obsolete GPIO Userspace APIs +============================ + +.. toctree:: + :maxdepth: 1 + + Character Device Userspace API (v1) + Sysfs Interface diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/index.rst index 9233ae5567..475675eae0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/index.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====== -IOCTLs -====== - -.. toctree:: - :maxdepth: 1 - - ioctl-number - - ioctl-decoding - - cdrom - hdio +.. SPDX-License-Identifier: GPL-2.0 + +====== +IOCTLs +====== + +.. toctree:: + :maxdepth: 1 + + ioctl-number + + ioctl-decoding + + cdrom + hdio diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-header.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-header.rst index f975f978a4..d70736ac2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-header.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-header.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _cec_header: - -*************** -CEC Header File -*************** - -.. kernel-include:: $BUILDDIR/cec.h.rst - +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _cec_header: + +*************** +CEC Header File +*************** + +.. kernel-include:: $BUILDDIR/cec.h.rst + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_data_types.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_data_types.rst index 830d5e494d..54ea2a9875 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_data_types.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_data_types.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _ca_data_types: - -************* -CA Data Types -************* - -.. kernel-doc:: include/uapi/linux/dvb/ca.h +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _ca_data_types: + +************* +CA Data Types +************* + +.. kernel-doc:: include/uapi/linux/dvb/ca.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_function_calls.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_function_calls.rst index c2e2b59b6c..3b893fbd50 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_function_calls.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca_function_calls.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _ca_function_calls: - -***************** -CA Function Calls -***************** - -.. toctree:: - :maxdepth: 1 - - ca-fopen - ca-fclose - ca-reset - ca-get-cap - ca-get-slot-info - ca-get-descr-info - ca-get-msg - ca-send-msg - ca-set-descr +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _ca_function_calls: + +***************** +CA Function Calls +***************** + +.. toctree:: + :maxdepth: 1 + + ca-fopen + ca-fclose + ca-reset + ca-get-cap + ca-get-slot-info + ca-get-descr-info + ca-get-msg + ca-send-msg + ca-set-descr diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_types.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_types.rst index 969ab6521b..33458fbb84 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_types.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_types.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dmx_types: - -**************** -Demux Data Types -**************** - -.. kernel-doc:: include/uapi/linux/dvb/dmx.h +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dmx_types: + +**************** +Demux Data Types +**************** + +.. kernel-doc:: include/uapi/linux/dvb/dmx.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-frontend-event.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-frontend-event.rst index f0ff7741a6..0e2fd3a0a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-frontend-event.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-frontend-event.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. c:type:: dvb_frontend_event - -*************** -frontend events -*************** - - -.. code-block:: c - - struct dvb_frontend_event { - fe_status_t status; - struct dvb_frontend_parameters parameters; - }; +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. c:type:: dvb_frontend_event + +*************** +frontend events +*************** + + +.. code-block:: c + + struct dvb_frontend_event { + fe_status_t status; + struct dvb_frontend_parameters parameters; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend-header.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend-header.rst index dc642aefb4..77f4033614 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend-header.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend-header.rst @@ -1,6 +1,6 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -Frontend uAPI data types -======================== - -.. kernel-doc:: include/uapi/linux/dvb/frontend.h +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +Frontend uAPI data types +======================== + +.. kernel-doc:: include/uapi/linux/dvb/frontend.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-types.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-types.rst index 2ca61413a2..075264bc03 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-types.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-types.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _net_types: - -************** -Net Data Types -************** - -.. kernel-doc:: include/uapi/linux/dvb/net.h +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _net_types: + +************** +Net Data Types +************** + +.. kernel-doc:: include/uapi/linux/dvb/net.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-header.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-header.rst index 4f791f848a..c674271c93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-header.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-header.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _media_header: - -**************************** -Media Controller Header File -**************************** - -.. kernel-include:: $BUILDDIR/media.h.rst - +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _media_header: + +**************************** +Media Controller Header File +**************************** + +.. kernel-include:: $BUILDDIR/media.h.rst + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-dev.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-dev.rst index 8a4bff6032..978f86d30f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-dev.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-dev.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later - -.. _lirc_dev: - -LIRC Device Interface -===================== - - -.. toctree:: - :maxdepth: 1 - - lirc-dev-intro - lirc-func - lirc-header +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later + +.. _lirc_dev: + +LIRC Device Interface +===================== + + +.. toctree:: + :maxdepth: 1 + + lirc-dev-intro + lirc-func + lirc-header diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-header.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-header.rst index 15de4bb082..54cb40b8a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-header.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-header.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later - -.. _lirc_header: - -**************** -LIRC Header File -**************** - -.. kernel-include:: $BUILDDIR/lirc.h.rst - +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later + +.. _lirc_header: + +**************** +LIRC Header File +**************** + +.. kernel-include:: $BUILDDIR/lirc.h.rst + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/capture-example.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/capture-example.rst index 65da804264..25891320b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/capture-example.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/capture-example.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _capture-example: - -********************* -Video Capture Example -********************* - - -.. toctree:: - :maxdepth: 1 - - capture.c +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _capture-example: + +********************* +Video Capture Example +********************* + + +.. toctree:: + :maxdepth: 1 + + capture.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/common-defs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/common-defs.rst index 4a118fe679..6ae42ac7dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/common-defs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/common-defs.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _common-defs: - -****************************************************** -Common definitions for V4L2 and V4L2 subdev interfaces -****************************************************** - - -.. toctree:: - :maxdepth: 1 - - selections-common +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _common-defs: + +****************************************************** +Common definitions for V4L2 and V4L2 subdev interfaces +****************************************************** + + +.. toctree:: + :maxdepth: 1 + + selections-common diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/compat.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/compat.rst index 6438eaf3f0..b63b8392de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/compat.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/compat.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _compat: - -******* -Changes -******* - -The following chapters document the evolution of the V4L2 API, errata or -extensions. They are also intended to help application and driver -writers to port or update their code. - - -.. toctree:: - :maxdepth: 1 - - diff-v4l - hist-v4l2 +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _compat: + +******* +Changes +******* + +The following chapters document the evolution of the V4L2 API, errata or +extensions. They are also intended to help application and driver +writers to port or update their code. + + +.. toctree:: + :maxdepth: 1 + + diff-v4l + hist-v4l2 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/depth-formats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/depth-formats.rst index 1d20db072e..b4f3fc229c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/depth-formats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/depth-formats.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _depth-formats: - -************* -Depth Formats -************* - -Depth data provides distance to points, mapped onto the image plane - - -.. toctree:: - :maxdepth: 1 - - pixfmt-inzi - pixfmt-z16 - pixfmt-cnf4 +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _depth-formats: + +************* +Depth Formats +************* + +Depth data provides distance to points, mapped onto the image plane + + +.. toctree:: + :maxdepth: 1 + + pixfmt-inzi + pixfmt-z16 + pixfmt-cnf4 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/devices.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/devices.rst index 23da1576fa..8bfbad65a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/devices.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/devices.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _devices: - -********** -Interfaces -********** - - -.. toctree:: - :maxdepth: 1 - - dev-capture - dev-overlay - dev-output - dev-osd - dev-mem2mem - dev-raw-vbi - dev-sliced-vbi - dev-radio - dev-rds - dev-sdr - dev-touch - dev-event - dev-subdev - dev-meta +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _devices: + +********** +Interfaces +********** + + +.. toctree:: + :maxdepth: 1 + + dev-capture + dev-overlay + dev-output + dev-osd + dev-mem2mem + dev-raw-vbi + dev-sliced-vbi + dev-radio + dev-rds + dev-sdr + dev-touch + dev-event + dev-subdev + dev-meta diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/libv4l.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/libv4l.rst index 69806378f3..f446dd2d01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/libv4l.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/libv4l.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _libv4l: - -************************ -Libv4l Userspace Library -************************ - - -.. toctree:: - :maxdepth: 1 - - libv4l-introduction +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _libv4l: + +************************ +Libv4l Userspace Library +************************ + + +.. toctree:: + :maxdepth: 1 + + libv4l-introduction diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/tch-formats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/tch-formats.rst index 871ba50356..8c941ff9e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/tch-formats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/tch-formats.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _tch-formats: - -************* -Touch Formats -************* - -These formats are used for :ref:`touch` interface only. - - -.. toctree:: - :maxdepth: 1 - - pixfmt-tch-td16 - pixfmt-tch-td08 - pixfmt-tch-tu16 - pixfmt-tch-tu08 +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _tch-formats: + +************* +Touch Formats +************* + +These formats are used for :ref:`touch` interface only. + + +.. toctree:: + :maxdepth: 1 + + pixfmt-tch-td16 + pixfmt-tch-td08 + pixfmt-tch-tu16 + pixfmt-tch-tu08 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/videodev.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/videodev.rst index ff56f9235c..c866fec417 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/videodev.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/videodev.rst @@ -1,9 +1,9 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _videodev: - -******************************* -Video For Linux Two Header File -******************************* - -.. kernel-include:: $BUILDDIR/videodev2.h.rst +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _videodev: + +******************************* +Video For Linux Two Header File +******************************* + +.. kernel-include:: $BUILDDIR/videodev2.h.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/acrn/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/acrn/index.rst index b2af296eff..b5f793e73d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/acrn/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/acrn/index.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -ACRN Hypervisor -=============== - -.. toctree:: - :maxdepth: 1 - - introduction - io-request - cpuid +.. SPDX-License-Identifier: GPL-2.0 + +=============== +ACRN Hypervisor +=============== + +.. toctree:: + :maxdepth: 1 + + introduction + io-request + cpuid diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/hyperv/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/hyperv/index.rst index 24c4d82f43..79bc408032 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/hyperv/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/hyperv/index.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -Hyper-V Enlightenments -====================== - -.. toctree:: - :maxdepth: 1 - - overview - vmbus - clocks - vpci - coco +.. SPDX-License-Identifier: GPL-2.0 + +====================== +Hyper-V Enlightenments +====================== + +.. toctree:: + :maxdepth: 1 + + overview + vmbus + clocks + vpci + coco diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/arm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/arm/index.rst index 42407a3355..ec09881de4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/arm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/arm/index.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=== -ARM -=== - -.. toctree:: - :maxdepth: 2 - - fw-pseudo-registers - hyp-abi - hypercalls - pvtime - ptp_kvm - vcpu-features +.. SPDX-License-Identifier: GPL-2.0 + +=== +ARM +=== + +.. toctree:: + :maxdepth: 2 + + fw-pseudo-registers + hyp-abi + hypercalls + pvtime + ptp_kvm + vcpu-features diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/README b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/README index e6dbcc7d8a..34a6983412 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/README +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/README @@ -1 +1 @@ -This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL. +This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/index.rst index 8977788ec5..192cda7405 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/devices/index.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -Devices -======= - -.. toctree:: - :maxdepth: 2 - - arm-vgic-its - arm-vgic - arm-vgic-v3 - mpic - s390_flic - vcpu - vfio - vm - xics - xive +.. SPDX-License-Identifier: GPL-2.0 + +======= +Devices +======= + +.. toctree:: + :maxdepth: 2 + + arm-vgic-its + arm-vgic + arm-vgic-v3 + mpic + s390_flic + vcpu + vfio + vm + xics + xive diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/index.rst index c03d444c91..9ca5a45c21 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=== -KVM -=== - -.. toctree:: - :maxdepth: 2 - - api - devices/index - - arm/index - s390/index - ppc-pv - x86/index - loongarch/index - - locking - vcpu-requests - halt-polling - review-checklist +.. SPDX-License-Identifier: GPL-2.0 + +=== +KVM +=== + +.. toctree:: + :maxdepth: 2 + + api + devices/index + + arm/index + s390/index + ppc-pv + x86/index + loongarch/index + + locking + vcpu-requests + halt-polling + review-checklist diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/loongarch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/loongarch/index.rst index ef074e258b..83387b4c53 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/loongarch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/loongarch/index.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -KVM for LoongArch systems -========================= - -.. toctree:: - :maxdepth: 2 - - hypercalls.rst +.. SPDX-License-Identifier: GPL-2.0 + +========================= +KVM for LoongArch systems +========================= + +.. toctree:: + :maxdepth: 2 + + hypercalls.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/s390/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/s390/index.rst index 75d0a882dc..44ec9ab14b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/s390/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/s390/index.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -KVM for s390 systems -==================== - -.. toctree:: - :maxdepth: 2 - - s390-diag - s390-pv - s390-pv-boot - s390-pv-dump +.. SPDX-License-Identifier: GPL-2.0 + +==================== +KVM for s390 systems +==================== + +.. toctree:: + :maxdepth: 2 + + s390-diag + s390-pv + s390-pv-boot + s390-pv-dump diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/x86/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/x86/index.rst index bd46ff90d7..9ece6b8dc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/x86/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/kvm/x86/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -KVM for x86 systems -=================== - -.. toctree:: - :maxdepth: 2 - - amd-memory-encryption - cpuid - errata - hypercalls - mmu - msr - nested-vmx - running-nested-guests - timekeeping +.. SPDX-License-Identifier: GPL-2.0 + +=================== +KVM for x86 systems +=================== + +.. toctree:: + :maxdepth: 2 + + amd-memory-encryption + cpuid + errata + hypercalls + mmu + msr + nested-vmx + running-nested-guests + timekeeping diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/index.rst index 3819d36eb9..156279f175 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================ -1-Wire Subsystem -================ - -.. toctree:: - :maxdepth: 1 - - - w1-generic.rst - w1-netlink.rst - masters/index - slaves/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================ +1-Wire Subsystem +================ + +.. toctree:: + :maxdepth: 1 + + + w1-generic.rst + w1-netlink.rst + masters/index + slaves/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/index.rst index c2c2399d74..cc40189909 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/index.rst @@ -1,15 +1,15 @@ -. SPDX-License-Identifier: GPL-2.0 - -===================== -1-wire Master Drivers -===================== - -.. toctree:: - :maxdepth: 1 - - ds2482 - ds2490 - mxc-w1 - omap-hdq - w1-gpio - w1-uart +. SPDX-License-Identifier: GPL-2.0 + +===================== +1-wire Master Drivers +===================== + +.. toctree:: + :maxdepth: 1 + + ds2482 + ds2490 + mxc-w1 + omap-hdq + w1-gpio + w1-uart diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/slaves/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/slaves/index.rst index 9fc5ebc180..d0697b202f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/slaves/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/slaves/index.rst @@ -1,16 +1,16 @@ -. SPDX-License-Identifier: GPL-2.0 - -==================== -1-wire Slave Drivers -==================== - -.. toctree:: - :maxdepth: 1 - - w1_ds2406 - w1_ds2413 - w1_ds2423 - w1_ds2438 - w1_ds28e04 - w1_ds28e17 - w1_therm +. SPDX-License-Identifier: GPL-2.0 + +==================== +1-wire Slave Drivers +==================== + +.. toctree:: + :maxdepth: 1 + + w1_ds2406 + w1_ds2413 + w1_ds2423 + w1_ds2438 + w1_ds28e04 + w1_ds28e17 + w1_therm diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/index.rst index 031cc2d486..fec4b6ae97 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/index.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -============= -WMI Subsystem -============= - -.. toctree:: - :maxdepth: 1 - - acpi-interface - driver-development-guide - devices/index - -.. only:: subproject and html - - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0-or-later + +============= +WMI Subsystem +============= + +.. toctree:: + :maxdepth: 1 + + acpi-interface + driver-development-guide + devices/index + +.. only:: subproject and html + + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/alpha/Kbuild index de967bd504..345d79df24 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ -obj-$(CONFIG_MATHEMU) += math-emu/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_MATHEMU) += math-emu/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/Kbuild index 5f5a2825e3..396caece6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/Kbuild @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -generated-y += syscall_table.h -generic-y += agp.h -generic-y += asm-offsets.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h +# SPDX-License-Identifier: GPL-2.0 + +generated-y += syscall_table.h +generic-y += agp.h +generic-y += asm-offsets.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/compiler.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/compiler.h index 092ed3012e..ae64595901 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/compiler.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/compiler.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_COMPILER_H -#define __ALPHA_COMPILER_H - -#include - -#endif /* __ALPHA_COMPILER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_COMPILER_H +#define __ALPHA_COMPILER_H + +#include + +#endif /* __ALPHA_COMPILER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/delay.h index a86e9a1ac5..868aa61aba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/delay.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_DELAY_H -#define __ALPHA_DELAY_H - -extern void __delay(int loops); -extern void udelay(unsigned long usecs); - -extern void ndelay(unsigned long nsecs); -#define ndelay ndelay - -#endif /* defined(__ALPHA_DELAY_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_DELAY_H +#define __ALPHA_DELAY_H + +extern void __delay(int loops); +extern void udelay(unsigned long usecs); + +extern void ndelay(unsigned long nsecs); +#define ndelay ndelay + +#endif /* defined(__ALPHA_DELAY_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/device.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/device.h index c953ff9311..9ca75a7db2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/device.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/device.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Arch specific extensions to struct device - */ -#include - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Arch specific extensions to struct device + */ +#include + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/dma-mapping.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/dma-mapping.h index 267f7787b5..ad5a59b035 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/dma-mapping.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/dma-mapping.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_DMA_MAPPING_H -#define _ALPHA_DMA_MAPPING_H - -extern const struct dma_map_ops alpha_pci_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(void) -{ - return &alpha_pci_ops; -} - -#endif /* _ALPHA_DMA_MAPPING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_DMA_MAPPING_H +#define _ALPHA_DMA_MAPPING_H + +extern const struct dma_map_ops alpha_pci_ops; + +static inline const struct dma_map_ops *get_arch_dma_ops(void) +{ + return &alpha_pci_ops; +} + +#endif /* _ALPHA_DMA_MAPPING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/emergency-restart.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/emergency-restart.h index 1793541761..108d8c48e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/emergency-restart.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/emergency-restart.h @@ -1,6 +1,6 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include - -#endif /* _ASM_EMERGENCY_RESTART_H */ +#ifndef _ASM_EMERGENCY_RESTART_H +#define _ASM_EMERGENCY_RESTART_H + +#include + +#endif /* _ASM_EMERGENCY_RESTART_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/err_ev6.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/err_ev6.h index 9c1a968037..ea637791e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/err_ev6.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/err_ev6.h @@ -1,6 +1,6 @@ -#ifndef __ALPHA_ERR_EV6_H -#define __ALPHA_ERR_EV6_H 1 - -/* Dummy include for now. */ - -#endif /* __ALPHA_ERR_EV6_H */ +#ifndef __ALPHA_ERR_EV6_H +#define __ALPHA_ERR_EV6_H 1 + +/* Dummy include for now. */ + +#endif /* __ALPHA_ERR_EV6_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hardirq.h index 58d55ee87e..5ce5b34e8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hardirq.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_HARDIRQ_H -#define _ALPHA_HARDIRQ_H - -void ack_bad_irq(unsigned int irq); -#define ack_bad_irq ack_bad_irq - -#include - -#endif /* _ALPHA_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_HARDIRQ_H +#define _ALPHA_HARDIRQ_H + +void ack_bad_irq(unsigned int irq); +#define ack_bad_irq ack_bad_irq + +#include + +#endif /* _ALPHA_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hw_irq.h index 8022d792f0..e2d81ac0d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/hw_irq.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_HW_IRQ_H -#define _ALPHA_HW_IRQ_H - - -extern volatile unsigned long irq_err_count; -DECLARE_PER_CPU(unsigned long, irq_pmi_count); - -#ifdef CONFIG_ALPHA_GENERIC -#define ACTUAL_NR_IRQS alpha_mv.nr_irqs -#else -#define ACTUAL_NR_IRQS NR_IRQS -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_HW_IRQ_H +#define _ALPHA_HW_IRQ_H + + +extern volatile unsigned long irq_err_count; +DECLARE_PER_CPU(unsigned long, irq_pmi_count); + +#ifdef CONFIG_ALPHA_GENERIC +#define ACTUAL_NR_IRQS alpha_mv.nr_irqs +#else +#define ACTUAL_NR_IRQS NR_IRQS +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/linkage.h index e00cb2d04d..aa8661fa60 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/linkage.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") -#define SYSCALL_ALIAS(alias, name) \ - asm ( #alias " = " #name "\n\t.globl " #alias) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") +#define SYSCALL_ALIAS(alias, name) \ + asm ( #alias " = " #name "\n\t.globl " #alias) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mmu.h index ae524bb2df..dadfc1b6e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mmu.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_MMU_H -#define __ALPHA_MMU_H - -/* The alpha MMU context is one "unsigned long" bitmap per CPU */ -typedef unsigned long mm_context_t[NR_CPUS]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_MMU_H +#define __ALPHA_MMU_H + +/* The alpha MMU context is one "unsigned long" bitmap per CPU */ +typedef unsigned long mm_context_t[NR_CPUS]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/module.h index 9b8525f690..1e96e42f5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/module.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_MODULE_H -#define _ALPHA_MODULE_H - -#include - -struct mod_arch_specific -{ - unsigned int gotsecindex; -}; - -#define ARCH_SHF_SMALL SHF_ALPHA_GPREL - -#ifdef MODULE -asm(".section .got,\"aws\",@progbits; .align 3; .previous"); -#endif - -#endif /*_ALPHA_MODULE_H*/ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_MODULE_H +#define _ALPHA_MODULE_H + +#include + +struct mod_arch_specific +{ + unsigned int gotsecindex; +}; + +#define ARCH_SHF_SMALL SHF_ALPHA_GPREL + +#ifdef MODULE +asm(".section .got,\"aws\",@progbits; .align 3; .previous"); +#endif + +#endif /*_ALPHA_MODULE_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/param.h index 5926d8124b..cfe947ce94 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/param.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ALPHA_PARAM_H -#define _ASM_ALPHA_PARAM_H - -#include - -# undef HZ -# define HZ CONFIG_HZ -# define USER_HZ 1024 -# define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */ - -#endif /* _ASM_ALPHA_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ALPHA_PARAM_H +#define _ASM_ALPHA_PARAM_H + +#include + +# undef HZ +# define HZ CONFIG_HZ +# define USER_HZ 1024 +# define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */ + +#endif /* _ASM_ALPHA_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/perf_event.h index d18035ea75..5996e7a675 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/perf_event.h @@ -1,4 +1,4 @@ -#ifndef __ASM_ALPHA_PERF_EVENT_H -#define __ASM_ALPHA_PERF_EVENT_H - -#endif /* __ASM_ALPHA_PERF_EVENT_H */ +#ifndef __ASM_ALPHA_PERF_EVENT_H +#define __ASM_ALPHA_PERF_EVENT_H + +#endif /* __ASM_ALPHA_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/shmparam.h index ccc980cf13..0c04fde1ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/shmparam.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMAXP_SHMPARAM_H -#define _ASMAXP_SHMPARAM_H - -#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ - -#endif /* _ASMAXP_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMAXP_SHMPARAM_H +#define _ASMAXP_SHMPARAM_H + +#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ + +#endif /* _ASMAXP_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/socket.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/socket.h index 9fbf80bc60..76a32817e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/socket.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/socket.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SOCKET_H -#define _ASM_SOCKET_H - -#include - -/* O_NONBLOCK clashes with the bits used for socket types. Therefore we - * have to define SOCK_NONBLOCK to a different value here. - */ -#define SOCK_NONBLOCK 0x40000000 -#endif /* _ASM_SOCKET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SOCKET_H +#define _ASM_SOCKET_H + +#include + +/* O_NONBLOCK clashes with the bits used for socket types. Therefore we + * have to define SOCK_NONBLOCK to a different value here. + */ +#define SOCK_NONBLOCK 0x40000000 +#endif /* _ASM_SOCKET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/tlb.h index 1a1764c6bc..4f79e331af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/tlb.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_TLB_H -#define _ALPHA_TLB_H - -#include - -#define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte) -#define __pmd_free_tlb(tlb, pmd, address) pmd_free((tlb)->mm, pmd) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_TLB_H +#define _ALPHA_TLB_H + +#include + +#define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte) +#define __pmd_free_tlb(tlb, pmd, address) pmd_free((tlb)->mm, pmd) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/topology.h index d30e7bf606..7d393036aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/topology.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ALPHA_TOPOLOGY_H -#define _ASM_ALPHA_TOPOLOGY_H - -#include -#include -#include -#include - -# include - -#endif /* _ASM_ALPHA_TOPOLOGY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ALPHA_TOPOLOGY_H +#define _ASM_ALPHA_TOPOLOGY_H + +#include +#include +#include +#include + +# include + +#endif /* _ASM_ALPHA_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/types.h index cfa61e27ad..b60b602764 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/types.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_TYPES_H -#define _ALPHA_TYPES_H - -#include - -#endif /* _ALPHA_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_TYPES_H +#define _ALPHA_TYPES_H + +#include + +#endif /* _ALPHA_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/vmalloc.h index 2b2f790d2a..0a9a366a4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_ALPHA_VMALLOC_H -#define _ASM_ALPHA_VMALLOC_H - -#endif /* _ASM_ALPHA_VMALLOC_H */ +#ifndef _ASM_ALPHA_VMALLOC_H +#define _ASM_ALPHA_VMALLOC_H + +#endif /* _ASM_ALPHA_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/bitsperlong.h index f694ffc2cf..6c5bf7d03f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/bitsperlong.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ALPHA_BITSPERLONG_H -#define __ASM_ALPHA_BITSPERLONG_H - -#define __BITS_PER_LONG 64 - -#include - -#endif /* __ASM_ALPHA_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ALPHA_BITSPERLONG_H +#define __ASM_ALPHA_BITSPERLONG_H + +#define __BITS_PER_LONG 64 + +#include + +#endif /* __ASM_ALPHA_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/byteorder.h index 3cd0169d0b..efa9b51b45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ALPHA_BYTEORDER_H -#define _ALPHA_BYTEORDER_H - -#include - -#endif /* _ALPHA_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ALPHA_BYTEORDER_H +#define _ALPHA_BYTEORDER_H + +#include + +#endif /* _ALPHA_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/param.h index f43128de88..49c7119934 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/param.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_ALPHA_PARAM_H -#define _UAPI_ASM_ALPHA_PARAM_H - -#define HZ 1024 - -#define EXEC_PAGESIZE 8192 - -#ifndef NOGROUP -#define NOGROUP (-1) -#endif - -#define MAXHOSTNAMELEN 64 /* max length of hostname */ - -#endif /* _UAPI_ASM_ALPHA_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_ALPHA_PARAM_H +#define _UAPI_ASM_ALPHA_PARAM_H + +#define HZ 1024 + +#define EXEC_PAGESIZE 8192 + +#ifndef NOGROUP +#define NOGROUP (-1) +#endif + +#define MAXHOSTNAMELEN 64 /* max length of hostname */ + +#endif /* _UAPI_ASM_ALPHA_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/setup.h index e19b64eb35..f881ea5947 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/setup.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ALPHA_SETUP_H -#define _UAPI__ALPHA_SETUP_H - -#define COMMAND_LINE_SIZE 256 - -#endif /* _UAPI__ALPHA_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ALPHA_SETUP_H +#define _UAPI__ALPHA_SETUP_H + +#define COMMAND_LINE_SIZE 256 + +#endif /* _UAPI__ALPHA_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/siginfo.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/siginfo.h index 5a76e86ed4..e08eae8818 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/siginfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/siginfo.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ALPHA_SIGINFO_H -#define _ALPHA_SIGINFO_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ALPHA_SIGINFO_H +#define _ALPHA_SIGINFO_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/statfs.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/statfs.h index 2ad82c6036..95852a4f57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/statfs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/statfs.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ALPHA_STATFS_H -#define _ALPHA_STATFS_H - -#include - -/* Alpha is the only 64-bit platform with 32-bit statfs. And doesn't - even seem to implement statfs64 */ -#define __statfs_word __u32 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ALPHA_STATFS_H +#define _ALPHA_STATFS_H + +#include + +/* Alpha is the only 64-bit platform with 32-bit statfs. And doesn't + even seem to implement statfs64 */ +#define __statfs_word __u32 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/systbls.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/systbls.S index 304a840103..68f3e4f329 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/systbls.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/systbls.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/kernel/systbls.S - * - * The system call table. - */ - -#include - -#define __SYSCALL(nr, entry) .quad entry - .data - .align 3 - .globl sys_call_table -sys_call_table: -#include +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/kernel/systbls.S + * + * The system call table. + */ + +#include + +#define __SYSCALL(nr, entry) .quad entry + .data + .align 3 + .globl sys_call_table +sys_call_table: +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/stycpy.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/stycpy.S index 1813b6d9c4..32ecd9c5f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/stycpy.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/stycpy.S @@ -1,11 +1,11 @@ -#include "strcpy.S" -#ifdef CONFIG_ALPHA_EV67 -#include "ev67-strcat.S" -#else -#include "strcat.S" -#endif -#ifdef CONFIG_ALPHA_EV6 -#include "ev6-stxcpy.S" -#else -#include "stxcpy.S" -#endif +#include "strcpy.S" +#ifdef CONFIG_ALPHA_EV67 +#include "ev67-strcat.S" +#else +#include "strcat.S" +#endif +#ifdef CONFIG_ALPHA_EV6 +#include "ev6-stxcpy.S" +#else +#include "stxcpy.S" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/styncpy.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/styncpy.S index 252add302d..72fc2754eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/styncpy.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/styncpy.S @@ -1,11 +1,11 @@ -#include "strncpy.S" -#ifdef CONFIG_ALPHA_EV67 -#include "ev67-strncat.S" -#else -#include "strncat.S" -#endif -#ifdef CONFIG_ALPHA_EV6 -#include "ev6-stxncpy.S" -#else -#include "stxncpy.S" -#endif +#include "strncpy.S" +#ifdef CONFIG_ALPHA_EV67 +#include "ev67-strncat.S" +#else +#include "strncat.S" +#endif +#ifdef CONFIG_ALPHA_EV6 +#include "ev6-stxncpy.S" +#else +#include "stxncpy.S" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/math-emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/alpha/math-emu/Makefile index c5e6de93c8..3206402a87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/math-emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/math-emu/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the FPU instruction emulation. -# - -ccflags-y := -w - -obj-$(CONFIG_MATHEMU) += math-emu.o - -math-emu-objs := math.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the FPU instruction emulation. +# + +ccflags-y := -w + +obj-$(CONFIG_MATHEMU) += math-emu.o + +math-emu-objs := math.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/alpha/mm/Makefile index 6813399a39..101dbd06b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/mm/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux alpha-specific parts of the memory manager. -# - -obj-y := init.o fault.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux alpha-specific parts of the memory manager. +# + +obj-y := init.o fault.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arc/Kbuild index 4dc99b3d41..20ea7dd482 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/Kbuild @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += kernel/ -obj-y += mm/ -obj-y += net/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0 +obj-y += kernel/ +obj-y += mm/ +obj-y += net/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/Kbuild index 1eefa0bded..49285a3ce2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/Kbuild @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h - -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += parport.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h + +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += parport.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/asm-offsets.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/asm-offsets.h index 02b1f03d28..32a1d3d518 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/asm-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/asm-offsets.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#include +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dma.h index 7bec776a38..02431027ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dma.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef ASM_ARC_DMA_H -#define ASM_ARC_DMA_H - -#define MAX_DMA_ADDRESS 0xC0000000 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef ASM_ARC_DMA_H +#define ASM_ARC_DMA_H + +#define MAX_DMA_ADDRESS 0xC0000000 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/exec.h index d5c616e9a5..6134175d96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/exec.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef __ASM_ARC_EXEC_H -#define __ASM_ARC_EXEC_H - -/* Align to 16b */ -#define arch_align_stack(p) ((unsigned long)(p) & ~0xf) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef __ASM_ARC_EXEC_H +#define __ASM_ARC_EXEC_H + +/* Align to 16b */ +#define arch_align_stack(p) ((unsigned long)(p) & ~0xf) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/kdebug.h index 4510bc2cf2..f92049d1d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/kdebug.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_KDEBUG_H -#define _ASM_ARC_KDEBUG_H - -enum die_val { - DIE_UNUSED, - DIE_TRAP, - DIE_IERR, - DIE_OOPS -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_KDEBUG_H +#define _ASM_ARC_KDEBUG_H + +enum die_val { + DIE_UNUSED, + DIE_TRAP, + DIE_IERR, + DIE_OOPS +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/sections.h index 579f974f0a..860b4fd67a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/sections.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_SECTIONS_H -#define _ASM_ARC_SECTIONS_H - -#include - -extern char __arc_dccm_base[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_SECTIONS_H +#define _ASM_ARC_SECTIONS_H + +#include + +extern char __arc_dccm_base[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/shmparam.h index e1953c8343..719112af0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/shmparam.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef __ARC_ASM_SHMPARAM_H -#define __ARC_ASM_SHMPARAM_H - -/* Handle up to 2 cache bins */ -#define SHMLBA (2 * PAGE_SIZE) - -/* Enforce SHMLBA in shmat */ -#define __ARCH_FORCE_SHMLBA - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef __ARC_ASM_SHMPARAM_H +#define __ARC_ASM_SHMPARAM_H + +/* Handle up to 2 cache bins */ +#define SHMLBA (2 * PAGE_SIZE) + +/* Enforce SHMLBA in shmat */ +#define __ARCH_FORCE_SHMLBA + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/tlb.h index 5b42ffb42f..975b35d373 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/tlb.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_TLB_H -#define _ASM_ARC_TLB_H - -#include -#include - -#endif /* _ASM_ARC_TLB_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_TLB_H +#define _ASM_ARC_TLB_H + +#include +#include + +#endif /* _ASM_ARC_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/unistd.h index ea2694f91a..211c230d88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/unistd.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_ARC_UNISTD_H -#define _ASM_ARC_UNISTD_H - -#include - -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_CLONE -#define __ARCH_WANT_SYS_VFORK -#define __ARCH_WANT_SYS_FORK - -#define NR_syscalls __NR_syscalls - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_ARC_UNISTD_H +#define _ASM_ARC_UNISTD_H + +#include + +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_SYS_VFORK +#define __ARCH_WANT_SYS_FORK + +#define NR_syscalls __NR_syscalls + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vermagic.h index b2f7579786..a10257d2c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vermagic.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#define MODULE_ARCH_VERMAGIC "ARC700" - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#define MODULE_ARCH_VERMAGIC "ARC700" + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vmalloc.h index 5d96deea45..973095aad6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_ARC_VMALLOC_H -#define _ASM_ARC_VMALLOC_H - -#endif /* _ASM_ARC_VMALLOC_H */ +#ifndef _ASM_ARC_VMALLOC_H +#define _ASM_ARC_VMALLOC_H + +#endif /* _ASM_ARC_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/Kbuild index c3638a3b19..2501e82a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h - -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h + +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/bpf_perf_event.h index 244bcf3331..6cb1c28232 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_BPF_PERF_EVENT_H__ - -#include - -typedef struct user_regs_struct bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ + +#include + +typedef struct user_regs_struct bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/setup.h index 511b00d30b..a6d4e44938 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/setup.h @@ -1,6 +1,6 @@ -/* - * setup.h is part of userspace header ABI so UAPI scripts have to generate it - * even if there's nothing to export - causing empty - * However to prevent "patch" from discarding it we add this placeholder - * comment - */ +/* + * setup.h is part of userspace header ABI so UAPI scripts have to generate it + * even if there's nothing to export - causing empty + * However to prevent "patch" from discarding it we add this placeholder + * comment + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile.syscalls index 04328b6c9f..391d30ab7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile.syscalls @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += arc time32 renameat stat64 rlimit +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += arc time32 renameat stat64 rlimit diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/unaligned.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/unaligned.h index 894566c90d..5244453bb8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/unaligned.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/unaligned.h @@ -1,16 +1,16 @@ -struct pt_regs; -struct callee_regs; - -#ifdef CONFIG_ARC_EMUL_UNALIGNED -int misaligned_fixup(unsigned long address, struct pt_regs *regs, - struct callee_regs *cregs); -#else -static inline int -misaligned_fixup(unsigned long address, struct pt_regs *regs, - struct callee_regs *cregs) -{ - /* Not fixed */ - return 1; -} -#endif - +struct pt_regs; +struct callee_regs; + +#ifdef CONFIG_ARC_EMUL_UNALIGNED +int misaligned_fixup(unsigned long address, struct pt_regs *regs, + struct callee_regs *cregs); +#else +static inline int +misaligned_fixup(unsigned long address, struct pt_regs *regs, + struct callee_regs *cregs) +{ + /* Not fixed */ + return 1; +} +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/Makefile index 7e98649abd..633a773369 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -# - -obj-y := extable.o ioremap.o dma.o fault.o init.o -obj-y += tlb.o tlbex.o cache.o mmap.o -obj-$(CONFIG_HIGHMEM) += highmem.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) +# + +obj-y := extable.o ioremap.o dma.o fault.o init.o +obj-y += tlb.o tlbex.o cache.o mmap.o +obj-$(CONFIG_HIGHMEM) += highmem.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/net/Makefile index 5124fd1d7f..ea5790952e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/net/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_ISA_ARCV2),y) - obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o - obj-$(CONFIG_BPF_JIT) += bpf_jit_arcv2.o -endif +# SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_ISA_ARCV2),y) + obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o + obj-$(CONFIG_BPF_JIT) += bpf_jit_arcv2.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-axs10x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-axs10x/Makefile index c0fb4e4335..cebe5716ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-axs10x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-axs10x/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) -# - -obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) +# + +obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Kconfig index c3273d20b9..a2d10c29fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Kconfig @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) -# - -menuconfig ARC_SOC_HSDK - bool "ARC HS Development Kit SOC" - depends on ISA_ARCV2 - select ARC_HAS_ACCL_REGS - select ARC_IRQ_NO_AUTOSAVE - select ARC_FPU_SAVE_RESTORE - select CLK_HSDK - select RESET_CONTROLLER - select RESET_HSDK - select HAVE_PCI +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) +# + +menuconfig ARC_SOC_HSDK + bool "ARC HS Development Kit SOC" + depends on ISA_ARCV2 + select ARC_HAS_ACCL_REGS + select ARC_IRQ_NO_AUTOSAVE + select ARC_FPU_SAVE_RESTORE + select CLK_HSDK + select RESET_CONTROLLER + select RESET_HSDK + select HAVE_PCI diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Makefile index 9eff9653a0..bb2921e824 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-hsdk/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) -# - -obj-y := platform.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) +# + +obj-y := platform.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/Makefile index 4bf0df7a5f..ea9389bf8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2011-2012 Synopsys, Inc. (www.synopsys.com) -# - -obj-y := platform.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2011-2012 Synopsys, Inc. (www.synopsys.com) +# + +obj-y := platform.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Makefile index 1ed6b8a760..8e97d454e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Abilis Systems TB10x platform Makefile -# -# Author: Christian Ruppert -# - - -KBUILD_CFLAGS += -Iarch/arc/plat-tb10x/include - -obj-y += tb10x.o +# SPDX-License-Identifier: GPL-2.0-only +# Abilis Systems TB10x platform Makefile +# +# Author: Christian Ruppert +# + + +KBUILD_CFLAGS += -Iarch/arc/plat-tb10x/include + +obj-y += tb10x.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/Kconfig.assembler b/image/debian/UFI003_MB_V02/kernel/arch/arm/Kconfig.assembler index 3634204d97..5cb31aae11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/Kconfig.assembler +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/Kconfig.assembler @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 - -config AS_VFP_VMRS_FPINST - def_bool $(as-instr,.fpu vfpv2\nvmrs r0$(comma)FPINST) - help - Supported by binutils >= 2.24 and LLVM integrated assembler. +# SPDX-License-Identifier: GPL-2.0 + +config AS_VFP_VMRS_FPINST + def_bool $(as-instr,.fpu vfpv2\nvmrs r0$(comma)FPINST) + help + Supported by binutils >= 2.24 and LLVM integrated assembler. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/.gitignore index bd1ebba3cd..8c759326ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -Image -zImage -xipImage -bootpImage -uImage +# SPDX-License-Identifier: GPL-2.0-only +Image +zImage +xipImage +bootpImage +uImage diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/initrd.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/initrd.S index 6e3a5dcc63..dd3d04971c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/initrd.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/initrd.S @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - .type initrd_start,#object - .globl initrd_start -initrd_start: - .incbin INITRD - .globl initrd_end -initrd_end: +/* SPDX-License-Identifier: GPL-2.0 */ + .type initrd_start,#object + .globl initrd_start +initrd_start: + .incbin INITRD + .globl initrd_end +initrd_end: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/kernel.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/kernel.S index 262dea96ed..dc6236c173 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/kernel.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/kernel.S @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - .globl kernel_start -kernel_start: - .incbin "arch/arm/boot/zImage" - .globl kernel_end -kernel_end: - .align 2 +/* SPDX-License-Identifier: GPL-2.0 */ + .globl kernel_start +kernel_start: + .incbin "arch/arm/boot/zImage" + .globl kernel_end +kernel_end: + .align 2 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/ashldi3.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/ashldi3.S index ce174f6819..216f82eda6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/ashldi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/ashldi3.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* For __aeabi_llsl */ -#include "../../lib/ashldi3.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +/* For __aeabi_llsl */ +#include "../../lib/ashldi3.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/big-endian.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/big-endian.S index c659732456..0e092c36da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/big-endian.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/big-endian.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * linux/arch/arm/boot/compressed/big-endian.S - * - * Switch CPU into big endian mode. - * Author: Nicolas Pitre - */ - - .section ".start", "ax" - - mrc p15, 0, r0, c1, c0, 0 @ read control reg - orr r0, r0, #(1 << 7) @ enable big endian mode - mcr p15, 0, r0, c1, c0, 0 @ write control reg - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * linux/arch/arm/boot/compressed/big-endian.S + * + * Switch CPU into big endian mode. + * Author: Nicolas Pitre + */ + + .section ".start", "ax" + + mrc p15, 0, r0, c1, c0, 0 @ read control reg + orr r0, r0, #(1 << 7) @ enable big endian mode + mcr p15, 0, r0, c1, c0, 0 @ write control reg + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/bswapsdi2.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/bswapsdi2.S index 6f8a70f1d0..b2156b378c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/bswapsdi2.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/bswapsdi2.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* For __bswapsi2, __bswapdi2 */ -#include "../../lib/bswapsdi2.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +/* For __bswapsi2, __bswapdi2 */ +#include "../../lib/bswapsdi2.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt.c index 99424a1aac..f8ea7a201a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fdt.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/fdt.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_ro.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_ro.c index 2ec2f644be..93970a4ad5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_ro.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_ro.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fdt_ro.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/fdt_ro.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_rw.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_rw.c index b2d4d12ca1..f7c6b8b7e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_rw.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_rw.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fdt_rw.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/fdt_rw.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_wip.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_wip.c index 9b0b82999f..048d2c7a08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_wip.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/fdt_wip.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fdt_wip.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/fdt_wip.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/font.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/font.c index 655063fe7b..46a677649d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/font.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/font.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fonts/font_acorn_8x8.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/fonts/font_acorn_8x8.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/hyp-stub.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/hyp-stub.S index 229f4a5510..a703eaa86f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/hyp-stub.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/hyp-stub.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../kernel/hyp-stub.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../kernel/hyp-stub.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/lib1funcs.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/lib1funcs.S index 38e60393ae..815dec73ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/lib1funcs.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/lib1funcs.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* For __aeabi_uidivmod */ -#include "../../lib/lib1funcs.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +/* For __aeabi_uidivmod */ +#include "../../lib/lib1funcs.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/piggy.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/piggy.S index 8904693b2c..27577644ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/piggy.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/piggy.S @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - .section .piggydata, "a" - .globl input_data -input_data: - .incbin "arch/arm/boot/compressed/piggy_data" - .globl input_data_end -input_data_end: +/* SPDX-License-Identifier: GPL-2.0 */ + .section .piggydata, "a" + .globl input_data +input_data: + .incbin "arch/arm/boot/compressed/piggy_data" + .globl input_data_end +input_data_end: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/Makefile index 1b2879ff4e..f384e4a48e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_ACTIONS) += \ - owl-s500-cubieboard6.dtb \ - owl-s500-guitar-bb-rev-b.dtb \ - owl-s500-labrador-base-m.dtb \ - owl-s500-roseapplepi.dtb \ - owl-s500-sparky.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_ACTIONS) += \ + owl-s500-cubieboard6.dtb \ + owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-labrador-base-m.dtb \ + owl-s500-roseapplepi.dtb \ + owl-s500-sparky.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar.dtsi index 7407f10ae0..81cc39871f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar.dtsi @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * LeMaker Guitar SoM - * - * Copyright (c) 2016-2017 Andreas Färber - */ - -#include "owl-s500.dtsi" - -/ { - compatible = "lemaker,guitar", "actions,s500"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x40000000>; - }; -}; - -&timer { - clocks = <&hosc>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * LeMaker Guitar SoM + * + * Copyright (c) 2016-2017 Andreas Färber + */ + +#include "owl-s500.dtsi" + +/ { + compatible = "lemaker,guitar", "actions,s500"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; + +&timer { + clocks = <&hosc>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/Makefile index 8f7c37793e..00c31389f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_AIROHA) += \ - en7523-evb.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_AIROHA) += \ + en7523-evb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h2-plus-libretech-all-h3-cc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h2-plus-libretech-all-h3-cc.dts index e37015c54a..4db0d4bb65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h2-plus-libretech-all-h3-cc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h2-plus-libretech-all-h3-cc.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2018 Chen-Yu Tsai - */ - -/dts-v1/; -#include "sun8i-h3.dtsi" -#include "sunxi-libretech-all-h3-cc.dtsi" - -/ { - model = "Libre Computer Board ALL-H3-CC H2+"; - compatible = "libretech,all-h3-cc-h2-plus", "allwinner,sun8i-h2-plus"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2018 Chen-Yu Tsai + */ + +/dts-v1/; +#include "sun8i-h3.dtsi" +#include "sunxi-libretech-all-h3-cc.dtsi" + +/ { + model = "Libre Computer Board ALL-H3-CC H2+"; + compatible = "libretech,all-h3-cc-h2-plus", "allwinner,sun8i-h2-plus"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-bananapi-m2-plus-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-bananapi-m2-plus-v1.2.dts index 760e6c386b..fc4a8c3d08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-bananapi-m2-plus-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-bananapi-m2-plus-v1.2.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2018 Chen-Yu Tsai - */ - -/dts-v1/; -#include "sun8i-h3.dtsi" -#include "sunxi-bananapi-m2-plus-v1.2.dtsi" - -/ { - model = "Banana Pi BPI-M2-Plus v1.2 H3"; - compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun8i-h3"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2018 Chen-Yu Tsai + */ + +/dts-v1/; +#include "sun8i-h3.dtsi" +#include "sunxi-bananapi-m2-plus-v1.2.dtsi" + +/ { + model = "Banana Pi BPI-M2-Plus v1.2 H3"; + compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun8i-h3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-emlid-neutis-n5h3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-emlid-neutis-n5h3.dtsi index b50802e3b9..35e71f46c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-emlid-neutis-n5h3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-emlid-neutis-n5h3.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * DTSI for Emlid Neutis N5 SoM. - * - * Copyright (C) 2019 Georgii Staroselskii - */ - -/dts-v1/; - -#include "sun8i-h3.dtsi" -#include "sunxi-h3-h5-emlid-neutis.dtsi" +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * DTSI for Emlid Neutis N5 SoM. + * + * Copyright (C) 2019 Georgii Staroselskii + */ + +/dts-v1/; + +#include "sun8i-h3.dtsi" +#include "sunxi-h3-h5-emlid-neutis.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-libretech-all-h3-cc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-libretech-all-h3-cc.dts index 73b98e18b9..a8b2f0f1c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-libretech-all-h3-cc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-h3-libretech-all-h3-cc.dts @@ -1,14 +1,14 @@ -/* - * Copyright (C) 2017 Chen-Yu Tsai - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) - */ - -/dts-v1/; -#include "sun8i-h3.dtsi" -#include "sunxi-libretech-all-h3-cc.dtsi" - -/ { - model = "Libre Computer Board ALL-H3-CC H3"; - compatible = "libretech,all-h3-cc-h3", "allwinner,sun8i-h3"; -}; +/* + * Copyright (C) 2017 Chen-Yu Tsai + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; +#include "sun8i-h3.dtsi" +#include "sunxi-libretech-all-h3-cc.dtsi" + +/ { + model = "Libre Computer Board ALL-H3-CC H3"; + compatible = "libretech,all-h3-cc-h3", "allwinner,sun8i-h3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-r16-nintendo-super-nes-classic.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-r16-nintendo-super-nes-classic.dts index 242bdf39db..80761d7904 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-r16-nintendo-super-nes-classic.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-r16-nintendo-super-nes-classic.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* Copyright (c) 2018 Miquèl RAYNAL */ - -/dts-v1/; -#include "sun8i-r16-nintendo-nes-classic.dts" - -/ { - model = "Nintendo SuperNES Classic Edition"; - compatible = "nintendo,super-nes-classic", "nintendo,nes-classic", - "allwinner,sun8i-r16", "allwinner,sun8i-a33"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* Copyright (c) 2018 Miquèl RAYNAL */ + +/dts-v1/; +#include "sun8i-r16-nintendo-nes-classic.dts" + +/ { + model = "Nintendo SuperNES Classic Edition"; + compatible = "nintendo,super-nes-classic", "nintendo,nes-classic", + "allwinner,sun8i-r16", "allwinner,sun8i-a33"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-v3-sl631-imx179.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-v3-sl631-imx179.dts index 7b3125bafa..117aeece4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-v3-sl631-imx179.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-v3-sl631-imx179.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR X11) -/* - * Copyright 2020 Paul Kocialkowski - */ - -#include "sun8i-v3-sl631.dtsi" - -/ { - model = "SL631 Action Camera with IMX179"; - compatible = "allwinner,sl631-imx179", "allwinner,sl631", - "allwinner,sun8i-v3"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR X11) +/* + * Copyright 2020 Paul Kocialkowski + */ + +#include "sun8i-v3-sl631.dtsi" + +/ { + model = "SL631 Action Camera with IMX179"; + compatible = "allwinner,sl631-imx179", "allwinner,sl631", + "allwinner,sun8i-v3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/Makefile index 41c94c2e16..8d1314fc79 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_MACH_ASM9260) += \ - alphascale-asm9260-devkit.dtb -dtb-$(CONFIG_MACH_ASM9260) += \ - alphascale-asm9260-devkit.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_MACH_ASM9260) += \ + alphascale-asm9260-devkit.dtb +dtb-$(CONFIG_MACH_ASM9260) += \ + alphascale-asm9260-devkit.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/alphascale-asm9260-devkit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/alphascale-asm9260-devkit.dts index e2563214d2..c77e2c902f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/alphascale-asm9260-devkit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/alphascale/alphascale-asm9260-devkit.dts @@ -1,13 +1,13 @@ -/* - * Copyright 2014 Oleksij Rempel - * - * Licensed under the X11 license or the GPL v2 (or later) - */ - -/dts-v1/; -#include "alphascale-asm9260.dtsi" - -/ { - model = "Alphascale asm9260 Development Kit"; - compatible = "alphascale,asm9260devkit", "alphascale,asm9260"; -}; +/* + * Copyright 2014 Oleksij Rempel + * + * Licensed under the X11 license or the GPL v2 (or later) + */ + +/dts-v1/; +#include "alphascale-asm9260.dtsi" + +/ { + model = "Alphascale asm9260 Development Kit"; + compatible = "alphascale,asm9260devkit", "alphascale,asm9260"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amazon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amazon/Makefile index 8bd4fd810a..58af5c4846 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amazon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amazon/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_ALPINE) += \ - alpine-db.dtb -dtb-$(CONFIG_ARCH_ALPINE) += \ - alpine-db.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_ALPINE) += \ + alpine-db.dtb +dtb-$(CONFIG_ARCH_ALPINE) += \ + alpine-db.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/Makefile index 6caf444a0c..a84310780e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_MACH_MESON6) += \ - meson6-atv1200.dtb -dtb-$(CONFIG_MACH_MESON8) += \ - meson8-minix-neo-x8.dtb \ - meson8b-ec100.dtb \ - meson8b-mxq.dtb \ - meson8b-odroidc1.dtb \ - meson8m2-mxiii-plus.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_MACH_MESON6) += \ + meson6-atv1200.dtb +dtb-$(CONFIG_MACH_MESON8) += \ + meson8-minix-neo-x8.dtb \ + meson8b-ec100.dtb \ + meson8b-mxq.dtb \ + meson8b-odroidc1.dtb \ + meson8m2-mxiii-plus.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge-4u.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge-4u.dts index 02d61f8777..839aad4ddd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge-4u.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge-4u.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// Copyright 2024 IBM Corp. -/dts-v1/; - -#include "aspeed-bmc-ibm-blueridge.dts" - -/ { - model = "Blueridge 4U"; -}; - -&i2c3 { - power-supply@6a { - compatible = "ibm,cffps"; - reg = <0x6a>; - }; - - power-supply@6b { - compatible = "ibm,cffps"; - reg = <0x6b>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2024 IBM Corp. +/dts-v1/; + +#include "aspeed-bmc-ibm-blueridge.dts" + +/ { + model = "Blueridge 4U"; +}; + +&i2c3 { + power-supply@6a { + compatible = "ibm,cffps"; + reg = <0x6a>; + }; + + power-supply@6b { + compatible = "ibm,cffps"; + reg = <0x6b>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dts index d9d6438009..f5f5b18c11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// Copyright 2021 IBM Corp. -/dts-v1/; - -#include "aspeed-bmc-ibm-rainier-4u.dts" - -/ { - model = "Rainier 1S4U"; -}; - -&max { - /delete-node/ fan3; - /delete-node/ fan5; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2021 IBM Corp. +/dts-v1/; + +#include "aspeed-bmc-ibm-rainier-4u.dts" + +/ { + model = "Rainier 1S4U"; +}; + +&max { + /delete-node/ fan3; + /delete-node/ fan5; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts index 9ecfed6b51..342546a3c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// Copyright 2020 IBM Corp. -/dts-v1/; - -#include "aspeed-bmc-ibm-rainier.dts" - -/ { - model = "Rainier 4U"; -}; - -&i2c3 { - power-supply@6a { - compatible = "ibm,cffps"; - reg = <0x6a>; - }; - - power-supply@6b { - compatible = "ibm,cffps"; - reg = <0x6b>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2020 IBM Corp. +/dts-v1/; + +#include "aspeed-bmc-ibm-rainier.dts" + +/ { + model = "Rainier 4U"; +}; + +&i2c3 { + power-supply@6a { + compatible = "ibm,cffps"; + reg = <0x6a>; + }; + + power-supply@6b { + compatible = "ibm,cffps"; + reg = <0x6b>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/Makefile index ad9989b16d..2cab414512 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_MACH_ARTPEC6) += \ - artpec6-devboard.dtb -dtb-$(CONFIG_MACH_ARTPEC6) += \ - artpec6-devboard.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_MACH_ARTPEC6) += \ + artpec6-devboard.dtb +dtb-$(CONFIG_MACH_ARTPEC6) += \ + artpec6-devboard.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2836-rpi.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2836-rpi.dtsi index db2365e630..48b03b55ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2836-rpi.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2836-rpi.dtsi @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "bcm2835-rpi.dtsi" -#include "bcm2835-rpi-common.dtsi" - -&vchiq { - compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq"; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "bcm2835-rpi.dtsi" +#include "bcm2835-rpi-common.dtsi" + +&vchiq { + compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-led-deprecated.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-led-deprecated.dtsi index 2865ed5614..f83e56de1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-led-deprecated.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-led-deprecated.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 - -/ { - /* - * This file provides the now deprecated ACT LED to the - * Raspberry Pi boards. Please don't include this file - * for new boards! - */ - leds: leds { - compatible = "gpio-leds"; - - led_act: led-act { - label = "ACT"; - default-state = "keep"; - linux,default-trigger = "heartbeat"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/ { + /* + * This file provides the now deprecated ACT LED to the + * Raspberry Pi boards. Please don't include this file + * for new boards! + */ + leds: leds { + compatible = "gpio-leds"; + + led_act: led-act { + label = "ACT"; + default-state = "keep"; + linux,default-trigger = "heartbeat"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9512.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9512.dtsi index 66b80027e4..882b138070 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9512.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9512.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/ { - aliases { - ethernet0 = ðernet; - }; -}; - -&usb { - usb1@1 { - compatible = "usb424,9512"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet: ethernet@1 { - compatible = "usb424,ec00"; - reg = <1>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/ { + aliases { + ethernet0 = ðernet; + }; +}; + +&usb { + usb1@1 { + compatible = "usb424,9512"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet: ethernet@1 { + compatible = "usb424,ec00"; + reg = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9514.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9514.dtsi index 3db88a1ff7..4273b90b53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9514.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-smsc9514.dtsi @@ -1,19 +1,19 @@ -/ { - aliases { - ethernet0 = ðernet; - }; -}; - -&usb { - usb1@1 { - compatible = "usb424,9514"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet: ethernet@1 { - compatible = "usb424,ec00"; - reg = <1>; - }; - }; -}; +/ { + aliases { + ethernet0 = ðernet; + }; +}; + +&usb { + usb1@1 { + compatible = "usb424,9514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet: ethernet@1 { + compatible = "usb424,ec00"; + reg = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-otg.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-otg.dtsi index d8df0ea381..e2fd9610e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-otg.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-otg.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -&usb { - dr_mode = "otg"; - g-rx-fifo-size = <256>; - g-np-tx-fifo-size = <32>; - /* - * According to dwc2 the sum of all device EP - * fifo sizes shouldn't exceed 3776 bytes. - */ - g-tx-fifo-size = <256 256 512 512 512 768 768>; -}; +// SPDX-License-Identifier: GPL-2.0 +&usb { + dr_mode = "otg"; + g-rx-fifo-size = <256>; + g-np-tx-fifo-size = <32>; + /* + * According to dwc2 the sum of all device EP + * fifo sizes shouldn't exceed 3776 bytes. + */ + g-tx-fifo-size = <256 256 512 512 512 768 768>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-peripheral.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-peripheral.dtsi index f496f0192b..0ff0e9e253 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-peripheral.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-usb-peripheral.dtsi @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -&usb { - dr_mode = "peripheral"; - g-rx-fifo-size = <256>; - g-np-tx-fifo-size = <32>; - g-tx-fifo-size = <256 256 512 512 512 768 768>; -}; +// SPDX-License-Identifier: GPL-2.0 +&usb { + dr_mode = "peripheral"; + g-rx-fifo-size = <256>; + g-np-tx-fifo-size = <32>; + g-tx-fifo-size = <256 256 512 512 512 768 768>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4709.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4709.dtsi index 11792bdb8c..cba3d910be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4709.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4709.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (C) 2016 Rafał Miłecki - */ - -#include "bcm4708.dtsi" - -&uart0 { - clock-frequency = <125000000>; - status = "okay"; -}; - -&srab { - compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (C) 2016 Rafał Miłecki + */ + +#include "bcm4708.dtsi" + +&uart0 { + clock-frequency = <125000000>; + status = "okay"; +}; + +&srab { + compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch1.dtsi index b336a255a5..c349e8f0af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch1.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Broadcom Northstar NAND. - * - * Copyright (C) 2016 Rafał Miłecki - */ - -#include "bcm5301x-nand-cs0.dtsi" - -&nandcs { - nand-ecc-algo = "bch"; - nand-ecc-strength = <1>; - nand-ecc-step-size = <512>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom Northstar NAND. + * + * Copyright (C) 2016 Rafał Miłecki + */ + +#include "bcm5301x-nand-cs0.dtsi" + +&nandcs { + nand-ecc-algo = "bch"; + nand-ecc-strength = <1>; + nand-ecc-step-size = <512>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch4.dtsi index 2b34d3d973..18e25e302b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch4.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2016 Luxul Inc. - */ - -#include "bcm5301x-nand-cs0.dtsi" - -&nandcs { - nand-ecc-algo = "bch"; - nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2016 Luxul Inc. + */ + +#include "bcm5301x-nand-cs0.dtsi" + +&nandcs { + nand-ecc-algo = "bch"; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/calxeda/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/calxeda/Makefile index 57af55949b..f5126b6d26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/calxeda/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/calxeda/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_HIGHBANK) += \ - highbank.dtb \ - ecx-2000.dtb -dtb-$(CONFIG_ARCH_HIGHBANK) += \ - highbank.dtb \ - ecx-2000.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_HIGHBANK) += \ + highbank.dtb \ + ecx-2000.dtb +dtb-$(CONFIG_ARCH_HIGHBANK) += \ + highbank.dtb \ + ecx-2000.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/Makefile index bb2ebae60c..e6015983e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_CLPS711X) += \ - ep7211-edb7211.dtb -dtb-$(CONFIG_ARCH_CLPS711X) += \ - ep7211-edb7211.dtb -dtb-$(CONFIG_ARCH_EP93XX) += \ - ep93xx-edb9302.dtb \ - ep93xx-bk3.dtb \ - ep93xx-ts7250.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_CLPS711X) += \ + ep7211-edb7211.dtb +dtb-$(CONFIG_ARCH_CLPS711X) += \ + ep7211-edb7211.dtb +dtb-$(CONFIG_ARCH_EP93XX) += \ + ep93xx-edb9302.dtb \ + ep93xx-bk3.dtb \ + ep93xx-ts7250.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/ep7211.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/ep7211.dtsi index faef523d81..32a4e12371 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/ep7211.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cirrus/ep7211.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "ep7209.dtsi" - -/ { - model = "Cirrus Logic EP7211"; - compatible = "cirrus,ep7211", "cirrus,ep7209"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "ep7209.dtsi" + +/ { + model = "Cirrus Logic EP7211"; + compatible = "cirrus,ep7211", "cirrus,ep7209"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cnxt/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cnxt/Makefile index 437c2eca2a..d49df53f65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cnxt/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cnxt/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_DIGICOLOR) += \ - cx92755_equinox.dtb -dtb-$(CONFIG_ARCH_DIGICOLOR) += \ - cx92755_equinox.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_DIGICOLOR) += \ + cx92755_equinox.dtb +dtb-$(CONFIG_ARCH_DIGICOLOR) += \ + cx92755_equinox.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/gemini/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/gemini/Makefile index 238c1cd791..f9f63ce3eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/gemini/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/gemini/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_GEMINI) += \ - gemini-dlink-dir-685.dtb \ - gemini-dlink-dns-313.dtb \ - gemini-nas4220b.dtb \ - gemini-ns2502.dtb \ - gemini-rut1xx.dtb \ - gemini-sl93512r.dtb \ - gemini-sq201.dtb \ - gemini-ssi1328.dtb \ - gemini-wbd111.dtb \ - gemini-wbd222.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_GEMINI) += \ + gemini-dlink-dir-685.dtb \ + gemini-dlink-dns-313.dtb \ + gemini-nas4220b.dtb \ + gemini-ns2502.dtb \ + gemini-rut1xx.dtb \ + gemini-sl93512r.dtb \ + gemini-sq201.dtb \ + gemini-ssi1328.dtb \ + gemini-wbd111.dtb \ + gemini-wbd222.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/Makefile index 65b09fe1cc..5ce0512c00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_HI3xxx) += \ - hi3620-hi4511.dtb -dtb-$(CONFIG_ARCH_HIP01) += \ - hip01-ca9x2.dtb -dtb-$(CONFIG_ARCH_HIP04) += \ - hip04-d01.dtb -dtb-$(CONFIG_ARCH_HISI) += \ - hi3519-demb.dtb -dtb-$(CONFIG_ARCH_HIX5HD2) += \ - hisi-x5hd2-dkb.dtb -dtb-$(CONFIG_ARCH_SD5203) += \ - sd5203.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_HI3xxx) += \ + hi3620-hi4511.dtb +dtb-$(CONFIG_ARCH_HIP01) += \ + hip01-ca9x2.dtb +dtb-$(CONFIG_ARCH_HIP04) += \ + hip04-d01.dtb +dtb-$(CONFIG_ARCH_HISI) += \ + hi3519-demb.dtb +dtb-$(CONFIG_ARCH_HIX5HD2) += \ + hisi-x5hd2-dkb.dtb +dtb-$(CONFIG_ARCH_SD5203) += \ + sd5203.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/Makefile index aa8897476a..e175b1732c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_HPE_GXP) += \ - hpe-bmc-dl360gen10.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_HPE_GXP) += \ + hpe-bmc-dl360gen10.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/Makefile index 4a2006e209..c5fc845deb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += axm -subdir-y += ixp -subdir-y += pxa -subdir-y += socfpga +# SPDX-License-Identifier: GPL-2.0 +subdir-y += axm +subdir-y += ixp +subdir-y += pxa +subdir-y += socfpga diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/Makefile index 9545ede44d..7c7dc67996 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_AXXIA) += \ - axm5516-amarillo.dtb -dtb-$(CONFIG_ARCH_AXXIA) += \ - axm5516-amarillo.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_AXXIA) += \ + axm5516-amarillo.dtb +dtb-$(CONFIG_ARCH_AXXIA) += \ + axm5516-amarillo.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/Makefile index 83087c59a5..24d5240f08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_PXA) += \ - pxa300-raumfeld-connector.dtb \ - pxa300-raumfeld-controller.dtb \ - pxa300-raumfeld-speaker-l.dtb \ - pxa300-raumfeld-speaker-m.dtb \ - pxa300-raumfeld-speaker-one.dtb \ - pxa300-raumfeld-speaker-s.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_PXA) += \ + pxa300-raumfeld-connector.dtb \ + pxa300-raumfeld-controller.dtb \ + pxa300-raumfeld-speaker-l.dtb \ + pxa300-raumfeld-speaker-m.dtb \ + pxa300-raumfeld-speaker-one.dtb \ + pxa300-raumfeld-speaker-s.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-l.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-l.dts index 3884a55071..5a0f7f1785 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-l.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-l.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "pxa300-raumfeld-common.dtsi" -#include "pxa300-raumfeld-tuneable-clock.dtsi" - -/ { - model = "Raumfeld Speaker L (PXA3xx)"; - compatible = "raumfeld,raumfeld-speaker-l-pxa303", "marvell,pxa300"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "pxa300-raumfeld-common.dtsi" +#include "pxa300-raumfeld-tuneable-clock.dtsi" + +/ { + model = "Raumfeld Speaker L (PXA3xx)"; + compatible = "raumfeld,raumfeld-speaker-l-pxa303", "marvell,pxa300"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-m.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-m.dts index ada0d25204..fa10d89628 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-m.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-m.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "pxa300-raumfeld-common.dtsi" -#include "pxa300-raumfeld-tuneable-clock.dtsi" - -/ { - model = "Raumfeld Speaker M (PXA3xx)"; - compatible = "raumfeld,raumfeld-speaker-m-pxa303", "marvell,pxa300"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "pxa300-raumfeld-common.dtsi" +#include "pxa300-raumfeld-tuneable-clock.dtsi" + +/ { + model = "Raumfeld Speaker M (PXA3xx)"; + compatible = "raumfeld,raumfeld-speaker-m-pxa303", "marvell,pxa300"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-s.dts index 92071f301b..36e20cbf87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-s.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "pxa300-raumfeld-common.dtsi" -#include "pxa300-raumfeld-tuneable-clock.dtsi" - -/ { - model = "Raumfeld Speaker S (PXA3xx)"; - compatible = "raumfeld,raumfeld-speaker-s-pxa303", "marvell,pxa300"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "pxa300-raumfeld-common.dtsi" +#include "pxa300-raumfeld-tuneable-clock.dtsi" + +/ { + model = "Raumfeld Speaker S (PXA3xx)"; + compatible = "raumfeld,raumfeld-speaker-s-pxa303", "marvell,pxa300"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s.dts index f33b17eaac..010b83b542 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS305-1G-4S+ board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs305-1g-4s.dtsi" - -/ { - model = "MikroTik CRS305-1G-4S+"; -}; - -&spi0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS305-1G-4S+ board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs305-1g-4s.dtsi" + +/ { + model = "MikroTik CRS305-1G-4S+"; +}; + +&spi0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s.dts index 769e5e71d4..83aef43f66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS326-24G-2S+ board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs326-24g-2s.dtsi" - -/ { - model = "MikroTik CRS326-24G-2S+"; -}; - -&spi0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS326-24G-2S+ board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs326-24g-2s.dtsi" + +/ { + model = "MikroTik CRS326-24G-2S+"; +}; + +&spi0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s.dts index f23d39e865..665757f6e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS328-4C-20S-4S+ board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs328-4c-20s-4s.dtsi" - -/ { - model = "MikroTik CRS328-4C-20S-4S+"; -}; - -&spi0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS328-4C-20S-4S+ board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs328-4c-20s-4s.dtsi" + +/ { + model = "MikroTik CRS328-4C-20S-4S+"; +}; + +&spi0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-cubox-es.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-cubox-es.dts index 112c994481..ad361ec136 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-cubox-es.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-cubox-es.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "dove-cubox.dts" - -/ { - model = "SolidRun CuBox (Engineering Sample)"; - compatible = "solidrun,cubox-es", "solidrun,cubox", "marvell,dove"; -}; - -&sdio0 { - /* sdio0 card detect is connected to wrong pin on CuBox ES */ - cd-gpios = <&gpio0 12 1>; - pinctrl-0 = <&pmx_sdio0 &pmx_gpio_12>; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "dove-cubox.dts" + +/ { + model = "SolidRun CuBox (Engineering Sample)"; + compatible = "solidrun,cubox-es", "solidrun,cubox", "marvell,dove"; +}; + +&sdio0 { + /* sdio0 card detect is connected to wrong pin on CuBox ES */ + cd-gpios = <&gpio0 12 1>; + pinctrl-0 = <&pmx_sdio0 &pmx_gpio_12>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6281.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6281.dts index 07233958fc..4a42ebcca4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6281.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6281.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Device Tree file for QNAP TS41X with 6281 SoC - * - * Copyright (C) 2013, Andrew Lunn - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6281.dtsi" -#include "kirkwood-ts219.dtsi" -#include "kirkwood-ts419.dtsi" - -ðphy0 { reg = <8>; }; -ðphy1 { reg = <0>; }; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Device Tree file for QNAP TS41X with 6281 SoC + * + * Copyright (C) 2013, Andrew Lunn + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" +#include "kirkwood-ts219.dtsi" +#include "kirkwood-ts419.dtsi" + +ðphy0 { reg = <8>; }; +ðphy1 { reg = <0>; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6592-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6592-evb.dts index afa93635f9..5e00c1cca2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6592-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6592-evb.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2014 MediaTek Inc. - * Author: Howard Chen - * - */ - -/dts-v1/; -#include "mt6592.dtsi" - -/ { - model = "mt6592 evb"; - compatible = "mediatek,mt6592-evb", "mediatek,mt6592"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2014 MediaTek Inc. + * Author: Howard Chen + * + */ + +/dts-v1/; +#include "mt6592.dtsi" + +/ { + model = "mt6592 evb"; + compatible = "mediatek,mt6592-evb", "mediatek,mt6592"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91rm9200_pqfp.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91rm9200_pqfp.dtsi index fa29028cce..c3d4177b98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91rm9200_pqfp.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91rm9200_pqfp.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91rm9200_pqfp.dtsi - Device Tree Include file for AT91RM9200 PQFP family SoC - * - * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91rm9200.dtsi" - -/ { - compatible = "atmel,at91rm9200-pqfp", "atmel,at91rm9200"; -}; - -&pioD { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91rm9200_pqfp.dtsi - Device Tree Include file for AT91RM9200 PQFP family SoC + * + * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91rm9200.dtsi" + +/ { + compatible = "atmel,at91rm9200-pqfp", "atmel,at91rm9200"; +}; + +&pioD { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33.dtsi index ff036e5329..146fd59ace 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d33.dtsi - Device Tree Include file for SAMA5D33 SoC - * - * Copyright (C) 2013 Boris BREZILLON - */ -#include "sama5d3.dtsi" -#include "sama5d3_lcd.dtsi" -#include "sama5d3_gmac.dtsi" - -/ { - compatible = "atmel,sama5d33", "atmel,sama5d3", "atmel,sama5"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d33.dtsi - Device Tree Include file for SAMA5D33 SoC + * + * Copyright (C) 2013 Boris BREZILLON + */ +#include "sama5d3.dtsi" +#include "sama5d3_lcd.dtsi" +#include "sama5d3_gmac.dtsi" + +/ { + compatible = "atmel,sama5d33", "atmel,sama5d3", "atmel,sama5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/moxa/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/moxa/Makefile index 3912b7ef3b..d61ce8d4e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/moxa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/moxa/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MOXART) += \ - moxart-uc7112lx.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MOXART) += \ + moxart-uc7112lx.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nspire/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nspire/Makefile index 83b68ba4de..82a2515bdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nspire/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nspire/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_NSPIRE) += \ - nspire-cx.dtb \ - nspire-tp.dtb \ - nspire-clp.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_NSPIRE) += \ + nspire-cx.dtb \ + nspire-tp.dtb \ + nspire-clp.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/Makefile index 06b817e391..89c157dad3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_NPCM7XX) += \ - nuvoton-npcm730-gsj.dtb \ - nuvoton-npcm730-gbs.dtb \ - nuvoton-npcm730-kudo.dtb \ - nuvoton-npcm750-evb.dtb \ - nuvoton-npcm750-runbmc-olympus.dtb -dtb-$(CONFIG_ARCH_WPCM450) += \ - nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_NPCM7XX) += \ + nuvoton-npcm730-gsj.dtb \ + nuvoton-npcm730-gbs.dtb \ + nuvoton-npcm730-kudo.dtb \ + nuvoton-npcm750-evb.dtb \ + nuvoton-npcm750-runbmc-olympus.dtb +dtb-$(CONFIG_ARCH_WPCM450) += \ + nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra124-nyan-big-fhd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra124-nyan-big-fhd.dts index ed2724d613..4db43324da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra124-nyan-big-fhd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra124-nyan-big-fhd.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra124-nyan-big.dts" - -/ { - /* Version of Nyan Big with 1080p panel */ - host1x@50000000 { - dpaux@545c0000 { - aux-bus { - panel: panel { - compatible = "auo,b133htn01"; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra124-nyan-big.dts" + +/ { + /* Version of Nyan Big with 1080p panel */ + host1x@50000000 { + dpaux@545c0000 { + aux-bus { + panel: panel { + compatible = "auo,b133htn01"; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-E1565.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-E1565.dts index 1bcea36cff..a25b8560b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-E1565.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-E1565.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra30-asus-nexus7-grouper-maxim-pmic.dtsi" -#include "tegra30-asus-nexus7-grouper.dtsi" - -/ { - model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) E1565"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-asus-nexus7-grouper-maxim-pmic.dtsi" +#include "tegra30-asus-nexus7-grouper.dtsi" + +/ { + model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) E1565"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-PM269.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-PM269.dts index 7989aa837f..06ef13ea5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-PM269.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-PM269.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra30-asus-nexus7-grouper-ti-pmic.dtsi" -#include "tegra30-asus-nexus7-grouper.dtsi" - -/ { - model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) PM269"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-asus-nexus7-grouper-ti-pmic.dtsi" +#include "tegra30-asus-nexus7-grouper.dtsi" + +/ { + model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) PM269"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-tilapia-E1565.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-tilapia-E1565.dts index 728928efdd..f1c63feb4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-tilapia-E1565.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-tilapia-E1565.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra30-asus-nexus7-grouper-maxim-pmic.dtsi" -#include "tegra30-asus-nexus7-tilapia.dtsi" - -/ { - model = "ASUS Google Nexus 7 (Project Bach / ME370TG) E1565"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-asus-nexus7-grouper-maxim-pmic.dtsi" +#include "tegra30-asus-nexus7-tilapia.dtsi" + +/ { + model = "ASUS Google Nexus 7 (Project Bach / ME370TG) E1565"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/Makefile index 48295cd5d1..db44e7a0a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += imx -subdir-y += lpc -subdir-y += ls -subdir-y += mxs -subdir-y += vf +# SPDX-License-Identifier: GPL-2.0 +subdir-y += imx +subdir-y += lpc +subdir-y += ls +subdir-y += mxs +subdir-y += vf diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.dts index 75923f02b9..77d7600b26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2018 emtrion GmbH -// - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-emcon.dtsi" -#include "imx6qdl-emcon-avari.dtsi" - -/ { - model = "emtrion SoM emCON-MX6 Solo/Dual-Lite Avari"; - compatible = "emtrion,emcon-mx6-avari", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2018 emtrion GmbH +// + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-emcon.dtsi" +#include "imx6qdl-emcon-avari.dtsi" + +/ { + model = "emtrion SoM emCON-MX6 Solo/Dual-Lite Avari"; + compatible = "emtrion,emcon-mx6-avari", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw51xx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw51xx.dts index 890ee26192..9956d12a12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw51xx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw51xx.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Gateworks Corporation - */ - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-gw51xx.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW51XX"; - compatible = "gw,imx6dl-gw51xx", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Gateworks Corporation + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-gw51xx.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW51XX"; + compatible = "gw,imx6dl-gw51xx", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw552x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw552x.dts index b5870bfd0b..4864a36f9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw552x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw552x.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2014 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-gw552x.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW552X"; - compatible = "gw,imx6dl-gw552x", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2014 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-gw552x.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW552X"; + compatible = "gw,imx6dl-gw552x", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5907.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5907.dts index e1884f3cd5..3fa2822bef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5907.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5907.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-gw5907.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW5907"; - compatible = "gw,imx6dl-gw5907", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-gw5907.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW5907"; + compatible = "gw,imx6dl-gw5907", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5910.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5910.dts index 456ba48390..0d5e7e5da5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5910.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5910.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-gw5910.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW5910"; - compatible = "gw,imx6dl-gw5910", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-gw5910.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW5910"; + compatible = "gw,imx6dl-gw5910", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5912.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5912.dts index 41c45ddc75..5260e0142d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5912.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5912.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-gw5912.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW5912"; - compatible = "gw,imx6dl-gw5912", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-gw5912.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW5912"; + compatible = "gw,imx6dl-gw5912", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5913.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5913.dts index 8aa66718c8..b74e533c8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5913.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-gw5913.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-gw5913.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 DualLite/Solo GW5913"; - compatible = "gw,imx6dl-gw5913", "gw,ventana", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-gw5913.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 DualLite/Solo GW5913"; + compatible = "gw,imx6dl-gw5913", "gw,ventana", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-rqs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-rqs.dts index 6ae55078d1..73d710d34b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-rqs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-rqs.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-icore-rqs.dtsi" - -/ { - model = "Engicam i.CoreM6 DualLite/Solo RQS Starter Kit"; - compatible = "engicam,imx6-icore-rqs", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-icore-rqs.dtsi" + +/ { + model = "Engicam i.CoreM6 DualLite/Solo RQS Starter Kit"; + compatible = "engicam,imx6-icore-rqs", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts index a8d4d18cfb..6a0c53f23a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-kontron-samx6i.dtsi" -#include "imx6qdl-kontron-samx6i-ads2.dtsi" - -/ { - model = "Kontron SMARC-sAMX6i Dual-Lite/Solo on SMARC Eval 2.0 carrier"; - compatible = "kontron,imx6dl-samx6i-ads2", "kontron,imx6dl-samx6i", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-kontron-samx6i.dtsi" +#include "imx6qdl-kontron-samx6i-ads2.dtsi" + +/ { + model = "Kontron SMARC-sAMX6i Dual-Lite/Solo on SMARC Eval 2.0 carrier"; + compatible = "kontron,imx6dl-samx6i-ads2", "kontron,imx6dl-samx6i", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i.dtsi index 82fb42916c..5a9b819d7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2019 (C) Pengutronix, Marco Felsch - */ - -#include "imx6dl.dtsi" -#include "imx6qdl-kontron-samx6i.dtsi" - -/ { - model = "Kontron SMARC-sAMX6i Dual-Lite/Solo"; - compatible = "kontron,imx6dl-samx6i", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2019 (C) Pengutronix, Marco Felsch + */ + +#include "imx6dl.dtsi" +#include "imx6qdl-kontron-samx6i.dtsi" + +/ { + model = "Kontron SMARC-sAMX6i Dual-Lite/Solo"; + compatible = "kontron,imx6dl-samx6i", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nit6xlite.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nit6xlite.dts index ff43b3193a..61fa30991d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nit6xlite.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nit6xlite.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2015 Boundary Devices, Inc. - */ -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-nit6xlite.dtsi" - -/ { - model = "Boundary Devices i.MX6 Solo Nitrogen6_Lite Board"; - compatible = "boundary,imx6dl-nit6xlite", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2015 Boundary Devices, Inc. + */ +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-nit6xlite.dtsi" + +/ { + model = "Boundary Devices i.MX6 Solo Nitrogen6_Lite Board"; + compatible = "boundary,imx6dl-nit6xlite", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pbab01.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pbab01.dts index 5742db3d72..0a07cc6f81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pbab01.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pbab01.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH - */ - -/dts-v1/; -#include "imx6dl-phytec-pfla02.dtsi" -#include "imx6qdl-phytec-pbab01.dtsi" - -/ { - model = "Phytec phyFLEX-i.MX6 DualLite/Solo Carrier-Board"; - compatible = "phytec,imx6dl-pbab01", "phytec,imx6dl-pfla02", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH + */ + +/dts-v1/; +#include "imx6dl-phytec-pfla02.dtsi" +#include "imx6qdl-phytec-pbab01.dtsi" + +/ { + model = "Phytec phyFLEX-i.MX6 DualLite/Solo Carrier-Board"; + compatible = "phytec,imx6dl-pbab01", "phytec,imx6dl-pfla02", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6a.dtsi index d59d82433a..e891ef9b00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6a.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * Copyright 2013-2017 Markus Niebel - */ - -#include "imx6dl.dtsi" -#include "imx6qdl-tqma6a.dtsi" -#include "imx6qdl-tqma6.dtsi" - -/ { - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * Copyright 2013-2017 Markus Niebel + */ + +#include "imx6dl.dtsi" +#include "imx6qdl-tqma6a.dtsi" +#include "imx6qdl-tqma6.dtsi" + +/ { + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6b.dtsi index 41c79e79d3..38cd8501a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-tqma6b.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * Copyright 2013-2017 Markus Niebel - */ - -#include "imx6dl.dtsi" -#include "imx6qdl-tqma6b.dtsi" -#include "imx6qdl-tqma6.dtsi" - -/ { - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * Copyright 2013-2017 Markus Niebel + */ + +#include "imx6dl.dtsi" +#include "imx6qdl-tqma6b.dtsi" +#include "imx6qdl-tqma6.dtsi" + +/ { + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-udoo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-udoo.dts index c9042e69e8..d871cac171 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-udoo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-udoo.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-udoo.dtsi" - -/ { - model = "Udoo i.MX6 Dual-lite Board"; - compatible = "udoo,imx6dl-udoo", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Dual-lite Board"; + compatible = "udoo,imx6dl-udoo", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-vicut1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-vicut1.dts index 07d5924597..5035d30344 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-vicut1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-vicut1.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2014 Protonic Holland - */ - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-vicut1.dtsi" -#include "imx6qdl-vicut1-12inch.dtsi" - -/ { - model = "Kverneland UT1 Board"; - compatible = "kvg,vicut1", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2014 Protonic Holland + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-vicut1.dtsi" +#include "imx6qdl-vicut1-12inch.dtsi" + +/ { + model = "Kverneland UT1 Board"; + compatible = "kvg,vicut1", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.dts index dce2b45124..02813368a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2018 emtrion GmbH -// - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-emcon.dtsi" -#include "imx6qdl-emcon-avari.dtsi" - -/ { - model = "emtrion SoM emCON-MX6 Dual/Quad on Avari"; - compatible = "emtrion,emcon-mx6-avari", "fsl,imx6q"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2018 emtrion GmbH +// + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-emcon.dtsi" +#include "imx6qdl-emcon-avari.dtsi" + +/ { + model = "emtrion SoM emCON-MX6 Dual/Quad on Avari"; + compatible = "emtrion,emcon-mx6-avari", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw51xx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw51xx.dts index a0a61ff564..f80173458e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw51xx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw51xx.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Gateworks Corporation - */ - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-gw51xx.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW51XX"; - compatible = "gw,imx6q-gw51xx", "gw,ventana", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Gateworks Corporation + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-gw51xx.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW51XX"; + compatible = "gw,imx6q-gw51xx", "gw,ventana", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw552x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw552x.dts index 77d374551c..c973b73042 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw552x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw552x.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2014 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-gw552x.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW552X"; - compatible = "gw,imx6q-gw552x", "gw,ventana", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2014 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-gw552x.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW552X"; + compatible = "gw,imx6q-gw552x", "gw,ventana", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5907.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5907.dts index de68733fea..b25526ef58 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5907.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5907.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-gw5907.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW5907"; - compatible = "gw,imx6q-gw5907", "gw,ventana", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-gw5907.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW5907"; + compatible = "gw,imx6q-gw5907", "gw,ventana", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5910.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5910.dts index e0a59e32ad..6aafa2fcee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5910.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5910.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-gw5910.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW5910"; - compatible = "gw,imx6q-gw5910", "gw,ventana", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-gw5910.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW5910"; + compatible = "gw,imx6q-gw5910", "gw,ventana", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5912.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5912.dts index 68a1d23c14..4dcbd943cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5912.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5912.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-gw5912.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW5912"; - compatible = "gw,imx6q-gw5912", "gw,ventana", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-gw5912.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW5912"; + compatible = "gw,imx6q-gw5912", "gw,ventana", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5913.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5913.dts index a053aee6be..6f511f1665 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5913.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-gw5913.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2019 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-gw5913.dtsi" - -/ { - model = "Gateworks Ventana i.MX6 Dual/Quad GW5913"; - compatible = "gw,imx6q-gw5913", "gw,ventana", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2019 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-gw5913.dtsi" + +/ { + model = "Gateworks Ventana i.MX6 Dual/Quad GW5913"; + compatible = "gw,imx6q-gw5913", "gw,ventana", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts index 3f7b57ac93..94c395cc02 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-kontron-samx6i.dtsi" -#include "imx6qdl-kontron-samx6i-ads2.dtsi" - -/ { - model = "Kontron SMARC-sAMX6i Quad/Dual on SMARC Eval 2.0 carrier"; - compatible = "kontron,imx6q-samx6i-ads2", "kontron,imx6q-samx6i", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-kontron-samx6i.dtsi" +#include "imx6qdl-kontron-samx6i-ads2.dtsi" + +/ { + model = "Kontron SMARC-sAMX6i Quad/Dual on SMARC Eval 2.0 carrier"; + compatible = "kontron,imx6q-samx6i-ads2", "kontron,imx6q-samx6i", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi index b68bdceea5..e769634360 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2019 (C) Pengutronix, Marco Felsch - */ - -#include "imx6q.dtsi" -#include "imx6qdl-kontron-samx6i.dtsi" - -/ { - model = "Kontron SMARC-sAMX6i Quad/Dual"; - compatible = "kontron,imx6q-samx6i", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2019 (C) Pengutronix, Marco Felsch + */ + +#include "imx6q.dtsi" +#include "imx6qdl-kontron-samx6i.dtsi" + +/ { + model = "Kontron SMARC-sAMX6i Quad/Dual"; + compatible = "kontron,imx6q-samx6i", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_max.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_max.dts index 4416c111e0..03bec0c530 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_max.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_max.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2015 Boundary Devices, Inc. - */ -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-nitrogen6_max.dtsi" - -/ { - model = "Boundary Devices i.MX6 Quad Nitrogen6_MAX Board"; - compatible = "boundary,imx6q-nitrogen6_max", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2015 Boundary Devices, Inc. + */ +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-nitrogen6_max.dtsi" + +/ { + model = "Boundary Devices i.MX6 Quad Nitrogen6_MAX Board"; + compatible = "boundary,imx6q-nitrogen6_max", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dts index 803681d981..eb4eecb6ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2016 Boundary Devices, Inc. - */ -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-nitrogen6_som2.dtsi" - -/ { - model = "Boundary Devices i.MX6 Quad Nitrogen6_SOM2 Board"; - compatible = "boundary,imx6q-nitrogen6_som2", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2016 Boundary Devices, Inc. + */ +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-nitrogen6_som2.dtsi" + +/ { + model = "Boundary Devices i.MX6 Quad Nitrogen6_SOM2 Board"; + compatible = "boundary,imx6q-nitrogen6_som2", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dts index 2df27354ab..6e981a3e0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ -// -// Copyright 2012 Freescale Semiconductor, Inc. -// Copyright 2011 Linaro Ltd. - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-sabreauto.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Automotive Board"; - compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2012 Freescale Semiconductor, Inc. +// Copyright 2011 Linaro Ltd. + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-sabreauto.dtsi" + +/ { + model = "Freescale i.MX6 Quad SABRE Automotive Board"; + compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6a.dtsi index fa03777221..ab4c07c13a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6a.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * Copyright 2013-2017 Markus Niebel - */ - -#include "imx6q.dtsi" -#include "imx6qdl-tqma6a.dtsi" -#include "imx6qdl-tqma6.dtsi" - -/ { - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * Copyright 2013-2017 Markus Niebel + */ + +#include "imx6q.dtsi" +#include "imx6qdl-tqma6a.dtsi" +#include "imx6qdl-tqma6.dtsi" + +/ { + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6b.dtsi index 7413f817f7..7224c376c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-tqma6b.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer, Pengutronix - */ - -#include "imx6q.dtsi" -#include "imx6qdl-tqma6b.dtsi" -#include "imx6qdl-tqma6.dtsi" - -/ { - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer, Pengutronix + */ + +#include "imx6q.dtsi" +#include "imx6qdl-tqma6b.dtsi" +#include "imx6qdl-tqma6.dtsi" + +/ { + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-udoo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-udoo.dts index 7ce1990a22..52e9f4a211 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-udoo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-udoo.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-udoo.dtsi" - -/ { - model = "Udoo i.MX6 Quad Board"; - compatible = "udoo,imx6q-udoo", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Quad Board"; + compatible = "udoo,imx6q-udoo", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-vicut1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-vicut1.dts index e634e309c2..dd91aff3f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-vicut1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-vicut1.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2014 Protonic Holland - */ - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-vicut1.dtsi" -#include "imx6qdl-vicut1-12inch.dtsi" - -/ { - model = "Kverneland UT1Q Board"; - compatible = "kvg,vicut1q", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2014 Protonic Holland + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-vicut1.dtsi" +#include "imx6qdl-vicut1-12inch.dtsi" + +/ { + model = "Kverneland UT1Q Board"; + compatible = "kvg,vicut1q", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dts index 6bceae0143..1593ac86b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2017 Boundary Devices, Inc. - */ - -/dts-v1/; - -#include "imx6qp.dtsi" -#include "imx6qdl-nitrogen6_som2.dtsi" - -/ { - model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_SOM2 Board"; - compatible = "boundary,imx6qp-nitrogen6_som2", "fsl,imx6qp"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2017 Boundary Devices, Inc. + */ + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6qdl-nitrogen6_som2.dtsi" + +/ { + model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_SOM2 Board"; + compatible = "boundary,imx6qp-nitrogen6_som2", "fsl,imx6qp"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-tqma6b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-tqma6b.dtsi index dd5722f04c..bb6ff7c64b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-tqma6b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-tqma6b.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer, Pengutronix - */ - -#include "imx6q.dtsi" -#include "imx6qp.dtsi" -#include "imx6qdl-tqma6b.dtsi" -#include "imx6qdl-tqma6.dtsi" - -/ { - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer, Pengutronix + */ + +#include "imx6q.dtsi" +#include "imx6qp.dtsi" +#include "imx6qdl-tqma6b.dtsi" +#include "imx6qdl-tqma6.dtsi" + +/ { + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-vicutp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-vicutp.dts index aa1d6dd0ee..49ff145fff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-vicutp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-vicutp.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2014 Protonic Holland - */ - -/dts-v1/; -#include "imx6qp.dtsi" -#include "imx6qdl-vicut1.dtsi" -#include "imx6qdl-vicut1-12inch.dtsi" - -/ { - model = "Kverneland UT1P Board"; - compatible = "kvg,vicutp", "fsl,imx6qp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2014 Protonic Holland + */ + +/dts-v1/; +#include "imx6qp.dtsi" +#include "imx6qdl-vicut1.dtsi" +#include "imx6qdl-vicut1-12inch.dtsi" + +/ { + model = "Kverneland UT1P Board"; + compatible = "kvg,vicutp", "fsl,imx6qp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dts index 4f08efeab4..2438669f14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2015 Freescale Semiconductor, Inc. - -/dts-v1/; - -#include "imx6ul.dtsi" -#include "imx6ul-14x14-evk.dtsi" - -/ { - model = "Freescale i.MX6 UltraLite 14x14 EVK Board"; - compatible = "fsl,imx6ul-14x14-evk", "fsl,imx6ul"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2015 Freescale Semiconductor, Inc. + +/dts-v1/; + +#include "imx6ul.dtsi" +#include "imx6ul-14x14-evk.dtsi" + +/ { + model = "Freescale i.MX6 UltraLite 14x14 EVK Board"; + compatible = "fsl,imx6ul-14x14-evk", "fsl,imx6ul"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-emmc.dts index 70a31e2937..1df3e376ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-emmc.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6ul-isiot.dtsi" - -/ { - model = "Engicam Is.IoT MX6UL eMMC Starter kit"; - compatible = "engicam,imx6ul-isiot", "fsl,imx6ul"; -}; - -&usdhc2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6ul-isiot.dtsi" + +/ { + model = "Engicam Is.IoT MX6UL eMMC Starter kit"; + compatible = "engicam,imx6ul-isiot", "fsl,imx6ul"; +}; + +&usdhc2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-nand.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-nand.dts index 60a0db2423..8c26d4d1a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-nand.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-isiot-nand.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6ul-isiot.dtsi" - -/ { - model = "Engicam Is.IoT MX6UL NAND Starter kit"; - compatible = "engicam,imx6ul-isiot", "fsl,imx6ul"; -}; - -&gpmi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6ul-isiot.dtsi" + +/ { + model = "Engicam Is.IoT MX6UL NAND Starter kit"; + compatible = "engicam,imx6ul-isiot", "fsl,imx6ul"; +}; + +&gpmi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-opos6ul.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-opos6ul.dtsi index 96bf21d5a4..6ce84f92b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-opos6ul.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-opos6ul.dtsi @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2017 Armadeus Systems - -#include "imx6ul.dtsi" -#include "imx6ul-imx6ull-opos6ul.dtsi" +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2017 Armadeus Systems + +#include "imx6ul.dtsi" +#include "imx6ul-imx6ull-opos6ul.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-sl.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-sl.dtsi index 18fef48492..93f10eb349 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-sl.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-sl.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2018 Kontron Electronics GmbH - */ - -#include "imx6ull.dtsi" -#include "imx6ul-kontron-sl-common.dtsi" - -/ { - model = "Kontron SL i.MX6ULL (N641X SOM)"; - compatible = "kontron,sl-imx6ull", "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + */ + +#include "imx6ull.dtsi" +#include "imx6ul-kontron-sl-common.dtsi" + +/ { + model = "Kontron SL i.MX6ULL (N641X SOM)"; + compatible = "kontron,sl-imx6ull", "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-opos6ul.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-opos6ul.dtsi index e49949bb73..155f941f28 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-opos6ul.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-opos6ul.dtsi @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2019 Armadeus Systems - -#include "imx6ull.dtsi" -#include "imx6ul-imx6ull-opos6ul.dtsi" +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2019 Armadeus Systems + +#include "imx6ull.dtsi" +#include "imx6ul-imx6ull-opos6ul.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-wlbt-05.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-wlbt-05.dtsi index fd5af2a9e5..df25814a33 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-wlbt-05.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-wlbt-05.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2021 PHYTEC Messtechnik GmbH - * Author: Yunus Bas - */ - -#include "imx6ul-phytec-segin-peb-wlbt-05.dtsi" - -&iomuxc { - /delete-node/ wlgrp; -}; - -&iomuxc_snvs { - pinctrl_wl: wlgrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3031 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2021 PHYTEC Messtechnik GmbH + * Author: Yunus Bas + */ + +#include "imx6ul-phytec-segin-peb-wlbt-05.dtsi" + +&iomuxc { + /delete-node/ wlgrp; +}; + +&iomuxc_snvs { + pinctrl_wl: wlgrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3031 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-micro.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-micro.dts index 646d9b7f3f..e471c2005b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-micro.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-micro.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright (C) 2023 chargebyte GmbH - -#include "imx6ull-tarragon-common.dtsi" - -/ { - model = "chargebyte Tarragon Micro"; - compatible = "chargebyte,imx6ull-tarragon-micro", "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright (C) 2023 chargebyte GmbH + +#include "imx6ull-tarragon-common.dtsi" + +/ { + model = "chargebyte Tarragon Micro"; + compatible = "chargebyte,imx6ull-tarragon-micro", "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri.dtsi index a50a3aea2a..ef51395d35 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2016-2022 Toradex - */ - -#include "imx7s.dtsi" -#include "imx7-colibri.dtsi" - -/ { - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; -}; - -/* NAND */ -&gpmi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2016-2022 Toradex + */ + +#include "imx7s.dtsi" +#include "imx7-colibri.dtsi" + +/ { + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; +}; + +/* NAND */ +&gpmi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-tqma7.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-tqma7.dtsi index 93686282cf..7a190fdb2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-tqma7.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-tqma7.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Device Tree Include file for TQ-Systems TQMa7S board with NXP i.MX7Solo SoC. - * - * Copyright (C) 2016 TQ-Systems GmbH - * Author: Markus Niebel - * Copyright (C) 2019 Bruno Thomsen - */ - -#include "imx7s.dtsi" -#include "imx7-tqma7.dtsi" +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Device Tree Include file for TQ-Systems TQMa7S board with NXP i.MX7Solo SoC. + * + * Copyright (C) 2016 TQ-Systems GmbH + * Author: Markus Niebel + * Copyright (C) 2019 Bruno Thomsen + */ + +#include "imx7s.dtsi" +#include "imx7-tqma7.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/Makefile index fef6f48e6b..56b9a0ebb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_LPC18XX) += \ - lpc4337-ciaa.dtb \ - lpc4350-hitex-eval.dtb \ - lpc4357-ea4357-devkit.dtb \ - lpc4357-myd-lpc4357.dtb -dtb-$(CONFIG_ARCH_LPC32XX) += \ - lpc3250-ea3250.dtb \ - lpc3250-phy3250.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_LPC18XX) += \ + lpc4337-ciaa.dtb \ + lpc4350-hitex-eval.dtb \ + lpc4357-ea4357-devkit.dtb \ + lpc4357-myd-lpc4357.dtb +dtb-$(CONFIG_ARCH_LPC32XX) += \ + lpc3250-ea3250.dtb \ + lpc3250-phy3250.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/ls/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/ls/Makefile index 8647aef7dd..14759331db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/ls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/ls/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_LS1021A) += \ - ls1021a-iot.dtb \ - ls1021a-moxa-uc-8410a.dtb \ - ls1021a-qds.dtb \ - ls1021a-tqmls1021a-mbls1021a.dtb \ - ls1021a-tsn.dtb \ - ls1021a-twr.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_SOC_LS1021A) += \ + ls1021a-iot.dtb \ + ls1021a-moxa-uc-8410a.dtb \ + ls1021a-qds.dtb \ + ls1021a-tqmls1021a-mbls1021a.dtb \ + ls1021a-tsn.dtb \ + ls1021a-twr.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri-eval-v3.dts index 5696a6dd48..fb661e8a2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri-eval-v3.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Copyright 2014-2020 Toradex - */ - -/dts-v1/; -#include "vf610-colibri.dtsi" -#include "vf-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri VF61 on Colibri Evaluation Board"; - compatible = "toradex,vf610-colibri_vf61-on-eval", "toradex,vf610-colibri_vf61", "fsl,vf610"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2014-2020 Toradex + */ + +/dts-v1/; +#include "vf610-colibri.dtsi" +#include "vf-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri VF61 on Colibri Evaluation Board"; + compatible = "toradex,vf610-colibri_vf61-on-eval", "toradex,vf610-colibri_vf61", "fsl,vf610"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8016-sbc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8016-sbc.dts index 149737560d..4ccd2dca74 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8016-sbc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8016-sbc.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/apq8016-sbc.dts" +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/apq8016-sbc.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c3.dts index 3193595781..7765247125 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c3.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, The Linux Foundation. All rights reserved. - -#include "qcom-ipq4019-ap.dk04.1.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C3"; - compatible = "qcom,ipq4019-ap-dk04.1-c3", "qcom,ipq4019"; -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019-ap.dk04.1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C3"; + compatible = "qcom,ipq4019-ap-dk04.1-c3", "qcom,ipq4019"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062.dtsi index 8be072de27..5d3ebd3e2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "qcom-ipq8064-v2.0.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ8062"; - compatible = "qcom,ipq8062", "qcom,ipq8064"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include "qcom-ipq8064-v2.0.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ8062"; + compatible = "qcom,ipq8062", "qcom,ipq8064"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065.dtsi index 9482a31eab..ea49f6cc41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "qcom-ipq8064-v2.0.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ8065"; - compatible = "qcom,ipq8065", "qcom,ipq8064"; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "qcom-ipq8064-v2.0.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ8065"; + compatible = "qcom,ipq8065", "qcom,ipq8064"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e5.dts index 79c3d5cf63..c8d34de8a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e5.dts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-e5.dts" -#include "qcom-msm8916-smp.dtsi" +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-e5.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e7.dts index a6d54bf7f5..85be286c86 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-e7.dts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-e7.dts" -#include "qcom-msm8916-smp.dtsi" +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-e7.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-fortunaltezt.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-fortunaltezt.dts index ba7d044fa0..a1fd9588d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-fortunaltezt.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-fortunaltezt.dts @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-fortunaltezt.dts" -#include "qcom-msm8916-smp.dtsi" - -&tsens { - /* FIXME: The device crashes when accessing the SROT region for some reason */ - qcom,srot-locked; -}; +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-fortunaltezt.dts" +#include "qcom-msm8916-smp.dtsi" + +&tsens { + /* FIXME: The device crashes when accessing the SROT region for some reason */ + qcom,srot-locked; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-grandmax.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-grandmax.dts index a3a675aa78..d3abe05362 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-grandmax.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-grandmax.dts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-grandmax.dts" -#include "qcom-msm8916-smp.dtsi" +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-grandmax.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-heatqlte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-heatqlte.dts index d4dda242a6..c900d0af91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-heatqlte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-heatqlte.dts @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-heatqlte.dts" -#include "qcom-msm8916-smp.dtsi" - -&tsens { - /* FIXME: The device crashes when accessing the SROT region for some reason */ - qcom,srot-locked; -}; +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-heatqlte.dts" +#include "qcom-msm8916-smp.dtsi" + +&tsens { + /* FIXME: The device crashes when accessing the SROT region for some reason */ + qcom,srot-locked; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-serranove.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-serranove.dts index d4f1a0e76b..dee2c20af3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-serranove.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-samsung-serranove.dts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "arm64/qcom/msm8916-samsung-serranove.dts" -#include "qcom-msm8916-smp.dtsi" +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-samsung-serranove.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts index a0397ac244..9f2ab5c122 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-msm8974-sony-xperia-rhine.dtsi" - -/ { - model = "Sony Xperia Z1 Compact"; - compatible = "sony,xperia-amami", "qcom,msm8974"; - chassis-type = "handset"; -}; - -&smbb { - qcom,fast-charge-safe-current = <1300000>; - qcom,fast-charge-current-limit = <1300000>; - qcom,dc-current-limit = <1300000>; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974-sony-xperia-rhine.dtsi" + +/ { + model = "Sony Xperia Z1 Compact"; + compatible = "sony,xperia-amami", "qcom,msm8974"; + chassis-type = "handset"; +}; + +&smbb { + qcom,fast-charge-safe-current = <1300000>; + qcom,fast-charge-current-limit = <1300000>; + qcom,dc-current-limit = <1300000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts index bec8849688..9028f17e5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-msm8974-sony-xperia-rhine.dtsi" - -/ { - model = "Sony Xperia Z1"; - compatible = "sony,xperia-honami", "qcom,msm8974"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974-sony-xperia-rhine.dtsi" + +/ { + model = "Sony Xperia Z1"; + compatible = "sony,xperia-honami", "qcom,msm8974"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/Makefile index 0b27f55aa7..c83671b556 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_REALTEK) += \ - rtd1195-horseradish.dtb \ - rtd1195-mele-x1000.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_REALTEK) += \ + rtd1195-horseradish.dtb \ + rtd1195-mele-x1000.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker.dts index 810a5525d4..1e43527aa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; - -#include "rk3288-tinker.dtsi" - -/ { - model = "Rockchip RK3288 Asus Tinker Board"; - compatible = "asus,rk3288-tinker", "rockchip,rk3288"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; + +#include "rk3288-tinker.dtsi" + +/ { + model = "Rockchip RK3288 Asus Tinker Board"; + compatible = "asus,rk3288-tinker", "rockchip,rk3288"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts index 6cd3510b73..45dced8087 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; -#include "rv1109.dtsi" -#include "rv1126-sonoff-ihost.dtsi" - -/ { - model = "Sonoff iHost 2G"; - compatible = "itead,sonoff-ihost", "rockchip,rv1109"; -}; - -&cpu0 { - cpu-supply = <&vdd_arm>; -}; - -&cpu1 { - cpu-supply = <&vdd_arm>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; +#include "rv1109.dtsi" +#include "rv1126-sonoff-ihost.dtsi" + +/ { + model = "Sonoff iHost 2G"; + compatible = "itead,sonoff-ihost", "rockchip,rv1109"; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313.dtsi index 80e926f636..3499fde263 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-infinity.dtsi" - -/ { - memory@20000000 { - device_type = "memory"; - reg = <0x20000000 0x4000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-infinity.dtsi" + +/ { + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d.dtsi index 480cbbce36..176e10a298 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-infinity2m-ssd20xd.dtsi" - -/ { - memory { - device_type = "memory"; - reg = <0x20000000 0x8000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-infinity2m-ssd20xd.dtsi" + +/ { + memory { + device_type = "memory"; + reg = <0x20000000 0x8000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd20xd.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd20xd.dtsi index d589f399ad..6f067da61b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd20xd.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd20xd.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-infinity2m.dtsi" - -&gpio { - compatible = "sstar,ssd20xd-gpio"; - status = "okay"; -}; - -&smpctrl { - compatible = "sstar,ssd201-smpctrl", "mstar,smpctrl"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-infinity2m.dtsi" + +&gpio { + compatible = "sstar,ssd20xd-gpio"; + status = "okay"; +}; + +&smpctrl { + compatible = "sstar,ssd201-smpctrl", "mstar,smpctrl"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e.dtsi index e2be63bd21..f581b6f895 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-infinity3.dtsi" - -/ { - memory@20000000 { - device_type = "memory"; - reg = <0x20000000 0x4000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-infinity3.dtsi" + +/ { + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n.dtsi index b47c7b0957..3f5a4c0297 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-mercury5.dtsi" - -/ { - memory@20000000 { - device_type = "memory"; - reg = <0x20000000 0x4000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-mercury5.dtsi" + +/ { + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5.dtsi index 92aef5d4c1..a7d0dd9d61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-v7.dtsi" - -&imi { - reg = <0xa0000000 0x20000>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-v7.dtsi" + +&imi { + reg = <0xa0000000 0x20000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ref-daughter.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ref-daughter.dtsi index d60a35aa45..a11897669c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ref-daughter.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ref-daughter.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Device Tree Source for UniPhier Reference Daughter Board -// -// Copyright (C) 2015-2017 Socionext Inc. -// Author: Masahiro Yamada - -&i2c0 { - eeprom@50 { - compatible = "microchip,24lc128", "atmel,24c128"; - reg = <0x50>; - pagesize = <64>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Device Tree Source for UniPhier Reference Daughter Board +// +// Copyright (C) 2015-2017 Socionext Inc. +// Author: Masahiro Yamada + +&i2c0 { + eeprom@50 { + compatible = "microchip,24lc128", "atmel,24c128"; + reg = <0x50>; + pagesize = <64>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts index 669978bbce..ff7ff32371 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2023 Dario Binacchi - */ - -#include "stm32f769-disco.dts" - -&panel0 { - compatible = "frida,frd400b25025", "novatek,nt35510"; - vddi-supply = <&vcc_3v3>; - vdd-supply = <&vcc_3v3>; - /delete-property/power-supply; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/power-supply; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32h750.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32h750.dtsi index 03b0aa92c4..41e3b1e3a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32h750.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32h750.dtsi @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* Copyright (C) STMicroelectronics 2021 - All Rights Reserved */ - -#include "stm32h743.dtsi" - - +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ +/* Copyright (C) STMicroelectronics 2021 - All Rights Reserved */ + +#include "stm32h743.dtsi" + + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-avenger96.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-avenger96.dts index b626c9bd36..8a6eaca994 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-avenger96.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-avenger96.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - * Copyright (C) Linaro Ltd 2019 - All Rights Reserved - * Author: Manivannan Sadhasivam - * Copyright (C) 2020 Marek Vasut - */ - -/dts-v1/; - -/* This DT is here only for backward compatibility */ -#include "stm32mp157a-dhcor-avenger96.dts" +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + * Copyright (C) Linaro Ltd 2019 - All Rights Reserved + * Author: Manivannan Sadhasivam + * Copyright (C) 2020 Marek Vasut + */ + +/dts-v1/; + +/* This DT is here only for backward compatibility */ +#include "stm32mp157a-dhcor-avenger96.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-stinger96.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-stinger96.dts index e13ae14995..249a538775 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-stinger96.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-stinger96.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Manivannan Sadhasivam - */ - -/dts-v1/; -#include "stm32mp157a-stinger96.dtsi" - -/ { - model = "Shiratech STM32MP157A Stinger96 board"; - compatible = "shiratech,stm32mp157a-stinger96", "st,stm32mp157"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Manivannan Sadhasivam + */ + +/dts-v1/; +#include "stm32mp157a-stinger96.dtsi" + +/ { + model = "Shiratech STM32MP157A Stinger96 board"; + compatible = "shiratech,stm32mp157a-stinger96", "st,stm32mp157"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/Makefile index 5ff5086078..868f2ea0c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_SP7021) += \ - sunplus-sp7021-demo-v3.dtb -dtb-$(CONFIG_SOC_SP7021) += \ - sunplus-sp7021-demo-v3.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_SOC_SP7021) += \ + sunplus-sp7021-demo-v3.dtb +dtb-$(CONFIG_SOC_SP7021) += \ + sunplus-sp7021-demo-v3.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/Makefile index e2decabc63..0ecccd156d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BERLIN) += \ - berlin2-sony-nsz-gs7.dtb \ - berlin2cd-google-chromecast.dtb \ - berlin2cd-valve-steamlink.dtb \ - berlin2q-marvell-dmp.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BERLIN) += \ + berlin2-sony-nsz-gs7.dtb \ + berlin2cd-google-chromecast.dtb \ + berlin2cd-valve-steamlink.dtb \ + berlin2q-marvell-dmp.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/Makefile index d26d4e646f..871079a7bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += davinci -subdir-y += keystone -subdir-y += omap +# SPDX-License-Identifier: GPL-2.0 +subdir-y += davinci +subdir-y += keystone +subdir-y += omap diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/Makefile index 1a472805eb..c0e388eb3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_DAVINCI) += \ - da850-lcdk.dtb \ - da850-enbw-cmc.dtb \ - da850-evm.dtb \ - da850-lego-ev3.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_DAVINCI) += \ + da850-lcdk.dtb \ + da850-enbw-cmc.dtb \ + da850-evm.dtb \ + da850-lego-ev3.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/keystone/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/keystone/Makefile index a36914f8e5..4b18d08fa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/keystone/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/keystone/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_KEYSTONE) += \ - keystone-k2hk-evm.dtb \ - keystone-k2l-evm.dtb \ - keystone-k2e-evm.dtb \ - keystone-k2g-evm.dtb \ - keystone-k2g-ice.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_KEYSTONE) += \ + keystone-k2hk-evm.dtb \ + keystone-k2l-evm.dtb \ + keystone-k2e-evm.dtb \ + keystone-k2g-evm.dtb \ + keystone-k2g-ice.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-regor-rdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-regor-rdk.dts index e0e4cc1912..66a1360b83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-regor-rdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-regor-rdk.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 Phytec Messtechnik GmbH - * Author: Teresa Remmet - * - */ - -/dts-v1/; - -#include "am335x-phycore-som.dtsi" -#include "am335x-regor.dtsi" - -/* SoM */ -&gpmc { - status = "okay"; -}; - -&i2c_eeprom { - status = "okay"; -}; - -&serial_flash { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Phytec Messtechnik GmbH + * Author: Teresa Remmet + * + */ + +/dts-v1/; + +#include "am335x-phycore-som.dtsi" +#include "am335x-regor.dtsi" + +/* SoM */ +&gpmc { + status = "okay"; +}; + +&i2c_eeprom { + status = "okay"; +}; + +&serial_flash { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-wega-rdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-wega-rdk.dts index f46784b167..866b5f0cbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-wega-rdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-wega-rdk.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 Phytec Messtechnik GmbH - * Author: Teresa Remmet - */ - -/dts-v1/; - -#include "am335x-phycore-som.dtsi" -#include "am335x-wega.dtsi" - -/* SoM */ -&gpmc { - status = "okay"; -}; - -&i2c_eeprom { - status = "okay"; -}; - -&i2c_rtc { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Phytec Messtechnik GmbH + * Author: Teresa Remmet + */ + +/dts-v1/; + +#include "am335x-phycore-som.dtsi" +#include "am335x-wega.dtsi" + +/* SoM */ +&gpmc { + status = "okay"; +}; + +&i2c_eeprom { + status = "okay"; +}; + +&i2c_rtc { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3703.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3703.dtsi index 2cfb4d3473..2b994ae790 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3703.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3703.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2020 André Hentschel - */ - -#include "omap36xx.dtsi" - -&iva { - status = "disabled"; -}; - -&sgx_module { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2020 André Hentschel + */ + +#include "omap36xx.dtsi" + +&iva { + status = "disabled"; +}; + +&sgx_module { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3715.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3715.dtsi index c61eede557..ab328e8c0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3715.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3715.dtsi @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2020 André Hentschel - */ - -#include "omap36xx.dtsi" - -&iva { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2020 André Hentschel + */ + +#include "omap36xx.dtsi" + +&iva { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dm3725.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dm3725.dtsi index 73e0772d9e..d24e906a14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dm3725.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dm3725.dtsi @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2020 André Hentschel - */ - -#include "omap36xx.dtsi" - -&sgx_module { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2020 André Hentschel + */ + +#include "omap36xx.dtsi" + +&sgx_module { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x.dtsi index 80d848b423..cfefa67051 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "dm814x.dtsi" - -/ { - compatible = "ti,dra62x"; -}; - -/* Compared to dm814x, dra62x has different offsets for Ethernet */ -&mac { - reg = <0 0x800>, - <0x1200 0x100>; -}; - -&davinci_mdio { - reg = <0x1000 0x100>; -}; - -#include "dra62x-clocks.dtsi" +// SPDX-License-Identifier: GPL-2.0-only + +#include "dm814x.dtsi" + +/ { + compatible = "ti,dra62x"; +}; + +/* Compared to dm814x, dra62x has different offsets for Ethernet */ +&mac { + reg = <0 0x800>, + <0x1200 0x100>; +}; + +&davinci_mdio { + reg = <0x1000 0x100>; +}; + +#include "dra62x-clocks.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra71x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra71x.dtsi index abc2716cfd..9c270d8f75 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra71x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra71x.dtsi @@ -1,13 +1,13 @@ -/* - * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#include "dra72-evm-common.dtsi" - -&rtctarget { - status = "disabled"; -}; +/* + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "dra72-evm-common.dtsi" + +&rtctarget { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74-ipu-dsp-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74-ipu-dsp-common.dtsi index 0bbec437b0..3256631510 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74-ipu-dsp-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74-ipu-dsp-common.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Common IPU and DSP data for TI DRA74x/DRA76x/AM572x/AM574x platforms - */ - -#include "dra7-ipu-dsp-common.dtsi" - -&mailbox6 { - mbox_dsp2_ipc3x: mbox-dsp2-ipc3x { - status = "okay"; - }; -}; - -&dsp2 { - mboxes = <&mailbox6 &mbox_dsp2_ipc3x>; - ti,timers = <&timer6>; - ti,watchdog-timers = <&timer13>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Common IPU and DSP data for TI DRA74x/DRA76x/AM572x/AM574x platforms + */ + +#include "dra7-ipu-dsp-common.dtsi" + +&mailbox6 { + mbox_dsp2_ipc3x: mbox-dsp2-ipc3x { + status = "okay"; + }; +}; + +&dsp2 { + mboxes = <&mailbox6 &mbox_dsp2_ipc3x>; + ti,timers = <&timer6>; + ti,watchdog-timers = <&timer13>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-37xx-devkit-28.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-37xx-devkit-28.dts index e47522283b..b553613297 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-37xx-devkit-28.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-37xx-devkit-28.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -/* - * There are two types of 4.3" LCD, Type 15 and Type 28. - * By default, type 15 was used. This device tree file - * uses the timing for the type 28 LCD - */ - -#include "logicpd-torpedo-37xx-devkit.dts" - -&lcd0 { - compatible = "logicpd,type28"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +/* + * There are two types of 4.3" LCD, Type 15 and Type 28. + * By default, type 15 was used. This device tree file + * uses the timing for the type 28 LCD + */ + +#include "logicpd-torpedo-37xx-devkit.dts" + +&lcd0 { + compatible = "logicpd,type28"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n800.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n800.dts index fde8f184ac..f06d767e81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n800.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n800.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "omap2420-n8x0-common.dtsi" - -/ { - model = "Nokia N800"; - compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "omap2420-n8x0-common.dtsi" + +/ { + model = "Nokia N800"; + compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts index 1c241b34a5..ac9acbd609 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "omap2420-n8x0-common.dtsi" - -/ { - model = "Nokia N810 WiMax"; - compatible = "nokia,n810-wimax", "nokia,n8x0", "ti,omap2420", "ti,omap2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "omap2420-n8x0-common.dtsi" + +/ { + model = "Nokia N810 WiMax"; + compatible = "nokia,n810-wimax", "nokia,n8x0", "ti,omap2420", "ti,omap2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-beagle-xm-ab.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-beagle-xm-ab.dts index fb59d70b99..cb6968a8bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-beagle-xm-ab.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-beagle-xm-ab.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "omap3-beagle-xm.dts" - -/ { - /* HS USB Port 2 Power enable was inverted with the xM C */ - hsusb2_power: hsusb2_power_reg { - enable-active-high; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "omap3-beagle-xm.dts" + +/ { + /* HS USB Port 2 Power enable was inverted with the xM C */ + hsusb2_power: hsusb2_power_reg { + enable-active-high; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000.dts index b87c49ba21..162d0726b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Author: Anthoine Bourgeois - */ -/dts-v1/; - -#include "omap3-devkit8000-common.dtsi" -/ { - model = "TimLL OMAP3 Devkit8000"; - compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; - - aliases { - display1 = &dvi0; - display2 = &tv0; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Author: Anthoine Bourgeois + */ +/dts-v1/; + +#include "omap3-devkit8000-common.dtsi" +/ { + model = "TimLL OMAP3 Devkit8000"; + compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; + + aliases { + display1 = &dvi0; + display2 = &tv0; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-gta04a4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-gta04a4.dts index 464ea6aa9d..f1cf24d55e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-gta04a4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-gta04a4.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Marek Belisko - */ - -#include "omap3-gta04.dtsi" - -/ { - model = "Goldelico GTA04A4/Letux 2804"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Marek Belisko + */ + +#include "omap3-gta04.dtsi" + +/ { + model = "Goldelico GTA04A4/Letux 2804"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda.dts index 5f4bd97e02..529d5bccea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ - */ -/dts-v1/; - -#include "omap443x.dtsi" -#include "omap4-panda-common.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ + */ +/dts-v1/; + +#include "omap443x.dtsi" +#include "omap4-panda-common.dtsi" + +/ { + model = "TI OMAP4 PandaBoard"; + compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz617.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz617.dts index ae86abeda6..b9caea3b7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz617.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz617.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/dts-v1/; - -#include "motorola-mapphone-mz607-mz617.dtsi" - -/ { - model = "Motorola Xyboard MZ617"; - compatible = "motorola,xyboard-mz617", "ti,omap4430", "ti,omap4"; - - chosen { - stdout-path = &uart3; - }; - - aliases { - display1 = &hdmi0; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/dts-v1/; + +#include "motorola-mapphone-mz607-mz617.dtsi" + +/ { + model = "Motorola Xyboard MZ617"; + compatible = "motorola,xyboard-mz617", "ti,omap4430", "ti,omap4"; + + chosen { + stdout-path = &uart3; + }; + + aliases { + display1 = &hdmi0; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/Makefile index 1d018216a8..dba5cd874e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_RDA) += \ - rda8810pl-orangepi-2g-iot.dtb \ - rda8810pl-orangepi-i96.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_RDA) += \ + rda8810pl-orangepi-2g-iot.dtb \ + rda8810pl-orangepi-i96.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/Makefile index e9e3b07cf1..255f4403af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_VT8500) += \ - vt8500-bv07.dtb \ - wm8505-ref.dtb \ - wm8650-mid.dtb \ - wm8750-apc8750.dtb \ - wm8850-w70v2.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_VT8500) += \ + vt8500-bv07.dtb \ + wm8505-ref.dtb \ + wm8650-mid.dtb \ + wm8750-apc8750.dtb \ + wm8850-w70v2.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xen/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xen/Makefile index c38b8cb494..26c50f1389 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xen/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xen/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_VIRT) += \ - xenvm-4.2.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_VIRT) += \ + xenvm-4.2.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn-v5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn-v5.dts index f77fb5377f..536632a09a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn-v5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn-v5.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; -/include/ "zynq-zturn-common.dtsi" - -/ { - model = "Zynq Z-Turn MYIR Board V5"; - compatible = "myir,zynq-zturn-v5", "xlnx,zynq-7000"; -}; - -&gem0 { - ethernet_phy: ethernet-phy@0 { - reg = <0x3>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; +/include/ "zynq-zturn-common.dtsi" + +/ { + model = "Zynq Z-Turn MYIR Board V5"; + compatible = "myir,zynq-zturn-v5", "xlnx,zynq-7000"; +}; + +&gem0 { + ethernet_phy: ethernet-phy@0 { + reg = <0x3>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn.dts index 2212d11a05..620b24a25e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zturn.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; -/include/ "zynq-zturn-common.dtsi" - -/ { - model = "Zynq Z-Turn MYIR Board"; - compatible = "myir,zynq-zturn", "xlnx,zynq-7000"; -}; - -&gem0 { - ethernet_phy: ethernet-phy@0 { - reg = <0x0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; +/include/ "zynq-zturn-common.dtsi" + +/ { + model = "Zynq Z-Turn MYIR Board"; + compatible = "myir,zynq-zturn", "xlnx,zynq-7000"; +}; + +&gem0 { + ethernet_phy: ethernet-phy@0 { + reg = <0x0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Kconfig index 4fd133a5f6..d2fdb1796f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -config SA1111 - bool - select ZONE_DMA if ARCH_SA1100 - -config KRAIT_L2_ACCESSORS - bool - -config SHARP_LOCOMO - bool - -config SHARP_PARAM - bool - -config SHARP_SCOOP - bool +# SPDX-License-Identifier: GPL-2.0 +config SA1111 + bool + select ZONE_DMA if ARCH_SA1100 + +config KRAIT_L2_ACCESSORS + bool + +config SHARP_LOCOMO + bool + +config SHARP_PARAM + bool + +config SHARP_SCOOP + bool diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/.gitignore index 3f5a709217..1cd39ba800 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/.gitignore @@ -1,2 +1,2 @@ -# This is dynamically built from the arm64 one (see msm8916_defconfig.part) -msm8916_defconfig +# This is dynamically built from the arm64 one (see msm8916_defconfig.part) +msm8916_defconfig diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/hardening.config b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/hardening.config index a475776f5e..327349ce63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/hardening.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/hardening.config @@ -1,7 +1,7 @@ -# Basic kernel hardening options (specific to arm) - -# Make sure PXN/PAN emulation is enabled. -CONFIG_CPU_SW_DOMAIN_PAN=y - -# Dangerous; old interfaces and needless additional attack surface. -# CONFIG_OABI_COMPAT is not set +# Basic kernel hardening options (specific to arm) + +# Make sure PXN/PAN emulation is enabled. +CONFIG_CPU_SW_DOMAIN_PAN=y + +# Dangerous; old interfaces and needless additional attack surface. +# CONFIG_OABI_COMPAT is not set diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/lpae.config b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/lpae.config index 586e32f92a..1ab94da834 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/lpae.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/lpae.config @@ -1,3 +1,3 @@ -# Help: Enable Large Physical Address Extension mode -CONFIG_ARM_LPAE=y -CONFIG_VMSPLIT_2G=y +# Help: Enable Large Physical Address Extension mode +CONFIG_ARM_LPAE=y +CONFIG_VMSPLIT_2G=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/.gitignore index 019516b2ea..8d7f4bcaec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -aesbs-core.S -sha256-core.S -sha512-core.S -poly1305-core.S +# SPDX-License-Identifier: GPL-2.0-only +aesbs-core.S +sha256-core.S +sha512-core.S +poly1305-core.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/blake2s-glue.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/blake2s-glue.c index c3f1bee81f..0238a70d95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/blake2s-glue.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/blake2s-glue.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include -#include - -/* defined in blake2s-core.S */ -EXPORT_SYMBOL(blake2s_compress); +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include + +/* defined in blake2s-core.S */ +EXPORT_SYMBOL(blake2s_compress); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha512.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha512.h index 61c0661699..e14572be76 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha512.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha512.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -int sha512_arm_update(struct shash_desc *desc, const u8 *data, - unsigned int len); - -int sha512_arm_finup(struct shash_desc *desc, const u8 *data, - unsigned int len, u8 *out); - -extern struct shash_alg sha512_neon_algs[2]; +/* SPDX-License-Identifier: GPL-2.0 */ + +int sha512_arm_update(struct shash_desc *desc, const u8 *data, + unsigned int len); + +int sha512_arm_finup(struct shash_desc *desc, const u8 *data, + unsigned int len, u8 *out); + +extern struct shash_alg sha512_neon_algs[2]; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/Kbuild index 4e3eb9bde4..03657ff8fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/Kbuild @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -generic-y += early_ioremap.h -generic-y += extable.h -generic-y += flat.h -generic-y += parport.h - -generated-y += mach-types.h -generated-y += unistd-nr.h +# SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h +generic-y += extable.h +generic-y += flat.h +generic-y += parport.h + +generated-y += mach-types.h +generated-y += unistd-nr.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/archrandom.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/archrandom.h index 0f3f0cd17b..cc4714eb1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/archrandom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/archrandom.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARCHRANDOM_H -#define _ASM_ARCHRANDOM_H - -static inline bool __init smccc_probe_trng(void) -{ - return false; -} - -#include - -#endif /* _ASM_ARCHRANDOM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARCHRANDOM_H +#define _ASM_ARCHRANDOM_H + +static inline bool __init smccc_probe_trng(void) +{ + return false; +} + +#include + +#endif /* _ASM_ARCHRANDOM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bugs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bugs.h index 8166792dc6..fe385551ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bugs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bugs.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 1995-2003 Russell King - */ -#ifndef __ASM_BUGS_H -#define __ASM_BUGS_H - -extern void check_writebuffer_bugs(void); - -#ifdef CONFIG_MMU -extern void check_other_bugs(void); -#else -#define check_other_bugs() do { } while (0) -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 1995-2003 Russell King + */ +#ifndef __ASM_BUGS_H +#define __ASM_BUGS_H + +extern void check_writebuffer_bugs(void); + +#ifdef CONFIG_MMU +extern void check_other_bugs(void); +#else +#define check_other_bugs() do { } while (0) +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/clocksource.h index 4752ee893e..13651c731a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_CLOCKSOURCE_H -#define _ASM_CLOCKSOURCE_H - -#include - -#endif /* _ASM_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_CLOCKSOURCE_H +#define _ASM_CLOCKSOURCE_H + +#include + +#endif /* _ASM_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/fpu.h index 4c78bd2400..2ae50bdce5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/fpu.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 SiFive - */ - -#ifndef __ASM_FPU_H -#define __ASM_FPU_H - -#include - -#define kernel_fpu_available() cpu_has_neon() -#define kernel_fpu_begin() kernel_neon_begin() -#define kernel_fpu_end() kernel_neon_end() - -#endif /* ! __ASM_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 SiFive + */ + +#ifndef __ASM_FPU_H +#define __ASM_FPU_H + +#include + +#define kernel_fpu_available() cpu_has_neon() +#define kernel_fpu_begin() kernel_neon_begin() +#define kernel_fpu_end() kernel_neon_end() + +#endif /* ! __ASM_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardirq.h index 05efa738b6..706efafbf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardirq.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_HARDIRQ_H -#define __ASM_HARDIRQ_H - -#include - -#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 -#define ack_bad_irq ack_bad_irq - -#include - -#endif /* __ASM_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_HARDIRQ_H +#define __ASM_HARDIRQ_H + +#include + +#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 +#define ack_bad_irq ack_bad_irq + +#include + +#endif /* __ASM_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-b15-rac.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-b15-rac.h index c7461c4341..3d43ec06fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-b15-rac.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-b15-rac.h @@ -1,10 +1,10 @@ -#ifndef __ASM_ARM_HARDWARE_CACHE_B15_RAC_H -#define __ASM_ARM_HARDWARE_CACHE_B15_RAC_H - -#ifndef __ASSEMBLY__ - -void b15_flush_kern_cache_all(void); - -#endif - -#endif +#ifndef __ASM_ARM_HARDWARE_CACHE_B15_RAC_H +#define __ASM_ARM_HARDWARE_CACHE_B15_RAC_H + +#ifndef __ASSEMBLY__ + +void b15_flush_kern_cache_all(void); + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-feroceon-l2.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-feroceon-l2.h index 9c289ebf94..eb2e7b7f70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-feroceon-l2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-feroceon-l2.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/hardware/cache-feroceon-l2.h - * - * Copyright (C) 2008 Marvell Semiconductor - */ - -extern void __init feroceon_l2_init(int l2_wt_override); -extern int __init feroceon_of_init(void); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/hardware/cache-feroceon-l2.h + * + * Copyright (C) 2008 Marvell Semiconductor + */ + +extern void __init feroceon_l2_init(int l2_wt_override); +extern int __init feroceon_of_init(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-tauros2.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-tauros2.h index e4b712c24f..4e493facaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-tauros2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-tauros2.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/hardware/cache-tauros2.h - * - * Copyright (C) 2008 Marvell Semiconductor - */ - -#define CACHE_TAUROS2_PREFETCH_ON (1 << 0) -#define CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) - -extern void __init tauros2_init(unsigned int features); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/hardware/cache-tauros2.h + * + * Copyright (C) 2008 Marvell Semiconductor + */ + +#define CACHE_TAUROS2_PREFETCH_ON (1 << 0) +#define CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) + +extern void __init tauros2_init(unsigned int features); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hypervisor.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hypervisor.h index 5f75f3738e..8a648e5065 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hypervisor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hypervisor.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_HYPERVISOR_H -#define _ASM_ARM_HYPERVISOR_H - -#include - -void kvm_init_hyp_services(void); -bool kvm_arm_hyp_service_available(u32 func_id); - -static inline void kvm_arch_init_hyp_services(void) { }; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_HYPERVISOR_H +#define _ASM_ARM_HYPERVISOR_H + +#include + +void kvm_init_hyp_services(void); +bool kvm_arm_hyp_service_available(u32 func_id); + +static inline void kvm_arch_init_hyp_services(void) { }; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq_work.h index 8d1fe9f867..8895999834 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq_work.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARM_IRQ_WORK_H -#define __ASM_ARM_IRQ_WORK_H - -#include - -static inline bool arch_irq_work_has_interrupt(void) -{ - return is_smp(); -} - -#endif /* _ASM_ARM_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARM_IRQ_WORK_H +#define __ASM_ARM_IRQ_WORK_H + +#include + +static inline bool arch_irq_work_has_interrupt(void) +{ + return is_smp(); +} + +#endif /* _ASM_ARM_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kexec-internal.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kexec-internal.h index dd863d08cd..ecc2322db7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kexec-internal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kexec-internal.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARM_KEXEC_INTERNAL_H -#define _ARM_KEXEC_INTERNAL_H - -struct kexec_relocate_data { - unsigned long kexec_start_address; - unsigned long kexec_indirection_page; - unsigned long kexec_mach_type; - unsigned long kexec_r2; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARM_KEXEC_INTERNAL_H +#define _ARM_KEXEC_INTERNAL_H + +struct kexec_relocate_data { + unsigned long kexec_start_address; + unsigned long kexec_indirection_page; + unsigned long kexec_mach_type; + unsigned long kexec_r2; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/krait-l2-accessors.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/krait-l2-accessors.h index c67815bc4c..a5f2cdd644 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/krait-l2-accessors.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/krait-l2-accessors.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASMARM_KRAIT_L2_ACCESSORS_H -#define __ASMARM_KRAIT_L2_ACCESSORS_H - -extern void krait_set_l2_indirect_reg(u32 addr, u32 val); -extern u32 krait_get_l2_indirect_reg(u32 addr); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASMARM_KRAIT_L2_ACCESSORS_H +#define __ASMARM_KRAIT_L2_ACCESSORS_H + +extern void krait_set_l2_indirect_reg(u32 addr, u32 val); +extern u32 krait_get_l2_indirect_reg(u32 addr); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/linkage.h index 44a69cf762..c4670694ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/linkage.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#define __ALIGN .align 0 -#define __ALIGN_STR ".align 0" - -#define ENDPROC(name) \ - .type name, %function; \ - END(name) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define __ALIGN .align 0 +#define __ALIGN_STR ".align 0" + +#define ENDPROC(name) \ + .type name, %function; \ + END(name) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/time.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/time.h index a6c3711d39..5f522916ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/time.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/time.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/mach/time.h - * - * Copyright (C) 2004 MontaVista Software, Inc. - */ -#ifndef __ASM_ARM_MACH_TIME_H -#define __ASM_ARM_MACH_TIME_H - -typedef void (*clock_access_fn)(struct timespec64 *); -extern int register_persistent_clock(clock_access_fn read_persistent); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/mach/time.h + * + * Copyright (C) 2004 MontaVista Software, Inc. + */ +#ifndef __ASM_ARM_MACH_TIME_H +#define __ASM_ARM_MACH_TIME_H + +typedef void (*clock_access_fn)(struct timespec64 *); +extern int register_persistent_clock(clock_access_fn read_persistent); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/memblock.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/memblock.h index 78c46a4761..b10fd358cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/memblock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/memblock.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_MEMBLOCK_H -#define _ASM_ARM_MEMBLOCK_H - -struct machine_desc; - -void arm_memblock_init(const struct machine_desc *); -phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_MEMBLOCK_H +#define _ASM_ARM_MEMBLOCK_H + +struct machine_desc; + +void arm_memblock_init(const struct machine_desc *); +phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/module.lds.h index 8f92a1a9bb..0e7cb4e314 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/module.lds.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_ARM_MODULE_PLTS -SECTIONS { - .plt : { BYTE(0) } - .init.plt : { BYTE(0) } -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_ARM_MODULE_PLTS +SECTIONS { + .plt : { BYTE(0) } + .init.plt : { BYTE(0) } +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/nwflash.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/nwflash.h index a11697f3ef..66b7e68c9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/nwflash.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/nwflash.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _FLASH_H -#define _FLASH_H - -#define CMD_WRITE_DISABLE 0 -#define CMD_WRITE_ENABLE 0x28 -#define CMD_WRITE_BASE64K_ENABLE 0x47 - -#endif /* _FLASH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _FLASH_H +#define _FLASH_H + +#define CMD_WRITE_DISABLE 0 +#define CMD_WRITE_ENABLE 0x28 +#define CMD_WRITE_BASE64K_ENABLE 0x47 + +#endif /* _FLASH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pgtable-hwdef.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pgtable-hwdef.h index 2b165d1d8d..d60548ccd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pgtable-hwdef.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pgtable-hwdef.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/pgtable-hwdef.h - * - * Copyright (C) 1995-2002 Russell King - */ -#ifndef _ASMARM_PGTABLE_HWDEF_H -#define _ASMARM_PGTABLE_HWDEF_H - -#ifdef CONFIG_ARM_LPAE -#include -#else -#include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/pgtable-hwdef.h + * + * Copyright (C) 1995-2002 Russell King + */ +#ifndef _ASMARM_PGTABLE_HWDEF_H +#define _ASMARM_PGTABLE_HWDEF_H + +#ifdef CONFIG_ARM_LPAE +#include +#else +#include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/seccomp.h index 4b2561c251..e9ad0f37d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ARM -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "arm" - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ARM +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "arm" + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/secure_cntvoff.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/secure_cntvoff.h index 29d7d07bab..1f93aee1f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/secure_cntvoff.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/secure_cntvoff.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASMARM_ARCH_CNTVOFF_H -#define __ASMARM_ARCH_CNTVOFF_H - -extern void secure_cntvoff_init(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASMARM_ARCH_CNTVOFF_H +#define __ASMARM_ARCH_CNTVOFF_H + +extern void secure_cntvoff_init(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/simd.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/simd.h index 54b57c5662..82191dbd7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/simd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/simd.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -static __must_check inline bool may_use_simd(void) -{ - return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +static __must_check inline bool may_use_simd(void) +{ + return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/clocksource.h index ceafb12325..50c0b19fb7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/clocksource.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSOCLOCKSOURCE_H -#define __ASM_VDSOCLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_ARCHTIMER - -#endif /* __ASM_VDSOCLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSOCLOCKSOURCE_H +#define __ASM_VDSOCLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_ARCHTIMER + +#endif /* __ASM_VDSOCLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vmalloc.h index 12bf1cf6d2..a9b3718b86 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_ARM_VMALLOC_H -#define _ASM_ARM_VMALLOC_H - -#endif /* _ASM_ARM_VMALLOC_H */ +#ifndef _ASM_ARM_VMALLOC_H +#define _ASM_ARM_VMALLOC_H + +#endif /* _ASM_ARM_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/page.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/page.h index 5deedb1a34..dc7f6e91aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/page.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/page.h @@ -1,6 +1,6 @@ -#include - -static inline bool xen_kernel_unmapped_at_usr(void) -{ - return false; -} +#include + +static inline bool xen_kernel_unmapped_at_usr(void) +{ + return false; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/palmchip.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/palmchip.S index 99cd1eaee2..aed59332e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/palmchip.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/palmchip.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -#undef UART_TX -#undef UART_LSR -#undef UART_MSR - -#define UART_TX 1 -#define UART_LSR 7 -#define UART_MSR 8 - -#include +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +#undef UART_TX +#undef UART_LSR +#undef UART_MSR + +#define UART_TX 1 +#define UART_LSR 7 +#define UART_MSR 8 + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/uncompress.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/uncompress.h index 8c76c264cd..ff0b227290 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/uncompress.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/uncompress.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_DEBUG_UNCOMPRESS -extern void putc(int c); -#else -static inline void putc(int c) {} -#endif -static inline void flush(void) {} -static inline void arch_decomp_setup(void) {} +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_DEBUG_UNCOMPRESS +extern void putc(int c); +#else +static inline void putc(int c) {} +#endif +static inline void flush(void) {} +static inline void arch_decomp_setup(void) {} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/Kbuild index 999da8a72e..63748af8bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/Kbuild @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -generated-y += unistd-oabi.h -generated-y += unistd-eabi.h -generic-y += kvm_para.h +# SPDX-License-Identifier: GPL-2.0 + +generated-y += unistd-oabi.h +generated-y += unistd-eabi.h +generic-y += kvm_para.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/auxvec.h index 9395bac4ee..5c09da5965 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/auxvec.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_AUXVEC_H -#define __ASM_AUXVEC_H - -/* VDSO location */ -#define AT_SYSINFO_EHDR 33 - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_AUXVEC_H +#define __ASM_AUXVEC_H + +/* VDSO location */ +#define AT_SYSINFO_EHDR 33 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/ioctls.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/ioctls.h index b4bb2e08f3..1bfe2854fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/ioctls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/ioctls.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ARM_IOCTLS_H -#define __ASM_ARM_IOCTLS_H - -#define FIOQSIZE 0x545E - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ARM_IOCTLS_H +#define __ASM_ARM_IOCTLS_H + +#define FIOQSIZE 0x545E + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/mman.h index 2a977ef225..41f99c573b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/mman.h @@ -1,4 +1,4 @@ -#include - -#define arch_mmap_check(addr, len, flags) \ - (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0) +#include + +#define arch_mmap_check(addr, len, flags) \ + (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/bugs.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/bugs.c index feac479c1a..087bce6ec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/bugs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/bugs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include - -void check_other_bugs(void) -{ -#ifdef MULTI_CPU - if (cpu_check_bugs) - cpu_check_bugs(); -#endif -} - -void __init arch_cpu_finalize_init(void) -{ - check_writebuffer_bugs(); - check_other_bugs(); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include + +void check_other_bugs(void) +{ +#ifdef MULTI_CPU + if (cpu_check_bugs) + cpu_check_bugs(); +#endif +} + +void __init arch_cpu_finalize_init(void) +{ + check_writebuffer_bugs(); + check_other_bugs(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/head.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/head.h index bdff79972d..0eb5accf71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/head.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/head.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-only - -extern char __data_loc[]; -extern char _edata_loc[]; -extern char _sdata[]; - -int __init __inflate_kernel_data(void); +// SPDX-License-Identifier: GPL-2.0-only + +extern char __data_loc[]; +extern char _edata_loc[]; +extern char _sdata[]; + +int __init __inflate_kernel_data(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/reboot.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/reboot.h index 0c96bc0d07..189ab81b77 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/reboot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/reboot.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef REBOOT_H -#define REBOOT_H - -extern void call_with_stack(void (*fn)(void *), void *arg, void *sp); -extern void _soft_restart(unsigned long addr, bool disable_l2); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef REBOOT_H +#define REBOOT_H + +extern void call_with_stack(void (*fn)(void *), void *arg, void *sp); +extern void _soft_restart(unsigned long addr, bool disable_l2); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/signal.h index a2d650b929..cb076d30ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/signal.h @@ -1,13 +1,13 @@ -#include - -struct sigframe { - struct ucontext uc; - unsigned long retcode[4]; -}; - -struct rt_sigframe { - struct siginfo info; - struct sigframe sig; -}; - -extern struct page *get_signal_page(void); +#include + +struct sigframe { + struct ucontext uc; + unsigned long retcode[4]; +}; + +struct rt_sigframe { + struct siginfo info; + struct sigframe sig; +}; + +extern struct page *get_signal_page(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/vmcore_info.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/vmcore_info.c index a4776cd2ae..1437aba477 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/vmcore_info.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/vmcore_info.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include - -void arch_crash_save_vmcoreinfo(void) -{ -#ifdef CONFIG_ARM_LPAE - VMCOREINFO_CONFIG(ARM_LPAE); -#endif -} +// SPDX-License-Identifier: GPL-2.0-only + +#include + +void arch_crash_save_vmcoreinfo(void) +{ +#ifdef CONFIG_ARM_LPAE + VMCOREINFO_CONFIG(ARM_LPAE); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/changebit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/changebit.S index c82790687e..02424765e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/changebit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/changebit.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/changebit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -bitop _change_bit, eor +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/changebit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +bitop _change_bit, eor diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/clearbit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/clearbit.S index 8213aa1282..4646dee8a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/clearbit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/clearbit.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/clearbit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -bitop _clear_bit, bic +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/clearbit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +bitop _clear_bit, bic diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/error-inject.c index deb1951cf0..5a5b405792 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/error-inject.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - instruction_pointer_set(regs, regs->ARM_lr); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + instruction_pointer_set(regs, regs->ARM_lr); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/setbit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/setbit.S index 35449e7820..19a96f43f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/setbit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/setbit.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/setbit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -bitop _set_bit, orr +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/setbit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +bitop _set_bit, orr diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Makefile index 2aa6d42d99..acbe0136af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += alpine_machine.o -obj-$(CONFIG_SMP) += platsmp.o alpine_cpu_pm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y += alpine_machine.o +obj-$(CONFIG_SMP) += platsmp.o alpine_cpu_pm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_machine.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_machine.c index 0c5e758333..bc491bbbab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_machine.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_machine.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Machine declaration for Alpine platforms. - * - * Copyright (C) 2015 Annapurna Labs Ltd. - */ - -#include - -static const char * const al_match[] __initconst = { - "al,alpine", - NULL, -}; - -DT_MACHINE_START(AL_DT, "Annapurna Labs Alpine") - .dt_compat = al_match, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Machine declaration for Alpine platforms. + * + * Copyright (C) 2015 Annapurna Labs Ltd. + */ + +#include + +static const char * const al_match[] __initconst = { + "al,alpine", + NULL, +}; + +DT_MACHINE_START(AL_DT, "Annapurna Labs Alpine") + .dt_compat = al_match, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Makefile index d53188622f..fac519012e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_MACH_ARTPEC6) := board-artpec6.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_MACH_ARTPEC6) := board-artpec6.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-aspeed/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-aspeed/Makefile index 89e69fe1ad..1951b3317a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-aspeed/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-aspeed/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) ASPEED Technology Inc. -# Copyright IBM Corp. - -obj-$(CONFIG_SMP) += platsmp.o +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) ASPEED Technology Inc. +# Copyright IBM Corp. + +obj-$(CONFIG_SMP) += platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Makefile index 7ed61f29d8..8df8fe76ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += axxia.o -obj-$(CONFIG_SMP) += platsmp.o +# SPDX-License-Identifier: GPL-2.0 +obj-y += axxia.o +obj-$(CONFIG_SMP) += platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm63xx_smp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm63xx_smp.h index 93a3f43d2e..4e742604a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm63xx_smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm63xx_smp.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __BCM63XX_SMP_H -#define __BCM63XX_SMP_H - -struct device_node; - -extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn); - -#endif /* __BCM63XX_SMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __BCM63XX_SMP_H +#define __BCM63XX_SMP_H + +struct device_node; + +extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn); + +#endif /* __BCM63XX_SMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_hr2.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_hr2.c index f562a5a7aa..a19cc206ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_hr2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_hr2.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2017 Broadcom - -#include - -static const char * const bcm_hr2_dt_compat[] __initconst = { - "brcm,hr2", - NULL, -}; - -DT_MACHINE_START(BCM_HR2_DT, "Broadcom Hurricane 2 SoC") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .dt_compat = bcm_hr2_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2017 Broadcom + +#include + +static const char * const bcm_hr2_dt_compat[] __initconst = { + "brcm,hr2", + NULL, +}; + +DT_MACHINE_START(BCM_HR2_DT, "Broadcom Hurricane 2 SoC") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .dt_compat = bcm_hr2_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_nsp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_nsp.c index c6bd77c328..65ed9f8a51 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_nsp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_nsp.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2015 Broadcom Corporation - -#include - -static const char *const bcm_nsp_dt_compat[] __initconst = { - "brcm,nsp", - NULL, -}; - -DT_MACHINE_START(NSP_DT, "Broadcom Northstar Plus SoC") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .dt_compat = bcm_nsp_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2015 Broadcom Corporation + +#include + +static const char *const bcm_nsp_dt_compat[] __initconst = { + "brcm,nsp", + NULL, +}; + +DT_MACHINE_START(NSP_DT, "Broadcom Northstar Plus SoC") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .dt_compat = bcm_nsp_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm23550.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm23550.c index 83c58f6485..3784b7372a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm23550.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm23550.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2016 Broadcom - -#include - -static const char * const bcm23550_dt_compat[] = { - "brcm,bcm23550", - NULL, -}; - -DT_MACHINE_START(BCM23550_DT, "BCM23550 Broadcom Application Processor") - .dt_compat = bcm23550_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2016 Broadcom + +#include + +static const char * const bcm23550_dt_compat[] = { + "brcm,bcm23550", + NULL, +}; + +DT_MACHINE_START(BCM23550_DT, "BCM23550 Broadcom Application Processor") + .dt_compat = bcm23550_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.h index bf3e9ecc92..77c5dc0339 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (C) 2012-2014 Broadcom Corporation */ - -#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE -void kona_l2_cache_init(void); -#else -#define kona_l2_cache_init() ((void)0) -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (C) 2012-2014 Broadcom Corporation */ + +#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE +void kona_l2_cache_init(void); +#else +#define kona_l2_cache_init() ((void)0) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/platsmp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/platsmp.h index 0d5225a332..e65bffad1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/platsmp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/platsmp.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2017 Stefan Wahren - */ - -extern const struct smp_operations bcm2836_smp_ops; +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2017 Stefan Wahren + */ + +extern const struct smp_operations bcm2836_smp_ops; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Makefile index efe433c793..0d338e8ccf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += berlin.o -obj-$(CONFIG_SMP) += headsmp.o platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y += berlin.o +obj-$(CONFIG_SMP) += headsmp.o platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-clps711x/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-clps711x/Kconfig index c7192d7429..fd32e576ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-clps711x/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-clps711x/Kconfig @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_CLPS711X - bool "Cirrus Logic EP721x/EP731x-based" - depends on ARCH_MULTI_V4T - depends on CPU_LITTLE_ENDIAN - select CLPS711X_TIMER - select CPU_ARM720T - select GPIOLIB - select MFD_SYSCON - select OF_IRQ - help - Select this if you use ARMv4T Cirrus Logic chips. +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_CLPS711X + bool "Cirrus Logic EP721x/EP731x-based" + depends on ARCH_MULTI_V4T + depends on CPU_LITTLE_ENDIAN + select CLPS711X_TIMER + select CPU_ARM720T + select GPIOLIB + select MFD_SYSCON + select OF_IRQ + help + Select this if you use ARMv4T Cirrus Logic chips. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/ddr2.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/ddr2.h index 0939ae4ae7..4f7d7824b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/ddr2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/ddr2.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#define DDR2_SDRCR_OFFSET 0xc -#define DDR2_SRPD_BIT (1 << 23) -#define DDR2_MCLKSTOPEN_BIT (1 << 30) -#define DDR2_LPMODEN_BIT (1 << 31) +/* SPDX-License-Identifier: GPL-2.0 */ +#define DDR2_SDRCR_OFFSET 0xc +#define DDR2_SRPD_BIT (1 << 23) +#define DDR2_MCLKSTOPEN_BIT (1 << 30) +#define DDR2_LPMODEN_BIT (1 << 31) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Kconfig index 19d2678846..90394433c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_DIGICOLOR - bool "Conexant Digicolor SoC Support" - depends on ARCH_MULTI_V7 - select CLKSRC_MMIO - select DIGICOLOR_TIMER - select GENERIC_IRQ_CHIP - select GPIOLIB - select MFD_SYSCON - select PINCTRL - select PINCTRL_DIGICOLOR +# SPDX-License-Identifier: GPL-2.0 +config ARCH_DIGICOLOR + bool "Conexant Digicolor SoC Support" + depends on ARCH_MULTI_V7 + select CLKSRC_MMIO + select DIGICOLOR_TIMER + select GENERIC_IRQ_CHIP + select GPIOLIB + select MFD_SYSCON + select PINCTRL + select PINCTRL_DIGICOLOR diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Makefile index b206a1195a..fc5b7c98c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_DIGICOLOR) += digicolor.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_ARCH_DIGICOLOR) += digicolor.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/digicolor.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/digicolor.c index 80bbf0a335..156d0d5996 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/digicolor.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-digicolor/digicolor.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Support for Conexant Digicolor SoCs -*/ - -#include - -static const char *const digicolor_dt_compat[] __initconst = { - "cnxt,cx92755", - NULL, -}; - -DT_MACHINE_START(DIGICOLOR, "Conexant Digicolor (Flattened Device Tree)") - .dt_compat = digicolor_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Support for Conexant Digicolor SoCs +*/ + +#include + +static const char *const digicolor_dt_compat[] __initconst = { + "cnxt,cx92755", + NULL, +}; + +DT_MACHINE_START(DIGICOLOR, "Conexant Digicolor (Flattened Device Tree)") + .dt_compat = digicolor_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Makefile index 05235d3b59..0d31390be0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o -obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o -obj-$(CONFIG_PCI) += pcie.o -obj-$(CONFIG_MACH_CM_A510) += cm-a510.o +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/arch/arm/plat-orion/include + +obj-y += common.o +obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o +obj-$(CONFIG_PCI) += pcie.o +obj-$(CONFIG_MACH_CM_A510) += cm-a510.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Makefile index 5577518a21..997a0be844 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for Cortina systems Gemini -obj-y := board-dt.o +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for Cortina systems Gemini +obj-y := board-dt.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Makefile index ec264c128a..71cc68041d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := highbank.o system.o smc.o - -obj-$(CONFIG_PM_SLEEP) += pm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := highbank.o system.o smc.o + +obj-$(CONFIG_PM_SLEEP) += pm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/Makefile index d650057da3..39476355e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Hisilicon processors family -# - -CFLAGS_platmcpm.o := -march=armv7-a - -obj-y += hisilicon.o -obj-$(CONFIG_MCPM) += platmcpm.o -obj-$(CONFIG_SMP) += platsmp.o hotplug.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Hisilicon processors family +# + +CFLAGS_platmcpm.o := -march=armv7-a + +obj-y += hisilicon.o +obj-$(CONFIG_MCPM) += platmcpm.o +obj-$(CONFIG_SMP) += platsmp.o hotplug.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/gxp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/gxp.c index 427b90f97b..581c8da517 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/gxp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/gxp.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2022 Hewlett-Packard Enterprise Development Company, L.P. */ - -#include - -static const char * const gxp_board_dt_compat[] = { - "hpe,gxp", - NULL, -}; - -DT_MACHINE_START(GXP_DT, "HPE GXP") - .dt_compat = gxp_board_dt_compat, - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (C) 2022 Hewlett-Packard Enterprise Development Company, L.P. */ + +#include + +static const char * const gxp_board_dt_compat[] = { + "hpe,gxp", + NULL, +}; + +DT_MACHINE_START(GXP_DT, "HPE GXP") + .dt_compat = gxp_board_dt_compat, + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.h index f835c06ae3..1c2ac0fa4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) BitBox Ltd 2010 - */ - -#ifndef __PLAT_MXC_IRQ_COMMON_H__ -#define __PLAT_MXC_IRQ_COMMON_H__ - -/* all normal IRQs can be FIQs */ -#define FIQ_START 0 - -struct mxc_extra_irq -{ - int (*set_irq_fiq)(unsigned int irq, unsigned int type); -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) BitBox Ltd 2010 + */ + +#ifndef __PLAT_MXC_IRQ_COMMON_H__ +#define __PLAT_MXC_IRQ_COMMON_H__ + +/* all normal IRQs can be FIQs */ +#define FIQ_START 0 + +struct mxc_extra_irq +{ + int (*set_irq_fiq)(unsigned int irq, unsigned int type); +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Kconfig index 277e060c93..138599545c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Kconfig @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only - -config ARCH_LPC32XX - bool "NXP LPC32XX" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - select ARM_AMBA - select CLKSRC_LPC32XX - select CPU_ARM926T - select GPIOLIB - select LPC32XX_DMAMUX if AMBA_PL08X - help - Support for the NXP LPC32XX family of processors +# SPDX-License-Identifier: GPL-2.0-only + +config ARCH_LPC32XX + bool "NXP LPC32XX" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + select ARM_AMBA + select CLKSRC_LPC32XX + select CPU_ARM926T + select GPIOLIB + select LPC32XX_DMAMUX if AMBA_PL08X + help + Support for the NXP LPC32XX family of processors diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Makefile index 32bcc0ce1e..3bac1d17a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -obj-y := common.o serial.o -obj-y += pm.o suspend.o -obj-y += phy3250.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# + +obj-y := common.o serial.o +obj-y += pm.o suspend.o +obj-y += phy3250.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Makefile index 0b56a45e16..90e08a4222 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SMP) += platsmp.o -obj-y += mediatek.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SMP) += platsmp.o +obj-y += mediatek.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Makefile index 4735c7801f..49cfbaee4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_MESON) += meson.o -obj-$(CONFIG_SMP) += platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_ARCH_MESON) += meson.o +obj-$(CONFIG_SMP) += platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/Makefile index 4921e509dd..5d4a1a4a48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for Marvell's PXA168 processors line -# -obj-y += common.o time.o - -ifeq ($(CONFIG_SMP),y) -obj-$(CONFIG_MACH_MMP3_DT) += platsmp.o -endif - -# board support -obj-$(CONFIG_MACH_MMP_DT) += mmp-dt.o -obj-$(CONFIG_MACH_MMP2_DT) += mmp2-dt.o -obj-$(CONFIG_MACH_MMP3_DT) += mmp3.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for Marvell's PXA168 processors line +# +obj-y += common.o time.o + +ifeq ($(CONFIG_SMP),y) +obj-$(CONFIG_MACH_MMP3_DT) += platsmp.o +endif + +# board support +obj-$(CONFIG_MACH_MMP_DT) += mmp-dt.o +obj-$(CONFIG_MACH_MMP2_DT) += mmp2-dt.o +obj-$(CONFIG_MACH_MMP3_DT) += mmp3.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/common.h index a05b6719e4..e18f05d5d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/common.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -extern void mmp_timer_init(int irq, unsigned long rate); - -extern void __init mmp_map_io(void); -extern void __init mmp2_map_io(void); +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +extern void mmp_timer_init(int irq, unsigned long rate); + +extern void __init mmp_map_io(void); +extern void __init mmp2_map_io(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Makefile index d6a958770d..ddee6ae501 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o mpp.o irq.o pcie.o -obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/arch/arm/plat-orion/include + +obj-y += common.o mpp.o irq.o pcie.o +obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Makefile index 826a819ca5..2bcd5e11b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_PM) += pm.o -obj-$(CONFIG_ARCH_MXS) += mach-mxs.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_PM) += pm.o +obj-$(CONFIG_ARCH_MXS) += mach-mxs.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.h index 4ce3de403a..0894335e8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2013 Freescale Semiconductor, Inc. - */ - -#ifndef __ARCH_MXS_PM_H -#define __ARCH_MXS_PM_H - -#ifdef CONFIG_PM -void mxs_pm_init(void); -#else -#define mxs_pm_init NULL -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2013 Freescale Semiconductor, Inc. + */ + +#ifndef __ARCH_MXS_PM_H +#define __ARCH_MXS_PM_H + +#ifdef CONFIG_PM +void mxs_pm_init(void); +#else +#define mxs_pm_init NULL +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/Makefile index 5259dc76f6..ac83e1caf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_WPCM450) += wpcm450.o -obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o -obj-$(CONFIG_SMP) += platsmp.o headsmp.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_ARCH_WPCM450) += wpcm450.o +obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o +obj-$(CONFIG_SMP) += platsmp.o headsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/wpcm450.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/wpcm450.c index b5327d9abb..f17b3dab45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/wpcm450.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/wpcm450.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright 2021 Jonathan Neuschäfer - -#include - -static const char *const wpcm450_dt_match[] = { - "nuvoton,wpcm450", - NULL -}; - -DT_MACHINE_START(WPCM450_DT, "WPCM450 chip") - .dt_compat = wpcm450_dt_match, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +// Copyright 2021 Jonathan Neuschäfer + +#include + +static const char *const wpcm450_dt_match[] = { + "nuvoton,wpcm450", + NULL +}; + +DT_MACHINE_START(WPCM450_DT, "WPCM450 chip") + .dt_compat = wpcm450_dt_match, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.h index 59e920ca97..7077224f65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Flash support for OMAP1 - */ - -#ifndef __OMAP_FLASH_H -#define __OMAP_FLASH_H - -#include - -struct platform_device; -extern void omap1_set_vpp(struct platform_device *pdev, int enable); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Flash support for OMAP1 + */ + +#ifndef __OMAP_FLASH_H +#define __OMAP_FLASH_H + +#include + +struct platform_device; +extern void omap1_set_vpp(struct platform_device *pdev, int enable); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/soc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/soc.h index 04cc582b17..5fb57fdd9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/soc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/soc.h @@ -1,6 +1,6 @@ -/* - * We can move linux/soc/ti/omap1-soc.h here once the drivers are fixed - */ -#include "hardware.h" -#include "irqs.h" -#include +/* + * We can move linux/soc/ti/omap1-soc.h here once the drivers are fixed + */ +#include "hardware.h" +#include "irqs.h" +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/sram.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/sram.h index 1629526202..f45e6dd6d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/sram.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/sram.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl); - -int omap1_sram_init(void); -void *omap_sram_push(void *funcp, unsigned long size); - -/* Do not use these */ -extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl); -extern unsigned long omap1_sram_reprogram_clock_sz; +/* SPDX-License-Identifier: GPL-2.0 */ + +extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl); + +int omap1_sram_init(void); +void *omap_sram_push(void *funcp, unsigned long size); + +/* Do not use these */ +extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl); +extern unsigned long omap1_sram_reprogram_clock_sz; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common-board-devices.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common-board-devices.h index 4d3f3ab1b6..69694af714 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common-board-devices.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common-board-devices.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __OMAP_COMMON_BOARD_DEVICES__ -#define __OMAP_COMMON_BOARD_DEVICES__ - -#include - -void *n8x0_legacy_init(void); - -extern struct menelaus_platform_data n8x0_menelaus_platform_data; - -#endif /* __OMAP_COMMON_BOARD_DEVICES__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __OMAP_COMMON_BOARD_DEVICES__ +#define __OMAP_COMMON_BOARD_DEVICES__ + +#include + +void *n8x0_legacy_init(void); + +extern struct menelaus_platform_data n8x0_menelaus_platform_data; + +#endif /* __OMAP_COMMON_BOARD_DEVICES__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/gpmc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/gpmc.h index bae42ab509..e060f1b5c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/gpmc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/gpmc.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * General-Purpose Memory Controller for OMAP2 - * - * Copyright (C) 2005-2006 Nokia Corporation - * - * Do not include this file in any new code, this will get removed - * once omap3 boots in device tree only mode. - */ -#include +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * General-Purpose Memory Controller for OMAP2 + * + * Copyright (C) 2005-2006 Nokia Corporation + * + * Do not include this file in any new code, this will get removed + * once omap3 boots in device tree only mode. + */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/i2c.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/i2c.h index 32cefb80a1..1985169278 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/i2c.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/i2c.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Helper module for board specific I2C bus registration - * - * Copyright (C) 2009 Nokia Corporation. - */ - -#ifndef __MACH_OMAP2_I2C_H -#define __MACH_OMAP2_I2C_H - -struct omap_hwmod; - -int omap_i2c_reset(struct omap_hwmod *oh); - -#endif /* __MACH_OMAP2_I2C_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Helper module for board specific I2C bus registration + * + * Copyright (C) 2009 Nokia Corporation. + */ + +#ifndef __MACH_OMAP2_I2C_H +#define __MACH_OMAP2_I2C_H + +struct omap_hwmod; + +int omap_i2c_reset(struct omap_hwmod *oh); + +#endif /* __MACH_OMAP2_I2C_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/id.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/id.h index a0e940a5c0..ded7392f05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/id.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/id.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * OMAP2 CPU identification code - * - * Copyright (C) 2010 Kan-Ru Chen - */ -#ifndef OMAP2_ARCH_ID_H -#define OMAP2_ARCH_ID_H - -struct omap_die_id { - u32 id_0; - u32 id_1; - u32 id_2; - u32 id_3; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * OMAP2 CPU identification code + * + * Copyright (C) 2010 Kan-Ru Chen + */ +#ifndef OMAP2_ARCH_ID_H +#define OMAP2_ARCH_ID_H + +struct omap_die_id { + u32 id_0; + u32 id_1; + u32 id_2; + u32 id_3; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/usb-tusb6010.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/usb-tusb6010.h index a6744ecb5b..d210ff6238 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/usb-tusb6010.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/usb-tusb6010.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __USB_TUSB6010_H -#define __USB_TUSB6010_H - -extern int __init tusb6010_setup_interface( - struct musb_hdrc_platform_data *data, - unsigned int ps_refclk, unsigned int waitpin, - unsigned int async_cs, unsigned int sync_cs, - unsigned int dmachan); - -#endif /* __USB_TUSB6010_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __USB_TUSB6010_H +#define __USB_TUSB6010_H + +extern int __init tusb6010_setup_interface( + struct musb_hdrc_platform_data *data, + unsigned int ps_refclk, unsigned int waitpin, + unsigned int async_cs, unsigned int sync_cs, + unsigned int dmachan); + +#endif /* __USB_TUSB6010_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/wd_timer.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/wd_timer.h index 1523189eca..fa44a07a5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/wd_timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/wd_timer.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OMAP2+ MPU WD_TIMER-specific function prototypes - */ - -#ifndef __ARCH_ARM_MACH_OMAP2_WD_TIMER_H -#define __ARCH_ARM_MACH_OMAP2_WD_TIMER_H - -#include "omap_hwmod.h" - -extern int omap2_wd_timer_disable(struct omap_hwmod *oh); -extern int omap2_wd_timer_reset(struct omap_hwmod *oh); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OMAP2+ MPU WD_TIMER-specific function prototypes + */ + +#ifndef __ARCH_ARM_MACH_OMAP2_WD_TIMER_H +#define __ARCH_ARM_MACH_OMAP2_WD_TIMER_H + +#include "omap_hwmod.h" + +extern int omap2_wd_timer_disable(struct omap_hwmod *oh); +extern int omap2_wd_timer_reset(struct omap_hwmod *oh); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa25x.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa25x.h index 0934fe8808..eaaa876663 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa25x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa25x.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_PXA25x_H -#define __MACH_PXA25x_H - -#include "addr-map.h" -#include "pxa2xx-regs.h" -#include "mfp-pxa25x.h" -#include "irqs.h" - -#endif /* __MACH_PXA25x_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_PXA25x_H +#define __MACH_PXA25x_H + +#include "addr-map.h" +#include "pxa2xx-regs.h" +#include "mfp-pxa25x.h" +#include "irqs.h" + +#endif /* __MACH_PXA25x_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa300.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa300.h index a95e83871d..d02a8d15c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa300.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa300.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_PXA300_H -#define __MACH_PXA300_H - -#include "pxa3xx.h" -#include "mfp-pxa300.h" - -#endif /* __MACH_PXA300_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_PXA300_H +#define __MACH_PXA300_H + +#include "pxa3xx.h" +#include "mfp-pxa300.h" + +#endif /* __MACH_PXA300_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa320.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa320.h index ced2cd0a99..c701e3f663 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa320.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa320.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_PXA320_H -#define __MACH_PXA320_H - -#include "pxa3xx.h" -#include "mfp-pxa320.h" - -#endif /* __MACH_PXA320_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_PXA320_H +#define __MACH_PXA320_H + +#include "pxa3xx.h" +#include "mfp-pxa320.h" + +#endif /* __MACH_PXA320_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa3xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa3xx.h index 4272f09ba7..81825f7ad2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa3xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pxa3xx.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_PXA3XX_H -#define __MACH_PXA3XX_H - -#include "addr-map.h" -#include "pxa3xx-regs.h" -#include "irqs.h" - -#endif /* __MACH_PXA3XX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_PXA3XX_H +#define __MACH_PXA3XX_H + +#include "addr-map.h" +#include "pxa3xx-regs.h" +#include "irqs.h" + +#endif /* __MACH_PXA3XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/udc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/udc.h index 7dd0583aa5..9a827e32db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/udc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/udc.h @@ -1,8 +1,8 @@ -/* - * arch/arm/mach-pxa/include/mach/udc.h - * - */ -#include - -extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info); - +/* + * arch/arm/mach-pxa/include/mach/udc.h + * + */ +#include + +extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info); + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/Kconfig index c3ae9090fd..19fdcf093f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -menuconfig ARCH_REALTEK - bool "Realtek SoCs" - depends on ARCH_MULTI_V7 - select ARM_GIC - select ARM_GLOBAL_TIMER - select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK - select GENERIC_IRQ_CHIP - select RESET_CONTROLLER - help - This enables support for the Realtek RTD1195 SoC family. +# SPDX-License-Identifier: GPL-2.0-or-later +menuconfig ARCH_REALTEK + bool "Realtek SoCs" + depends on ARCH_MULTI_V7 + select ARM_GIC + select ARM_GLOBAL_TIMER + select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK + select GENERIC_IRQ_CHIP + select RESET_CONTROLLER + help + This enables support for the Realtek RTD1195 SoC family. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Makefile index fd149ead4b..62596d5deb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS_platsmp.o := -march=armv7-a - -obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip.o -obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o -obj-$(CONFIG_SMP) += headsmp.o platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS_platsmp.o := -march=armv7-a + +obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip.o +obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o +obj-$(CONFIG_SMP) += headsmp.o platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/core.h index c546a37207..fabcaa6660 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/core.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2013 MundoReader S.L. - * Author: Heiko Stuebner - */ - -extern char rockchip_secondary_trampoline; -extern char rockchip_secondary_trampoline_end; - -extern unsigned long rockchip_boot_fn; +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2013 MundoReader S.L. + * Author: Heiko Stuebner + */ + +extern char rockchip_secondary_trampoline; +extern char rockchip_secondary_trampoline_end; + +extern unsigned long rockchip_boot_fn; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Makefile index d85e30e8db..90a645a184 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -# Object file lists. - -obj-y :=dma.o ecard.o ecard-loader.o fiq.o floppydma.o io-acorn.o irq.o \ - riscpc.o time.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# + +# Object file lists. + +obj-y :=dma.o ecard.o ecard-loader.o fiq.o floppydma.o io-acorn.o irq.o \ + riscpc.o time.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/gpio-samsung.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/gpio-samsung.h index 2e22c41fda..4233515edd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/gpio-samsung.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/gpio-samsung.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include "gpio-samsung-s3c64xx.h" +/* SPDX-License-Identifier: GPL-2.0 */ +#include "gpio-samsung-s3c64xx.h" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/irq-uart-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/irq-uart-s3c64xx.h index 2b48bf7543..e754b0359c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/irq-uart-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/irq-uart-s3c64xx.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2010 Simtec Electronics - * Ben Dooks - * - * Header file for Samsung SoC UART IRQ demux for S3C64XX and later - */ - -struct s3c_uart_irq { - void __iomem *regs; - unsigned int base_irq; - unsigned int parent_irq; -}; - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2010 Simtec Electronics + * Ben Dooks + * + * Header file for Samsung SoC UART IRQ demux for S3C64XX and later + */ + +struct s3c_uart_irq { + void __iomem *regs; + unsigned int base_irq; + unsigned int parent_irq; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irq-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irq-s3c64xx.h index 2f77ee4ce9..b18c7bcb61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irq-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irq-s3c64xx.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * http://armlinux.simtec.co.uk/ - * Ben Dooks - * - * S3C64XX - IRQ register definitions - */ - -#ifndef __ASM_ARCH_REGS_IRQ_H -#define __ASM_ARCH_REGS_IRQ_H __FILE__ - - -#endif /* __ASM_ARCH_6400_REGS_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * http://armlinux.simtec.co.uk/ + * Ben Dooks + * + * S3C64XX - IRQ register definitions + */ + +#ifndef __ASM_ARCH_REGS_IRQ_H +#define __ASM_ARCH_REGS_IRQ_H __FILE__ + + +#endif /* __ASM_ARCH_6400_REGS_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Makefile index 323589f8e8..aa0a1f091d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (c) 2010 Samsung Electronics Co., Ltd. -# http://www.samsung.com/ - -obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o -obj-y += s5pv210.o +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2010 Samsung Electronics Co., Ltd. +# http://www.samsung.com/ + +obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o +obj-y += s5pv210.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/Kconfig index 056b7cc174..8d64cc7edc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/Kconfig @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_RENESAS - bool "Renesas ARM SoCs" - depends on ARCH_MULTI_V7 - select ARM_GIC - select NO_IOPORT_MAP - select ZONE_DMA if ARM_LPAE +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_RENESAS + bool "Renesas ARM SoCs" + depends on ARCH_MULTI_V7 + select ARM_GIC + select NO_IOPORT_MAP + select ZONE_DMA if ARM_LPAE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/emev2.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/emev2.h index 4a03543600..39f6cd8e60 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/emev2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/emev2.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_EMEV2_H__ -#define __ASM_EMEV2_H__ - -extern const struct smp_operations emev2_smp_ops; - -#endif /* __ASM_EMEV2_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_EMEV2_H__ +#define __ASM_EMEV2_H__ + +extern const struct smp_operations emev2_smp_ops; + +#endif /* __ASM_EMEV2_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-apmu.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-apmu.S index 83abc883c7..fabe9cadd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-apmu.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-apmu.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * SMP support for APMU based systems with Cortex A7/A15 - * - * Copyright (C) 2014 Renesas Electronics Corporation - */ - -#include -#include - -ENTRY(shmobile_boot_apmu) - bl secure_cntvoff_init - b secondary_startup -ENDPROC(shmobile_boot_apmu) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * SMP support for APMU based systems with Cortex A7/A15 + * + * Copyright (C) 2014 Renesas Electronics Corporation + */ + +#include +#include + +ENTRY(shmobile_boot_apmu) + bl secure_cntvoff_init + b secondary_startup +ENDPROC(shmobile_boot_apmu) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/r8a7779.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/r8a7779.h index 160df4644e..ca9db8fde2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/r8a7779.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/r8a7779.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_R8A7779_H__ -#define __ASM_R8A7779_H__ - -extern const struct smp_operations r8a7779_smp_ops; - -#endif /* __ASM_R8A7779_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_R8A7779_H__ +#define __ASM_R8A7779_H__ + +extern const struct smp_operations r8a7779_smp_ops; + +#endif /* __ASM_R8A7779_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/rcar-gen2.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/rcar-gen2.h index 8fd773f927..af9dbd6aa4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/rcar-gen2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/rcar-gen2.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_RCAR_GEN2_H__ -#define __ASM_RCAR_GEN2_H__ - -void rcar_gen2_pm_init(void); - -#endif /* __ASM_RCAR_GEN2_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_RCAR_GEN2_H__ +#define __ASM_RCAR_GEN2_H__ + +void rcar_gen2_pm_init(void); + +#endif /* __ASM_RCAR_GEN2_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/sh73a0.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/sh73a0.h index 3b64d77714..85c7c7c60b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/sh73a0.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/sh73a0.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH73A0_H__ -#define __ASM_SH73A0_H__ - -extern const struct smp_operations sh73a0_smp_ops; - -#endif /* __ASM_SH73A0_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH73A0_H__ +#define __ASM_SH73A0_H__ + +extern const struct smp_operations sh73a0_smp_ops; + +#endif /* __ASM_SH73A0_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Makefile index 9bb7e17cf9..9ec31fad71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -obj-y := socfpga.o -obj-$(CONFIG_SMP) += headsmp.o platsmp.o -obj-$(CONFIG_SOCFPGA_SUSPEND) += pm.o self-refresh.o -obj-$(CONFIG_EDAC_ALTERA_L2C) += l2_cache.o -obj-$(CONFIG_EDAC_ALTERA_OCRAM) += ocram.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +obj-y := socfpga.o +obj-$(CONFIG_SMP) += headsmp.o platsmp.o +obj-$(CONFIG_SOCFPGA_SUSPEND) += pm.o self-refresh.o +obj-$(CONFIG_EDAC_ALTERA_L2C) += l2_cache.o +obj-$(CONFIG_EDAC_ALTERA_OCRAM) += ocram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/Makefile index 2d987f50c1..7e2a582574 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SMP) += platsmp.o -obj-$(CONFIG_ARCH_STI) += board-dt.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SMP) += platsmp.o +obj-$(CONFIG_ARCH_STI) += board-dt.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/smp.h index af022ec3d6..23e929d83a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/smp.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-sti/smp.h - * - * Copyright (C) 2013 STMicroelectronics (R&D) Limited. - * http://www.st.com - */ - -#ifndef __MACH_STI_SMP_H -#define __MACH_STI_SMP_H - -extern const struct smp_operations sti_smp_ops; - -void sti_secondary_startup(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-sti/smp.h + * + * Copyright (C) 2013 STMicroelectronics (R&D) Limited. + * http://www.st.com + */ + +#ifndef __MACH_STI_SMP_H +#define __MACH_STI_SMP_H + +extern const struct smp_operations sti_smp_ops; + +void sti_secondary_startup(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sunxi/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sunxi/Makefile index 018461377c..146e623c54 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sunxi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sunxi/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS_mc_smp.o += -march=armv7-a - -obj-$(CONFIG_ARCH_SUNXI) += sunxi.o -obj-$(CONFIG_ARCH_SUNXI_MC_SMP) += mc_smp.o headsmp.o -obj-$(CONFIG_SMP) += platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS_mc_smp.o += -march=armv7-a + +obj-$(CONFIG_ARCH_SUNXI) += sunxi.o +obj-$(CONFIG_ARCH_SUNXI_MC_SMP) += mc_smp.o headsmp.o +obj-$(CONFIG_SMP) += platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ux500/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ux500/Makefile index fb3ec7eba8..270e5676fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ux500/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ux500/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel, U8500 machine. -# - -obj-y := pm.o -obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o -obj-$(CONFIG_SMP) += platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel, U8500 machine. +# + +obj-y := pm.o +obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o +obj-$(CONFIG_SMP) += platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/integrator.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/integrator.h index c223ca97a8..f053aeebeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/integrator.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/integrator.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -extern struct amba_pl010_data ap_uart_data; -void integrator_init_early(void); -int integrator_init(bool is_cp); -void integrator_reserve(void); +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +extern struct amba_pl010_data ap_uart_data; +void integrator_init_early(void); +int integrator_init(bool is_cp); +void integrator_reserve(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m-mps2.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m-mps2.c index 425f594b6d..5b50d8e95c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m-mps2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m-mps2.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 ARM Limited - * - * Author: Vladimir Murzin - */ - -#include - -static const char *const mps2_compat[] __initconst = { - "arm,mps2", - NULL -}; - -DT_MACHINE_START(MPS2DT, "MPS2 (Device Tree Support)") - .dt_compat = mps2_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 ARM Limited + * + * Author: Vladimir Murzin + */ + +#include + +static const char *const mps2_compat[] __initconst = { + "arm,mps2", + NULL +}; + +DT_MACHINE_START(MPS2DT, "MPS2 (Device Tree Support)") + .dt_compat = mps2_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/vexpress.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/vexpress.h index 78880a26bd..bda78675c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/vexpress.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/vexpress.h @@ -1,4 +1,4 @@ -bool vexpress_smp_init_ops(void); -void vexpress_flags_set(u32 data); - -extern const struct smp_operations vexpress_smp_dt_ops; +bool vexpress_smp_init_ops(void); +void vexpress_flags_set(u32 data); + +extern const struct smp_operations vexpress_smp_dt_ops; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Makefile index 8de8829052..ccf9a3bbdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_VT8500) += vt8500.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_ARCH_VT8500) += vt8500.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Makefile index 53ca206934..9df74cd85f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -# Common support -obj-y := common.o slcr.o pm.o -obj-$(CONFIG_SMP) += headsmp.o platsmp.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# + +# Common support +obj-y := common.o slcr.o pm.o +obj-$(CONFIG_SMP) += headsmp.o platsmp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/net/Makefile index 0688228bdb..3354b3e11c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/net/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -# ARM-specific networking code - -obj-$(CONFIG_BPF_JIT) += bpf_jit_32.o +# SPDX-License-Identifier: GPL-2.0-only +# ARM-specific networking code + +obj-$(CONFIG_BPF_JIT) += bpf_jit_32.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/Makefile index 6909c55dc0..e8c7580df8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# -ccflags-y := -I$(src)/include - -orion-gpio-$(CONFIG_GPIOLIB) += gpio.o -obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o -obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# +ccflags-y := -I$(src)/include + +orion-gpio-$(CONFIG_GPIOLIB) += gpio.o +obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o +obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/Makefile index e8d0ece999..8b0ea5ace1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/ -obj-$(CONFIG_KPROBES) += decode.o kprobes/ -ifdef CONFIG_THUMB2_KERNEL -obj-$(CONFIG_KPROBES) += decode-thumb.o -else -obj-$(CONFIG_KPROBES) += decode-arm.o -endif +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/ +obj-$(CONFIG_KPROBES) += decode.o kprobes/ +ifdef CONFIG_THUMB2_KERNEL +obj-$(CONFIG_KPROBES) += decode-thumb.o +else +obj-$(CONFIG_KPROBES) += decode-arm.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/Makefile index eae661ce4b..57fffd7e57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_UPROBES) += core.o actions-arm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_UPROBES) += core.o actions-arm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/datapage.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/datapage.S index 448c12cb1d..9cd73b725d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/datapage.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/datapage.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - - .align 2 -.L_vdso_data_ptr: - .long _start - . - VDSO_DATA_SIZE - -ENTRY(__get_datapage) - .fnstart - adr r0, .L_vdso_data_ptr - ldr r1, [r0] - add r0, r0, r1 - bx lr - .fnend -ENDPROC(__get_datapage) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + + .align 2 +.L_vdso_data_ptr: + .long _start - . - VDSO_DATA_SIZE + +ENTRY(__get_datapage) + .fnstart + adr r0, .L_vdso_data_ptr + ldr r1, [r0] + add r0, r0, r1 + bx lr + .fnend +ENDPROC(__get_datapage) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/vfp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/vfp/Makefile index 89746ae8ae..dfd64bc2b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/vfp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/vfp/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# linux/arch/arm/vfp/Makefile -# -# Copyright (C) 2001 ARM Limited -# - -# ccflags-y := -DDEBUG -# asflags-y := -DDEBUG - -obj-y += vfpmodule.o vfphw.o vfpsingle.o vfpdouble.o +# SPDX-License-Identifier: GPL-2.0-only +# +# linux/arch/arm/vfp/Makefile +# +# Copyright (C) 2001 ARM Limited +# + +# ccflags-y := -DDEBUG +# asflags-y := -DDEBUG + +obj-y += vfpmodule.o vfphw.o vfpsingle.o vfpdouble.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/xen/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/xen/Makefile index 8b86b307a4..c32d04713b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/xen/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/xen/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kbuild index d100117dc3..5bfbf7d79c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kbuild @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ net/ -obj-$(CONFIG_KVM) += kvm/ -obj-$(CONFIG_XEN) += xen/ -obj-$(subst m,y,$(CONFIG_HYPERV)) += hyperv/ -obj-$(CONFIG_CRYPTO) += crypto/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ net/ +obj-$(CONFIG_KVM) += kvm/ +obj-$(CONFIG_XEN) += xen/ +obj-$(subst m,y,$(CONFIG_HYPERV)) += hyperv/ +obj-$(CONFIG_CRYPTO) += crypto/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/.gitignore index 6a89452071..abaae9de1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -Image -Image.gz -vmlinuz* -image.fit +# SPDX-License-Identifier: GPL-2.0-only +Image +Image.gz +vmlinuz* +image.fit diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/actions/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/actions/Makefile index 3418a329d8..b57fd2372e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/actions/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/actions/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0+ - -dtb-$(CONFIG_ARCH_ACTIONS) += s700-cubieboard7.dtb - -dtb-$(CONFIG_ARCH_ACTIONS) += s900-bubblegum-96.dtb +# SPDX-License-Identifier: GPL-2.0+ + +dtb-$(CONFIG_ARCH_ACTIONS) += s700-cubieboard7.dtb + +dtb-$(CONFIG_ARCH_ACTIONS) += s900-bubblegum-96.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/Makefile index 5741707177..ebea112ce1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus-v1.2.dts index f4b28229c5..6406a29c85 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus-v1.2.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2018 Chen-Yu Tsai - -/dts-v1/; -#include "sun50i-h5.dtsi" -#include "sun50i-h5-cpu-opp.dtsi" -#include - -/ { - model = "Banana Pi BPI-M2-Plus v1.2 H5"; - compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun50i-h5"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2018 Chen-Yu Tsai + +/dts-v1/; +#include "sun50i-h5.dtsi" +#include "sun50i-h5-cpu-opp.dtsi" +#include + +/ { + model = "Banana Pi BPI-M2-Plus v1.2 H5"; + compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun50i-h5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus.dts index 11124360d9..cfb943e9ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-bananapi-m2-plus.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2018 Chen-Yu Tsai - -/dts-v1/; -#include "sun50i-h5.dtsi" -#include - -/ { - model = "Banana Pi BPI-M2-Plus H5"; - compatible = "sinovoip,bpi-m2-plus", "allwinner,sun50i-h5"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2018 Chen-Yu Tsai + +/dts-v1/; +#include "sun50i-h5.dtsi" +#include + +/ { + model = "Banana Pi BPI-M2-Plus H5"; + compatible = "sinovoip,bpi-m2-plus", "allwinner,sun50i-h5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi index dd5aef72b1..2f4b46746f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -// Copyright (C) 2018 Aleksandr Aleksandrov - -/* - * DTSI for Emlid Neutis N5 SoM. - */ - -/dts-v1/; - -#include "sun50i-h5.dtsi" -#include +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +// Copyright (C) 2018 Aleksandr Aleksandrov + +/* + * DTSI for Emlid Neutis N5 SoM. + */ + +/dts-v1/; + +#include "sun50i-h5.dtsi" +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts index 6f31e0b3b3..dc657de2a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2019 Chen-Yu Tsai - -/dts-v1/; -#include "sun50i-h5.dtsi" -#include - -/ { - model = "Libre Computer Board ALL-H3-IT H5"; - compatible = "libretech,all-h3-it-h5", "allwinner,sun50i-h5"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2019 Chen-Yu Tsai + +/dts-v1/; +#include "sun50i-h5.dtsi" +#include + +/ { + model = "Libre Computer Board ALL-H3-IT H5"; + compatible = "libretech,all-h3-it-h5", "allwinner,sun50i-h5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts index ee9a349118..08d84160d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2021 Jernej Skrabec - -/dts-v1/; - -#include "sun50i-h6-tanix.dtsi" - -/ { - model = "Tanix TX6 mini"; - compatible = "oranth,tanix-tx6-mini", "allwinner,sun50i-h6"; -}; - -&r_ir { - linux,rc-map-name = "rc-tanix-tx3mini"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2021 Jernej Skrabec + +/dts-v1/; + +#include "sun50i-h6-tanix.dtsi" + +/ { + model = "Tanix TX6 mini"; + compatible = "oranth,tanix-tx6-mini", "allwinner,sun50i-h6"; +}; + +&r_ir { + linux,rc-map-name = "rc-tanix-tx3mini"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/altera/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/altera/Makefile index c48fe6cb3c..1bf0c472f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/altera/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/altera/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_stratix10_socdk.dtb \ - socfpga_stratix10_socdk_nand.dtb \ - socfpga_stratix10_swvp.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_stratix10_socdk.dtb \ + socfpga_stratix10_socdk_nand.dtb \ + socfpga_stratix10_swvp.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/Makefile index 2613dced6c..ba9e115449 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_ALPINE) += alpine-v2-evp.dtb -dtb-$(CONFIG_ARCH_ALPINE) += alpine-v3-evp.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_ALPINE) += alpine-v2-evp.dtb +dtb-$(CONFIG_ARCH_ALPINE) += alpine-v3-evp.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/Makefile index a93a50233c..8502cc2afb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_PENSANDO) += elba-asic.dtb -dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_PENSANDO) += elba-asic.dtb +dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-one.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-one.dts index 84d1e9a18b..ecfa1c683d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-one.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-one.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Christian Hewitt - */ - -/dts-v1/; - -#include "meson-g12b-dreambox.dtsi" - -/ { - compatible = "dream,dreambox-one", "amlogic,s922x", "amlogic,g12b"; - model = "Dreambox One"; -}; - -&sd_emmc_a { - sd-uhs-sdr12; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-dreambox.dtsi" + +/ { + compatible = "dream,dreambox-one", "amlogic,s922x", "amlogic,g12b"; + model = "Dreambox One"; +}; + +&sd_emmc_a { + sd-uhs-sdr12; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts index 4d677f045f..a198a91259 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 BayLibre, SAS - * Author: Neil Armstrong - */ - -/dts-v1/; - -#include "meson-g12b-s922x.dtsi" -#include "meson-g12b-odroid-n2.dtsi" - -/ { - compatible = "hardkernel,odroid-n2", "amlogic,s922x", "amlogic,g12b"; - model = "Hardkernel ODROID-N2"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + */ + +/dts-v1/; + +#include "meson-g12b-s922x.dtsi" +#include "meson-g12b-odroid-n2.dtsi" + +/ { + compatible = "hardkernel,odroid-n2", "amlogic,s922x", "amlogic,g12b"; + model = "Hardkernel ODROID-N2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-s922x-bananapi-m2s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-s922x-bananapi-m2s.dts index f38bb10d75..7f66f263a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-s922x-bananapi-m2s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-s922x-bananapi-m2s.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Christian Hewitt - */ - -/dts-v1/; - -#include "meson-g12b-s922x.dtsi" -#include "meson-g12b-bananapi.dtsi" - -/ { - compatible = "bananapi,bpi-m2s", "amlogic,s922x", "amlogic,g12b"; - model = "BananaPi M2S"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-s922x.dtsi" +#include "meson-g12b-bananapi.dtsi" + +/ { + compatible = "bananapi,bpi-m2s", "amlogic,s922x", "amlogic,g12b"; + model = "BananaPi M2S"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-meta.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-meta.dts index 371f4906fd..c928adf853 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-meta.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-meta.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "meson-gxbb-vega-s95.dtsi" - -/ { - compatible = "tronsmart,vega-s95-meta", "tronsmart,vega-s95", "amlogic,meson-gxbb"; - model = "Tronsmart Vega S95 Meta"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x80000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "meson-gxbb-vega-s95.dtsi" + +/ { + compatible = "tronsmart,vega-s95-meta", "tronsmart,vega-s95", "amlogic,meson-gxbb"; + model = "Tronsmart Vega S95 Meta"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-pro.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-pro.dts index 731a873a46..e81e1d68b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-pro.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-pro.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "meson-gxbb-vega-s95.dtsi" - -/ { - compatible = "tronsmart,vega-s95-pro", "tronsmart,vega-s95", "amlogic,meson-gxbb"; - model = "Tronsmart Vega S95 Pro"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "meson-gxbb-vega-s95.dtsi" + +/ { + compatible = "tronsmart,vega-s95-pro", "tronsmart,vega-s95", "amlogic,meson-gxbb"; + model = "Tronsmart Vega S95 Pro"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d.dtsi index 79df612a67..4332191954 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Endless Computers, Inc. - * Author: Carlo Caione - */ - -#include "meson-gxl.dtsi" -#include "meson-gxl-mali.dtsi" - -/ { - compatible = "amlogic,s905d", "amlogic,meson-gxl"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + */ + +#include "meson-gxl.dtsi" +#include "meson-gxl-mali.dtsi" + +/ { + compatible = "amlogic,s905d", "amlogic,meson-gxl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apm/Makefile index 39ec04e405..55b5cdca13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apm/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb -dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb +dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j375c.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j375c.dts index bd23bf2487..62ea437b58 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j375c.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j375c.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Mac Studio (M1 Max, 2022) - * - * target-type: J375c - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t6001.dtsi" -#include "t600x-j375.dtsi" - -/ { - compatible = "apple,j375c", "apple,t6001", "apple,arm-platform"; - model = "Apple Mac Studio (M1 Max, 2022)"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Mac Studio (M1 Max, 2022) + * + * target-type: J375c + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6001.dtsi" +#include "t600x-j375.dtsi" + +/ { + compatible = "apple,j375c", "apple,t6001", "apple,arm-platform"; + model = "Apple Mac Studio (M1 Max, 2022)"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts index ee5bad11a8..e096e670be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dts @@ -1,9 +1,9 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv3+PSCI configuration) - */ - -#include "foundation-v8.dtsi" -#include "foundation-v8-gicv3.dtsi" -#include "foundation-v8-psci.dtsi" +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv3+PSCI configuration) + */ + +#include "foundation-v8.dtsi" +#include "foundation-v8-gicv3.dtsi" +#include "foundation-v8-psci.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts index 6fa2ae691d..c87380e87f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv3 configuration) - */ - -#include "foundation-v8.dtsi" -#include "foundation-v8-gicv3.dtsi" -#include "foundation-v8-spin-table.dtsi" +// SPDX-License-Identifier: GPL-2.0 +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv3 configuration) + */ + +#include "foundation-v8.dtsi" +#include "foundation-v8-gicv3.dtsi" +#include "foundation-v8-spin-table.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dts index 6463c7902d..723f23c7cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dts @@ -1,9 +1,9 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv2+PSCI configuration) - */ - -#include "foundation-v8.dtsi" -#include "foundation-v8-gicv2.dtsi" -#include "foundation-v8-psci.dtsi" +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv2+PSCI configuration) + */ + +#include "foundation-v8.dtsi" +#include "foundation-v8-gicv2.dtsi" +#include "foundation-v8-psci.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi index 04a60ccaef..16cdf39572 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-psci.dtsi @@ -1,28 +1,28 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (PSCI configuration) - */ - -/ { - psci { - compatible = "arm,psci-1.0"; - method = "smc"; - }; -}; - -&cpu0 { - enable-method = "psci"; -}; - -&cpu1 { - enable-method = "psci"; -}; - -&cpu2 { - enable-method = "psci"; -}; - -&cpu3 { - enable-method = "psci"; -}; +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (PSCI configuration) + */ + +/ { + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; +}; + +&cpu0 { + enable-method = "psci"; +}; + +&cpu1 { + enable-method = "psci"; +}; + +&cpu2 { + enable-method = "psci"; +}; + +&cpu3 { + enable-method = "psci"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8.dts index 04838aaf7f..b17347d75e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv2 configuration) - */ - -#include "foundation-v8.dtsi" -#include "foundation-v8-gicv2.dtsi" -#include "foundation-v8-spin-table.dtsi" +// SPDX-License-Identifier: GPL-2.0 +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv2 configuration) + */ + +#include "foundation-v8.dtsi" +#include "foundation-v8-gicv2.dtsi" +#include "foundation-v8-spin-table.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-scmi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-scmi.dts index 93d9e4e335..41588fa46d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-scmi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-scmi.dts @@ -1,9 +1,9 @@ -#include "juno.dts" -#include "juno-scmi.dtsi" - -&A57_0 { - clocks = <&scmi_dvfs 0>; -}; -&A57_1 { - clocks = <&scmi_dvfs 0>; -}; +#include "juno.dts" +#include "juno-scmi.dtsi" + +&A57_0 { + clocks = <&scmi_dvfs 0>; +}; +&A57_1 { + clocks = <&scmi_dvfs 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/bitmain/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/bitmain/Makefile index f6c9a252cb..be90a6071b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/bitmain/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/bitmain/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0+ - -dtb-$(CONFIG_ARCH_BITMAIN) += bm1880-sophon-edge.dtb +# SPDX-License-Identifier: GPL-2.0+ + +dtb-$(CONFIG_ARCH_BITMAIN) += bm1880-sophon-edge.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts index b0b7918d1d..c7280bdefa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2711-rpi-4-b.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2711-rpi-4-b.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-400.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-400.dts index f3d25aedd5..d9d2852b79 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-400.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-400.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2711-rpi-400.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2711-rpi-400.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts index 7cf1bb5734..8810322aa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2711-rpi-cm4-io.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2711-rpi-cm4-io.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts index 9f93bf1ca3..17d778a7e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2837-rpi-3-a-plus.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2837-rpi-3-a-plus.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b-plus.dts index 14a958f49b..0cf6240b6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b-plus.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2837-rpi-3-b-plus.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2837-rpi-3-b-plus.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts index 3325dc6bf4..f429468fd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2837-rpi-3-b.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2837-rpi-3-b.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts index f70e9d9780..3fa21bd16b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2837-rpi-cm3-io3.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2837-rpi-cm3-io3.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-zero-2-w.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-zero-2-w.dts index 5a7744540c..363381a0cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-zero-2-w.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcm2837-rpi-zero-2-w.dts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "arm/broadcom/bcm2837-rpi-zero-2-w.dts" +// SPDX-License-Identifier: GPL-2.0 +#include "arm/broadcom/bcm2837-rpi-zero-2-w.dts" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts index fdfa2a9c7c..ed554666e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -/dts-v1/; - -#include "bcm4912.dtsi" - -/ { - compatible = "asus,gt-ax6000", "brcm,bcm4912", "brcm,bcmbca"; - model = "Asus GT-AX6000"; - - memory@0 { - device_type = "memory"; - reg = <0x00 0x00 0x00 0x40000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +/dts-v1/; + +#include "bcm4912.dtsi" + +/ { + compatible = "asus,gt-ax6000", "brcm,bcm4912", "brcm,bcmbca"; + model = "Asus GT-AX6000"; + + memory@0 { + device_type = "memory"; + reg = <0x00 0x00 0x00 0x40000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/northstar2/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/northstar2/Makefile index fb104e9696..601e1e6312 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/northstar2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/northstar2/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-svk.dtb -dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-xmc.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-svk.dtb +dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-xmc.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/Makefile index 1de0662bcc..20c7d0aa6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742k.dtb -dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742t.dtb - -dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958802a802x.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742k.dtb +dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742t.dtb + +dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958802a802x.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/Makefile index 67ee358825..c178f7e06e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_THUNDER) += thunder-88xx.dtb -dtb-$(CONFIG_ARCH_THUNDER2) += thunder2-99xx.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_THUNDER) += thunder-88xx.dtb +dtb-$(CONFIG_ARCH_THUNDER2) += thunder2-99xx.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/Makefile index 7bf64a1300..d7f2191c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += google - -dtb-$(CONFIG_ARCH_EXYNOS) += \ - exynos5433-tm2.dtb \ - exynos5433-tm2e.dtb \ - exynos7-espresso.dtb \ - exynos7885-jackpotlte.dtb \ - exynos850-e850-96.dtb \ - exynosautov9-sadk.dtb \ - exynosautov920-sadk.dtb +# SPDX-License-Identifier: GPL-2.0 +subdir-y += google + +dtb-$(CONFIG_ARCH_EXYNOS) += \ + exynos5433-tm2.dtb \ + exynos5433-tm2e.dtb \ + exynos7-espresso.dtb \ + exynos7885-jackpotlte.dtb \ + exynos850-e850-96.dtb \ + exynosautov9-sadk.dtb \ + exynosautov920-sadk.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/Makefile index 8c79320010..0a6d5e1fe4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -dtb-$(CONFIG_ARCH_EXYNOS) += \ - gs101-oriole.dtb \ +# SPDX-License-Identifier: GPL-2.0 + +dtb-$(CONFIG_ARCH_EXYNOS) += \ + gs101-oriole.dtb \ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts index 9652027c14..86a9b77142 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Device Tree file for LX2160A Clearfog CX board -// -// Copyright 2019 SolidRun Ltd. - -/dts-v1/; - -#include "fsl-lx2160a-clearfog-itx.dtsi" - -/ { - model = "SolidRun LX2160A Clearfog CX"; - compatible = "solidrun,clearfog-cx", - "solidrun,lx2160a-cex7", "fsl,lx2160a"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160A Clearfog CX board +// +// Copyright 2019 SolidRun Ltd. + +/dts-v1/; + +#include "fsl-lx2160a-clearfog-itx.dtsi" + +/ { + model = "SolidRun LX2160A Clearfog CX"; + compatible = "solidrun,clearfog-cx", + "solidrun,lx2160a-cex7", "fsl,lx2160a"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dts index 80e22f33ee..fe19f3009e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Device Tree file for LX2160A Honeycomb board -// -// Copyright 2019 SolidRun Ltd. - -/dts-v1/; - -#include "fsl-lx2160a-clearfog-itx.dtsi" - -/ { - model = "SolidRun LX2160A Honeycomb"; - compatible = "solidrun,honeycomb", - "solidrun,lx2160a-cex7", "fsl,lx2160a"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160A Honeycomb board +// +// Copyright 2019 SolidRun Ltd. + +/dts-v1/; + +#include "fsl-lx2160a-clearfog-itx.dtsi" + +/ { + model = "SolidRun LX2160A Honeycomb"; + compatible = "solidrun,honeycomb", + "solidrun,lx2160a-cex7", "fsl,lx2160a"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_14_x_x.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_14_x_x.dtso index 4436031214..636b17a383 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_14_x_x.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_14_x_x.dtso @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2020-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger - */ - -/dts-v1/; -/plugin/; - -&dpmac1 { - managed = "in-band-status"; -}; - -&pcs_mdio1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2020-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger + */ + +/dts-v1/; +/plugin/; + +&dpmac1 { + managed = "in-band-status"; +}; + +&pcs_mdio1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-apalis-eval-v1.1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-apalis-eval-v1.1.dtsi index 4bcb7d3ba9..0f77f78f4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-apalis-eval-v1.1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-apalis-eval-v1.1.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2024 Toradex - */ - -#include "imx8-apalis-eval.dtsi" - -/* Apalis CAN1 */ -&flexcan1 { - status = "okay"; -}; - -/* Apalis CAN2 */ -&flexcan2 { - status = "okay"; -}; - -/* Apalis MMC1 */ -&usdhc2 { - status = "okay"; -}; - -/* Apalis SD1 */ -&usdhc3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +#include "imx8-apalis-eval.dtsi" + +/* Apalis CAN1 */ +&flexcan1 { + status = "okay"; +}; + +/* Apalis CAN2 */ +&flexcan2 { + status = "okay"; +}; + +/* Apalis MMC1 */ +&usdhc2 { + status = "okay"; +}; + +/* Apalis SD1 */ +&usdhc3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi index efe3ca697e..9386d1a59e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2018-2020 NXP - * Dong Aisheng - */ - -#include "imx8-ss-audio.dtsi" -#include "imx8-ss-dma.dtsi" +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018-2020 NXP + * Dong Aisheng + */ + +#include "imx8-ss-audio.dtsi" +#include "imx8-ss-dma.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-aster.dts index 860c95ef1c..c974f5dc02 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-aster.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8dx-colibri.dtsi" -#include "imx8x-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX8DX on Aster Board"; - compatible = "toradex,colibri-imx8x-aster", - "toradex,colibri-imx8x", - "fsl,imx8dx"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8dx-colibri.dtsi" +#include "imx8x-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX8DX on Aster Board"; + compatible = "toradex,colibri-imx8x-aster", + "toradex,colibri-imx8x", + "fsl,imx8dx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-eval-v3.dts index 73a788ef17..f2bf15463a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-eval-v3.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8dx-colibri.dtsi" -#include "imx8x-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX8DX on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx8x-eval-v3", - "toradex,colibri-imx8x", - "fsl,imx8dx"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8dx-colibri.dtsi" +#include "imx8x-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX8DX on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx8x-eval-v3", + "toradex,colibri-imx8x", + "fsl,imx8dx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris-v2.dts index d0775b0d16..fd425c70cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris-v2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8dx-colibri.dtsi" -#include "imx8x-colibri-iris-v2.dtsi" - -/ { - model = "Toradex Colibri iMX8DX on Colibri Iris V2 Board"; - compatible = "toradex,colibri-imx8x-iris-v2", - "toradex,colibri-imx8x", - "fsl,imx8dx"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8dx-colibri.dtsi" +#include "imx8x-colibri-iris-v2.dtsi" + +/ { + model = "Toradex Colibri iMX8DX on Colibri Iris V2 Board"; + compatible = "toradex,colibri-imx8x-iris-v2", + "toradex,colibri-imx8x", + "fsl,imx8dx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris.dts index c11e79ef8e..e5e2346ce4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri-iris.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8dx-colibri.dtsi" -#include "imx8x-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX8DX on Colibri Iris Board"; - compatible = "toradex,colibri-imx8x-iris", - "toradex,colibri-imx8x", - "fsl,imx8dx"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8dx-colibri.dtsi" +#include "imx8x-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX8DX on Colibri Iris Board"; + compatible = "toradex,colibri-imx8x-iris", + "toradex,colibri-imx8x", + "fsl,imx8dx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx.dtsi index 98a8ec0c12..ce76efc1a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2016 Freescale Semiconductor, Inc. - * Copyright 2017-2020 NXP - */ - -/dts-v1/; - -#include "imx8dxp.dtsi" - -&gpu_3d0 { - assigned-clock-rates = <372000000>, <372000000>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2020 NXP + */ + +/dts-v1/; + +#include "imx8dxp.dtsi" + +&gpu_3d0 { + assigned-clock-rates = <372000000>, <372000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi index 88304c607f..3569abb5bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2020 NXP - */ - -&ddr_pmu0 { - compatible = "fsl,imx8dxl-ddr-pmu", "fsl,imx8-ddr-pmu"; - interrupts = ; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2020 NXP + */ + +&ddr_pmu0 { + compatible = "fsl,imx8dxl-ddr-pmu", "fsl,imx8-ddr-pmu"; + interrupts = ; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso index 7642a5cbb3..5f0278bf61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2024 PHYTEC Messtechnik GmbH - * Author: Cem Tenruh - */ - -/dts-v1/; -/plugin/; - -ðphy1 { - status = "disabled"; -}; - -&fec { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +ðphy1 { + status = "disabled"; +}; + +&fec { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony.dts index eeb235d9dd..36d3eb8652 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2024 Variscite Ltd. - */ - -#include "imx8mp-var-som.dtsi" - -/ { - model = "Variscite VAR-SOM-MX8M-PLUS on Symphony-Board"; - compatible = "variscite,var-som-mx8mp-symphony", "variscite,var-som-mx8mp", "fsl,imx8mp"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 Variscite Ltd. + */ + +#include "imx8mp-var-som.dtsi" + +/ { + model = "Variscite VAR-SOM-MX8M-PLUS on Symphony-Board"; + compatible = "variscite,var-som-mx8mp-symphony", "variscite,var-som-mx8mp", "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts index c005732515..077c5cd258 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2021 Purism SPC - -/dts-v1/; - -#include "imx8mq-librem5-r3.dtsi" - -&a53_opp_table { - opp-1000000000 { - opp-microvolt = <950000>; - }; -}; - -&buck3_reg { - regulator-always-on; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2021 Purism SPC + +/dts-v1/; + +#include "imx8mq-librem5-r3.dtsi" + +&a53_opp_table { + opp-1000000000 { + opp-microvolt = <950000>; + }; +}; + +&buck3_reg { + regulator-always-on; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval-v1.2.dts index f9a0f96ba2..8466a8204e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval-v1.2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2024 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis.dtsi" -#include "imx8-apalis-eval-v1.2.dtsi" - -/ { - model = "Toradex Apalis iMX8QM/QP on Apalis Evaluation Board V1.2"; - compatible = "toradex,apalis-imx8-eval-v1.2", - "toradex,apalis-imx8", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis.dtsi" +#include "imx8-apalis-eval-v1.2.dtsi" + +/ { + model = "Toradex Apalis iMX8QM/QP on Apalis Evaluation Board V1.2"; + compatible = "toradex,apalis-imx8-eval-v1.2", + "toradex,apalis-imx8", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval.dts index d33f551f25..b0ebf6d054 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-eval.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis.dtsi" -#include "imx8-apalis-eval-v1.1.dtsi" - -/ { - model = "Toradex Apalis iMX8QM/QP on Apalis Evaluation Board"; - compatible = "toradex,apalis-imx8-eval", - "toradex,apalis-imx8", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis.dtsi" +#include "imx8-apalis-eval-v1.1.dtsi" + +/ { + model = "Toradex Apalis iMX8QM/QP on Apalis Evaluation Board"; + compatible = "toradex,apalis-imx8-eval", + "toradex,apalis-imx8", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-ixora-v1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-ixora-v1.1.dts index 67d97085b4..68ce58dc71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-ixora-v1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-ixora-v1.1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis.dtsi" -#include "imx8-apalis-ixora-v1.1.dtsi" - -/ { - model = "Toradex Apalis iMX8QM/QP on Apalis Ixora V1.1 Carrier Board"; - compatible = "toradex,apalis-imx8-ixora-v1.1", - "toradex,apalis-imx8", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis.dtsi" +#include "imx8-apalis-ixora-v1.1.dtsi" + +/ { + model = "Toradex Apalis iMX8QM/QP on Apalis Ixora V1.1 Carrier Board"; + compatible = "toradex,apalis-imx8-ixora-v1.1", + "toradex,apalis-imx8", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1.dtsi index fcf4c418ef..81ba8b2831 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -#include -#include "imx8qm.dtsi" -#include "imx8-apalis-v1.1.dtsi" - -/ { - model = "Toradex Apalis iMX8QM V1.1"; - compatible = "toradex,apalis-imx8-v1.1", - "fsl,imx8qm"; -}; - -/* TODO: Cooling Maps */ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +#include +#include "imx8qm.dtsi" +#include "imx8-apalis-v1.1.dtsi" + +/ { + model = "Toradex Apalis iMX8QM V1.1"; + compatible = "toradex,apalis-imx8-v1.1", + "fsl,imx8qm"; +}; + +/* TODO: Cooling Maps */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi index df84230bd9..2bbdacb131 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2021 NXP - */ - -&jpegdec { - compatible = "nxp,imx8qm-jpgdec", "nxp,imx8qxp-jpgdec"; -}; - -&jpegenc { - compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + */ + +&jpegdec { + compatible = "nxp,imx8qm-jpgdec", "nxp,imx8qxp-jpgdec"; +}; + +&jpegenc { + compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts index 505c7eaedc..966ecfb2a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8qxp-colibri.dtsi" -#include "imx8x-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP on Aster Board"; - compatible = "toradex,colibri-imx8x-aster", - "toradex,colibri-imx8x", - "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Aster Board"; + compatible = "toradex,colibri-imx8x-aster", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts index bf1ac6db53..fe4597a6f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2019 Toradex - */ - -/dts-v1/; - -#include "imx8qxp-colibri.dtsi" -#include "imx8x-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx8x-eval-v3", - "toradex,colibri-imx8x", "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2019 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx8x-eval-v3", + "toradex,colibri-imx8x", "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts index 16317e770e..cca33213fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8qxp-colibri.dtsi" -#include "imx8x-colibri-iris-v2.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP on Colibri Iris V2 Board"; - compatible = "toradex,colibri-imx8x-iris-v2", - "toradex,colibri-imx8x", - "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-iris-v2.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Colibri Iris V2 Board"; + compatible = "toradex,colibri-imx8x-iris-v2", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts index ee3ef7759d..fed75b5d4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -/dts-v1/; - -#include "imx8qxp-colibri.dtsi" -#include "imx8x-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP on Colibri Iris Board"; - compatible = "toradex,colibri-imx8x-iris", - "toradex,colibri-imx8x", - "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Colibri Iris Board"; + compatible = "toradex,colibri-imx8x-iris", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi index 5ce7181027..0f1aa31dd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2019 Toradex - */ - -#include "imx8qxp.dtsi" -#include "imx8x-colibri.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP Module"; - compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2019 Toradex + */ + +#include "imx8qxp.dtsi" +#include "imx8x-colibri.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP Module"; + compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-img.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-img.dtsi index 9cef2635f8..3a08731759 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-img.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-img.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2021 NXP - * Dong Aisheng - */ - -&jpegdec { - compatible = "nxp,imx8qxp-jpgdec"; -}; - -&jpegenc { - compatible = "nxp,imx8qxp-jpgenc"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + * Dong Aisheng + */ + +&jpegdec { + compatible = "nxp,imx8qxp-jpgdec"; +}; + +&jpegenc { + compatible = "nxp,imx8qxp-jpgenc"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp.dtsi index e8180b5d78..b14040bf4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) -/* - * Copyright 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -#include "imx8qxp.dtsi" -#include "tqma8xx.dtsi" - -/ { - model = "TQ-Systems i.MX8QXP TQMa8XQP"; - compatible = "tq,imx8qxp-tqma8xqp", "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +#include "imx8qxp.dtsi" +#include "tqma8xx.dtsi" + +/ { + model = "TQ-Systems i.MX8QXP TQMa8XQP"; + compatible = "tq,imx8qxp-tqma8xqp", "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/Makefile index 805e2b1e60..f4d68caeba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_HISI) += hi3660-hikey960.dtb -dtb-$(CONFIG_ARCH_HISI) += hi3670-hikey970.dtb -dtb-$(CONFIG_ARCH_HISI) += hi3798cv200-poplar.dtb -dtb-$(CONFIG_ARCH_HISI) += hi6220-hikey.dtb -dtb-$(CONFIG_ARCH_HISI) += hip05-d02.dtb -dtb-$(CONFIG_ARCH_HISI) += hip06-d03.dtb -dtb-$(CONFIG_ARCH_HISI) += hip07-d05.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_HISI) += hi3660-hikey960.dtb +dtb-$(CONFIG_ARCH_HISI) += hi3670-hikey970.dtb +dtb-$(CONFIG_ARCH_HISI) += hi3798cv200-poplar.dtb +dtb-$(CONFIG_ARCH_HISI) += hi6220-hikey.dtb +dtb-$(CONFIG_ARCH_HISI) += hip05-d02.dtb +dtb-$(CONFIG_ARCH_HISI) += hip06-d03.dtb +dtb-$(CONFIG_ARCH_HISI) += hip07-d05.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/Makefile index 5027025a88..d39cfb723f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \ - socfpga_agilex_socdk.dtb \ - socfpga_agilex_socdk_nand.dtb \ - socfpga_agilex5_socdk.dtb \ - socfpga_n5x_socdk.dtb -dtb-$(CONFIG_ARCH_KEEMBAY) += keembay-evm.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \ + socfpga_agilex_socdk.dtb \ + socfpga_agilex_socdk_nand.dtb \ + socfpga_agilex5_socdk.dtb \ + socfpga_n5x_socdk.dtb +dtb-$(CONFIG_ARCH_KEEMBAY) += keembay-evm.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/Makefile index edf8bf7753..4c3959e24e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb -dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb +dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi index bbadf36082..2ab72f854b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree For AC5X. - * - * Copyright (C) 2022 Allied Telesis Labs - */ - -#include "ac5-98dx25xx.dtsi" - -/ { - model = "Marvell AC5X SoC"; - compatible = "marvell,ac5x", "marvell,ac5"; -}; - -&cnm_clock { - clock-frequency = <325000000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree For AC5X. + * + * Copyright (C) 2022 Allied Telesis Labs + */ + +#include "ac5-98dx25xx.dtsi" + +/ { + model = "Marvell AC5X SoC"; + compatible = "marvell,ac5x", "marvell,ac5"; +}; + +&cnm_clock { + clock-frequency = <325000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp110.dtsi index 5799e98607..4fd33b0fa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp110.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp110.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell Technology Group Ltd. - * - * Device Tree file for Marvell Armada CP110. - */ - -#define CP11X_TYPE cp110 - -#include "armada-cp11x.dtsi" - -#undef CP11X_TYPE +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell Technology Group Ltd. + * + * Device Tree file for Marvell Armada CP110. + */ + +#define CP11X_TYPE cp110 + +#include "armada-cp11x.dtsi" + +#undef CP11X_TYPE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp115.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp115.dtsi index f57860f3d0..1d0a9653e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp115.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-cp115.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell Technology Group Ltd. - * - * Device Tree file for Marvell Armada CP115. - */ - -#define CP11X_TYPE cp115 - -#include "armada-cp11x.dtsi" - -#undef CP11X_TYPE +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell Technology Group Ltd. + * + * Device Tree file for Marvell Armada CP115. + */ + +#define CP11X_TYPE cp115 + +#include "armada-cp11x.dtsi" + +#undef CP11X_TYPE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts index 4d053634cf..4f6cbb4912 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT - -/dts-v1/; - -#include "mt7981b.dtsi" - -/ { - compatible = "openwrt,one", "mediatek,mt7981b"; - model = "OpenWrt One"; - - memory@40000000 { - reg = <0 0x40000000 0 0x40000000>; - device_type = "memory"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT + +/dts-v1/; + +#include "mt7981b.dtsi" + +/ { + compatible = "openwrt,one", "mediatek,mt7981b"; + model = "OpenWrt One"; + + memory@40000000 { + reg = <0 0x40000000 0 0x40000000>; + device_type = "memory"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-xiaomi-ax3000t.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-xiaomi-ax3000t.dts index e4548aa9a1..a314c3e05e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-xiaomi-ax3000t.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7981b-xiaomi-ax3000t.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT - -/dts-v1/; - -#include "mt7981b.dtsi" - -/ { - compatible = "xiaomi,ax3000t", "mediatek,mt7981b"; - model = "Xiaomi AX3000T"; - - memory@40000000 { - reg = <0 0x40000000 0 0x10000000>; - device_type = "memory"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT + +/dts-v1/; + +#include "mt7981b.dtsi" + +/ { + compatible = "xiaomi,ax3000t", "mediatek,mt7981b"; + model = "Xiaomi AX3000T"; + + memory@40000000 { + reg = <0 0x40000000 0 0x10000000>; + device_type = "memory"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso index 64be343b11..d9e01967ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2021 MediaTek Inc. - * Author: Sam.Shih - */ - -/dts-v1/; -/plugin/; - -/ { - compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; -}; - -&{/soc/mmc@11230000} { - bus-width = <4>; - max-frequency = <52000000>; - cap-sd-highspeed; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + * Author: Sam.Shih + */ + +/dts-v1/; +/plugin/; + +/ { + compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; +}; + +&{/soc/mmc@11230000} { + bus-width = <4>; + max-frequency = <52000000>; + cap-sd-highspeed; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986b.dtsi index 661554b29b..db5189664c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986b.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2021 MediaTek Inc. - * Author: Sam.Shih - */ - -#include "mt7986a.dtsi" -/ { - compatible = "mediatek,mt7986b"; -}; - -&pio { - compatible = "mediatek,mt7986b-pinctrl"; - gpio-ranges = <&pio 0 0 41>, <&pio 66 66 35>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + * Author: Sam.Shih + */ + +#include "mt7986a.dtsi" +/ { + compatible = "mediatek,mt7986b"; +}; + +&pio { + compatible = "mediatek,mt7986b-pinctrl"; + gpio-ranges = <&pio 0 0 41>, <&pio 66 66 35>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts index ef920642ca..efc4ad0b08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT - -/dts-v1/; - -#include "mt7988a.dtsi" - -/ { - compatible = "bananapi,bpi-r4", "mediatek,mt7988a"; - model = "Banana Pi BPI-R4"; - chassis-type = "embedded"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT + +/dts-v1/; + +#include "mt7988a.dtsi" + +/ { + compatible = "bananapi,bpi-r4", "mediatek,mt7988a"; + model = "Banana Pi BPI-R4"; + chassis-type = "embedded"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts index 89cfe8a2bb..fcf0cb76a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2016 MediaTek Inc. - */ - -/dts-v1/; -#include "mt8173-elm-hana.dtsi" - -/ { - model = "Google Hana"; - chassis-type = "laptop"; - compatible = "google,hana-rev6", "google,hana-rev5", - "google,hana-rev4", "google,hana-rev3", - "google,hana", "mediatek,mt8173"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2016 MediaTek Inc. + */ + +/dts-v1/; +#include "mt8173-elm-hana.dtsi" + +/ { + model = "Google Hana"; + chassis-type = "laptop"; + compatible = "google,hana-rev6", "google,hana-rev5", + "google,hana-rev4", "google,hana-rev3", + "google,hana", "mediatek,mt8173"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-max98357a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-max98357a.dtsi index f26d2fd918..e4aeea4599 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-max98357a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-max98357a.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) da7219-max98357a sound card. - * - * Copyright 2019 Google LLC. - */ - -#include "mt8183-kukui-audio-da7219.dtsi" -#include "mt8183-kukui-audio-max98357a.dtsi" - -&sound { - compatible = "mediatek,mt8183_da7219_max98357"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) da7219-max98357a sound card. + * + * Copyright 2019 Google LLC. + */ + +#include "mt8183-kukui-audio-da7219.dtsi" +#include "mt8183-kukui-audio-max98357a.dtsi" + +&sound { + compatible = "mediatek,mt8183_da7219_max98357"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-rt1015p.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-rt1015p.dtsi index bb396a2be9..16ce5a3612 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-rt1015p.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-rt1015p.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) da7219-rt1015p sound card. - * - * Copyright 2020 Google LLC. - */ - -#include "mt8183-kukui-audio-da7219.dtsi" -#include "mt8183-kukui-audio-rt1015p.dtsi" - -&sound { - compatible = "mediatek,mt8183_da7219_rt1015p"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) da7219-rt1015p sound card. + * + * Copyright 2020 Google LLC. + */ + +#include "mt8183-kukui-audio-da7219.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +&sound { + compatible = "mediatek,mt8183_da7219_rt1015p"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-max98357a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-max98357a.dtsi index 495c3898a8..2b60967c0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-max98357a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-max98357a.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) audio fragment for max98357a. - * - * Copyright 2020 Google LLC. - */ - -/ { - max98357a: max98357a { - compatible = "maxim,max98357a"; - sdmode-gpios = <&pio 175 0>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) audio fragment for max98357a. + * + * Copyright 2020 Google LLC. + */ + +/ { + max98357a: max98357a { + compatible = "maxim,max98357a"; + sdmode-gpios = <&pio 175 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi index 83aa02eb39..658a764fe9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) audio fragment for rt1015p. - * - * Copyright 2020 Google LLC. - */ - -/ { - rt1015p: rt1015p { - compatible = "realtek,rt1015p"; - sdb-gpios = <&pio 175 0>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) audio fragment for rt1015p. + * + * Copyright 2020 Google LLC. + */ + +/ { + rt1015p: rt1015p { + compatible = "realtek,rt1015p"; + sdb-gpios = <&pio 175 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-max98357a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-max98357a.dtsi index 773f518659..260a5f5614 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-max98357a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-max98357a.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) ts3a227e-max98357a sound card. - * - * Copyright 2020 Google LLC. - */ - -#include "mt8183-kukui-audio-max98357a.dtsi" -#include "mt8183-kukui-audio-ts3a227e.dtsi" - -&sound { - compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) ts3a227e-max98357a sound card. + * + * Copyright 2020 Google LLC. + */ + +#include "mt8183-kukui-audio-max98357a.dtsi" +#include "mt8183-kukui-audio-ts3a227e.dtsi" + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-rt1015p.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-rt1015p.dtsi index e5b5daa91b..2f7d1fa1c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-rt1015p.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-rt1015p.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) mt6358-ts3a227-rt1015p sound card. - * - * Copyright 2021 Google LLC. - */ - -#include "mt8183-kukui-audio-ts3a227e.dtsi" -#include "mt8183-kukui-audio-rt1015p.dtsi" - -&sound { - compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) mt6358-ts3a227-rt1015p sound card. + * + * Copyright 2021 Google LLC. + */ + +#include "mt8183-kukui-audio-ts3a227e.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts index c183519782..8ac6bf5b17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-juniper.dtsi" -#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" - -/ { - model = "Google juniper sku16 board"; - chassis-type = "convertible"; - compatible = "google,juniper-sku16", "google,juniper", "mediatek,mt8183"; -}; - +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-juniper.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google juniper sku16 board"; + chassis-type = "convertible"; + compatible = "google,juniper-sku16", "google,juniper", "mediatek,mt8183"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts index 706d41822f..928b205a61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-willow.dtsi" -#include "mt8183-kukui-audio-da7219-max98357a.dtsi" - -/ { - model = "Google willow board sku0"; - chassis-type = "laptop"; - compatible = "google,willow-sku0", "google,willow", "mediatek,mt8183"; -}; - +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-willow.dtsi" +#include "mt8183-kukui-audio-da7219-max98357a.dtsi" + +/ { + model = "Google willow board sku0"; + chassis-type = "laptop"; + compatible = "google,willow-sku0", "google,willow", "mediatek,mt8183"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts index fda41ce887..71307a8052 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-willow.dtsi" -#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" - -/ { - model = "Google willow board sku1"; - chassis-type = "laptop"; - compatible = "google,willow-sku1", "google,willow", "mediatek,mt8183"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-willow.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google willow board sku1"; + chassis-type = "laptop"; + compatible = "google,willow-sku1", "google,willow", "mediatek,mt8183"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589824.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589824.dts index 23719d4c53..d16834eec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589824.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589824.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-voltorb.dtsi" - -/ { - model = "Google Voltorb sku589824 board"; - compatible = "google,voltorb-sku589824", "google,voltorb", - "mediatek,mt8186"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-voltorb.dtsi" + +/ { + model = "Google Voltorb sku589824 board"; + compatible = "google,voltorb-sku589824", "google,voltorb", + "mediatek,mt8186"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/Makefile index 6cbebaff4a..c6e0313eea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb125.dtb -dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb134.dtb sparx5_pcb134_emmc.dtb -dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb135.dtb sparx5_pcb135_emmc.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb125.dtb +dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb134.dtb sparx5_pcb134_emmc.dtb +dtb-$(CONFIG_ARCH_SPARX5) += sparx5_pcb135.dtb sparx5_pcb135_emmc.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/Makefile index b8f5fa735e..3bc9787801 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MA35) += ma35d1-iot-512m.dtb -dtb-$(CONFIG_ARCH_MA35) += ma35d1-som-256m.dtb -dtb-$(CONFIG_ARCH_NPCM) += nuvoton-npcm845-evb.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MA35) += ma35d1-iot-512m.dtb +dtb-$(CONFIG_ARCH_MA35) += ma35d1-som-256m.dtb +dtb-$(CONFIG_ARCH_NPCM) += nuvoton-npcm845-evb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts index d20cf17dd9..1c3874b677 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra194-p3668-0000.dtsi" -#include "tegra194-p3509-0000.dtsi" - -/ { - model = "NVIDIA Jetson Xavier NX Developer Kit (SD-card)"; - compatible = "nvidia,p3509-0000+p3668-0000", "nvidia,tegra194"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra194-p3668-0000.dtsi" +#include "tegra194-p3509-0000.dtsi" + +/ { + model = "NVIDIA Jetson Xavier NX Developer Kit (SD-card)"; + compatible = "nvidia,p3509-0000+p3668-0000", "nvidia,tegra194"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0001.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0001.dts index e3d6038c23..238fd98e8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0001.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0001.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra194-p3668-0001.dtsi" -#include "tegra194-p3509-0000.dtsi" - -/ { - model = "NVIDIA Jetson Xavier NX Developer Kit (eMMC)"; - compatible = "nvidia,p3509-0000+p3668-0001", "nvidia,tegra194"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra194-p3668-0001.dtsi" +#include "tegra194-p3509-0000.dtsi" + +/ { + model = "NVIDIA Jetson Xavier NX Developer Kit (eMMC)"; + compatible = "nvidia,p3509-0000+p3668-0001", "nvidia,tegra194"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dts index 809d5f1657..21c6d3749b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra210-p2530.dtsi" -#include "tegra210-p2595.dtsi" - -/ { - model = "NVIDIA Tegra210 P2371 (P2530/P2595) reference design"; - compatible = "nvidia,p2371-0000", "nvidia,tegra210"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra210-p2530.dtsi" +#include "tegra210-p2595.dtsi" + +/ { + model = "NVIDIA Tegra210 P2371 (P2530/P2595) reference design"; + compatible = "nvidia,p2371-0000", "nvidia,tegra210"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2894-0050-a08.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2894-0050-a08.dts index 8b53a264f5..7ffb351b58 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2894-0050-a08.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra210-p2894-0050-a08.dts @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra210-p2894.dtsi" - -/ { - model = "NVIDIA Shield TV"; - compatible = "nvidia,p2894-0050-a08", "nvidia,darcy", "nvidia,tegra210"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra210-p2894.dtsi" + +/ { + model = "NVIDIA Shield TV"; + compatible = "nvidia,p2894-0050-a08", "nvidia,darcy", "nvidia,tegra210"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso index a5ab4a567f..a82c26b7ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; -/plugin/; - -&usb { - dr_mode = "host"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; +/plugin/; + +&usb { + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts index fff5aebaef..cc1992ca05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2020 The Linux Foundation. All rights reserved. - */ -/dts-v1/; - -#include "ipq8074-hk10.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C1"; - compatible = "qcom,ipq8074-hk10-c1", "qcom,ipq8074"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2020 The Linux Foundation. All rights reserved. + */ +/dts-v1/; + +#include "ipq8074-hk10.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C1"; + compatible = "qcom,ipq8074-hk10-c1", "qcom,ipq8074"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts index 99cccade50..d7f0efda6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-only -/dts-v1/; -/* - * Copyright (c) 2020 The Linux Foundation. All rights reserved. - */ -#include "ipq8074-hk10.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C2"; - compatible = "qcom,ipq8074-hk10-c2", "qcom,ipq8074"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/dts-v1/; +/* + * Copyright (c) 2020 The Linux Foundation. All rights reserved. + */ +#include "ipq8074-hk10.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C2"; + compatible = "qcom,ipq8074-hk10-c2", "qcom,ipq8074"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929-wingtech-wt82918hd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929-wingtech-wt82918hd.dts index cc364b28d2..8feecffb16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929-wingtech-wt82918hd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929-wingtech-wt82918hd.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8929-pm8916.dtsi" -#include "msm8939-wingtech-wt82918.dtsi" - -/ { - model = "Lenovo Vibe K5 (HD) (Wingtech WT82918)"; - compatible = "wingtech,wt82918hd", "qcom,msm8929"; - chassis-type = "handset"; -}; - -&touchscreen { - touchscreen-size-x = <720>; - touchscreen-size-y = <1280>; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8929-pm8916.dtsi" +#include "msm8939-wingtech-wt82918.dtsi" + +/ { + model = "Lenovo Vibe K5 (HD) (Wingtech WT82918)"; + compatible = "wingtech,wt82918hd", "qcom,msm8929"; + chassis-type = "handset"; +}; + +&touchscreen { + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929.dtsi index bdfe76d6d3..ef7bb1ced9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8929.dtsi @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "msm8939.dtsi" - -&opp_table { - /delete-node/ opp-550000000; -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include "msm8939.dtsi" + +&opp_table { + /delete-node/ opp-550000000; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918.dts index 7e6443205f..aa6b699aa2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8939-pm8916.dtsi" -#include "msm8939-wingtech-wt82918.dtsi" - -/ { - model = "Lenovo Vibe K5 (Wingtech WT82918)"; - compatible = "wingtech,wt82918", "qcom,msm8939"; - chassis-type = "handset"; -}; - -&touchscreen { - touchscreen-size-x = <1080>; - touchscreen-size-y = <1920>; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8939-pm8916.dtsi" +#include "msm8939-wingtech-wt82918.dtsi" + +/ { + model = "Lenovo Vibe K5 (Wingtech WT82918)"; + compatible = "wingtech,wt82918", "qcom,msm8939"; + chassis-type = "handset"; +}; + +&touchscreen { + touchscreen-size-x = <1080>; + touchscreen-size-y = <1920>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918hd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918hd.dts index 61ccbccf65..59414db425 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918hd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8939-wingtech-wt82918hd.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8939-pm8916.dtsi" -#include "msm8939-wingtech-wt82918.dtsi" - -/ { - model = "Lenovo Vibe K5 (HD) (Wingtech WT82918)"; - compatible = "wingtech,wt82918hdhw39", "qcom,msm8939"; - chassis-type = "handset"; -}; - -&touchscreen { - touchscreen-size-x = <720>; - touchscreen-size-y = <1280>; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8939-pm8916.dtsi" +#include "msm8939-wingtech-wt82918.dtsi" + +/ { + model = "Lenovo Vibe K5 (HD) (Wingtech WT82918)"; + compatible = "wingtech,wt82918hdhw39", "qcom,msm8939"; + chassis-type = "handset"; +}; + +&touchscreen { + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts index 3e353f9f2e..4159fc3557 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Jean Thomas - */ - -/dts-v1/; - -#include "msm8992-lg-bullhead.dtsi" - -/ { - model = "LG Nexus 5X rev 1.0"; - - /* required for bootloader to select correct board */ - qcom,board-id = <0xa64 0>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Jean Thomas + */ + +/dts-v1/; + +#include "msm8992-lg-bullhead.dtsi" + +/ { + model = "LG Nexus 5X rev 1.0"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0xa64 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts index 642e7ceb38..ad9702dd17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Jean Thomas - */ - -/dts-v1/; - -#include "msm8992-lg-bullhead.dtsi" - -/ { - model = "LG Nexus 5X rev 1.01"; - - /* required for bootloader to select correct board */ - qcom,board-id = <0xb64 0>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Jean Thomas + */ + +/dts-v1/; + +#include "msm8992-lg-bullhead.dtsi" + +/ { + model = "LG Nexus 5X rev 1.01"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0xb64 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-sumire.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-sumire.dts index 171f5306b2..466508cd82 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-sumire.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-sumire.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8994-sony-xperia-kitakami.dtsi" - -/ { - model = "Sony Xperia Z5"; - compatible = "sony,sumire-row", "qcom,msm8994"; - chassis-type = "handset"; -}; - -/delete-node/ &pm8994_l19; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8994-sony-xperia-kitakami.dtsi" + +/ { + model = "Sony Xperia Z5"; + compatible = "sony,sumire-row", "qcom,msm8994"; + chassis-type = "handset"; +}; + +/delete-node/ &pm8994_l19; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts index ecadf8534f..fc29b194cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2018, Linaro Limited - */ - -/dts-v1/; - -#include "qcs404-evb.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; - compatible = "qcom,qcs404-evb-1000", "qcom,qcs404-evb", - "qcom,qcs404"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2018, Linaro Limited + */ + +/dts-v1/; + +#include "qcs404-evb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; + compatible = "qcom,qcs404-evb-1000", "qcom,qcs404-evb", + "qcom,qcs404"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-clamshell.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-clamshell.dtsi index 52f7763662..d91533b80e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-clamshell.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-clamshell.dtsi @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor dts fragment for clamshells - * - * Copyright 2024 Google LLC. - */ - -/* This file must be included after sc7180-trogdor.dtsi to modify cros_ec */ -#include +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for clamshells + * + * Copyright 2024 Google LLC. + */ + +/* This file must be included after sc7180-trogdor.dtsi to modify cros_ec */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3.dts index 99929cdc58..a02d2d57c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google CoachZ board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor-coachz.dtsi" - -/ { - model = "Google CoachZ (rev3+)"; - compatible = "google,coachz", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google CoachZ board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-coachz.dtsi" + +/ { + model = "Google CoachZ (rev3+)"; + compatible = "google,coachz", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-detachable.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-detachable.dtsi index b196d9bc07..7c5d8a57ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-detachable.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-detachable.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor dts fragment for detachables - * - * Copyright 2024 Google LLC. - */ - -/* This file must be included after sc7180-trogdor.dtsi to modify cros_ec */ -&cros_ec { - keyboard-controller { - compatible = "google,cros-ec-keyb-switches"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for detachables + * + * Copyright 2024 Google LLC. + */ + +/* This file must be included after sc7180-trogdor.dtsi to modify cros_ec */ +&cros_ec { + keyboard-controller { + compatible = "google,cros-ec-keyb-switches"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts index 0f9758dcef..340cb119d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-lazor-r1.dts" - -/ { - model = "Google Lazor (rev1 - 2) with KB Backlight"; - compatible = "google,lazor-rev1-sku2", "google,lazor-rev2-sku2", "qcom,sc7180"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-lazor-r1.dts" + +/ { + model = "Google Lazor (rev1 - 2) with KB Backlight"; + compatible = "google,lazor-rev1-sku2", "google,lazor-rev2-sku2", "qcom,sc7180"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1-lte.dts index 9b18abeed0..0202f03eaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1-lte.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-pompom-r1.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Pompom (rev1) with LTE"; - compatible = "google,pompom-rev1-sku0", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pompom board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-pompom-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Pompom (rev1) with LTE"; + compatible = "google,pompom-rev1-sku0", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2-lte.dts index fcef8ec267..00e187c08e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2-lte.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-pompom-r2.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Pompom (rev2) with LTE"; - compatible = "google,pompom-rev2-sku0", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pompom board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-pompom-r2.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Pompom (rev2) with LTE"; + compatible = "google,pompom-rev2-sku0", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3-lte.dts index ec768fda90..e90b73c353 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3-lte.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2021 Google LLC. - */ - -#include "sc7180-trogdor-pompom-r3.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Pompom (rev3+) with LTE"; - compatible = "google,pompom-sku0", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pompom board device tree source + * + * Copyright 2021 Google LLC. + */ + +#include "sc7180-trogdor-pompom-r3.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Pompom (rev3+) with LTE"; + compatible = "google,pompom-sku0", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3.dts index 3039426a05..f8aac63a53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r3.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor-pompom.dtsi" - -/ { - model = "Google Pompom (rev3+)"; - compatible = "google,pompom", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pompom board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-pompom.dtsi" + +/ { + model = "Google Pompom (rev3+)"; + compatible = "google,pompom", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts index 44091be3e3..1123c02bd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-r1.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Trogdor (rev1+) with LTE"; - compatible = "google,trogdor-sku0", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Trogdor (rev1+) with LTE"; + compatible = "google,trogdor-sku0", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker-lte.dts index b4571263f2..14f20e7058 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker-lte.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Evoker board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-evoker.dtsi" -#include "sc7280-herobrine-lte-sku.dtsi" - -/ { - model = "Google Evoker with LTE"; - compatible = "google,evoker-sku512", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Evoker board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-evoker.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" + +/ { + model = "Google Evoker with LTE"; + compatible = "google,evoker-sku512", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dts index 06d0e83348..4f781fe25c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Evoker board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-evoker.dtsi" -#include "sc7280-herobrine-wifi-sku.dtsi" - -/ { - model = "Google Evoker"; - compatible = "google,evoker", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Evoker board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-evoker.dtsi" +#include "sc7280-herobrine-wifi-sku.dtsi" + +/ { + model = "Google Evoker"; + compatible = "google,evoker", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-nvme-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-nvme-sku.dtsi index 60310feb42..1aed02297f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-nvme-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-nvme-sku.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Herobrine dts fragment for NVMe SKUs - * - * Copyright 2022 Google LLC. - */ - -&pcie1 { - status = "okay"; -}; - -&pcie1_phy { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Herobrine dts fragment for NVMe SKUs + * + * Copyright 2022 Google LLC. + */ + +&pcie1 { + status = "okay"; +}; + +&pcie1_phy { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-pro-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-pro-sku.dtsi index 12be8b5db9..fb4bbe8aed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-pro-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-pro-sku.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Google Herobrine dts fragment for PRO SKUs - * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/delete-node/ &vreg_s9c_0p676; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Google Herobrine dts fragment for PRO SKUs + * + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/delete-node/ &vreg_s9c_0p676; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts index 5f800b1efa..73e24cc55a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Villager board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-villager.dtsi" -#include "sc7280-herobrine-lte-sku.dtsi" - -/ { - model = "Google Villager (rev0)"; - compatible = "google,villager-rev0", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Villager board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-villager.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" + +/ { + model = "Google Villager (rev0)"; + compatible = "google,villager-rev0", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1-lte.dts index 1521b9cef6..d71cc4bbc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1-lte.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Villager board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-villager-r1.dtsi" -#include "sc7280-herobrine-lte-sku.dtsi" - -/ { - model = "Google Villager (rev1+) with LTE"; - compatible = "google,villager-sku512", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Villager board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-villager-r1.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" + +/ { + model = "Google Villager (rev1+) with LTE"; + compatible = "google,villager-sku512", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts index a3d5b70c59..edb52f12f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Villager board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-villager-r1.dtsi" -#include "sc7280-herobrine-wifi-sku.dtsi" - -/ { - model = "Google Villager (rev1+)"; - compatible = "google,villager", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Villager board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-villager-r1.dtsi" +#include "sc7280-herobrine-wifi-sku.dtsi" + +/ { + model = "Google Villager (rev1+)"; + compatible = "google,villager", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-wifi-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-wifi-sku.dtsi index 5c0dd2dabb..3ebc915f0d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-wifi-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-wifi-sku.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Google Herobrine dts fragment for WIFI SKUs - * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/* WIFI SKUs save 256M by not having modem/mba/rmtfs memory regions defined. */ - -/delete-node/ &mpss_mem; -/delete-node/ &remoteproc_mpss; -/delete-node/ &rmtfs_mem; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Google Herobrine dts fragment for WIFI SKUs + * + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/* WIFI SKUs save 256M by not having modem/mba/rmtfs memory regions defined. */ + +/delete-node/ &mpss_mem; +/delete-node/ &remoteproc_mpss; +/delete-node/ &rmtfs_mem; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts index f88051156e..c9fe645295 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Zombie board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-zombie.dtsi" -#include "sc7280-herobrine-lte-sku.dtsi" - -/ { - model = "Google Zombie with LTE"; - compatible = "google,zombie-sku512", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" + +/ { + model = "Google Zombie with LTE"; + compatible = "google,zombie-sku512", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts index 85543db5dc..0246c12b2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Zombie board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-zombie.dtsi" -#include "sc7280-herobrine-wifi-sku.dtsi" - -/ { - model = "Google Zombie"; - compatible = "google,zombie", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-wifi-sku.dtsi" + +/ { + model = "Google Zombie"; + compatible = "google,zombie", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm450.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm450.dtsi index 0c688f7ef9..b222aeb459 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm450.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm450.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* Copyright (c) 2023, Luca Weiss */ - -#include "msm8953.dtsi" - -&gpu_opp_table { - /delete-node/ opp-650000000; - - opp-600000000 { - opp-hz = /bits/ 64 <600000000>; - opp-supported-hw = <0xff>; - required-opps = <&rpmpd_opp_turbo>; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* Copyright (c) 2023, Luca Weiss */ + +#include "msm8953.dtsi" + +&gpu_opp_table { + /delete-node/ opp-650000000; + + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-supported-hw = <0xff>; + required-opps = <&rpmpd_opp_turbo>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dts index 9a551fc181..dd484a9bc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "sdm630.dtsi" -#include "sdm630-sony-xperia-nile.dtsi" - -/ { - model = "Sony Xperia XA2 Ultra"; - compatible = "sony,discovery-row", "qcom,sdm630"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "sdm630.dtsi" +#include "sdm630-sony-xperia-nile.dtsi" + +/ { + model = "Sony Xperia XA2 Ultra"; + compatible = "sony,discovery-row", "qcom,sdm630"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dts index 04f58b1972..2da83cd411 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "sdm630.dtsi" -#include "sdm630-sony-xperia-nile.dtsi" - -/ { - model = "Sony Xperia XA2"; - compatible = "sony,pioneer-row", "qcom,sdm630"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "sdm630.dtsi" +#include "sdm630-sony-xperia-nile.dtsi" + +/ { + model = "Sony Xperia XA2"; + compatible = "sony,pioneer-row", "qcom,sdm630"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts index 64263bac5d..76931ebad0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "sdm845-xiaomi-beryllium-common.dtsi" - -/ { - model = "Xiaomi Pocophone F1 (EBBG)"; - compatible = "xiaomi,beryllium-ebbg", "qcom,sdm845"; -}; - -&display_panel { - compatible = "ebbg,ft8719"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "sdm845-xiaomi-beryllium-common.dtsi" + +/ { + model = "Xiaomi Pocophone F1 (EBBG)"; + compatible = "xiaomi,beryllium-ebbg", "qcom,sdm845"; +}; + +&display_panel { + compatible = "ebbg,ft8719"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts index d28b325f5c..e9427851eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "sdm845-xiaomi-beryllium-common.dtsi" - -/ { - model = "Xiaomi Pocophone F1 (Tianma)"; - compatible = "xiaomi,beryllium", "qcom,sdm845"; -}; - -&display_panel { - compatible = "tianma,fhd-video", "novatek,nt36672a"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "sdm845-xiaomi-beryllium-common.dtsi" + +/ { + model = "Xiaomi Pocophone F1 (Tianma)"; + compatible = "xiaomi,beryllium", "qcom,sdm845"; +}; + +&display_panel { + compatible = "tianma,fhd-video", "novatek,nt36672a"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts index 68ea650548..12f517a849 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2023, Joe Mason - */ - -/dts-v1/; - -#include "sm7125-xiaomi-common.dtsi" - -/ { - model = "Xiaomi Redmi Note 9S"; - compatible = "xiaomi,curtana", "qcom,sm7125"; - - /* required for bootloader to select correct board */ - qcom,board-id = <0x20022 1>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, Joe Mason + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9S"; + compatible = "xiaomi,curtana", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x20022 1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts index 68debcd21b..e010d19575 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2021, The Linux Foundation. All rights reserved. - */ - -/dts-v1/; - -#include "sm7125-xiaomi-common.dtsi" - -/ { - model = "Xiaomi Redmi Note 9 Pro (Global)"; - compatible = "xiaomi,joyeuse", "qcom,sm7125"; - - /* required for bootloader to select correct board */ - qcom,board-id = <0x50022 1>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9 Pro (Global)"; + compatible = "xiaomi,joyeuse", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x50022 1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dts index a8eb45cee2..0d6deceedf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "sm8150-sony-xperia-kumano.dtsi" - -/ { - model = "Sony Xperia 1"; - compatible = "sony,griffin-generic", "qcom,sm8150"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "sm8150-sony-xperia-kumano.dtsi" + +/ { + model = "Sony Xperia 1"; + compatible = "sony,griffin-generic", "qcom,sm8150"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts index 325dd218e1..eb7580dd96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "x1e80100-microsoft-romulus.dtsi" - -/ { - model = "Microsoft Surface Laptop 7 (13.8 inch)"; - compatible = "microsoft,romulus13", "qcom,x1e80100"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "x1e80100-microsoft-romulus.dtsi" + +/ { + model = "Microsoft Surface Laptop 7 (13.8 inch)"; + compatible = "microsoft,romulus13", "qcom,x1e80100"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus15.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus15.dts index 2019046172..4751ad9b51 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus15.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus15.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "x1e80100-microsoft-romulus.dtsi" - -/ { - model = "Microsoft Surface Laptop 7 (15 inch)"; - compatible = "microsoft,romulus15", "qcom,x1e80100"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "x1e80100-microsoft-romulus.dtsi" + +/ { + model = "Microsoft Surface Laptop 7 (15 inch)"; + compatible = "microsoft,romulus15", "qcom,x1e80100"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619.dtsi index 2b24e56ed9..e52bf708b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Realtek RTD1619 SoC - * - * Copyright (c) 2019 Realtek Semiconductor Corp. - */ - -#include "rtd16xx.dtsi" - -/ { - compatible = "realtek,rtd1619"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Realtek RTD1619 SoC + * + * Copyright (c) 2019 Realtek Semiconductor Corp. + */ + +#include "rtd16xx.dtsi" + +/ { + compatible = "realtek,rtd1619"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a.dtsi index 3db9824459..83f5e21111 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car V3H2 (R8A77980A) SoC - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ -#include "r8a77980.dtsi" - -/ { - compatible = "renesas,r8a77980a", "renesas,r8a77980"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car V3H2 (R8A77980A) SoC + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ +#include "r8a77980.dtsi" + +/ { + compatible = "renesas,r8a77980a", "renesas,r8a77980"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts index e53d0825b7..d5ac34a966 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Ebisu/Ebisu-4D board with R-Car E3 - * - * Copyright (C) 2018 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77990.dtsi" -#include "ebisu.dtsi" - -/ { - model = "Renesas Ebisu board based on r8a77990"; - compatible = "renesas,ebisu", "renesas,r8a77990"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Ebisu/Ebisu-4D board with R-Car E3 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77990.dtsi" +#include "ebisu.dtsi" + +/ { + model = "Renesas Ebisu board based on r8a77990"; + compatible = "renesas,ebisu", "renesas,r8a77990"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779a0-falcon-ethernet.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779a0-falcon-ethernet.dtsi index 0da693732e..e11bf9ace7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779a0-falcon-ethernet.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779a0-falcon-ethernet.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Falcon Ethernet sub-board - * - * Copyright (C) 2021 Glider bv - */ - -&i2c0 { - eeprom@53 { - compatible = "rohm,br24g01", "atmel,24c01"; - label = "ethernet-sub-board-id"; - reg = <0x53>; - pagesize = <8>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Falcon Ethernet sub-board + * + * Copyright (C) 2021 Glider bv + */ + +&i2c0 { + eeprom@53 { + compatible = "rohm,br24g01", "atmel,24c01"; + label = "ethernet-sub-board-id"; + reg = <0x53>; + pagesize = <8>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f4.dtsi index 13293ecd84..ebed41892d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f4.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car S4-8 (R8A779F4) SoC - * - * Copyright (C) 2023 Renesas Electronics Corp. - */ - -#include "r8a779f0.dtsi" - -/ { - compatible = "renesas,r8a779f4", "renesas,r8a779f0"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car S4-8 (R8A779F4) SoC + * + * Copyright (C) 2023 Renesas Electronics Corp. + */ + +#include "r8a779f0.dtsi" + +/ { + compatible = "renesas,r8a779f4", "renesas,r8a779f0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dts index 66f2e57a2c..c8b1bb50a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the standalone R-Car V4H White Hawk CPU board - * - * Copyright (C) 2023 Glider bv - */ - -/dts-v1/; -#include "r8a779g0-white-hawk-cpu.dtsi" - -/ { - model = "Renesas White Hawk CPU board based on r8a779g0"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the standalone R-Car V4H White Hawk CPU board + * + * Copyright (C) 2023 Glider bv + */ + +/dts-v1/; +#include "r8a779g0-white-hawk-cpu.dtsi" + +/ { + model = "Renesas White Hawk CPU board based on r8a779g0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2.dtsi index fda7fc67c9..e08f531843 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the R-Car V4H (R8A779G2) SoC - * - * Copyright (C) 2023 Glider bv - */ - -#include "r8a779g0.dtsi" - -/ { - compatible = "renesas,r8a779g2", "renesas,r8a779g0"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H (R8A779G2) SoC + * + * Copyright (C) 2023 Glider bv + */ + +#include "r8a779g0.dtsi" + +/ { + compatible = "renesas,r8a779g2", "renesas,r8a779g0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m0.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m0.dtsi index 7a4946e745..38978360e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m0.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m0.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car H3e (R8A779M0) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77951.dtsi" - -/ { - compatible = "renesas,r8a779m0", "renesas,r8a7795"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car H3e (R8A779M0) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779m0", "renesas,r8a7795"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m2.dtsi index f924b0d712..bced12764c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m2.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car M3e (R8A779M2) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77961.dtsi" - -/ { - compatible = "renesas,r8a779m2", "renesas,r8a77961"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car M3e (R8A779M2) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77961.dtsi" + +/ { + compatible = "renesas,r8a779m2", "renesas,r8a77961"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m4.dtsi index 4a452f62b9..ae84860569 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m4.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car M3Ne (R8A779M4) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77965.dtsi" - -/ { - compatible = "renesas,r8a779m4", "renesas,r8a77965"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car M3Ne (R8A779M4) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77965.dtsi" + +/ { + compatible = "renesas,r8a779m4", "renesas,r8a77965"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m6.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m6.dtsi index 0710f003fe..94d6a6cf50 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m6.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m6.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car E3e (R8A779M6) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77990.dtsi" - -/ { - compatible = "renesas,r8a779m6", "renesas,r8a77990"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car E3e (R8A779M6) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77990.dtsi" + +/ { + compatible = "renesas,r8a779m6", "renesas,r8a77990"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m7.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m7.dtsi index 67c5372f8f..0580fa6140 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m7.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m7.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car D3e (R8A779M7) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77995.dtsi" - -/ { - compatible = "renesas,r8a779m7", "renesas,r8a77995"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car D3e (R8A779M7) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77995.dtsi" + +/ { + compatible = "renesas,r8a779m7", "renesas,r8a77995"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m8.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m8.dtsi index 45d006a446..dfccc080fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m8.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m8.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car H3Ne (R8A779M8) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77951.dtsi" - -/ { - compatible = "renesas,r8a779m8", "renesas,r8a7795"; -}; - -&cluster0_opp { - /delete-node/ opp-1600000000; - /delete-node/ opp-1700000000; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car H3Ne (R8A779M8) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779m8", "renesas,r8a7795"; +}; + +&cluster0_opp { + /delete-node/ opp-1600000000; + /delete-node/ opp-1700000000; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779mb.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779mb.dtsi index 8b8d125bd4..181b737c91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779mb.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779mb.dtsi @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car H3Ne-1.7G (R8A779MB) SoC - * - * Copyright (C) 2022 Glider bv - */ - -#include "r8a77951.dtsi" - -/ { - compatible = "renesas,r8a779mb", "renesas,r8a7795"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car H3Ne-1.7G (R8A779MB) SoC + * + * Copyright (C) 2022 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779mb", "renesas,r8a7795"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi index a96150ab3d..91dc10b2cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G2L R9A07G044L2 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g044.dtsi" - -/ { - compatible = "renesas,r9a07g044l2", "renesas,r9a07g044"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2L R9A07G044L2 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g044.dtsi" + +/ { + compatible = "renesas,r9a07g044l2", "renesas,r9a07g044"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l2.dtsi index bbe9cba6be..4d5914bc95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l2.dtsi @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/V2L R9A07G054L2 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g054.dtsi" - -/ { - compatible = "renesas,r9a07g054l2", "renesas,r9a07g054"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/V2L R9A07G054L2 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g054.dtsi" + +/ { + compatible = "renesas,r9a07g054l2", "renesas,r9a07g054"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi index 3692acea4f..3351f26c7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G3S R9A08G045S33 SoC specific part - * - * Copyright (C) 2023 Renesas Electronics Corp. - */ - -/dts-v1/; - -#include "r9a08g045.dtsi" - -/ { - compatible = "renesas,r9a08g045s33", "renesas,r9a08g045"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G3S R9A08G045S33 SoC specific part + * + * Copyright (C) 2023 Renesas Electronics Corp. + */ + +/dts-v1/; + +#include "r9a08g045.dtsi" + +/ { + compatible = "renesas,r9a08g045s33", "renesas,r9a08g045"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326.dtsi index c4333ec824..2ba6da1251 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd - */ - -#include "px30.dtsi" - -&display_subsystem { - ports = <&vopb_out>; -}; - -/delete-node/ &dsi_in_vopl; -/delete-node/ &lvds_vopl_in; -/delete-node/ &vopl; -/delete-node/ &vopl_mmu; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + */ + +#include "px30.dtsi" + +&display_subsystem { + ports = <&vopb_out>; +}; + +/delete-node/ &dsi_in_vopl; +/delete-node/ &lvds_vopl_in; +/delete-node/ &vopl; +/delete-node/ &vopl_mmu; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dts index 4b1f8ecceb..31616e7ad8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. - * (https://www.khadas.com) - */ - -/dts-v1/; -#include "rk3399-khadas-edge.dtsi" - -/ { - model = "Khadas Edge"; - compatible = "khadas,edge", "rockchip,rk3399"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. + * (https://www.khadas.com) + */ + +/dts-v1/; +#include "rk3399-khadas-edge.dtsi" + +/ { + model = "Khadas Edge"; + compatible = "khadas,edge", "rockchip,rk3399"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts index 054547b0ac..cd41954253 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd - */ - -/dts-v1/; -#include "rk3399-roc-pc.dtsi" - -/ { - model = "Firefly ROC-RK3399-PC Board"; - compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd + */ + +/dts-v1/; +#include "rk3399-roc-pc.dtsi" + +/ { + model = "Firefly ROC-RK3399-PC Board"; + compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts index 7381f7c2b9..5a58060447 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; -#include "rk3399-sapphire.dtsi" - -/ { - model = "Sapphire-RK3399 Board"; - compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; +#include "rk3399-sapphire.dtsi" + +/ { + model = "Sapphire-RK3399 Board"; + compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dts index 52691b7d68..5b0b7ebf9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3566-pinenote.dtsi" - -/ { - model = "Pine64 PineNote v1.1"; - compatible = "pine64,pinenote-v1.1", "pine64,pinenote", "rockchip,rk3566"; -}; - -&pmu_io_domains { - vccio7-supply = <&vcc_1v8>; -}; - -&spk_amp { - VCC-supply = <&dcdc_boost>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3566-pinenote.dtsi" + +/ { + model = "Pine64 PineNote v1.1"; + compatible = "pine64,pinenote-v1.1", "pine64,pinenote", "rockchip,rk3566"; +}; + +&pmu_io_domains { + vccio7-supply = <&vcc_1v8>; +}; + +&spk_amp { + VCC-supply = <&dcdc_boost>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.2.dts index 4f1d5638e5..6bbc4c675d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.2.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3566-pinenote.dtsi" - -/ { - model = "Pine64 PineNote v1.2"; - compatible = "pine64,pinenote-v1.2", "pine64,pinenote", "rockchip,rk3566"; -}; - -&pmu_io_domains { - vccio7-supply = <&vcc_3v3>; -}; - -&spk_amp { - VCC-supply = <&vcc_bat>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3566-pinenote.dtsi" + +/ { + model = "Pine64 PineNote v1.2"; + compatible = "pine64,pinenote-v1.2", "pine64,pinenote", "rockchip,rk3566"; +}; + +&pmu_io_domains { + vccio7-supply = <&vcc_3v3>; +}; + +&spk_amp { + VCC-supply = <&vcc_bat>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display-vz.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display-vz.dtso index c1b5b70291..70c23e1bf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display-vz.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display-vz.dtso @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Device tree overlay for the WolfVision PF5 Visualizer display. - * - * Copyright (C) 2024 WolfVision GmbH. - */ - -/dts-v1/; -/plugin/; - -#include "rk3568-wolfvision-pf5-display.dtsi" - -&st7789 { - compatible = "jasonic,jt240mhqs-hwt-ek-e3", - "sitronix,st7789v"; - rotation = <270>; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Device tree overlay for the WolfVision PF5 Visualizer display. + * + * Copyright (C) 2024 WolfVision GmbH. + */ + +/dts-v1/; +/plugin/; + +#include "rk3568-wolfvision-pf5-display.dtsi" + +&st7789 { + compatible = "jasonic,jt240mhqs-hwt-ek-e3", + "sitronix,st7789v"; + rotation = <270>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a.dtsi index b936034560..4c76a00b41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a.dtsi @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. - */ - -#include "rk3588-edgeble-neu6a-common.dtsi" - -/ { - compatible = "edgeble,neural-compute-module-6a", "rockchip,rk3588"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +#include "rk3588-edgeble-neu6a-common.dtsi" + +/ { + compatible = "edgeble,neural-compute-module-6a", "rockchip,rk3588"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi index 3efb86e57d..c4634bc09f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. - */ - -#include "rk3588-edgeble-neu6a-common.dtsi" - -/ { - compatible = "edgeble,neural-compute-module-6b", "rockchip,rk3588"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + */ + +#include "rk3588-edgeble-neu6a-common.dtsi" + +/ { + compatible = "edgeble,neural-compute-module-6b", "rockchip,rk3588"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi index 1c3d4e0914..7462cc1e10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Rockchip Electronics Co., Ltd. - * - */ - -#include "rk3588-extra.dtsi" -#include "rk3588-opp.dtsi" +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. + * + */ + +#include "rk3588-extra.dtsi" +#include "rk3588-opp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts index b6785e71b2..497bbb5707 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3588s-nanopi-r6s.dts" - -/ { - model = "FriendlyElec NanoPi R6C"; - compatible = "friendlyarm,nanopi-r6c", "rockchip,rk3588s"; -}; - -&lan2_led { - label = "user_led"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3588s-nanopi-r6s.dts" + +/ { + model = "FriendlyElec NanoPi R6C"; + compatible = "friendlyarm,nanopi-r6c", "rockchip,rk3588s"; +}; + +&lan2_led { + label = "user_led"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 09ca79b3ff..c7fecf8fe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Rockchip Electronics Co., Ltd. - * - */ - -#include "rk3588-base.dtsi" -#include "rk3588-opp.dtsi" +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. + * + */ + +#include "rk3588-base.dtsi" +#include "rk3588-opp.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/Makefile index f8a2ae40c6..33989a9643 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_UNIPHIER) += \ - uniphier-ld11-global.dtb \ - uniphier-ld11-ref.dtb \ - uniphier-ld20-akebi96.dtb \ - uniphier-ld20-global.dtb \ - uniphier-ld20-ref.dtb \ - uniphier-pxs3-ref.dtb \ - uniphier-pxs3-ref-gadget0.dtb \ - uniphier-pxs3-ref-gadget1.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_UNIPHIER) += \ + uniphier-ld11-global.dtb \ + uniphier-ld11-ref.dtb \ + uniphier-ld20-akebi96.dtb \ + uniphier-ld20-global.dtb \ + uniphier-ld20-ref.dtb \ + uniphier-pxs3-ref.dtb \ + uniphier-pxs3-ref-gadget0.dtb \ + uniphier-pxs3-ref-gadget1.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/Makefile index 1dc2c9cc12..3ce81ad711 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \ - sp9860g-1h10.dtb \ - sp9863a-1h10.dtb \ - ums512-1h10.dtb \ - ums9620-2h10.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \ + sp9860g-1h10.dtb \ + sp9863a-1h10.dtb \ + ums512-1h10.dtb \ + ums9620-2h10.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/Makefile index e23bd3da59..881fe1296c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_ARCH_STM32) += stm32mp257f-ev1.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_STM32) += stm32mp257f-ev1.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp257.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp257.dtsi index 22c8b34245..5c5000d3d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp257.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp257.dtsi @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2023 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ -#include "stm32mp255.dtsi" - -/ { -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2023 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ +#include "stm32mp255.dtsi" + +/ { +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xc.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xc.dtsi index f23d8d7afd..5e83a69264 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xc.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xc.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2023 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -/ { -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2023 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +/ { +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xf.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xf.dtsi index f23d8d7afd..5e83a69264 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xf.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp25xf.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2023 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -/ { -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2023 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +/ { +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/Makefile index 975aa3a8a5..de71ddda68 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -# Berlin SoC Family -dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-dmp.dtb -dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb +# SPDX-License-Identifier: GPL-2.0 +# Berlin SoC Family +dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-dmp.dtb +dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/Makefile index 46f921d5b1..a1ee50e2fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_TESLA_FSD) += \ - fsd-evb.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_TESLA_FSD) += \ + fsd-evb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-sdcard.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-sdcard.dtso index 6212dead82..c4525024ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-sdcard.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-sdcard.dtso @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (c) 2022-2024 TQ-Systems GmbH , D-82229 Seefeld, Germany. - */ - -/dts-v1/; -/plugin/; - -&sdhci1 { - vmmc-supply = <®_sd>; - no-sdio; - status = "okay"; -}; - -&main_gpio0 { - line43-hog { - gpio-hog; - gpios = <43 0>; - line-name = "MMC1_CTRL"; - output-low; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (c) 2022-2024 TQ-Systems GmbH , D-82229 Seefeld, Germany. + */ + +/dts-v1/; +/plugin/; + +&sdhci1 { + vmmc-supply = <®_sd>; + no-sdio; + status = "okay"; +}; + +&main_gpio0 { + line43-hog { + gpio-hog; + gpios = <43 0>; + line-name = "MMC1_CTRL"; + output-low; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso index 391ba84b6d..8b24191f59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2023 PHYTEC America, LLC - * Author: Garrett Giordano - * - * Copyright (C) 2024 PHYTEC America, LLC - * Author: Nathan Morrisson - */ - -/dts-v1/; -/plugin/; - -&i2c_som_rtc { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 PHYTEC America, LLC + * Author: Garrett Giordano + * + * Copyright (C) 2024 PHYTEC America, LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +&i2c_som_rtc { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso index e07ed84ae3..cc0cf269b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2023 PHYTEC America, LLC - * Author: Garrett Giordano - * - * Copyright (C) 2024 PHYTEC America, LLC - * Author: Nathan Morrisson - */ - -/dts-v1/; -/plugin/; - -&serial_flash { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 PHYTEC America, LLC + * Author: Garrett Giordano + * + * Copyright (C) 2024 PHYTEC America, LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +&serial_flash { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-qspi-nor.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-qspi-nor.dtso index 3b62a4d26f..969dfebcd6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-qspi-nor.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-qspi-nor.dtso @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2024 PHYTEC America LLC - * Author: Nathan Morrisson - */ - -/dts-v1/; -/plugin/; - -#include "k3-pinctrl.h" - -&serial_flash { - spi-tx-bus-width = <1>; - spi-rx-bus-width = <4>; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2024 PHYTEC America LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +#include "k3-pinctrl.h" + +&serial_flash { + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/Makefile index e8148c640e..7ccb4664bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-rm-mbrc.dtb -dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-visrobo-vrb.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-rm-mbrc.dtb +dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-visrobo-vrb.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts index e90dbb6021..705369766a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * dts file for Xilinx ZynqMP ZCU102 Rev1.1 - * - * (C) Copyright 2016 - 2020, Xilinx, Inc. - * - * Michal Simek - */ - -#include "zynqmp-zcu102-rev1.0.dts" - -/ { - model = "ZynqMP ZCU102 Rev1.1"; - compatible = "xlnx,zynqmp-zcu102-rev1.1", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU102 Rev1.1 + * + * (C) Copyright 2016 - 2020, Xilinx, Inc. + * + * Michal Simek + */ + +#include "zynqmp-zcu102-rev1.0.dts" + +/ { + model = "ZynqMP ZCU102 Rev1.1"; + compatible = "xlnx,zynqmp-zcu102-rev1.1", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/.gitignore index 170652c2ce..fcf2d731e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -sha256-core.S -sha512-core.S -poly1305-core.S +# SPDX-License-Identifier: GPL-2.0-only +sha256-core.S +sha512-core.S +poly1305-core.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/aes-ce-setkey.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/aes-ce-setkey.h index 004461b744..fd9ecf07d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/aes-ce-setkey.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/aes-ce-setkey.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, - unsigned int key_len); -int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, - unsigned int key_len); +/* SPDX-License-Identifier: GPL-2.0 */ + +int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, + unsigned int key_len); +int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, + unsigned int key_len); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/arm-cci.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/arm-cci.h index c696fd3741..6d4abbd0cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/arm-cci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/arm-cci.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm64/include/asm/arm-cci.h - * - * Copyright (C) 2015 ARM Ltd. - */ - -#ifndef __ASM_ARM_CCI_H -#define __ASM_ARM_CCI_H - -static inline bool platform_has_secure_cci_access(void) -{ - return false; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm64/include/asm/arm-cci.h + * + * Copyright (C) 2015 ARM Ltd. + */ + +#ifndef __ASM_ARM_CCI_H +#define __ASM_ARM_CCI_H + +static inline bool platform_has_secure_cci_access(void) +{ + return false; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/clocksource.h index bb6367c00a..482185566b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_CLOCKSOURCE_H -#define _ASM_CLOCKSOURCE_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_CLOCKSOURCE_H +#define _ASM_CLOCKSOURCE_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/crash_reserve.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/crash_reserve.h index 668d8259a9..4afe027a4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/crash_reserve.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/crash_reserve.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ARM64_CRASH_RESERVE_H -#define _ARM64_CRASH_RESERVE_H - -/* Current arm64 boot protocol requires 2MB alignment */ -#define CRASH_ALIGN SZ_2M - -#define CRASH_ADDR_LOW_MAX arm64_dma_phys_limit -#define CRASH_ADDR_HIGH_MAX (PHYS_MASK + 1) -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ARM64_CRASH_RESERVE_H +#define _ARM64_CRASH_RESERVE_H + +/* Current arm64 boot protocol requires 2MB alignment */ +#define CRASH_ALIGN SZ_2M + +#define CRASH_ADDR_LOW_MAX arm64_dma_phys_limit +#define CRASH_ADDR_HIGH_MAX (PHYS_MASK + 1) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/device.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/device.h index ee51dc15fb..9964987513 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/device.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/device.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_DEVICE_H -#define __ASM_DEVICE_H - -struct dev_archdata { -}; - -struct pdev_archdata { -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_DEVICE_H +#define __ASM_DEVICE_H + +struct dev_archdata { +}; + +struct pdev_archdata { +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/exec.h index 61c2a4861f..9a1c22ce66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/exec.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/include/asm/exec.h - * - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_EXEC_H -#define __ASM_EXEC_H - -#include - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* __ASM_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/include/asm/exec.h + * + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_EXEC_H +#define __ASM_EXEC_H + +#include + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* __ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/fpu.h index 4c78bd2400..2ae50bdce5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/fpu.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 SiFive - */ - -#ifndef __ASM_FPU_H -#define __ASM_FPU_H - -#include - -#define kernel_fpu_available() cpu_has_neon() -#define kernel_fpu_begin() kernel_neon_begin() -#define kernel_fpu_end() kernel_neon_end() - -#endif /* ! __ASM_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 SiFive + */ + +#ifndef __ASM_FPU_H +#define __ASM_FPU_H + +#include + +#define kernel_fpu_available() cpu_has_neon() +#define kernel_fpu_begin() kernel_neon_begin() +#define kernel_fpu_end() kernel_neon_end() + +#endif /* ! __ASM_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq_work.h index a1354a1c56..a1020285ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq_work.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IRQ_WORK_H -#define __ASM_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return true; -} - -#endif /* __ASM_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IRQ_WORK_H +#define __ASM_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return true; +} + +#endif /* __ASM_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_types.h index c9b49c709c..9a126b9e2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_types.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM64_KVM_TYPES_H -#define _ASM_ARM64_KVM_TYPES_H - -#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 - -#endif /* _ASM_ARM64_KVM_TYPES_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM64_KVM_TYPES_H +#define _ASM_ARM64_KVM_TYPES_H + +#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 + +#endif /* _ASM_ARM64_KVM_TYPES_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/numa.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/numa.h index c6930c8401..8c8cf4297c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/numa.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/numa.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_NUMA_H -#define __ASM_NUMA_H - -#include -#include - -#endif /* __ASM_NUMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_NUMA_H +#define __ASM_NUMA_H + +#include +#include + +#endif /* __ASM_NUMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stack_pointer.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stack_pointer.h index 416ca992b9..8e57c96ad4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stack_pointer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stack_pointer.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_STACK_POINTER_H -#define __ASM_STACK_POINTER_H - -/* - * how to get the current stack pointer from C - */ -register unsigned long current_stack_pointer asm ("sp"); - -#endif /* __ASM_STACK_POINTER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_STACK_POINTER_H +#define __ASM_STACK_POINTER_H + +/* + * how to get the current stack pointer from C + */ +register unsigned long current_stack_pointer asm ("sp"); + +#endif /* __ASM_STACK_POINTER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/timex.h index 6f3fde6706..cf59ce91b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/timex.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_TIMEX_H -#define __ASM_TIMEX_H - -#include - -/* - * Use the current timer as a cycle counter since this is what we use for - * the delay loop. - */ -#define get_cycles() arch_timer_read_counter() - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_TIMEX_H +#define __ASM_TIMEX_H + +#include + +/* + * Use the current timer as a cycle counter since this is what we use for + * the delay loop. + */ +#define get_cycles() arch_timer_read_counter() + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/tlbbatch.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/tlbbatch.h index c62047bb02..fedb0b87b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/tlbbatch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/tlbbatch.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARCH_ARM64_TLBBATCH_H -#define _ARCH_ARM64_TLBBATCH_H - -struct arch_tlbflush_unmap_batch { - /* - * For arm64, HW can do tlb shootdown, so we don't - * need to record cpumask for sending IPI - */ -}; - -#endif /* _ARCH_ARM64_TLBBATCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARCH_ARM64_TLBBATCH_H +#define _ARCH_ARM64_TLBBATCH_H + +struct arch_tlbflush_unmap_batch { + /* + * For arm64, HW can do tlb shootdown, so we don't + * need to record cpumask for sending IPI + */ +}; + +#endif /* _ARCH_ARM64_TLBBATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd32.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd32.h index 11bd03e0bf..e0b1a0b57f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd32.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _UAPI__ASM_ARM_UNISTD_H -#define _UAPI__ASM_ARM_UNISTD_H - -#include - -#define __NR_sync_file_range2 __NR_arm_sync_file_range - -#endif /* _UAPI__ASM_ARM_UNISTD_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _UAPI__ASM_ARM_UNISTD_H +#define _UAPI__ASM_ARM_UNISTD_H + +#include + +#define __NR_sync_file_range2 __NR_arm_sync_file_range + +#endif /* _UAPI__ASM_ARM_UNISTD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/clocksource.h index 56a43c3054..b054d9febf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/clocksource.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSOCLOCKSOURCE_H -#define __ASM_VDSOCLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - /* vdso clocksource for both 32 and 64bit tasks */ \ - VDSO_CLOCKMODE_ARCHTIMER, \ - /* vdso clocksource for 64bit tasks only */ \ - VDSO_CLOCKMODE_ARCHTIMER_NOCOMPAT - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSOCLOCKSOURCE_H +#define __ASM_VDSOCLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + /* vdso clocksource for both 32 and 64bit tasks */ \ + VDSO_CLOCKMODE_ARCHTIMER, \ + /* vdso clocksource for 64bit tasks only */ \ + VDSO_CLOCKMODE_ARCHTIMER_NOCOMPAT + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/processor.h index 12b69fe962..ff830b766a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/processor.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -static inline void cpu_relax(void) -{ - asm volatile("yield" ::: "memory"); -} - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __ASM_VDSO_PROCESSOR_H +#define __ASM_VDSO_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +static inline void cpu_relax(void) +{ + asm volatile("yield" ::: "memory"); +} + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vermagic.h index d75d4e9638..a1eec6a000 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vermagic.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#define MODULE_ARCH_VERMAGIC "aarch64" - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#define MODULE_ARCH_VERMAGIC "aarch64" + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/page.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/page.h index 5a81bb43ed..dffdc77322 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/page.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/page.h @@ -1,7 +1,7 @@ -#include -#include - -static inline bool xen_kernel_unmapped_at_usr(void) -{ - return arm64_kernel_unmapped_at_el0(); -} +#include +#include + +static inline bool xen_kernel_unmapped_at_usr(void) +{ + return arm64_kernel_unmapped_at_el0(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/Kbuild index 38e9d5f814..c6d141d7b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_64.h - -generic-y += kvm_para.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_64.h + +generic-y += kvm_para.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bpf_perf_event.h index a18f2fef86..5e1e648aee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_BPF_PERF_EVENT_H__ - -#include - -typedef struct user_pt_regs bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ + +#include + +typedef struct user_pt_regs bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/posix_types.h index 5251201103..b1c2e0df92 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/posix_types.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_POSIX_TYPES_H -#define __ASM_POSIX_TYPES_H - -typedef unsigned short __kernel_old_uid_t; -typedef unsigned short __kernel_old_gid_t; -#define __kernel_old_uid_t __kernel_old_uid_t - -#include - -#endif /* __ASM_POSIX_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_POSIX_TYPES_H +#define __ASM_POSIX_TYPES_H + +typedef unsigned short __kernel_old_uid_t; +typedef unsigned short __kernel_old_gid_t; +#define __kernel_old_uid_t __kernel_old_uid_t + +#include + +#endif /* __ASM_POSIX_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/unistd.h index 842c00b2fa..df36f23876 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/unistd.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/Makefile.syscalls index 7fe44456ff..0542a71887 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/Makefile.syscalls @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += -syscall_abis_64 += renameat rlimit memfd_secret - -syscalltbl = arch/arm64/tools/syscall_%.tbl +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += +syscall_abis_64 += renameat rlimit memfd_secret + +syscalltbl = arch/arm64/tools/syscall_%.tbl diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/Makefile index d4634a1e41..8e4be92e25 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o \ - kprobes_trampoline.o \ - simulate-insn.o -obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o \ - simulate-insn.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o \ + kprobes_trampoline.o \ + simulate-insn.o +obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o \ + simulate-insn.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/Makefile index e0f54fdfed..d61e44642f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for Kernel-based Virtual Machine module, HYP part -# - -incdir := $(src)/include -subdir-asflags-y := -I$(incdir) -subdir-ccflags-y := -I$(incdir) - -obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for Kernel-based Virtual Machine module, HYP part +# + +incdir := $(src)/include +subdir-asflags-y := -I$(incdir) +subdir-ccflags-y := -I$(incdir) + +obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/hyp-constants.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/hyp-constants.c index bd452599d3..b257a3b4bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/hyp-constants.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/hyp-constants.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include -#include - -int main(void) -{ - DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); - DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm)); - DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu)); - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include +#include + +int main(void) +{ + DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); + DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm)); + DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu)); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/timer-sr.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/timer-sr.c index d52504cbe6..4cda674a8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/timer-sr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/timer-sr.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012-2015 - ARM Ltd - * Author: Marc Zyngier - */ - -#include - -void __kvm_timer_set_cntvoff(u64 cntvoff) -{ - write_sysreg(cntvoff, cntvoff_el2); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012-2015 - ARM Ltd + * Author: Marc Zyngier + */ + +#include + +void __kvm_timer_set_cntvoff(u64 cntvoff) +{ + write_sysreg(cntvoff, cntvoff_el2); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/trace.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/trace.h index 203335805f..86f9ea47be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/trace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/trace.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TRACE_ARM64_KVM_H -#define _TRACE_ARM64_KVM_H - -#include "trace_arm.h" -#include "trace_handle_exit.h" - -#endif /* _TRACE_ARM64_KVM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TRACE_ARM64_KVM_H +#define _TRACE_ARM64_KVM_H + +#include "trace_arm.h" +#include "trace_handle_exit.h" + +#endif /* _TRACE_ARM64_KVM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/net/Makefile index a1b181b42e..5c540efb7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/net/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# ARM64 networking code -# -obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o +# SPDX-License-Identifier: GPL-2.0-only +# +# ARM64 networking code +# +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/xen/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/xen/Makefile index 60a4bd47da..b66215e865 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/xen/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/xen/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o) -obj-y := xen-arm.o hypercall.o +# SPDX-License-Identifier: GPL-2.0-only +xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o) +obj-y := xen-arm.o hypercall.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/csky/Kbuild index 2c50c07f9f..0621eaea41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += kernel/ mm/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ mm/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/Kconfig.platforms b/image/debian/UFI003_MB_V02/kernel/arch/csky/Kconfig.platforms index b861cd0a7c..639e17f4ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/Kconfig.platforms +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/Kconfig.platforms @@ -1,9 +1,9 @@ -menu "Platform drivers selection" - -config ARCH_CSKY_DW_APB_ICTL - bool "Select dw-apb interrupt controller" - select DW_APB_ICTL - default y - help - This enables support for snps dw-apb-ictl -endmenu +menu "Platform drivers selection" + +config ARCH_CSKY_DW_APB_ICTL + bool "Select dw-apb interrupt controller" + select DW_APB_ICTL + default y + help + This enables support for snps dw-apb-ictl +endmenu diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/Makefile index 7f82c03cae..a4b2ade0fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_CPU_NEED_SOFTALIGN) += alignment.o -obj-y += bswapdi.o -obj-y += bswapsi.o -obj-y += cacheflush.o -obj-y += mmap.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_CPU_NEED_SOFTALIGN) += alignment.o +obj-y += bswapdi.o +obj-y += bswapsi.o +obj-y += cacheflush.o +obj-y += mmap.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapdi.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapdi.c index d1af90ad56..f50a1d6e33 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapdi.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapdi.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include - -unsigned long long notrace __bswapdi2(unsigned long long u) -{ - return ___constant_swab64(u); -} -EXPORT_SYMBOL(__bswapdi2); +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include + +unsigned long long notrace __bswapdi2(unsigned long long u) +{ + return ___constant_swab64(u); +} +EXPORT_SYMBOL(__bswapdi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapsi.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapsi.c index 258ae6b66b..0f79182e8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapsi.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/bswapsi.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include - -unsigned int notrace __bswapsi2(unsigned int u) -{ - return ___constant_swab32(u); -} -EXPORT_SYMBOL(__bswapsi2); +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include + +unsigned int notrace __bswapsi2(unsigned int u) +{ + return ___constant_swab32(u); +} +EXPORT_SYMBOL(__bswapsi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/switch_context.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/switch_context.h index 193b25de5c..ec73fd7c9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/switch_context.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/switch_context.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_PTRACE_H -#define __ABI_CSKY_PTRACE_H - -struct switch_stack { - unsigned long r8; - unsigned long r9; - unsigned long r10; - unsigned long r11; - unsigned long r12; - unsigned long r13; - unsigned long r14; - unsigned long r15; -}; -#endif /* __ABI_CSKY_PTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_PTRACE_H +#define __ABI_CSKY_PTRACE_H + +struct switch_stack { + unsigned long r8; + unsigned long r9; + unsigned long r10; + unsigned long r11; + unsigned long r12; + unsigned long r13; + unsigned long r14; + unsigned long r15; +}; +#endif /* __ABI_CSKY_PTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/vdso.h index e367fa3ebf..9e6d0a2fdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/vdso.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_VDSO_H -#define __ABI_CSKY_VDSO_H - -/* movi r1, 127; addi r1, (139 - 127) */ -#define SET_SYSCALL_ID .long 0x20b167f1 - -#endif /* __ABI_CSKY_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_VDSO_H +#define __ABI_CSKY_VDSO_H + +/* movi r1, 127; addi r1, (139 - 127) */ +#define SET_SYSCALL_ID .long 0x20b167f1 + +#endif /* __ABI_CSKY_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/page.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/page.h index 488eab37a9..cf005f13cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/page.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/page.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -static inline void clear_user_page(void *addr, unsigned long vaddr, - struct page *page) -{ - clear_page(addr); -} - -static inline void copy_user_page(void *to, void *from, unsigned long vaddr, - struct page *page) -{ - copy_page(to, from); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +static inline void clear_user_page(void *addr, unsigned long vaddr, + struct page *page) +{ + clear_page(addr); +} + +static inline void copy_user_page(void *to, void *from, unsigned long vaddr, + struct page *page) +{ + copy_page(to, from); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/reg_ops.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/reg_ops.h index 725ac363b7..49ba18a647 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/reg_ops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/reg_ops.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_REG_OPS_H -#define __ABI_REG_OPS_H -#include - -static inline unsigned int mfcr_hint(void) -{ - return mfcr("cr31"); -} - -static inline unsigned int mfcr_ccr2(void) -{ - return mfcr("cr23"); -} -#endif /* __ABI_REG_OPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_REG_OPS_H +#define __ABI_REG_OPS_H +#include + +static inline unsigned int mfcr_hint(void) +{ + return mfcr("cr31"); +} + +static inline unsigned int mfcr_ccr2(void) +{ + return mfcr("cr23"); +} +#endif /* __ABI_REG_OPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/vdso.h index 7842dde24a..40fd10d893 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/vdso.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_VDSO_H -#define __ABI_CSKY_VDSO_H - -/* movi r7, 173 */ -#define SET_SYSCALL_ID .long 0x008bea07 - -#endif /* __ABI_CSKY_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_VDSO_H +#define __ABI_CSKY_VDSO_H + +/* movi r7, 173 */ +#define SET_SYSCALL_ID .long 0x008bea07 + +#endif /* __ABI_CSKY_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/strksyms.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/strksyms.c index e55c1cf00b..8d1fd28c6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/strksyms.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/strksyms.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include - -#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS -EXPORT_SYMBOL(memcpy); -EXPORT_SYMBOL(memset); -EXPORT_SYMBOL(memmove); -#endif -EXPORT_SYMBOL(memcmp); -EXPORT_SYMBOL(strcmp); -EXPORT_SYMBOL(strcpy); -EXPORT_SYMBOL(strlen); +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include + +#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS +EXPORT_SYMBOL(memcpy); +EXPORT_SYMBOL(memset); +EXPORT_SYMBOL(memmove); +#endif +EXPORT_SYMBOL(memcmp); +EXPORT_SYMBOL(strcmp); +EXPORT_SYMBOL(strcpy); +EXPORT_SYMBOL(strlen); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/dts/Makefile index 6d27ce566e..aabffc1912 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/dts/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-y := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) +# SPDX-License-Identifier: GPL-2.0-only +dtb-y := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/Kbuild index e7a926d785..9a9bc65b57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/Kbuild @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y := syscall_table_32.h - -generic-y += asm-offsets.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += qrwlock.h -generic-y += qrwlock_types.h -generic-y += qspinlock.h -generic-y += parport.h -generic-y += user.h -generic-y += vmlinux.lds.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y := syscall_table_32.h + +generic-y += asm-offsets.h +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += qrwlock.h +generic-y += qrwlock_types.h +generic-y += qspinlock.h +generic-y += parport.h +generic-y += user.h +generic-y += vmlinux.lds.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/addrspace.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/addrspace.h index 0530b2f90e..6fc05d4453 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/addrspace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/addrspace.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_ADDRSPACE_H -#define __ASM_CSKY_ADDRSPACE_H - -#define KSEG0 0x80000000ul -#define KSEG0ADDR(a) (((unsigned long)a & 0x1fffffff) | KSEG0) - -#endif /* __ASM_CSKY_ADDRSPACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_ADDRSPACE_H +#define __ASM_CSKY_ADDRSPACE_H + +#define KSEG0 0x80000000ul +#define KSEG0ADDR(a) (((unsigned long)a & 0x1fffffff) | KSEG0) + +#endif /* __ASM_CSKY_ADDRSPACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cacheflush.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cacheflush.h index 26f406dafd..d0f9eafe89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cacheflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cacheflush.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_CACHEFLUSH_H -#define __ASM_CSKY_CACHEFLUSH_H - -#include -#include - -#endif /* __ASM_CSKY_CACHEFLUSH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_CACHEFLUSH_H +#define __ASM_CSKY_CACHEFLUSH_H + +#include +#include + +#endif /* __ASM_CSKY_CACHEFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cachetype.h index f9cf61cbd3..98cbe3af66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cachetype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CSKY_CACHETYPE_H -#define __ASM_CSKY_CACHETYPE_H - -#include - -#define cpu_dcache_is_aliasing() true - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CSKY_CACHETYPE_H +#define __ASM_CSKY_CACHETYPE_H + +#include + +#define cpu_dcache_is_aliasing() true + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/clocksource.h index a98122ad06..54da0e49ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/clocksource.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_VDSO_CSKY_CLOCKSOURCE_H -#define __ASM_VDSO_CSKY_CLOCKSOURCE_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_VDSO_CSKY_CLOCKSOURCE_H +#define __ASM_VDSO_CSKY_CLOCKSOURCE_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/irq_work.h index ffb0e37a71..d39fcc1f53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/irq_work.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_IRQ_WORK_H -#define __ASM_CSKY_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return true; -} - -#endif /* __ASM_CSKY_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_IRQ_WORK_H +#define __ASM_CSKY_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return true; +} + +#endif /* __ASM_CSKY_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/mmu.h index 9ac646a2d8..d78321901d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/mmu.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_MMU_H -#define __ASM_CSKY_MMU_H - -typedef struct { - atomic64_t asid; - void *vdso; - cpumask_t icache_stale_mask; -} mm_context_t; - -#endif /* __ASM_CSKY_MMU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_MMU_H +#define __ASM_CSKY_MMU_H + +typedef struct { + atomic64_t asid; + void *vdso; + cpumask_t icache_stale_mask; +} mm_context_t; + +#endif /* __ASM_CSKY_MMU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/pci.h index 84eca1999f..42724c630d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/pci.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_CSKY_PCI_H -#define __ASM_CSKY_PCI_H - -#include -#include -#include - -#include - -/* Generic PCI */ -#include - -#endif /* __ASM_CSKY_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_CSKY_PCI_H +#define __ASM_CSKY_PCI_H + +#include +#include +#include + +#include + +/* Generic PCI */ +#include + +#endif /* __ASM_CSKY_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/seccomp.h index 3267da117a..d33e758126 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_CSKY -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "csky" - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_CSKY +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "csky" + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/sections.h index 693684e0fd..83e82b7c0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/sections.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_SECTIONS_H -#define __ASM_SECTIONS_H - -#include - -extern char _start[]; - -asmlinkage void csky_start(unsigned int unused, void *dtb_start); - -#endif /* __ASM_SECTIONS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_SECTIONS_H +#define __ASM_SECTIONS_H + +#include + +extern char _start[]; + +asmlinkage void csky_start(unsigned int unused, void *dtb_start); + +#endif /* __ASM_SECTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/shmparam.h index 4c56cdb0f9..2fe6cea0da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/shmparam.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SHMPARAM_H -#define __ASM_CSKY_SHMPARAM_H - -#define SHMLBA (4 * PAGE_SIZE) - -#define __ARCH_FORCE_SHMLBA - -#endif /* __ASM_CSKY_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SHMPARAM_H +#define __ASM_CSKY_SHMPARAM_H + +#define SHMLBA (4 * PAGE_SIZE) + +#define __ARCH_FORCE_SHMLBA + +#endif /* __ASM_CSKY_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock.h index 238da5e720..83a2005341 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SPINLOCK_H -#define __ASM_CSKY_SPINLOCK_H - -#include -#include - -/* See include/linux/spinlock.h */ -#define smp_mb__after_spinlock() smp_mb() - -#endif /* __ASM_CSKY_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SPINLOCK_H +#define __ASM_CSKY_SPINLOCK_H + +#include +#include + +/* See include/linux/spinlock.h */ +#define smp_mb__after_spinlock() smp_mb() + +#endif /* __ASM_CSKY_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock_types.h index da0f4080de..75bdf3af80 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/spinlock_types.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SPINLOCK_TYPES_H -#define __ASM_CSKY_SPINLOCK_TYPES_H - -#include -#include - -#endif /* __ASM_CSKY_SPINLOCK_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SPINLOCK_TYPES_H +#define __ASM_CSKY_SPINLOCK_TYPES_H + +#include +#include + +#endif /* __ASM_CSKY_SPINLOCK_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/string.h index bd1b68d16b..a0d81e9d6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/string.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _CSKY_STRING_MM_H_ -#define _CSKY_STRING_MM_H_ - -#ifndef __ASSEMBLY__ -#include -#include -#include -#endif - -#endif /* _CSKY_STRING_MM_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _CSKY_STRING_MM_H_ +#define _CSKY_STRING_MM_H_ + +#ifndef __ASSEMBLY__ +#include +#include +#include +#endif + +#endif /* _CSKY_STRING_MM_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlb.h index 0761bd4963..702861c688 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlb.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_TLB_H -#define __ASM_CSKY_TLB_H - -#include -#include - -#endif /* __ASM_CSKY_TLB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_TLB_H +#define __ASM_CSKY_TLB_H + +#include +#include + +#endif /* __ASM_CSKY_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/unistd.h index 9ee90470e7..2c2c24de95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/unistd.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_CLONE - -#define NR_syscalls (__NR_syscalls) +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_CLONE + +#define NR_syscalls (__NR_syscalls) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/clocksource.h index a260eea3ba..dfca7b4724 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/clocksource.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_VDSO_CSKY_CLOCKSOURCE_H -#define __ASM_VDSO_CSKY_CLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_ARCHTIMER - -#endif /* __ASM_VDSO_CSKY_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_VDSO_CSKY_CLOCKSOURCE_H +#define __ASM_VDSO_CSKY_CLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_ARCHTIMER + +#endif /* __ASM_VDSO_CSKY_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/processor.h index 20e1c3be32..39a6b561d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/processor.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_VDSO_CSKY_PROCESSOR_H -#define __ASM_VDSO_CSKY_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#define cpu_relax() barrier() - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_CSKY_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_VDSO_CSKY_PROCESSOR_H +#define __ASM_VDSO_CSKY_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#define cpu_relax() barrier() + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_CSKY_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vmalloc.h index 82a6a554d8..43dca6336b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_CSKY_VMALLOC_H -#define _ASM_CSKY_VMALLOC_H - -#endif /* _ASM_CSKY_VMALLOC_H */ +#ifndef _ASM_CSKY_VMALLOC_H +#define _ASM_CSKY_VMALLOC_H + +#endif /* _ASM_CSKY_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/Kbuild index c3638a3b19..2501e82a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h - -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h + +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/byteorder.h index d0a73674f2..1aedd513b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/byteorder.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#ifndef __ASM_CSKY_BYTEORDER_H -#define __ASM_CSKY_BYTEORDER_H - -#include - -#endif /* __ASM_CSKY_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#ifndef __ASM_CSKY_BYTEORDER_H +#define __ASM_CSKY_BYTEORDER_H + +#include + +#endif /* __ASM_CSKY_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/cachectl.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/cachectl.h index c0afec41b3..ed7fad1ea2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/cachectl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/cachectl.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#ifndef __ASM_CSKY_CACHECTL_H -#define __ASM_CSKY_CACHECTL_H - -/* - * See "man cacheflush" - */ -#define ICACHE (1<<0) -#define DCACHE (1<<1) -#define BCACHE (ICACHE|DCACHE) - -#endif /* __ASM_CSKY_CACHECTL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#ifndef __ASM_CSKY_CACHECTL_H +#define __ASM_CSKY_CACHECTL_H + +/* + * See "man cacheflush" + */ +#define ICACHE (1<<0) +#define DCACHE (1<<1) +#define BCACHE (ICACHE|DCACHE) + +#endif /* __ASM_CSKY_CACHECTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/sigcontext.h index 902043c846..859afb6024 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/sigcontext.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#ifndef __ASM_CSKY_SIGCONTEXT_H -#define __ASM_CSKY_SIGCONTEXT_H - -#include - -struct sigcontext { - struct pt_regs sc_pt_regs; - struct user_fp sc_user_fp; -}; - -#endif /* __ASM_CSKY_SIGCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#ifndef __ASM_CSKY_SIGCONTEXT_H +#define __ASM_CSKY_SIGCONTEXT_H + +#include + +struct sigcontext { + struct pt_regs sc_pt_regs; + struct user_fp sc_user_fp; +}; + +#endif /* __ASM_CSKY_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/unistd.h index d9996c1a0b..44882179a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/unistd.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#include - -#define __NR_sync_file_range2 84 -#undef __NR_sync_file_range +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#include + +#define __NR_sync_file_range2 84 +#undef __NR_sync_file_range diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile.syscalls index 1d0c8c68b2..3df3b5822f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile.syscalls @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += csky time32 stat64 rlimit - +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += csky time32 stat64 rlimit + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/irq.c index a9577d594e..fcdaf31562 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/irq.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include -#include -#include -#include - -void __init init_IRQ(void) -{ - irqchip_init(); -#ifdef CONFIG_SMP - setup_smp_ipi(); -#endif -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include +#include +#include +#include + +void __init init_IRQ(void) +{ + irqchip_init(); +#ifdef CONFIG_SMP + setup_smp_ipi(); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/Makefile index e272fef81f..1c7c6e6cb2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o simulate-insn.o -obj-$(CONFIG_KPROBES) += kprobes_trampoline.o -obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o -obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o - -CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE) +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o simulate-insn.o +obj-$(CONFIG_KPROBES) += kprobes_trampoline.o +obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o +obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o + +CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/kprobes_trampoline.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/kprobes_trampoline.S index 5013cc82cc..ba48ad04a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/kprobes_trampoline.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/kprobes_trampoline.S @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#include - -#include - -ENTRY(__kretprobe_trampoline) - SAVE_REGS_FTRACE - - mov a0, sp /* pt_regs */ - - jbsr trampoline_probe_handler - - /* use the result as the return-address */ - mov lr, a0 - - RESTORE_REGS_FTRACE - rts -ENDPROC(__kretprobe_trampoline) +/* SPDX-License-Identifier: GPL-2.0+ */ + +#include + +#include + +ENTRY(__kretprobe_trampoline) + SAVE_REGS_FTRACE + + mov a0, sp /* pt_regs */ + + jbsr trampoline_probe_handler + + /* use the result as the return-address */ + mov lr, a0 + + RESTORE_REGS_FTRACE + rts +ENDPROC(__kretprobe_trampoline) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/time.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/time.c index cd16c5d36b..52379d866f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/time.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include - -void __init time_init(void) -{ - of_clk_init(NULL); - timer_probe(); -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include + +void __init time_init(void) +{ + of_clk_init(NULL); + timer_probe(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/note.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/note.S index fa717cd261..2a956c9422 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/note.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/rt_sigreturn.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/rt_sigreturn.S index f0aeb88b7a..0a6bd12161 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/rt_sigreturn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/rt_sigreturn.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include -#include - - .text -ENTRY(__vdso_rt_sigreturn) - .cfi_startproc - .cfi_signal_frame - SET_SYSCALL_ID - trap 0 - .cfi_endproc -ENDPROC(__vdso_rt_sigreturn) +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include +#include + + .text +ENTRY(__vdso_rt_sigreturn) + .cfi_startproc + .cfi_signal_frame + SET_SYSCALL_ID + trap 0 + .cfi_endproc +ENDPROC(__vdso_rt_sigreturn) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/so2s.sh b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/so2s.sh old mode 100644 new mode 100755 index f89812149b..69da3d529c --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/so2s.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/so2s.sh @@ -1,5 +1,5 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0+ - -sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_5.10\)*!.global \2\n.set \2,0x\1!' \ -| grep '^\.' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0+ + +sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_5.10\)*!.global \2\n.set \2,0x\1!' \ +| grep '^\.' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vdso.S index f902590193..5162ca0694 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vdso.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso_start, vdso_end - .balign PAGE_SIZE -vdso_start: - .incbin "arch/csky/kernel/vdso/vdso.so" - .balign PAGE_SIZE -vdso_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso_start, vdso_end + .balign PAGE_SIZE +vdso_start: + .incbin "arch/csky/kernel/vdso/vdso.so" + .balign PAGE_SIZE +vdso_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/Makefile index e1076b6d39..d0ce6e2d7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -lib-y := usercopy.o delay.o -obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o -ifneq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y) -lib-y += string.o -endif +# SPDX-License-Identifier: GPL-2.0-only +lib-y := usercopy.o delay.o +obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o +ifneq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y) +lib-y += string.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/error-inject.c index 2b91aa38ae..c15fb36fe0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/error-inject.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - instruction_pointer_set(regs, regs->lr); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + instruction_pointer_set(regs, regs->lr); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/Kbuild index 32e46953c9..8c1a78c8f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/Kbuild @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h - -generic-y += extable.h -generic-y += iomap.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h + +generic-y += extable.h +generic-y += iomap.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/delay.h index 7142dbd092..2f24bbf9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/delay.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_DELAY_H -#define _ASM_DELAY_H - -#include - -extern void __delay(unsigned long cycles); -extern void __udelay(unsigned long usecs); - -#define udelay(usecs) __udelay((usecs)) - -#endif /* _ASM_DELAY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_DELAY_H +#define _ASM_DELAY_H + +#include + +extern void __delay(unsigned long cycles); +extern void __udelay(unsigned long usecs); + +#define udelay(usecs) __udelay((usecs)) + +#endif /* _ASM_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/dma.h index 70a1563946..686ae566a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/dma.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_DMA_H -#define _ASM_DMA_H - -#include - -#define MAX_DMA_CHANNELS 1 -#define MAX_DMA_ADDRESS (PAGE_OFFSET) - -extern size_t hexagon_coherent_pool_size; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_DMA_H +#define _ASM_DMA_H + +#include + +#define MAX_DMA_CHANNELS 1 +#define MAX_DMA_ADDRESS (PAGE_OFFSET) + +extern size_t hexagon_coherent_pool_size; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fpu.h index 3d1440265e..0e135ea8c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fpu.h @@ -1,4 +1,4 @@ -/* - * If the FPU is used inside the kernel, - * kernel_fpu_end() will be defined here. - */ +/* + * If the FPU is used inside the kernel, + * kernel_fpu_end() will be defined here. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/linkage.h index 10a2cb66e6..ebdb581939 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/linkage.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#define __ALIGN .align 4 -#define __ALIGN_STR ".align 4" - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define __ALIGN .align 4 +#define __ALIGN_STR ".align 4" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/perf_event.h index c80d6048c4..81db312b81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_PERF_EVENT_H -#define _ASM_PERF_EVENT_H - -#endif /* _ASM_PERF_EVENT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_PERF_EVENT_H +#define _ASM_PERF_EVENT_H + +#endif /* _ASM_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/suspend.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/suspend.h index e5873a635a..57b1e11522 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/suspend.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/suspend.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_SUSPEND_H -#define _ASM_SUSPEND_H - -static inline int arch_prepare_suspend(void) -{ - return 0; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_SUSPEND_H +#define _ASM_SUSPEND_H + +static inline int arch_prepare_suspend(void) +{ + return 0; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/syscalls.h index 1d93c631a6..40f2d08bec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/syscalls.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -asmlinkage long sys_hexagon_fadvise64_64(int fd, int advice, - u32 a2, u32 a3, u32 a4, u32 a5); +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +asmlinkage long sys_hexagon_fadvise64_64(int fd, int advice, + u32 a2, u32 a3, u32 a4, u32 a5); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/time.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/time.h index ebd66f32b0..7d3d22d472 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/time.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/time.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef ASM_TIME_H -#define ASM_TIME_H - -extern cycles_t pcycle_freq_mhz; -extern cycles_t thread_freq_mhz; -extern cycles_t sleep_clk_freq; - -void setup_percpu_clockdev(void); -void ipi_timer(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef ASM_TIME_H +#define ASM_TIME_H + +extern cycles_t pcycle_freq_mhz; +extern cycles_t thread_freq_mhz; +extern cycles_t sleep_clk_freq; + +void setup_percpu_clockdev(void); +void ipi_timer(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/tlb.h index ce373f892b..2c9390e7ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/tlb.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_TLB_H -#define _ASM_TLB_H - -#include -#include - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_TLB_H +#define _ASM_TLB_H + +#include +#include + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/unistd.h index a7c8143bc1..1f462bade7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/unistd.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_CLONE -#define __ARCH_WANT_SYS_VFORK -#define __ARCH_WANT_SYS_FORK - -#define __ARCH_BROKEN_SYS_CLONE3 - -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_SYS_VFORK +#define __ARCH_WANT_SYS_FORK + +#define __ARCH_BROKEN_SYS_CLONE3 + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vdso.h index bbaca5f117..e8f621f9fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vdso.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * vDSO implementation for Hexagon - * - * Copyright (c) 2011, The Linux Foundation. All rights reserved. - */ - -#ifndef __ASM_VDSO_H -#define __ASM_VDSO_H - -#include - -struct hexagon_vdso { - u32 rt_signal_trampoline[2]; -}; - -#endif /* __ASM_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * vDSO implementation for Hexagon + * + * Copyright (c) 2011, The Linux Foundation. All rights reserved. + */ + +#ifndef __ASM_VDSO_H +#define __ASM_VDSO_H + +#include + +struct hexagon_vdso { + u32 rt_signal_trampoline[2]; +}; + +#endif /* __ASM_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vermagic.h index b8adcd8968..0e8dedc8c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vermagic.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#include - -#define MODULE_ARCH_VERMAGIC __stringify(PROCESSOR_MODEL_NAME) " " - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#include + +#define MODULE_ARCH_VERMAGIC __stringify(PROCESSOR_MODEL_NAME) " " + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vmalloc.h index 012e509c0c..7b04609e52 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_HEXAGON_VMALLOC_H -#define _ASM_HEXAGON_VMALLOC_H - -#endif /* _ASM_HEXAGON_VMALLOC_H */ +#ifndef _ASM_HEXAGON_VMALLOC_H +#define _ASM_HEXAGON_VMALLOC_H + +#endif /* _ASM_HEXAGON_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/Kbuild index c3638a3b19..2501e82a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h - -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h + +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile.syscalls index 5caf10ded3..d2b7c5d44d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile.syscalls @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += hexagon time32 stat64 rlimit renameat +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += hexagon time32 stat64 rlimit renameat diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/Makefile index 3b48cb9459..a64641e89d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for hexagon-specific library files. -# -obj-y = checksum.o io.o memcpy.o memset.o memcpy_likely_aligned.o \ - divsi3.o modsi3.o udivsi3.o umodsi3.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for hexagon-specific library files. +# +obj-y = checksum.o io.o memcpy.o memset.o memcpy_likely_aligned.o \ + divsi3.o modsi3.o udivsi3.o umodsi3.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/mm/Makefile index 4562079344..ba4b04d962 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/mm/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Hexagon memory management subsystem -# - -obj-y := init.o uaccess.o vm_fault.o cache.o -obj-y += copy_to_user.o copy_from_user.o vm_tlb.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Hexagon memory management subsystem +# + +obj-y := init.o uaccess.o vm_fault.o cache.o +obj-y += copy_to_user.o copy_from_user.o vm_tlb.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/Kbuild index 2312e2d04f..bfa21465d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/Kbuild @@ -1,10 +1,10 @@ -obj-y += kernel/ -obj-y += mm/ -obj-y += net/ -obj-y += vdso/ - -obj-$(CONFIG_KVM) += kvm/ -obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ - -# for cleaning -subdir- += boot +obj-y += kernel/ +obj-y += mm/ +obj-y += net/ +obj-y += vdso/ + +obj-$(CONFIG_KVM) += kvm/ +obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/dts/Makefile index cdab5655b0..747d0c3f63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/dts/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only - -dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME)) +# SPDX-License-Identifier: GPL-2.0-only + +dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Kconfig index 47b601afd7..200a6e8b43 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Kconfig @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - -menu "Accelerated Cryptographic Algorithms for CPU (loongarch)" - -config CRYPTO_CRC32_LOONGARCH - tristate "CRC32c and CRC32" - select CRC32 - select CRYPTO_HASH - help - CRC32c and CRC32 CRC algorithms - - Architecture: LoongArch with CRC32 instructions - -endmenu +# SPDX-License-Identifier: GPL-2.0 + +menu "Accelerated Cryptographic Algorithms for CPU (loongarch)" + +config CRYPTO_CRC32_LOONGARCH + tristate "CRC32c and CRC32" + select CRC32 + select CRYPTO_HASH + help + CRC32c and CRC32 CRC algorithms + + Architecture: LoongArch with CRC32 instructions + +endmenu diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Makefile index 45d793d008..d22613d27c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/crypto/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for LoongArch crypto files.. -# - -obj-$(CONFIG_CRYPTO_CRC32_LOONGARCH) += crc32-loongarch.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for LoongArch crypto files.. +# + +obj-$(CONFIG_CRYPTO_CRC32_LOONGARCH) += crc32-loongarch.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/Kbuild index 586858a266..5b5a6c90e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/Kbuild @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_64.h -generated-y += orc_hash.h - -generic-y += mcs_spinlock.h -generic-y += parport.h -generic-y += early_ioremap.h -generic-y += qrwlock.h -generic-y += user.h -generic-y += ioctl.h -generic-y += mmzone.h -generic-y += statfs.h -generic-y += param.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_64.h +generated-y += orc_hash.h + +generic-y += mcs_spinlock.h +generic-y += parport.h +generic-y += early_ioremap.h +generic-y += qrwlock.h +generic-y += user.h +generic-y += ioctl.h +generic-y += mmzone.h +generic-y += statfs.h +generic-y += param.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-offsets.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-offsets.h index eca0e1b68e..d9ad88d293 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-offsets.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#include +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/clocksource.h index 98f449eec8..58e64aa05d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/clocksource.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Author: Huacai Chen - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef __ASM_CLOCKSOURCE_H -#define __ASM_CLOCKSOURCE_H - -#include - -#endif /* __ASM_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Author: Huacai Chen + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef __ASM_CLOCKSOURCE_H +#define __ASM_CLOCKSOURCE_H + +#include + +#endif /* __ASM_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/crash_reserve.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/crash_reserve.h index 7c727d8561..a1d9b84b1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/crash_reserve.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/crash_reserve.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _LOONGARCH_CRASH_RESERVE_H -#define _LOONGARCH_CRASH_RESERVE_H - -#define CRASH_ALIGN SZ_2M - -#define CRASH_ADDR_LOW_MAX SZ_4G -#define CRASH_ADDR_HIGH_MAX memblock_end_of_DRAM() - -extern phys_addr_t memblock_end_of_DRAM(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _LOONGARCH_CRASH_RESERVE_H +#define _LOONGARCH_CRASH_RESERVE_H + +#define CRASH_ALIGN SZ_2M + +#define CRASH_ADDR_LOW_MAX SZ_4G +#define CRASH_ADDR_HIGH_MAX memblock_end_of_DRAM() + +extern phys_addr_t memblock_end_of_DRAM(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dma.h index 9d80fd7967..1a8866319f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dma.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_DMA_H -#define __ASM_DMA_H - -#define MAX_DMA_ADDRESS PAGE_OFFSET -#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_DMA_H +#define __ASM_DMA_H + +#define MAX_DMA_ADDRESS PAGE_OFFSET +#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/entry-common.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/entry-common.h index 228a944008..0fe2a098de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/entry-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/entry-common.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_LOONGARCH_ENTRY_COMMON_H -#define ARCH_LOONGARCH_ENTRY_COMMON_H - -#include -#include - -static inline bool on_thread_stack(void) -{ - return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_LOONGARCH_ENTRY_COMMON_H +#define ARCH_LOONGARCH_ENTRY_COMMON_H + +#include +#include + +static inline bool on_thread_stack(void) +{ + return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/exec.h index 6d4b0b61e8..ba0220812e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/exec.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_EXEC_H -#define _ASM_EXEC_H - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* _ASM_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_EXEC_H +#define _ASM_EXEC_H + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* _ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/idle.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/idle.h index 0b940cb374..f7f2b7dbf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/idle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/idle.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IDLE_H -#define __ASM_IDLE_H - -#include - -extern asmlinkage void __arch_cpu_idle(void); - -#endif /* __ASM_IDLE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IDLE_H +#define __ASM_IDLE_H + +#include + +extern asmlinkage void __arch_cpu_idle(void); + +#endif /* __ASM_IDLE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_work.h index 52cd5edd3e..d63076e916 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_work.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_LOONGARCH_IRQ_WORK_H -#define _ASM_LOONGARCH_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return IS_ENABLED(CONFIG_SMP); -} - -#endif /* _ASM_LOONGARCH_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_LOONGARCH_IRQ_WORK_H +#define _ASM_LOONGARCH_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return IS_ENABLED(CONFIG_SMP); +} + +#endif /* _ASM_LOONGARCH_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kdebug.h index 9e7b10c099..c00ed874bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kdebug.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_LOONGARCH_KDEBUG_H -#define _ASM_LOONGARCH_KDEBUG_H - -#include - -enum die_val { - DIE_OOPS = 1, - DIE_RI, - DIE_FP, - DIE_SIMD, - DIE_TRAP, -}; - -#endif /* _ASM_LOONGARCH_KDEBUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_LOONGARCH_KDEBUG_H +#define _ASM_LOONGARCH_KDEBUG_H + +#include + +enum die_val { + DIE_OOPS = 1, + DIE_RI, + DIE_FP, + DIE_SIMD, + DIE_TRAP, +}; + +#endif /* _ASM_LOONGARCH_KDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kvm_types.h index 7a31f094a3..2fe1d4bdff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/kvm_types.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2023 Loongson Technology Corporation Limited - */ - -#ifndef _ASM_LOONGARCH_KVM_TYPES_H -#define _ASM_LOONGARCH_KVM_TYPES_H - -#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 - -#endif /* _ASM_LOONGARCH_KVM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2023 Loongson Technology Corporation Limited + */ + +#ifndef _ASM_LOONGARCH_KVM_TYPES_H +#define _ASM_LOONGARCH_KVM_TYPES_H + +#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 + +#endif /* _ASM_LOONGARCH_KVM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/mmu.h index 4d670d266c..0cc2d08035 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/mmu.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_MMU_H -#define __ASM_MMU_H - -#include -#include - -typedef struct { - u64 asid[NR_CPUS]; - void *vdso; -} mm_context_t; - -#endif /* __ASM_MMU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_MMU_H +#define __ASM_MMU_H + +#include +#include + +typedef struct { + u64 asid[NR_CPUS]; + void *vdso; +} mm_context_t; + +#endif /* __ASM_MMU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/module.lds.h index ae399dd617..88554f92e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/module.lds.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ -SECTIONS { - . = ALIGN(4); - .got 0 : { BYTE(0) } - .plt 0 : { BYTE(0) } - .plt.idx 0 : { BYTE(0) } - .ftrace_trampoline 0 : { BYTE(0) } -} +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ +SECTIONS { + . = ALIGN(4); + .got 0 : { BYTE(0) } + .plt 0 : { BYTE(0) } + .plt.idx 0 : { BYTE(0) } + .ftrace_trampoline 0 : { BYTE(0) } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/serial.h index 56bc822596..3fb550eb91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/serial.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM__SERIAL_H -#define __ASM__SERIAL_H - -#define BASE_BAUD 0 -#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) - -#endif /* __ASM__SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM__SERIAL_H +#define __ASM__SERIAL_H + +#define BASE_BAUD 0 +#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) + +#endif /* __ASM__SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock.h index 740692d760..7cb3476999 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_SPINLOCK_H -#define _ASM_SPINLOCK_H - -#include -#include -#include - -#endif /* _ASM_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_SPINLOCK_H +#define _ASM_SPINLOCK_H + +#include +#include +#include + +#endif /* _ASM_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock_types.h index 6ea4fd5c5e..7458d036c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/spinlock_types.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_SPINLOCK_TYPES_H -#define _ASM_SPINLOCK_TYPES_H - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_SPINLOCK_TYPES_H +#define _ASM_SPINLOCK_TYPES_H + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/suspend.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/suspend.h index 3200f1987a..4025c9d5d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/suspend.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/suspend.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SUSPEND_H -#define __ASM_SUSPEND_H - -void loongarch_common_suspend(void); -void loongarch_common_resume(void); -void loongarch_suspend_enter(void); -void loongarch_wakeup_start(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SUSPEND_H +#define __ASM_SUSPEND_H + +void loongarch_common_suspend(void); +void loongarch_common_resume(void); +void loongarch_suspend_enter(void); +void loongarch_wakeup_start(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unistd.h index 9deac6fee2..e2c0f3d86c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unistd.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Author: Hanlu Li - * Huacai Chen - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#include - -#define __ARCH_WANT_NEW_STAT -#define __ARCH_WANT_SYS_CLONE - -#define NR_syscalls (__NR_syscalls) +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Author: Hanlu Li + * Huacai Chen + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#include + +#define __ARCH_WANT_NEW_STAT +#define __ARCH_WANT_SYS_CLONE + +#define NR_syscalls (__NR_syscalls) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/clocksource.h index 5b2955cc14..13cd580d40 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/clocksource.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ASM_VDSOCLOCKSOURCE_H -#define __ASM_VDSOCLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_CPU - -#endif /* __ASM_VDSOCLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_VDSOCLOCKSOURCE_H +#define __ASM_VDSOCLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_CPU + +#endif /* __ASM_VDSOCLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/processor.h index 792452004f..ef5770b343 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/processor.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#define cpu_relax() barrier() - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_VDSO_PROCESSOR_H +#define __ASM_VDSO_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#define cpu_relax() barrier() + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vmalloc.h index cb54e9985f..965a0d41ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_LOONGARCH_VMALLOC_H -#define _ASM_LOONGARCH_VMALLOC_H - -#endif /* _ASM_LOONGARCH_VMALLOC_H */ +#ifndef _ASM_LOONGARCH_VMALLOC_H +#define _ASM_LOONGARCH_VMALLOC_H + +#endif /* _ASM_LOONGARCH_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/bpf_perf_event.h index ee651e5de0..eb6e2fd2a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_BPF_PERF_EVENT_H__ - -#include - -typedef struct user_pt_regs bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ + +#include + +typedef struct user_pt_regs bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/signal.h index 76135a236d..992d965aa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/signal.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _UAPI_ASM_SIGNAL_H -#define _UAPI_ASM_SIGNAL_H - -#define MINSIGSTKSZ 4096 -#define SIGSTKSZ 16384 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _UAPI_ASM_SIGNAL_H +#define _UAPI_ASM_SIGNAL_H + +#define MINSIGSTKSZ 4096 +#define SIGSTKSZ 16384 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/unistd.h index b9e89cb2e1..1f01980f9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/unistd.h @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/Makefile.syscalls index 3352806036..ab7d9baa29 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/Makefile.syscalls @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -# No special ABIs on loongarch so far -syscall_abis_64 += +# SPDX-License-Identifier: GPL-2.0 + +# No special ABIs on loongarch so far +syscall_abis_64 += diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/idle.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/idle.c index 188c8f33e6..54b247d8cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/idle.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/idle.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * LoongArch idle loop support. - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#include -#include -#include -#include - -void __cpuidle arch_cpu_idle(void) -{ - __arch_cpu_idle(); - raw_local_irq_disable(); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * LoongArch idle loop support. + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#include +#include +#include +#include + +void __cpuidle arch_cpu_idle(void) +{ + __arch_cpu_idle(); + raw_local_irq_disable(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.h index 20e7225060..3f1c1edf0d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LOONGARCH_RETHOOK_H -#define __LOONGARCH_RETHOOK_H - -unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); -void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LOONGARCH_RETHOOK_H +#define __LOONGARCH_RETHOOK_H + +unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); +void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/error-inject.c index 45d49375aa..afc9e1c7c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/error-inject.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - instruction_pointer_set(regs, regs->regs[1]); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + instruction_pointer_set(regs, regs->regs[1]); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/maccess.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/maccess.c index bfc073b70c..58173842c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/maccess.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/maccess.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) -{ - /* highest bit set means kernel space */ - return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) +{ + /* highest bit set means kernel space */ + return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/net/Makefile index 9755c8aee2..1ec12a0c32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/net/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for arch/loongarch/net -# -# Copyright (C) 2022 Loongson Technology Corporation Limited -# -obj-$(CONFIG_BPF_JIT) += bpf_jit.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for arch/loongarch/net +# +# Copyright (C) 2022 Loongson Technology Corporation Limited +# +obj-$(CONFIG_BPF_JIT) += bpf_jit.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/pci/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/pci/Makefile index c6bfe53009..8101ef3df7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/pci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/pci/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the PCI specific kernel interface routines under Linux. -# - -obj-y += pci.o -obj-$(CONFIG_ACPI) += acpi.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the PCI specific kernel interface routines under Linux. +# + +obj-y += pci.o +obj-$(CONFIG_ACPI) += acpi.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/power/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/power/Makefile index b92afa2982..58151d003e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/power/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/power/Makefile @@ -1,4 +1,4 @@ -obj-y += platform.o - -obj-$(CONFIG_SUSPEND) += suspend.o suspend_asm.o -obj-$(CONFIG_HIBERNATION) += hibernate.o hibernate_asm.o +obj-y += platform.o + +obj-$(CONFIG_SUSPEND) += suspend.o suspend_asm.o +obj-$(CONFIG_HIBERNATION) += hibernate.o hibernate_asm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/elf.S b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/elf.S index 8c325f9f9b..9bb21b9f95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/elf.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/elf.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Author: Huacai Chen - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#include - -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Author: Huacai Chen + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#include + +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetrandom.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetrandom.c index c05f5adb50..d5f258ac4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetrandom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetrandom.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2024 Xi Ruoyao . All Rights Reserved. - */ -#include - -ssize_t __vdso_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) -{ - return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2024 Xi Ruoyao . All Rights Reserved. + */ +#include + +ssize_t __vdso_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) +{ + return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ints.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ints.h index e4746fbcaa..d9cfd0eb9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ints.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ints.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -struct pt_regs; - -asmlinkage void process_int(int vec, struct pt_regs *fp); +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +struct pt_regs; + +asmlinkage void process_int(int vec, struct pt_regs *fp); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/m68328.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/m68328.h index 9a958b56f9..f6047c3168 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/m68328.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/m68328.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -void init_dragen2(char *command, int size); -void init_ucsimm(char *command, int size); -struct rtc_time; -int m68328_hwclk(int set, struct rtc_time *t); +// SPDX-License-Identifier: GPL-2.0 +void init_dragen2(char *command, int size); +void init_ucsimm(char *command, int size); +struct rtc_time; +int m68328_hwclk(int set, struct rtc_time *t); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/Makefile index 269c45f345..d17934237c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/amiga source directory -# - -obj-y := config.o amiints.o cia.o chipram.o amisound.o platform.o - -obj-$(CONFIG_AMIGA_PCMCIA) += pcmcia.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/amiga source directory +# + +obj-y := config.o amiints.o cia.o chipram.o amisound.o platform.o + +obj-$(CONFIG_AMIGA_PCMCIA) += pcmcia.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/amiga.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/amiga.h index 3b6bdbf694..0039278144 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/amiga.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/amiga/amiga.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* amisound.c */ -void amiga_init_sound(void); -void amiga_mksound(unsigned int hz, unsigned int ticks); +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* amisound.c */ +void amiga_init_sound(void); +void amiga_mksound(unsigned int hz, unsigned int ticks); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/Makefile index 9471c607ec..676c74b268 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/apollo source directory -# - -obj-y := config.o dn_ints.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/apollo source directory +# + +obj-y := config.o dn_ints.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/apollo.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/apollo.h index fbb7de2788..1fe9d856df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/apollo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/apollo/apollo.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -/* dn_ints.c */ -void dn_init_IRQ(void); +/* SPDX-License-Identifier: GPL-2.0 */ + +/* dn_ints.c */ +void dn_init_IRQ(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/Makefile index 981765f21d..2e3607f972 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/atari source directory -# - -obj-y := config.o time.o debug.o ataints.o stdma.o \ - atasound.o stram.o - -obj-$(CONFIG_ATARI_KBD_CORE) += atakeyb.o - -obj-$(CONFIG_NVRAM:m=y) += nvram.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/atari source directory +# + +obj-y := config.o time.o debug.o ataints.o stdma.o \ + atasound.o stram.o + +obj-$(CONFIG_ATARI_KBD_CORE) += atakeyb.o + +obj-$(CONFIG_NVRAM:m=y) += nvram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/bvme6000/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/bvme6000/Makefile index 0adced958f..41bd4fad3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/bvme6000/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/bvme6000/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/bvme6000 source directory -# - -obj-y := config.o rtc.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/bvme6000 source directory +# + +obj-y := config.o rtc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/emu/Makefile index 52784dce63..4c16e3e6c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/emu/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/emu source directory -# - -obj-y += natfeat.o - -obj-$(CONFIG_NFBLOCK) += nfblock.o -obj-$(CONFIG_NFCON) += nfcon.o -obj-$(CONFIG_NFETH) += nfeth.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/emu source directory +# + +obj-y += natfeat.o + +obj-$(CONFIG_NFBLOCK) += nfblock.o +obj-$(CONFIG_NFCON) += nfcon.o +obj-$(CONFIG_NFETH) += nfeth.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/Makefile index 184d7850f1..d873761565 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/hp300 source directory -# - -obj-y := config.o time.o reboot.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/hp300 source directory +# + +obj-y := config.o time.o reboot.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/Makefile index 7502e07f0b..00d0621f54 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# -# Makefile for 680x0 Linux 68060 integer/floating point support package - -obj-y := fskeleton.o iskeleton.o os.o +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Makefile for 680x0 Linux 68060 integer/floating point support package + +obj-y := fskeleton.o iskeleton.o os.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/Kbuild index 07bb809978..0dbf9c5c6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += spinlock.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table.h +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += spinlock.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/asm-prototypes.h index deaea637d0..22ccb9c975 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/asm-prototypes.h @@ -1,5 +1,5 @@ -extern int __divsi3(int, int); -extern int __modsi3(int, int); -extern int __mulsi3(int, int); -extern unsigned int __udivsi3(unsigned int, unsigned int); -extern unsigned int __umodsi3(unsigned int, unsigned int); +extern int __divsi3(int, int); +extern int __modsi3(int, int); +extern int __mulsi3(int, int); +extern unsigned int __udivsi3(unsigned int, unsigned int); +extern unsigned int __umodsi3(unsigned int, unsigned int); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cache.h index 9901e8d4f4..9c06458f3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cache.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * include/asm-m68k/cache.h - */ -#ifndef __ARCH_M68K_CACHE_H -#define __ARCH_M68K_CACHE_H - -/* bytes per L1 cache line */ -#define L1_CACHE_SHIFT 4 -#define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT) - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * include/asm-m68k/cache.h + */ +#ifndef __ARCH_M68K_CACHE_H +#define __ARCH_M68K_CACHE_H + +/* bytes per L1 cache line */ +#define L1_CACHE_SHIFT 4 +#define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT) + +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cacheflush.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cacheflush.h index 74fe9386f1..29b8e638b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cacheflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cacheflush.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __uClinux__ -#include -#else -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __uClinux__ +#include +#else +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cachetype.h index b8bd8880d2..7fad5d9ab8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/cachetype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_M68K_CACHETYPE_H -#define __ASM_M68K_CACHETYPE_H - -#include - -#define cpu_dcache_is_aliasing() true - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_M68K_CACHETYPE_H +#define __ASM_M68K_CACHETYPE_H + +#include + +#define cpu_dcache_is_aliasing() true + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/dma.h index 3a07056ff8..1c8d9c5bc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/dma.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_DMA_H -#define _M68K_DMA_H 1 - -/* it's useless on the m68k, but unfortunately needed by the new - bootmem allocator (but this should do it for this) */ -#define MAX_DMA_ADDRESS PAGE_OFFSET - -#endif /* _M68K_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_DMA_H +#define _M68K_DMA_H 1 + +/* it's useless on the m68k, but unfortunately needed by the new + bootmem allocator (but this should do it for this) */ +#define MAX_DMA_ADDRESS PAGE_OFFSET + +#endif /* _M68K_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/flat.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/flat.h index 5207fecb48..46379e08cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/flat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/flat.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * flat.h -- uClinux flat-format executables - */ - -#ifndef __M68KNOMMU_FLAT_H__ -#define __M68KNOMMU_FLAT_H__ - -#include - -#define FLAT_PLAT_INIT(regs) \ - do { \ - if (current->mm) \ - (regs)->d5 = current->mm->start_data; \ - } while (0) - -#endif /* __M68KNOMMU_FLAT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * flat.h -- uClinux flat-format executables + */ + +#ifndef __M68KNOMMU_FLAT_H__ +#define __M68KNOMMU_FLAT_H__ + +#include + +#define FLAT_PLAT_INIT(regs) \ + do { \ + if (current->mm) \ + (regs)->d5 = current->mm->start_data; \ + } while (0) + +#endif /* __M68KNOMMU_FLAT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hp300hw.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hp300hw.h index 3bc0e3d9a8..0909800bee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hp300hw.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hp300hw.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_HP300HW_H -#define _M68K_HP300HW_H - -#include - - -extern unsigned long hp300_model; - -#endif /* _M68K_HP300HW_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_HP300HW_H +#define _M68K_HP300HW_H + +#include + + +extern unsigned long hp300_model; + +#endif /* _M68K_HP300HW_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/io.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/io.h index 7fd4e00cc5..aaeabc65e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/io.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/io.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_IO_H -#define _M68K_IO_H - -#if defined(__uClinux__) || defined(CONFIG_COLDFIRE) -#include -#else -#include -#endif - -#define gf_ioread32 ioread32be -#define gf_iowrite32 iowrite32be - -#include - -#endif /* _M68K_IO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_IO_H +#define _M68K_IO_H + +#if defined(__uClinux__) || defined(CONFIG_COLDFIRE) +#include +#else +#include +#endif + +#define gf_ioread32 ioread32be +#define gf_iowrite32 iowrite32be + +#include + +#endif /* _M68K_IO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mmu.h index bd66d755b6..e00672425b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mmu.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MMU_H -#define __MMU_H - -#ifdef CONFIG_MMU -/* Default "unsigned long" context */ -typedef unsigned long mm_context_t; -#else -#include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MMU_H +#define __MMU_H + +#ifdef CONFIG_MMU +/* Default "unsigned long" context */ +typedef unsigned long mm_context_t; +#else +#include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.lds.h index 23e586c067..fda94fa382 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.lds.h @@ -1,7 +1,7 @@ -SECTIONS { - .m68k_fixup : { - __start_fixup = .; - *(.m68k_fixup) - __stop_fixup = .; - } -} +SECTIONS { + .m68k_fixup : { + __start_fixup = .; + *(.m68k_fixup) + __stop_fixup = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/page_offset.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/page_offset.h index bc7c4bfdaf..11dc3cb8c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/page_offset.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/page_offset.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* This handles the memory map.. */ - -#if defined(CONFIG_RAMBASE) -#define PAGE_OFFSET_RAW CONFIG_RAMBASE -#elif defined(CONFIG_SUN3) -#define PAGE_OFFSET_RAW 0x0E000000 -#else -#define PAGE_OFFSET_RAW 0x00000000 -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* This handles the memory map.. */ + +#if defined(CONFIG_RAMBASE) +#define PAGE_OFFSET_RAW CONFIG_RAMBASE +#elif defined(CONFIG_SUN3) +#define PAGE_OFFSET_RAW 0x0E000000 +#else +#define PAGE_OFFSET_RAW 0x00000000 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pci.h index dec4fbb8de..ccdfa0dc84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pci.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_M68K_PCI_H -#define _ASM_M68K_PCI_H - -#define pcibios_assign_all_busses() 1 - -#define PCIBIOS_MIN_IO 0x00000100 -#define PCIBIOS_MIN_MEM 0x02000000 - -#endif /* _ASM_M68K_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_M68K_PCI_H +#define _ASM_M68K_PCI_H + +#define pcibios_assign_all_busses() 1 + +#define PCIBIOS_MIN_IO 0x00000100 +#define PCIBIOS_MIN_MEM 0x02000000 + +#endif /* _ASM_M68K_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgtable.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgtable.h index af1ca704c9..49fcfd7348 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgtable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgtable.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __M68K_PGTABLE_H -#define __M68K_PGTABLE_H - -#include - -#ifdef __uClinux__ -#include -#else -#include -#endif - -#ifndef __ASSEMBLY__ -extern void paging_init(void); -#endif - -#endif /* __M68K_PGTABLE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __M68K_PGTABLE_H +#define __M68K_PGTABLE_H + +#include + +#ifdef __uClinux__ +#include +#else +#include +#endif + +#ifndef __ASSEMBLY__ +extern void paging_init(void); +#endif + +#endif /* __M68K_PGTABLE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/seccomp.h index 480d7d619d..de8a94e1fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_M68K -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "m68k" - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_M68K +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "m68k" + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/tlb.h index 469dbaa004..3c81f6adfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/tlb.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_TLB_H -#define _M68K_TLB_H - -#include - -#endif /* _M68K_TLB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_TLB_H +#define _M68K_TLB_H + +#include + +#endif /* _M68K_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vmalloc.h index a6c40aa5ca..bc1dca6cf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_M68K_VMALLOC_H -#define _ASM_M68K_VMALLOC_H - -#endif /* _ASM_M68K_VMALLOC_H */ +#ifndef _ASM_M68K_VMALLOC_H +#define _ASM_M68K_VMALLOC_H + +#endif /* _ASM_M68K_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/byteorder.h index fff215d3fd..1fb5732f4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _M68K_BYTEORDER_H -#define _M68K_BYTEORDER_H - -#include - -#endif /* _M68K_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _M68K_BYTEORDER_H +#define _M68K_BYTEORDER_H + +#include + +#endif /* _M68K_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/ioctls.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/ioctls.h index 10f4819719..d92d7c7786 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/ioctls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/ioctls.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ARCH_M68K_IOCTLS_H__ -#define __ARCH_M68K_IOCTLS_H__ - -#define FIOQSIZE 0x545E - -#include - -#endif /* __ARCH_M68K_IOCTLS_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ARCH_M68K_IOCTLS_H__ +#define __ARCH_M68K_IOCTLS_H__ + +#define FIOQSIZE 0x545E + +#include + +#endif /* __ARCH_M68K_IOCTLS_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/param.h index 3b6cd83657..726b2e7ec7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/param.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _M68K_PARAM_H -#define _M68K_PARAM_H - -#ifdef __uClinux__ -#define EXEC_PAGESIZE 4096 -#else -#define EXEC_PAGESIZE 8192 -#endif - -#include - -#endif /* _M68K_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _M68K_PARAM_H +#define _M68K_PARAM_H + +#ifdef __uClinux__ +#define EXEC_PAGESIZE 4096 +#else +#define EXEC_PAGESIZE 8192 +#endif + +#include + +#endif /* _M68K_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/poll.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/poll.h index ea87ab3423..c3e3fcc15e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/poll.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/poll.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __m68k_POLL_H -#define __m68k_POLL_H - -#define POLLWRNORM POLLOUT -#define POLLWRBAND 256 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __m68k_POLL_H +#define __m68k_POLL_H + +#define POLLWRNORM POLLOUT +#define POLLWRBAND 256 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/unistd.h index 1363a003c5..cdbd090d44 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/unistd.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_M68K_UNISTD_H_ -#define _UAPI_ASM_M68K_UNISTD_H_ - -#include - -#endif /* _UAPI_ASM_M68K_UNISTD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_M68K_UNISTD_H_ +#define _UAPI_ASM_M68K_UNISTD_H_ + +#include + +#endif /* _UAPI_ASM_M68K_UNISTD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ints.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ints.h index 83009ecf54..ecac6011c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ints.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ints.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -struct pt_regs; - -asmlinkage void handle_badint(struct pt_regs *regs); +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +struct pt_regs; + +asmlinkage void handle_badint(struct pt_regs *regs); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/process.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/process.h index 65c1649467..d31745f2e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/process.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/process.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -struct pt_regs; - -asmlinkage int m68k_clone(struct pt_regs *regs); -asmlinkage int m68k_clone3(struct pt_regs *regs); +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +struct pt_regs; + +asmlinkage int m68k_clone(struct pt_regs *regs); +asmlinkage int m68k_clone3(struct pt_regs *regs); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ptrace.h index 804792c774..77018037f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/ptrace.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -asmlinkage int syscall_trace_enter(void); -asmlinkage void syscall_trace_leave(void); +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +asmlinkage int syscall_trace_enter(void); +asmlinkage void syscall_trace_leave(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/setup.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/setup.c index ca21004ba5..19a9298262 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/setup.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/setup.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifdef CONFIG_MMU -#include "setup_mm.c" -#else -#include "setup_no.c" -#endif - -#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP) -void (*mach_beep)(unsigned int, unsigned int); -EXPORT_SYMBOL(mach_beep); -#endif +// SPDX-License-Identifier: GPL-2.0 +#ifdef CONFIG_MMU +#include "setup_mm.c" +#else +#include "setup_no.c" +#endif + +#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP) +void (*mach_beep)(unsigned int, unsigned int); +EXPORT_SYMBOL(mach_beep); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/signal.h index 58b35ece96..498d84f828 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/signal.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -asmlinkage void do_notify_resume(struct pt_regs *regs); -asmlinkage void *do_sigreturn(struct pt_regs *regs, struct switch_stack *sw); -asmlinkage void *do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw); +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +asmlinkage void do_notify_resume(struct pt_regs *regs); +asmlinkage void *do_sigreturn(struct pt_regs *regs, struct switch_stack *sw); +asmlinkage void *do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/traps.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/traps.h index 5023fa611f..6414b4a0e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/traps.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/traps.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -struct frame; - -asmlinkage void buserr_c(struct frame *fp); -asmlinkage void fpemu_signal(int signal, int code, void *addr); -asmlinkage void fpsp040_die(void); -asmlinkage void set_esp0(unsigned long ssp); +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +struct frame; + +asmlinkage void buserr_c(struct frame *fp); +asmlinkage void fpemu_signal(int signal, int code, void *addr); +asmlinkage void fpsp040_die(void); +asmlinkage void set_esp0(unsigned long ssp); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/vmlinux.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/vmlinux.lds.S index 36bc35d041..d3d3c305eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/vmlinux.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/vmlinux.lds.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE) -PHDRS -{ - text PT_LOAD FILEHDR PHDRS FLAGS (7); - data PT_LOAD FLAGS (7); -} -#ifdef CONFIG_SUN3 -#include "vmlinux-sun3.lds" -#else -#include "vmlinux-std.lds" -#endif -#else -#include "vmlinux-nommu.lds" -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE) +PHDRS +{ + text PT_LOAD FILEHDR PHDRS FLAGS (7); + data PT_LOAD FLAGS (7); +} +#ifdef CONFIG_SUN3 +#include "vmlinux-sun3.lds" +#else +#include "vmlinux-std.lds" +#endif +#else +#include "vmlinux-nommu.lds" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/lib/Makefile index 631ed83a69..9158688e6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/lib/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 - -# -# Makefile for m68k-specific library files.. -# - -lib-y := muldi3.o memcpy.o memset.o memmove.o - -lib-$(CONFIG_MMU) += uaccess.o -lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += mulsi3.o divsi3.o udivsi3.o -lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += modsi3.o umodsi3.o - -ifndef CONFIG_GENERIC_CSUM -lib-y += checksum.o -endif - +# SPDX-License-Identifier: GPL-2.0 + +# +# Makefile for m68k-specific library files.. +# + +lib-y := muldi3.o memcpy.o memset.o memmove.o + +lib-$(CONFIG_MMU) += uaccess.o +lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += mulsi3.o divsi3.o udivsi3.o +lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += modsi3.o umodsi3.o + +ifndef CONFIG_GENERIC_CSUM +lib-y += checksum.o +endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/Makefile index f11d2fa77b..aa0eae562b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/mac source directory -# - -obj-y := config.o macints.o iop.o via.o oss.o psc.o \ - baboon.o macboing.o misc.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/mac source directory +# + +obj-y := config.o macints.o iop.o via.o oss.o psc.o \ + baboon.o macboing.o misc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/math-emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/math-emu/Makefile index 9dfc151b7e..b520d5355c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/math-emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/math-emu/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -#asflags-y := -DFPU_EMU_DEBUG -#ccflags-y := -DFPU_EMU_DEBUG - -obj-y := fp_entry.o fp_scan.o fp_util.o fp_move.o fp_movem.o \ - fp_cond.o fp_arith.o fp_log.o fp_trig.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# + +#asflags-y := -DFPU_EMU_DEBUG +#ccflags-y := -DFPU_EMU_DEBUG + +obj-y := fp_entry.o fp_scan.o fp_util.o fp_move.o fp_movem.o \ + fp_cond.o fp_arith.o fp_log.o fp_trig.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/Makefile index d503f8eb37..b3adb52533 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux m68k-specific parts of the memory manager. -# - -obj-y := init.o - -obj-$(CONFIG_MMU) += cache.o fault.o -obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o hwtest.o -obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o hwtest.o -obj-$(CONFIG_MMU_COLDFIRE) += kmap.o memory.o mcfmmu.o - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux m68k-specific parts of the memory manager. +# + +obj-y := init.o + +obj-$(CONFIG_MMU) += cache.o fault.o +obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o hwtest.o +obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o hwtest.o +obj-$(CONFIG_MMU_COLDFIRE) += kmap.o memory.o mcfmmu.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/fault.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/fault.h index 7b959f780e..dab14ef7d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/fault.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mm/fault.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -struct pt_regs; - -int do_page_fault(struct pt_regs *regs, unsigned long address, - unsigned long error_code); -int send_fault_sig(struct pt_regs *regs); +/* SPDX-License-Identifier: GPL-2.0 */ + +struct pt_regs; + +int do_page_fault(struct pt_regs *regs, unsigned long address, + unsigned long error_code); +int send_fault_sig(struct pt_regs *regs); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/Makefile index 5c95c1d9c7..d78f6f9fab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/mvme147 source directory -# - -obj-y := config.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/mvme147 source directory +# + +obj-y := config.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/mvme147.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/mvme147.h index 617ac06d3e..140bc98b01 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/mvme147.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme147/mvme147.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -struct console; - -/* config.c */ -void mvme147_scc_write(struct console *co, const char *str, unsigned int count); +/* SPDX-License-Identifier: GPL-2.0-only */ + +struct console; + +/* config.c */ +void mvme147_scc_write(struct console *co, const char *str, unsigned int count); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/Makefile index bce2d66e56..a8a368c2cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/mvme16x source directory -# - -obj-y := config.o rtc.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/mvme16x source directory +# + +obj-y := config.o rtc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/mvme16x.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/mvme16x.h index a3f78a67bf..159c34b700 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/mvme16x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mvme16x/mvme16x.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -struct console; - -/* config.c */ -void mvme16x_cons_write(struct console *co, const char *str, unsigned count); +/* SPDX-License-Identifier: GPL-2.0-only */ + +struct console; + +/* config.c */ +void mvme16x_cons_write(struct console *co, const char *str, unsigned count); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/Makefile index c84450d7a3..4e4dc9104d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/q40 source directory -# - -obj-y := config.o q40ints.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/q40 source directory +# + +obj-y := config.o q40ints.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/q40.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/q40.h index 3c0f8983d3..3146679bde 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/q40.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/q40/q40.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* q40ints.c */ -void q40_init_IRQ(void); -void q40_mksound(unsigned int hz, unsigned int ticks); -void q40_sched_init(void); +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* q40ints.c */ +void q40_init_IRQ(void); +void q40_mksound(unsigned int hz, unsigned int ticks); +void q40_sched_init(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/Makefile index 7c24563181..4e99e17d82 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/sun3 source directory -# - -obj-y := sun3ints.o sun3dvma.o idprom.o - -obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o prom/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/sun3 source directory +# + +obj-y := sun3ints.o sun3dvma.o idprom.o + +obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o prom/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/leds.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/leds.c index 7f22912b45..4bb95318fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/leds.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/leds.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include "sun3.h" - -void sun3_leds(unsigned char byte) -{ - unsigned char dfc; - - GET_DFC(dfc); - SET_DFC(FC_CONTROL); - SET_CONTROL_BYTE(AC_LEDS, byte); - SET_DFC(dfc); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include "sun3.h" + +void sun3_leds(unsigned char byte) +{ + unsigned char dfc; + + GET_DFC(dfc); + SET_DFC(FC_CONTROL); + SET_CONTROL_BYTE(AC_LEDS, byte); + SET_DFC(dfc); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/Makefile index 4c55f7d857..2f8c5912ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for the Sun Boot PROM interface library under -# Linux. -# - -obj-y := init.o console.o printf.o misc.o -#bootstr.o init.o misc.o segment.o console.o printf.o +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for the Sun Boot PROM interface library under +# Linux. +# + +obj-y := init.o console.o printf.o misc.o +#bootstr.o init.o misc.o segment.o console.o printf.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/Makefile index 1b39a92fd5..f36020e9d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/sun3x source directory -# - -obj-y := config.o time.o dvma.o prom.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/sun3x source directory +# + +obj-y := config.o time.o dvma.o prom.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/tools/amiga/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/tools/amiga/Makefile index bb2ffff488..e6425b367c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/tools/amiga/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/tools/amiga/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -CC = m68k-cbm-amigados-gcc -CFLAGS = -Wall -O2 - - -All: dmesg - - -dmesg: dmesg.c - $(CC) $(CFLAGS) -o dmesg dmesg.c -noixemul - +# SPDX-License-Identifier: GPL-2.0 + +CC = m68k-cbm-amigados-gcc +CFLAGS = -Wall -O2 + + +All: dmesg + + +dmesg: dmesg.c + $(CC) $(CFLAGS) -o dmesg dmesg.c -noixemul + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/virt/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/virt/Makefile index 3eb8c1fc15..54b9b28666 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/virt/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/virt/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux arch/m68k/virt source directory -# - -obj-y := config.o ints.o platform.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux arch/m68k/virt source directory +# + +obj-y := config.o ints.o platform.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/Kbuild index bd2d500123..077a0b8e96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/Kbuild @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ -obj-y += mm/ -obj-$(CONFIG_PCI) += pci/ -obj-y += boot/dts/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ +obj-y += mm/ +obj-$(CONFIG_PCI) += pci/ +obj-y += boot/dts/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/Kbuild index 9dc156f650..a055f5dbe0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/Kbuild @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table.h -generic-y += cmpxchg.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += parport.h -generic-y += syscalls.h -generic-y += tlb.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table.h +generic-y += cmpxchg.h +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += parport.h +generic-y += syscalls.h +generic-y += tlb.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/barrier.h index 86ce097ea6..70b0a01778 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/barrier.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. - */ - -#ifndef _ASM_MICROBLAZE_BARRIER_H -#define _ASM_MICROBLAZE_BARRIER_H - -#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory") - -#include - -#endif /* _ASM_MICROBLAZE_BARRIER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. + */ + +#ifndef _ASM_MICROBLAZE_BARRIER_H +#define _ASM_MICROBLAZE_BARRIER_H + +#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory") + +#include + +#endif /* _ASM_MICROBLAZE_BARRIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/dma.h index fbece1fafd..7484c9eb66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/dma.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_DMA_H -#define _ASM_MICROBLAZE_DMA_H - -/* Virtual address corresponding to last available physical memory address. */ -#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1) - -#endif /* _ASM_MICROBLAZE_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_DMA_H +#define _ASM_MICROBLAZE_DMA_H + +/* Virtual address corresponding to last available physical memory address. */ +#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1) + +#endif /* _ASM_MICROBLAZE_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/irq.h index 4e68aea1ce..cb6ab55d1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/irq.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_IRQ_H -#define _ASM_MICROBLAZE_IRQ_H - -#include - -struct pt_regs; -extern void do_IRQ(struct pt_regs *regs); - -#endif /* _ASM_MICROBLAZE_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_IRQ_H +#define _ASM_MICROBLAZE_IRQ_H + +#include + +struct pt_regs; +extern void do_IRQ(struct pt_regs *regs); + +#endif /* _ASM_MICROBLAZE_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/seccomp.h index 99d1528dcc..95cdcabee2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MICROBLAZE_SECCOMP_H -#define _ASM_MICROBLAZE_SECCOMP_H - -#include - -#define __NR_seccomp_sigreturn __NR_sigreturn - -#include - -#endif /* _ASM_MICROBLAZE_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MICROBLAZE_SECCOMP_H +#define _ASM_MICROBLAZE_SECCOMP_H + +#include + +#define __NR_seccomp_sigreturn __NR_sigreturn + +#include + +#endif /* _ASM_MICROBLAZE_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/timex.h index 728443123e..e99cc29cbe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/timex.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_TIMEX_H -#define _ASM_MICROBLAZE_TIMEX_H - -#include - -#define CLOCK_TICK_RATE 1000 /* Timer input freq. */ - -#endif /* _ASM_TIMEX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_TIMEX_H +#define _ASM_MICROBLAZE_TIMEX_H + +#include + +#define CLOCK_TICK_RATE 1000 /* Timer input freq. */ + +#endif /* _ASM_TIMEX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/vmalloc.h index 13e6892fbb..04013a42b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_MICROBLAZE_VMALLOC_H -#define _ASM_MICROBLAZE_VMALLOC_H - -#endif /* _ASM_MICROBLAZE_VMALLOC_H */ +#ifndef _ASM_MICROBLAZE_VMALLOC_H +#define _ASM_MICROBLAZE_VMALLOC_H + +#endif /* _ASM_MICROBLAZE_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/Kbuild index e97f492230..da95c5a030 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_32.h -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_32.h +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/byteorder.h index 0603c9ee7b..7636601694 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/byteorder.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_MICROBLAZE_BYTEORDER_H -#define _ASM_MICROBLAZE_BYTEORDER_H - -#ifdef __MICROBLAZEEL__ -#include -#else -#include -#endif - -#endif /* _ASM_MICROBLAZE_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_MICROBLAZE_BYTEORDER_H +#define _ASM_MICROBLAZE_BYTEORDER_H + +#ifdef __MICROBLAZEEL__ +#include +#else +#include +#endif + +#endif /* _ASM_MICROBLAZE_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/posix_types.h index 0ed5cb3fcc..f3249da691 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/posix_types.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_MICROBLAZE_POSIX_TYPES_H -#define _ASM_MICROBLAZE_POSIX_TYPES_H - -typedef unsigned short __kernel_mode_t; -#define __kernel_mode_t __kernel_mode_t - -#include - -#endif /* _ASM_MICROBLAZE_POSIX_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_MICROBLAZE_POSIX_TYPES_H +#define _ASM_MICROBLAZE_POSIX_TYPES_H + +typedef unsigned short __kernel_mode_t; +#define __kernel_mode_t __kernel_mode_t + +#include + +#endif /* _ASM_MICROBLAZE_POSIX_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/cpu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/cpu/Makefile index e42130d9cc..059afc75a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/cpu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/cpu/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Build the appropriate CPU version support -# - -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_cache.o = -pg -endif - -ccflags-y := -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \ - -DCPU_REV=$(CPU_REV) - -obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o +# SPDX-License-Identifier: GPL-2.0 +# +# Build the appropriate CPU version support +# + +ifdef CONFIG_FUNCTION_TRACER +CFLAGS_REMOVE_cache.o = -pg +endif + +ccflags-y := -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \ + -DCPU_REV=$(CPU_REV) + +obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscall_table.S b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscall_table.S index 2bdd95da28..3bc60a2b15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscall_table.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscall_table.S @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#define __SYSCALL(nr, entry) .long entry -ENTRY(sys_call_table) -#include +/* SPDX-License-Identifier: GPL-2.0 */ + +#define __SYSCALL(nr, entry) .long entry +ENTRY(sys_call_table) +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/Makefile index c69da48528..75edfc110d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile -# - -obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile +# + +obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/pci/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/pci/Makefile index 1e11140e0f..f8267d20e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/pci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/pci/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile -# - -obj-$(CONFIG_PCI) += iomap.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile +# + +obj-$(CONFIG_PCI) += iomap.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Makefile index cbbb5c7c22..fabbc70190 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_MIPS_GPR) += board-gpr.o -obj-$(CONFIG_MIPS_MTX1) += board-mtx1.o -obj-$(CONFIG_MIPS_XXS1500) += board-xxs1500.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_MIPS_GPR) += board-gpr.o +obj-$(CONFIG_MIPS_MTX1) += board-mtx1.o +obj-$(CONFIG_MIPS_XXS1500) += board-xxs1500.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/common/Makefile index 742817bc30..a0e94388dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/common/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright 2000, 2008 MontaVista Software Inc. -# Author: MontaVista Software, Inc. -# -# Makefile for the Alchemy Au1xx0 CPUs, generic files. -# - -obj-y += prom.o time.o clock.o platform.o power.o gpiolib.o \ - setup.o sleeper.o dma.o dbdma.o vss.o irq.o usb.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright 2000, 2008 MontaVista Software Inc. +# Author: MontaVista Software, Inc. +# +# Makefile for the Alchemy Au1xx0 CPUs, generic files. +# + +obj-y += prom.o time.o clock.o platform.o power.o gpiolib.o \ + setup.o sleeper.o dma.o dbdma.o vss.o irq.o usb.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/Makefile index 88e9851611..10a52283f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Alchemy Develboards -# - -obj-y += bcsr.o platform.o db1000.o db1200.o db1300.o db1550.o db1xxx.o -obj-$(CONFIG_PM) += pm.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Alchemy Develboards +# + +obj-y += bcsr.o platform.o db1000.o db1200.o db1300.o db1550.o db1xxx.o +obj-$(CONFIG_PM) += pm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Platform index f294372958..aef098b6f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Platform @@ -1,5 +1,5 @@ -# -# Atheros AR531X/AR231X WiSoC -# -cflags-$(CONFIG_ATH25) += -I$(srctree)/arch/mips/include/asm/mach-ath25 -load-$(CONFIG_ATH25) += 0xffffffff80041000 +# +# Atheros AR531X/AR231X WiSoC +# +cflags-$(CONFIG_ATH25) += -I$(srctree)/arch/mips/include/asm/mach-ath25 +load-$(CONFIG_ATH25) += 0xffffffff80041000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Makefile index 76714817f1..0fb3aaf421 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel -# -# Copyright (C) 2008-2011 Gabor Juhos -# Copyright (C) 2008 Imre Kaloz -# - -obj-y := prom.o setup.o common.o clock.o - -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel +# +# Copyright (C) 2008-2011 Gabor Juhos +# Copyright (C) 2008 Imre Kaloz +# + +obj-y := prom.o setup.o common.o clock.o + +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Platform index 6edc21f87e..57744472ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Platform @@ -1,6 +1,6 @@ -# -# Atheros AR71xx/AR724x/AR913x -# - -cflags-$(CONFIG_ATH79) += -I$(srctree)/arch/mips/include/asm/mach-ath79 -load-$(CONFIG_ATH79) = 0xffffffff80060000 +# +# Atheros AR71xx/AR724x/AR913x +# + +cflags-$(CONFIG_ATH79) += -I$(srctree)/arch/mips/include/asm/mach-ath79 +load-$(CONFIG_ATH79) = 0xffffffff80060000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Makefile index 46232b75ae..c7438a410a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the BCM47XX specific kernel interface routines -# under Linux. -# - -obj-y += irq.o prom.o serial.o setup.o time.o -obj-y += board.o buttons.o leds.o workarounds.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the BCM47XX specific kernel interface routines +# under Linux. +# + +obj-y += irq.o prom.o serial.o setup.o time.o +obj-y += board.o buttons.o leds.o workarounds.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Platform index fdbd6dc74e..fe6daba3f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/Platform @@ -1,6 +1,6 @@ -# -# Broadcom BCM47XX boards -# -cflags-$(CONFIG_BCM47XX) += \ - -I$(srctree)/arch/mips/include/asm/mach-bcm47xx -load-$(CONFIG_BCM47XX) := 0xffffffff80001000 +# +# Broadcom BCM47XX boards +# +cflags-$(CONFIG_BCM47XX) += \ + -I$(srctree)/arch/mips/include/asm/mach-bcm47xx +load-$(CONFIG_BCM47XX) := 0xffffffff80001000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Makefile index b15925a57c..d89651e538 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \ - setup.o timer.o dev-enet.o dev-flash.o dev-pcmcia.o \ - dev-rng.o dev-spi.o dev-hsspi.o dev-uart.o dev-wdt.o \ - dev-usb-usbd.o -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -obj-y += boards/ +# SPDX-License-Identifier: GPL-2.0 +obj-y += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \ + setup.o timer.o dev-enet.o dev-flash.o dev-pcmcia.o \ + dev-rng.o dev-spi.o dev-hsspi.o dev-uart.o dev-wdt.o \ + dev-usb-usbd.o +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +obj-y += boards/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Platform index 926e5cd3ca..882dc40f49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Platform @@ -1,6 +1,6 @@ -# -# Broadcom BCM63XX boards -# -cflags-$(CONFIG_BCM63XX) += \ - -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/ -load-$(CONFIG_BCM63XX) := 0xffffffff80010000 +# +# Broadcom BCM63XX boards +# +cflags-$(CONFIG_BCM63XX) += \ + -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/ +load-$(CONFIG_BCM63XX) := 0xffffffff80010000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Kconfig index f31aa16599..492c3bd005 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -choice - prompt "Board support" - depends on BCM63XX - default BOARD_BCM963XX - -config BOARD_BCM963XX - bool "Generic Broadcom 963xx boards" - select SSB - -endchoice +# SPDX-License-Identifier: GPL-2.0 +choice + prompt "Board support" + depends on BCM63XX + default BOARD_BCM963XX + +config BOARD_BCM963XX + bool "Generic Broadcom 963xx boards" + select SSB + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Makefile index 9f10286396..a74b9c8d0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/boards/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_BOARD_BCM963XX) += board_bcm963xx.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_BOARD_BCM963XX) += board_bcm963xx.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/Platform index dee58699f8..1434ea31ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/Platform @@ -1,6 +1,6 @@ -# -# Broadcom Generic BMIPS kernel -# -cflags-$(CONFIG_BMIPS_GENERIC) += \ - -I$(srctree)/arch/mips/include/asm/mach-bmips/ -load-$(CONFIG_BMIPS_GENERIC) := 0xffffffff80010000 +# +# Broadcom Generic BMIPS kernel +# +cflags-$(CONFIG_BMIPS_GENERIC) += \ + -I$(srctree)/arch/mips/include/asm/mach-bmips/ +load-$(CONFIG_BMIPS_GENERIC) := 0xffffffff80010000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/.gitignore index bc2ec76d4d..1c7adddf2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/.gitignore @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -mkboot -elf2ecoff -vmlinux.* -vmlinuz.* -zImage -zImage.tmp -calc_vmlinuz_load_addr -uImage +# SPDX-License-Identifier: GPL-2.0-only +mkboot +elf2ecoff +vmlinux.* +vmlinuz.* +zImage +zImage.tmp +calc_vmlinuz_load_addr +uImage diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ashldi3.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ashldi3.c index 7bfc3fccfc..f7bf6a7aae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ashldi3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ashldi3.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/ashldi3.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/ashldi3.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/clz_ctz.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/clz_ctz.c index 29e29fe9fe..b4a1b6eb2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/clz_ctz.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/clz_ctz.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/clz_ctz.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../../../lib/clz_ctz.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-alchemy.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-alchemy.c index 8ff8a40844..003967c084 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-alchemy.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-alchemy.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "decompress.h" - -void putc(char c) -{ - alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "decompress.h" + +void putc(char c) +{ + alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-ath79.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-ath79.c index f9e62d64b7..d686820921 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-ath79.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-ath79.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../ath79/early_printk.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../ath79/early_printk.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-prom.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-prom.c index 4a52df6cff..5fa3b99453 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-prom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/uart-prom.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "decompress.h" - -void putc(char c) -{ - prom_putchar(c); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "decompress.h" + +void putc(char c) +{ + prom_putchar(c); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm3368-netgear-cvg834g.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm3368-netgear-cvg834g.dts index fb2cf614cb..d702a843c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm3368-netgear-cvg834g.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm3368-netgear-cvg834g.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm3368.dtsi" - -/ { - compatible = "netgear,cvg834g", "brcm,bcm3368"; - model = "NETGEAR CVG834G"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x02000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm3368.dtsi" + +/ { + compatible = "netgear,cvg834g", "brcm,bcm3368"; + model = "NETGEAR CVG834G"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x02000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts index d55ab03035..f83d95ca05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm6362.dtsi" - -/ { - compatible = "sfr,nb6-ser", "brcm,bcm6362"; - model = "SFR NeufBox 6 (Sercomm)"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm6362.dtsi" + +/ { + compatible = "sfr,nb6-ser", "brcm,bcm6362"; + model = "SFR NeufBox 6 (Sercomm)"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg.dts index 7d84b75efc..7d3f181b89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm3384_zephyr.dtsi" - -/ { - compatible = "brcm,bcm93384wvg", "brcm,bcm3384"; - model = "Broadcom BCM93384WVG"; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; - -&ehci0 { - status = "okay"; -}; - -&ohci0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm3384_zephyr.dtsi" + +/ { + compatible = "brcm,bcm93384wvg", "brcm,bcm3384"; + model = "Broadcom BCM93384WVG"; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; + +&ehci0 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/Makefile index dbca13e377..17aef35f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/img/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/img/Makefile index 53bba57637..ebb47490b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/img/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/img/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += boston.dtb - -dtb-$(CONFIG_FIT_IMAGE_FDT_MARDUK) += pistachio_marduk.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += boston.dtb + +dtb-$(CONFIG_FIT_IMAGE_FDT_MARDUK) += pistachio_marduk.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/gcw0_proto.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/gcw0_proto.dts index 46040de30f..02df22f8ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/gcw0_proto.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/gcw0_proto.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "gcw0.dts" - -/ { - model = "GCW Zero Prototype"; -}; - -&memory { - /* Prototype has only 256 MiB of RAM */ - reg = <0x0 0x10000000>; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "gcw0.dts" + +/ { + model = "GCW Zero Prototype"; +}; + +&memory { + /* Prototype has only 256 MiB of RAM */ + reg = <0x0 0x10000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/lantiq/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/lantiq/Makefile index a661f6f2d3..ae6e3e21eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/lantiq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/lantiq/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dts index e7c63f01fa..e31d2ee65c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "loongson64-2k1000.dtsi" - -/ { - compatible = "loongson,loongson64-2core-2k1000"; -}; - +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "loongson64-2k1000.dtsi" + +/ { + compatible = "loongson,loongson64-2core-2k1000"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/Makefile index 9ee49573af..7cc89968aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Copyright 2023 Mobileye Vision Technologies Ltd. - -dtb-$(CONFIG_MACH_EYEQ5) += eyeq5-epm5.dtb -dtb-$(CONFIG_MACH_EYEQ6H) += eyeq6h-epm6.dtb +# SPDX-License-Identifier: GPL-2.0-only +# Copyright 2023 Mobileye Vision Technologies Ltd. + +dtb-$(CONFIG_MACH_EYEQ5) += eyeq5-epm5.dtb +dtb-$(CONFIG_MACH_EYEQ6H) += eyeq6h-epm6.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/Makefile index e650262837..eeb6b7aae8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_SOC_VCOREIII) += \ - jaguar2_pcb110.dtb \ - jaguar2_pcb111.dtb \ - jaguar2_pcb118.dtb \ - luton_pcb091.dtb \ - ocelot_pcb120.dtb \ - ocelot_pcb123.dtb \ - serval_pcb105.dtb \ - serval_pcb106.dtb - - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_SOC_VCOREIII) += \ + jaguar2_pcb110.dtb \ + jaguar2_pcb111.dtb \ + jaguar2_pcb118.dtb \ + luton_pcb091.dtb \ + ocelot_pcb120.dtb \ + ocelot_pcb123.dtb \ + serval_pcb105.dtb \ + serval_pcb106.dtb + + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/jaguar2_common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/jaguar2_common.dtsi index dfc6a1e669..679ff0d8ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/jaguar2_common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/jaguar2_common.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microsemi Corporation - */ - -#include "jaguar2.dtsi" - -/ { - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; - i2c-sda-hold-time-ns = <300>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microsemi Corporation + */ + +#include "jaguar2.dtsi" + +/ { + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + i2c-sda-hold-time-ns = <300>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb105.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb105.dts index ea2c78cc7f..a1b0012b79 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb105.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb105.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2018 Microsemi Corporation - */ - -/dts-v1/; -#include "serval_common.dtsi" - -/ { - model = "Serval PCB105 Reference Board"; - compatible = "mscc,serval-pcb105", "mscc,serval"; - - aliases { - }; - -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Microsemi Corporation + */ + +/dts-v1/; +#include "serval_common.dtsi" + +/ { + model = "Serval PCB105 Reference Board"; + compatible = "mscc,serval-pcb105", "mscc,serval"; + + aliases { + }; + +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb106.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb106.dts index 23c80fb248..237be7c8da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb106.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/serval_pcb106.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2018 Microsemi Corporation - */ - -/dts-v1/; -#include "serval_common.dtsi" - -/ { - model = "Serval PCB106 Reference Board"; - compatible = "mscc,serval-pcb106", "mscc,serval"; - - aliases { - }; - -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Microsemi Corporation + */ + +/dts-v1/; +#include "serval_common.dtsi" + +/ { + model = "Serval PCB106 Reference Board"; + compatible = "mscc,serval-pcb106", "mscc,serval"; + + aliases { + }; + +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mti/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mti/Makefile index 920f20654f..b5f7426998 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mti/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mti/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_MIPS_MALTA) += malta.dtb -dtb-$(CONFIG_LEGACY_BOARD_SEAD3) += sead3.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_MIPS_MALTA) += malta.dtb +dtb-$(CONFIG_LEGACY_BOARD_SEAD3) += sead3.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ni/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ni/Makefile index 9fca537bdf..93867e1a52 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ni/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ni/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -dtb-$(CONFIG_FIT_IMAGE_FDT_NI169445) += 169445.dtb +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_FIT_IMAGE_FDT_NI169445) += 169445.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/pic32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/pic32/Makefile index 5c44301846..fb57f36324 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/pic32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/pic32/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_DTB_PIC32_MZDA_SK) += pic32mzda_sk.dtb - -dtb-$(CONFIG_DTB_PIC32_NONE) += \ - pic32mzda_sk.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_DTB_PIC32_MZDA_SK) += pic32mzda_sk.dtb + +dtb-$(CONFIG_DTB_PIC32_NONE) += \ + pic32mzda_sk.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/qca/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/qca/Makefile index 069759f39c..6749f77068 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/qca/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/qca/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# All DTBs -dtb-$(CONFIG_ATH79) += ar9132_tl_wr1043nd_v1.dtb -dtb-$(CONFIG_ATH79) += ar9331_dpt_module.dtb -dtb-$(CONFIG_ATH79) += ar9331_dragino_ms14.dtb -dtb-$(CONFIG_ATH79) += ar9331_omega.dtb -dtb-$(CONFIG_ATH79) += ar9331_openembed_som9331_board.dtb -dtb-$(CONFIG_ATH79) += ar9331_tl_mr3020.dtb +# SPDX-License-Identifier: GPL-2.0 +# All DTBs +dtb-$(CONFIG_ATH79) += ar9132_tl_wr1043nd_v1.dtb +dtb-$(CONFIG_ATH79) += ar9331_dpt_module.dtb +dtb-$(CONFIG_ATH79) += ar9331_dragino_ms14.dtb +dtb-$(CONFIG_ATH79) += ar9331_omega.dtb +dtb-$(CONFIG_ATH79) += ar9331_openembed_som9331_board.dtb +dtb-$(CONFIG_ATH79) += ar9331_tl_mr3020.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/mt7620a_eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/mt7620a_eval.dts index f7db32d393..8de8f89f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/mt7620a_eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/mt7620a_eval.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -/include/ "mt7620a.dtsi" - -/ { - compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; - model = "Ralink MT7620A evaluation board"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +/include/ "mt7620a.dtsi" + +/ { + compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; + model = "Ralink MT7620A evaluation board"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x2000000>; + }; + + chosen { + bootargs = "console=ttyS0,57600"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/omega2p.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/omega2p.dts index 6c8ac776a9..5884fd48f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/omega2p.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/omega2p.dts @@ -1,18 +1,18 @@ -/dts-v1/; - -/include/ "mt7628a.dtsi" - -/ { - compatible = "onion,omega2+", "ralink,mt7688a-soc", "ralink,mt7628a-soc"; - model = "Onion Omega2+"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; +/dts-v1/; + +/include/ "mt7628a.dtsi" + +/ { + compatible = "onion,omega2+", "ralink,mt7688a-soc", "ralink,mt7628a-soc"; + model = "Onion Omega2+"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3883_eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3883_eval.dts index d6c0aacfa7..c22bc84df2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3883_eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3883_eval.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -/include/ "rt3883.dtsi" - -/ { - compatible = "ralink,rt3883-eval-board", "ralink,rt3883-soc"; - model = "Ralink RT3883 evaluation board"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +/include/ "rt3883.dtsi" + +/ { + compatible = "ralink,rt3883-eval-board", "ralink,rt3883-soc"; + model = "Ralink RT3883 evaluation board"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x2000000>; + }; + + chosen { + bootargs = "console=ttyS0,57600"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/vocore2.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/vocore2.dts index 3ae9df2480..fa8a5f8f23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/vocore2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/vocore2.dts @@ -1,18 +1,18 @@ -/dts-v1/; - -#include "mt7628a.dtsi" - -/ { - compatible = "vocore,vocore2", "ralink,mt7628a-soc"; - model = "VoCore2"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS2,115200"; - stdout-path = &uart2; - }; -}; +/dts-v1/; + +#include "mt7628a.dtsi" + +/ { + compatible = "vocore,vocore2", "ralink,mt7628a-soc"; + model = "VoCore2"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS2,115200"; + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/Makefile index 0fbeb9b692..d270979876 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-y += cisco_sg220-26.dtb -dtb-y += cameo-rtl9302c-2x-rtl8224-2xge.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-y += cisco_sg220-26.dtb +dtb-y += cameo-rtl9302c-2x-rtl8224-2xge.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/Makefile index 452a967794..69ca00590b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += nexys4ddr.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += nexys4ddr.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/microAptiv.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/microAptiv.dtsi index 1f1160c56b..87b2b1f9a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/microAptiv.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/xilfpga/microAptiv.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -/ { - #address-cells = <1>; - #size-cells = <1>; - compatible = "img,xilfpga"; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - cpu@0 { - device_type = "cpu"; - compatible = "mips,m14Kc"; - clocks = <&ext>; - reg = <0>; - }; - }; - - ext: ext { - compatible = "fixed-clock"; - #clock-cells = <0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "img,xilfpga"; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { + device_type = "cpu"; + compatible = "mips,m14Kc"; + clocks = <&ext>; + reg = <0>; + }; + }; + + ext: ext { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/Makefile index 30ad3572f6..592e05a51a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 - -hostprogs += relocs -relocs-objs += relocs_32.o -relocs-objs += relocs_64.o -relocs-objs += relocs_main.o -PHONY += relocs -relocs: $(obj)/relocs - @: +# SPDX-License-Identifier: GPL-2.0 + +hostprogs += relocs +relocs-objs += relocs_32.o +relocs-objs += relocs_64.o +relocs-objs += relocs_main.o +PHONY += relocs +relocs: $(obj)/relocs + @: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Platform index 4ab760010d..4adef38dea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Platform @@ -1,6 +1,6 @@ -# -# Cavium Octeon -# -cflags-$(CONFIG_CAVIUM_OCTEON_SOC) += \ - -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon -load-$(CONFIG_CAVIUM_OCTEON_SOC) += 0xffffffff81100000 +# +# Cavium Octeon +# +cflags-$(CONFIG_CAVIUM_OCTEON_SOC) += \ + -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon +load-$(CONFIG_CAVIUM_OCTEON_SOC) += 0xffffffff81100000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/crypto/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/crypto/Makefile index 14c3ea148d..db26c73fa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/crypto/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/crypto/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# OCTEON-specific crypto modules. -# - -obj-y += octeon-crypto.o - -obj-$(CONFIG_CRYPTO_MD5_OCTEON) += octeon-md5.o -obj-$(CONFIG_CRYPTO_SHA1_OCTEON) += octeon-sha1.o -obj-$(CONFIG_CRYPTO_SHA256_OCTEON) += octeon-sha256.o -obj-$(CONFIG_CRYPTO_SHA512_OCTEON) += octeon-sha512.o +# SPDX-License-Identifier: GPL-2.0 +# +# OCTEON-specific crypto modules. +# + +obj-y += octeon-crypto.o + +obj-$(CONFIG_CRYPTO_MD5_OCTEON) += octeon-md5.o +obj-$(CONFIG_CRYPTO_SHA1_OCTEON) += octeon-sha1.o +obj-$(CONFIG_CRYPTO_SHA256_OCTEON) += octeon-sha256.o +obj-$(CONFIG_CRYPTO_SHA512_OCTEON) += octeon-sha512.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Makefile index 2c7b634ab6..f0e2c26c83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Cobalt micro systems family specific parts of the kernel -# - -obj-y := buttons.o irq.o lcd.o led.o mtd.o reset.o rtc.o serial.o setup.o time.o - -obj-$(CONFIG_PCI) += pci.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Cobalt micro systems family specific parts of the kernel +# + +obj-y := buttons.o irq.o lcd.o led.o mtd.o reset.o rtc.o serial.o setup.o time.o + +obj-$(CONFIG_PCI) += pci.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Platform index e785d28f61..4254895ad6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/Platform @@ -1,5 +1,5 @@ -# -# Cobalt Server -# -cflags-$(CONFIG_MIPS_COBALT) += -I$(srctree)/arch/mips/include/asm/mach-cobalt -load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000 +# +# Cobalt Server +# +cflags-$(CONFIG_MIPS_COBALT) += -I$(srctree)/arch/mips/include/asm/mach-cobalt +load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r1.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r1.config index b1f19f790e..7c1ea7e7ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r1.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r1.config @@ -1,4 +1,4 @@ -CONFIG_CPU_MIPS64_R1=y -CONFIG_64BIT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y +CONFIG_CPU_MIPS64_R1=y +CONFIG_64BIT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r2.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r2.config index a77fed7a6f..b4d31ae8bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r2.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r2.config @@ -1,5 +1,5 @@ -CONFIG_CPU_MIPS64_R2=y -CONFIG_MIPS_O32_FP64_SUPPORT=y -CONFIG_64BIT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y +CONFIG_CPU_MIPS64_R2=y +CONFIG_MIPS_O32_FP64_SUPPORT=y +CONFIG_64BIT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r6.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r6.config index be70dd269a..63b4e95f30 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r6.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/64r6.config @@ -1,8 +1,8 @@ -CONFIG_CPU_MIPS64_R6=y -CONFIG_64BIT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y - -CONFIG_CPU_HAS_MSA=y -CONFIG_CRYPTO_CRC32_MIPS=y -CONFIG_VIRTUALIZATION=y +CONFIG_CPU_MIPS64_R6=y +CONFIG_64BIT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y + +CONFIG_CPU_HAS_MSA=y +CONFIG_CRYPTO_CRC32_MIPS=y +CONFIG_VIRTUALIZATION=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-litex.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-litex.config index 7cac43fde6..f372d0647b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-litex.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-litex.config @@ -1,8 +1,8 @@ -CONFIG_LITEX_LITEETH=y -CONFIG_SERIAL_LITEUART=y -CONFIG_SERIAL_LITEUART_CONSOLE=y -CONFIG_MMC=y -CONFIG_MMC_LITEX=y -CONFIG_LITEX_SOC_CONTROLLER=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_LITEX_LITEETH=y +CONFIG_SERIAL_LITEUART=y +CONFIG_SERIAL_LITEUART_CONSOLE=y +CONFIG_MMC=y +CONFIG_MMC_LITEX=y +CONFIG_LITEX_SOC_CONTROLLER=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/micro32r2.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/micro32r2.config index aa95cbf1d9..b701fe7aaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/micro32r2.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/micro32r2.config @@ -1,4 +1,4 @@ -CONFIG_CPU_MIPS32_R2=y -CONFIG_CPU_MICROMIPS=y -CONFIG_MIPS_O32_FP64_SUPPORT=y -CONFIG_HIGHMEM=y +CONFIG_CPU_MIPS32_R2=y +CONFIG_CPU_MICROMIPS=y +CONFIG_MIPS_O32_FP64_SUPPORT=y +CONFIG_HIGHMEM=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Makefile index 52ca2af8e1..c9f62f1da3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the DECstation family specific parts of the kernel -# - -obj-y := ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \ - kn02-irq.o kn02xa-berr.o platform.o reset.o setup.o time.o - -obj-$(CONFIG_TC) += tc.o -obj-$(CONFIG_CPU_HAS_WB) += wbflush.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the DECstation family specific parts of the kernel +# + +obj-y := ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \ + kn02-irq.o kn02xa-berr.o platform.o reset.o setup.o time.o + +obj-$(CONFIG_TC) += tc.o +obj-$(CONFIG_CPU_HAS_WB) += wbflush.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Platform index 43da36f7fc..c82391e832 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/Platform @@ -1,7 +1,7 @@ -# -# DECstation family -# -cflags-$(CONFIG_MACH_DECSTATION) += \ - -I$(srctree)/arch/mips/include/asm/mach-dec -libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/ -load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000 +# +# DECstation family +# +cflags-$(CONFIG_MACH_DECSTATION) += \ + -I$(srctree)/arch/mips/include/asm/mach-dec +libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/ +load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/Makefile index 6351abcbc7..2bad875512 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the DECstation prom monitor library routines -# under Linux. -# - -lib-y += init.o memory.o cmdline.o identify.o console.o - -lib-$(CONFIG_CPU_R3000) += locore.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the DECstation prom monitor library routines +# under Linux. +# + +lib-y += init.o memory.o cmdline.o identify.o console.o + +lib-$(CONFIG_CPU_R3000) += locore.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/cfe/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/cfe/Makefile index 44432c2e78..55b77633e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/cfe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/cfe/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Broadcom Common Firmware Environment support -# - -lib-y += cfe_api.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Broadcom Common Firmware Environment support +# + +lib-y += cfe_api.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/lib/Makefile index 92ab2fbde5..cf9634548c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/lib/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for generic prom monitor library routines under Linux. -# - -lib-y += cmdline.o - -lib-$(CONFIG_64BIT) += call_o32.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for generic prom monitor library routines under Linux. +# + +lib-y += cmdline.o + +lib-$(CONFIG_64BIT) += call_o32.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/sni/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/sni/Makefile index 08602e47c0..e5ba8e86b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/sni/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/sni/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the SNI prom monitor routines under Linux. -# - -lib-$(CONFIG_FW_SNIPROM) += sniprom.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the SNI prom monitor routines under Linux. +# + +lib-$(CONFIG_FW_SNIPROM) += sniprom.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/asm-prototypes.h index 60437e7c7c..8e8fc38b09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/asm-prototypes.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include -#include -#include -#include -#include - -extern void clear_page_cpu(void *page); -extern void copy_page_cpu(void *to, void *from); +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include +#include +#include +#include +#include + +extern void clear_page_cpu(void *page); +extern void copy_page_cpu(void *to, void *from); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bmips-spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bmips-spaces.h index bbe1fe0eab..febc4c30a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bmips-spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bmips-spaces.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_BMIPS_SPACES_H -#define __ASM_BMIPS_SPACES_H - -/* Avoid collisions with system base register (SBR) region on BMIPS3300 */ -#define FIXADDR_TOP ((unsigned long)(long)(int)0xff000000) - -#endif /* __ASM_BMIPS_SPACES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_BMIPS_SPACES_H +#define __ASM_BMIPS_SPACES_H + +/* Avoid collisions with system base register (SBR) region on BMIPS3300 */ +#define FIXADDR_TOP ((unsigned long)(long)(int)0xff000000) + +#endif /* __ASM_BMIPS_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cachetype.h index d48dcfec6c..9f4ba2fe11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cachetype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MIPS_CACHETYPE_H -#define __ASM_MIPS_CACHETYPE_H - -#include - -#define cpu_dcache_is_aliasing() cpu_has_dc_aliases - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MIPS_CACHETYPE_H +#define __ASM_MIPS_CACHETYPE_H + +#include + +#define cpu_dcache_is_aliasing() cpu_has_dc_aliases + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/clocksource.h index 6a5129bde7..2f1ebbea3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/clocksource.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2015 Imagination Technologies - * Author: Alex Smith - */ -#ifndef __ASM_CLOCKSOURCE_H -#define __ASM_CLOCKSOURCE_H - -#include - -#endif /* __ASM_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2015 Imagination Technologies + * Author: Alex Smith + */ +#ifndef __ASM_CLOCKSOURCE_H +#define __ASM_CLOCKSOURCE_H + +#include + +#endif /* __ASM_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cmp.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cmp.h index 2fff91b36e..71e20e6cd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cmp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cmp.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_CMP_H -#define _ASM_CMP_H - -/* - * Definitions for CMP multitasking on MIPS cores - */ -struct task_struct; - -#endif /* _ASM_CMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_CMP_H +#define _ASM_CMP_H + +/* + * Definitions for CMP multitasking on MIPS cores + */ +struct task_struct; + +#endif /* _ASM_CMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-direct.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-direct.h index 0dd1b7c159..9a64011831 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-direct.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-direct.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _MIPS_DMA_DIRECT_H -#define _MIPS_DMA_DIRECT_H 1 - -dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); -phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); - -#endif /* _MIPS_DMA_DIRECT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _MIPS_DMA_DIRECT_H +#define _MIPS_DMA_DIRECT_H 1 + +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); + +#endif /* _MIPS_DMA_DIRECT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/ds1287.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/ds1287.h index 6723de2196..51cb61fd4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/ds1287.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/ds1287.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * DS1287 timer functions. - * - * Copyright (C) 2008 Yoichi Yuasa - */ -#ifndef __ASM_DS1287_H -#define __ASM_DS1287_H - -extern int ds1287_timer_state(void); -extern int ds1287_set_base_clock(unsigned int hz); -extern int ds1287_clockevent_init(int irq); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * DS1287 timer functions. + * + * Copyright (C) 2008 Yoichi Yuasa + */ +#ifndef __ASM_DS1287_H +#define __ASM_DS1287_H + +extern int ds1287_timer_state(void); +extern int ds1287_set_base_clock(unsigned int hz); +extern int ds1287_clockevent_init(int irq); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/extable.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/extable.h index 6418a4a05e..78d0ae1560 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/extable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/extable.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_EXTABLE_H -#define _ASM_EXTABLE_H - -struct exception_table_entry -{ - unsigned long insn; - unsigned long nextinsn; -}; - -struct pt_regs; -extern int fixup_exception(struct pt_regs *regs); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_EXTABLE_H +#define _ASM_EXTABLE_H + +struct exception_table_entry +{ + unsigned long insn; + unsigned long nextinsn; +}; + +struct pt_regs; +extern int fixup_exception(struct pt_regs *regs); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kdebug.h index 7f2367ad61..a55a207cfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kdebug.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MIPS_KDEBUG_H -#define _ASM_MIPS_KDEBUG_H - -#include - -enum die_val { - DIE_OOPS = 1, - DIE_FP, - DIE_TRAP, - DIE_RI, - DIE_PAGE_FAULT, - DIE_BREAK, - DIE_SSTEPBP, - DIE_MSAFP, - DIE_UPROBE, - DIE_UPROBE_XOL, -}; - -#endif /* _ASM_MIPS_KDEBUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MIPS_KDEBUG_H +#define _ASM_MIPS_KDEBUG_H + +#include + +enum die_val { + DIE_OOPS = 1, + DIE_FP, + DIE_TRAP, + DIE_RI, + DIE_PAGE_FAULT, + DIE_BREAK, + DIE_SSTEPBP, + DIE_MSAFP, + DIE_UPROBE, + DIE_UPROBE_XOL, +}; + +#endif /* _ASM_MIPS_KDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kvm_types.h index c052d4201f..213754d9ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/kvm_types.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MIPS_KVM_TYPES_H -#define _ASM_MIPS_KVM_TYPES_H - -#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 4 - -#endif /* _ASM_MIPS_KVM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MIPS_KVM_TYPES_H +#define _ASM_MIPS_KVM_TYPES_H + +#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 4 + +#endif /* _ASM_MIPS_KVM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/linkage.h index 69fbec97ab..1829c2b6da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/linkage.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#ifdef __ASSEMBLY__ -#include -#endif - -#define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") -#define SYSCALL_ALIAS(alias, name) \ - asm ( #alias " = " #name "\n\t.globl " #alias) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#ifdef __ASSEMBLY__ +#include +#endif + +#define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") +#define SYSCALL_ALIAS(alias, name) \ + asm ( #alias " = " #name "\n\t.globl " #alias) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1200fb.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1200fb.h index 61bcb16e23..e0e98f06c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1200fb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1200fb.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * platform data for au1200fb driver. - */ - -#ifndef _AU1200FB_PLAT_H_ -#define _AU1200FB_PLAT_H_ - -struct au1200fb_platdata { - int (*panel_index)(void); - int (*panel_init)(void); - int (*panel_shutdown)(void); -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * platform data for au1200fb driver. + */ + +#ifndef _AU1200FB_PLAT_H_ +#define _AU1200FB_PLAT_H_ + +struct au1200fb_platdata { + int (*panel_index)(void); + int (*panel_init)(void); + int (*panel_shutdown)(void); +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550nd.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550nd.h index ea670d706a..d26dc1dadf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550nd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550nd.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * platform data for the Au1550 NAND driver - */ - -#ifndef _AU1550ND_H_ -#define _AU1550ND_H_ - -#include - -struct au1550nd_platdata { - struct mtd_partition *parts; - int num_parts; - int devwidth; /* 0 = 8bit device, 1 = 16bit device */ -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * platform data for the Au1550 NAND driver + */ + +#ifndef _AU1550ND_H_ +#define _AU1550ND_H_ + +#include + +struct au1550nd_platdata { + struct mtd_partition *parts; + int num_parts; + int devwidth; /* 0 = 8bit device, 1 = 16bit device */ +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/prom.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/prom.h index cf67788fb1..c62ee0246d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/prom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/prom.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AU1X00_PROM_H -#define __AU1X00_PROM_H - -extern int prom_argc; -extern char **prom_argv; -extern char **prom_envp; - -extern void prom_init_cmdline(void); -extern char *prom_getenv(char *envname); -extern int prom_get_ethernet_addr(char *ethernet_addr); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __AU1X00_PROM_H +#define __AU1X00_PROM_H + +extern int prom_argc; +extern char **prom_argv; +extern char **prom_envp; + +extern void prom_init_cmdline(void); +extern char *prom_getenv(char *envname); +extern int prom_get_ethernet_addr(char *ethernet_addr); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_board.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_board.h index 5dab95ad33..1d19a726f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_board.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_board.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_BOARD_H_ -#define BCM63XX_BOARD_H_ - -const char *board_get_name(void); - -void board_prom_init(void); - -void board_setup(void); - -int board_register_devices(void); - -#endif /* ! BCM63XX_BOARD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_BOARD_H_ +#define BCM63XX_BOARD_H_ + +const char *board_get_name(void); + +void board_prom_init(void); + +void board_setup(void); + +int board_register_devices(void); + +#endif /* ! BCM63XX_BOARD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h index eca9dc172f..4d5005f2b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __BCM63XX_FLASH_H -#define __BCM63XX_FLASH_H - -enum { - BCM63XX_FLASH_TYPE_PARALLEL, - BCM63XX_FLASH_TYPE_SERIAL, - BCM63XX_FLASH_TYPE_NAND, -}; - -int __init bcm63xx_flash_register(void); - -#endif /* __BCM63XX_FLASH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __BCM63XX_FLASH_H +#define __BCM63XX_FLASH_H + +enum { + BCM63XX_FLASH_TYPE_PARALLEL, + BCM63XX_FLASH_TYPE_SERIAL, + BCM63XX_FLASH_TYPE_NAND, +}; + +int __init bcm63xx_flash_register(void); + +#endif /* __BCM63XX_FLASH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_hsspi.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_hsspi.h index 0d0bd1492c..f93f176c1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_hsspi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_hsspi.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_HSSPI_H -#define BCM63XX_DEV_HSSPI_H - -#include - -int bcm63xx_hsspi_register(void); - -#endif /* BCM63XX_DEV_HSSPI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_HSSPI_H +#define BCM63XX_DEV_HSSPI_H + +#include + +int bcm63xx_hsspi_register(void); + +#endif /* BCM63XX_DEV_HSSPI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pci.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pci.h index 82cdb468fa..1951c125cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pci.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_PCI_H_ -#define BCM63XX_DEV_PCI_H_ - -extern int bcm63xx_pci_enabled; - -#endif /* BCM63XX_DEV_PCI_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_PCI_H_ +#define BCM63XX_DEV_PCI_H_ + +extern int bcm63xx_pci_enabled; + +#endif /* BCM63XX_DEV_PCI_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pcmcia.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pcmcia.h index 131a8a8de5..01674ac58b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pcmcia.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_pcmcia.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_PCMCIA_H_ -#define BCM63XX_DEV_PCMCIA_H_ - -/* - * PCMCIA driver platform data - */ -struct bcm63xx_pcmcia_platform_data { - unsigned int ready_gpio; -}; - -int bcm63xx_pcmcia_register(void); - -#endif /* BCM63XX_DEV_PCMCIA_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_PCMCIA_H_ +#define BCM63XX_DEV_PCMCIA_H_ + +/* + * PCMCIA driver platform data + */ +struct bcm63xx_pcmcia_platform_data { + unsigned int ready_gpio; +}; + +int bcm63xx_pcmcia_register(void); + +#endif /* BCM63XX_DEV_PCMCIA_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h index 91c12aa194..0ab7505223 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_SPI_H -#define BCM63XX_DEV_SPI_H - -#include -#include -#include - -int __init bcm63xx_spi_register(void); - -#endif /* BCM63XX_DEV_SPI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_SPI_H +#define BCM63XX_DEV_SPI_H + +#include +#include +#include + +int __init bcm63xx_spi_register(void); + +#endif /* BCM63XX_DEV_SPI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_uart.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_uart.h index 9e3290cfd6..88f8cf1c70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_uart.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_uart.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_UART_H_ -#define BCM63XX_DEV_UART_H_ - -int bcm63xx_uart_register(unsigned int id); - -#endif /* BCM63XX_DEV_UART_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_UART_H_ +#define BCM63XX_DEV_UART_H_ + +int bcm63xx_uart_register(unsigned int id); + +#endif /* BCM63XX_DEV_UART_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/irq.h index bd596e4945..b016f0615d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/irq.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_BCM63XX_IRQ_H -#define __ASM_MACH_BCM63XX_IRQ_H - -#define NR_IRQS 128 -#define MIPS_CPU_IRQ_BASE 0 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_BCM63XX_IRQ_H +#define __ASM_MACH_BCM63XX_IRQ_H + +#define NR_IRQS 128 +#define MIPS_CPU_IRQ_BASE 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/mach-gt64120.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/mach-gt64120.h index e0012877ad..ddb968a557 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/mach-gt64120.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/mach-gt64120.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2006 Yoichi Yuasa - */ -#ifndef _COBALT_MACH_GT64120_H -#define _COBALT_MACH_GT64120_H - -/* - * Cobalt uses GT64111. GT64111 is almost the same as GT64120. - */ - -#define GT64120_BASE CKSEG1ADDR(GT_DEF_BASE) - -#endif /* _COBALT_MACH_GT64120_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2006 Yoichi Yuasa + */ +#ifndef _COBALT_MACH_GT64120_H +#define _COBALT_MACH_GT64120_H + +/* + * Cobalt uses GT64111. GT64111 is almost the same as GT64120. + */ + +#define GT64120_BASE CKSEG1ADDR(GT_DEF_BASE) + +#endif /* _COBALT_MACH_GT64120_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/kernel-entry-init.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/kernel-entry-init.h index eeaa1c5025..be0472c977 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/kernel-entry-init.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/kernel-entry-init.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_MACH_IP30_KERNEL_ENTRY_H -#define __ASM_MACH_IP30_KERNEL_ENTRY_H - - .macro kernel_entry_setup - .endm - - .macro smp_slave_setup - move gp, a0 - .endm - -#endif /* __ASM_MACH_IP30_KERNEL_ENTRY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_MACH_IP30_KERNEL_ENTRY_H +#define __ASM_MACH_IP30_KERNEL_ENTRY_H + + .macro kernel_entry_setup + .endm + + .macro smp_slave_setup + move gp, a0 + .endm + +#endif /* __ASM_MACH_IP30_KERNEL_ENTRY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/kmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/kmalloc.h index 4173de2989..07a0146ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/kmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/kmalloc.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_IP32_KMALLOC_H -#define __ASM_MACH_IP32_KMALLOC_H - - -#if defined(CONFIG_CPU_R5000) || defined(CONFIG_CPU_RM7000) -#define ARCH_DMA_MINALIGN 32 -#else -#define ARCH_DMA_MINALIGN 128 -#endif - -#endif /* __ASM_MACH_IP32_KMALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_IP32_KMALLOC_H +#define __ASM_MACH_IP32_KMALLOC_H + + +#if defined(CONFIG_CPU_R5000) || defined(CONFIG_CPU_RM7000) +#define ARCH_DMA_MINALIGN 32 +#else +#define ARCH_DMA_MINALIGN 128 +#endif + +#endif /* __ASM_MACH_IP32_KMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/irq.h index d679371040..c14312fb05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/irq.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2011 Thomas Langer - */ - -#ifndef __FALCON_IRQ_H -#define __FALCON_IRQ_H - -#include - -#define NR_IRQS 328 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2011 Thomas Langer + */ + +#ifndef __FALCON_IRQ_H +#define __FALCON_IRQ_H + +#include + +#define NR_IRQS 328 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/lantiq_platform.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/lantiq_platform.h index 84839f1b91..70ebb4d6f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/lantiq_platform.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/lantiq_platform.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 John Crispin - */ - -#ifndef _LANTIQ_PLATFORM_H__ -#define _LANTIQ_PLATFORM_H__ - -#include - -/* struct used to pass info to network drivers */ -struct ltq_eth_data { - struct sockaddr mac; - int mii_mode; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 John Crispin + */ + +#ifndef _LANTIQ_PLATFORM_H__ +#define _LANTIQ_PLATFORM_H__ + +#include + +/* struct used to pass info to network drivers */ +struct ltq_eth_data { + struct sockaddr mac; + int mii_mode; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/irq.h index a2c3611671..2980e7771f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/irq.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 John Crispin - */ - -#ifndef __LANTIQ_IRQ_H -#define __LANTIQ_IRQ_H - -#include - -#define NR_IRQS 256 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 John Crispin + */ + +#ifndef __LANTIQ_IRQ_H +#define __LANTIQ_IRQ_H + +#include + +#define NR_IRQS 256 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/spaces.h index cb48124230..ba4e8e9b61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/spaces.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_LOONGSON2EF_SPACES_H_ -#define __ASM_MACH_LOONGSON2EF_SPACES_H_ - -#if defined(CONFIG_64BIT) -#define CAC_BASE _AC(0x9800000000000000, UL) -#endif /* CONFIG_64BIT */ - -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_LOONGSON2EF_SPACES_H_ +#define __ASM_MACH_LOONGSON2EF_SPACES_H_ + +#if defined(CONFIG_64BIT) +#define CAC_BASE _AC(0x9800000000000000, UL) +#endif /* CONFIG_64BIT */ + +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/workarounds.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/workarounds.h index 8ac0af6978..17b71172a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/workarounds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/workarounds.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_LOONGSON64_WORKAROUNDS_H_ -#define __ASM_MACH_LOONGSON64_WORKAROUNDS_H_ - -#define WORKAROUND_CPUFREQ 0x00000001 -#define WORKAROUND_CPUHOTPLUG 0x00000002 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_LOONGSON64_WORKAROUNDS_H_ +#define __ASM_MACH_LOONGSON64_WORKAROUNDS_H_ + +#define WORKAROUND_CPUFREQ 0x00000001 +#define WORKAROUND_CPUHOTPLUG 0x00000002 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/irq.h index 2993653114..e1bd4298b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/irq.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_MIPS_IRQ_H -#define __ASM_MACH_MIPS_IRQ_H - - -#define NR_IRQS 256 - -#include - -#endif /* __ASM_MACH_MIPS_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_MIPS_IRQ_H +#define __ASM_MACH_MIPS_IRQ_H + + +#define NR_IRQS 256 + +#include + +#endif /* __ASM_MACH_MIPS_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/irq.h index 0e11a1d075..7e260fcb2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/irq.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_N64_IRQ_H -#define __ASM_MACH_N64_IRQ_H - -#define NR_IRQS 8 - -#include - -#endif /* __ASM_MACH_N64_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_N64_IRQ_H +#define __ASM_MACH_N64_IRQ_H + +#define NR_IRQS 8 + +#include + +#endif /* __ASM_MACH_N64_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/kmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/kmalloc.h index 6043006343..e8b8d0b195 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/kmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-n64/kmalloc.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_N64_KMALLOC_H -#define __ASM_MACH_N64_KMALLOC_H - -/* The default of 128 bytes wastes too much, use 32 (the largest cacheline, I) */ -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#endif /* __ASM_MACH_N64_KMALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_N64_KMALLOC_H +#define __ASM_MACH_N64_KMALLOC_H + +/* The default of 128 bytes wastes too much, use 32 (the largest cacheline, I) */ +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#endif /* __ASM_MACH_N64_KMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/irq.h index 2f1f515ead..2262243d19 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/irq.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_RALINK_IRQ_H -#define __ASM_MACH_RALINK_IRQ_H - -#define GIC_NUM_INTRS 64 -#define NR_IRQS 256 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_RALINK_IRQ_H +#define __ASM_MACH_RALINK_IRQ_H + +#define GIC_NUM_INTRS 64 +#define NR_IRQS 256 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/spaces.h index ca4a5ecf0c..a9f0570d0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/spaces.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_RALINK_SPACES_H_ -#define __ASM_MACH_RALINK_SPACES_H_ - -#define PCI_IOBASE mips_io_port_base -#define PCI_IOSIZE SZ_64K -#define IO_SPACE_LIMIT (PCI_IOSIZE - 1) - -#ifdef CONFIG_PCI_DRIVERS_GENERIC -#define pci_remap_iospace pci_remap_iospace -#endif - -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_RALINK_SPACES_H_ +#define __ASM_MACH_RALINK_SPACES_H_ + +#define PCI_IOBASE mips_io_port_base +#define PCI_IOSIZE SZ_64K +#define IO_SPACE_LIMIT (PCI_IOSIZE - 1) + +#ifdef CONFIG_PCI_DRIVERS_GENERIC +#define pci_remap_iospace pci_remap_iospace +#endif + +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/kmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/kmalloc.h index 869411b254..c2a0a6fa48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/kmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/kmalloc.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_TX49XX_KMALLOC_H -#define __ASM_MACH_TX49XX_KMALLOC_H - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#endif /* __ASM_MACH_TX49XX_KMALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_TX49XX_KMALLOC_H +#define __ASM_MACH_TX49XX_KMALLOC_H + +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#endif /* __ASM_MACH_TX49XX_KMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmiowb.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmiowb.h index 55445a284b..cf27752fd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmiowb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmiowb.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MMIOWB_H -#define _ASM_MMIOWB_H - -#include - -#define mmiowb() wmb() - -#include - -#endif /* _ASM_MMIOWB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MMIOWB_H +#define _ASM_MMIOWB_H + +#include + +#define mmiowb() wmb() + +#include + +#endif /* _ASM_MMIOWB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/perf_event.h index 1617234632..0babf6bbbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/perf_event.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/mips/include/asm/perf_event.h - * - * Copyright (C) 2010 MIPS Technologies, Inc. - * Author: Deng-Cheng Zhu - */ - -#ifndef __MIPS_PERF_EVENT_H__ -#define __MIPS_PERF_EVENT_H__ -/* Leave it empty here. The file is required by linux/perf_event.h */ -#endif /* __MIPS_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/mips/include/asm/perf_event.h + * + * Copyright (C) 2010 MIPS Technologies, Inc. + * Author: Deng-Cheng Zhu + */ + +#ifndef __MIPS_PERF_EVENT_H__ +#define __MIPS_PERF_EVENT_H__ +/* Leave it empty here. The file is required by linux/perf_event.h */ +#endif /* __MIPS_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/irq_alloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/irq_alloc.h index 8f7508a100..09b89cecff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/irq_alloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/irq_alloc.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SN_IRQ_ALLOC_H -#define __ASM_SN_IRQ_ALLOC_H - -struct irq_alloc_info { - void *ctrl; - nasid_t nasid; - int pin; -}; - -#endif /* __ASM_SN_IRQ_ALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SN_IRQ_ALLOC_H +#define __ASM_SN_IRQ_ALLOC_H + +struct irq_alloc_info { + void *ctrl; + nasid_t nasid; + int pin; +}; + +#endif /* __ASM_SN_IRQ_ALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock_types.h index ee112bde9e..28fd4b140b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock_types.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SPINLOCK_TYPES_H -#define _ASM_SPINLOCK_TYPES_H - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SPINLOCK_TYPES_H +#define _ASM_SPINLOCK_TYPES_H + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spram.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spram.h index 4f13ac3bc4..9f6a2cb194 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spram.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spram.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _MIPS_SPRAM_H -#define _MIPS_SPRAM_H - -#if defined(CONFIG_MIPS_SPRAM) -extern void spram_config(void); -#else -static inline void spram_config(void) { } -#endif /* CONFIG_MIPS_SPRAM */ - -#endif /* _MIPS_SPRAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _MIPS_SPRAM_H +#define _MIPS_SPRAM_H + +#if defined(CONFIG_MIPS_SPRAM) +extern void spram_config(void); +#else +static inline void spram_config(void) { } +#endif /* CONFIG_MIPS_SPRAM */ + +#endif /* _MIPS_SPRAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbmisc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbmisc.h index 2453a080d9..c1a540669c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbmisc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbmisc.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_TLBMISC_H -#define __ASM_TLBMISC_H - -/* - * - add_wired_entry() add a fixed TLB entry, and move wired register - */ -extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, - unsigned long entryhi, unsigned long pagemask); - -#endif /* __ASM_TLBMISC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_TLBMISC_H +#define __ASM_TLBMISC_H + +/* + * - add_wired_entry() add a fixed TLB entry, and move wired register + */ +extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, + unsigned long entryhi, unsigned long pagemask); + +#endif /* __ASM_TLBMISC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9/boards.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9/boards.h index 42ba40b174..6897ca4366 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9/boards.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9/boards.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_TOSHIBA_RBTX4927 -BOARD_VEC(rbtx4927_vec) -BOARD_VEC(rbtx4937_vec) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_TOSHIBA_RBTX4927 +BOARD_VEC(rbtx4927_vec) +BOARD_VEC(rbtx4937_vec) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/clocksource.h index c305ce53a2..510e1671d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/clocksource.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ASM_VDSOCLOCKSOURCE_H -#define __ASM_VDSOCLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_R4K, \ - VDSO_CLOCKMODE_GIC - -#endif /* __ASM_VDSOCLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_VDSOCLOCKSOURCE_H +#define __ASM_VDSOCLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_R4K, \ + VDSO_CLOCKMODE_GIC + +#endif /* __ASM_VDSOCLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vmalloc.h index 43d6117736..25dc09b25e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_MIPS_VMALLOC_H -#define _ASM_MIPS_VMALLOC_H - -#endif /* _ASM_MIPS_VMALLOC_H */ +#ifndef _ASM_MIPS_VMALLOC_H +#define _ASM_MIPS_VMALLOC_H + +#endif /* _ASM_MIPS_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/Kbuild index 8c231deada..fdb9c5412c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_n32.h -generated-y += unistd_n64.h -generated-y += unistd_o32.h - -generic-y += kvm_para.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_n32.h +generated-y += unistd_n64.h +generated-y += unistd_o32.h + +generic-y += kvm_para.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitsperlong.h index 6462065801..7268380d8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitsperlong.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_MIPS_BITSPERLONG_H -#define __ASM_MIPS_BITSPERLONG_H - -#define __BITS_PER_LONG _MIPS_SZLONG - -#include - -#endif /* __ASM_MIPS_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_MIPS_BITSPERLONG_H +#define __ASM_MIPS_BITSPERLONG_H + +#define __BITS_PER_LONG _MIPS_SZLONG + +#include + +#endif /* __ASM_MIPS_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/poll.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/poll.h index e6ad72aa60..ad289d7b74 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/poll.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/poll.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_POLL_H -#define __ASM_POLL_H - -#define POLLWRNORM POLLOUT -#define POLLWRBAND 0x0100 - -#include - -#endif /* __ASM_POLL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_POLL_H +#define __ASM_POLL_H + +#define POLLWRNORM POLLOUT +#define POLLWRBAND 0x0100 + +#include + +#endif /* __ASM_POLL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/setup.h index 25b828d838..7d48c433b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/setup.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_MIPS_SETUP_H -#define _UAPI_MIPS_SETUP_H - -#define COMMAND_LINE_SIZE 4096 - - -#endif /* _UAPI_MIPS_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_MIPS_SETUP_H +#define _UAPI_MIPS_SETUP_H + +#define COMMAND_LINE_SIZE 4096 + + +#endif /* _UAPI_MIPS_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Makefile index c43a3c1d02..5815e1cb32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Jazz family specific parts of the kernel -# - -obj-y := irq.o jazzdma.o reset.o setup.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Jazz family specific parts of the kernel +# + +obj-y := irq.o jazzdma.o reset.o setup.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Platform index f5c1265bc2..eb0490ae8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/jazz/Platform @@ -1,5 +1,5 @@ -# -# Acer PICA 61, Mips Magnum 4000 and Olivetti M700. -# -cflags-$(CONFIG_MACH_JAZZ) += -I$(srctree)/arch/mips/include/asm/mach-jazz -load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 +# +# Acer PICA 61, Mips Magnum 4000 and Olivetti M700. +# +cflags-$(CONFIG_MACH_JAZZ) += -I$(srctree)/arch/mips/include/asm/mach-jazz +load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Makefile index e976b38baa..e7234ca093 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Copyright (C) 2010 John Crispin -# - -obj-y := irq.o clk.o prom.o - -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ -obj-$(CONFIG_SOC_FALCON) += falcon/ +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (C) 2010 John Crispin +# + +obj-y := irq.o clk.o prom.o + +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ +obj-$(CONFIG_SOC_FALCON) += falcon/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Platform index 6fdc230d40..0bc9c0fbd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Platform @@ -1,8 +1,8 @@ -# -# Lantiq -# - -cflags-$(CONFIG_LANTIQ) += -I$(srctree)/arch/mips/include/asm/mach-lantiq -load-$(CONFIG_LANTIQ) = 0xffffffff80002000 -cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway -cflags-$(CONFIG_SOC_FALCON) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon +# +# Lantiq +# + +cflags-$(CONFIG_LANTIQ) += -I$(srctree)/arch/mips/include/asm/mach-lantiq +load-$(CONFIG_LANTIQ) = 0xffffffff80002000 +cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway +cflags-$(CONFIG_SOC_FALCON) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/falcon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/falcon/Makefile index 88e2dd1744..98da1e031d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/falcon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/falcon/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := prom.o reset.o sysctrl.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := prom.o reset.o sysctrl.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/xway/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/xway/Makefile index bbc6d18007..c0f02dab72 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/xway/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/xway/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o - -obj-y += vmmc.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o + +obj-y += vmmc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapdi.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapdi.c index d3e87e61da..88242dc7de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapdi.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapdi.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -/* To silence -Wmissing-prototypes. */ -unsigned long long __bswapdi2(unsigned long long u); - -unsigned long long notrace __bswapdi2(unsigned long long u) -{ - return ___constant_swab64(u); -} -EXPORT_SYMBOL(__bswapdi2); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +/* To silence -Wmissing-prototypes. */ +unsigned long long __bswapdi2(unsigned long long u); + +unsigned long long notrace __bswapdi2(unsigned long long u) +{ + return ___constant_swab64(u); +} +EXPORT_SYMBOL(__bswapdi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapsi.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapsi.c index c385e82c53..2ed655497d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapsi.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/bswapsi.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -/* To silence -Wmissing-prototypes. */ -unsigned int __bswapsi2(unsigned int u); - -unsigned int notrace __bswapsi2(unsigned int u) -{ - return ___constant_swab32(u); -} -EXPORT_SYMBOL(__bswapsi2); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +/* To silence -Wmissing-prototypes. */ +unsigned int __bswapsi2(unsigned int u); + +unsigned int notrace __bswapsi2(unsigned int u) +{ + return ___constant_swab32(u); +} +EXPORT_SYMBOL(__bswapsi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Makefile index 267daced35..d4af1605cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Common code for all Loongson based systems -# - -obj-$(CONFIG_MACH_LOONGSON2EF) += common/ - -# -# Lemote Fuloong mini-PC (Loongson 2E-based) -# - -obj-$(CONFIG_LEMOTE_FULOONG2E) += fuloong-2e/ - -# -# Lemote loongson2f family machines -# - -obj-$(CONFIG_LEMOTE_MACH2F) += lemote-2f/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Common code for all Loongson based systems +# + +obj-$(CONFIG_MACH_LOONGSON2EF) += common/ + +# +# Lemote Fuloong mini-PC (Loongson 2E-based) +# + +obj-$(CONFIG_LEMOTE_FULOONG2E) += fuloong-2e/ + +# +# Lemote loongson2f family machines +# + +obj-$(CONFIG_LEMOTE_MACH2F) += lemote-2f/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Platform index 3b87a0b016..d446b705fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/Platform @@ -1,12 +1,12 @@ -# -# Loongson Processors' Support -# - -# -# Loongson Machines' Support -# - -cflags-$(CONFIG_MACH_LOONGSON2EF) += -I$(srctree)/arch/mips/include/asm/mach-loongson2ef -cflags-$(CONFIG_CC_HAS_MNO_BRANCH_LIKELY) += -mno-branch-likely -load-$(CONFIG_LEMOTE_FULOONG2E) += 0xffffffff80100000 -load-$(CONFIG_LEMOTE_MACH2F) += 0xffffffff80200000 +# +# Loongson Processors' Support +# + +# +# Loongson Machines' Support +# + +cflags-$(CONFIG_MACH_LOONGSON2EF) += -I$(srctree)/arch/mips/include/asm/mach-loongson2ef +cflags-$(CONFIG_CC_HAS_MNO_BRANCH_LIKELY) += -mno-branch-likely +load-$(CONFIG_LEMOTE_FULOONG2E) += 0xffffffff80100000 +load-$(CONFIG_LEMOTE_MACH2F) += 0xffffffff80200000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/cs5536/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/cs5536/Makefile index af419714ea..b32b296612 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/cs5536/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/cs5536/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for CS5536 support. -# - -obj-$(CONFIG_CS5536) += cs5536_pci.o cs5536_ide.o cs5536_acc.o cs5536_ohci.o \ - cs5536_isa.o cs5536_ehci.o - -# -# Enable cs5536 mfgpt Timer -# -obj-$(CONFIG_CS5536_MFGPT) += cs5536_mfgpt.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for CS5536 support. +# + +obj-$(CONFIG_CS5536) += cs5536_pci.o cs5536_ide.o cs5536_acc.o cs5536_ohci.o \ + cs5536_isa.o cs5536_ehci.o + +# +# Enable cs5536 mfgpt Timer +# +obj-$(CONFIG_CS5536_MFGPT) += cs5536_mfgpt.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/Makefile index ba45a25784..bb58edb3be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Lemote Fuloong2e mini-PC board. -# - -obj-y += irq.o reset.o dma.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Lemote Fuloong2e mini-PC board. +# + +obj-y += irq.o reset.o dma.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/dma.c index af750e8380..cea167d8ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/dma.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ - return paddr | 0x80000000; -} - -phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) -{ - return dma_addr & 0x7fffffff; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) +{ + return paddr | 0x80000000; +} + +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) +{ + return dma_addr & 0x7fffffff; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/Makefile index 833ab00cf6..881a0ec06d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for lemote loongson2f family machines -# - -obj-y += clock.o machtype.o irq.o reset.o dma.o ec_kb3310b.o - -# -# Suspend Support -# - -obj-$(CONFIG_SUSPEND) += pm.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for lemote loongson2f family machines +# + +obj-y += clock.o machtype.o irq.o reset.o dma.o ec_kb3310b.o + +# +# Suspend Support +# + +obj-$(CONFIG_SUSPEND) += pm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/dma.c index e0b6c2bdd9..3c9e994563 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/lemote-2f/dma.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ - return paddr | 0x80000000; -} - -phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) -{ - if (dma_addr > 0x8fffffff) - return dma_addr; - return dma_addr & 0x0fffffff; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) +{ + return paddr | 0x80000000; +} + +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) +{ + if (dma_addr > 0x8fffffff) + return dma_addr; + return dma_addr & 0x0fffffff; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Makefile index 5202286600..ba10954b4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Common code for all Loongson 1 based systems -# - -obj-$(CONFIG_MACH_LOONGSON32) += common/ - -# -# Loongson LS1B board -# - -obj-$(CONFIG_LOONGSON1_LS1B) += ls1b/ - -# -# Loongson LS1C board -# - -obj-$(CONFIG_LOONGSON1_LS1C) += ls1c/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Common code for all Loongson 1 based systems +# + +obj-$(CONFIG_MACH_LOONGSON32) += common/ + +# +# Loongson LS1B board +# + +obj-$(CONFIG_LOONGSON1_LS1B) += ls1b/ + +# +# Loongson LS1C board +# + +obj-$(CONFIG_LOONGSON1_LS1C) += ls1c/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Platform index 68090ca3c6..3b9673e7a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Platform @@ -1,3 +1,3 @@ -cflags-$(CONFIG_CPU_LOONGSON32) += -march=mips32r2 -Wa,--trap -cflags-$(CONFIG_MACH_LOONGSON32) += -I$(srctree)/arch/mips/include/asm/mach-loongson32 -load-$(CONFIG_CPU_LOONGSON32) += 0xffffffff80200000 +cflags-$(CONFIG_CPU_LOONGSON32) += -march=mips32r2 -Wa,--trap +cflags-$(CONFIG_MACH_LOONGSON32) += -I$(srctree)/arch/mips/include/asm/mach-loongson32 +load-$(CONFIG_CPU_LOONGSON32) += 0xffffffff80200000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/Makefile index 20695ba5e1..f3950d3081 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for common code of loongson1 based machines. -# - -obj-y += time.o irq.o platform.o prom.o setup.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for common code of loongson1 based machines. +# + +obj-y += time.o irq.o platform.o prom.o setup.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1b/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1b/Makefile index 4ab6ed198a..33c574dc0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1b/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1b/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for loongson1B based machines. -# - -obj-y += board.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for loongson1B based machines. +# + +obj-y += board.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/Makefile index 4686cf353a..1cf3aa264d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for loongson1C based machines. -# - -obj-y += board.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for loongson1C based machines. +# + +obj-y += board.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Platform index f9af1b14cc..49c9889e3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Platform @@ -1,7 +1,7 @@ -# -# Loongson Machines' Support -# - -cflags-$(CONFIG_MACH_LOONGSON64) += -I$(srctree)/arch/mips/include/asm/mach-loongson64 -cflags-$(CONFIG_CC_HAS_MNO_BRANCH_LIKELY) += -mno-branch-likely -load-$(CONFIG_CPU_LOONGSON64) += 0xffffffff80200000 +# +# Loongson Machines' Support +# + +cflags-$(CONFIG_MACH_LOONGSON64) += -I$(srctree)/arch/mips/include/asm/mach-loongson64 +cflags-$(CONFIG_CC_HAS_MNO_BRANCH_LIKELY) += -mno-branch-likely +load-$(CONFIG_CPU_LOONGSON64) += 0xffffffff80200000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/maccess.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/maccess.c index bfc073b70c..58173842c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/maccess.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/maccess.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) -{ - /* highest bit set means kernel space */ - return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) +{ + /* highest bit set means kernel space */ + return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Platform index aac7107c6e..f4616934d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Platform @@ -1,6 +1,6 @@ -# -# MIPS Malta board -# -cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta -load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 -all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin +# +# MIPS Malta board +# +cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta +load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 +all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Makefile index 82a9441356..b64a05ae21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Nintendo 64 -# - -obj-y := init.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Nintendo 64 +# + +obj-y := init.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Platform index a32538a99e..2464783135 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/Platform @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Nintendo 64 -# - -cflags-$(CONFIG_MACH_NINTENDO64) += -I$(srctree)/arch/mips/include/asm/mach-n64 -load-$(CONFIG_MACH_NINTENDO64) += 0xffffffff80101000 +# SPDX-License-Identifier: GPL-2.0 +# +# Nintendo 64 +# + +cflags-$(CONFIG_MACH_NINTENDO64) += -I$(srctree)/arch/mips/include/asm/mach-n64 +load-$(CONFIG_MACH_NINTENDO64) += 0xffffffff80101000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/irq.c index ef8eb2c3d7..1861e962db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/n64/irq.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * N64 IRQ - * - * Copyright (C) 2021 Lauri Kasanen - */ -#include -#include -#include - -#include - -void __init arch_init_irq(void) -{ - mips_cpu_irq_init(); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * N64 IRQ + * + * Copyright (C) 2021 Lauri Kasanen + */ +#include +#include +#include + +#include + +void __init arch_init_irq(void) +{ + mips_cpu_irq_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/net/Makefile index 2804d3e38c..e3e6ae6514 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/net/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# MIPS networking code - -obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o - -ifeq ($(CONFIG_32BIT),y) - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o -else - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o -endif +# SPDX-License-Identifier: GPL-2.0-only +# MIPS networking code + +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o + +ifeq ($(CONFIG_32BIT),y) + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o +else + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-lantiq.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-lantiq.c index 6753d71a30..8bcc136976 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-lantiq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-lantiq.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2012 John Crispin - */ - -#include -#include - -int pcibios_plat_dev_init(struct pci_dev *dev) -{ - return 0; -} - -int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) -{ - return of_irq_parse_and_map_pci(dev, slot, pin); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2012 John Crispin + */ + +#include +#include + +int pcibios_plat_dev_init(struct pci_dev *dev) +{ + return 0; +} + +int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +{ + return of_irq_parse_and_map_pci(dev, slot, pin); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Makefile index 028a3f6a02..6183e4a463 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Joshua Henderson, -# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. -# -obj-$(CONFIG_MACH_PIC32) += common/ -obj-$(CONFIG_PIC32MZDA) += pic32mzda/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Joshua Henderson, +# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. +# +obj-$(CONFIG_MACH_PIC32) += common/ +obj-$(CONFIG_PIC32MZDA) += pic32mzda/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Platform index ae67ef0046..1e92e52a13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/Platform @@ -1,6 +1,6 @@ -# -# PIC32MZDA -# -cflags-$(CONFIG_PIC32MZDA) += -I$(srctree)/arch/mips/include/asm/mach-pic32 -load-$(CONFIG_PIC32MZDA) += 0xffffffff88000000 -all-$(CONFIG_PIC32MZDA) := $(COMPRESSION_FNAME).bin +# +# PIC32MZDA +# +cflags-$(CONFIG_PIC32MZDA) += -I$(srctree)/arch/mips/include/asm/mach-pic32 +load-$(CONFIG_PIC32MZDA) += 0xffffffff88000000 +all-$(CONFIG_PIC32MZDA) := $(COMPRESSION_FNAME).bin diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/Makefile index 60d6824d1e..a60750ab7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Joshua Henderson, -# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. -# -obj-y = reset.o irq.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Joshua Henderson, +# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. +# +obj-y = reset.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/irq.c index 137daf33f8..fb00b797b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/common/irq.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Joshua Henderson - * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. - */ -#include -#include -#include - -void __init arch_init_irq(void) -{ - irqchip_init(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Joshua Henderson + * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. + */ +#include +#include +#include + +void __init arch_init_irq(void) +{ + irqchip_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/Makefile index 63c6887e55..3b505142bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Joshua Henderson, -# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. -# -obj-y := config.o early_clk.o init.o time.o - -obj-$(CONFIG_EARLY_PRINTK) += early_console.o \ - early_pin.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Joshua Henderson, +# Copyright (C) 2015 Microchip Technology, Inc. All rights reserved. +# +obj-y := config.o early_clk.o init.o time.o + +obj-$(CONFIG_EARLY_PRINTK) += early_console.o \ + early_pin.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/Makefile index f8a0e2ed9e..14b7d9ee61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_HIBERNATION) += cpu.o hibernate.o hibernate_asm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_HIBERNATION) += cpu.o hibernate.o hibernate_asm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/hibernate.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/hibernate.c index 1234ca0298..192879e76c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/hibernate.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/hibernate.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -extern int restore_image(void); - -int swsusp_arch_resume(void) -{ - /* Avoid TLB mismatch during and after kernel resume */ - local_flush_tlb_all(); - return restore_image(); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +extern int restore_image(void); + +int swsusp_arch_resume(void) +{ + /* Avoid TLB mismatch during and after kernel resume */ + local_flush_tlb_all(); + return restore_image(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Makefile index 52fac22548..fb4b4bf837 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the RB532 board specific parts of the kernel -# - -obj-$(CONFIG_SERIAL_8250_CONSOLE) += serial.o - -obj-y += irq.o time.o setup.o prom.o gpio.o devices.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the RB532 board specific parts of the kernel +# + +obj-$(CONFIG_SERIAL_8250_CONSOLE) += serial.o + +obj-y += irq.o time.o setup.o prom.o gpio.o devices.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Platform index 5f39d80675..12eaa8790b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/rb532/Platform @@ -1,6 +1,6 @@ -# -# Routerboard 532 -# -cflags-$(CONFIG_MIKROTIK_RB532) += \ - -I$(srctree)/arch/mips/include/asm/mach-rc32434 -load-$(CONFIG_MIKROTIK_RB532) += 0xffffffff80101000 +# +# Routerboard 532 +# +cflags-$(CONFIG_MIKROTIK_RB532) += \ + -I$(srctree)/arch/mips/include/asm/mach-rc32434 +load-$(CONFIG_MIKROTIK_RB532) += 0xffffffff80101000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Makefile index 2249f48d53..9877fcc512 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the IP27 specific kernel interface routines under Linux. -# - -obj-y := ip27-berr.o ip27-irq.o ip27-init.o ip27-klconfig.o \ - ip27-klnuma.o ip27-memory.o ip27-nmi.o ip27-reset.o ip27-timer.o \ - ip27-xtalk.o - -obj-$(CONFIG_EARLY_PRINTK) += ip27-console.o -obj-$(CONFIG_SMP) += ip27-smp.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the IP27 specific kernel interface routines under Linux. +# + +obj-y := ip27-berr.o ip27-irq.o ip27-init.o ip27-klconfig.o \ + ip27-klnuma.o ip27-memory.o ip27-nmi.o ip27-reset.o ip27-timer.o \ + ip27-xtalk.o + +obj-$(CONFIG_EARLY_PRINTK) += ip27-console.o +obj-$(CONFIG_SMP) += ip27-smp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Makefile index 1cdcf771ab..18cf561b3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the IP30 specific kernel interface routines under Linux. -# - -obj-y := ip30-irq.o ip30-power.o ip30-setup.o ip30-timer.o ip30-xtalk.o - -obj-$(CONFIG_EARLY_PRINTK) += ip30-console.o -obj-$(CONFIG_SMP) += ip30-smp.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the IP30 specific kernel interface routines under Linux. +# + +obj-y := ip30-irq.o ip30-power.o ip30-setup.o ip30-timer.o ip30-xtalk.o + +obj-$(CONFIG_EARLY_PRINTK) += ip30-console.o +obj-$(CONFIG_SMP) += ip30-smp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Platform index 079f5f1954..f6f11517e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/Platform @@ -1,5 +1,5 @@ -# -# SGI-IP30 (Octane/Octane2) -# -cflags-$(CONFIG_SGI_IP30) += -I$(srctree)/arch/mips/include/asm/mach-ip30 -load-$(CONFIG_SGI_IP30) += 0xa800000020004000 +# +# SGI-IP30 (Octane/Octane2) +# +cflags-$(CONFIG_SGI_IP30) += -I$(srctree)/arch/mips/include/asm/mach-ip30 +load-$(CONFIG_SGI_IP30) += 0xa800000020004000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Makefile index 78cb1766fb..de02224662 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the SGI specific kernel interface routines -# under Linux. -# - -obj-y += ip32-berr.o ip32-irq.o ip32-platform.o ip32-setup.o ip32-reset.o \ - crime.o ip32-memory.o ip32-dma.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the SGI specific kernel interface routines +# under Linux. +# + +obj-y += ip32-berr.o ip32-irq.o ip32-platform.o ip32-setup.o ip32-reset.o \ + crime.o ip32-memory.o ip32-dma.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/Makefile index 7676b9e694..cf1327d3fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := setup.o irq.o time.o - -obj-$(CONFIG_SMP) += smp.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := setup.o irq.o time.o + +obj-$(CONFIG_SMP) += smp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/time.c index b647a5b205..e6450d79fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/bcm1480/time.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2000,2001,2004 Broadcom Corporation - */ -#include - -extern void sb1480_clockevent_init(void); -extern void sb1480_clocksource_init(void); - -void __init plat_time_init(void) -{ - sb1480_clocksource_init(); - sb1480_clockevent_init(); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2000,2001,2004 Broadcom Corporation + */ +#include + +extern void sb1480_clockevent_init(void); +extern void sb1480_clocksource_init(void); + +void __init plat_time_init(void) +{ + sb1480_clocksource_init(); + sb1480_clockevent_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/Makefile index 6aa513f113..57f670aa16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := cfe.o -obj-$(CONFIG_SWIOTLB) += dma.o -obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o -obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o -obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := cfe.o +obj-$(CONFIG_SWIOTLB) += dma.o +obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o +obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o +obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/dma.c index ad7a11a0d4..c5c2c782af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/common/dma.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * DMA support for Broadcom SiByte platforms. - * - * Copyright (c) 2018 Maciej W. Rozycki - */ - -#include -#include - -void __init plat_swiotlb_setup(void) -{ - swiotlb_init(true, SWIOTLB_VERBOSE); -} +// SPDX-License-Identifier: GPL-2.0+ +/* + * DMA support for Broadcom SiByte platforms. + * + * Copyright (c) 2018 Maciej W. Rozycki + */ + +#include +#include + +void __init plat_swiotlb_setup(void) +{ + swiotlb_init(true, SWIOTLB_VERBOSE); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/Makefile index 7676b9e694..cf1327d3fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := setup.o irq.o time.o - -obj-$(CONFIG_SMP) += smp.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := setup.o irq.o time.o + +obj-$(CONFIG_SMP) += smp.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/time.c index a1b1517b85..8b63000a4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/sb1250/time.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2000, 2001 Broadcom Corporation - */ -#include - -extern void sb1250_clocksource_init(void); -extern void sb1250_clockevent_init(void); - -void __init plat_time_init(void) -{ - sb1250_clocksource_init(); - sb1250_clockevent_init(); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2000, 2001 Broadcom Corporation + */ +#include + +extern void sb1250_clocksource_init(void); +extern void sb1250_clockevent_init(void); + +void __init plat_time_init(void) +{ + sb1250_clocksource_init(); + sb1250_clockevent_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/Makefile index 1dae3c58b7..96b41a28ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := platform.o setup.o rtc_xicor1241.o \ - rtc_m41t81.o - -obj-$(CONFIG_I2C_BOARDINFO) += swarm-i2c.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y := platform.o setup.o rtc_xicor1241.o \ + rtc_m41t81.o + +obj-$(CONFIG_I2C_BOARDINFO) += swarm-i2c.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Makefile index 1e0e999e8a..6d97c3e964 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the SNI specific part of the kernel -# - -obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o -obj-$(CONFIG_EISA) += eisa.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the SNI specific part of the kernel +# + +obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o +obj-$(CONFIG_EISA) += eisa.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Platform index 1369095f30..b0b3dde0be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sni/Platform @@ -1,10 +1,10 @@ -# -# SNI RM -# -cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm -ifdef CONFIG_CPU_LITTLE_ENDIAN -load-$(CONFIG_SNI_RM) += 0xffffffff80600000 -else -load-$(CONFIG_SNI_RM) += 0xffffffff80030000 -endif -all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff +# +# SNI RM +# +cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm +ifdef CONFIG_CPU_LITTLE_ENDIAN +load-$(CONFIG_SNI_RM) += 0xffffffff80600000 +else +load-$(CONFIG_SNI_RM) += 0xffffffff80030000 +endif +all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/tools/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/tools/Makefile index 8a78bafd4f..b851e5dcc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/tools/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/tools/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -hostprogs := elf-entry -PHONY += elf-entry -elf-entry: $(obj)/elf-entry - @: - -hostprogs += loongson3-llsc-check -PHONY += loongson3-llsc-check -loongson3-llsc-check: $(obj)/loongson3-llsc-check - @: +# SPDX-License-Identifier: GPL-2.0 +hostprogs := elf-entry +PHONY += elf-entry +elf-entry: $(obj)/elf-entry + @: + +hostprogs += loongson3-llsc-check +PHONY += loongson3-llsc-check +loongson3-llsc-check: $(obj)/loongson3-llsc-check + @: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Makefile index bb74cb158d..14c91f2678 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Common TXx9 -# -obj-$(CONFIG_MACH_TX49XX) += generic/ - -# -# Toshiba RBTX49XX boards -# -obj-$(CONFIG_TOSHIBA_RBTX4927) += rbtx4927/ +# SPDX-License-Identifier: GPL-2.0 +# +# Common TXx9 +# +obj-$(CONFIG_MACH_TX49XX) += generic/ + +# +# Toshiba RBTX49XX boards +# +obj-$(CONFIG_TOSHIBA_RBTX4927) += rbtx4927/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Platform index 848c976a1a..e5a295068b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/Platform @@ -1,4 +1,4 @@ -cflags-$(CONFIG_MACH_TX49XX) += \ - -I$(srctree)/arch/mips/include/asm/mach-tx49xx - -load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 +cflags-$(CONFIG_MACH_TX49XX) += \ + -I$(srctree)/arch/mips/include/asm/mach-tx49xx + +load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/generic/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/generic/Makefile index a3c7d1d7d1..3c155c7e2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/generic/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/txx9/generic/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for common code for TXx9 based systems -# - -obj-y += setup.o -obj-$(CONFIG_PCI) += pci.o -obj-$(CONFIG_SOC_TX4927) += mem_tx4927.o setup_tx4927.o irq_tx4927.o -obj-$(CONFIG_SOC_TX4938) += mem_tx4927.o setup_tx4938.o irq_tx4938.o -obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for common code for TXx9 based systems +# + +obj-y += setup.o +obj-$(CONFIG_PCI) += pci.o +obj-$(CONFIG_SOC_TX4927) += mem_tx4927.o setup_tx4927.o irq_tx4927.o +obj-$(CONFIG_SOC_TX4938) += mem_tx4927.o setup_tx4938.o irq_tx4938.o +obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/.gitignore index 781a901e4e..1f43f6dd81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -*.so* -vdso-*image.c -genvdso -vdso*.lds +# SPDX-License-Identifier: GPL-2.0-only +*.so* +vdso-*image.c +genvdso +vdso*.lds diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/Kconfig index ef55ae467b..70140248da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/Kconfig @@ -1,6 +1,6 @@ -# GCC (at least up to version 9.2) appears to emit function calls that make use -# of the GOT when targeting microMIPS, which we can't use in the VDSO due to -# the lack of relocations. As such, we disable the VDSO for microMIPS builds. - -config MIPS_DISABLE_VDSO - def_bool CPU_MICROMIPS +# GCC (at least up to version 9.2) appears to emit function calls that make use +# of the GOT when targeting microMIPS, which we can't use in the VDSO due to +# the lack of relocations. As such, we disable the VDSO for microMIPS builds. + +config MIPS_DISABLE_VDSO + def_bool CPU_MICROMIPS diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kbuild index 63cf94e5c8..fc2952edd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += kernel/ mm/ platform/ boot/dts/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ mm/ platform/ boot/dts/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/dts/Makefile index 3822034218..1a2e8996be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/dts/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y := $(patsubst %.dts,%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE)) - -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) +# SPDX-License-Identifier: GPL-2.0 + +obj-y := $(patsubst %.dts,%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE)) + +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/Kbuild index 0541b9b7d2..0d09829ed1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/Kbuild @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h - -generic-y += cmpxchg.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += spinlock.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h + +generic-y += cmpxchg.h +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += spinlock.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/asm-offsets.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/asm-offsets.h index 1175dd03a5..e51465213b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/asm-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/asm-offsets.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2010 Tobias Klauser - * Copyright (C) 2009 Thomas Chou - */ - -#include +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2010 Tobias Klauser + * Copyright (C) 2009 Thomas Chou + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cachetype.h index b4ce80ddf8..eb9c416b8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cachetype.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_NIOS2_CACHETYPE_H -#define __ASM_NIOS2_CACHETYPE_H - -#include -#include - -#define cpu_dcache_is_aliasing() (NIOS2_DCACHE_SIZE > PAGE_SIZE) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_NIOS2_CACHETYPE_H +#define __ASM_NIOS2_CACHETYPE_H + +#include +#include + +#define cpu_dcache_is_aliasing() (NIOS2_DCACHE_SIZE > PAGE_SIZE) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/irq.h index d082d3b3d8..c52c94884e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/irq.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2013 Altera Corporation - * Copyright (C) 2011 Tobias Klauser - */ - -#ifndef _ASM_NIOS2_IRQ_H -#define _ASM_NIOS2_IRQ_H - -#define NIOS2_CPU_NR_IRQS 32 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2013 Altera Corporation + * Copyright (C) 2011 Tobias Klauser + */ + +#ifndef _ASM_NIOS2_IRQ_H +#define _ASM_NIOS2_IRQ_H + +#define NIOS2_CPU_NR_IRQS 32 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/linkage.h index 4707a4f7c3..211302301a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/linkage.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009 Thomas Chou - * - * All rights reserved. - */ - -#ifndef _ASM_NIOS2_LINKAGE_H -#define _ASM_NIOS2_LINKAGE_H - -/* This file is required by include/linux/linkage.h */ -#define __ALIGN .align 4 -#define __ALIGN_STR ".align 4" - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009 Thomas Chou + * + * All rights reserved. + */ + +#ifndef _ASM_NIOS2_LINKAGE_H +#define _ASM_NIOS2_LINKAGE_H + +/* This file is required by include/linux/linkage.h */ +#define __ALIGN .align 4 +#define __ALIGN_STR ".align 4" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/shmparam.h index 26d3e48f93..4288844eed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/shmparam.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright Altera Corporation (C) <2015>. All rights reserved - */ -#ifndef _ASM_NIOS2_SHMPARAM_H -#define _ASM_NIOS2_SHMPARAM_H - -#define SHMLBA CONFIG_NIOS2_DCACHE_SIZE - -#endif /* _ASM_NIOS2_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright Altera Corporation (C) <2015>. All rights reserved + */ +#ifndef _ASM_NIOS2_SHMPARAM_H +#define _ASM_NIOS2_SHMPARAM_H + +#define SHMLBA CONFIG_NIOS2_DCACHE_SIZE + +#endif /* _ASM_NIOS2_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/syscalls.h index db4a1bff98..b4d4ed3bf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/syscalls.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright Altera Corporation (C) 2013. All rights reserved - */ -#ifndef __ASM_NIOS2_SYSCALLS_H -#define __ASM_NIOS2_SYSCALLS_H - -int sys_cacheflush(unsigned long addr, unsigned long len, - unsigned int op); - -#include - -#endif /* __ASM_NIOS2_SYSCALLS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright Altera Corporation (C) 2013. All rights reserved + */ +#ifndef __ASM_NIOS2_SYSCALLS_H +#define __ASM_NIOS2_SYSCALLS_H + +int sys_cacheflush(unsigned long addr, unsigned long len, + unsigned int op); + +#include + +#endif /* __ASM_NIOS2_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/unistd.h index 74b54a1fb0..1146e56473 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/unistd.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_UNISTD_H -#define __ASM_UNISTD_H - -#include - -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SET_GET_RLIMIT - -#define __ARCH_BROKEN_SYS_CLONE3 - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_UNISTD_H +#define __ASM_UNISTD_H + +#include + +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SET_GET_RLIMIT + +#define __ARCH_BROKEN_SYS_CLONE3 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/vmalloc.h index ad580f2a5e..ec7a926009 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_NIOS2_VMALLOC_H -#define _ASM_NIOS2_VMALLOC_H - -#endif /* _ASM_NIOS2_VMALLOC_H */ +#ifndef _ASM_NIOS2_VMALLOC_H +#define _ASM_NIOS2_VMALLOC_H + +#endif /* _ASM_NIOS2_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/Kbuild index c3638a3b19..2501e82a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h - -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h + +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile.syscalls index e81ce9f9c7..579a9daec2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile.syscalls @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += nios2 time32 stat64 renameat rlimit +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += nios2 time32 stat64 renameat rlimit diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/Makefile index 7bc2258e84..9d5bf1df52 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Nios2-specific library files. -# - -lib-y += delay.o -lib-y += memcpy.o -lib-y += memmove.o -lib-y += memset.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Nios2-specific library files. +# + +lib-y += delay.o +lib-y += memcpy.o +lib-y += memmove.o +lib-y += memset.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/Makefile index f31447e405..9d37fafd1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Nios2-specific parts of the memory manager. -# - -obj-y += cacheflush.o -obj-y += dma-mapping.o -obj-y += extable.o -obj-y += fault.o -obj-y += init.o -obj-y += ioremap.o -obj-y += mmu_context.o -obj-y += pgtable.o -obj-y += tlb.o -obj-y += uaccess.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Nios2-specific parts of the memory manager. +# + +obj-y += cacheflush.o +obj-y += dma-mapping.o +obj-y += extable.o +obj-y += fault.o +obj-y += init.o +obj-y += ioremap.o +obj-y += mmu_context.o +obj-y += pgtable.o +obj-y += tlb.o +obj-y += uaccess.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/Kbuild index 37dc81e273..b0b0f2b03f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += lib/ kernel/ mm/ -obj-y += boot/dts/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0 +obj-y += lib/ kernel/ mm/ +obj-y += boot/dts/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/Makefile index 29246d7afd..5b28538f4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for bootable kernel images -# - -targets += vmlinux.bin - -OBJCOPYFLAGS_vmlinux.bin := -O binary -$(obj)/vmlinux.bin: vmlinux FORCE - $(call if_changed,objcopy) +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for bootable kernel images +# + +targets += vmlinux.bin + +OBJCOPYFLAGS_vmlinux.bin := -O binary +$(obj)/vmlinux.bin: vmlinux FORCE + $(call if_changed,objcopy) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/dts/Makefile index 0151f33464..13db5a2aab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/boot/dts/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += $(addsuffix .dtb.o, $(CONFIG_OPENRISC_BUILTIN_DTB)) - -#DTC_FLAGS ?= -p 1024 +# SPDX-License-Identifier: GPL-2.0 +obj-y += $(addsuffix .dtb.o, $(CONFIG_OPENRISC_BUILTIN_DTB)) + +#DTC_FLAGS ?= -p 1024 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/Kbuild index 9084b7f521..cef49d60d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/Kbuild @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h - -generic-y += extable.h -generic-y += kvm_para.h -generic-y += parport.h -generic-y += spinlock_types.h -generic-y += spinlock.h -generic-y += qrwlock_types.h -generic-y += qrwlock.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h + +generic-y += extable.h +generic-y += kvm_para.h +generic-y += parport.h +generic-y += spinlock_types.h +generic-y += spinlock.h +generic-y += qrwlock_types.h +generic-y += qrwlock.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/barrier.h index aa67d53766..7538294721 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/barrier.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_BARRIER_H -#define __ASM_BARRIER_H - -#define mb() asm volatile ("l.msync" ::: "memory") - -#include - -#endif /* __ASM_BARRIER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_BARRIER_H +#define __ASM_BARRIER_H + +#define mb() asm volatile ("l.msync" ::: "memory") + +#include + +#endif /* __ASM_BARRIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bug.h index e5d759caf2..6d04776eaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bug.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_OPENRISC_BUG_H -#define __ASM_OPENRISC_BUG_H - -#include - -struct pt_regs; - -void __noreturn die(const char *str, struct pt_regs *regs, long err); - -#endif /* __ASM_OPENRISC_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_OPENRISC_BUG_H +#define __ASM_OPENRISC_BUG_H + +#include + +struct pt_regs; + +void __noreturn die(const char *str, struct pt_regs *regs, long err); + +#endif /* __ASM_OPENRISC_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/setup.h index c55f35acca..9acbc5deda 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/setup.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2021 Stafford Horne - */ -#ifndef _ASM_OR1K_SETUP_H -#define _ASM_OR1K_SETUP_H - -#include -#include - -#ifndef __ASSEMBLY__ -void __init or1k_early_setup(void *fdt); -#endif - -#endif /* _ASM_OR1K_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2021 Stafford Horne + */ +#ifndef _ASM_OR1K_SETUP_H +#define _ASM_OR1K_SETUP_H + +#include +#include + +#ifndef __ASSEMBLY__ +void __init or1k_early_setup(void *fdt); +#endif + +#endif /* _ASM_OR1K_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/string.h index 042c6de373..69b975454f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/string.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_OPENRISC_STRING_H -#define __ASM_OPENRISC_STRING_H - -#define __HAVE_ARCH_MEMSET -extern void *memset(void *s, int c, __kernel_size_t n); - -#define __HAVE_ARCH_MEMCPY -extern void *memcpy(void *dest, __const void *src, __kernel_size_t n); - -#endif /* __ASM_OPENRISC_STRING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_OPENRISC_STRING_H +#define __ASM_OPENRISC_STRING_H + +#define __HAVE_ARCH_MEMSET +extern void *memset(void *s, int c, __kernel_size_t n); + +#define __HAVE_ARCH_MEMCPY +extern void *memcpy(void *dest, __const void *src, __kernel_size_t n); + +#endif /* __ASM_OPENRISC_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unistd.h index 33e35ccfd4..c73f65e18d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unistd.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ - -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_FORK -#define __ARCH_WANT_SYS_CLONE -#define __ARCH_WANT_TIME32_SYSCALLS - -#include +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ + +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_FORK +#define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_TIME32_SYSCALLS + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/vmalloc.h index 4e92acc135..75435eceec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_OPENRISC_VMALLOC_H -#define _ASM_OPENRISC_VMALLOC_H - -#endif /* _ASM_OPENRISC_VMALLOC_H */ +#ifndef _ASM_OPENRISC_VMALLOC_H +#define _ASM_OPENRISC_VMALLOC_H + +#endif /* _ASM_OPENRISC_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/Kbuild index c3638a3b19..2501e82a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h - -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h + +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile.syscalls index 4819a238e0..525a1e7e7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile.syscalls @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += or1k time32 stat64 rlimit renameat +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += or1k time32 stat64 rlimit renameat diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/vmlinux.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/vmlinux.h index 3b24148752..bdea46c617 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/vmlinux.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/vmlinux.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __OPENRISC_VMLINUX_H_ -#define __OPENRISC_VMLINUX_H_ - -#ifdef CONFIG_BLK_DEV_INITRD -extern char __initrd_start, __initrd_end; -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __OPENRISC_VMLINUX_H_ +#define __OPENRISC_VMLINUX_H_ + +#ifdef CONFIG_BLK_DEV_INITRD +extern char __initrd_start, __initrd_end; +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/lib/Makefile index fd93d88d67..53327406b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/lib/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for or1k specific library files.. -# - -obj-y := delay.o string.o memset.o memcpy.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for or1k specific library files.. +# + +obj-y := delay.o string.o memset.o memcpy.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/mm/Makefile index d1586410ab..8a0e580e22 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/mm/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux openrisc-specific parts of the memory manager. -# - -obj-y := fault.o cache.o tlb.o init.o ioremap.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux openrisc-specific parts of the memory manager. +# + +obj-y := fault.o cache.o tlb.o init.o ioremap.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kbuild index 08a54c7b14..749b195f28 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kbuild @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += mm/ kernel/ math-emu/ net/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-y += mm/ kernel/ math-emu/ net/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/firmware.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/firmware.c index 381db0a55e..16a07137fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/firmware.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/firmware.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../kernel/firmware.c" +// SPDX-License-Identifier: GPL-2.0-only +#include "../../kernel/firmware.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/real2.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/real2.S index d4e605069f..cdc6a4da32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/real2.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/real2.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../kernel/real2.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../kernel/real2.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/vmlinux.scr b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/vmlinux.scr index efc34cd083..dac2d142bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/vmlinux.scr +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/compressed/vmlinux.scr @@ -1,10 +1,10 @@ -SECTIONS -{ - .rodata.compressed : { - input_len = .; - LONG(input_data_end - input_data) input_data = .; - *(.data) - output_len = . - 4; /* can be at unaligned address */ - input_data_end = .; - } -} +SECTIONS +{ + .rodata.compressed : { + input_len = .; + LONG(input_data_end - input_data) input_data = .; + *(.data) + output_len = . - 4; /* can be at unaligned address */ + input_data_end = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/Kbuild index 3455ab7a8a..4fb596d94c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/Kbuild @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table_32.h -generated-y += syscall_table_64.h -generic-y += agp.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table_32.h +generated-y += syscall_table_64.h +generic-y += agp.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/cachetype.h index b36cec64eb..e0868a1d3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/cachetype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_PARISC_CACHETYPE_H -#define __ASM_PARISC_CACHETYPE_H - -#include - -#define cpu_dcache_is_aliasing() true - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_PARISC_CACHETYPE_H +#define __ASM_PARISC_CACHETYPE_H + +#include + +#define cpu_dcache_is_aliasing() true + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmu.h index 920f54b16d..44fd062b62 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmu.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PARISC_MMU_H_ -#define _PARISC_MMU_H_ - -typedef struct { - unsigned long space_id; - unsigned long vdso_base; -} mm_context_t; - -#endif /* _PARISC_MMU_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PARISC_MMU_H_ +#define _PARISC_MMU_H_ + +typedef struct { + unsigned long space_id; + unsigned long vdso_base; +} mm_context_t; + +#endif /* _PARISC_MMU_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmzone.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmzone.h index 41c8b3bd71..8d390406d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mmzone.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PARISC_MMZONE_H -#define _PARISC_MMZONE_H - -#define MAX_PHYSMEM_RANGES 4 /* Fix the size for now (current known max is 3) */ - -#endif /* _PARISC_MMZONE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PARISC_MMZONE_H +#define _PARISC_MMZONE_H + +#define MAX_PHYSMEM_RANGES 4 /* Fix the size for now (current known max is 3) */ + +#endif /* _PARISC_MMZONE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/perf_event.h index f2a61ed3e8..1e0fd8ba6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/perf_event.h @@ -1,6 +1,6 @@ -#ifndef __ASM_PARISC_PERF_EVENT_H -#define __ASM_PARISC_PERF_EVENT_H - -/* Empty, just to avoid compiling error */ - -#endif /* __ASM_PARISC_PERF_EVENT_H */ +#ifndef __ASM_PARISC_PERF_EVENT_H +#define __ASM_PARISC_PERF_EVENT_H + +/* Empty, just to avoid compiling error */ + +#endif /* __ASM_PARISC_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/runway.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/runway.h index 5df4fc1812..2837f0223d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/runway.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/runway.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_PARISC_RUNWAY_H -#define ASM_PARISC_RUNWAY_H - -#define RUNWAY_STATUS 0x10 -#define RUNWAY_DEBUG 0x40 - -#endif /* ASM_PARISC_RUNWAY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_PARISC_RUNWAY_H +#define ASM_PARISC_RUNWAY_H + +#define RUNWAY_STATUS 0x10 +#define RUNWAY_DEBUG 0x40 + +#endif /* ASM_PARISC_RUNWAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sections.h index 6190cd0325..33df42b5cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sections.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PARISC_SECTIONS_H -#define _PARISC_SECTIONS_H - -#ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS -#include -typedef Elf64_Fdesc func_desc_t; -#endif - -/* nothing to see, move along */ -#include - -extern char __alt_instructions[], __alt_instructions_end[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PARISC_SECTIONS_H +#define _PARISC_SECTIONS_H + +#ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS +#include +typedef Elf64_Fdesc func_desc_t; +#endif + +/* nothing to see, move along */ +#include + +extern char __alt_instructions[], __alt_instructions_end[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/serial.h index a528e22b97..77e9b67c87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/serial.h @@ -1,8 +1,8 @@ -/* - * include/asm-parisc/serial.h - */ - -/* - * This is used for 16550-compatible UARTs - */ -#define BASE_BAUD ( 1843200 / 16 ) +/* + * include/asm-parisc/serial.h + */ + +/* + * This is used for 16550-compatible UARTs + */ +#define BASE_BAUD ( 1843200 / 16 ) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/socket.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/socket.h index b462c9ec52..33500c9f6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/socket.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/socket.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SOCKET_H -#define _ASM_SOCKET_H - -#include - -/* O_NONBLOCK clashed with the bits used for socket types. Therefore we - * had to define SOCK_NONBLOCK to a different value here. - */ -#define SOCK_NONBLOCK 0x40000000 - -#endif /* _ASM_SOCKET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SOCKET_H +#define _ASM_SOCKET_H + +#include + +/* O_NONBLOCK clashed with the bits used for socket types. Therefore we + * had to define SOCK_NONBLOCK to a different value here. + */ +#define SOCK_NONBLOCK 0x40000000 + +#endif /* _ASM_SOCKET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sparsemem.h index 8a51342b89..b5c3a79045 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/sparsemem.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_PARISC_SPARSEMEM_H -#define ASM_PARISC_SPARSEMEM_H - -/* We have these possible memory map layouts: - * Astro: 0-3.75, 67.75-68, 4-64 - * zx1: 0-1, 257-260, 4-256 - * Stretch (N-class): 0-2, 4-32, 34-xxx - */ - -#define MAX_PHYSMEM_BITS 39 /* 512 GB */ -#define SECTION_SIZE_BITS 27 /* 128 MB */ - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_PARISC_SPARSEMEM_H +#define ASM_PARISC_SPARSEMEM_H + +/* We have these possible memory map layouts: + * Astro: 0-3.75, 67.75-68, 4-64 + * zx1: 0-1, 257-260, 4-256 + * Stretch (N-class): 0-2, 4-32, 34-xxx + */ + +#define MAX_PHYSMEM_BITS 39 /* 512 GB */ +#define SECTION_SIZE_BITS 27 /* 128 MB */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/string.h index 46e902bd05..f6e1132f4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/string.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PA_STRING_H_ -#define _PA_STRING_H_ - -#define __HAVE_ARCH_MEMSET -extern void * memset(void *, int, size_t); - -#define __HAVE_ARCH_MEMCPY -void * memcpy(void * dest,const void *src,size_t count); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PA_STRING_H_ +#define _PA_STRING_H_ + +#define __HAVE_ARCH_MEMSET +extern void * memset(void *, int, size_t); + +#define __HAVE_ARCH_MEMCPY +void * memcpy(void * dest,const void *src,size_t count); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/switch_to.h index c2eeeb8ccf..f2ac9cc0de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/switch_to.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PARISC_SWITCH_TO_H -#define __PARISC_SWITCH_TO_H - -struct task_struct; - -extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *); - -#define switch_to(prev, next, last) do { \ - (last) = _switch_to(prev, next); \ -} while(0) - -#endif /* __PARISC_SWITCH_TO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PARISC_SWITCH_TO_H +#define __PARISC_SWITCH_TO_H + +struct task_struct; + +extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *); + +#define switch_to(prev, next, last) do { \ + (last) = _switch_to(prev, next); \ +} while(0) + +#endif /* __PARISC_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/tlb.h index d11a724b1c..44235f3676 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/tlb.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PARISC_TLB_H -#define _PARISC_TLB_H - -#include - -#if CONFIG_PGTABLE_LEVELS == 3 -#define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) -#endif -#define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, pte) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PARISC_TLB_H +#define _PARISC_TLB_H + +#include + +#if CONFIG_PGTABLE_LEVELS == 3 +#define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) +#endif +#define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, pte) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ucontext.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ucontext.h index 547db76cad..ac7f863864 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ucontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ucontext.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_UCONTEXT_H -#define _ASM_PARISC_UCONTEXT_H - -struct ucontext { - unsigned int uc_flags; - struct ucontext *uc_link; - stack_t uc_stack; - struct sigcontext uc_mcontext; - sigset_t uc_sigmask; /* mask last for extensibility */ -}; - -#endif /* !_ASM_PARISC_UCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_UCONTEXT_H +#define _ASM_PARISC_UCONTEXT_H + +struct ucontext { + unsigned int uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + struct sigcontext uc_mcontext; + sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif /* !_ASM_PARISC_UCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/video.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/video.h index 978277053b..c5dff32231 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/video.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/video.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_VIDEO_H_ -#define _ASM_VIDEO_H_ - -#include - -struct device; - -#if defined(CONFIG_STI_CORE) -bool video_is_primary_device(struct device *dev); -#define video_is_primary_device video_is_primary_device -#endif - -#include - -#endif /* _ASM_VIDEO_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_VIDEO_H_ +#define _ASM_VIDEO_H_ + +#include + +struct device; + +#if defined(CONFIG_STI_CORE) +bool video_is_primary_device(struct device *dev); +#define video_is_primary_device video_is_primary_device +#endif + +#include + +#endif /* _ASM_VIDEO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vmalloc.h index c40fa5b650..1088ae4e7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_PARISC_VMALLOC_H -#define _ASM_PARISC_VMALLOC_H - -#endif /* _ASM_PARISC_VMALLOC_H */ +#ifndef _ASM_PARISC_VMALLOC_H +#define _ASM_PARISC_VMALLOC_H + +#endif /* _ASM_PARISC_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/Kbuild index adc0f4945a..353b70b199 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_32.h -generated-y += unistd_64.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_32.h +generated-y += unistd_64.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/auxvec.h index b33107e85a..90d2aa699c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/auxvec.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_PARISC_AUXVEC_H -#define _UAPI_PARISC_AUXVEC_H - -/* The vDSO location. */ -#define AT_SYSINFO_EHDR 33 - -#endif /* _UAPI_PARISC_AUXVEC_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_PARISC_AUXVEC_H +#define _UAPI_PARISC_AUXVEC_H + +/* The vDSO location. */ +#define AT_SYSINFO_EHDR 33 + +#endif /* _UAPI_PARISC_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/bitsperlong.h index 69a7d88a6a..307e2ef1c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_PARISC_BITSPERLONG_H -#define __ASM_PARISC_BITSPERLONG_H - -#if defined(__LP64__) -#define __BITS_PER_LONG 64 -#else -#define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_PARISC_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_PARISC_BITSPERLONG_H +#define __ASM_PARISC_BITSPERLONG_H + +#if defined(__LP64__) +#define __BITS_PER_LONG 64 +#else +#define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_PARISC_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/byteorder.h index c492660d20..a59d9b7e35 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _PARISC_BYTEORDER_H -#define _PARISC_BYTEORDER_H - -#include - -#endif /* _PARISC_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _PARISC_BYTEORDER_H +#define _PARISC_BYTEORDER_H + +#include + +#endif /* _PARISC_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/setup.h index 55ac1384cd..78b2f4ec7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/setup.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _PARISC_SETUP_H -#define _PARISC_SETUP_H - -#define COMMAND_LINE_SIZE 1024 - -#endif /* _PARISC_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _PARISC_SETUP_H +#define _PARISC_SETUP_H + +#define COMMAND_LINE_SIZE 1024 + +#endif /* _PARISC_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/statfs.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/statfs.h index 4bda9e1f46..e5de020c21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/statfs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/statfs.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _PARISC_STATFS_H -#define _PARISC_STATFS_H - -#define __statfs_word long -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _PARISC_STATFS_H +#define _PARISC_STATFS_H + +#define __statfs_word long +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/unistd.h index f4a7b76abb..98dc953656 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/unistd.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_PARISC_UNISTD_H_ -#define _UAPI_ASM_PARISC_UNISTD_H_ - -#ifdef __LP64__ -#include -#else -#include -#endif - -#define LINUX_GATEWAY_ADDR 0x100 - -#endif /* _UAPI_ASM_PARISC_UNISTD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_PARISC_UNISTD_H_ +#define _UAPI_ASM_PARISC_UNISTD_H_ + +#ifdef __LP64__ +#include +#else +#include +#endif + +#define LINUX_GATEWAY_ADDR 0x100 + +#endif /* _UAPI_ASM_PARISC_UNISTD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/unaligned.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/unaligned.h index 510d5a1796..c1aa4b12e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/unaligned.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/unaligned.h @@ -1,3 +1,3 @@ -struct pt_regs; -void handle_unaligned(struct pt_regs *regs); -int check_unaligned(struct pt_regs *regs); +struct pt_regs; +void handle_unaligned(struct pt_regs *regs); +int check_unaligned(struct pt_regs *regs); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_wrapper.S index 7fe017e13a..5ac06093e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_wrapper.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso32_start, vdso32_end - .balign PAGE_SIZE -vdso32_start: - .incbin "arch/parisc/kernel/vdso32/vdso32.so" - .balign PAGE_SIZE -vdso32_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso32_start, vdso32_end + .balign PAGE_SIZE +vdso32_start: + .incbin "arch/parisc/kernel/vdso32/vdso32.so" + .balign PAGE_SIZE +vdso32_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/restart_syscall.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/restart_syscall.S index 1d7f514fab..83004451f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/restart_syscall.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/restart_syscall.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include "../vdso32/restart_syscall.S" +/* SPDX-License-Identifier: GPL-2.0 */ + +#include "../vdso32/restart_syscall.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_wrapper.S index 5b9b0ccd60..66f929482d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_wrapper.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso64_start, vdso64_end - .balign PAGE_SIZE -vdso64_start: - .incbin "arch/parisc/kernel/vdso64/vdso64.so" - .balign PAGE_SIZE -vdso64_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso64_start, vdso64_end + .balign PAGE_SIZE +vdso64_start: + .incbin "arch/parisc/kernel/vdso64/vdso64.so" + .balign PAGE_SIZE +vdso64_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/Makefile index 73d9b7a2a4..7b197667fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for parisc-specific library files -# - -lib-y := lusercopy.o bitops.o checksum.o io.o memset.o memcpy.o \ - ucmpdi2.o delay.o - -obj-y := iomap.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for parisc-specific library files +# + +lib-y := lusercopy.o bitops.o checksum.o io.o memset.o memcpy.o \ + ucmpdi2.o delay.o + +obj-y := iomap.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/Makefile index 16ee81edba..ffdb5c0a8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for arch/parisc/mm -# - -obj-y := init.o fault.o ioremap.o fixmap.o -obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for arch/parisc/mm +# + +obj-y := init.o fault.o ioremap.o fixmap.o +obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/net/Makefile index 062a717966..22b12024d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/net/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o - -ifeq ($(CONFIG_64BIT),y) - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o -else - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o -endif +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o + +ifeq ($(CONFIG_64BIT),y) + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o +else + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/Makefile index 771b188a26..b5db5b4288 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_STI_CORE) += video-sti.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_STI_CORE) += video-sti.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/44x.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/44x.h index 7170fe2541..9b15e59522 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/44x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/44x.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * PowerPC 44x related functions - * - * Copyright 2007 David Gibson, IBM Corporation. - */ -#ifndef _PPC_BOOT_44X_H_ -#define _PPC_BOOT_44X_H_ - -void ebony_init(void *mac0, void *mac1); -void bamboo_init(void *mac0, void *mac1); - -#endif /* _PPC_BOOT_44X_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * PowerPC 44x related functions + * + * Copyright 2007 David Gibson, IBM Corporation. + */ +#ifndef _PPC_BOOT_44X_H_ +#define _PPC_BOOT_44X_H_ + +void ebony_init(void *mac0, void *mac1); +void bamboo_init(void *mac0, void *mac1); + +#endif /* _PPC_BOOT_44X_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/README b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/README index 8bbd9b75b8..3e11058760 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/README +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/README @@ -1,11 +1,11 @@ - -To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: - -objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz -objcopy -j .kernel:System.map -O binary zImage System.map.gz -objcopy -j .kernel:.config -O binary zImage config.gz -objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz - - - Peter - + +To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: + +objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz +objcopy -j .kernel:System.map -O binary zImage System.map.gz +objcopy -j .kernel:.config -O binary zImage config.gz +objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz + + + Peter + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/Makefile index 44ffb6888d..0cd0d8558b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -subdir-y += fsl - -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) +# SPDX-License-Identifier: GPL-2.0 + +subdir-y += fsl + +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/Makefile index bbe9b03845..d3ecdf14bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) +# SPDX-License-Identifier: GPL-2.0 + +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/p1010rdb-pa.dts b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/p1010rdb-pa.dts index 9c6fbc96bb..1e33d78d8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/p1010rdb-pa.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/p1010rdb-pa.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * P1010 RDB Device Tree Source - * - * Copyright 2011 Freescale Semiconductor Inc. - */ - -/include/ "p1010si-pre.dtsi" - -/ { - model = "fsl,P1010RDB"; - compatible = "fsl,P1010RDB"; - - /include/ "p1010rdb_32b.dtsi" -}; - -/include/ "p1010rdb.dtsi" -/include/ "p1010rdb-pa.dtsi" -/include/ "p1010si-post.dtsi" +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * P1010 RDB Device Tree Source + * + * Copyright 2011 Freescale Semiconductor Inc. + */ + +/include/ "p1010si-pre.dtsi" + +/ { + model = "fsl,P1010RDB"; + compatible = "fsl,P1010RDB"; + + /include/ "p1010rdb_32b.dtsi" +}; + +/include/ "p1010rdb.dtsi" +/include/ "p1010rdb-pa.dtsi" +/include/ "p1010si-post.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/pq3-power.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/pq3-power.dtsi index fbafc6ed4e..6af1240100 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/pq3-power.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/pq3-power.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+) -/* - * Copyright 2024 NXP - */ - -power@e0070 { - compatible = "fsl,mpc8548-pmc"; - reg = <0xe0070 0x20>; - - etsec1_clk: soc-clk@24 { - fsl,pmcdr-mask = <0x00000080>; - }; - etsec2_clk: soc-clk@25 { - fsl,pmcdr-mask = <0x00000040>; - }; - etsec3_clk: soc-clk@26 { - fsl,pmcdr-mask = <0x00000020>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+) +/* + * Copyright 2024 NXP + */ + +power@e0070 { + compatible = "fsl,mpc8548-pmc"; + reg = <0xe0070 0x20>; + + etsec1_clk: soc-clk@24 { + fsl,pmcdr-mask = <0x00000080>; + }; + etsec2_clk: soc-clk@25 { + fsl,pmcdr-mask = <0x00000040>; + }; + etsec3_clk: soc-clk@26 { + fsl,pmcdr-mask = <0x00000020>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/epapr-wrapper.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/epapr-wrapper.c index 7a683b03f6..01262f50b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/epapr-wrapper.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/epapr-wrapper.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -extern void epapr_platform_init(unsigned long r3, unsigned long r4, - unsigned long r5, unsigned long r6, - unsigned long r7); - -void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, - unsigned long r6, unsigned long r7) -{ - epapr_platform_init(r3, r4, r5, r6, r7); -} +// SPDX-License-Identifier: GPL-2.0 +extern void epapr_platform_init(unsigned long r3, unsigned long r4, + unsigned long r5, unsigned long r6, + unsigned long r7); + +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, + unsigned long r6, unsigned long r7) +{ + epapr_platform_init(r3, r4, r5, r6, r7); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixed-head.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixed-head.S index 2091f9760f..4346c750ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixed-head.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixed-head.S @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - .text - .global _zimage_start -_zimage_start: - b _zimage_start_lib +/* SPDX-License-Identifier: GPL-2.0 */ + .text + .global _zimage_start +_zimage_start: + b _zimage_start_lib diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fsl-soc.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fsl-soc.h index 943e17206d..00b2cb89ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fsl-soc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fsl-soc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_FSL_SOC_H_ -#define _PPC_BOOT_FSL_SOC_H_ - -#include "types.h" - -u32 *fsl_get_immr(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_FSL_SOC_H_ +#define _PPC_BOOT_FSL_SOC_H_ + +#include "types.h" + +u32 *fsl_get_immr(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/motload-head.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/motload-head.S index 558f339d2c..826dad0c19 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/motload-head.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/motload-head.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include "ppc_asm.h" - - .text - .globl _zimage_start -_zimage_start: - mfmsr r10 - rlwinm r10,r10,0,~(1<<15) /* Clear MSR_EE */ - sync - mtmsr r10 - isync - b _zimage_start_lib +/* SPDX-License-Identifier: GPL-2.0 */ +#include "ppc_asm.h" + + .text + .globl _zimage_start +_zimage_start: + mfmsr r10 + rlwinm r10,r10,0,~(1<<15) /* Clear MSR_EE */ + sync + mtmsr r10 + isync + b _zimage_start_lib diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mpc8xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mpc8xx.h index 3e8075a832..3852ed9004 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mpc8xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mpc8xx.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_MPC8xx_H_ -#define _PPC_BOOT_MPC8xx_H_ - -#include "types.h" - -void mpc8xx_set_clocks(u32 sysclk); - -u32 mpc885_get_clock(u32 crystal); -int mpc885_fixup_clocks(u32 crystal); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_MPC8xx_H_ +#define _PPC_BOOT_MPC8xx_H_ + +#include "types.h" + +void mpc8xx_set_clocks(u32 sysclk); + +u32 mpc885_get_clock(u32 crystal); +int mpc885_fixup_clocks(u32 crystal); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pq2.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pq2.h index a1c87f05ef..f577b3bec6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pq2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pq2.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_PQ2_H_ -#define _PPC_BOOT_PQ2_H_ - -#include "types.h" - -int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, - u32 *timebase, u32 *brgfreq); -void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq); -int pq2_fixup_clocks(u32 crystal); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_PQ2_H_ +#define _PPC_BOOT_PQ2_H_ + +#include "types.h" + +int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, + u32 *timebase, u32 *brgfreq); +void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq); +int pq2_fixup_clocks(u32 crystal); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pseries-head.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pseries-head.S index f9cb118612..1b1a638ce6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pseries-head.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/pseries-head.S @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include "ppc_asm.h" - - .text - - .globl _zimage_start -_zimage_start: - FIXUP_ENDIAN - b _zimage_start_lib +/* SPDX-License-Identifier: GPL-2.0 */ +#include "ppc_asm.h" + + .text + + .globl _zimage_start +_zimage_start: + FIXUP_ENDIAN + b _zimage_start_lib diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdbool.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdbool.h index 027d413adf..2dfe247ede 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdbool.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdbool.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) IBM Corporation 2016. - * - * This file is only necessary because some of the pre-boot decompressors - * expect stdbool.h to be available. - */ - -#include "types.h" +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) IBM Corporation 2016. + * + * This file is only necessary because some of the pre-boot decompressors + * expect stdbool.h to be available. + */ + +#include "types.h" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdint.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdint.h index 6ad8d8e45d..5cc5e87b00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdint.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdint.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) IBM Corporation 2016. - * - * This file is only necessary because some of the pre-boot decompressors - * expect stdint.h to be available. - */ - -#include "types.h" +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) IBM Corporation 2016. + * + * This file is only necessary because some of the pre-boot decompressors + * expect stdint.h to be available. + */ + +#include "types.h" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdlib.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdlib.h index 238fff076a..0a61fcd10f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdlib.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdlib.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_STDLIB_H_ -#define _PPC_BOOT_STDLIB_H_ - -unsigned long long int strtoull(const char *ptr, char **end, int base); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_STDLIB_H_ +#define _PPC_BOOT_STDLIB_H_ + +unsigned long long int strtoull(const char *ptr, char **end, int base); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-32bit.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-32bit.config index 78bda7448e..a85310bcb1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-32bit.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-32bit.config @@ -1,6 +1,6 @@ -CONFIG_PPC64=n -CONFIG_HIGHMEM=y -CONFIG_KEXEC=y -CONFIG_PPC_85xx=y -CONFIG_PROC_KCORE=y -CONFIG_PHYS_64BIT=y +CONFIG_PPC64=n +CONFIG_HIGHMEM=y +CONFIG_KEXEC=y +CONFIG_PPC_85xx=y +CONFIG_PROC_KCORE=y +CONFIG_PHYS_64BIT=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-64bit.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-64bit.config index 233f7cb23d..4aba812228 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-64bit.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/85xx-64bit.config @@ -1,4 +1,4 @@ -CONFIG_MATH_EMULATION=y -CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y -CONFIG_PPC64=y -CONFIG_PPC_BOOK3E_64=y +CONFIG_MATH_EMULATION=y +CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y +CONFIG_PPC64=y +CONFIG_PPC_BOOK3E_64=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/debug.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/debug.config index 45be5dafb7..bcc1fcf25e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/debug.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/debug.config @@ -1,5 +1,5 @@ -CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y -CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y -CONFIG_PPC_KUAP_DEBUG=y -CONFIG_PPC_RFI_SRR_DEBUG=y -CONFIG_SCOM_DEBUGFS=y +CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y +CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y +CONFIG_PPC_KUAP_DEBUG=y +CONFIG_PPC_RFI_SRR_DEBUG=y +CONFIG_SCOM_DEBUGFS=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/dpaa.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/dpaa.config index 9bf67bcd94..4ffacafe40 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/dpaa.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/dpaa.config @@ -1,5 +1,5 @@ -CONFIG_FSL_DPAA=y -CONFIG_FSL_PAMU=y -CONFIG_FSL_FMAN=y -CONFIG_FSL_DPAA_ETH=y -CONFIG_CORTINA_PHY=y +CONFIG_FSL_DPAA=y +CONFIG_FSL_PAMU=y +CONFIG_FSL_FMAN=y +CONFIG_FSL_DPAA_ETH=y +CONFIG_CORTINA_PHY=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/guest.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/guest.config index 3d208eda71..fece834872 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/guest.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/guest.config @@ -1,14 +1,14 @@ -CONFIG_VIRTIO_BLK=y -CONFIG_SCSI_VIRTIO=y -CONFIG_VIRTIO_NET=y -CONFIG_NET_FAILOVER=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO=y -CONFIG_VIRTIO_PCI=y -CONFIG_KVM_GUEST=y -CONFIG_EPAPR_PARAVIRT=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VHOST_NET=y -CONFIG_VHOST=y -CONFIG_IBMVETH=y -CONFIG_IBMVNIC=y +CONFIG_VIRTIO_BLK=y +CONFIG_SCSI_VIRTIO=y +CONFIG_VIRTIO_NET=y +CONFIG_NET_FAILOVER=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO=y +CONFIG_VIRTIO_PCI=y +CONFIG_KVM_GUEST=y +CONFIG_EPAPR_PARAVIRT=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VHOST_NET=y +CONFIG_VHOST=y +CONFIG_IBMVETH=y +CONFIG_IBMVNIC=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/hardening.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/hardening.config index 78b0e38ffd..4e9bba327e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/hardening.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/hardening.config @@ -1,10 +1,10 @@ -# PowerPC specific hardening options - -# Block kernel from unexpectedly reading userspace memory. -CONFIG_PPC_KUAP=y - -# Attack surface reduction. -# CONFIG_SCOM_DEBUGFS is not set - -# Disable internal kernel debugger. -# CONFIG_XMON is not set +# PowerPC specific hardening options + +# Block kernel from unexpectedly reading userspace memory. +CONFIG_PPC_KUAP=y + +# Attack surface reduction. +# CONFIG_SCOM_DEBUGFS is not set + +# Disable internal kernel debugger. +# CONFIG_XMON is not set diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc86xx_base.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc86xx_base.config index a94ca57bf4..632c014b12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc86xx_base.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc86xx_base.config @@ -1,8 +1,8 @@ -CONFIG_PPC_86xx=y -CONFIG_GEF_PPC9A=y -CONFIG_GEF_SBC310=y -CONFIG_GEF_SBC610=y -CONFIG_MVME7100=y -CONFIG_HIGHMEM=y -CONFIG_KEXEC=y -CONFIG_PROC_KCORE=y +CONFIG_PPC_86xx=y +CONFIG_GEF_PPC9A=y +CONFIG_GEF_SBC310=y +CONFIG_GEF_SBC610=y +CONFIG_MVME7100=y +CONFIG_HIGHMEM=y +CONFIG_KEXEC=y +CONFIG_PROC_KCORE=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/crypto/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/crypto/.gitignore index 2be1ed4ec7..e9fe73aac8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/crypto/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/crypto/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -aesp10-ppc.S -aesp8-ppc.S -ghashp10-ppc.S -ghashp8-ppc.S +# SPDX-License-Identifier: GPL-2.0-only +aesp10-ppc.S +aesp8-ppc.S +ghashp10-ppc.S +ghashp8-ppc.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/Kbuild index 637876e31c..e5fdc336c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/Kbuild @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table_32.h -generated-y += syscall_table_64.h -generated-y += syscall_table_spu.h -generic-y += agp.h -generic-y += kvm_types.h -generic-y += mcs_spinlock.h -generic-y += qrwlock.h -generic-y += early_ioremap.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table_32.h +generated-y += syscall_table_64.h +generated-y += syscall_table_spu.h +generic-y += agp.h +generic-y += kvm_types.h +generic-y += mcs_spinlock.h +generic-y += qrwlock.h +generic-y += early_ioremap.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm.h index de45119c91..86f46b604e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_ASM_H -#define _ASM_POWERPC_ASM_H - -#define _ASM_PTR " .long " - -#endif /* _ASM_POWERPC_ASM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_ASM_H +#define _ASM_POWERPC_ASM_H + +#define _ASM_PTR " .long " + +#endif /* _ASM_POWERPC_ASM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgtable.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgtable.h index 37a3441381..f42d68c6b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgtable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgtable.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_BOOK3S_PGTABLE_H -#define _ASM_POWERPC_BOOK3S_PGTABLE_H - -#ifdef CONFIG_PPC64 -#include -#else -#include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_BOOK3S_PGTABLE_H +#define _ASM_POWERPC_BOOK3S_PGTABLE_H + +#ifdef CONFIG_PPC64 +#include +#else +#include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/tlbflush.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/tlbflush.h index 15b7c608dd..dec11de410 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/tlbflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/tlbflush.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_BOOK3S_TLBFLUSH_H -#define _ASM_POWERPC_BOOK3S_TLBFLUSH_H - -#ifdef CONFIG_PPC64 -#include -#else -#include -#endif - -#endif /* _ASM_POWERPC_BOOK3S_TLBFLUSH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_BOOK3S_TLBFLUSH_H +#define _ASM_POWERPC_BOOK3S_TLBFLUSH_H + +#ifdef CONFIG_PPC64 +#include +#else +#include +#endif + +#endif /* _ASM_POWERPC_BOOK3S_TLBFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/bpf_perf_event.h index b5047a471f..e8a7b4ffb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_BPF_PERF_EVENT_H -#define _ASM_POWERPC_BPF_PERF_EVENT_H - -#include - -typedef struct user_pt_regs bpf_user_pt_regs_t; - -#endif /* _ASM_POWERPC_BPF_PERF_EVENT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_BPF_PERF_EVENT_H +#define _ASM_POWERPC_BPF_PERF_EVENT_H + +#include + +typedef struct user_pt_regs bpf_user_pt_regs_t; + +#endif /* _ASM_POWERPC_BPF_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/clocksource.h index d8485e0073..0a26ef13a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_CLOCKSOURCE_H -#define _ASM_POWERPC_CLOCKSOURCE_H - -#include - -#endif /* _ASM_POWERPC_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_CLOCKSOURCE_H +#define _ASM_POWERPC_CLOCKSOURCE_H + +#include + +#endif /* _ASM_POWERPC_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/context_tracking.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/context_tracking.h index d4ce741482..4b63931c49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/context_tracking.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/context_tracking.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_CONTEXT_TRACKING_H -#define _ASM_POWERPC_CONTEXT_TRACKING_H - -#ifdef CONFIG_CONTEXT_TRACKING_USER -#define SCHEDULE_USER bl schedule_user -#else -#define SCHEDULE_USER bl schedule -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_CONTEXT_TRACKING_H +#define _ASM_POWERPC_CONTEXT_TRACKING_H + +#ifdef CONFIG_CONTEXT_TRACKING_USER +#define SCHEDULE_USER bl schedule_user +#else +#define SCHEDULE_USER bl schedule +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/exec.h index a9f2481235..92cac48512 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/exec.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 1999 Cort Dougan - */ -#ifndef _ASM_POWERPC_EXEC_H -#define _ASM_POWERPC_EXEC_H - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* _ASM_POWERPC_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 1999 Cort Dougan + */ +#ifndef _ASM_POWERPC_EXEC_H +#define _ASM_POWERPC_EXEC_H + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* _ASM_POWERPC_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/grackle.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/grackle.h index 29ab5578f4..7376e3fa15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/grackle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/grackle.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_GRACKLE_H -#define _ASM_POWERPC_GRACKLE_H -#ifdef __KERNEL__ -/* - * Functions for setting up and using a MPC106 northbridge - */ - -#include - -extern void setup_grackle(struct pci_controller *hose); -#endif /* __KERNEL__ */ -#endif /* _ASM_POWERPC_GRACKLE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_GRACKLE_H +#define _ASM_POWERPC_GRACKLE_H +#ifdef __KERNEL__ +/* + * Functions for setting up and using a MPC106 northbridge + */ + +#include + +extern void setup_grackle(struct pci_controller *hose); +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_GRACKLE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irq_work.h index ba394158df..c6d3078bd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irq_work.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_IRQ_WORK_H -#define _ASM_POWERPC_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return true; -} - -#endif /* _ASM_POWERPC_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_IRQ_WORK_H +#define _ASM_POWERPC_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return true; +} + +#endif /* _ASM_POWERPC_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irqflags.h index 2ef8bf454f..47d4671292 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/irqflags.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * IRQ flags handling - */ -#ifndef _ASM_IRQFLAGS_H -#define _ASM_IRQFLAGS_H - -#ifndef __ASSEMBLY__ -/* - * Get definitions for arch_local_save_flags(x), etc. - */ -#include - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * IRQ flags handling + */ +#ifndef _ASM_IRQFLAGS_H +#define _ASM_IRQFLAGS_H + +#ifndef __ASSEMBLY__ +/* + * Get definitions for arch_local_save_flags(x), etc. + */ +#include + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kdebug.h index 13afcf1c6b..0f7c1ef37d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kdebug.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_KDEBUG_H -#define _ASM_POWERPC_KDEBUG_H -#ifdef __KERNEL__ - -/* Grossly misnamed. */ -enum die_val { - DIE_OOPS = 1, - DIE_IABR_MATCH, - DIE_DABR_MATCH, - DIE_BPT, - DIE_SSTEP, -}; - -#endif /* __KERNEL__ */ -#endif /* _ASM_POWERPC_KDEBUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_KDEBUG_H +#define _ASM_POWERPC_KDEBUG_H +#ifdef __KERNEL__ + +/* Grossly misnamed. */ +enum die_val { + DIE_OOPS = 1, + DIE_IABR_MATCH, + DIE_DABR_MATCH, + DIE_BPT, + DIE_SSTEP, +}; + +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_KDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/libata-portmap.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/libata-portmap.h index 65c18a16ec..7c602da625 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/libata-portmap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/libata-portmap.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_POWERPC_LIBATA_PORTMAP_H -#define __ASM_POWERPC_LIBATA_PORTMAP_H - -#define ATA_PRIMARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 0) - -#define ATA_SECONDARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 1) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_POWERPC_LIBATA_PORTMAP_H +#define __ASM_POWERPC_LIBATA_PORTMAP_H + +#define ATA_PRIMARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 0) + +#define ATA_SECONDARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/module.lds.h index 02237ec733..cea5dc124b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/module.lds.h @@ -1,8 +1,8 @@ -/* Force alignment of .toc section. */ -SECTIONS -{ - .toc 0 : ALIGN(256) - { - *(.got .toc) - } -} +/* Force alignment of .toc section. */ +SECTIONS +{ + .toc 0 : ALIGN(256) + { + *(.got .toc) + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc6xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc6xx.h index 637b8b0d73..6ed9f4ccc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc6xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc6xx.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_POWERPC_MPC6xx_H -#define __ASM_POWERPC_MPC6xx_H - -void mpc6xx_enter_standby(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_POWERPC_MPC6xx_H +#define __ASM_POWERPC_MPC6xx_H + +void mpc6xx_enter_standby(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/ppc4xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/ppc4xx.h index e9a3588ac6..b37119e485 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/ppc4xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/ppc4xx.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * PPC4xx Prototypes and definitions - * - * Copyright 2008 DENX Software Engineering, Stefan Roese - */ - -#ifndef __ASM_POWERPC_PPC4xx_H__ -#define __ASM_POWERPC_PPC4xx_H__ - -extern void __noreturn ppc4xx_reset_system(char *cmd); - -#endif /* __ASM_POWERPC_PPC4xx_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * PPC4xx Prototypes and definitions + * + * Copyright 2008 DENX Software Engineering, Stefan Roese + */ + +#ifndef __ASM_POWERPC_PPC4xx_H__ +#define __ASM_POWERPC_PPC4xx_H__ + +extern void __noreturn ppc4xx_reset_system(char *cmd); + +#endif /* __ASM_POWERPC_PPC4xx_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/shmparam.h index 3fa3759a1b..bc09688395 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/shmparam.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_SHMPARAM_H -#define _ASM_POWERPC_SHMPARAM_H - -#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ - -#endif /* _ASM_POWERPC_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_SHMPARAM_H +#define _ASM_POWERPC_SHMPARAM_H + +#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ + +#endif /* _ASM_POWERPC_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spu_info.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spu_info.h index aa78e88d2f..732431034a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spu_info.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spu_info.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * SPU info structures - * - * (C) Copyright 2006 IBM Corp. - * - * Author: Dwayne Grant McConnell - */ -#ifndef _SPU_INFO_H -#define _SPU_INFO_H - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * SPU info structures + * + * (C) Copyright 2006 IBM Corp. + * + * Author: Dwayne Grant McConnell + */ +#ifndef _SPU_INFO_H +#define _SPU_INFO_H + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stacktrace.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stacktrace.h index d600e06331..6149b53b3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stacktrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stacktrace.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Stack trace functions. - * - * Copyright 2018, Murilo Opsfelder Araujo, IBM Corporation. - */ - -#ifndef _ASM_POWERPC_STACKTRACE_H -#define _ASM_POWERPC_STACKTRACE_H - -void show_user_instructions(struct pt_regs *regs); - -#endif /* _ASM_POWERPC_STACKTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Stack trace functions. + * + * Copyright 2018, Murilo Opsfelder Araujo, IBM Corporation. + */ + +#ifndef _ASM_POWERPC_STACKTRACE_H +#define _ASM_POWERPC_STACKTRACE_H + +void show_user_instructions(struct pt_regs *regs); + +#endif /* _ASM_POWERPC_STACKTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swab.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swab.h index 29c2442021..f4cfdc1246 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swab.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swab.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - */ -#ifndef _ASM_POWERPC_SWAB_H -#define _ASM_POWERPC_SWAB_H - -#include - -#endif /* _ASM_POWERPC_SWAB_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + */ +#ifndef _ASM_POWERPC_SWAB_H +#define _ASM_POWERPC_SWAB_H + +#include + +#endif /* _ASM_POWERPC_SWAB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/tlbflush.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/tlbflush.h index e08632ce81..61fba43bf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/tlbflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/tlbflush.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_TLBFLUSH_H -#define _ASM_POWERPC_TLBFLUSH_H - -#ifdef CONFIG_PPC_BOOK3S -#include -#else -#include -#endif /* !CONFIG_PPC_BOOK3S */ - -#endif /* _ASM_POWERPC_TLBFLUSH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_TLBFLUSH_H +#define _ASM_POWERPC_TLBFLUSH_H + +#ifdef CONFIG_PPC_BOOK3S +#include +#else +#include +#endif /* !CONFIG_PPC_BOOK3S */ + +#endif /* _ASM_POWERPC_TLBFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vdso/clocksource.h index b88db2ba1c..c1ba56b82e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vdso/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_VDSO_CLOCKSOURCE_H -#define _ASM_POWERPC_VDSO_CLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES VDSO_CLOCKMODE_ARCHTIMER - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_VDSO_CLOCKSOURCE_H +#define _ASM_POWERPC_VDSO_CLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES VDSO_CLOCKMODE_ARCHTIMER + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/Kbuild index adc0f4945a..353b70b199 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_32.h -generated-y += unistd_64.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_32.h +generated-y += unistd_64.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h index f65a972be5..46ece3ecff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_POWERPC_BITSPERLONG_H -#define __ASM_POWERPC_BITSPERLONG_H - -#if defined(__powerpc64__) -# define __BITS_PER_LONG 64 -#else -# define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_POWERPC_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_POWERPC_BITSPERLONG_H +#define __ASM_POWERPC_BITSPERLONG_H + +#if defined(__powerpc64__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_POWERPC_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/errno.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/errno.h index d404aebcad..4ba87de32b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/errno.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/errno.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_ERRNO_H -#define _ASM_POWERPC_ERRNO_H - -#undef EDEADLOCK -#include - -#undef EDEADLOCK -#define EDEADLOCK 58 /* File locking deadlock error */ - -#endif /* _ASM_POWERPC_ERRNO_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_ERRNO_H +#define _ASM_POWERPC_ERRNO_H + +#undef EDEADLOCK +#include + +#undef EDEADLOCK +#define EDEADLOCK 58 /* File locking deadlock error */ + +#endif /* _ASM_POWERPC_ERRNO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/ioctl.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/ioctl.h index 7cf3bef078..d623af4b9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/ioctl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/ioctl.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_IOCTL_H -#define _ASM_POWERPC_IOCTL_H - -#define _IOC_SIZEBITS 13 -#define _IOC_DIRBITS 3 - -#define _IOC_NONE 1U -#define _IOC_READ 2U -#define _IOC_WRITE 4U - -#include - -#endif /* _ASM_POWERPC_IOCTL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_IOCTL_H +#define _ASM_POWERPC_IOCTL_H + +#define _IOC_SIZEBITS 13 +#define _IOC_DIRBITS 3 + +#define _IOC_NONE 1U +#define _IOC_READ 2U +#define _IOC_WRITE 4U + +#include + +#endif /* _ASM_POWERPC_IOCTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-miscdev.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-miscdev.h index 57e90ad5a8..49a2a270b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-miscdev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-miscdev.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_PAPR_MISCDEV_H_ -#define _UAPI_PAPR_MISCDEV_H_ - -enum { - PAPR_MISCDEV_IOC_ID = 0xb2, -}; - -#endif /* _UAPI_PAPR_MISCDEV_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_PAPR_MISCDEV_H_ +#define _UAPI_PAPR_MISCDEV_H_ + +enum { + PAPR_MISCDEV_IOC_ID = 0xb2, +}; + +#endif /* _UAPI_PAPR_MISCDEV_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/setup.h index e729e0787c..c54940b09d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/setup.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_POWERPC_SETUP_H -#define _UAPI_ASM_POWERPC_SETUP_H - -#define COMMAND_LINE_SIZE 2048 - -#endif /* _UAPI_ASM_POWERPC_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_POWERPC_SETUP_H +#define _UAPI_ASM_POWERPC_SETUP_H + +#define COMMAND_LINE_SIZE 2048 + +#endif /* _UAPI_ASM_POWERPC_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/audit_32.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/audit_32.h index 7b6cd8132b..c6c79c3041 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/audit_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/audit_32.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef __AUDIT_32_H__ -#define __AUDIT_32_H__ - -extern int ppc32_classify_syscall(unsigned); - -#endif +// SPDX-License-Identifier: GPL-2.0 +#ifndef __AUDIT_32_H__ +#define __AUDIT_32_H__ + +extern int ppc32_classify_syscall(unsigned); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/dma-mask.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/dma-mask.c index fd6936250e..5b07ca7b73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/dma-mask.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/dma-mask.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include -#include -#include - -void arch_dma_set_mask(struct device *dev, u64 dma_mask) -{ - if (ppc_md.dma_set_mask) - ppc_md.dma_set_mask(dev, dma_mask); -} -EXPORT_SYMBOL(arch_dma_set_mask); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include + +void arch_dma_set_mask(struct device *dev, u64 dma_mask) +{ + if (ppc_md.dma_set_mask) + ppc_md.dma_set_mask(dev, dma_mask); +} +EXPORT_SYMBOL(arch_dma_set_mask); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/kdebugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/kdebugfs.c index dfdb222b4b..36d3124d5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/kdebugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/kdebugfs.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -struct dentry *arch_debugfs_dir; -EXPORT_SYMBOL(arch_debugfs_dir); - -static int __init arch_kdebugfs_init(void) -{ - arch_debugfs_dir = debugfs_create_dir("powerpc", NULL); - return 0; -} -arch_initcall(arch_kdebugfs_init); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +struct dentry *arch_debugfs_dir; +EXPORT_SYMBOL(arch_debugfs_dir); + +static int __init arch_kdebugfs_init(void) +{ + arch_debugfs_dir = debugfs_create_dir("powerpc", NULL); + return 0; +} +arch_initcall(arch_kdebugfs_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/trace/trace_clock.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/trace/trace_clock.c index 48520c9e83..b0143a3137 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/trace/trace_clock.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/trace/trace_clock.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2015 Naveen N. Rao, IBM Corporation - */ - -#include -#include - -u64 notrace trace_clock_ppc_tb(void) -{ - return get_tb(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2015 Naveen N. Rao, IBM Corporation + */ + +#include +#include + +u64 notrace trace_clock_ppc_tb(void) +{ + return get_tb(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ucall.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ucall.S index ac4cf66688..80a1f9a430 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ucall.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ucall.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Generic code to perform an ultravisor call. - * - * Copyright 2019, IBM Corporation. - * - */ -#include -#include - -_GLOBAL(ucall_norets) -EXPORT_SYMBOL_GPL(ucall_norets) - sc 2 /* Invoke the ultravisor */ - blr /* Return r3 = status */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Generic code to perform an ultravisor call. + * + * Copyright 2019, IBM Corporation. + * + */ +#include +#include + +_GLOBAL(ucall_norets) +EXPORT_SYMBOL_GPL(ucall_norets) + sc 2 /* Invoke the ultravisor */ + blr /* Return r3 = status */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/.gitignore index 339079dbce..dd9bdd6775 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -vdso32.lds -vdso32.so.dbg -vdso64.lds -vdso64.so.dbg +# SPDX-License-Identifier: GPL-2.0-only +vdso32.lds +vdso32.so.dbg +vdso64.lds +vdso64.so.dbg diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso32_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso32_wrapper.S index 93e99a2db6..10f92f265d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso32_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso32_wrapper.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso32_start, vdso32_end - .balign PAGE_SIZE -vdso32_start: - .incbin "arch/powerpc/kernel/vdso/vdso32.so.dbg" - .balign PAGE_SIZE -vdso32_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso32_start, vdso32_end + .balign PAGE_SIZE +vdso32_start: + .incbin "arch/powerpc/kernel/vdso/vdso32.so.dbg" + .balign PAGE_SIZE +vdso32_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso64_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso64_wrapper.S index e55b02cf69..839d1a6141 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso64_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso64_wrapper.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso64_start, vdso64_end - .balign PAGE_SIZE -vdso64_start: - .incbin "arch/powerpc/kernel/vdso/vdso64.so.dbg" - .balign PAGE_SIZE -vdso64_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso64_start, vdso64_end + .balign PAGE_SIZE +vdso64_start: + .incbin "arch/powerpc/kernel/vdso/vdso64.so.dbg" + .balign PAGE_SIZE +vdso64_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fabs.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fabs.c index 1d4a8a92f0..3b62fd70b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fabs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fabs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -fabs(u32 *frD, u32 *frB) -{ - frD[0] = frB[0] & 0x7fffffff; - frD[1] = frB[1]; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +fabs(u32 *frD, u32 *frB) +{ + frD[0] = frB[0] & 0x7fffffff; + frD[1] = frB[1]; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fmr.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fmr.c index 6158355565..48c6437428 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fmr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fmr.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -fmr(u32 *frD, u32 *frB) -{ - frD[0] = frB[0]; - frD[1] = frB[1]; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +fmr(u32 *frD, u32 *frB) +{ + frD[0] = frB[0]; + frD[1] = frB[1]; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fnabs.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fnabs.c index 014bcbe259..6c439e6c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fnabs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fnabs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -fnabs(u32 *frD, u32 *frB) -{ - frD[0] = frB[0] | 0x80000000; - frD[1] = frB[1]; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +fnabs(u32 *frD, u32 *frB) +{ + frD[0] = frB[0] | 0x80000000; + frD[1] = frB[1]; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fneg.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fneg.c index d39d8b7816..791e724f71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fneg.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fneg.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -fneg(u32 *frD, u32 *frB) -{ - frD[0] = frB[0] ^ 0x80000000; - frD[1] = frB[1]; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +fneg(u32 *frD, u32 *frB) +{ + frD[0] = frB[0] ^ 0x80000000; + frD[1] = frB[1]; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fre.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fre.c index fb1c5403a3..584b16f533 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fre.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fre.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int fre(void *frD, void *frB) -{ -#ifdef DEBUG - printk("%s: %p %p\n", __func__, frD, frB); -#endif - return -ENOSYS; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int fre(void *frD, void *frB) +{ +#ifdef DEBUG + printk("%s: %p %p\n", __func__, frD, frB); +#endif + return -ENOSYS; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fres.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fres.c index 8a8201ba15..f7d5654ce7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fres.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fres.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -fres(void *frD, void *frB) -{ -#ifdef DEBUG - printk("%s: %p %p\n", __func__, frD, frB); -#endif - return -ENOSYS; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +fres(void *frD, void *frB) +{ +#ifdef DEBUG + printk("%s: %p %p\n", __func__, frD, frB); +#endif + return -ENOSYS; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrte.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrte.c index c3e679f619..72955b27c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrte.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrte.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -frsqrte(void *frD, void *frB) -{ -#ifdef DEBUG - printk("%s: %p %p\n", __func__, frD, frB); -#endif - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +frsqrte(void *frD, void *frB) +{ +#ifdef DEBUG + printk("%s: %p %p\n", __func__, frD, frB); +#endif + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrtes.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrtes.c index 8cda8a21d7..a036f7b714 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrtes.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsqrtes.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int frsqrtes(void *frD, void *frB) -{ -#ifdef DEBUG - printk("%s: %p %p\n", __func__, frD, frB); -#endif - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int frsqrtes(void *frD, void *frB) +{ +#ifdef DEBUG + printk("%s: %p %p\n", __func__, frD, frB); +#endif + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mffs.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mffs.c index d65ee6bd9e..d42f1278e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mffs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mffs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -mffs(u32 *frD) -{ - frD[1] = __FPU_FPSCR; - -#ifdef DEBUG - printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +mffs(u32 *frD) +{ + frD[1] = __FPU_FPSCR; + +#ifdef DEBUG + printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfd.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfd.c index 8f7c236483..463d2f0832 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfd.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfd.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -stfd(void *frS, void *ea) -{ -#if 0 -#ifdef DEBUG - printk("%s: S %p, ea %p: ", __func__, frS, ea); - dump_double(frS); - printk("\n"); -#endif -#endif - - if (copy_to_user(ea, frS, sizeof(double))) - return -EFAULT; - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +stfd(void *frS, void *ea) +{ +#if 0 +#ifdef DEBUG + printk("%s: S %p, ea %p: ", __func__, frS, ea); + dump_double(frS); + printk("\n"); +#endif +#endif + + if (copy_to_user(ea, frS, sizeof(double))) + return -EFAULT; + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfiwx.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfiwx.c index 47ebe079dd..24ae9622fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfiwx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/stfiwx.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int -stfiwx(u32 *frS, void *ea) -{ -#ifdef DEBUG - printk("%s: %p %p\n", __func__, frS, ea); -#endif - - if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) - return -EFAULT; - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int +stfiwx(u32 *frS, void *ea) +{ +#ifdef DEBUG + printk("%s: %p %p\n", __func__, frS, ea); +#endif + + if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) + return -EFAULT; + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/Makefile index 5a5f2937b9..50dd8f6bdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -KASAN_SANITIZE_mmu.o := n - -ifdef CONFIG_KASAN -CFLAGS_mmu.o += -DDISABLE_BRANCH_PROFILING -endif - -obj-y += mmu.o mmu_context.o -obj-$(CONFIG_PPC_BOOK3S_603) += nohash_low.o -obj-$(CONFIG_PPC_BOOK3S_604) += hash_low.o tlb.o -obj-$(CONFIG_PPC_KUAP) += kuap.o +# SPDX-License-Identifier: GPL-2.0 + +KASAN_SANITIZE_mmu.o := n + +ifdef CONFIG_KASAN +CFLAGS_mmu.o += -DDISABLE_BRANCH_PROFILING +endif + +obj-y += mmu.o mmu_context.o +obj-$(CONFIG_PPC_BOOK3S_603) += nohash_low.o +obj-$(CONFIG_PPC_BOOK3S_604) += hash_low.o tlb.o +obj-$(CONFIG_PPC_KUAP) += kuap.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s64/trace.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s64/trace.c index 3452a1589f..ccd64b5e6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s64/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s64/trace.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * This file is for defining trace points and trace related helpers. - */ -#ifdef CONFIG_TRANSPARENT_HUGEPAGE -#include -#endif +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * This file is for defining trace points and trace related helpers. + */ +#ifdef CONFIG_TRANSPARENT_HUGEPAGE +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/kasan/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/kasan/Makefile index 27428526a2..f9522fd70b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/kasan/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/kasan/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -KASAN_SANITIZE := n -KCOV_INSTRUMENT := n - -obj-$(CONFIG_PPC32) += init_32.o -obj-$(CONFIG_PPC_8xx) += 8xx.o -obj-$(CONFIG_PPC_BOOK3S_32) += book3s_32.o -obj-$(CONFIG_PPC_BOOK3S_64) += init_book3s_64.o -obj-$(CONFIG_PPC_BOOK3E_64) += init_book3e_64.o +# SPDX-License-Identifier: GPL-2.0 + +KASAN_SANITIZE := n +KCOV_INSTRUMENT := n + +obj-$(CONFIG_PPC32) += init_32.o +obj-$(CONFIG_PPC_8xx) += 8xx.o +obj-$(CONFIG_PPC_BOOK3S_32) += book3s_32.o +obj-$(CONFIG_PPC_BOOK3S_64) += init_book3s_64.o +obj-$(CONFIG_PPC_BOOK3E_64) += init_book3e_64.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/maccess.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/maccess.c index b74519b415..ea821d0ffe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/maccess.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/maccess.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -#include -#include -#include - -bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) -{ - return is_kernel_addr((unsigned long)unsafe_src); -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +#include +#include +#include + +bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) +{ + return is_kernel_addr((unsigned long)unsafe_src); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/net/Makefile index c9a1e75e6b..8e60af32e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/net/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Arch-specific network modules -# -obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o bpf_jit_comp$(BITS).o +# SPDX-License-Identifier: GPL-2.0 +# +# Arch-specific network modules +# +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o bpf_jit_comp$(BITS).o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_clear.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_clear.h index 6f169c4ec6..67c3859157 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_clear.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_clear.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#undef __field_ -#undef __count_ -#undef __array_ -#undef REQUEST_ +/* SPDX-License-Identifier: GPL-2.0 */ + +#undef __field_ +#undef __count_ +#undef __array_ +#undef REQUEST_ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-end.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-end.h index 35a5253b35..7d9f4046c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-end.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-end.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef REQUEST -#undef __field -#undef __array -#undef __count - -#undef REQUEST_NAME -#undef REQUEST_NUM -#undef REQUEST_IDX_KIND +/* SPDX-License-Identifier: GPL-2.0 */ +#undef REQUEST +#undef __field +#undef __array +#undef __count + +#undef REQUEST_NAME +#undef REQUEST_NUM +#undef REQUEST_IDX_KIND diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/44x.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/44x.h index e52350feb9..0e912a6a0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/44x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/44x.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __POWERPC_PLATFORMS_44X_44X_H -#define __POWERPC_PLATFORMS_44X_44X_H - -extern u8 as1_readb(volatile u8 __iomem *addr); -extern void as1_writeb(u8 data, volatile u8 __iomem *addr); - -#define GPIO0_OSRH 0xC -#define GPIO0_TSRH 0x14 -#define GPIO0_ISR1H 0x34 - -#endif /* __POWERPC_PLATFORMS_44X_44X_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __POWERPC_PLATFORMS_44X_44X_H +#define __POWERPC_PLATFORMS_44X_44X_H + +extern u8 as1_readb(volatile u8 __iomem *addr); +extern void as1_writeb(u8 data, volatile u8 __iomem *addr); + +#define GPIO0_OSRH 0xC +#define GPIO0_TSRH 0x14 +#define GPIO0_ISR1H 0x34 + +#endif /* __POWERPC_PLATFORMS_44X_44X_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/ppc476_modules.lds b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/ppc476_modules.lds index 21c1a95af5..9fec5d34ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/ppc476_modules.lds +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/ppc476_modules.lds @@ -1,15 +1,15 @@ -SECTIONS -{ - .text : ALIGN(4096) - { - *(.text .text.* .fixup) - } - .init.text : ALIGN(4096) - { - *(.init.text .init.text.*) - } - .exit.text : ALIGN(4096) - { - *(.exit.text .exit.text.*) - } -} +SECTIONS +{ + .text : ALIGN(4096) + { + *(.text .text.* .fixup) + } + .init.text : ALIGN(4096) + { + *(.init.text .init.text.*) + } + .exit.text : ALIGN(4096) + { + *(.exit.text .exit.text.*) + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/Makefile index 086fed2506..4fa43a5cd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the PowerPC 82xx linux kernel. -# -obj-$(CONFIG_CPM2) += pq2.o -obj-$(CONFIG_EP8248E) += ep8248e.o -obj-$(CONFIG_MGCOGE) += km82xx.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the PowerPC 82xx linux kernel. +# +obj-$(CONFIG_CPM2) += pq2.o +obj-$(CONFIG_EP8248E) += ep8248e.o +obj-$(CONFIG_MGCOGE) += km82xx.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/pq2.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/pq2.h index 7f4cfd01f3..902ef0bd49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/pq2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/82xx/pq2.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PQ2_H -#define _PQ2_H - -void __noreturn pq2_restart(char *cmd); - -#ifdef CONFIG_PCI -int pq2ads_pci_init_irq(void); -void pq2_init_pci(void); -#else -static inline int pq2ads_pci_init_irq(void) -{ - return 0; -} - -static inline void pq2_init_pci(void) -{ -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PQ2_H +#define _PQ2_H + +void __noreturn pq2_restart(char *cmd); + +#ifdef CONFIG_PCI +int pq2ads_pci_init_irq(void); +void pq2_init_pci(void); +#else +static inline int pq2ads_pci_init_irq(void) +{ + return 0; +} + +static inline void pq2_init_pci(void) +{ +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/smp.h index 8a0d00e9e8..3936ff6dfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/smp.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef POWERPC_85XX_SMP_H_ -#define POWERPC_85XX_SMP_H_ 1 - -#include - -#ifdef CONFIG_SMP -void __init mpc85xx_smp_init(void); -int __init mpc85xx_setup_pmc(void); -#else -static inline void mpc85xx_smp_init(void) -{ - /* Nothing to do */ -} -#endif - -#endif /* not POWERPC_85XX_SMP_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef POWERPC_85XX_SMP_H_ +#define POWERPC_85XX_SMP_H_ 1 + +#include + +#ifdef CONFIG_SMP +void __init mpc85xx_smp_init(void); +int __init mpc85xx_setup_pmc(void); +#else +static inline void mpc85xx_smp_init(void) +{ + /* Nothing to do */ +} +#endif + +#endif /* not POWERPC_85XX_SMP_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/socrates_fpga_pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/socrates_fpga_pic.h index 6f63445be5..c50b23794a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/socrates_fpga_pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/socrates_fpga_pic.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2008 Ilya Yanok, Emcraft Systems - */ - -#ifndef SOCRATES_FPGA_PIC_H -#define SOCRATES_FPGA_PIC_H - -void __init socrates_fpga_pic_init(struct device_node *pic); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2008 Ilya Yanok, Emcraft Systems + */ + +#ifndef SOCRATES_FPGA_PIC_H +#define SOCRATES_FPGA_PIC_H + +void __init socrates_fpga_pic_init(struct device_node *pic); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/Makefile index a3f58cd880..dafbc037ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the PowerPC 86xx linux kernel. -# - -obj-y := pic.o common.o -obj-$(CONFIG_SMP) += mpc86xx_smp.o -obj-$(CONFIG_GEF_SBC610) += gef_sbc610.o -obj-$(CONFIG_GEF_SBC310) += gef_sbc310.o -obj-$(CONFIG_GEF_PPC9A) += gef_ppc9a.o -obj-$(CONFIG_MVME7100) += mvme7100.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the PowerPC 86xx linux kernel. +# + +obj-y := pic.o common.o +obj-$(CONFIG_SMP) += mpc86xx_smp.o +obj-$(CONFIG_GEF_SBC610) += gef_sbc610.o +obj-$(CONFIG_GEF_SBC310) += gef_sbc310.o +obj-$(CONFIG_GEF_PPC9A) += gef_ppc9a.o +obj-$(CONFIG_MVME7100) += mvme7100.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Makefile index 79981c12a4..e790f1910f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_PPC_VAS) += vas-api.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_PPC_VAS) += vas-api.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/cell.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/cell.h index 33899ed56d..d5142e905a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/cell.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/cell.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Cell Platform common data structures - * - * Copyright 2015, Daniel Axtens, IBM Corporation - */ - -#ifndef CELL_H -#define CELL_H - -#include - -extern struct pci_controller_ops cell_pci_controller_ops; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Cell Platform common data structures + * + * Copyright 2015, Daniel Axtens, IBM Corporation + */ + +#ifndef CELL_H +#define CELL_H + +#include + +extern struct pci_controller_ops cell_pci_controller_ops; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/ras.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/ras.h index 1c417df58c..226dbd48ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/ras.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/ras.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef RAS_H -#define RAS_H - -#include - -DECLARE_INTERRUPT_HANDLER(cbe_system_error_exception); -DECLARE_INTERRUPT_HANDLER(cbe_maintenance_exception); -DECLARE_INTERRUPT_HANDLER(cbe_thermal_exception); - -extern void cbe_ras_init(void); - -#endif /* RAS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef RAS_H +#define RAS_H + +#include + +DECLARE_INTERRUPT_HANDLER(cbe_system_error_exception); +DECLARE_INTERRUPT_HANDLER(cbe_maintenance_exception); +DECLARE_INTERRUPT_HANDLER(cbe_thermal_exception); + +extern void cbe_ras_init(void); + +#endif /* RAS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spu_priv1_mmio.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spu_priv1_mmio.h index 0e4e7f6277..04f0db339d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spu_priv1_mmio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spu_priv1_mmio.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * spu hypervisor abstraction for direct hardware access. - * - * Copyright (C) 2006 Sony Computer Entertainment Inc. - * Copyright 2006 Sony Corp. - */ - -#ifndef SPU_PRIV1_MMIO_H -#define SPU_PRIV1_MMIO_H - -struct device_node *spu_devnode(struct spu *spu); - -#endif /* SPU_PRIV1_MMIO_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * spu hypervisor abstraction for direct hardware access. + * + * Copyright (C) 2006 Sony Computer Entertainment Inc. + * Copyright 2006 Sony Corp. + */ + +#ifndef SPU_PRIV1_MMIO_H +#define SPU_PRIV1_MMIO_H + +struct device_node *spu_devnode(struct spu *spu); + +#endif /* SPU_PRIV1_MMIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spufs/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spufs/.gitignore index 030a6e9251..5f3eb224f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spufs/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/spufs/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -spu_save_dump.h -spu_restore_dump.h +# SPDX-License-Identifier: GPL-2.0-only +spu_save_dump.h +spu_restore_dump.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Makefile index aa1818959f..05639db9a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += setup.o time.o pegasos_eth.o pci.o -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_NVRAM:m=y) += nvram.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y += setup.o time.o pegasos_eth.o pci.o +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_NVRAM:m=y) += nvram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/chrp.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/chrp.h index 7fa9391689..6ff4631d9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/chrp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/chrp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Declarations of CHRP platform-specific things. - */ - -extern void chrp_nvram_init(void); -extern void chrp_get_rtc_time(struct rtc_time *); -extern int chrp_set_rtc_time(struct rtc_time *); -extern long chrp_time_init(void); - -extern void chrp_find_bridges(void); +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Declarations of CHRP platform-specific things. + */ + +extern void chrp_nvram_init(void); +extern void chrp_get_rtc_time(struct rtc_time *); +extern int chrp_set_rtc_time(struct rtc_time *); +extern long chrp_time_init(void); + +extern void chrp_find_bridges(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/Kconfig index 49d86bcb7f..6af443a1db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_MICROWATT - depends on PPC_BOOK3S_64 && !SMP - bool "Microwatt SoC platform" - select PPC_XICS - select PPC_ICS_NATIVE - select PPC_ICP_NATIVE - select PPC_UDBG_16550 - help - This option enables support for FPGA-based Microwatt implementations. - +# SPDX-License-Identifier: GPL-2.0 +config PPC_MICROWATT + depends on PPC_BOOK3S_64 && !SMP + bool "Microwatt SoC platform" + select PPC_XICS + select PPC_ICS_NATIVE + select PPC_ICP_NATIVE + select PPC_UDBG_16550 + help + This option enables support for FPGA-based Microwatt implementations. + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/microwatt.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/microwatt.h index 6bffdae283..335417e95e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/microwatt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/microwatt/microwatt.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _MICROWATT_H -#define _MICROWATT_H - -void microwatt_rng_init(void); - -#endif /* _MICROWATT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _MICROWATT_H +#define _MICROWATT_H + +void microwatt_rng_init(void); + +#endif /* _MICROWATT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/Makefile index 8bef4adddf..d2ce954a50 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o -obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o -obj-$(CONFIG_PCI_MSI) += msi.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o +obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o +obj-$(CONFIG_PCI_MSI) += msi.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/time.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/time.c index a6cd95c1b8..70ac6db027 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pasemi/time.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2006 PA Semi, Inc - * - * Maintained by: Olof Johansson - */ - -#include - -#include - -#include "pasemi.h" - -time64_t __init pas_get_boot_time(void) -{ - /* Let's just return a fake date right now */ - return mktime64(2006, 1, 1, 12, 0, 0); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2006 PA Semi, Inc + * + * Maintained by: Olof Johansson + */ + +#include + +#include + +#include "pasemi.h" + +time64_t __init pas_get_boot_time(void) +{ + /* Let's just return a fake date right now */ + return mktime64(2006, 1, 1, 12, 0, 0); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/Makefile index eec30dd392..bc79bb124d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += setup.o mm.o time.o hvcall.o htab.o repository.o -obj-y += interrupt.o exports.o os-area.o -obj-y += system-bus.o - -obj-$(CONFIG_PPC_EARLY_DEBUG_PS3GELIC) += gelic_udbg.o -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_SPU_BASE) += spu.o -obj-y += device-init.o +# SPDX-License-Identifier: GPL-2.0 +obj-y += setup.o mm.o time.o hvcall.o htab.o repository.o +obj-y += interrupt.o exports.o os-area.o +obj-y += system-bus.o + +obj-$(CONFIG_PPC_EARLY_DEBUG_PS3GELIC) += gelic_udbg.o +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_SPU_BASE) += spu.o +obj-y += device-init.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/of_helpers.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/of_helpers.h index 9d1e38ef5b..decad6553d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/of_helpers.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/of_helpers.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PSERIES_OF_HELPERS_H -#define _PSERIES_OF_HELPERS_H - -#include - -struct device_node *pseries_of_derive_parent(const char *path); - -#endif /* _PSERIES_OF_HELPERS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PSERIES_OF_HELPERS_H +#define _PSERIES_OF_HELPERS_H + +#include + +struct device_node *pseries_of_derive_parent(const char *path); + +#endif /* _PSERIES_OF_HELPERS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/kexec-purgatory.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/kexec-purgatory.S index b04abfb0e8..f494fd5a05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/kexec-purgatory.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/kexec-purgatory.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - - .section .rodata, "a" - - .align 8 -kexec_purgatory: - .globl kexec_purgatory - .incbin "arch/powerpc/purgatory/purgatory.ro" -.Lkexec_purgatory_end: - - .align 8 -kexec_purgatory_size: - .globl kexec_purgatory_size - .quad .Lkexec_purgatory_end - kexec_purgatory +/* SPDX-License-Identifier: GPL-2.0 */ + + .section .rodata, "a" + + .align 8 +kexec_purgatory: + .globl kexec_purgatory + .incbin "arch/powerpc/purgatory/purgatory.ro" +.Lkexec_purgatory_end: + + .align 8 +kexec_purgatory_size: + .globl kexec_purgatory_size + .quad .Lkexec_purgatory_end - kexec_purgatory diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/cpm2_pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/cpm2_pic.h index 22803e71af..a8a26951f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/cpm2_pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/cpm2_pic.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_KERNEL_CPM2_H -#define _PPC_KERNEL_CPM2_H - -extern unsigned int cpm2_get_irq(void); - -extern void cpm2_pic_init(struct device_node *); - -#endif /* _PPC_KERNEL_CPM2_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_KERNEL_CPM2_H +#define _PPC_KERNEL_CPM2_H + +extern unsigned int cpm2_get_irq(void); + +extern void cpm2_pic_init(struct device_node *); + +#endif /* _PPC_KERNEL_CPM2_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/Makefile index 49fd40d710..a63fdb3790 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_GE_FPGA) += ge_pic.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_GE_FPGA) += ge_pic.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/ge_pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/ge_pic.h index 8cf75f9fcd..923dedba3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/ge_pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/ge/ge_pic.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __GEF_PIC_H__ -#define __GEF_PIC_H__ - -unsigned int gef_pic_get_irq(void); -void gef_pic_init(struct device_node *); - -#endif /* __GEF_PIC_H__ */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __GEF_PIC_H__ +#define __GEF_PIC_H__ + +unsigned int gef_pic_get_irq(void); +void gef_pic_init(struct device_node *); + +#endif /* __GEF_PIC_H__ */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Kconfig index 9e56b1ea54..063d919589 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Kconfig @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_XICS - def_bool n - select PPC_SMP_MUXED_IPI - select HARDIRQS_SW_RESEND - -config PPC_ICP_NATIVE - def_bool n - -config PPC_ICP_HV - def_bool n - -config PPC_ICS_RTAS - def_bool n - -config PPC_ICS_NATIVE - def_bool n +# SPDX-License-Identifier: GPL-2.0 +config PPC_XICS + def_bool n + select PPC_SMP_MUXED_IPI + select HARDIRQS_SW_RESEND + +config PPC_ICP_NATIVE + def_bool n + +config PPC_ICP_HV + def_bool n + +config PPC_ICS_RTAS + def_bool n + +config PPC_ICS_NATIVE + def_bool n diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Makefile index 1d0f82ff62..747063927c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xics/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y += xics-common.o -obj-$(CONFIG_PPC_ICP_NATIVE) += icp-native.o -obj-$(CONFIG_PPC_ICP_HV) += icp-hv.o -obj-$(CONFIG_PPC_ICS_RTAS) += ics-rtas.o -obj-$(CONFIG_PPC_ICS_NATIVE) += ics-native.o -obj-$(CONFIG_PPC_POWERNV) += ics-opal.o icp-opal.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y += xics-common.o +obj-$(CONFIG_PPC_ICP_NATIVE) += icp-native.o +obj-$(CONFIG_PPC_ICP_HV) += icp-hv.o +obj-$(CONFIG_PPC_ICS_RTAS) += ics-rtas.o +obj-$(CONFIG_PPC_ICS_NATIVE) += ics-native.o +obj-$(CONFIG_PPC_POWERNV) += ics-opal.o icp-opal.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Kconfig index eb0e12dedb..785c292d10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Kconfig @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_XIVE - bool - select PPC_SMP_MUXED_IPI - select HARDIRQS_SW_RESEND - -config PPC_XIVE_NATIVE - bool - select PPC_XIVE - depends on PPC_POWERNV - -config PPC_XIVE_SPAPR - bool - select PPC_XIVE +# SPDX-License-Identifier: GPL-2.0 +config PPC_XIVE + bool + select PPC_SMP_MUXED_IPI + select HARDIRQS_SW_RESEND + +config PPC_XIVE_NATIVE + bool + select PPC_XIVE + depends on PPC_POWERNV + +config PPC_XIVE_SPAPR + bool + select PPC_XIVE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Makefile index 07d11329c3..e510888389 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/xive/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += common.o -obj-$(CONFIG_PPC_XIVE_NATIVE) += native.o -obj-$(CONFIG_PPC_XIVE_SPAPR) += spapr.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += common.o +obj-$(CONFIG_PPC_XIVE_NATIVE) += native.o +obj-$(CONFIG_PPC_XIVE_SPAPR) += spapr.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.S index bc516e2b8d..69726814cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.S @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include -#include "xmon_bpts.h" - -/* Prefixed instructions can not cross 64 byte boundaries */ -.align 6 -.global bpt_table -bpt_table: - .space NBPTS * BPT_SIZE +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include +#include "xmon_bpts.h" + +/* Prefixed instructions can not cross 64 byte boundaries */ +.align 6 +.global bpt_table +bpt_table: + .space NBPTS * BPT_SIZE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.h index 42d062781e..377068f52e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/xmon_bpts.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef XMON_BPTS_H -#define XMON_BPTS_H - -#define NBPTS 256 -#ifndef __ASSEMBLY__ -#include -#define BPT_SIZE (sizeof(ppc_inst_t) * 2) -#define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t)) - -extern unsigned int bpt_table[NBPTS * BPT_WORDS]; -#endif /* __ASSEMBLY__ */ - -#endif /* XMON_BPTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef XMON_BPTS_H +#define XMON_BPTS_H + +#define NBPTS 256 +#ifndef __ASSEMBLY__ +#include +#define BPT_SIZE (sizeof(ppc_inst_t) * 2) +#define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t)) + +extern unsigned int bpt_table[NBPTS * BPT_WORDS]; +#endif /* __ASSEMBLY__ */ + +#endif /* XMON_BPTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kbuild index 710a645a48..2c585f7a0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kbuild @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += kernel/ mm/ net/ -obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ -obj-$(CONFIG_CRYPTO) += crypto/ -obj-y += errata/ -obj-$(CONFIG_KVM) += kvm/ - -obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += purgatory/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ mm/ net/ +obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ +obj-$(CONFIG_CRYPTO) += crypto/ +obj-y += errata/ +obj-$(CONFIG_KVM) += kvm/ + +obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += purgatory/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/.gitignore index ff12e91007..e1bc507e8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -Image -Image.* -loader -loader.lds -loader.bin -vmlinuz* -xipImage +# SPDX-License-Identifier: GPL-2.0-only +Image +Image.* +loader +loader.lds +loader.bin +vmlinuz* +xipImage diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/Makefile index fbce08a146..fdae05bbf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += allwinner -subdir-y += canaan -subdir-y += microchip -subdir-y += renesas -subdir-y += sifive -subdir-y += sophgo -subdir-y += starfive -subdir-y += thead - -obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE)) +# SPDX-License-Identifier: GPL-2.0 +subdir-y += allwinner +subdir-y += canaan +subdir-y += microchip +subdir-y += renesas +subdir-y += sifive +subdir-y += sophgo +subdir-y += starfive +subdir-y += thead + +obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dts b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dts index 143be20078..b217799e61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dts @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2022 Samuel Holland - -#include "sun20i-d1-lichee-rv-86-panel.dtsi" - -/ { - model = "Sipeed Lichee RV 86 Panel (720p)"; - compatible = "sipeed,lichee-rv-86-panel-720p", "sipeed,lichee-rv", - "allwinner,sun20i-d1"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2022 Samuel Holland + +#include "sun20i-d1-lichee-rv-86-panel.dtsi" + +/ { + model = "Sipeed Lichee RV 86 Panel (720p)"; + compatible = "sipeed,lichee-rv-86-panel-720p", "sipeed,lichee-rv", + "allwinner,sun20i-d1"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/canaan/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/canaan/Makefile index ca38da2273..987d1f0c41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/canaan/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/canaan/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_CANAAN) += canaan_kd233.dtb -dtb-$(CONFIG_ARCH_CANAAN) += k210_generic.dtb -dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_bit.dtb -dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_dock.dtb -dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_go.dtb -dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maixduino.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_CANAAN) += canaan_kd233.dtb +dtb-$(CONFIG_ARCH_CANAAN) += k210_generic.dtb +dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_bit.dtb +dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_dock.dtb +dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maix_go.dtb +dtb-$(CONFIG_ARCH_CANAAN) += sipeed_maixduino.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi index 2b3d01835e..39a77df489 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* Copyright (c) 2022 Microchip Technology Inc */ - -/ { - fabric_clk3: fabric-clk3 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; - - fabric_clk1: fabric-clk1 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <125000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2022 Microchip Technology Inc */ + +/ { + fabric_clk3: fabric-clk3 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + + fabric_clk1: fabric-clk1 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/Makefile index 7ab1d524d4..2d3f5751a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043f01-smarc.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043f01-smarc.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi index 4d1657ce7b..5e80824264 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/Five SMARC EVK SOM - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -#include +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/Five SMARC EVK SOM + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi index 960589f6f9..a8573fdfd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/Five SMARC EVK carrier board - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -#include +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/Five SMARC EVK carrier board + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sifive/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sifive/Makefile index 800ec5837c..495bf760a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sifive/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sifive/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_SIFIVE) += hifive-unleashed-a00.dtb \ - hifive-unmatched-a00.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SIFIVE) += hifive-unleashed-a00.dtb \ + hifive-unmatched-a00.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/Makefile index d5c10d9c26..57ad82a61e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb -dtb-$(CONFIG_ARCH_SOPHGO) += cv1812h-huashan-pi.dtb -dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb +dtb-$(CONFIG_ARCH_SOPHGO) += cv1812h-huashan-pi.dtb +dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/Makefile index a047e7b24a..b55a17127c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_THEAD) += th1520-lichee-pi-4a.dtb th1520-beaglev-ahead.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_THEAD) += th1520-lichee-pi-4a.dtb th1520-beaglev-ahead.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.S index a19912f02b..dcf88cf44d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.S @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - - .align 4 - .section .payload, "ax", %progbits - .globl _start -_start: - .incbin "arch/riscv/boot/Image" - +/* SPDX-License-Identifier: GPL-2.0 */ + + .align 4 + .section .payload, "ax", %progbits + .globl _start +_start: + .incbin "arch/riscv/boot/Image" + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.lds.S index 4ef18fd709..62d94696a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/loader.lds.S @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include -#include - -OUTPUT_ARCH(riscv) -ENTRY(_start) - -SECTIONS -{ - . = KERNEL_LINK_ADDR; - - .payload : { - *(.payload) - . = ALIGN(8); - } -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include +#include + +OUTPUT_ARCH(riscv) +ENTRY(_start) + +SECTIONS +{ + . = KERNEL_LINK_ADDR; + + .payload : { + *(.payload) + . = ALIGN(8); + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/configs/32-bit.config b/image/debian/UFI003_MB_V02/kernel/arch/riscv/configs/32-bit.config index ff81a2f471..16ee163847 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/configs/32-bit.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/configs/32-bit.config @@ -1,5 +1,5 @@ -# Help: Build a 32-bit image -CONFIG_ARCH_RV32I=y -CONFIG_32BIT=y -# CONFIG_PORTABLE is not set -CONFIG_NONPORTABLE=y +# Help: Build a 32-bit image +CONFIG_ARCH_RV32I=y +CONFIG_32BIT=y +# CONFIG_PORTABLE is not set +CONFIG_NONPORTABLE=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/andes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/andes/Makefile index 168eb1afe8..6278c389b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/andes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/andes/Makefile @@ -1,5 +1,5 @@ -ifdef CONFIG_RISCV_ALTERNATIVE_EARLY -CFLAGS_errata.o := -mcmodel=medany -endif - -obj-y += errata.o +ifdef CONFIG_RISCV_ALTERNATIVE_EARLY +CFLAGS_errata.o := -mcmodel=medany +endif + +obj-y += errata.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/sifive/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/sifive/Makefile index e68446afeb..2fde48db06 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/sifive/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/sifive/Makefile @@ -1,2 +1,2 @@ -obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o -obj-y += errata.o +obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o +obj-y += errata.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/thead/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/thead/Makefile index af9a4a2ea8..137e700d9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/thead/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/thead/Makefile @@ -1,11 +1,11 @@ -ifdef CONFIG_RISCV_ALTERNATIVE_EARLY -CFLAGS_errata.o := -mcmodel=medany -ifdef CONFIG_FTRACE -CFLAGS_REMOVE_errata.o = $(CC_FLAGS_FTRACE) -endif -ifdef CONFIG_KASAN -KASAN_SANITIZE_errata.o := n -endif -endif - -obj-y += errata.o +ifdef CONFIG_RISCV_ALTERNATIVE_EARLY +CFLAGS_errata.o := -mcmodel=medany +ifdef CONFIG_FTRACE +CFLAGS_REMOVE_errata.o = $(CC_FLAGS_FTRACE) +endif +ifdef CONFIG_KASAN +KASAN_SANITIZE_errata.o := n +endif +endif + +obj-y += errata.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/acenv.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/acenv.h index fe33c9ccc9..43ae2e32c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/acenv.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/acenv.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * RISC-V specific ACPICA environments and implementation - */ - -#ifndef _ASM_ACENV_H -#define _ASM_ACENV_H - -/* This header is required unconditionally by the ACPI core */ - -#endif /* _ASM_ACENV_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * RISC-V specific ACPICA environments and implementation + */ + +#ifndef _ASM_ACENV_H +#define _ASM_ACENV_H + +/* This header is required unconditionally by the ACPI core */ + +#endif /* _ASM_ACENV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/clocksource.h index bb6367c00a..482185566b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_CLOCKSOURCE_H -#define _ASM_CLOCKSOURCE_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_CLOCKSOURCE_H +#define _ASM_CLOCKSOURCE_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu.h index cd2b83cb4a..28d45a6678 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef _ASM_CPU_H -#define _ASM_CPU_H - -/* This header is required unconditionally by the ACPI core */ - -#endif /* _ASM_CPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_CPU_H +#define _ASM_CPU_H + +/* This header is required unconditionally by the ACPI core */ + +#endif /* _ASM_CPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/crash_reserve.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/crash_reserve.h index f77cddb320..013962e635 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/crash_reserve.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/crash_reserve.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _RISCV_CRASH_RESERVE_H -#define _RISCV_CRASH_RESERVE_H - -#define CRASH_ALIGN PMD_SIZE - -#define CRASH_ADDR_LOW_MAX dma32_phys_limit -#define CRASH_ADDR_HIGH_MAX memblock_end_of_DRAM() - -extern phys_addr_t memblock_end_of_DRAM(void); -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _RISCV_CRASH_RESERVE_H +#define _RISCV_CRASH_RESERVE_H + +#define CRASH_ALIGN PMD_SIZE + +#define CRASH_ADDR_LOW_MAX dma32_phys_limit +#define CRASH_ADDR_HIGH_MAX memblock_end_of_DRAM() + +extern phys_addr_t memblock_end_of_DRAM(void); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/exec.h index a6ffc99f7d..07d9942682 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/exec.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_EXEC_H -#define __ASM_EXEC_H - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* __ASM_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_EXEC_H +#define __ASM_EXEC_H + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* __ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fpu.h index 1d237ad510..91c04c244e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fpu.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 SiFive - */ - -#ifndef _ASM_RISCV_FPU_H -#define _ASM_RISCV_FPU_H - -#include - -#define kernel_fpu_available() has_fpu() - -void kernel_fpu_begin(void); -void kernel_fpu_end(void); - -#endif /* ! _ASM_RISCV_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 SiFive + */ + +#ifndef _ASM_RISCV_FPU_H +#define _ASM_RISCV_FPU_H + +#include + +#define kernel_fpu_available() has_fpu() + +void kernel_fpu_begin(void); +void kernel_fpu_end(void); + +#endif /* ! _ASM_RISCV_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/irq_work.h index 3c2d71f66e..b27a4d64fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/irq_work.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_RISCV_IRQ_WORK_H -#define _ASM_RISCV_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return IS_ENABLED(CONFIG_SMP); -} - -#endif /* _ASM_RISCV_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_RISCV_IRQ_WORK_H +#define _ASM_RISCV_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return IS_ENABLED(CONFIG_SMP); +} + +#endif /* _ASM_RISCV_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kdebug.h index e831897b98..85ac00411f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kdebug.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef _ASM_ARC_KDEBUG_H -#define _ASM_ARC_KDEBUG_H - -enum die_val { - DIE_UNUSED, - DIE_TRAP, - DIE_OOPS -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_ARC_KDEBUG_H +#define _ASM_ARC_KDEBUG_H + +enum die_val { + DIE_UNUSED, + DIE_TRAP, + DIE_OOPS +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kvm_types.h index 91a71e6f78..e15765f98d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/kvm_types.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_RISCV_KVM_TYPES_H -#define _ASM_RISCV_KVM_TYPES_H - -#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 32 - -#endif /* _ASM_RISCV_KVM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_RISCV_KVM_TYPES_H +#define _ASM_RISCV_KVM_TYPES_H + +#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 32 + +#endif /* _ASM_RISCV_KVM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/linkage.h index c13e64ccae..9e88ba23cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/linkage.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2015 Regents of the University of California - */ - -#ifndef _ASM_RISCV_LINKAGE_H -#define _ASM_RISCV_LINKAGE_H - -#define __ALIGN .balign 4 -#define __ALIGN_STR ".balign 4" - -#endif /* _ASM_RISCV_LINKAGE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2015 Regents of the University of California + */ + +#ifndef _ASM_RISCV_LINKAGE_H +#define _ASM_RISCV_LINKAGE_H + +#define __ALIGN .balign 4 +#define __ALIGN_STR ".balign 4" + +#endif /* _ASM_RISCV_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/module.lds.h index e34c26b66c..1075beae1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/module.lds.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2017 Andes Technology Corporation */ -#ifdef CONFIG_MODULE_SECTIONS -SECTIONS { - .plt : { BYTE(0) } - .got : { BYTE(0) } - .got.plt : { BYTE(0) } -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2017 Andes Technology Corporation */ +#ifdef CONFIG_MODULE_SECTIONS +SECTIONS { + .plt : { BYTE(0) } + .got : { BYTE(0) } + .got.plt : { BYTE(0) } +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/numa.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/numa.h index c6930c8401..8c8cf4297c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/numa.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/numa.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_NUMA_H -#define __ASM_NUMA_H - -#include -#include - -#endif /* __ASM_NUMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_NUMA_H +#define __ASM_NUMA_H + +#include +#include + +#endif /* __ASM_NUMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/sparsemem.h index 64eec6f492..2f901a4105 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/sparsemem.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_RISCV_SPARSEMEM_H -#define _ASM_RISCV_SPARSEMEM_H - -#ifdef CONFIG_SPARSEMEM -#ifdef CONFIG_64BIT -#define MAX_PHYSMEM_BITS 56 -#else -#define MAX_PHYSMEM_BITS 32 -#endif /* CONFIG_64BIT */ -#define SECTION_SIZE_BITS 27 -#endif /* CONFIG_SPARSEMEM */ - -#endif /* _ASM_RISCV_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_RISCV_SPARSEMEM_H +#define _ASM_RISCV_SPARSEMEM_H + +#ifdef CONFIG_SPARSEMEM +#ifdef CONFIG_64BIT +#define MAX_PHYSMEM_BITS 56 +#else +#define MAX_PHYSMEM_BITS 32 +#endif /* CONFIG_64BIT */ +#define SECTION_SIZE_BITS 27 +#endif /* CONFIG_SPARSEMEM */ + +#endif /* _ASM_RISCV_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/syscall_table.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/syscall_table.h index 783835b97e..0c2d617828 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/syscall_table.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/syscall_table.h @@ -1,7 +1,7 @@ -#include - -#if __BITS_PER_LONG == 64 -#include -#else -#include -#endif +#include + +#if __BITS_PER_LONG == 64 +#include +#else +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/tlbbatch.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/tlbbatch.h index d0dfed4acb..46014f70b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/tlbbatch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/tlbbatch.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -#ifndef _ASM_RISCV_TLBBATCH_H -#define _ASM_RISCV_TLBBATCH_H - -#include - -struct arch_tlbflush_unmap_batch { - struct cpumask cpumask; -}; - -#endif /* _ASM_RISCV_TLBBATCH_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +#ifndef _ASM_RISCV_TLBBATCH_H +#define _ASM_RISCV_TLBBATCH_H + +#include + +struct arch_tlbflush_unmap_batch { + struct cpumask cpumask; +}; + +#endif /* _ASM_RISCV_TLBBATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/clocksource.h index 2251817378..df6ea65c1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/clocksource.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSOCLOCKSOURCE_H -#define __ASM_VDSOCLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_ARCHTIMER - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSOCLOCKSOURCE_H +#define __ASM_VDSOCLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_ARCHTIMER + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendorid_list.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendorid_list.h index c6c48fb9ed..2f2bb0c84f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendorid_list.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendorid_list.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2021 SiFive - */ -#ifndef ASM_VENDOR_LIST_H -#define ASM_VENDOR_LIST_H - -#define ANDES_VENDOR_ID 0x31e -#define SIFIVE_VENDOR_ID 0x489 -#define THEAD_VENDOR_ID 0x5b7 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2021 SiFive + */ +#ifndef ASM_VENDOR_LIST_H +#define ASM_VENDOR_LIST_H + +#define ANDES_VENDOR_ID 0x31e +#define SIFIVE_VENDOR_ID 0x489 +#define THEAD_VENDOR_ID 0x5b7 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vermagic.h index 10e8871b08..7b9441a574 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vermagic.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2017 Andes Technology Corporation */ - -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#define MODULE_ARCH_VERMAGIC "riscv" - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2017 Andes Technology Corporation */ + +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#define MODULE_ARCH_VERMAGIC "riscv" + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/Kbuild index dc3ed44386..89ac01faa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += unistd_32.h -syscall-y += unistd_64.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += unistd_32.h +syscall-y += unistd_64.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bpf_perf_event.h index 244bcf3331..6cb1c28232 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_BPF_PERF_EVENT_H__ - -#include - -typedef struct user_regs_struct bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ + +#include + +typedef struct user_regs_struct bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/byteorder.h index e38cd1e48f..f671e16bf6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/byteorder.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * Copyright (C) 2015 Regents of the University of California - */ - -#ifndef _UAPI_ASM_RISCV_BYTEORDER_H -#define _UAPI_ASM_RISCV_BYTEORDER_H - -#include - -#endif /* _UAPI_ASM_RISCV_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * Copyright (C) 2015 Regents of the University of California + */ + +#ifndef _UAPI_ASM_RISCV_BYTEORDER_H +#define _UAPI_ASM_RISCV_BYTEORDER_H + +#include + +#endif /* _UAPI_ASM_RISCV_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/setup.h index b8955f780e..66b13a5228 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/setup.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ - -#ifndef _UAPI_ASM_RISCV_SETUP_H -#define _UAPI_ASM_RISCV_SETUP_H - -#define COMMAND_LINE_SIZE 1024 - -#endif /* _UAPI_ASM_RISCV_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ + +#ifndef _UAPI_ASM_RISCV_SETUP_H +#define _UAPI_ASM_RISCV_SETUP_H + +#define COMMAND_LINE_SIZE 1024 + +#endif /* _UAPI_ASM_RISCV_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/Makefile.syscalls b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/Makefile.syscalls index a7416ce171..9668fd1faf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/Makefile.syscalls +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/Makefile.syscalls @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -syscall_abis_32 += riscv memfd_secret -syscall_abis_64 += riscv rlimit memfd_secret +# SPDX-License-Identifier: GPL-2.0 + +syscall_abis_32 += riscv memfd_secret +syscall_abis_64 += riscv rlimit memfd_secret diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.S index 5795dfb6fd..ffd66237e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.S @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#define vdso_start compat_vdso_start -#define vdso_end compat_vdso_end - -#define __VDSO_PATH "arch/riscv/kernel/compat_vdso/compat_vdso.so" - -#include "../vdso/vdso.S" +/* SPDX-License-Identifier: GPL-2.0-only */ + +#define vdso_start compat_vdso_start +#define vdso_end compat_vdso_end + +#define __VDSO_PATH "arch/riscv/kernel/compat_vdso/compat_vdso.so" + +#include "../vdso/vdso.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.lds.S index c3011535a5..c7c9355d31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/compat_vdso.lds.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include "../vdso/vdso.lds.S" +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include "../vdso/vdso.lds.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/flush_icache.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/flush_icache.S index 4fdf716d64..523dd8b960 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/flush_icache.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/flush_icache.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include "../vdso/flush_icache.S" +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include "../vdso/flush_icache.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh old mode 100644 new mode 100755 index c1ccbe2314..8ac070c783 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh @@ -1,5 +1,5 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -LC_ALL=C -sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +LC_ALL=C +sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/getcpu.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/getcpu.S index 2f91c842a4..10f463efe2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/getcpu.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/getcpu.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include "../vdso/getcpu.S" +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include "../vdso/getcpu.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/rt_sigreturn.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/rt_sigreturn.S index 43c3e79b12..884aada4fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/rt_sigreturn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/compat_vdso/rt_sigreturn.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include "../vdso/rt_sigreturn.S" +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include "../vdso/rt_sigreturn.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/machine_kexec_file.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/machine_kexec_file.c index 54274d887d..b0bf8c1722 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/machine_kexec_file.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/machine_kexec_file.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * kexec_file for riscv, use vmlinux as the dump-capture kernel image. - * - * Copyright (C) 2021 Huawei Technologies Co, Ltd. - * - * Author: Liao Chang (liaochang1@huawei.com) - */ -#include - -const struct kexec_file_ops * const kexec_file_loaders[] = { - &elf_kexec_ops, - NULL -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * kexec_file for riscv, use vmlinux as the dump-capture kernel image. + * + * Copyright (C) 2021 Huawei Technologies Co, Ltd. + * + * Author: Liao Chang (liaochang1@huawei.com) + */ +#include + +const struct kexec_file_ops * const kexec_file_loaders[] = { + &elf_kexec_ops, + NULL +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/rethook.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/rethook.h index 413f1dbcc7..4758f7e3ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/rethook.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/rethook.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __RISCV_RETHOOK_H -#define __RISCV_RETHOOK_H - -unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); -void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __RISCV_RETHOOK_H +#define __RISCV_RETHOOK_H + +unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); +void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set16.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set16.S index 6b8d4a52dd..2be0e441a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set16.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set16.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_set16 -test_set16: - lw a0, set16 - la t0, set16 -#ifdef CONFIG_32BIT - slli t0, t0, 16 - srli t0, t0, 16 -#else - slli t0, t0, 48 - srli t0, t0, 48 -#endif - sub a0, a0, t0 - ret -.data -set16: - .reloc set16, R_RISCV_SET16, set16 - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_set16 +test_set16: + lw a0, set16 + la t0, set16 +#ifdef CONFIG_32BIT + slli t0, t0, 16 + srli t0, t0, 16 +#else + slli t0, t0, 48 + srli t0, t0, 48 +#endif + sub a0, a0, t0 + ret +.data +set16: + .reloc set16, R_RISCV_SET16, set16 + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set32.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set32.S index 8a6d3fe81e..de0444537e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set32.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set32.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_set32 -test_set32: - lw a0, set32 - la t0, set32 -#ifndef CONFIG_32BIT - slli t0, t0, 32 - srli t0, t0, 32 -#endif - sub a0, a0, t0 - ret -.data -set32: - .reloc set32, R_RISCV_SET32, set32 - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_set32 +test_set32: + lw a0, set32 + la t0, set32 +#ifndef CONFIG_32BIT + slli t0, t0, 32 + srli t0, t0, 32 +#endif + sub a0, a0, t0 + ret +.data +set32: + .reloc set32, R_RISCV_SET32, set32 + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set6.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set6.S index 079142e285..c39ce4c219 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set6.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set6.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_set6 -test_set6: - lw a0, set6 - la t0, set6 -#ifdef CONFIG_32BIT - slli t0, t0, 26 - srli t0, t0, 26 -#else - slli t0, t0, 58 - srli t0, t0, 58 -#endif - sub a0, a0, t0 - ret -.data -set6: - .reloc set6, R_RISCV_SET6, set6 - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_set6 +test_set6: + lw a0, set6 + la t0, set6 +#ifdef CONFIG_32BIT + slli t0, t0, 26 + srli t0, t0, 26 +#else + slli t0, t0, 58 + srli t0, t0, 58 +#endif + sub a0, a0, t0 + ret +.data +set6: + .reloc set6, R_RISCV_SET6, set6 + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set8.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set8.S index b981793a49..a656173f6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set8.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_set8.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_set8 -test_set8: - lw a0, set8 - la t0, set8 -#ifdef CONFIG_32BIT - slli t0, t0, 24 - srli t0, t0, 24 -#else - slli t0, t0, 56 - srli t0, t0, 56 -#endif - sub a0, a0, t0 - ret -.data -set8: - .reloc set8, R_RISCV_SET8, set8 - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_set8 +test_set8: + lw a0, set8 + la t0, set8 +#ifdef CONFIG_32BIT + slli t0, t0, 24 + srli t0, t0, 24 +#else + slli t0, t0, 56 + srli t0, t0, 56 +#endif + sub a0, a0, t0 + ret +.data +set8: + .reloc set8, R_RISCV_SET8, set8 + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub16.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub16.S index a011828352..80f731d599 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub16.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub16.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_sub16 -test_sub16: - lh a0, sub16 - addi a0, a0, -32 - ret -first: - .space 32 -second: - -.data -sub16: - .reloc sub16, R_RISCV_ADD16, second - .reloc sub16, R_RISCV_SUB16, first - .half 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_sub16 +test_sub16: + lh a0, sub16 + addi a0, a0, -32 + ret +first: + .space 32 +second: + +.data +sub16: + .reloc sub16, R_RISCV_ADD16, second + .reloc sub16, R_RISCV_SUB16, first + .half 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub32.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub32.S index 5b8dbaec8c..a341686e12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub32.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub32.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_sub32 -test_sub32: - lw a0, sub32 - addi a0, a0, -32 - ret -first: - .space 32 -second: - -.data -sub32: - .reloc sub32, R_RISCV_ADD32, second - .reloc sub32, R_RISCV_SUB32, first - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_sub32 +test_sub32: + lw a0, sub32 + addi a0, a0, -32 + ret +first: + .space 32 +second: + +.data +sub32: + .reloc sub32, R_RISCV_ADD32, second + .reloc sub32, R_RISCV_SUB32, first + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub6.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub6.S index 85565657ee..e8b61c1ec5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub6.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub6.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_sub6 -test_sub6: - lb a0, sub6 - addi a0, a0, -32 - ret -first: - .space 32 -second: - -.data -sub6: - .reloc sub6, R_RISCV_SET6, second - .reloc sub6, R_RISCV_SUB6, first - .byte 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_sub6 +test_sub6: + lb a0, sub6 + addi a0, a0, -32 + ret +first: + .space 32 +second: + +.data +sub6: + .reloc sub6, R_RISCV_SET6, second + .reloc sub6, R_RISCV_SUB6, first + .byte 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub64.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub64.S index 5a49b3ba93..a59e8afa88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub64.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub64.S @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_sub64 -test_sub64: -#ifdef CONFIG_32BIT - lw a0, sub64 -#else - ld a0, sub64 -#endif - addi a0, a0, -32 - ret -first: - .space 32 -second: - -.data -sub64: - .reloc sub64, R_RISCV_ADD64, second - .reloc sub64, R_RISCV_SUB64, first - .word 0 - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_sub64 +test_sub64: +#ifdef CONFIG_32BIT + lw a0, sub64 +#else + ld a0, sub64 +#endif + addi a0, a0, -32 + ret +first: + .space 32 +second: + +.data +sub64: + .reloc sub64, R_RISCV_ADD64, second + .reloc sub64, R_RISCV_SUB64, first + .word 0 + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub8.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub8.S index 404be8007f..ac5d0ec98d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub8.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_sub8.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_sub8 -test_sub8: - lb a0, sub8 - addi a0, a0, -32 - ret -first: - .space 32 -second: - -.data -sub8: - .reloc sub8, R_RISCV_ADD8, second - .reloc sub8, R_RISCV_SUB8, first - .byte 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_sub8 +test_sub8: + lb a0, sub8 + addi a0, a0, -32 + ret +first: + .space 32 +second: + +.data +sub8: + .reloc sub8, R_RISCV_ADD8, second + .reloc sub8, R_RISCV_SUB8, first + .byte 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/gen_vdso_offsets.sh old mode 100644 new mode 100755 index 236a494c5e..c2e5613f34 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/gen_vdso_offsets.sh @@ -1,5 +1,5 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -LC_ALL=C -sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +LC_ALL=C +sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/note.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/note.S index fa717cd261..2a956c9422 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/note.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/rt_sigreturn.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/rt_sigreturn.S index 78dd169086..3dc022aa89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/rt_sigreturn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/rt_sigreturn.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Regents of the University of California - */ - -#include -#include - - .text -SYM_FUNC_START(__vdso_rt_sigreturn) - .cfi_startproc - .cfi_signal_frame - li a7, __NR_rt_sigreturn - ecall - .cfi_endproc -SYM_FUNC_END(__vdso_rt_sigreturn) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014 Regents of the University of California + */ + +#include +#include + + .text +SYM_FUNC_START(__vdso_rt_sigreturn) + .cfi_startproc + .cfi_signal_frame + li a7, __NR_rt_sigreturn + ecall + .cfi_endproc +SYM_FUNC_END(__vdso_rt_sigreturn) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/sys_hwprobe.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/sys_hwprobe.S index 004e83f818..77e57f8305 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/sys_hwprobe.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/sys_hwprobe.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2023 Rivos, Inc */ - -#include -#include - -.text -SYM_FUNC_START(riscv_hwprobe) - .cfi_startproc - li a7, __NR_riscv_hwprobe - ecall - ret - - .cfi_endproc -SYM_FUNC_END(riscv_hwprobe) +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2023 Rivos, Inc */ + +#include +#include + +.text +SYM_FUNC_START(riscv_hwprobe) + .cfi_startproc + li a7, __NR_riscv_hwprobe + ecall + ret + + .cfi_endproc +SYM_FUNC_END(riscv_hwprobe) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/Makefile index f113c284b0..6a61aed944 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_RISCV_ISA_VENDOR_EXT_ANDES) += andes.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_RISCV_ISA_VENDOR_EXT_ANDES) += andes.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/lib/error-inject.c index fe40debcc1..d667ade2bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/lib/error-inject.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - instruction_pointer_set(regs, regs->ra); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + instruction_pointer_set(regs, regs->ra); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/net/Makefile index c6e8f47da1..9a1e5f0a94 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/net/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o - -ifeq ($(CONFIG_ARCH_RV64I),y) - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o -else - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o -endif +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_BPF_JIT) += bpf_jit_core.o + +ifeq ($(CONFIG_ARCH_RV64I),y) + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o +else + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/purgatory/kexec-purgatory.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/purgatory/kexec-purgatory.S index fdade93d9a..0e91888157 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/purgatory/kexec-purgatory.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/purgatory/kexec-purgatory.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - - .section .rodata, "a" - - .align 8 -kexec_purgatory: - .globl kexec_purgatory - .incbin "arch/riscv/purgatory/purgatory.ro" -.Lkexec_purgatroy_end: - - .align 8 -kexec_purgatory_size: - .globl kexec_purgatory_size - .quad .Lkexec_purgatroy_end - kexec_purgatory +/* SPDX-License-Identifier: GPL-2.0 */ + + .section .rodata, "a" + + .align 8 +kexec_purgatory: + .globl kexec_purgatory + .incbin "arch/riscv/purgatory/purgatory.ro" +.Lkexec_purgatroy_end: + + .align 8 +kexec_purgatory_size: + .globl kexec_purgatory_size + .quad .Lkexec_purgatroy_end - kexec_purgatory diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/s390/Kbuild index d55a16a738..a5d3503b35 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/Kbuild @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += kernel/ -obj-y += mm/ -obj-$(CONFIG_KVM) += kvm/ -obj-y += crypto/ -obj-$(CONFIG_S390_HYPFS) += hypfs/ -obj-$(CONFIG_APPLDATA_BASE) += appldata/ -obj-y += net/ -obj-$(CONFIG_PCI) += pci/ -obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += purgatory/ - -# for cleaning -subdir- += boot tools +# SPDX-License-Identifier: GPL-2.0 +obj-y += kernel/ +obj-y += mm/ +obj-$(CONFIG_KVM) += kvm/ +obj-y += crypto/ +obj-$(CONFIG_S390_HYPFS) += hypfs/ +obj-$(CONFIG_APPLDATA_BASE) += appldata/ +obj-y += net/ +obj-$(CONFIG_PCI) += pci/ +obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += purgatory/ + +# for cleaning +subdir- += boot tools diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/appldata/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/appldata/Makefile index a37ff583b3..b06def4a4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/appldata/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/appldata/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux - z/VM Monitor Stream. -# - -obj-$(CONFIG_APPLDATA_BASE) += appldata_base.o -obj-$(CONFIG_APPLDATA_MEM) += appldata_mem.o -obj-$(CONFIG_APPLDATA_OS) += appldata_os.o -obj-$(CONFIG_APPLDATA_NET_SUM) += appldata_net_sum.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux - z/VM Monitor Stream. +# + +obj-$(CONFIG_APPLDATA_BASE) += appldata_base.o +obj-$(CONFIG_APPLDATA_MEM) += appldata_mem.o +obj-$(CONFIG_APPLDATA_OS) += appldata_os.o +obj-$(CONFIG_APPLDATA_NET_SUM) += appldata_net_sum.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/.gitignore index 489dabf526..f5ef099e2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -image -bzImage -relocs.S -section_cmp.* -vmlinux -vmlinux.lds -vmlinux.syms +# SPDX-License-Identifier: GPL-2.0-only +image +bzImage +relocs.S +section_cmp.* +vmlinux +vmlinux.lds +vmlinux.syms diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/clz_ctz.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/clz_ctz.c index 15676f0cda..c3ebf24859 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/clz_ctz.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/clz_ctz.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "../../../../lib/clz_ctz.c" +// SPDX-License-Identifier: GPL-2.0 +#include "../../../../lib/clz_ctz.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/decompressor.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/decompressor.h index 62241e7798..4f966f06bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/decompressor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/decompressor.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BOOT_COMPRESSED_DECOMPRESSOR_H -#define BOOT_COMPRESSED_DECOMPRESSOR_H - -#ifndef CONFIG_KERNEL_UNCOMPRESSED -unsigned long mem_safe_offset(void); -void deploy_kernel(void *output); -#endif - -#endif /* BOOT_COMPRESSED_DECOMPRESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BOOT_COMPRESSED_DECOMPRESSOR_H +#define BOOT_COMPRESSED_DECOMPRESSOR_H + +#ifndef CONFIG_KERNEL_UNCOMPRESSED +unsigned long mem_safe_offset(void); +void deploy_kernel(void *output); +#endif + +#endif /* BOOT_COMPRESSED_DECOMPRESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/kmsan.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/kmsan.c index a13a01090e..e7b3ac4814 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/kmsan.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/kmsan.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -void kmsan_unpoison_memory(const void *address, size_t size) -{ -} +// SPDX-License-Identifier: GPL-2.0 +#include + +void kmsan_unpoison_memory(const void *address, size_t size) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/machine_kexec_reloc.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/machine_kexec_reloc.c index 7c8b1d3e8e..b7a5d0f720 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/machine_kexec_reloc.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/machine_kexec_reloc.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "../kernel/machine_kexec_reloc.c" +// SPDX-License-Identifier: GPL-2.0 +#include "../kernel/machine_kexec_reloc.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/sclp_early_core.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/sclp_early_core.c index 7f6e96ff4d..6f30646afb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/sclp_early_core.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/sclp_early_core.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "boot.h" -#include "../../../drivers/s390/char/sclp_early_core.c" - -/* SCLP early buffer must stay page-aligned and below 2GB */ -static char __sclp_early_sccb[EXT_SCCB_READ_SCP] __aligned(PAGE_SIZE); - -void sclp_early_setup_buffer(void) -{ - sclp_early_set_buffer(&__sclp_early_sccb); -} +// SPDX-License-Identifier: GPL-2.0 +#include "boot.h" +#include "../../../drivers/s390/char/sclp_early_core.c" + +/* SCLP early buffer must stay page-aligned and below 2GB */ +static char __sclp_early_sccb[EXT_SCCB_READ_SCP] __aligned(PAGE_SIZE); + +void sclp_early_setup_buffer(void) +{ + sclp_early_set_buffer(&__sclp_early_sccb); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/uv.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/uv.h index 5a6775da6d..da4a4a8d48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/uv.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/uv.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BOOT_UV_H -#define BOOT_UV_H - -unsigned long adjust_to_uv_max(unsigned long limit); -void sanitize_prot_virt_host(void); -void uv_query_info(void); - -#endif /* BOOT_UV_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BOOT_UV_H +#define BOOT_UV_H + +unsigned long adjust_to_uv_max(unsigned long limit); +void sanitize_prot_virt_host(void); +void uv_query_info(void); + +#endif /* BOOT_UV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/version.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/version.c index 9c76c26265..fd32f03877 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/version.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/boot/version.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include "boot.h" - -const char kernel_version[] = UTS_RELEASE - " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") " UTS_VERSION; +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include "boot.h" + +const char kernel_version[] = UTS_RELEASE + " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") " UTS_VERSION; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/compat.config b/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/compat.config index 6236b39bde..6fd051453a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/compat.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/compat.config @@ -1,3 +1,3 @@ -# Help: Enable compat support -CONFIG_COMPAT=y -CONFIG_COMPAT_32BIT_TIME=y +# Help: Enable compat support +CONFIG_COMPAT=y +CONFIG_COMPAT_32BIT_TIME=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/kasan.config b/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/kasan.config index 95bf1c6a69..84c2b551e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/kasan.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/configs/kasan.config @@ -1,4 +1,4 @@ -# Help: Enable KASan for debugging -CONFIG_KASAN=y -CONFIG_KASAN_INLINE=y -CONFIG_KASAN_VMALLOC=y +# Help: Enable KASan for debugging +CONFIG_KASAN=y +CONFIG_KASAN_INLINE=y +CONFIG_KASAN_VMALLOC=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/chacha-s390.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/chacha-s390.h index 2f8d7af87e..733744ce30 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/chacha-s390.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/chacha-s390.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * s390 ChaCha stream cipher. - * - * Copyright IBM Corp. 2021 - */ - -#ifndef _CHACHA_S390_H -#define _CHACHA_S390_H - -void chacha20_vx(u8 *out, const u8 *inp, size_t len, const u32 *key, - const u32 *counter); - -#endif /* _CHACHA_S390_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * s390 ChaCha stream cipher. + * + * Copyright IBM Corp. 2021 + */ + +#ifndef _CHACHA_S390_H +#define _CHACHA_S390_H + +void chacha20_vx(u8 *out, const u8 *inp, size_t len, const u32 *key, + const u32 *counter); + +#endif /* _CHACHA_S390_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/Kbuild index ac6bd46ab7..297bf71579 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/Kbuild @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += dis-defs.h -generated-y += facility-defs.h -generated-y += syscall_table.h -generated-y += unistd_nr.h - -generic-y += asm-offsets.h -generic-y += kvm_types.h -generic-y += mcs_spinlock.h -generic-y += mmzone.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += dis-defs.h +generated-y += facility-defs.h +generated-y += syscall_table.h +generated-y += unistd_nr.h + +generic-y += asm-offsets.h +generic-y += kvm_types.h +generic-y += mcs_spinlock.h +generic-y += mmzone.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/clocksource.h index a901471a2b..03434369fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/clocksource.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* s390-specific clocksource additions */ - -#ifndef _ASM_S390_CLOCKSOURCE_H -#define _ASM_S390_CLOCKSOURCE_H - -#endif /* _ASM_S390_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* s390-specific clocksource additions */ + +#ifndef _ASM_S390_CLOCKSOURCE_H +#define _ASM_S390_CLOCKSOURCE_H + +#endif /* _ASM_S390_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/exec.h index ebfc65ab3d..641bfbec9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/exec.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 1999, 2009 - * - * Author(s): Martin Schwidefsky - */ - -#ifndef __ASM_EXEC_H -#define __ASM_EXEC_H - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* __ASM_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 1999, 2009 + * + * Author(s): Martin Schwidefsky + */ + +#ifndef __ASM_EXEC_H +#define __ASM_EXEC_H + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* __ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hiperdispatch.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hiperdispatch.h index 8a2949c9e1..27e23aa27a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hiperdispatch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hiperdispatch.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 2024 - */ - -#ifndef _ASM_HIPERDISPATCH_H -#define _ASM_HIPERDISPATCH_H - -void hd_reset_state(void); -void hd_add_core(int cpu); -void hd_disable_hiperdispatch(void); -int hd_enable_hiperdispatch(void); - -#endif /* _ASM_HIPERDISPATCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 2024 + */ + +#ifndef _ASM_HIPERDISPATCH_H +#define _ASM_HIPERDISPATCH_H + +void hd_reset_state(void); +void hd_add_core(int cpu); +void hd_disable_hiperdispatch(void); +int hd_enable_hiperdispatch(void); + +#endif /* _ASM_HIPERDISPATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hw_irq.h index cd411a18e8..9078b5b6b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/hw_irq.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _HW_IRQ_H -#define _HW_IRQ_H - -#include -#include - -void __init init_airq_interrupts(void); -void __init init_cio_interrupts(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _HW_IRQ_H +#define _HW_IRQ_H + +#include +#include + +void __init init_airq_interrupts(void); +void __init init_cio_interrupts(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/irq_work.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/irq_work.h index d5325d6b79..f00c9f610d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/irq_work.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_IRQ_WORK_H -#define _ASM_S390_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return true; -} - -#endif /* _ASM_S390_IRQ_WORK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_IRQ_WORK_H +#define _ASM_S390_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return true; +} + +#endif /* _ASM_S390_IRQ_WORK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/linkage.h index 18dd4a4533..df3fb7d822 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/linkage.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#include - -#define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT, 0x07 -#define __ALIGN_STR __stringify(__ALIGN) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#include + +#define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT, 0x07 +#define __ALIGN_STR __stringify(__ALIGN) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/mem_encrypt.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/mem_encrypt.h index 0bd8779eec..b85e13505a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/mem_encrypt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/mem_encrypt.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef S390_MEM_ENCRYPT_H__ -#define S390_MEM_ENCRYPT_H__ - -#ifndef __ASSEMBLY__ - -int set_memory_encrypted(unsigned long vaddr, int numpages); -int set_memory_decrypted(unsigned long vaddr, int numpages); - -#endif /* __ASSEMBLY__ */ - -#endif /* S390_MEM_ENCRYPT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef S390_MEM_ENCRYPT_H__ +#define S390_MEM_ENCRYPT_H__ + +#ifndef __ASSEMBLY__ + +int set_memory_encrypted(unsigned long vaddr, int numpages); +int set_memory_decrypted(unsigned long vaddr, int numpages); + +#endif /* __ASSEMBLY__ */ + +#endif /* S390_MEM_ENCRYPT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pnet.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pnet.h index 6cd805e8d0..5739276b45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pnet.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pnet.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * IBM System z PNET ID Support - * - * Copyright IBM Corp. 2018 - */ - -#ifndef _ASM_S390_PNET_H -#define _ASM_S390_PNET_H - -#include -#include - -int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid); -#endif /* _ASM_S390_PNET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * IBM System z PNET ID Support + * + * Copyright IBM Corp. 2018 + */ + +#ifndef _ASM_S390_PNET_H +#define _ASM_S390_PNET_H + +#include +#include + +int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid); +#endif /* _ASM_S390_PNET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/purgatory.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/purgatory.h index 174546933f..e297bcfc47 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/purgatory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/purgatory.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 2018 - * - * Author(s): Philipp Rudo - */ - -#ifndef _S390_PURGATORY_H_ -#define _S390_PURGATORY_H_ -#ifndef __ASSEMBLY__ - -#include - -int verify_sha256_digest(void); - -#endif /* __ASSEMBLY__ */ -#endif /* _S390_PURGATORY_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 2018 + * + * Author(s): Philipp Rudo + */ + +#ifndef _S390_PURGATORY_H_ +#define _S390_PURGATORY_H_ +#ifndef __ASSEMBLY__ + +#include + +int verify_sha256_digest(void); + +#endif /* __ASSEMBLY__ */ +#endif /* _S390_PURGATORY_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/sparsemem.h index e3585edbfa..c549893602 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/sparsemem.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_SPARSEMEM_H -#define _ASM_S390_SPARSEMEM_H - -#define SECTION_SIZE_BITS 28 -#define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS - -#endif /* _ASM_S390_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_SPARSEMEM_H +#define _ASM_S390_SPARSEMEM_H + +#define SECTION_SIZE_BITS 28 +#define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS + +#endif /* _ASM_S390_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/text-patching.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/text-patching.h index 221e1069ad..b219056a88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/text-patching.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/text-patching.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_S390_TEXT_PATCHING_H -#define _ASM_S390_TEXT_PATCHING_H - -#include - -static __always_inline void sync_core(void) -{ - bcr_serialize(); -} - -void text_poke_sync(void); -void text_poke_sync_lock(void); - -#endif /* _ASM_S390_TEXT_PATCHING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_S390_TEXT_PATCHING_H +#define _ASM_S390_TEXT_PATCHING_H + +#include + +static __always_inline void sync_core(void) +{ + bcr_serialize(); +} + +void text_poke_sync(void); +void text_poke_sync_lock(void); + +#endif /* _ASM_S390_TEXT_PATCHING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/types.h index 169b29ee69..0b5d550a04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/types.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _ASM_S390_TYPES_H -#define _ASM_S390_TYPES_H - -#include - -#ifndef __ASSEMBLY__ - -union register_pair { - unsigned __int128 pair; - struct { - unsigned long even; - unsigned long odd; - }; -}; - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_S390_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef _ASM_S390_TYPES_H +#define _ASM_S390_TYPES_H + +#include + +#ifndef __ASSEMBLY__ + +union register_pair { + unsigned __int128 pair; + struct { + unsigned long even; + unsigned long odd; + }; +}; + +#endif /* __ASSEMBLY__ */ +#endif /* _ASM_S390_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/clocksource.h index d2bbb89184..a93eda0ce7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/clocksource.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_CLOCKSOURCE_H -#define __ASM_VDSO_CLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_TOD - -#endif /* __ASM_VDSO_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_CLOCKSOURCE_H +#define __ASM_VDSO_CLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_TOD + +#endif /* __ASM_VDSO_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/data.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/data.h index 3c5f5e60f6..0e2b40ef69 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/data.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/data.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __S390_ASM_VDSO_DATA_H -#define __S390_ASM_VDSO_DATA_H - -#include - -struct arch_vdso_data { - __s64 tod_steering_delta; - __u64 tod_steering_end; -}; - -#endif /* __S390_ASM_VDSO_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __S390_ASM_VDSO_DATA_H +#define __S390_ASM_VDSO_DATA_H + +#include + +struct arch_vdso_data { + __s64 tod_steering_delta; + __u64 tod_steering_end; +}; + +#endif /* __S390_ASM_VDSO_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/processor.h index 720731f46f..cfcc3e117c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso/processor.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#define cpu_relax() barrier() - -#endif /* __ASM_VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_VDSO_PROCESSOR_H +#define __ASM_VDSO_PROCESSOR_H + +#define cpu_relax() barrier() + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vmalloc.h index ae64e55fa4..3ba3a6bdca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_S390_VMALLOC_H -#define _ASM_S390_VMALLOC_H - -#endif /* _ASM_S390_VMALLOC_H */ +#ifndef _ASM_S390_VMALLOC_H +#define _ASM_S390_VMALLOC_H + +#endif /* _ASM_S390_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/Kbuild index 53194c50e8..46c1ff0b84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -generated-y += unistd_32.h -generated-y += unistd_64.h +# SPDX-License-Identifier: GPL-2.0 + +generated-y += unistd_32.h +generated-y += unistd_64.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/auxvec.h index f4ee1fbeb8..a056c4637f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/auxvec.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASMS390_AUXVEC_H -#define __ASMS390_AUXVEC_H - -#define AT_SYSINFO_EHDR 33 - -#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASMS390_AUXVEC_H +#define __ASMS390_AUXVEC_H + +#define AT_SYSINFO_EHDR 33 + +#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bitsperlong.h index 238b7204ec..cceaf47b02 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bitsperlong.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_S390_BITSPERLONG_H -#define __ASM_S390_BITSPERLONG_H - -#ifndef __s390x__ -#define __BITS_PER_LONG 32 -#else -#define __BITS_PER_LONG 64 -#endif - -#include - -#endif /* __ASM_S390_BITSPERLONG_H */ - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_S390_BITSPERLONG_H +#define __ASM_S390_BITSPERLONG_H + +#ifndef __s390x__ +#define __BITS_PER_LONG 32 +#else +#define __BITS_PER_LONG 64 +#endif + +#include + +#endif /* __ASM_S390_BITSPERLONG_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bpf_perf_event.h index eb2b653cda..3ed42ff6da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_BPF_PERF_EVENT_H__ - -#include - -typedef user_pt_regs bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ + +#include + +typedef user_pt_regs bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/byteorder.h index 04af242469..1442b57dd9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _S390_BYTEORDER_H -#define _S390_BYTEORDER_H - -#include - -#endif /* _S390_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _S390_BYTEORDER_H +#define _S390_BYTEORDER_H + +#include + +#endif /* _S390_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/ioctls.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/ioctls.h index 4780af0125..342a3284e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/ioctls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/ioctls.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ARCH_S390_IOCTLS_H__ -#define __ARCH_S390_IOCTLS_H__ - -#define FIOQSIZE 0x545E - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ARCH_S390_IOCTLS_H__ +#define __ARCH_S390_IOCTLS_H__ + +#define FIOQSIZE 0x545E + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_para.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_para.h index 91dc8047ea..b9ab584adf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_para.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_para.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * User API definitions for paravirtual devices on s390 - * - * Copyright IBM Corp. 2008 - * - * Author(s): Christian Borntraeger - */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * User API definitions for paravirtual devices on s390 + * + * Copyright IBM Corp. 2008 + * + * Author(s): Christian Borntraeger + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sthyi.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sthyi.h index ffb4715518..b1b0223169 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sthyi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sthyi.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_STHYI_H -#define _UAPI_ASM_STHYI_H - -#define STHYI_FC_CP_IFL_CAP 0 - -#endif /* _UAPI_ASM_STHYI_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_STHYI_H +#define _UAPI_ASM_STHYI_H + +#define STHYI_FC_CP_IFL_CAP 0 + +#endif /* _UAPI_ASM_STHYI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/unistd.h index eae0040494..01b5fe8b9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/unistd.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * S390 version - * - * Derived from "include/asm-i386/unistd.h" - */ - -#ifndef _UAPI_ASM_S390_UNISTD_H_ -#define _UAPI_ASM_S390_UNISTD_H_ - -#ifdef __s390x__ -#include -#else -#include -#endif - -#endif /* _UAPI_ASM_S390_UNISTD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * S390 version + * + * Derived from "include/asm-i386/unistd.h" + */ + +#ifndef _UAPI_ASM_S390_UNISTD_H_ +#define _UAPI_ASM_S390_UNISTD_H_ + +#ifdef __s390x__ +#include +#else +#include +#endif + +#endif /* _UAPI_ASM_S390_UNISTD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/facility.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/facility.c index d4bca908ad..f02127219a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/facility.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/facility.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright IBM Corp. 2023 - */ - -#include - -unsigned int stfle_size(void) -{ - static unsigned int size; - unsigned int r; - u64 dummy; - - r = READ_ONCE(size); - if (!r) { - r = __stfle_asm(&dummy, 1) + 1; - WRITE_ONCE(size, r); - } - return r; -} -EXPORT_SYMBOL(stfle_size); +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright IBM Corp. 2023 + */ + +#include + +unsigned int stfle_size(void) +{ + static unsigned int size; + unsigned int r; + u64 dummy; + + r = READ_ONCE(size); + if (!r) { + r = __stfle_asm(&dummy, 1) + 1; + WRITE_ONCE(size, r); + } + return r; +} +EXPORT_SYMBOL(stfle_size); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/ima_arch.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/ima_arch.c index a961debbdb..f3c3e6e1c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/ima_arch.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/ima_arch.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -bool arch_ima_get_secureboot(void) -{ - return ipl_secure_flag; -} - -const char * const *arch_get_ima_policy(void) -{ - return NULL; -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +bool arch_ima_get_secureboot(void) +{ + return ipl_secure_flag; +} + +const char * const *arch_get_ima_policy(void) +{ + return NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/kdebugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/kdebugfs.c index 690f89196c..33130c7daf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/kdebugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/kdebugfs.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -struct dentry *arch_debugfs_dir; -EXPORT_SYMBOL(arch_debugfs_dir); - -static int __init arch_kdebugfs_init(void) -{ - arch_debugfs_dir = debugfs_create_dir("s390", NULL); - return 0; -} -postcore_initcall(arch_kdebugfs_init); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +struct dentry *arch_debugfs_dir; +EXPORT_SYMBOL(arch_debugfs_dir); + +static int __init arch_kdebugfs_init(void) +{ + arch_debugfs_dir = debugfs_create_dir("s390", NULL); + return 0; +} +postcore_initcall(arch_kdebugfs_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/rethook.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/rethook.h index 69af254294..32f069eed3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/rethook.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/rethook.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __S390_RETHOOK_H -#define __S390_RETHOOK_H - -unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __S390_RETHOOK_H +#define __S390_RETHOOK_H + +unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/note.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/note.S index 8d4daac0ec..db19d0680a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/note.S @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso32_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso32_wrapper.S index 382d5c63dd..de2fb93047 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso32_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso32_wrapper.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso32_start, vdso32_end - .balign PAGE_SIZE -vdso32_start: - .incbin "arch/s390/kernel/vdso32/vdso32.so" - .balign PAGE_SIZE -vdso32_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso32_start, vdso32_end + .balign PAGE_SIZE +vdso32_start: + .incbin "arch/s390/kernel/vdso32/vdso32.so" + .balign PAGE_SIZE +vdso32_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/note.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/note.S index 8d4daac0ec..db19d0680a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/note.S @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_wrapper.S index 38801d8132..6721849986 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_wrapper.S @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso64_start, vdso64_end - .balign PAGE_SIZE -vdso64_start: - .incbin "arch/s390/kernel/vdso64/vdso64.so" - .balign PAGE_SIZE -vdso64_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso64_start, vdso64_end + .balign PAGE_SIZE +vdso64_start: + .incbin "arch/s390/kernel/vdso64/vdso64.so" + .balign PAGE_SIZE +vdso64_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/expoline.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/expoline.S index f78f3f9a11..92ed8409a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/expoline.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/expoline.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include -#include - -.macro GEN_ALL_BR_THUNK_EXTERN - .irp r1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 - GEN_BR_THUNK_EXTERN %r\r1 - .endr -.endm - -GEN_ALL_BR_THUNK_EXTERN +/* SPDX-License-Identifier: GPL-2.0 */ + +#include +#include + +.macro GEN_ALL_BR_THUNK_EXTERN + .irp r1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 + GEN_BR_THUNK_EXTERN %r\r1 + .endr +.endm + +GEN_ALL_BR_THUNK_EXTERN diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_kprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_kprobes.h index e3a9bfa19d..2b4c9bc337 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_kprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_kprobes.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -#ifndef TEST_KPROBES_H -#define TEST_KPROBES_H - -extern unsigned long kprobes_target_odd_offs; -extern unsigned long kprobes_target_in_insn4_offs; -extern unsigned long kprobes_target_in_insn6_lo_offs; -extern unsigned long kprobes_target_in_insn6_hi_offs; - -#endif +/* SPDX-License-Identifier: GPL-2.0+ */ +#ifndef TEST_KPROBES_H +#define TEST_KPROBES_H + +extern unsigned long kprobes_target_odd_offs; +extern unsigned long kprobes_target_in_insn4_offs; +extern unsigned long kprobes_target_in_insn6_lo_offs; +extern unsigned long kprobes_target_in_insn6_hi_offs; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_modules_helpers.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_modules_helpers.c index 3f921bcdee..1670349a03 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_modules_helpers.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/test_modules_helpers.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0+ - -#include - -#include "test_modules.h" - -#define DEFINE_RETURN(i) \ - int test_modules_return_ ## i(void) \ - { \ - return 1 ## i - 10000; \ - } \ - EXPORT_SYMBOL_GPL(test_modules_return_ ## i) -REPEAT_10000(DEFINE_RETURN); +// SPDX-License-Identifier: GPL-2.0+ + +#include + +#include "test_modules.h" + +#define DEFINE_RETURN(i) \ + int test_modules_return_ ## i(void) \ + { \ + return 1 ## i - 10000; \ + } \ + EXPORT_SYMBOL_GPL(test_modules_return_ ## i) +REPEAT_10000(DEFINE_RETURN); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/net/Makefile index 42af9bcd17..8cab6deb04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/net/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Arch-specific network modules -# -obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o -obj-$(CONFIG_HAVE_PNETID) += pnet.o +# SPDX-License-Identifier: GPL-2.0 +# +# Arch-specific network modules +# +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o +obj-$(CONFIG_HAVE_PNETID) += pnet.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/Makefile index 8dc4bc820f..2c21f0394c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the s390 PCI subsystem. -# - -obj-$(CONFIG_PCI) += pci.o pci_irq.o pci_clp.o \ - pci_event.o pci_debug.o pci_insn.o pci_mmio.o \ - pci_bus.o pci_kvm_hook.o -obj-$(CONFIG_PCI_IOV) += pci_iov.o -obj-$(CONFIG_SYSFS) += pci_sysfs.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the s390 PCI subsystem. +# + +obj-$(CONFIG_PCI) += pci.o pci_irq.o pci_clp.o \ + pci_event.o pci_debug.o pci_insn.o pci_mmio.o \ + pci_bus.o pci_kvm_hook.o +obj-$(CONFIG_PCI_IOV) += pci_iov.o +obj-$(CONFIG_SYSFS) += pci_sysfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/pci_kvm_hook.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/pci_kvm_hook.c index 42c98cda76..ff34baf50a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/pci_kvm_hook.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/pci/pci_kvm_hook.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * VFIO ZPCI devices support - * - * Copyright (C) IBM Corp. 2022. All rights reserved. - * Author(s): Pierre Morel - */ -#include - -struct zpci_kvm_hook zpci_kvm_hook; -EXPORT_SYMBOL_GPL(zpci_kvm_hook); +// SPDX-License-Identifier: GPL-2.0-only +/* + * VFIO ZPCI devices support + * + * Copyright (C) IBM Corp. 2022. All rights reserved. + * Author(s): Pierre Morel + */ +#include + +struct zpci_kvm_hook zpci_kvm_hook; +EXPORT_SYMBOL_GPL(zpci_kvm_hook); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/.gitignore index 98bc7e2f07..97ca527794 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -purgatory -purgatory.chk -purgatory.lds -purgatory.ro +# SPDX-License-Identifier: GPL-2.0-only +purgatory +purgatory.chk +purgatory.lds +purgatory.ro diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/kexec-purgatory.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/kexec-purgatory.S index c25e32f8eb..25f512b1de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/kexec-purgatory.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/kexec-purgatory.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - - .section .rodata, "a" - - .balign 8 -SYM_DATA_START(kexec_purgatory) - .incbin "arch/s390/purgatory/purgatory.ro" -SYM_DATA_END_LABEL(kexec_purgatory, SYM_L_LOCAL, kexec_purgatory_end) - - .balign 8 -SYM_DATA(kexec_purgatory_size, .quad kexec_purgatory_end-kexec_purgatory) +/* SPDX-License-Identifier: GPL-2.0 */ +#include + + .section .rodata, "a" + + .balign 8 +SYM_DATA_START(kexec_purgatory) + .incbin "arch/s390/purgatory/purgatory.ro" +SYM_DATA_END_LABEL(kexec_purgatory, SYM_L_LOCAL, kexec_purgatory_end) + + .balign 8 +SYM_DATA(kexec_purgatory_size, .quad kexec_purgatory_end-kexec_purgatory) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/string.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/string.c index 93b86b3dbe..c98c22a72d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/string.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/purgatory/string.c @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -#define __HAVE_ARCH_MEMCMP /* arch function */ -#include "../lib/string.c" +// SPDX-License-Identifier: GPL-2.0 +#define __HAVE_ARCH_MEMCMP /* arch function */ +#include "../lib/string.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/.gitignore index 1a61a79adb..e6af51d9d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -gen_facilities -gen_opcode_table -relocs +# SPDX-License-Identifier: GPL-2.0-only +gen_facilities +gen_opcode_table +relocs diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sh/Kbuild index d172d6dde4..056efec72c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/Kbuild @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ boards/ -obj-$(CONFIG_SH_FPU_EMU) += math-emu/ -obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/ - -obj-$(CONFIG_HD6446X_SERIES) += cchips/hd6446x/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ boards/ +obj-$(CONFIG_SH_FPU_EMU) += math-emu/ +obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/ + +obj-$(CONFIG_HD6446X_SERIES) += cchips/hd6446x/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-dreamcast/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-dreamcast/Makefile index 73c63d6c6f..37b2452206 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-dreamcast/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-dreamcast/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Sega Dreamcast specific parts of the kernel -# - -obj-y := setup.o irq.o -obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Sega Dreamcast specific parts of the kernel +# + +obj-y := setup.o irq.o +obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-ecovec24/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-ecovec24/Makefile index 7c9db916e0..d78d4904dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-ecovec24/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-ecovec24/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the R0P7724LC0011/21RL (EcoVec) -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# - -obj-y := setup.o sdram.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the R0P7724LC0011/21RL (EcoVec) +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# + +obj-y := setup.o sdram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Makefile index 0b03b033c4..880ed68138 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Highlander specific parts of the kernel -# -obj-y := setup.o -obj-$(CONFIG_SH_R7780RP) += irq-r7780rp.o -obj-$(CONFIG_SH_R7780MP) += irq-r7780mp.o -obj-$(CONFIG_SH_R7785RP) += irq-r7785rp.o pinmux-r7785rp.o - -ifneq ($(CONFIG_SH_R7785RP),y) -obj-$(CONFIG_PUSH_SWITCH) += psw.o -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Highlander specific parts of the kernel +# +obj-y := setup.o +obj-$(CONFIG_SH_R7780RP) += irq-r7780rp.o +obj-$(CONFIG_SH_R7780MP) += irq-r7780mp.o +obj-$(CONFIG_SH_R7785RP) += irq-r7785rp.o pinmux-r7785rp.o + +ifneq ($(CONFIG_SH_R7785RP),y) +obj-$(CONFIG_PUSH_SWITCH) += psw.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/Makefile index 89a90cb814..4b0fe29e56 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the HP6xx specific parts of the kernel -# - -obj-y := setup.o -obj-$(CONFIG_PM) += pm.o pm_wakeup.o -obj-$(CONFIG_APM_EMULATION) += hp6xx_apm.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the HP6xx specific parts of the kernel +# + +obj-y := setup.o +obj-$(CONFIG_PM) += pm.o pm_wakeup.o +obj-$(CONFIG_APM_EMULATION) += hp6xx_apm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-kfr2r09/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-kfr2r09/Makefile index 9eda1b09ba..4a4a35ad7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-kfr2r09/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-kfr2r09/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := setup.o sdram.o -ifneq ($(CONFIG_FB_SH_MOBILE_LCDC),) -obj-y += lcd_wqvga.o -endif +# SPDX-License-Identifier: GPL-2.0 +obj-y := setup.o sdram.o +ifneq ($(CONFIG_FB_SH_MOBILE_LCDC),) +obj-y += lcd_wqvga.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-landisk/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-landisk/Makefile index d3792b6f69..6cba041fff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-landisk/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-landisk/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for I-O DATA DEVICE, INC. "LANDISK Series" -# - -obj-y := setup.o irq.o psw.o gio.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for I-O DATA DEVICE, INC. "LANDISK Series" +# + +obj-y := setup.o irq.o psw.o gio.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/Makefile index 81ad521de6..0fbd082291 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the L-BOX RE2 specific parts of the kernel -# Copyright (c) 2007 Nobuhiro Iwamatsu - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the L-BOX RE2 specific parts of the kernel +# Copyright (c) 2007 Nobuhiro Iwamatsu + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Kconfig index d235f8de99..fb64a10e21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -if SH_MIGOR - -choice - prompt "Migo-R LCD Panel Board Selection" - default SH_MIGOR_QVGA - -config SH_MIGOR_QVGA - bool "QVGA (320x240)" - -config SH_MIGOR_RTA_WVGA - bool "RTA WVGA (800x480)" - -endchoice - -endif +# SPDX-License-Identifier: GPL-2.0 +if SH_MIGOR + +choice + prompt "Migo-R LCD Panel Board Selection" + default SH_MIGOR_QVGA + +config SH_MIGOR_QVGA + bool "QVGA (320x240)" + +config SH_MIGOR_RTA_WVGA + bool "RTA WVGA (800x480)" + +endchoice + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Makefile index 34f3f91b9b..c223d759fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-migor/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := setup.o sdram.o -obj-$(CONFIG_SH_MIGOR_QVGA) += lcd_qvga.o +# SPDX-License-Identifier: GPL-2.0 +obj-y := setup.o sdram.o +obj-$(CONFIG_SH_MIGOR_QVGA) += lcd_qvga.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Makefile index 40408ceb26..7e7ac5e056 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the RTS7751R2D specific parts of the kernel -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the RTS7751R2D specific parts of the kernel +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Makefile index 258940e676..43cca39a9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := setup.o -obj-$(CONFIG_SH_RSK7203) += devices-rsk7203.o -obj-$(CONFIG_SH_RSK7264) += devices-rsk7264.o -obj-$(CONFIG_SH_RSK7269) += devices-rsk7269.o +# SPDX-License-Identifier: GPL-2.0 +obj-y := setup.o +obj-$(CONFIG_SH_RSK7203) += devices-rsk7203.o +obj-$(CONFIG_SH_RSK7264) += devices-rsk7264.o +obj-$(CONFIG_SH_RSK7269) += devices-rsk7269.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Kconfig index 16f8146339..d4392efd2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Kconfig @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -if SH_SDK7780 - -choice - prompt "SDK7780 options" - default SH_SDK7780_BASE - -config SH_SDK7780_BASE - bool "SDK7780 with base-board support" - depends on CPU_SUBTYPE_SH7780 - help - Selecting this option will enable support for the expansion - baseboard devices. If in doubt, say Y. - -endchoice - -endif +# SPDX-License-Identifier: GPL-2.0 +if SH_SDK7780 + +choice + prompt "SDK7780 options" + default SH_SDK7780_BASE + +config SH_SDK7780_BASE + bool "SDK7780 with base-board support" + depends on CPU_SUBTYPE_SH7780 + help + Selecting this option will enable support for the expansion + baseboard devices. If in doubt, say Y. + +endchoice + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Makefile index f9e80c80c7..37e857f9a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7780/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the SDK7780 specific parts of the kernel -# -obj-y := setup.o irq.o - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the SDK7780 specific parts of the kernel +# +obj-y := setup.o irq.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7786/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7786/Makefile index e10868084d..731a87c694 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7786/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sdk7786/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := fpga.o irq.o nmi.o setup.o - -obj-$(CONFIG_GPIOLIB) += gpio.o -obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o +# SPDX-License-Identifier: GPL-2.0 +obj-y := fpga.o irq.o nmi.o setup.o + +obj-$(CONFIG_GPIOLIB) += gpio.o +obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7206/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7206/Makefile index 597e5a3436..b40b30853c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7206/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7206/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the 7206 SolutionEngine specific parts of the kernel -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the 7206 SolutionEngine specific parts of the kernel +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7343/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7343/Makefile index 3f65f46e99..e058661091 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7343/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7343/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the 7343 SolutionEngine specific parts of the kernel -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the 7343 SolutionEngine specific parts of the kernel +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/770x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/770x/Makefile index 323575c1d7..900d93cfb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/770x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/770x/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the 770x SolutionEngine specific parts of the kernel -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the 770x SolutionEngine specific parts of the kernel +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7722/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7722/Makefile index b21aba678e..a5e89c0c6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7722/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7722/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the HITACHI UL SolutionEngine 7722 specific parts of the kernel -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the HITACHI UL SolutionEngine 7722 specific parts of the kernel +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7724/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7724/Makefile index e62af24c12..6c6112b246 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7724/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7724/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the HITACHI UL SolutionEngine 7724 specific parts of the kernel -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# - -obj-y := setup.o irq.o sdram.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the HITACHI UL SolutionEngine 7724 specific parts of the kernel +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# + +obj-y := setup.o irq.o sdram.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7751/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7751/Makefile index 3c707ff754..2406d3e353 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7751/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7751/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the 7751 SolutionEngine specific parts of the kernel -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the 7751 SolutionEngine specific parts of the kernel +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7780/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7780/Makefile index 6a29552a96..1f6669ab1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7780/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/7780/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the HITACHI UL SolutionEngine 7780 specific parts of the kernel -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# - -obj-y := setup.o irq.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the HITACHI UL SolutionEngine 7780 specific parts of the kernel +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# + +obj-y := setup.o irq.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sh03/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sh03/Makefile index a44634e7a6..f89c25c6a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sh03/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-sh03/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Interface (CTP/PCI-SH03) specific parts of the kernel -# - -obj-y := setup.o -obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Interface (CTP/PCI-SH03) specific parts of the kernel +# + +obj-y := setup.o +obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-x3proto/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-x3proto/Makefile index e4a9eb625b..6caefa1145 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-x3proto/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-x3proto/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += setup.o ilsel.o - -obj-$(CONFIG_GPIOLIB) += gpio.o +# SPDX-License-Identifier: GPL-2.0 +obj-y += setup.o ilsel.o + +obj-$(CONFIG_GPIOLIB) += gpio.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/.gitignore index 35be9f0cc0..6603bbbc91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -zImage -vmlinux* -uImage* -!vmlinux.scr +# SPDX-License-Identifier: GPL-2.0-only +zImage +vmlinux* +uImage* +!vmlinux.scr diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashiftrt.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashiftrt.S index 841fc48020..0f3b291a3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashiftrt.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashiftrt.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../lib/ashiftrt.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../lib/ashiftrt.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashldi3.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashldi3.c index 722e4f4eab..7c12121702 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashldi3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashldi3.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -#include "../../../../lib/ashldi3.c" +// SPDX-License-Identifier: GPL-2.0-or-later +#include "../../../../lib/ashldi3.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashlsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashlsi3.S index f2044f7093..e354262b27 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashlsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashlsi3.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../lib/ashlsi3.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../lib/ashlsi3.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashrsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashrsi3.S index 34bd6cd601..e564be9a4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashrsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/ashrsi3.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../lib/ashrsi3.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../lib/ashrsi3.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/lshrsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/lshrsi3.S index fc195da327..5a8281b7e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/lshrsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/lshrsi3.S @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include "../../lib/lshrsi3.S" +/* SPDX-License-Identifier: GPL-2.0-only */ +#include "../../lib/lshrsi3.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/misc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/misc.h index 118affe216..2b4534faa3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/misc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/misc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef MISC_H -#define MISC_H - -void arch_ftrace_ops_list_func(void); -void decompress_kernel(void); -void ftrace_stub(void); - -#endif /* MISC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef MISC_H +#define MISC_H + +void arch_ftrace_ops_list_func(void); +void decompress_kernel(void); +void ftrace_stub(void); + +#endif /* MISC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/vmlinux.scr b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/vmlinux.scr index d699f8fe3b..dd292b4b90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/vmlinux.scr +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/compressed/vmlinux.scr @@ -1,10 +1,10 @@ -SECTIONS -{ - .rodata..compressed : ALIGN(8) { - input_len = .; - LONG(input_data_end - input_data) input_data = .; - *(.data) - output_len = . - 4; - input_data_end = .; - } -} +SECTIONS +{ + .rodata..compressed : ALIGN(8) { + input_len = .; + LONG(input_data_end - input_data) input_data = .; + *(.data) + output_len = . - 4; + input_data_end = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/dts/Makefile index 979b83108e..4a6dec9714 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/dts/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_USE_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE)) +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_USE_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/romimage/vmlinux.scr b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/romimage/vmlinux.scr index 0a096b2111..590394e2f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/romimage/vmlinux.scr +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boot/romimage/vmlinux.scr @@ -1,8 +1,8 @@ -SECTIONS -{ - .text : { - zero_page_pos = .; - *(.data) - end_data = .; - } -} +SECTIONS +{ + .text : { + zero_page_pos = .; + *(.data) + end_data = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/cchips/hd6446x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/cchips/hd6446x/Makefile index 5417eee9d7..6673e0abef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/cchips/hd6446x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/cchips/hd6446x/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_HD64461) += hd64461.o - -ccflags-y := -Werror +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_HD64461) += hd64461.o + +ccflags-y := -Werror diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Makefile index fedae8fa18..8bd10b904b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux SuperH-specific device drivers. -# - -obj-y += dma/ platform_early.o - -obj-$(CONFIG_PCI) += pci/ -obj-$(CONFIG_PUSH_SWITCH) += push-switch.o -obj-$(CONFIG_HEARTBEAT) += heartbeat.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux SuperH-specific device drivers. +# + +obj-y += dma/ platform_early.o + +obj-$(CONFIG_PCI) += pci/ +obj-$(CONFIG_PUSH_SWITCH) += push-switch.o +obj-$(CONFIG_HEARTBEAT) += heartbeat.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/dma/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/dma/Makefile index 652913ced0..d2fdd56208 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/dma/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/dma/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the SuperH DMA specific kernel interface routines under Linux. -# - -obj-$(CONFIG_SH_DMA_API) += dma-sh.o dma-api.o dma-sysfs.o -obj-$(CONFIG_PVR2_DMA) += dma-pvr2.o -obj-$(CONFIG_G2_DMA) += dma-g2.o -obj-$(CONFIG_SH_DMABRG) += dmabrg.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the SuperH DMA specific kernel interface routines under Linux. +# + +obj-$(CONFIG_SH_DMA_API) += dma-sh.o dma-api.o dma-sysfs.o +obj-$(CONFIG_PVR2_DMA) += dma-pvr2.o +obj-$(CONFIG_G2_DMA) += dma-g2.o +obj-$(CONFIG_SH_DMABRG) += dmabrg.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/Kbuild index a36303f285..fc44d9c88b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/Kbuild @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += parport.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += parport.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/adc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/adc.h index bbf1aab176..feccfe639e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/adc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/adc.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ADC_H -#define __ASM_ADC_H -/* - * Copyright (C) 2004 Andriy Skulysh - */ - -#include - -int adc_single(unsigned int channel); - -#endif /* __ASM_ADC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ADC_H +#define __ASM_ADC_H +/* + * Copyright (C) 2004 Andriy Skulysh + */ + +#include + +int adc_single(unsigned int channel); + +#endif /* __ASM_ADC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/asm-offsets.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/asm-offsets.h index b80aa81852..9f85357163 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/asm-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/asm-offsets.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cachetype.h index d088756411..a5fffe5360 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cachetype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CACHETYPE_H -#define __ASM_SH_CACHETYPE_H - -#include - -#define cpu_dcache_is_aliasing() true - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CACHETYPE_H +#define __ASM_SH_CACHETYPE_H + +#include + +#define cpu_dcache_is_aliasing() true + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/extable.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/extable.h index 45ffb2d52b..5658d2bae3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/extable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/extable.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_EXTABLE_H -#define __ASM_SH_EXTABLE_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_EXTABLE_H +#define __ASM_SH_EXTABLE_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/freq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/freq.h index b415bc8dbf..87c23621b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/freq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/freq.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0+ - * - * include/asm-sh/freq.h - * - * Copyright (C) 2002, 2003 Paul Mundt - */ -#ifndef __ASM_SH_FREQ_H -#define __ASM_SH_FREQ_H - -#include - -#endif /* __ASM_SH_FREQ_H */ +/* SPDX-License-Identifier: GPL-2.0+ + * + * include/asm-sh/freq.h + * + * Copyright (C) 2002, 2003 Paul Mundt + */ +#ifndef __ASM_SH_FREQ_H +#define __ASM_SH_FREQ_H + +#include + +#endif /* __ASM_SH_FREQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/hardirq.h index 6aadc8260c..9fe4495a8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/hardirq.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_HARDIRQ_H -#define __ASM_SH_HARDIRQ_H - -extern void ack_bad_irq(unsigned int irq); -#define ack_bad_irq ack_bad_irq -#define ARCH_WANTS_NMI_IRQSTAT - -#include - -#endif /* __ASM_SH_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_HARDIRQ_H +#define __ASM_SH_HARDIRQ_H + +extern void ack_bad_irq(unsigned int irq); +#define ack_bad_irq ack_bad_irq +#define ARCH_WANTS_NMI_IRQSTAT + +#include + +#endif /* __ASM_SH_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/irqflags.h index 6326e144cb..25f6cfef3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/irqflags.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_IRQFLAGS_H -#define __ASM_SH_IRQFLAGS_H - -#define ARCH_IRQ_DISABLED 0xf0 -#define ARCH_IRQ_ENABLED 0x00 - -#include - -#endif /* __ASM_SH_IRQFLAGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_IRQFLAGS_H +#define __ASM_SH_IRQFLAGS_H + +#define ARCH_IRQ_DISABLED 0xf0 +#define ARCH_IRQ_ENABLED 0x00 + +#include + +#endif /* __ASM_SH_IRQFLAGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/linkage.h index db1a3369db..7c2fa27a43 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/linkage.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#define __ALIGN .balign 4 -#define __ALIGN_STR ".balign 4" - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define __ALIGN .balign 4 +#define __ALIGN_STR ".balign 4" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/mmiowb.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/mmiowb.h index d0b44a9f19..535d59735f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/mmiowb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/mmiowb.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_MMIOWB_H -#define __ASM_SH_MMIOWB_H - -#include - -/* synco on SH-4A, otherwise a nop */ -#define mmiowb() wmb() - -#include - -#endif /* __ASM_SH_MMIOWB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_MMIOWB_H +#define __ASM_SH_MMIOWB_H + +#include + +/* synco on SH-4A, otherwise a nop */ +#define mmiowb() wmb() + +#include + +#endif /* __ASM_SH_MMIOWB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/module.h index f3900b32b7..337663a028 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/module.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SH_MODULE_H -#define _ASM_SH_MODULE_H - -#include - -#ifdef CONFIG_DWARF_UNWINDER -struct mod_arch_specific { - struct list_head fde_list; - struct list_head cie_list; -}; -#endif - -#endif /* _ASM_SH_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SH_MODULE_H +#define _ASM_SH_MODULE_H + +#include + +#ifdef CONFIG_DWARF_UNWINDER +struct mod_arch_specific { + struct list_head fde_list; + struct list_head cie_list; +}; +#endif + +#endif /* _ASM_SH_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/ptrace_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/ptrace_32.h index 83de29974f..5f37ad7c60 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/ptrace_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/ptrace_32.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_PTRACE_32_H -#define __ASM_SH_PTRACE_32_H - -#include - - -#define MAX_REG_OFFSET offsetof(struct pt_regs, tra) -static inline long regs_return_value(struct pt_regs *regs) -{ - return regs->regs[0]; -} - -#endif /* __ASM_SH_PTRACE_32_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_PTRACE_32_H +#define __ASM_SH_PTRACE_32_H + +#include + + +#define MAX_REG_OFFSET offsetof(struct pt_regs, tra) +static inline long regs_return_value(struct pt_regs *regs) +{ + return regs->regs[0]; +} + +#endif /* __ASM_SH_PTRACE_32_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/rtc.h index 2613b891b2..7fe7002d1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/rtc.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_RTC_H -#define _ASM_RTC_H - -#define RTC_CAP_4_DIGIT_YEAR (1 << 0) - -struct sh_rtc_platform_info { - unsigned long capabilities; -}; - -#include - -#endif /* _ASM_RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_RTC_H +#define _ASM_RTC_H + +#define RTC_CAP_4_DIGIT_YEAR (1 << 0) + +struct sh_rtc_platform_info { + unsigned long capabilities; +}; + +#include + +#endif /* _ASM_RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sections.h index c2930156b8..0cb0ca149a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sections.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SECTIONS_H -#define __ASM_SH_SECTIONS_H - -#include - -extern char __machvec_start[], __machvec_end[]; -extern char __uncached_start, __uncached_end; -extern char __start_eh_frame[], __stop_eh_frame[]; - -#endif /* __ASM_SH_SECTIONS_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SECTIONS_H +#define __ASM_SH_SECTIONS_H + +#include + +extern char __machvec_start[], __machvec_end[]; +extern char __uncached_start, __uncached_end; +extern char __start_eh_frame[], __stop_eh_frame[]; + +#endif /* __ASM_SH_SECTIONS_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sparsemem.h index 82fa991fde..4703cbe238 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/sparsemem.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SPARSEMEM_H -#define __ASM_SH_SPARSEMEM_H - -/* - * SECTION_SIZE_BITS 2^N: how big each section will be - * MAX_PHYSMEM_BITS 2^N: how much physical address space we have - */ -#define SECTION_SIZE_BITS 26 -#define MAX_PHYSMEM_BITS 32 - -#endif /* __ASM_SH_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SPARSEMEM_H +#define __ASM_SH_SPARSEMEM_H + +/* + * SECTION_SIZE_BITS 2^N: how big each section will be + * MAX_PHYSMEM_BITS 2^N: how much physical address space we have + */ +#define SECTION_SIZE_BITS 26 +#define MAX_PHYSMEM_BITS 32 + +#endif /* __ASM_SH_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spi.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spi.h index 01933587c8..6780753bd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spi.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SPI_H__ -#define __ASM_SPI_H__ - -struct sh_spi_info; - -struct sh_spi_info { - int bus_num; - int num_chipselect; - - void (*chip_select)(struct sh_spi_info *spi, int cs, int state); -}; - -#endif /* __ASM_SPI_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SPI_H__ +#define __ASM_SPI_H__ + +struct sh_spi_info; + +struct sh_spi_info { + int bus_num; + int num_chipselect; + + void (*chip_select)(struct sh_spi_info *spi, int cs, int state); +}; + +#endif /* __ASM_SPI_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/switch_to.h index 5aaddcbb58..bd139bcdee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/switch_to.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Copyright (C) 2000, 2001 Paolo Alberelli - * Copyright (C) 2003 Paul Mundt - * Copyright (C) 2004 Richard Curnow - */ -#include +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2000, 2001 Paolo Alberelli + * Copyright (C) 2003 Paul Mundt + * Copyright (C) 2004 Richard Curnow + */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscall.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscall.h index e18667df3c..570699eb0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscall.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SYSCALL_H -#define __ASM_SH_SYSCALL_H - -extern const unsigned long sys_call_table[]; - -#include - -#endif /* __ASM_SH_SYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SYSCALL_H +#define __ASM_SH_SYSCALL_H + +extern const unsigned long sys_call_table[]; + +#include + +#endif /* __ASM_SH_SYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/types.h index 7973b1321d..9b3fc923ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/types.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_TYPES_H -#define __ASM_SH_TYPES_H - -#include - -/* - * These aren't exported outside the kernel to avoid name space clashes - */ -#ifndef __ASSEMBLY__ - -typedef u16 insn_size_t; -typedef u32 reg_size_t; - -#endif /* __ASSEMBLY__ */ -#endif /* __ASM_SH_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_TYPES_H +#define __ASM_SH_TYPES_H + +#include + +/* + * These aren't exported outside the kernel to avoid name space clashes + */ +#ifndef __ASSEMBLY__ + +typedef u16 insn_size_t; +typedef u32 reg_size_t; + +#endif /* __ASSEMBLY__ */ +#endif /* __ASM_SH_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vga.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vga.h index 516984cd61..089fbdc6c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vga.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vga.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_VGA_H -#define __ASM_SH_VGA_H - -/* Stupid drivers. */ - -#endif /* __ASM_SH_VGA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_VGA_H +#define __ASM_SH_VGA_H + +/* Stupid drivers. */ + +#endif /* __ASM_SH_VGA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmalloc.h index ba43e62471..716b774726 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_SH_VMALLOC_H -#define _ASM_SH_VMALLOC_H - -#endif /* _ASM_SH_VMALLOC_H */ +#ifndef _ASM_SH_VMALLOC_H +#define _ASM_SH_VMALLOC_H + +#endif /* _ASM_SH_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/mmu_context.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/mmu_context.h index 2b8dcb2951..cef3a30dbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/mmu_context.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/mmu_context.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/cpu-sh2/mmu_context.h - * - * Copyright (C) 2003 Paul Mundt - */ -#ifndef __ASM_CPU_SH2_MMU_CONTEXT_H -#define __ASM_CPU_SH2_MMU_CONTEXT_H - -/* No MMU */ - -#endif /* __ASM_CPU_SH2_MMU_CONTEXT_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/cpu-sh2/mmu_context.h + * + * Copyright (C) 2003 Paul Mundt + */ +#ifndef __ASM_CPU_SH2_MMU_CONTEXT_H +#define __ASM_CPU_SH2_MMU_CONTEXT_H + +/* No MMU */ + +#endif /* __ASM_CPU_SH2_MMU_CONTEXT_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/rtc.h index b766875638..5fe726acd9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/rtc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CPU_SH2_RTC_H -#define __ASM_SH_CPU_SH2_RTC_H - -#define rtc_reg_size sizeof(u16) -#define RTC_BIT_INVERTED 0 -#define RTC_DEF_CAPABILITIES 0UL - -#endif /* __ASM_SH_CPU_SH2_RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CPU_SH2_RTC_H +#define __ASM_SH_CPU_SH2_RTC_H + +#define rtc_reg_size sizeof(u16) +#define RTC_BIT_INVERTED 0 +#define RTC_DEF_CAPABILITIES 0UL + +#endif /* __ASM_SH_CPU_SH2_RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/timer.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/timer.h index c54d9e66bc..af51438755 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/timer.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH2_TIMER_H -#define __ASM_CPU_SH2_TIMER_H - -/* Nothing needed yet */ - -#endif /* __ASM_CPU_SH2_TIMER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH2_TIMER_H +#define __ASM_CPU_SH2_TIMER_H + +/* Nothing needed yet */ + +#endif /* __ASM_CPU_SH2_TIMER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2/cpu/freq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2/cpu/freq.h index 7b6b73940f..fb2e5d2831 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2/cpu/freq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2/cpu/freq.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/cpu-sh2/freq.h - * - * Copyright (C) 2006 Yoshinori Sato - */ -#ifndef __ASM_CPU_SH2_FREQ_H -#define __ASM_CPU_SH2_FREQ_H - -#if defined(CONFIG_CPU_SUBTYPE_SH7619) -#define FREQCR 0xf815ff80 -#endif - -#endif /* __ASM_CPU_SH2_FREQ_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/cpu-sh2/freq.h + * + * Copyright (C) 2006 Yoshinori Sato + */ +#ifndef __ASM_CPU_SH2_FREQ_H +#define __ASM_CPU_SH2_FREQ_H + +#if defined(CONFIG_CPU_SUBTYPE_SH7619) +#define FREQCR 0xf815ff80 +#endif + +#endif /* __ASM_CPU_SH2_FREQ_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/addrspace.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/addrspace.h index 7a78c56b67..3afa46c09f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/addrspace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/addrspace.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CPU_SH2A_ADDRSPACE_H -#define __ASM_SH_CPU_SH2A_ADDRSPACE_H - -#define P0SEG 0x00000000 -#define P1SEG 0x00000000 -#define P2SEG 0x20000000 -#define P3SEG 0x40000000 -#define P4SEG 0x60000000 - -#endif /* __ASM_SH_CPU_SH2A_ADDRSPACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CPU_SH2A_ADDRSPACE_H +#define __ASM_SH_CPU_SH2A_ADDRSPACE_H + +#define P0SEG 0x00000000 +#define P1SEG 0x00000000 +#define P2SEG 0x20000000 +#define P3SEG 0x40000000 +#define P4SEG 0x60000000 + +#endif /* __ASM_SH_CPU_SH2A_ADDRSPACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/freq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/freq.h index 6d44c8a38f..fb0813f470 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/freq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/freq.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/cpu-sh2a/freq.h - * - * Copyright (C) 2006 Yoshinori Sato - */ -#ifndef __ASM_CPU_SH2A_FREQ_H -#define __ASM_CPU_SH2A_FREQ_H - -#define FREQCR 0xfffe0010 - -#endif /* __ASM_CPU_SH2A_FREQ_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/cpu-sh2a/freq.h + * + * Copyright (C) 2006 Yoshinori Sato + */ +#ifndef __ASM_CPU_SH2A_FREQ_H +#define __ASM_CPU_SH2A_FREQ_H + +#define FREQCR 0xfffe0010 + +#endif /* __ASM_CPU_SH2A_FREQ_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/rtc.h index 0f3a9caf59..6b6c7ee752 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/rtc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CPU_SH2A_RTC_H -#define __ASM_SH_CPU_SH2A_RTC_H - -#define rtc_reg_size sizeof(u16) -#define RTC_BIT_INVERTED 0 -#define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR - -#endif /* __ASM_SH_CPU_SH2A_RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CPU_SH2A_RTC_H +#define __ASM_SH_CPU_SH2A_RTC_H + +#define rtc_reg_size sizeof(u16) +#define RTC_BIT_INVERTED 0 +#define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR + +#endif /* __ASM_SH_CPU_SH2A_RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/watchdog.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/watchdog.h index 51263f1a35..8f932b733c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/watchdog.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh2a/cpu/watchdog.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/serial.h index 927b4c88aa..7b2ce6e300 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/serial.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __CPU_SH3_SERIAL_H -#define __CPU_SH3_SERIAL_H - -#include - -extern struct plat_sci_port_ops sh770x_sci_port_ops; -extern struct plat_sci_port_ops sh7710_sci_port_ops; -extern struct plat_sci_port_ops sh7720_sci_port_ops; - -#endif /* __CPU_SH3_SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __CPU_SH3_SERIAL_H +#define __CPU_SH3_SERIAL_H + +#include + +extern struct plat_sci_port_ops sh770x_sci_port_ops; +extern struct plat_sci_port_ops sh7710_sci_port_ops; +extern struct plat_sci_port_ops sh7720_sci_port_ops; + +#endif /* __CPU_SH3_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4a/cpu/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4a/cpu/serial.h index 349886fcf7..fc206c0bf6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4a/cpu/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4a/cpu/serial.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __CPU_SH4A_SERIAL_H -#define __CPU_SH4A_SERIAL_H - -/* arch/sh/kernel/cpu/sh4a/serial-sh7722.c */ -extern struct plat_sci_port_ops sh7722_sci_port_ops; - -#endif /* __CPU_SH4A_SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __CPU_SH4A_SERIAL_H +#define __CPU_SH4A_SERIAL_H + +/* arch/sh/kernel/cpu/sh4a/serial-sh7722.c */ +extern struct plat_sci_port_ops sh7722_sci_port_ops; + +#endif /* __CPU_SH4A_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/romimage.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/romimage.h index 8d82d14b8a..1915714263 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/romimage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/romimage.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __ASSEMBLY__ - -/* do nothing here by default */ - -#else /* __ASSEMBLY__ */ - -static inline void mmcif_update_progress(int nr) -{ -} - -#endif /* __ASSEMBLY__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __ASSEMBLY__ + +/* do nothing here by default */ + +#else /* __ASSEMBLY__ */ + +static inline void mmcif_update_progress(int nr) +{ +} + +#endif /* __ASSEMBLY__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/shmin.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/shmin.h index fc65f8e7b1..c2c3e26d14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/shmin.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/shmin.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SHMIN_H -#define __ASM_SH_SHMIN_H - -#define SHMIN_IO_BASE 0xb0000000UL - -#define SHMIN_NE_IRQ IRQ2_IRQ -#define SHMIN_NE_BASE 0x300 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SHMIN_H +#define __ASM_SH_SHMIN_H + +#define SHMIN_IO_BASE 0xb0000000UL + +#define SHMIN_NE_IRQ IRQ2_IRQ +#define SHMIN_NE_BASE 0x300 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-sdk7786/mach/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-sdk7786/mach/irq.h index 6b6609d67f..3343380907 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-sdk7786/mach/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-sdk7786/mach/irq.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_SDK7786_IRQ_H -#define __MACH_SDK7786_IRQ_H - -/* arch/sh/boards/mach-sdk7786/irq.c */ -extern void sdk7786_init_irq(void); - -#endif /* __MACH_SDK7786_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_SDK7786_IRQ_H +#define __MACH_SDK7786_IRQ_H + +/* arch/sh/boards/mach-sdk7786/irq.c */ +extern void sdk7786_init_irq(void); + +#endif /* __MACH_SDK7786_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-se/mach/se7206.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-se/mach/se7206.h index d1971cd63c..cf190279bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-se/mach/se7206.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-se/mach/se7206.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SE7206_H -#define __ASM_SH_SE7206_H - -#define PA_SMSC 0x30000000 -#define PA_MRSHPC 0x34000000 -#define PA_LED 0x31400000 - -void init_se7206_IRQ(void); - -#define __IO_PREFIX se7206 -#include - -#endif /* __ASM_SH_SE7206_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SE7206_H +#define __ASM_SH_SE7206_H + +#define PA_SMSC 0x30000000 +#define PA_MRSHPC 0x34000000 +#define PA_LED 0x31400000 + +void init_se7206_IRQ(void); + +#define __IO_PREFIX se7206 +#include + +#endif /* __ASM_SH_SE7206_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-x3proto/mach/hardware.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-x3proto/mach/hardware.h index 0c51bb09ae..57ea4a5cca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-x3proto/mach/hardware.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-x3proto/mach/hardware.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_X3PROTO_HARDWARE_H -#define __MACH_X3PROTO_HARDWARE_H - -struct gpio_chip; - -/* arch/sh/boards/mach-x3proto/gpio.c */ -int x3proto_gpio_setup(void); -extern struct gpio_chip x3proto_gpio_chip; - -#define NR_BASEBOARD_GPIOS 16 - -#endif /* __MACH_X3PROTO_HARDWARE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_X3PROTO_HARDWARE_H +#define __MACH_X3PROTO_HARDWARE_H + +struct gpio_chip; + +/* arch/sh/boards/mach-x3proto/gpio.c */ +int x3proto_gpio_setup(void); +extern struct gpio_chip x3proto_gpio_chip; + +#define NR_BASEBOARD_GPIOS 16 + +#endif /* __MACH_X3PROTO_HARDWARE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/Kbuild index d7a01546a9..b8812c74c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -generated-y += unistd_32.h -generic-y += ucontext.h +# SPDX-License-Identifier: GPL-2.0 + +generated-y += unistd_32.h +generic-y += ucontext.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/byteorder.h index 47cec5964b..e27d6da321 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/byteorder.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_SH_BYTEORDER_H -#define __ASM_SH_BYTEORDER_H - -#ifdef __LITTLE_ENDIAN__ -#include -#else -#include -#endif - -#endif /* __ASM_SH_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_SH_BYTEORDER_H +#define __ASM_SH_BYTEORDER_H + +#ifdef __LITTLE_ENDIAN__ +#include +#else +#include +#endif + +#endif /* __ASM_SH_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/hw_breakpoint.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/hw_breakpoint.h index 05516957ff..043dd4b920 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/hw_breakpoint.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/hw_breakpoint.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * There isn't anything here anymore, but the file must not be empty or patch - * will delete it. - */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * There isn't anything here anymore, but the file must not be empty or patch + * will delete it. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/posix_types.h index 4f685164fc..adc998a64c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/posix_types.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/unistd.h index 465d98c304..0f7c7772a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/uapi/asm/unistd.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/irq/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/irq/Makefile index a0af57675a..e4578cde46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/irq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/irq/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux/SuperH CPU-specific IRQ handlers. -# -obj-y += imask.o -obj-$(CONFIG_CPU_HAS_IPR_IRQ) += ipr.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux/SuperH CPU-specific IRQ handlers. +# +obj-y += imask.o +obj-$(CONFIG_CPU_HAS_IPR_IRQ) += ipr.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/sh2/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/sh2/Makefile index 4fc7829144..214c3a5b18 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/sh2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/sh2/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux/SuperH SH-2 backends. -# - -obj-y := ex.o probe.o entry.o - -obj-$(CONFIG_CPU_SUBTYPE_SH7619) += setup-sh7619.o clock-sh7619.o - -# SMP setup -smp-$(CONFIG_CPU_J2) := smp-j2.o -obj-$(CONFIG_SMP) += $(smp-y) +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux/SuperH SH-2 backends. +# + +obj-y := ex.o probe.o entry.o + +obj-$(CONFIG_CPU_SUBTYPE_SH7619) += setup-sh7619.o clock-sh7619.o + +# SMP setup +smp-$(CONFIG_CPU_J2) := smp-j2.o +obj-$(CONFIG_SMP) += $(smp-y) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/shmobile/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/shmobile/Makefile index 701a6c5fca..7581d5f03c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/shmobile/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/cpu/shmobile/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux/SuperH SH-Mobile backends. -# - -# Power Management & Sleep mode -obj-$(CONFIG_PM) += pm.o sleep.o -obj-$(CONFIG_CPU_IDLE) += cpuidle.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux/SuperH SH-Mobile backends. +# + +# Power Management & Sleep mode +obj-$(CONFIG_PM) += pm.o sleep.o +obj-$(CONFIG_CPU_IDLE) += cpuidle.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/kdebugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/kdebugfs.c index 81ca19a319..8b505e1556 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/kdebugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/kdebugfs.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -struct dentry *arch_debugfs_dir; -EXPORT_SYMBOL(arch_debugfs_dir); - -static int __init arch_kdebugfs_init(void) -{ - arch_debugfs_dir = debugfs_create_dir("sh", NULL); - return 0; -} -arch_initcall(arch_kdebugfs_init); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +struct dentry *arch_debugfs_dir; +EXPORT_SYMBOL(arch_debugfs_dir); + +static int __init arch_kdebugfs_init(void) +{ + arch_debugfs_dir = debugfs_create_dir("sh", NULL); + return 0; +} +arch_initcall(arch_kdebugfs_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vmcore_info.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vmcore_info.c index 8e910e5208..a244a204a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vmcore_info.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vmcore_info.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -void arch_crash_save_vmcoreinfo(void) -{ -#ifdef CONFIG_NUMA - VMCOREINFO_SYMBOL(node_data); - VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); -#endif -#ifdef CONFIG_X2TLB - VMCOREINFO_CONFIG(X2TLB); -#endif -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +void arch_crash_save_vmcoreinfo(void) +{ +#ifdef CONFIG_NUMA + VMCOREINFO_SYMBOL(node_data); + VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); +#endif +#ifdef CONFIG_X2TLB + VMCOREINFO_CONFIG(X2TLB); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vsyscall/vsyscall-syscall.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vsyscall/vsyscall-syscall.S index 8ab2fcb01e..2aeaa2ddee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vsyscall/vsyscall-syscall.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/kernel/vsyscall/vsyscall-syscall.S @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -__INITDATA - - .globl vsyscall_trapa_start, vsyscall_trapa_end -vsyscall_trapa_start: - .incbin "arch/sh/kernel/vsyscall/vsyscall-trapa.so" -vsyscall_trapa_end: - -__FINIT +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +__INITDATA + + .globl vsyscall_trapa_start, vsyscall_trapa_end +vsyscall_trapa_start: + .incbin "arch/sh/kernel/vsyscall/vsyscall-trapa.so" +vsyscall_trapa_end: + +__FINIT diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/lib/div64-generic.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/lib/div64-generic.c index 0648c968ba..0b67fbc44f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/lib/div64-generic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/lib/div64-generic.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Generic __div64_32 wrapper for __xdiv64_32. - */ - -#include -#include - -extern uint64_t __xdiv64_32(u64 n, u32 d); - -uint32_t __div64_32(u64 *xp, u32 y) -{ - uint32_t rem; - uint64_t q = __xdiv64_32(*xp, y); - - rem = *xp - q * y; - *xp = q; - - return rem; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Generic __div64_32 wrapper for __xdiv64_32. + */ + +#include +#include + +extern uint64_t __xdiv64_32(u64 n, u32 d); + +uint32_t __div64_32(u64 *xp, u32 y) +{ + uint32_t rem; + uint64_t q = __xdiv64_32(*xp, y); + + rem = *xp - q * y; + *xp = q; + + return rem; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sparc/Kbuild index 2db5e90ef9..71cb3d934b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/Kbuild @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# core part of the sparc kernel -# - -obj-y += kernel/ -obj-y += mm/ -obj-y += math-emu/ -obj-y += net/ -obj-y += crypto/ -obj-$(CONFIG_SPARC64) += vdso/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0 +# +# core part of the sparc kernel +# + +obj-y += kernel/ +obj-y += mm/ +obj-y += math-emu/ +obj-y += net/ +obj-y += crypto/ +obj-$(CONFIG_SPARC64) += vdso/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/sparc/boot/.gitignore index 2ac40fd861..f3d8569a21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/boot/.gitignore @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -btfix.S -btfixupprep -image -zImage -tftpboot.img -vmlinux.aout -piggyback - +# SPDX-License-Identifier: GPL-2.0-only +btfix.S +btfixupprep +image +zImage +tftpboot.img +vmlinux.aout +piggyback + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/Kbuild index fefdc9cbbe..43b0ae4c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/Kbuild @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table_32.h -generated-y += syscall_table_64.h -generic-y += agp.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table_32.h +generated-y += syscall_table_64.h +generic-y += agp.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/adi.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/adi.h index 56f9937b6c..acad0d04e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/adi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/adi.h @@ -1,6 +1,6 @@ -#ifndef ___ASM_SPARC_ADI_H -#define ___ASM_SPARC_ADI_H -#if defined(__sparc__) && defined(__arch64__) -#include -#endif -#endif +#ifndef ___ASM_SPARC_ADI_H +#define ___ASM_SPARC_ADI_H +#if defined(__sparc__) && defined(__arch64__) +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/atomic.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/atomic.h index 5e26a74e22..425151cc48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/atomic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/atomic.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_ATOMIC_H -#define ___ASM_SPARC_ATOMIC_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_ATOMIC_H +#define ___ASM_SPARC_ATOMIC_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/auxio.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/auxio.h index b299ed7e0e..a2681052e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/auxio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/auxio.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_AUXIO_H -#define ___ASM_SPARC_AUXIO_H - -#ifndef __ASSEMBLY__ - -extern void __iomem *auxio_register; - -#endif /* ifndef __ASSEMBLY__ */ - -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_AUXIO_H +#define ___ASM_SPARC_AUXIO_H + +#ifndef __ASSEMBLY__ + +extern void __iomem *auxio_register; + +#endif /* ifndef __ASSEMBLY__ */ + +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier.h index 1b1ec16d91..c10b4164be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_BARRIER_H -#define ___ASM_SPARC_BARRIER_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_BARRIER_H +#define ___ASM_SPARC_BARRIER_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier_32.h index 865f60b077..304f9c3f7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/barrier_32.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SPARC_BARRIER_H -#define __SPARC_BARRIER_H - -#include - -#endif /* !(__SPARC_BARRIER_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SPARC_BARRIER_H +#define __SPARC_BARRIER_H + +#include + +#endif /* !(__SPARC_BARRIER_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/bitops.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/bitops.h index db359c9b1b..4c431d2749 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/bitops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/bitops.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_BITOPS_H -#define ___ASM_SPARC_BITOPS_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_BITOPS_H +#define ___ASM_SPARC_BITOPS_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/btext.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/btext.h index c872c14db4..01cdc42657 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/btext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/btext.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC_BTEXT_H -#define _SPARC_BTEXT_H - -int btext_find_display(void); - -#endif /* _SPARC_BTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC_BTEXT_H +#define _SPARC_BTEXT_H + +int btext_find_display(void); + +#endif /* _SPARC_BTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cachetype.h index 3e174fe32a..caf1c00458 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cachetype.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SPARC_CACHETYPE_H -#define __ASM_SPARC_CACHETYPE_H - -#include - -#ifdef CONFIG_SPARC32 -extern int vac_cache_size; -#define cpu_dcache_is_aliasing() (vac_cache_size > PAGE_SIZE) -#else -#define cpu_dcache_is_aliasing() (L1DCACHE_SIZE > PAGE_SIZE) -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SPARC_CACHETYPE_H +#define __ASM_SPARC_CACHETYPE_H + +#include + +#ifdef CONFIG_SPARC32 +extern int vac_cache_size; +#define cpu_dcache_is_aliasing() (vac_cache_size > PAGE_SIZE) +#else +#define cpu_dcache_is_aliasing() (L1DCACHE_SIZE > PAGE_SIZE) +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/checksum.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/checksum.h index 8b88730d45..f2ac13323b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/checksum.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/checksum.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_CHECKSUM_H -#define ___ASM_SPARC_CHECKSUM_H -#define _HAVE_ARCH_CSUM_AND_COPY -#define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER -#define HAVE_CSUM_COPY_USER -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_CHECKSUM_H +#define ___ASM_SPARC_CHECKSUM_H +#define _HAVE_ARCH_CSUM_AND_COPY +#define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER +#define HAVE_CSUM_COPY_USER +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/clock.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/clock.h index 71c1fe3cef..2cf99dadec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/clock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/clock.h @@ -1,11 +1,11 @@ -/* - * clock.h: Definitions for clock operations on the Sparc. - * - * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) - */ -#ifndef _SPARC_CLOCK_H -#define _SPARC_CLOCK_H - -/* Foo for now. */ - -#endif /* !(_SPARC_CLOCK_H) */ +/* + * clock.h: Definitions for clock operations on the Sparc. + * + * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) + */ +#ifndef _SPARC_CLOCK_H +#define _SPARC_CLOCK_H + +/* Foo for now. */ + +#endif /* !(_SPARC_CLOCK_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cmpxchg.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cmpxchg.h index 745f5d172b..b7955c6b91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cmpxchg.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/cmpxchg.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_CMPXCHG_H -#define ___ASM_SPARC_CMPXCHG_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_CMPXCHG_H +#define ___ASM_SPARC_CMPXCHG_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/delay.h index e1da9d8aea..c96af9b916 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/delay.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_DELAY_H -#define ___ASM_SPARC_DELAY_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_DELAY_H +#define ___ASM_SPARC_DELAY_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/dma-mapping.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/dma-mapping.h index d7dafd4667..55c12fc2ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/dma-mapping.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/dma-mapping.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_DMA_MAPPING_H -#define ___ASM_SPARC_DMA_MAPPING_H - -extern const struct dma_map_ops *dma_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(void) -{ - /* sparc32 uses per-device dma_ops */ - return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_DMA_MAPPING_H +#define ___ASM_SPARC_DMA_MAPPING_H + +extern const struct dma_map_ops *dma_ops; + +static inline const struct dma_map_ops *get_arch_dma_ops(void) +{ + /* sparc32 uses per-device dma_ops */ + return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/eeprom.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/eeprom.h index 36b0509f32..e17beeceb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/eeprom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/eeprom.h @@ -1,9 +1,9 @@ -/* - * eeprom.h: Definitions for the Sun eeprom. - * - * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) - */ - -/* The EEPROM and the Mostek Mk48t02 use the same IO address space - * for their registers/data areas. The IDPROM lives here too. - */ +/* + * eeprom.h: Definitions for the Sun eeprom. + * + * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) + */ + +/* The EEPROM and the Mostek Mk48t02 use the same IO address space + * for their registers/data areas. The IDPROM lives here too. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/elf.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/elf.h index 3d04e22283..bbfb4b002f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/elf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/elf.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_ELF_H -#define ___ASM_SPARC_ELF_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_ELF_H +#define ___ASM_SPARC_ELF_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/floppy.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/floppy.h index 561ae27297..4b315802e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/floppy.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/floppy.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_FLOPPY_H -#define ___ASM_SPARC_FLOPPY_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_FLOPPY_H +#define ___ASM_SPARC_FLOPPY_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex.h index dc9d3d1244..75a13a20cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_FUTEX_H -#define ___ASM_SPARC_FUTEX_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_FUTEX_H +#define ___ASM_SPARC_FUTEX_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex_32.h index d2c5c77680..6a332a9f09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/futex_32.h @@ -1,6 +1,6 @@ -#ifndef _ASM_FUTEX_H -#define _ASM_FUTEX_H - -#include - -#endif +#ifndef _ASM_FUTEX_H +#define _ASM_FUTEX_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq.h index 83967d56b5..a185f66473 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_HARDIRQ_H -#define ___ASM_SPARC_HARDIRQ_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_HARDIRQ_H +#define ___ASM_SPARC_HARDIRQ_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq_32.h index ff20954d75..9830d8731a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hardirq_32.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* hardirq.h: 32-bit Sparc hard IRQ support. - * - * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) - * Copyright (C) 1998-2000 Anton Blanchard (anton@samba.org) - */ - -#ifndef __SPARC_HARDIRQ_H -#define __SPARC_HARDIRQ_H - -#include - -#endif /* __SPARC_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* hardirq.h: 32-bit Sparc hard IRQ support. + * + * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) + * Copyright (C) 1998-2000 Anton Blanchard (anton@samba.org) + */ + +#ifndef __SPARC_HARDIRQ_H +#define __SPARC_HARDIRQ_H + +#include + +#endif /* __SPARC_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/head.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/head.h index c930cd0f45..25299b701d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/head.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/head.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_HEAD_H -#define ___ASM_SPARC_HEAD_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_HEAD_H +#define ___ASM_SPARC_HEAD_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hw_irq.h index 2b87b80feb..8d30a7694b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/hw_irq.h @@ -1,6 +1,6 @@ -#ifndef __ASM_SPARC_HW_IRQ_H -#define __ASM_SPARC_HW_IRQ_H - -/* Dummy include. */ - -#endif +#ifndef __ASM_SPARC_HW_IRQ_H +#define __ASM_SPARC_HW_IRQ_H + +/* Dummy include. */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/iommu.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/iommu.h index f488c2ece4..37935cb348 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/iommu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/iommu.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_IOMMU_H -#define ___ASM_SPARC_IOMMU_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_IOMMU_H +#define ___ASM_SPARC_IOMMU_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irq.h index e3a00d8b8a..a2efc274db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irq.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_IRQ_H -#define ___ASM_SPARC_IRQ_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_IRQ_H +#define ___ASM_SPARC_IRQ_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irqflags.h index 857c72cba0..d1bdf6c398 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/irqflags.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_IRQFLAGS_H -#define ___ASM_SPARC_IRQFLAGS_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_IRQFLAGS_H +#define ___ASM_SPARC_IRQFLAGS_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/kdebug.h index 780d58cb0a..830053f91d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/kdebug.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_KDEBUG_H -#define ___ASM_SPARC_KDEBUG_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_KDEBUG_H +#define ___ASM_SPARC_KDEBUG_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mc146818rtc.h index 2db0bed581..07faf754eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mc146818rtc.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_MC146818RTC_H -#define ___ASM_SPARC_MC146818RTC_H - -#include - -extern spinlock_t rtc_lock; - -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_MC146818RTC_H +#define ___ASM_SPARC_MC146818RTC_H + +#include + +extern spinlock_t rtc_lock; + +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/memctrl.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/memctrl.h index 408129d8b4..6790ed608c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/memctrl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/memctrl.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC_MEMCTRL_H -#define _SPARC_MEMCTRL_H - -typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen); - -int register_dimm_printer(dimm_printer_t func); -void unregister_dimm_printer(dimm_printer_t func); - -#endif /* _SPARC_MEMCTRL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC_MEMCTRL_H +#define _SPARC_MEMCTRL_H + +typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen); + +int register_dimm_printer(dimm_printer_t func); +void unregister_dimm_printer(dimm_printer_t func); + +#endif /* _SPARC_MEMCTRL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu.h index 9c65651a7b..286457e589 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_MMU_H -#define ___ASM_SPARC_MMU_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_MMU_H +#define ___ASM_SPARC_MMU_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_32.h index f7ed4e7d97..d5b220ca7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_32.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MMU_H -#define __MMU_H - -/* Default "unsigned long" context */ -typedef unsigned long mm_context_t; - -/* mm/srmmu.c */ -extern ctxd_t *srmmu_ctx_table_phys; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MMU_H +#define __MMU_H + +/* Default "unsigned long" context */ +typedef unsigned long mm_context_t; + +/* mm/srmmu.c */ +extern ctxd_t *srmmu_ctx_table_phys; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_context.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_context.h index 5ddd993068..5e1ea38511 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_context.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmu_context.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_MMU_CONTEXT_H -#define ___ASM_SPARC_MMU_CONTEXT_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_MMU_CONTEXT_H +#define ___ASM_SPARC_MMU_CONTEXT_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmzone.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmzone.h index 789b1cad76..74eb2c71d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/mmzone.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC64_MMZONE_H -#define _SPARC64_MMZONE_H - -#ifdef CONFIG_NUMA - -#include - -extern int numa_cpu_lookup_table[]; -extern cpumask_t numa_cpumask_lookup_table[]; - -#endif /* CONFIG_NUMA */ - -#endif /* _SPARC64_MMZONE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC64_MMZONE_H +#define _SPARC64_MMZONE_H + +#ifdef CONFIG_NUMA + +#include + +extern int numa_cpu_lookup_table[]; +extern cpumask_t numa_cpumask_lookup_table[]; + +#endif /* CONFIG_NUMA */ + +#endif /* _SPARC64_MMZONE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/nmi.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/nmi.h index 5b5bb5f46e..920dc23f44 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/nmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/nmi.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NMI_H -#define __NMI_H - -int __init nmi_init(void); -void perfctr_irq(int irq, struct pt_regs *regs); -void nmi_adjust_hz(unsigned int new_hz); - -extern atomic_t nmi_active; - -void start_nmi_watchdog(void *unused); -void stop_nmi_watchdog(void *unused); - -#endif /* __NMI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NMI_H +#define __NMI_H + +int __init nmi_init(void); +void perfctr_irq(int irq, struct pt_regs *regs); +void nmi_adjust_hz(unsigned int new_hz); + +extern atomic_t nmi_active; + +void start_nmi_watchdog(void *unused); +void stop_nmi_watchdog(void *unused); + +#endif /* __NMI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/oplib.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/oplib.h index 4b8cf6be05..df49a7700d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/oplib.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/oplib.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_OPLIB_H -#define ___ASM_SPARC_OPLIB_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_OPLIB_H +#define ___ASM_SPARC_OPLIB_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/page.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/page.h index 62c9f91d2b..5e44cdf2a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/page.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/page.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PAGE_H -#define ___ASM_SPARC_PAGE_H - -#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) - -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PAGE_H +#define ___ASM_SPARC_PAGE_H + +#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) + +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/parport.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/parport.h index 9e05241721..e2eed8f976 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/parport.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/parport.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PARPORT_H -#define ___ASM_SPARC_PARPORT_H - -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PARPORT_H +#define ___ASM_SPARC_PARPORT_H + +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu.h index 33cb281cec..0cd704ef5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PERCPU_H -#define ___ASM_SPARC_PERCPU_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PERCPU_H +#define ___ASM_SPARC_PERCPU_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu_32.h index f0066e6990..ee6c7c1934 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/percpu_32.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARCH_SPARC_PERCPU__ -#define __ARCH_SPARC_PERCPU__ - -#include - -#endif /* __ARCH_SPARC_PERCPU__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ARCH_SPARC_PERCPU__ +#define __ARCH_SPARC_PERCPU__ + +#include + +#endif /* __ARCH_SPARC_PERCPU__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgalloc.h index 93a012bfd5..9ea0b37586 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgalloc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PGALLOC_H -#define ___ASM_SPARC_PGALLOC_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PGALLOC_H +#define ___ASM_SPARC_PGALLOC_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgtable.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgtable.h index e650a739f8..e48891170f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgtable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/pgtable.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PGTABLE_H -#define ___ASM_SPARC_PGTABLE_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PGTABLE_H +#define ___ASM_SPARC_PGTABLE_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/processor.h index 30a94ca91c..18295ea625 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/processor.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_PROCESSOR_H -#define ___ASM_SPARC_PROCESSOR_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_PROCESSOR_H +#define ___ASM_SPARC_PROCESSOR_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qrwlock.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qrwlock.h index 3a7a2f151a..c277729152 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qrwlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qrwlock.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SPARC_QRWLOCK_H -#define _ASM_SPARC_QRWLOCK_H - -#include -#include - -#endif /* _ASM_SPARC_QRWLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SPARC_QRWLOCK_H +#define _ASM_SPARC_QRWLOCK_H + +#include +#include + +#endif /* _ASM_SPARC_QRWLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qspinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qspinlock.h index a1e0790bd8..48808f3d9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qspinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/qspinlock.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SPARC_QSPINLOCK_H -#define _ASM_SPARC_QSPINLOCK_H - -#include -#include - -#endif /* _ASM_SPARC_QSPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SPARC_QSPINLOCK_H +#define _ASM_SPARC_QSPINLOCK_H + +#include +#include + +#endif /* _ASM_SPARC_QSPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/seccomp.h index 80dd615a2c..62d4579efb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#define __NR_seccomp_sigreturn_32 __NR_sigreturn - -#include - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#define __NR_seccomp_sigreturn_32 __NR_sigreturn + +#include + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sections.h index badc1b15d0..08f833453a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sections.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SPARC_SECTIONS_H -#define __SPARC_SECTIONS_H - -/* nothing to see, move along */ -#include - -/* sparc entry point */ -extern char _start[]; - -extern char __leon_1insn_patch[]; -extern char __leon_1insn_patch_end[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SPARC_SECTIONS_H +#define __SPARC_SECTIONS_H + +/* nothing to see, move along */ +#include + +/* sparc entry point */ +extern char _start[]; + +extern char __leon_1insn_patch[]; +extern char __leon_1insn_patch_end[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sfp-machine.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sfp-machine.h index 01da4840f2..4a247b4057 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sfp-machine.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sfp-machine.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_SFP_MACHINE_H -#define ___ASM_SPARC_SFP_MACHINE_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_SFP_MACHINE_H +#define ___ASM_SPARC_SFP_MACHINE_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam.h index 5d1e5486ed..951a4525fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_SHMPARAM_H -#define ___ASM_SPARC_SHMPARAM_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_SHMPARAM_H +#define ___ASM_SPARC_SHMPARAM_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_32.h index a117a9f69a..9767a8b302 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_32.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMSPARC_SHMPARAM_H -#define _ASMSPARC_SHMPARAM_H - -#define __ARCH_FORCE_SHMLBA 1 - -extern int vac_cache_size; -#define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) - -#endif /* _ASMSPARC_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMSPARC_SHMPARAM_H +#define _ASMSPARC_SHMPARAM_H + +#define __ARCH_FORCE_SHMLBA 1 + +extern int vac_cache_size; +#define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) + +#endif /* _ASMSPARC_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_64.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_64.h index a6109a2000..c0731b5712 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_64.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/shmparam_64.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMSPARC64_SHMPARAM_H -#define _ASMSPARC64_SHMPARAM_H - -#include - -#define __ARCH_FORCE_SHMLBA 1 -/* attach addr a multiple of this */ -#define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) - -#endif /* _ASMSPARC64_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMSPARC64_SHMPARAM_H +#define _ASMSPARC64_SHMPARAM_H + +#include + +#define __ARCH_FORCE_SHMLBA 1 +/* attach addr a multiple of this */ +#define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) + +#endif /* _ASMSPARC64_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/smp.h index 3c4217c56d..dea59f6ce7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/smp.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_SMP_H -#define ___ASM_SPARC_SMP_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_SMP_H +#define ___ASM_SPARC_SMP_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sparsemem.h index 4970907fa3..aa9a676bc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/sparsemem.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC64_SPARSEMEM_H -#define _SPARC64_SPARSEMEM_H - -#ifdef __KERNEL__ - -#include - -#define SECTION_SIZE_BITS 30 -#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS - -#endif /* !(__KERNEL__) */ - -#endif /* !(_SPARC64_SPARSEMEM_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC64_SPARSEMEM_H +#define _SPARC64_SPARSEMEM_H + +#ifdef __KERNEL__ + +#include + +#define SECTION_SIZE_BITS 30 +#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS + +#endif /* !(__KERNEL__) */ + +#endif /* !(_SPARC64_SPARSEMEM_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/spinlock.h index 6e3a4da923..3f4ce55bc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/spinlock.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_SPINLOCK_H -#define ___ASM_SPARC_SPINLOCK_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_SPINLOCK_H +#define ___ASM_SPARC_SPINLOCK_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/stacktrace.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/stacktrace.h index afd9c0ead7..556ec5d59c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/stacktrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/stacktrace.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC64_STACKTRACE_H -#define _SPARC64_STACKTRACE_H - -void stack_trace_flush(void); - -#endif /* _SPARC64_STACKTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC64_STACKTRACE_H +#define _SPARC64_STACKTRACE_H + +void stack_trace_flush(void); + +#endif /* _SPARC64_STACKTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/switch_to.h index 9980905c7b..7cf1c5dc73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/switch_to.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_SWITCH_TO_H -#define ___ASM_SPARC_SWITCH_TO_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_SWITCH_TO_H +#define ___ASM_SPARC_SWITCH_TO_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/syscalls.h index 18a9fa4c44..35575fbfb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/syscalls.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC64_SYSCALLS_H -#define _SPARC64_SYSCALLS_H - -struct pt_regs; - -asmlinkage long sparc_fork(struct pt_regs *regs); -asmlinkage long sparc_vfork(struct pt_regs *regs); -asmlinkage long sparc_clone(struct pt_regs *regs); - -#endif /* _SPARC64_SYSCALLS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC64_SYSCALLS_H +#define _SPARC64_SYSCALLS_H + +struct pt_regs; + +asmlinkage long sparc_fork(struct pt_regs *regs); +asmlinkage long sparc_vfork(struct pt_regs *regs); +asmlinkage long sparc_clone(struct pt_regs *regs); + +#endif /* _SPARC64_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/termbits.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/termbits.h index ff6ef1b22e..fa9de4a46d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/termbits.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/termbits.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC_TERMBITS_H -#define _SPARC_TERMBITS_H - -#include - -#define VMIN 16 -#define VTIME 17 -#endif /* !(_SPARC_TERMBITS_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC_TERMBITS_H +#define _SPARC_TERMBITS_H + +#include + +#define VMIN 16 +#define VTIME 17 +#endif /* !(_SPARC_TERMBITS_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/thread_info.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/thread_info.h index 5e55ca0282..740b1743ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/thread_info.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/thread_info.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_THREAD_INFO_H -#define ___ASM_SPARC_THREAD_INFO_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_THREAD_INFO_H +#define ___ASM_SPARC_THREAD_INFO_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timer.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timer.h index 7c6eafa584..eaf6195d17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timer.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_TIMER_H -#define ___ASM_SPARC_TIMER_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_TIMER_H +#define ___ASM_SPARC_TIMER_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex.h index 1ce59dfb82..9aac26b1f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_TIMEX_H -#define ___ASM_SPARC_TIMEX_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_TIMEX_H +#define ___ASM_SPARC_TIMEX_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex_32.h index 0138cc6eba..f86326a6f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/timex_32.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * linux/include/asm/timex.h - * - * sparc architecture timex specifications - */ -#ifndef _ASMsparc_TIMEX_H -#define _ASMsparc_TIMEX_H - -#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * linux/include/asm/timex.h + * + * sparc architecture timex specifications + */ +#ifndef _ASMsparc_TIMEX_H +#define _ASMsparc_TIMEX_H + +#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb.h index a6de5813cc..7146a57725 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_TLB_H -#define ___ASM_SPARC_TLB_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_TLB_H +#define ___ASM_SPARC_TLB_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb_32.h index 83c6a844ad..5cd28a8793 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlb_32.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SPARC_TLB_H -#define _SPARC_TLB_H - -#include - -#endif /* _SPARC_TLB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SPARC_TLB_H +#define _SPARC_TLB_H + +#include + +#endif /* _SPARC_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlbflush.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlbflush.h index bf3d7f152f..30ae3ea210 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlbflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/tlbflush.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_TLBFLUSH_H -#define ___ASM_SPARC_TLBFLUSH_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_TLBFLUSH_H +#define ___ASM_SPARC_TLBFLUSH_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology.h index 5d0fb9b59a..ba7b9d9d91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_TOPOLOGY_H -#define ___ASM_SPARC_TOPOLOGY_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_TOPOLOGY_H +#define ___ASM_SPARC_TOPOLOGY_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology_32.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology_32.h index 9b4fdf86e4..66c4f9ff70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/topology_32.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_SPARC_TOPOLOGY_H -#define _ASM_SPARC_TOPOLOGY_H - -#include - -#endif /* _ASM_SPARC_TOPOLOGY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_SPARC_TOPOLOGY_H +#define _ASM_SPARC_TOPOLOGY_H + +#include + +#endif /* _ASM_SPARC_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/uaccess.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/uaccess.h index e74f8ab2cc..ee75f69e3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/uaccess.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/uaccess.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_UACCESS_H -#define ___ASM_SPARC_UACCESS_H - -#include - -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif - -long strncpy_from_user(char *dest, const char __user *src, long count); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_UACCESS_H +#define ___ASM_SPARC_UACCESS_H + +#include + +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif + +long strncpy_from_user(char *dest, const char __user *src, long count); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/user.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/user.h index 8693236533..3400ea87f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/user.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/user.h @@ -1,6 +1,6 @@ -#ifndef _SPARC_USER_H -#define _SPARC_USER_H - -/* Nothing to define. */ - -#endif /* !(_SPARC_USER_H) */ +#ifndef _SPARC_USER_H +#define _SPARC_USER_H + +/* Nothing to define. */ + +#endif /* !(_SPARC_USER_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/vmalloc.h index a3084ac229..04b8ab9518 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_SPARC_VMALLOC_H -#define _ASM_SPARC_VMALLOC_H - -#endif /* _ASM_SPARC_VMALLOC_H */ +#ifndef _ASM_SPARC_VMALLOC_H +#define _ASM_SPARC_VMALLOC_H + +#endif /* _ASM_SPARC_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/xor.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/xor.h index 4a3ac635db..f4c651e203 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/xor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/asm/xor.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___ASM_SPARC_XOR_H -#define ___ASM_SPARC_XOR_H -#if defined(__sparc__) && defined(__arch64__) -#include -#else -#include -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___ASM_SPARC_XOR_H +#define ___ASM_SPARC_XOR_H +#if defined(__sparc__) && defined(__arch64__) +#include +#else +#include +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/Kbuild index adc0f4945a..353b70b199 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_32.h -generated-y += unistd_64.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_32.h +generated-y += unistd_64.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/bitsperlong.h index 7526218bef..cd9a432278 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/bitsperlong.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ALPHA_BITSPERLONG_H -#define __ASM_ALPHA_BITSPERLONG_H - -#if defined(__sparc__) && defined(__arch64__) -#define __BITS_PER_LONG 64 -#else -#define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_ALPHA_BITSPERLONG_H */ - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ALPHA_BITSPERLONG_H +#define __ASM_ALPHA_BITSPERLONG_H + +#if defined(__sparc__) && defined(__arch64__) +#define __BITS_PER_LONG 64 +#else +#define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_ALPHA_BITSPERLONG_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/byteorder.h index e6e86d4ad9..216b8e5937 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _SPARC_BYTEORDER_H -#define _SPARC_BYTEORDER_H - -#include - -#endif /* _SPARC_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _SPARC_BYTEORDER_H +#define _SPARC_BYTEORDER_H + +#include + +#endif /* _SPARC_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/param.h index cdc8ac5ed5..057d7135e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/param.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASMSPARC_PARAM_H -#define _ASMSPARC_PARAM_H - -#define EXEC_PAGESIZE 8192 /* Thanks for sun4's we carry baggage... */ -#include - -#endif /* _ASMSPARC_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASMSPARC_PARAM_H +#define _ASMSPARC_PARAM_H + +#define EXEC_PAGESIZE 8192 /* Thanks for sun4's we carry baggage... */ +#include + +#endif /* _ASMSPARC_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/poll.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/poll.h index 5e8780de7a..72356c9991 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/poll.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/poll.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __SPARC_POLL_H -#define __SPARC_POLL_H - -#define POLLWRNORM POLLOUT -#define POLLWRBAND 256 -#define POLLMSG 512 -#define POLLREMOVE 1024 -#define POLLRDHUP 2048 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __SPARC_POLL_H +#define __SPARC_POLL_H + +#define POLLWRNORM POLLOUT +#define POLLWRBAND 256 +#define POLLMSG 512 +#define POLLREMOVE 1024 +#define POLLRDHUP 2048 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/setup.h index b94e688da8..3c208a4dd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/setup.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Just a place holder. - */ - -#ifndef _UAPI_SPARC_SETUP_H -#define _UAPI_SPARC_SETUP_H - -#if defined(__sparc__) && defined(__arch64__) -# define COMMAND_LINE_SIZE 2048 -#else -# define COMMAND_LINE_SIZE 256 -#endif - - -#endif /* _UAPI_SPARC_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Just a place holder. + */ + +#ifndef _UAPI_SPARC_SETUP_H +#define _UAPI_SPARC_SETUP_H + +#if defined(__sparc__) && defined(__arch64__) +# define COMMAND_LINE_SIZE 2048 +#else +# define COMMAND_LINE_SIZE 256 +#endif + + +#endif /* _UAPI_SPARC_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/sigcontext.h index 05516957ff..043dd4b920 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/include/uapi/asm/sigcontext.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * There isn't anything here anymore, but the file must not be empty or patch - * will delete it. - */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * There isn't anything here anymore, but the file must not be empty or patch + * will delete it. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/cpumap.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/cpumap.h index 2f9f0c08f2..7d5b774862 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/cpumap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/cpumap.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CPUMAP_H -#define _CPUMAP_H - -#ifdef CONFIG_SMP -void cpu_map_rebuild(void); -int map_to_cpu(unsigned int index); -#define cpu_map_init() cpu_map_rebuild() -#else -#define cpu_map_init() do {} while (0) -static inline int map_to_cpu(unsigned int index) -{ - return raw_smp_processor_id(); -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CPUMAP_H +#define _CPUMAP_H + +#ifdef CONFIG_SMP +void cpu_map_rebuild(void); +int map_to_cpu(unsigned int index); +#define cpu_map_init() cpu_map_rebuild() +#else +#define cpu_map_init() do {} while (0) +static inline int map_to_cpu(unsigned int index) +{ + return raw_smp_processor_id(); +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/prom.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/prom.h index 00a329acf0..26a1cca7c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/prom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/prom.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PROM_H -#define __PROM_H - -#include -#include - -void of_console_init(void); - -extern unsigned int prom_early_allocated; - -#endif /* __PROM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PROM_H +#define __PROM_H + +#include +#include + +void of_console_init(void); + +extern unsigned int prom_early_allocated; + +#endif /* __PROM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/sparc_ksyms.c b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/sparc_ksyms.c index d17ff139f2..09aa69e422 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/sparc_ksyms.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/kernel/sparc_ksyms.c @@ -1,12 +1,12 @@ -/* - * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support. - * - * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) - * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) - */ - -#include -#include - -/* This is needed only for drivers/sbus/char/openprom.c */ -EXPORT_SYMBOL(saved_command_line); +/* + * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support. + * + * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) + * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) + */ + +#include +#include + +/* This is needed only for drivers/sbus/char/openprom.c */ +EXPORT_SYMBOL(saved_command_line); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/lib/libgcc.h b/image/debian/UFI003_MB_V02/kernel/arch/sparc/lib/libgcc.h index e0ec544e0c..79845c941b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/lib/libgcc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/lib/libgcc.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LIBGCC_H -#define __ASM_LIBGCC_H - -#include - -typedef int word_type __attribute__ ((mode (__word__))); - -struct DWstruct { - int high, low; -}; - -typedef union -{ - struct DWstruct s; - long long ll; -} DWunion; - -#endif /* __ASM_LIBGCC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LIBGCC_H +#define __ASM_LIBGCC_H + +#include + +typedef int word_type __attribute__ ((mode (__word__))); + +struct DWstruct { + int high, low; +}; + +typedef union +{ + struct DWstruct s; + long long ll; +} DWunion; + +#endif /* __ASM_LIBGCC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/math-emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sparc/math-emu/Makefile index 6809a410a0..aea8059792 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/math-emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/math-emu/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the FPU instruction emulation. -# - -# suppress all warnings - as math.c produces a lot! -ccflags-y := -w - -obj-y := math_$(BITS).o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the FPU instruction emulation. +# + +# suppress all warnings - as math.c produces a lot! +ccflags-y := -w + +obj-y := math_$(BITS).o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sparc/net/Makefile index 661ac0a8c2..806267de3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/net/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Arch-specific network modules -# -obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o -ifeq ($(BITS),32) -obj-$(CONFIG_BPF_JIT) += bpf_jit_asm_32.o -endif +# SPDX-License-Identifier: GPL-2.0-only +# +# Arch-specific network modules +# +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o +ifeq ($(BITS),32) +obj-$(CONFIG_BPF_JIT) += bpf_jit_asm_32.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/power/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sparc/power/Makefile index 3b315416f4..d8f75e7cb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/power/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/power/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for Sparc-specific hibernate files. - -obj-$(CONFIG_HIBERNATION) += hibernate.o hibernate_asm.o +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for Sparc-specific hibernate files. + +obj-$(CONFIG_HIBERNATION) += hibernate.o hibernate_asm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/checkundef.sh b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/checkundef.sh index 4f7a2bf859..2d85876ffc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/checkundef.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/checkundef.sh @@ -1,10 +1,10 @@ -#!/bin/sh -objdump="$1" -file="$2" -$objdump -t "$file" | grep '*UUND*' | grep -v '#scratch' > /dev/null 2>&1 -if [ $? -eq 1 ]; then - exit 0 -else - echo "$file: undefined symbols found" >&2 - exit 1 -fi +#!/bin/sh +objdump="$1" +file="$2" +$objdump -t "$file" | grep '*UUND*' | grep -v '#scratch' > /dev/null 2>&1 +if [ $? -eq 1 ]; then + exit 0 +else + echo "$file: undefined symbols found" >&2 + exit 1 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso-note.S b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso-note.S index 47ba138274..79a071e435 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso-note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso-note.S @@ -1,12 +1,12 @@ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso32/vdso-note.S b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso32/vdso-note.S index 284417a988..e234983cf0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso32/vdso-note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sparc/vdso/vdso32/vdso-note.S @@ -1,12 +1,12 @@ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO - * text. Here we can supply some information useful to userland. - */ - -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO + * text. Here we can supply some information useful to userland. + */ + +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/um/.gitignore index eb800842f5..d69ea5b562 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -kernel/config.c -kernel/config.tmp -kernel/vmlinux.lds -kernel/capflags.c +# SPDX-License-Identifier: GPL-2.0-only +kernel/config.c +kernel/config.tmp +kernel/vmlinux.lds +kernel/capflags.c diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/um/Kbuild index 8e6097d703..6cf0c1e592 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/Kbuild @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-y += kernel/ drivers/ os-Linux/ +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ drivers/ os-Linux/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/Makefile-os-Linux b/image/debian/UFI003_MB_V02/kernel/arch/um/Makefile-os-Linux index 6fcff236e6..2c8a598ec1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/Makefile-os-Linux +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/Makefile-os-Linux @@ -1,9 +1,9 @@ -# -# Copyright (C) 2000 Jeff Dike (jdike@karaya.com) -# Licensed under the GPL -# - -# To get a definition of F_SETSIG -USER_CFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -KBUILD_CFLAGS += -D_LARGEFILE64_SOURCE -DEV_NULL_PATH = \"/dev/null\" +# +# Copyright (C) 2000 Jeff Dike (jdike@karaya.com) +# Licensed under the GPL +# + +# To get a definition of F_SETSIG +USER_CFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE +KBUILD_CFLAGS += -D_LARGEFILE64_SOURCE +DEV_NULL_PATH = \"/dev/null\" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog.h b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog.h index 0cbc55dce0..6d9ea60e71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef UM_WATCHDOG_H -#define UM_WATCHDOG_H - -int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock); -void stop_watchdog(int in_fd, int out_fd); -int ping_watchdog(int fd); - -#endif /* UM_WATCHDOG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef UM_WATCHDOG_H +#define UM_WATCHDOG_H + +int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock); +void stop_watchdog(int in_fd, int out_fd); +int ping_watchdog(int fd); + +#endif /* UM_WATCHDOG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog_user_exp.c b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog_user_exp.c index 498cdeb768..c74d4b815d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog_user_exp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/harddog_user_exp.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "harddog.h" - -#if IS_MODULE(CONFIG_UML_WATCHDOG) -EXPORT_SYMBOL(start_watchdog); -EXPORT_SYMBOL(stop_watchdog); -EXPORT_SYMBOL(ping_watchdog); -#endif +// SPDX-License-Identifier: GPL-2.0 +#include +#include "harddog.h" + +#if IS_MODULE(CONFIG_UML_WATCHDOG) +EXPORT_SYMBOL(start_watchdog); +EXPORT_SYMBOL(stop_watchdog); +EXPORT_SYMBOL(ping_watchdog); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/stdio_console.h b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/stdio_console.h index e703441e75..3a409ec23d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/stdio_console.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/stdio_console.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) - */ - -#ifndef __STDIO_CONSOLE_H -#define __STDIO_CONSOLE_H - -extern void save_console_flags(void); -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) + */ + +#ifndef __STDIO_CONSOLE_H +#define __STDIO_CONSOLE_H + +extern void save_console_flags(void); +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/xterm.h b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/xterm.h index 3e12c477e6..5968da3a6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/xterm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/drivers/xterm.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) - */ - -#ifndef __XTERM_H__ -#define __XTERM_H__ - -extern int xterm_fd(int socket, int *pid_out); - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) + */ + +#ifndef __XTERM_H__ +#define __XTERM_H__ + +extern int xterm_fd(int socket, int *pid_out); + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/asm-prototypes.h index cde698e3fc..408b31d591 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/asm-prototypes.h @@ -1,6 +1,6 @@ -#include -#include - -#ifdef CONFIG_UML_X86 -extern void cmpxchg8b_emu(void); -#endif +#include +#include + +#ifdef CONFIG_UML_X86 +extern void cmpxchg8b_emu(void); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/bpf_perf_event.h index 0738d416d2..287221342d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/bpf_perf_event.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -/* - * asm-generic/bpf_perf_event.h is part of the uapi headers, but since - * arch/um has no uapi of its on, we can't use the "generic-y" - * Kbuild rule to generate the wrapper - */ - -#include +/* SPDX-License-Identifier: GPL-2.0 */ + +/* + * asm-generic/bpf_perf_event.h is part of the uapi headers, but since + * arch/um has no uapi of its on, we can't use the "generic-y" + * Kbuild rule to generate the wrapper + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/cacheflush.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/cacheflush.h index fb56a7133c..4c9858cd36 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/cacheflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/cacheflush.h @@ -1,9 +1,9 @@ -#ifndef __UM_ASM_CACHEFLUSH_H -#define __UM_ASM_CACHEFLUSH_H - -#include -#define flush_cache_vmap flush_tlb_kernel_range -#define flush_cache_vunmap flush_tlb_kernel_range - -#include -#endif /* __UM_ASM_CACHEFLUSH_H */ +#ifndef __UM_ASM_CACHEFLUSH_H +#define __UM_ASM_CACHEFLUSH_H + +#include +#define flush_cache_vmap flush_tlb_kernel_range +#define flush_cache_vunmap flush_tlb_kernel_range + +#include +#endif /* __UM_ASM_CACHEFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/dma.h index bc7af79307..fdc53642c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/dma.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_DMA_H -#define __UM_DMA_H - -#include - -extern unsigned long uml_physmem; - -#define MAX_DMA_ADDRESS (uml_physmem) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_DMA_H +#define __UM_DMA_H + +#include + +extern unsigned long uml_physmem; + +#define MAX_DMA_ADDRESS (uml_physmem) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/hardirq.h index 9b2bae2eba..52e2c36267 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/hardirq.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_UM_HARDIRQ_H -#define __ASM_UM_HARDIRQ_H - -#include - -#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 - -#endif /* __ASM_UM_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_UM_HARDIRQ_H +#define __ASM_UM_HARDIRQ_H + +#include + +#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 + +#endif /* __ASM_UM_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/sections.h index 26e884cff4..a3c1fb6ed6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/sections.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_SECTIONS_H -#define __UM_SECTIONS_H - -#include - -extern char __binary_start[]; -extern char __syscall_stub_start[], __syscall_stub_end[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_SECTIONS_H +#define __UM_SECTIONS_H + +#include + +extern char __binary_start[]; +extern char __syscall_stub_start[], __syscall_stub_end[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/setup.h index f244968135..80ada899f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/setup.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef SETUP_H_INCLUDED -#define SETUP_H_INCLUDED - -/* POSIX mandated with _POSIX_ARG_MAX that we can rely on 4096 chars in the - * command line, so this choice is ok. - */ - -#define COMMAND_LINE_SIZE 4096 - -#endif /* SETUP_H_INCLUDED */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef SETUP_H_INCLUDED +#define SETUP_H_INCLUDED + +/* POSIX mandated with _POSIX_ARG_MAX that we can rely on 4096 chars in the + * command line, so this choice is ok. + */ + +#define COMMAND_LINE_SIZE 4096 + +#endif /* SETUP_H_INCLUDED */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/smp.h index 72e10ba46c..a8cc1d46dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/smp.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_SMP_H -#define __UM_SMP_H - -#define hard_smp_processor_id() 0 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_SMP_H +#define __UM_SMP_H + +#define hard_smp_processor_id() 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/timex.h index a1d7a34cc9..9f27176adb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/timex.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_TIMEX_H -#define __UM_TIMEX_H - -#define CLOCK_TICK_RATE (HZ) - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_TIMEX_H +#define __UM_TIMEX_H + +#define CLOCK_TICK_RATE (HZ) + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/tlb.h index 9f864d5b61..0422467bda 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/tlb.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_TLB_H -#define __UM_TLB_H - -#include - -#include -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_TLB_H +#define __UM_TLB_H + +#include + +#include +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/unwind.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/unwind.h index abdd3469bc..7ffa5437b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/unwind.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/unwind.h @@ -1,8 +1,8 @@ -#ifndef _ASM_UML_UNWIND_H -#define _ASM_UML_UNWIND_H - -static inline void -unwind_module_init(struct module *mod, void *orc_ip, size_t orc_ip_size, - void *orc, size_t orc_size) {} - -#endif /* _ASM_UML_UNWIND_H */ +#ifndef _ASM_UML_UNWIND_H +#define _ASM_UML_UNWIND_H + +static inline void +unwind_module_init(struct module *mod, void *orc_ip, size_t orc_ip_size, + void *orc, size_t orc_size) {} + +#endif /* _ASM_UML_UNWIND_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/vmalloc.h index 8312370d98..9a7b9ed937 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_UM_VMALLOC_H -#define _ASM_UM_VMALLOC_H - -#endif /* _ASM_UM_VMALLOC_H */ +#ifndef _ASM_UM_VMALLOC_H +#define _ASM_UM_VMALLOC_H + +#endif /* _ASM_UM_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/linux/virtio-uml.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/linux/virtio-uml.h index cbf74fd811..2f652fa90f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/linux/virtio-uml.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/linux/virtio-uml.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2021 Intel Corporation - * Author: Johannes Berg - */ - -#ifndef __VIRTIO_UML_H__ -#define __VIRTIO_UML_H__ - -void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev, - bool no_vq_suspend); - -#endif /* __VIRTIO_UML_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2021 Intel Corporation + * Author: Johannes Berg + */ + +#ifndef __VIRTIO_UML_H__ +#define __VIRTIO_UML_H__ + +void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev, + bool no_vq_suspend); + +#endif /* __VIRTIO_UML_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/sigio.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/sigio.h index c7b283c166..e60c8b2278 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/sigio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/sigio.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) - */ - -#ifndef __SIGIO_H__ -#define __SIGIO_H__ - -extern int write_sigio_irq(int fd); -extern void sigio_lock(void); -extern void sigio_unlock(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) + */ + +#ifndef __SIGIO_H__ +#define __SIGIO_H__ + +extern int write_sigio_irq(int fd); +extern void sigio_lock(void); +extern void sigio_unlock(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/skas/mm_id.h b/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/skas/mm_id.h index a4f36a5306..140388c282 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/skas/mm_id.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/include/shared/skas/mm_id.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2005 Jeff Dike (jdike@karaya.com) - */ - -#ifndef __MM_ID_H -#define __MM_ID_H - -struct mm_id { - int pid; - unsigned long stack; - int syscall_data_len; -}; - -void __switch_mm(struct mm_id *mm_idp); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2005 Jeff Dike (jdike@karaya.com) + */ + +#ifndef __MM_ID_H +#define __MM_ID_H + +struct mm_id { + int pid; + unsigned long stack; + int syscall_data_len; +}; + +void __switch_mm(struct mm_id *mm_idp); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/gprof_syms.c b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/gprof_syms.c index 159588ab1f..84d5369087 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/gprof_syms.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/gprof_syms.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) - */ - -#include - -extern void mcount(void); -EXPORT_SYMBOL(mcount); +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) + */ + +#include + +extern void mcount(void); +EXPORT_SYMBOL(mcount); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/ioport.c b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/ioport.c index 0e29032458..7220615b3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/ioport.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/ioport.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2021 Intel Corporation - * Author: Johannes Berg - */ -#include -#include - -void __iomem *__pci_ioport_map(struct pci_dev *dev, unsigned long port, - unsigned int nr) -{ - return NULL; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2021 Intel Corporation + * Author: Johannes Berg + */ +#include +#include + +void __iomem *__pci_ioport_map(struct pci_dev *dev, unsigned long port, + unsigned int nr) +{ + return NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/um_arch.h b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/um_arch.h index bb234b20ab..46e731ab9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/um_arch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/um_arch.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __UML_ARCH_H__ -#define __UML_ARCH_H__ - -extern void * __init uml_load_file(const char *filename, unsigned long long *size); - -#ifdef CONFIG_OF -extern void __init uml_dtb_init(void); -#else -static inline void uml_dtb_init(void) { } -#endif - -extern int __init read_initrd(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __UML_ARCH_H__ +#define __UML_ARCH_H__ + +extern void * __init uml_load_file(const char *filename, unsigned long long *size); + +#ifdef CONFIG_OF +extern void __init uml_dtb_init(void); +#else +static inline void uml_dtb_init(void) { } +#endif + +extern int __init read_initrd(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/vmlinux.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/vmlinux.lds.S index cbc46e7e1d..53d719c04b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/vmlinux.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/kernel/vmlinux.lds.S @@ -1,8 +1,8 @@ -#define RUNTIME_DISCARD_EXIT -KERNEL_STACK_SIZE = 4096 * (1 << CONFIG_KERNEL_STACK_ORDER); - -#ifdef CONFIG_LD_SCRIPT_STATIC -#include "uml.lds.S" -#else -#include "dyn.lds.S" -#endif +#define RUNTIME_DISCARD_EXIT +KERNEL_STACK_SIZE = 4096 * (1 << CONFIG_KERNEL_STACK_ORDER); + +#ifdef CONFIG_LD_SCRIPT_STATIC +#include "uml.lds.S" +#else +#include "dyn.lds.S" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/drivers/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/drivers/Makefile index e2e7be2d2c..cf2d75bb18 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/drivers/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/drivers/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (C) 2000, 2002 Jeff Dike (jdike@karaya.com) -# - -ethertap-objs := ethertap_kern.o ethertap_user.o -tuntap-objs := tuntap_kern.o tuntap_user.o - -obj-y = -obj-$(CONFIG_UML_NET_ETHERTAP) += ethertap.o -obj-$(CONFIG_UML_NET_TUNTAP) += tuntap.o - -include $(srctree)/arch/um/scripts/Makefile.rules +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2000, 2002 Jeff Dike (jdike@karaya.com) +# + +ethertap-objs := ethertap_kern.o ethertap_user.o +tuntap-objs := tuntap_kern.o tuntap_user.o + +obj-y = +obj-$(CONFIG_UML_NET_ETHERTAP) += ethertap.o +obj-$(CONFIG_UML_NET_TUNTAP) += tuntap.o + +include $(srctree)/arch/um/scripts/Makefile.rules diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/internal.h b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/internal.h index 0b0da9279a..317fca190c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/internal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/internal.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_OS_LINUX_INTERNAL_H -#define __UM_OS_LINUX_INTERNAL_H - -/* - * elf_aux.c - */ -void scan_elf_aux(char **envp); - -/* - * mem.c - */ -void check_tmpexec(void); - -/* - * skas/process.c - */ -void wait_stub_done(int pid); - -#endif /* __UM_OS_LINUX_INTERNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_OS_LINUX_INTERNAL_H +#define __UM_OS_LINUX_INTERNAL_H + +/* + * elf_aux.c + */ +void scan_elf_aux(char **envp); + +/* + * mem.c + */ +void check_tmpexec(void); + +/* + * skas/process.c + */ +void wait_stub_done(int pid); + +#endif /* __UM_OS_LINUX_INTERNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/skas/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/skas/Makefile index 779fca70ca..75f11989d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/skas/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/um/os-Linux/skas/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) -# - -obj-y := mem.o process.o - -USER_OBJS := $(obj-y) - -include $(srctree)/arch/um/scripts/Makefile.rules +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) +# + +obj-y := mem.o process.o + +USER_OBJS := $(obj-y) + +include $(srctree)/arch/um/scripts/Makefile.rules diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/.gitignore index 0d5c5d56f2..f2e1d6c347 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -boot/compressed/vmlinux -tools/test_get_len -tools/insn_sanity -tools/insn_decoder_test -purgatory/purgatory.ro +# SPDX-License-Identifier: GPL-2.0-only +boot/compressed/vmlinux +tools/test_get_len +tools/insn_sanity +tools/insn_decoder_test +purgatory/purgatory.ro diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/.gitignore index b119be635a..1189be057e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/.gitignore @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -bootsect -bzImage -cpustr.h -mkcpustr -voffset.h -zoffset.h -setup -setup.bin -setup.elf -fdimage -mtools.conf -image.iso -hdimage +# SPDX-License-Identifier: GPL-2.0-only +bootsect +bzImage +cpustr.h +mkcpustr +voffset.h +zoffset.h +setup +setup.bin +setup.elf +fdimage +mtools.conf +image.iso +hdimage diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/.gitignore index 86d96bbfce..25805199a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -relocs -vmlinux.bin.all -vmlinux.relocs -vmlinux.lds -mkpiggy -piggy.S +# SPDX-License-Identifier: GPL-2.0-only +relocs +vmlinux.bin.all +vmlinux.relocs +vmlinux.lds +mkpiggy +piggy.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/cpuflags.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/cpuflags.c index efcc205ab8..0cc1323896 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/cpuflags.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/cpuflags.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "../cpuflags.c" - -bool has_cpuflag(int flag) -{ - get_cpuflags(); - - return test_bit(flag, cpu.flags); -} +// SPDX-License-Identifier: GPL-2.0 +#include "../cpuflags.c" + +bool has_cpuflag(int flag) +{ + get_cpuflags(); + + return test_bit(flag, cpu.flags); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/early_serial_console.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/early_serial_console.c index dc05c22878..70a8d1706d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/early_serial_console.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/early_serial_console.c @@ -1,6 +1,6 @@ -#include "misc.h" - -/* This might be accessed before .bss is cleared, so use .data instead. */ -int early_serial_base __section(".data"); - -#include "../early_serial_console.c" +#include "misc.h" + +/* This might be accessed before .bss is cleared, so use .data instead. */ +int early_serial_base __section(".data"); + +#include "../early_serial_console.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/error.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/error.h index 738a1d5d00..31f9e080d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/error.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/error.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BOOT_COMPRESSED_ERROR_H -#define BOOT_COMPRESSED_ERROR_H - -#include - -void warn(const char *m); -void error(char *m) __noreturn; -void panic(const char *fmt, ...) __noreturn __cold; - -#endif /* BOOT_COMPRESSED_ERROR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BOOT_COMPRESSED_ERROR_H +#define BOOT_COMPRESSED_ERROR_H + +#include + +void warn(const char *m); +void error(char *m) __noreturn; +void panic(const char *fmt, ...) __noreturn __cold; + +#endif /* BOOT_COMPRESSED_ERROR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdcall.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdcall.S index fcfefafb1f..46d0495e0d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdcall.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdcall.S @@ -1,3 +1,3 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include "../../coco/tdx/tdcall.S" +/* SPDX-License-Identifier: GPL-2.0 */ + +#include "../../coco/tdx/tdcall.S" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdx.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdx.h index e17e24fa74..9055482cd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/compressed/tdx.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BOOT_COMPRESSED_TDX_H -#define BOOT_COMPRESSED_TDX_H - -#include - -#ifdef CONFIG_INTEL_TDX_GUEST -void early_tdx_detect(void); -#else -static inline void early_tdx_detect(void) { }; -#endif - -#endif /* BOOT_COMPRESSED_TDX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BOOT_COMPRESSED_TDX_H +#define BOOT_COMPRESSED_TDX_H + +#include + +#ifdef CONFIG_INTEL_TDX_GUEST +void early_tdx_detect(void); +#else +static inline void early_tdx_detect(void) { }; +#endif + +#endif /* BOOT_COMPRESSED_TDX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/ctype.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/ctype.h index 5af517af8d..8f5ef2994b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/ctype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/boot/ctype.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BOOT_CTYPE_H -#define BOOT_CTYPE_H - -static inline int isdigit(int ch) -{ - return (ch >= '0') && (ch <= '9'); -} - -static inline int isxdigit(int ch) -{ - if (isdigit(ch)) - return true; - - if ((ch >= 'a') && (ch <= 'f')) - return true; - - return (ch >= 'A') && (ch <= 'F'); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BOOT_CTYPE_H +#define BOOT_CTYPE_H + +static inline int isdigit(int ch) +{ + return (ch >= '0') && (ch <= '9'); +} + +static inline int isxdigit(int ch) +{ + if (isdigit(ch)) + return true; + + if ((ch >= 'a') && (ch <= 'f')) + return true; + + return (ch >= 'A') && (ch <= 'F'); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/Makefile index 46e9ca68ec..eabdc74865 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS_REMOVE_core.o = -pg -KASAN_SANITIZE_core.o := n -CFLAGS_core.o += -fno-stack-protector - -obj-y += core.o - -obj-$(CONFIG_INTEL_TDX_GUEST) += tdx/ -obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/ +# SPDX-License-Identifier: GPL-2.0 +CFLAGS_REMOVE_core.o = -pg +KASAN_SANITIZE_core.o := n +CFLAGS_core.o += -fno-stack-protector + +obj-y += core.o + +obj-$(CONFIG_INTEL_TDX_GUEST) += tdx/ +obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/tdx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/tdx/Makefile index 698115bd44..2c7dcbf145 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/tdx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/coco/tdx/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y += tdx.o tdx-shared.o tdcall.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y += tdx.o tdx-shared.o tdcall.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/.gitignore index ab93464b9c..37a6129d59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -vdso.lds -vdsox32.lds -vdso32-syscall-syms.lds -vdso32-sysenter-syms.lds -vdso32-int80-syms.lds -vdso-image-*.c -vdso2c +# SPDX-License-Identifier: GPL-2.0-only +vdso.lds +vdsox32.lds +vdso32-syscall-syms.lds +vdso32-sysenter-syms.lds +vdso32-int80-syms.lds +vdso-image-*.c +vdso2c diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/checkundef.sh b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/checkundef.sh old mode 100644 new mode 100755 index ee37f3300c..7ee90a9b54 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/checkundef.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/checkundef.sh @@ -1,10 +1,10 @@ -#!/bin/sh -nm="$1" -file="$2" -$nm "$file" | grep '^ *U' > /dev/null 2>&1 -if [ $? -eq 1 ]; then - exit 0 -else - echo "$file: undefined symbols found" >&2 - exit 1 -fi +#!/bin/sh +nm="$1" +file="$2" +$nm "$file" | grep '^ *U' > /dev/null 2>&1 +if [ $? -eq 1 ]; then + exit 0 +else + echo "$file: undefined symbols found" >&2 + exit 1 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso-note.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso-note.S index e421905fd8..7942317011 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso-note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso-note.S @@ -1,15 +1,15 @@ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END - -BUILD_SALT +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END + +BUILD_SALT diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vclock_gettime.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vclock_gettime.c index fc2025a570..86981decfe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vclock_gettime.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vclock_gettime.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -#define BUILD_VDSO32 -#include "fake_32bit_build.h" -#include "../vclock_gettime.c" +// SPDX-License-Identifier: GPL-2.0 +#define BUILD_VDSO32 +#include "fake_32bit_build.h" +#include "../vclock_gettime.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vgetcpu.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vgetcpu.c index 9d4a1aaf61..3a9791f5e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vgetcpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vdso/vdso32/vgetcpu.c @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "fake_32bit_build.h" -#include "../vgetcpu.c" +// SPDX-License-Identifier: GPL-2.0 +#include "fake_32bit_build.h" +#include "../vgetcpu.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vsyscall/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vsyscall/Makefile index 33a8ab5dc3..93c1b3e949 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vsyscall/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/entry/vsyscall/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the x86 low level vsyscall code -# -obj-$(CONFIG_X86_VSYSCALL_EMULATION) += vsyscall_64.o vsyscall_emu_64.o - +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the x86 low level vsyscall code +# +obj-$(CONFIG_X86_VSYSCALL_EMULATION) += vsyscall_64.o vsyscall_emu_64.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/events/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/events/Makefile index 4199e0ccb7..86a76efa8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/events/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/events/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += core.o probe.o utils.o -obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += rapl.o -obj-y += amd/ -obj-$(CONFIG_X86_LOCAL_APIC) += msr.o -obj-$(CONFIG_CPU_SUP_INTEL) += intel/ -obj-$(CONFIG_CPU_SUP_CENTAUR) += zhaoxin/ -obj-$(CONFIG_CPU_SUP_ZHAOXIN) += zhaoxin/ +# SPDX-License-Identifier: GPL-2.0-only +obj-y += core.o probe.o utils.o +obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += rapl.o +obj-y += amd/ +obj-$(CONFIG_X86_LOCAL_APIC) += msr.o +obj-$(CONFIG_CPU_SUP_INTEL) += intel/ +obj-$(CONFIG_CPU_SUP_CENTAUR) += zhaoxin/ +obj-$(CONFIG_CPU_SUP_ZHAOXIN) += zhaoxin/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/hyperv/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/hyperv/Makefile index 6c2f68f64b..3a1548054b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/hyperv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/hyperv/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o -obj-$(CONFIG_X86_64) += hv_apic.o hv_proc.o -obj-$(CONFIG_HYPERV_VTL_MODE) += hv_vtl.o - -ifdef CONFIG_X86_64 -obj-$(CONFIG_PARAVIRT_SPINLOCKS) += hv_spinlock.o -endif +# SPDX-License-Identifier: GPL-2.0-only +obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o +obj-$(CONFIG_X86_64) += hv_apic.o hv_proc.o +obj-$(CONFIG_HYPERV_VTL_MODE) += hv_vtl.o + +ifdef CONFIG_X86_64 +obj-$(CONFIG_PARAVIRT_SPINLOCKS) += hv_spinlock.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/ia32/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/ia32/Makefile index 8f046504ec..333556a86b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/ia32/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/ia32/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the ia32 kernel emulation subsystem. -# - -audit-class-$(CONFIG_AUDIT) := audit.o -obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y) +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the ia32 kernel emulation subsystem. +# + +audit-class-$(CONFIG_AUDIT) := audit.o +obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/GEN-for-each-reg.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/GEN-for-each-reg.h index 04a77168a8..07949102a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/GEN-for-each-reg.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/GEN-for-each-reg.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * These are in machine order; things rely on that. - */ -#ifdef CONFIG_64BIT -GEN(rax) -GEN(rcx) -GEN(rdx) -GEN(rbx) -GEN(rsp) -GEN(rbp) -GEN(rsi) -GEN(rdi) -GEN(r8) -GEN(r9) -GEN(r10) -GEN(r11) -GEN(r12) -GEN(r13) -GEN(r14) -GEN(r15) -#else -GEN(eax) -GEN(ecx) -GEN(edx) -GEN(ebx) -GEN(esp) -GEN(ebp) -GEN(esi) -GEN(edi) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * These are in machine order; things rely on that. + */ +#ifdef CONFIG_64BIT +GEN(rax) +GEN(rcx) +GEN(rdx) +GEN(rbx) +GEN(rsp) +GEN(rbp) +GEN(rsi) +GEN(rdi) +GEN(r8) +GEN(r9) +GEN(r10) +GEN(r11) +GEN(r12) +GEN(r13) +GEN(r14) +GEN(r15) +#else +GEN(eax) +GEN(ecx) +GEN(edx) +GEN(ebx) +GEN(esp) +GEN(ebp) +GEN(esi) +GEN(edi) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/Kbuild index 6b7efc5d7d..6c23d1661b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/Kbuild @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - - -generated-y += orc_hash.h -generated-y += syscalls_32.h -generated-y += syscalls_64.h -generated-y += syscalls_x32.h -generated-y += unistd_32_ia32.h -generated-y += unistd_64_x32.h -generated-y += xen-hypercalls.h - -generic-y += early_ioremap.h -generic-y += mcs_spinlock.h -generic-y += mmzone.h +# SPDX-License-Identifier: GPL-2.0 + + +generated-y += orc_hash.h +generated-y += syscalls_32.h +generated-y += syscalls_64.h +generated-y += syscalls_x32.h +generated-y += unistd_32_ia32.h +generated-y += unistd_64_x32.h +generated-y += xen-hypercalls.h + +generic-y += early_ioremap.h +generic-y += mcs_spinlock.h +generic-y += mmzone.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/bugs.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/bugs.h index c1f0af55fe..f25ca2d709 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/bugs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/bugs.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_BUGS_H -#define _ASM_X86_BUGS_H - -#include - -#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32) -int ppro_with_ram_bug(void); -#else -static inline int ppro_with_ram_bug(void) { return 0; } -#endif - -extern void cpu_bugs_smt_update(void); - -#endif /* _ASM_X86_BUGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_BUGS_H +#define _ASM_X86_BUGS_H + +#include + +#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32) +int ppro_with_ram_bug(void); +#else +static inline int ppro_with_ram_bug(void) { return 0; } +#endif + +extern void cpu_bugs_smt_update(void); + +#endif /* _ASM_X86_BUGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cacheflush.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cacheflush.h index 5ed33818bb..b192d917a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cacheflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cacheflush.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_CACHEFLUSH_H -#define _ASM_X86_CACHEFLUSH_H - -#include - -/* Caches aren't brain-dead on the intel. */ -#include -#include - -void clflush_cache_range(void *addr, unsigned int size); - -#endif /* _ASM_X86_CACHEFLUSH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_CACHEFLUSH_H +#define _ASM_X86_CACHEFLUSH_H + +#include + +/* Caches aren't brain-dead on the intel. */ +#include +#include + +void clflush_cache_range(void *addr, unsigned int size); + +#endif /* _ASM_X86_CACHEFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ce4100.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ce4100.h index 4114bfa289..2930f560d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ce4100.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ce4100.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_CE4100_H_ -#define _ASM_CE4100_H_ - -int ce4100_pci_init(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_CE4100_H_ +#define _ASM_CE4100_H_ + +int ce4100_pci_init(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/checksum.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/checksum.h index a9e779cd8b..6df6ece8a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/checksum.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/checksum.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_GENERIC_CSUM -# include -#else -# define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER 1 -# define HAVE_CSUM_COPY_USER -# define _HAVE_ARCH_CSUM_AND_COPY -# ifdef CONFIG_X86_32 -# include -# else -# include -# endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_GENERIC_CSUM +# include +#else +# define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER 1 +# define HAVE_CSUM_COPY_USER +# define _HAVE_ARCH_CSUM_AND_COPY +# ifdef CONFIG_X86_32 +# include +# else +# include +# endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cpuidle_haltpoll.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cpuidle_haltpoll.h index 81b99d14ab..c8b39c6716 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cpuidle_haltpoll.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/cpuidle_haltpoll.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARCH_HALTPOLL_H -#define _ARCH_HALTPOLL_H - -void arch_haltpoll_enable(unsigned int cpu); -void arch_haltpoll_disable(unsigned int cpu); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARCH_HALTPOLL_H +#define _ARCH_HALTPOLL_H + +void arch_haltpoll_enable(unsigned int cpu); +void arch_haltpoll_disable(unsigned int cpu); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/crash.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/crash.h index a12606ea0b..8b6bd63530 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/crash.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/crash.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_CRASH_H -#define _ASM_X86_CRASH_H - -struct kimage; - -int crash_load_segments(struct kimage *image); -int crash_setup_memmap_entries(struct kimage *image, - struct boot_params *params); -void crash_smp_send_stop(void); - -#endif /* _ASM_X86_CRASH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_CRASH_H +#define _ASM_X86_CRASH_H + +struct kimage; + +int crash_load_segments(struct kimage *image); +int crash_setup_memmap_entries(struct kimage *image, + struct boot_params *params); +void crash_smp_send_stop(void); + +#endif /* _ASM_X86_CRASH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/delay.h index 98d406f345..630891d258 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/delay.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_DELAY_H -#define _ASM_X86_DELAY_H - -#include -#include - -void __init use_tsc_delay(void); -void __init use_tpause_delay(void); -void use_mwaitx_delay(void); - -#endif /* _ASM_X86_DELAY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_DELAY_H +#define _ASM_X86_DELAY_H + +#include +#include + +void __init use_tsc_delay(void); +void __init use_tpause_delay(void); +void use_mwaitx_delay(void); + +#endif /* _ASM_X86_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/device.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/device.h index c6a63b5900..7c0a52ca2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/device.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/device.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_DEVICE_H -#define _ASM_X86_DEVICE_H - -struct dev_archdata { -}; - -struct pdev_archdata { -}; - -#endif /* _ASM_X86_DEVICE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_DEVICE_H +#define _ASM_X86_DEVICE_H + +struct dev_archdata { +}; + +struct pdev_archdata { +}; + +#endif /* _ASM_X86_DEVICE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/dma-mapping.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/dma-mapping.h index 6f90f5564d..d1dac96ee3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/dma-mapping.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/dma-mapping.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_DMA_MAPPING_H -#define _ASM_X86_DMA_MAPPING_H - -extern const struct dma_map_ops *dma_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(void) -{ - return dma_ops; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_DMA_MAPPING_H +#define _ASM_X86_DMA_MAPPING_H + +extern const struct dma_map_ops *dma_ops; + +static inline const struct dma_map_ops *get_arch_dma_ops(void) +{ + return dma_ops; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/emergency-restart.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/emergency-restart.h index 0719e11894..2abde717db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/emergency-restart.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/emergency-restart.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_EMERGENCY_RESTART_H -#define _ASM_X86_EMERGENCY_RESTART_H - -extern void machine_emergency_restart(void); - -#endif /* _ASM_X86_EMERGENCY_RESTART_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_EMERGENCY_RESTART_H +#define _ASM_X86_EMERGENCY_RESTART_H + +extern void machine_emergency_restart(void); + +#endif /* _ASM_X86_EMERGENCY_RESTART_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/enclu.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/enclu.h index 755b2b51b0..b1314e41a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/enclu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/enclu.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_ENCLU_H -#define _ASM_X86_ENCLU_H - -#define EENTER 0x02 -#define ERESUME 0x03 -#define EEXIT 0x04 - -#endif /* _ASM_X86_ENCLU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_ENCLU_H +#define _ASM_X86_ENCLU_H + +#define EENTER 0x02 +#define ERESUME 0x03 +#define EEXIT 0x04 + +#endif /* _ASM_X86_ENCLU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/fpu.h index e30e805efc..b2743fe193 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/fpu.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 SiFive - */ - -#ifndef _ASM_X86_FPU_H -#define _ASM_X86_FPU_H - -#include - -#define kernel_fpu_available() true - -#endif /* ! _ASM_X86_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 SiFive + */ + +#ifndef _ASM_X86_FPU_H +#define _ASM_X86_FPU_H + +#include + +#define kernel_fpu_available() true + +#endif /* ! _ASM_X86_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hugetlb.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hugetlb.h index a1c033c7f8..1721b1aade 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hugetlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hugetlb.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_HUGETLB_H -#define _ASM_X86_HUGETLB_H - -#include -#include - -#define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE) - -#endif /* _ASM_X86_HUGETLB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_HUGETLB_H +#define _ASM_X86_HUGETLB_H + +#include +#include + +#define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE) + +#endif /* _ASM_X86_HUGETLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hyperv_timer.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hyperv_timer.h index 321ae97a07..388fa81b8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hyperv_timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/hyperv_timer.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_HYPERV_TIMER_H -#define _ASM_X86_HYPERV_TIMER_H - -#include - -#define hv_get_raw_timer() rdtsc_ordered() - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_HYPERV_TIMER_H +#define _ASM_X86_HYPERV_TIMER_H + +#include + +#define hv_get_raw_timer() rdtsc_ordered() + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/inat_types.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/inat_types.h index ff9f532115..b047efa9dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/inat_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/inat_types.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _ASM_X86_INAT_TYPES_H -#define _ASM_X86_INAT_TYPES_H -/* - * x86 instruction attributes - * - * Written by Masami Hiramatsu - */ - -/* Instruction attributes */ -typedef unsigned int insn_attr_t; -typedef unsigned char insn_byte_t; -typedef signed int insn_value_t; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _ASM_X86_INAT_TYPES_H +#define _ASM_X86_INAT_TYPES_H +/* + * x86 instruction attributes + * + * Written by Masami Hiramatsu + */ + +/* Instruction attributes */ +typedef unsigned int insn_attr_t; +typedef unsigned char insn_byte_t; +typedef signed int insn_value_t; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ist.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ist.h index 2deba7b2d5..7ede2731dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ist.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/ist.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Include file for the interface to IST BIOS - * Copyright 2002 Andy Grover - */ -#ifndef _ASM_X86_IST_H -#define _ASM_X86_IST_H - -#include - - -extern struct ist_info ist_info; - -#endif /* _ASM_X86_IST_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Include file for the interface to IST BIOS + * Copyright 2002 Andy Grover + */ +#ifndef _ASM_X86_IST_H +#define _ASM_X86_IST_H + +#include + + +extern struct ist_info ist_info; + +#endif /* _ASM_X86_IST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kexec-bzimage64.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kexec-bzimage64.h index ae2a318e7d..df89ee7d3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kexec-bzimage64.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kexec-bzimage64.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_KEXEC_BZIMAGE64_H -#define _ASM_KEXEC_BZIMAGE64_H - -extern const struct kexec_file_ops kexec_bzImage64_ops; - -#endif /* _ASM_KEXE_BZIMAGE64_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_KEXEC_BZIMAGE64_H +#define _ASM_KEXEC_BZIMAGE64_H + +extern const struct kexec_file_ops kexec_bzImage64_ops; + +#endif /* _ASM_KEXE_BZIMAGE64_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kvm_types.h index 783ff1b660..08f1b57d3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/kvm_types.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_KVM_TYPES_H -#define _ASM_X86_KVM_TYPES_H - -#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 - -#endif /* _ASM_X86_KVM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_KVM_TYPES_H +#define _ASM_X86_KVM_TYPES_H + +#define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 40 + +#endif /* _ASM_X86_KVM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/misc.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/misc.h index e3833f98e4..bb049cca37 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/misc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/misc.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_MISC_H -#define _ASM_X86_MISC_H - -int num_digits(int val); - -#endif /* _ASM_X86_MISC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_MISC_H +#define _ASM_X86_MISC_H + +int num_digits(int val); + +#endif /* _ASM_X86_MISC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/module.h index 10304f11b8..e988bac0a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/module.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_MODULE_H -#define _ASM_X86_MODULE_H - -#include -#include - -struct mod_arch_specific { -#ifdef CONFIG_UNWINDER_ORC - unsigned int num_orcs; - int *orc_unwind_ip; - struct orc_entry *orc_unwind; -#endif -}; - -#endif /* _ASM_X86_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_MODULE_H +#define _ASM_X86_MODULE_H + +#include +#include + +struct mod_arch_specific { +#ifdef CONFIG_UNWINDER_ORC + unsigned int num_orcs; + int *orc_unwind_ip; + struct orc_entry *orc_unwind; +#endif +}; + +#endif /* _ASM_X86_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/numa_32.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/numa_32.h index 378d7e8253..9c8e9e85be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/numa_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/numa_32.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_NUMA_32_H -#define _ASM_X86_NUMA_32_H - -#ifdef CONFIG_HIGHMEM -extern void set_highmem_pages_init(void); -#else -static inline void set_highmem_pages_init(void) -{ -} -#endif - -#endif /* _ASM_X86_NUMA_32_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_NUMA_32_H +#define _ASM_X86_NUMA_32_H + +#ifdef CONFIG_HIGHMEM +extern void set_highmem_pages_init(void); +#else +static inline void set_highmem_pages_init(void) +{ +} +#endif + +#endif /* _ASM_X86_NUMA_32_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/parport.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/parport.h index af5915ab71..163f78259a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/parport.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/parport.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_PARPORT_H -#define _ASM_X86_PARPORT_H - -static int parport_pc_find_isa_ports(int autoirq, int autodma); -static int parport_pc_find_nonpci_ports(int autoirq, int autodma) -{ - return parport_pc_find_isa_ports(autoirq, autodma); -} - -#endif /* _ASM_X86_PARPORT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_PARPORT_H +#define _ASM_X86_PARPORT_H + +static int parport_pc_find_isa_ports(int autoirq, int autodma); +static int parport_pc_find_nonpci_ports(int autoirq, int autodma) +{ + return parport_pc_find_isa_ports(autoirq, autodma); +} + +#endif /* _ASM_X86_PARPORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/posix_types.h index 7268c7cf97..374336e217 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/posix_types.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -# ifdef CONFIG_X86_32 -# include -# else -# include -# endif +/* SPDX-License-Identifier: GPL-2.0 */ +# ifdef CONFIG_X86_32 +# include +# else +# include +# endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/probe_roms.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/probe_roms.h index 4d1d1ce575..1c7f3815bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/probe_roms.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/probe_roms.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PROBE_ROMS_H_ -#define _PROBE_ROMS_H_ -struct pci_dev; - -extern void __iomem *pci_map_biosrom(struct pci_dev *pdev); -extern void pci_unmap_biosrom(void __iomem *rom); -extern size_t pci_biosrom_size(struct pci_dev *pdev); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PROBE_ROMS_H_ +#define _PROBE_ROMS_H_ +struct pci_dev; + +extern void __iomem *pci_map_biosrom(struct pci_dev *pdev); +extern void pci_unmap_biosrom(void __iomem *rom); +extern size_t pci_biosrom_size(struct pci_dev *pdev); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/purgatory.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/purgatory.h index 432639e00b..5528e93250 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/purgatory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/purgatory.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_PURGATORY_H -#define _ASM_X86_PURGATORY_H - -#ifndef __ASSEMBLY__ -#include - -extern void purgatory(void); -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_PURGATORY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_PURGATORY_H +#define _ASM_X86_PURGATORY_H + +#ifndef __ASSEMBLY__ +#include + +extern void purgatory(void); +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PURGATORY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/qrwlock.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/qrwlock.h index e00953344f..8656b5a6e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/qrwlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/qrwlock.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_QRWLOCK_H -#define _ASM_X86_QRWLOCK_H - -#include -#include - -#endif /* _ASM_X86_QRWLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_QRWLOCK_H +#define _ASM_X86_QRWLOCK_H + +#include +#include + +#endif /* _ASM_X86_QRWLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/reboot_fixups.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/reboot_fixups.h index 9e4875bfc2..96515658ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/reboot_fixups.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/reboot_fixups.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_REBOOT_FIXUPS_H -#define _ASM_X86_REBOOT_FIXUPS_H - -extern void mach_reboot_fixups(void); - -#endif /* _ASM_X86_REBOOT_FIXUPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_REBOOT_FIXUPS_H +#define _ASM_X86_REBOOT_FIXUPS_H + +extern void mach_reboot_fixups(void); + +#endif /* _ASM_X86_REBOOT_FIXUPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/setup_arch.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/setup_arch.h index f53050fda3..38846208b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/setup_arch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/setup_arch.h @@ -1,3 +1,3 @@ -/* Hook to call BIOS initialisation function */ - -/* no action for generic */ +/* Hook to call BIOS initialisation function */ + +/* no action for generic */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shared/msr.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shared/msr.h index ebf89ed7d2..1e6ec10b3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shared/msr.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shared/msr.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_SHARED_MSR_H -#define _ASM_X86_SHARED_MSR_H - -struct msr { - union { - struct { - u32 l; - u32 h; - }; - u64 q; - }; -}; - -#endif /* _ASM_X86_SHARED_MSR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_SHARED_MSR_H +#define _ASM_X86_SHARED_MSR_H + +struct msr { + union { + struct { + u32 l; + u32 h; + }; + u64 q; + }; +}; + +#endif /* _ASM_X86_SHARED_MSR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shmparam.h index 132200a4fb..c4041819c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/shmparam.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_SHMPARAM_H -#define _ASM_X86_SHMPARAM_H - -#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ - -#endif /* _ASM_X86_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_SHMPARAM_H +#define _ASM_X86_SHMPARAM_H + +#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ + +#endif /* _ASM_X86_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/sigcontext.h index e0210077c8..140d890c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/sigcontext.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_SIGCONTEXT_H -#define _ASM_X86_SIGCONTEXT_H - -/* This is a legacy header - all kernel code includes directly. */ - -#include - -#endif /* _ASM_X86_SIGCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_SIGCONTEXT_H +#define _ASM_X86_SIGCONTEXT_H + +/* This is a legacy header - all kernel code includes directly. */ + +#include + +#endif /* _ASM_X86_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/simd.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/simd.h index 0f5a80dd79..a341c878e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/simd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/simd.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -/* - * may_use_simd - whether it is allowable at this time to issue SIMD - * instructions or access the SIMD register file - */ -static __must_check inline bool may_use_simd(void) -{ - return irq_fpu_usable(); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +/* + * may_use_simd - whether it is allowable at this time to issue SIMD + * instructions or access the SIMD register file + */ +static __must_check inline bool may_use_simd(void) +{ + return irq_fpu_usable(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/softirq_stack.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/softirq_stack.h index a3d4135d1d..889d53d6a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/softirq_stack.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/softirq_stack.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_SOFTIRQ_STACK_H -#define _ASM_X86_SOFTIRQ_STACK_H - -#ifdef CONFIG_X86_64 -# include -#else -# include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_SOFTIRQ_STACK_H +#define _ASM_X86_SOFTIRQ_STACK_H + +#ifdef CONFIG_X86_64 +# include +#else +# include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/spinlock_types.h index 0126deb711..323db6c585 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/spinlock_types.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_SPINLOCK_TYPES_H -#define _ASM_X86_SPINLOCK_TYPES_H - -#include -#include -#include - -#endif /* _ASM_X86_SPINLOCK_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_SPINLOCK_TYPES_H +#define _ASM_X86_SPINLOCK_TYPES_H + +#include +#include +#include + +#endif /* _ASM_X86_SPINLOCK_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/string.h index 65ee398a6c..c3c2c1914d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/string.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_X86_32 -# include -#else -# include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_X86_32 +# include +#else +# include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/tlbbatch.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/tlbbatch.h index baae47fe67..1ad56eb3e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/tlbbatch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/tlbbatch.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARCH_X86_TLBBATCH_H -#define _ARCH_X86_TLBBATCH_H - -#include - -struct arch_tlbflush_unmap_batch { - /* - * Each bit set is a CPU that potentially has a TLB entry for one of - * the PFNs being flushed.. - */ - struct cpumask cpumask; -}; - -#endif /* _ARCH_X86_TLBBATCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARCH_X86_TLBBATCH_H +#define _ARCH_X86_TLBBATCH_H + +#include + +struct arch_tlbflush_unmap_batch { + /* + * Each bit set is a CPU that potentially has a TLB entry for one of + * the PFNs being flushed.. + */ + struct cpumask cpumask; +}; + +#endif /* _ARCH_X86_TLBBATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/trace/common.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/trace/common.h index 6a8adb177a..f0f9bcdb74 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/trace/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/trace/common.h @@ -1,12 +1,12 @@ -#ifndef _ASM_TRACE_COMMON_H -#define _ASM_TRACE_COMMON_H - -#ifdef CONFIG_TRACING -DECLARE_STATIC_KEY_FALSE(trace_pagefault_key); -#define trace_pagefault_enabled() \ - static_branch_unlikely(&trace_pagefault_key) -#else -static inline bool trace_pagefault_enabled(void) { return false; } -#endif - -#endif +#ifndef _ASM_TRACE_COMMON_H +#define _ASM_TRACE_COMMON_H + +#ifdef CONFIG_TRACING +DECLARE_STATIC_KEY_FALSE(trace_pagefault_key); +#define trace_pagefault_enabled() \ + static_branch_unlikely(&trace_pagefault_key) +#else +static inline bool trace_pagefault_enabled(void) { return false; } +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/umip.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/umip.h index 97de808201..aeed98c3c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/umip.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/umip.h @@ -1,12 +1,12 @@ -#ifndef _ASM_X86_UMIP_H -#define _ASM_X86_UMIP_H - -#include -#include - -#ifdef CONFIG_X86_UMIP -bool fixup_umip_exception(struct pt_regs *regs); -#else -static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; } -#endif /* CONFIG_X86_UMIP */ -#endif /* _ASM_X86_UMIP_H */ +#ifndef _ASM_X86_UMIP_H +#define _ASM_X86_UMIP_H + +#include +#include + +#ifdef CONFIG_X86_UMIP +bool fixup_umip_exception(struct pt_regs *regs); +#else +static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; } +#endif /* CONFIG_X86_UMIP */ +#endif /* _ASM_X86_UMIP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/vdso/clocksource.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/vdso/clocksource.h index f5a3765d78..136e5e57cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/vdso/clocksource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/asm/vdso/clocksource.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_CLOCKSOURCE_H -#define __ASM_VDSO_CLOCKSOURCE_H - -#define VDSO_ARCH_CLOCKMODES \ - VDSO_CLOCKMODE_TSC, \ - VDSO_CLOCKMODE_PVCLOCK, \ - VDSO_CLOCKMODE_HVCLOCK - -#define HAVE_VDSO_CLOCKMODE_HVCLOCK - -#endif /* __ASM_VDSO_CLOCKSOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_CLOCKSOURCE_H +#define __ASM_VDSO_CLOCKSOURCE_H + +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_TSC, \ + VDSO_CLOCKMODE_PVCLOCK, \ + VDSO_CLOCKMODE_HVCLOCK + +#define HAVE_VDSO_CLOCKMODE_HVCLOCK + +#endif /* __ASM_VDSO_CLOCKSOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/Kbuild index 5afeca2346..39606a856d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/Kbuild @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += unistd_32.h -generated-y += unistd_64.h -generated-y += unistd_x32.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += unistd_32.h +generated-y += unistd_64.h +generated-y += unistd_x32.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/bitsperlong.h index 6efe2a971f..5d72c84588 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/bitsperlong.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_X86_BITSPERLONG_H -#define __ASM_X86_BITSPERLONG_H - -#if defined(__x86_64__) && !defined(__ILP32__) -# define __BITS_PER_LONG 64 -#else -# define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_X86_BITSPERLONG_H */ - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_X86_BITSPERLONG_H +#define __ASM_X86_BITSPERLONG_H + +#if defined(__x86_64__) && !defined(__ILP32__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_X86_BITSPERLONG_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/boot.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/boot.h index 1c0640fbfc..88ffc5aee0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/boot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/boot.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_X86_BOOT_H -#define _UAPI_ASM_X86_BOOT_H - -/* Internal svga startup constants */ -#define NORMAL_VGA 0xffff /* 80x25 mode */ -#define EXTENDED_VGA 0xfffe /* 80x50 mode */ -#define ASK_VGA 0xfffd /* ask for it at bootup */ - - -#endif /* _UAPI_ASM_X86_BOOT_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_X86_BOOT_H +#define _UAPI_ASM_X86_BOOT_H + +/* Internal svga startup constants */ +#define NORMAL_VGA 0xffff /* 80x25 mode */ +#define EXTENDED_VGA 0xfffe /* 80x50 mode */ +#define ASK_VGA 0xfffd /* ask for it at bootup */ + + +#endif /* _UAPI_ASM_X86_BOOT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/byteorder.h index bddd137edc..149143cab9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/byteorder.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_X86_BYTEORDER_H -#define _ASM_X86_BYTEORDER_H - -#include - -#endif /* _ASM_X86_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_X86_BYTEORDER_H +#define _ASM_X86_BYTEORDER_H + +#include + +#endif /* _ASM_X86_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/hwcap2.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/hwcap2.h index ac74a815f1..054604aba9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/hwcap2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/hwcap2.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_X86_HWCAP2_H -#define _ASM_X86_HWCAP2_H - -#include - -/* MONITOR/MWAIT enabled in Ring 3 */ -#define HWCAP2_RING3MWAIT _BITUL(0) - -/* Kernel allows FSGSBASE instructions available in Ring 3 */ -#define HWCAP2_FSGSBASE _BITUL(1) - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_X86_HWCAP2_H +#define _ASM_X86_HWCAP2_H + +#include + +/* MONITOR/MWAIT enabled in Ring 3 */ +#define HWCAP2_RING3MWAIT _BITUL(0) + +/* Kernel allows FSGSBASE instructions available in Ring 3 */ +#define HWCAP2_FSGSBASE _BITUL(1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/posix_types.h index 58f7bc6f75..c661e95f01 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/posix_types.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __KERNEL__ -# ifdef __i386__ -# include -# elif defined(__ILP32__) -# include -# else -# include -# endif -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __KERNEL__ +# ifdef __i386__ +# include +# elif defined(__ILP32__) +# include +# else +# include +# endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/sigcontext32.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/sigcontext32.h index dd217c7c3a..7114801d04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/sigcontext32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/sigcontext32.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_X86_SIGCONTEXT32_H -#define _ASM_X86_SIGCONTEXT32_H - -/* This is a legacy file - all the type definitions are in sigcontext.h: */ - -#include - -#endif /* _ASM_X86_SIGCONTEXT32_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_X86_SIGCONTEXT32_H +#define _ASM_X86_SIGCONTEXT32_H + +/* This is a legacy file - all the type definitions are in sigcontext.h: */ + +#include + +#endif /* _ASM_X86_SIGCONTEXT32_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/vsyscall.h index c56a432de4..75275f5474 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/include/uapi/asm/vsyscall.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_X86_VSYSCALL_H -#define _UAPI_ASM_X86_VSYSCALL_H - -enum vsyscall_num { - __NR_vgettimeofday, - __NR_vtime, - __NR_vgetcpu, -}; - -#define VSYSCALL_ADDR (-10UL << 20) - -#endif /* _UAPI_ASM_X86_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_X86_VSYSCALL_H +#define _UAPI_ASM_X86_VSYSCALL_H + +enum vsyscall_num { + __NR_vgettimeofday, + __NR_vtime, + __NR_vgetcpu, +}; + +#define VSYSCALL_ADDR (-10UL << 20) + +#endif /* _UAPI_ASM_X86_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/.gitignore index 6584c62cd0..ef66569e7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -vsyscall.lds -vsyscall_32.lds -vmlinux.lds +# SPDX-License-Identifier: GPL-2.0-only +vsyscall.lds +vsyscall_32.lds +vmlinux.lds diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/acpi/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/acpi/Makefile index 7c1fad72cb..842a5f4494 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/acpi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/acpi/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_ACPI) += boot.o -obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o -obj-$(CONFIG_ACPI_APEI) += apei.o -obj-$(CONFIG_ACPI_CPPC_LIB) += cppc.o -obj-$(CONFIG_ACPI_MADT_WAKEUP) += madt_wakeup.o madt_playdead.o - -ifneq ($(CONFIG_ACPI_PROCESSOR),) -obj-y += cstate.o -endif - +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_ACPI) += boot.o +obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o +obj-$(CONFIG_ACPI_APEI) += apei.o +obj-$(CONFIG_ACPI_CPPC_LIB) += cppc.o +obj-$(CONFIG_ACPI_MADT_WAKEUP) += madt_wakeup.o madt_playdead.o + +ifneq ($(CONFIG_ACPI_PROCESSOR),) +obj-y += cstate.o +endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/microcode/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/microcode/Makefile index cf949885d8..193d98b33a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/microcode/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/microcode/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -microcode-y := core.o -obj-$(CONFIG_MICROCODE) += microcode.o -microcode-$(CONFIG_CPU_SUP_INTEL) += intel.o -microcode-$(CONFIG_CPU_SUP_AMD) += amd.o +# SPDX-License-Identifier: GPL-2.0-only +microcode-y := core.o +obj-$(CONFIG_MICROCODE) += microcode.o +microcode-$(CONFIG_CPU_SUP_INTEL) += intel.o +microcode-$(CONFIG_CPU_SUP_AMD) += amd.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/mtrr/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/mtrr/Makefile index 51e9a27bab..aee4bc5ad4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/mtrr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/mtrr/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y := mtrr.o if.o generic.o cleanup.o -obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o legacy.o - +# SPDX-License-Identifier: GPL-2.0-only +obj-y := mtrr.o if.o generic.o cleanup.o +obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o legacy.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/resctrl/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/resctrl/Makefile index 6503566783..4a06c37b9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/resctrl/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/resctrl/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_X86_CPU_RESCTRL) += core.o rdtgroup.o monitor.o -obj-$(CONFIG_X86_CPU_RESCTRL) += ctrlmondata.o pseudo_lock.o -CFLAGS_pseudo_lock.o = -I$(src) +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_X86_CPU_RESCTRL) += core.o rdtgroup.o monitor.o +obj-$(CONFIG_X86_CPU_RESCTRL) += ctrlmondata.o pseudo_lock.o +CFLAGS_pseudo_lock.o = -I$(src) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/sgx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/sgx/Makefile index a542070335..9c1656779b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/sgx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/cpu/sgx/Makefile @@ -1,6 +1,6 @@ -obj-y += \ - driver.o \ - encl.o \ - ioctl.o \ - main.o -obj-$(CONFIG_X86_SGX_KVM) += virt.o +obj-y += \ + driver.o \ + encl.o \ + ioctl.o \ + main.o +obj-$(CONFIG_X86_SGX_KVM) += virt.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/fpu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/fpu/Makefile index a4c4c8eb69..78c5621457 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/fpu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/fpu/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Build rules for the FPU support code: -# - -obj-y += init.o bugs.o core.o regset.o signal.o xstate.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Build rules for the FPU support code: +# + +obj-y += init.o bugs.o core.o regset.o signal.o xstate.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/irqflags.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/irqflags.S index 4f4c2a6218..7f542a7799 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/irqflags.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/irqflags.S @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include -#include -#include - -/* - * unsigned long native_save_fl(void) - */ -.pushsection .noinstr.text, "ax" -SYM_FUNC_START(native_save_fl) - pushf - pop %_ASM_AX - RET -SYM_FUNC_END(native_save_fl) -.popsection -EXPORT_SYMBOL(native_save_fl) +/* SPDX-License-Identifier: GPL-2.0 */ + +#include +#include +#include + +/* + * unsigned long native_save_fl(void) + */ +.pushsection .noinstr.text, "ax" +SYM_FUNC_START(native_save_fl) + pushf + pop %_ASM_AX + RET +SYM_FUNC_END(native_save_fl) +.popsection +EXPORT_SYMBOL(native_save_fl) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/kprobes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/kprobes/Makefile index ba40a29d42..8a753432b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/kprobes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/kprobes/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for kernel probes -# - -obj-$(CONFIG_KPROBES) += core.o -obj-$(CONFIG_OPTPROBES) += opt.o -obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for kernel probes +# + +obj-$(CONFIG_KPROBES) += core.o +obj-$(CONFIG_OPTPROBES) += opt.o +obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/pcspeaker.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/pcspeaker.c index d7e86735b6..4a710ffffd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/pcspeaker.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/pcspeaker.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -static __init int add_pcspkr(void) -{ - struct platform_device *pd; - - pd = platform_device_register_simple("pcspkr", -1, NULL, 0); - - return PTR_ERR_OR_ZERO(pd); -} -device_initcall(add_pcspkr); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +static __init int add_pcspkr(void) +{ + struct platform_device *pd; + + pd = platform_device_register_simple("pcspkr", -1, NULL, 0); + + return PTR_ERR_OR_ZERO(pd); +} +device_initcall(add_pcspkr); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/trace_clock.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/trace_clock.c index f20852482d..b8e7abe00b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/trace_clock.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/trace_clock.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * X86 trace clocks - */ -#include -#include -#include - -/* - * trace_clock_x86_tsc(): A clock that is just the cycle counter. - * - * Unlike the other clocks, this is not in nanoseconds. - */ -u64 notrace trace_clock_x86_tsc(void) -{ - return rdtsc_ordered(); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * X86 trace clocks + */ +#include +#include +#include + +/* + * trace_clock_x86_tsc(): A clock that is just the cycle counter. + * + * Unlike the other clocks, this is not in nanoseconds. + */ +u64 notrace trace_clock_x86_tsc(void) +{ + return rdtsc_ordered(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/vmcore_info_32.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/vmcore_info_32.c index 7c09dc41c7..5995a74928 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/vmcore_info_32.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kernel/vmcore_info_32.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -#include - -void arch_crash_save_vmcoreinfo(void) -{ -#ifdef CONFIG_NUMA - VMCOREINFO_SYMBOL(node_data); - VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); -#endif -#ifdef CONFIG_X86_PAE - VMCOREINFO_CONFIG(X86_PAE); -#endif -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +#include + +void arch_crash_save_vmcoreinfo(void) +{ +#ifdef CONFIG_NUMA + VMCOREINFO_SYMBOL(node_data); + VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); +#endif +#ifdef CONFIG_X86_PAE + VMCOREINFO_CONFIG(X86_PAE); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/kvm/vmx/run_flags.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/kvm/vmx/run_flags.h index a0ee46e4bc..6a9bfdfbb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/kvm/vmx/run_flags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/kvm/vmx/run_flags.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __KVM_X86_VMX_RUN_FLAGS_H -#define __KVM_X86_VMX_RUN_FLAGS_H - -#define VMX_RUN_VMRESUME_SHIFT 0 -#define VMX_RUN_SAVE_SPEC_CTRL_SHIFT 1 - -#define VMX_RUN_VMRESUME BIT(VMX_RUN_VMRESUME_SHIFT) -#define VMX_RUN_SAVE_SPEC_CTRL BIT(VMX_RUN_SAVE_SPEC_CTRL_SHIFT) - -#endif /* __KVM_X86_VMX_RUN_FLAGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __KVM_X86_VMX_RUN_FLAGS_H +#define __KVM_X86_VMX_RUN_FLAGS_H + +#define VMX_RUN_VMRESUME_SHIFT 0 +#define VMX_RUN_SAVE_SPEC_CTRL_SHIFT 1 + +#define VMX_RUN_VMRESUME BIT(VMX_RUN_VMRESUME_SHIFT) +#define VMX_RUN_SAVE_SPEC_CTRL BIT(VMX_RUN_SAVE_SPEC_CTRL_SHIFT) + +#endif /* __KVM_X86_VMX_RUN_FLAGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/atomic64_32.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/atomic64_32.c index 696964d467..a0b4a350da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/atomic64_32.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/atomic64_32.c @@ -1,4 +1,4 @@ -#define ATOMIC64_EXPORT EXPORT_SYMBOL - -#include -#include +#define ATOMIC64_EXPORT EXPORT_SYMBOL + +#include +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/misc.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/misc.c index 8ca8520e8c..40b81c338a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/misc.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/misc.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -/* - * Count the digits of @val including a possible sign. - * - * (Typed on and submitted from hpa's mobile phone.) - */ -int num_digits(int val) -{ - long long m = 10; - int d = 1; - - if (val < 0) { - d++; - val = -val; - } - - while (val >= m) { - m *= 10; - d++; - } - return d; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +/* + * Count the digits of @val including a possible sign. + * + * (Typed on and submitted from hpa's mobile phone.) + */ +int num_digits(int val) +{ + long long m = 10; + int d = 1; + + if (val < 0) { + d++; + val = -val; + } + + while (val >= m) { + m *= 10; + d++; + } + return d; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/msr-reg-export.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/msr-reg-export.c index ceae690556..876b4168ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/msr-reg-export.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/lib/msr-reg-export.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -EXPORT_SYMBOL(rdmsr_safe_regs); -EXPORT_SYMBOL(wrmsr_safe_regs); +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +EXPORT_SYMBOL(rdmsr_safe_regs); +EXPORT_SYMBOL(wrmsr_safe_regs); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_64.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_64.c index 8ef15e01c4..59d80160fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_64.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Generic VM initialization for x86-64 NUMA setups. - * Copyright 2002,2003 Andi Kleen, SuSE Labs. - */ -#include - -#include "numa_internal.h" - -void __init initmem_init(void) -{ - x86_numa_init(); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Generic VM initialization for x86-64 NUMA setups. + * Copyright 2002,2003 Andi Kleen, SuSE Labs. + */ +#include + +#include "numa_internal.h" + +void __init initmem_init(void) +{ + x86_numa_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_internal.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_internal.h index 23ff26579a..11e1ff370c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_internal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/numa_internal.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __X86_MM_NUMA_INTERNAL_H -#define __X86_MM_NUMA_INTERNAL_H - -#include -#include - -void __init x86_numa_init(void); - -#endif /* __X86_MM_NUMA_INTERNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __X86_MM_NUMA_INTERNAL_H +#define __X86_MM_NUMA_INTERNAL_H + +#include +#include + +void __init x86_numa_init(void); + +#endif /* __X86_MM_NUMA_INTERNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/pat/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/pat/Makefile index 6f98912a85..ea464c9951 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/pat/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/pat/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y := set_memory.o memtype.o - -obj-$(CONFIG_X86_PAT) += memtype_interval.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y := set_memory.o memtype.o + +obj-$(CONFIG_X86_PAT) += memtype_interval.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/physaddr.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/physaddr.h index 4c2c00ac38..9f6419cafc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/physaddr.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/mm/physaddr.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -static inline int phys_addr_valid(resource_size_t addr) -{ -#ifdef CONFIG_PHYS_ADDR_T_64BIT - return !(addr >> boot_cpu_data.x86_phys_bits); -#else - return 1; -#endif -} +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +static inline int phys_addr_valid(resource_size_t addr) +{ +#ifdef CONFIG_PHYS_ADDR_T_64BIT + return !(addr >> boot_cpu_data.x86_phys_bits); +#else + return 1; +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/net/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/net/Makefile index 348a63fe11..383c87300b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/net/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Arch-specific network modules -# - -ifeq ($(CONFIG_X86_32),y) - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o -else - obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o -endif +# SPDX-License-Identifier: GPL-2.0-only +# +# Arch-specific network modules +# + +ifeq ($(CONFIG_X86_32),y) + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o +else + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/Makefile index af772e1337..3ed03a2552 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# Platform specific code goes here -obj-y += atom/ -obj-y += ce4100/ -obj-y += efi/ -obj-y += geode/ -obj-y += iris/ -obj-y += intel/ -obj-y += intel-mid/ -obj-y += intel-quark/ -obj-y += olpc/ -obj-y += scx200/ -obj-y += ts5500/ -obj-y += uv/ +# SPDX-License-Identifier: GPL-2.0 +# Platform specific code goes here +obj-y += atom/ +obj-y += ce4100/ +obj-y += efi/ +obj-y += geode/ +obj-y += iris/ +obj-y += intel/ +obj-y += intel-mid/ +obj-y += intel-quark/ +obj-y += olpc/ +obj-y += scx200/ +obj-y += ts5500/ +obj-y += uv/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/atom/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/atom/Makefile index 339709ddd5..e06bbecd63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/atom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/atom/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_PUNIT_ATOM_DEBUG) += punit_atom_debug.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_PUNIT_ATOM_DEBUG) += punit_atom_debug.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ce4100/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ce4100/Makefile index a94f854926..7b7f37dc80 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ce4100/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ce4100/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_X86_INTEL_CE) += ce4100.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_X86_INTEL_CE) += ce4100.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/efi/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/efi/Makefile index 280d267a14..500cab4a7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/efi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/efi/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -KASAN_SANITIZE := n -GCOV_PROFILE := n - -obj-$(CONFIG_EFI) += memmap.o quirks.o efi.o efi_$(BITS).o \ - efi_stub_$(BITS).o -obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o -obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o +# SPDX-License-Identifier: GPL-2.0 +KASAN_SANITIZE := n +GCOV_PROFILE := n + +obj-$(CONFIG_EFI) += memmap.o quirks.o efi.o efi_$(BITS).o \ + efi_stub_$(BITS).o +obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o +obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/geode/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/geode/Makefile index 926c4f0132..34b53e97a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/geode/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/geode/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_GEODE_COMMON) += geode-common.o -obj-$(CONFIG_ALIX) += alix.o -obj-$(CONFIG_NET5501) += net5501.o -obj-$(CONFIG_GEOS) += geos.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_GEODE_COMMON) += geode-common.o +obj-$(CONFIG_ALIX) += alix.o +obj-$(CONFIG_NET5501) += net5501.o +obj-$(CONFIG_GEOS) += geos.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-mid/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-mid/Makefile index cc19bbe444..ddfc08783f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-mid/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-mid/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_X86_INTEL_MID) += intel-mid.o pwr.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_X86_INTEL_MID) += intel-mid.o pwr.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-quark/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-quark/Makefile index a30c6528f7..ed77cb9529 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-quark/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel-quark/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_INTEL_IMR) += imr.o -obj-$(CONFIG_DEBUG_IMR_SELFTEST) += imr_selftest.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_INTEL_IMR) += imr.o +obj-$(CONFIG_DEBUG_IMR_SELFTEST) += imr_selftest.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel/Makefile index 1d4fd572e1..dbee3b00f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/intel/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_IOSF_MBI) += iosf_mbi.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_IOSF_MBI) += iosf_mbi.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/iris/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/iris/Makefile index 883d625517..3543527484 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/iris/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/iris/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_X86_32_IRIS) += iris.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_X86_32_IRIS) += iris.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/olpc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/olpc/Makefile index 8f879d2e83..049f92a937 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/olpc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/olpc/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_OLPC) += olpc.o olpc_ofw.o olpc_dt.o -obj-$(CONFIG_OLPC_XO1_PM) += olpc-xo1-pm.o xo1-wakeup.o -obj-$(CONFIG_OLPC_XO1_RTC) += olpc-xo1-rtc.o -obj-$(CONFIG_OLPC_XO1_SCI) += olpc-xo1-sci.o -obj-$(CONFIG_OLPC_XO15_SCI) += olpc-xo15-sci.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_OLPC) += olpc.o olpc_ofw.o olpc_dt.o +obj-$(CONFIG_OLPC_XO1_PM) += olpc-xo1-pm.o xo1-wakeup.o +obj-$(CONFIG_OLPC_XO1_RTC) += olpc-xo1-rtc.o +obj-$(CONFIG_OLPC_XO1_SCI) += olpc-xo1-sci.o +obj-$(CONFIG_OLPC_XO15_SCI) += olpc-xo15-sci.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/pvh/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/pvh/Makefile index 7e05bdb532..c43fb7964d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/pvh/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/pvh/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -OBJECT_FILES_NON_STANDARD_head.o := y -KASAN_SANITIZE := n - -obj-$(CONFIG_PVH) += enlighten.o -obj-$(CONFIG_PVH) += head.o +# SPDX-License-Identifier: GPL-2.0 +OBJECT_FILES_NON_STANDARD_head.o := y +KASAN_SANITIZE := n + +obj-$(CONFIG_PVH) += enlighten.o +obj-$(CONFIG_PVH) += head.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/scx200/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/scx200/Makefile index 7f4c27365e..981b3e4302 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/scx200/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/scx200/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SCx200) += scx200.o -scx200-y += scx200_32.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SCx200) += scx200.o +scx200-y += scx200_32.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ts5500/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ts5500/Makefile index 61cae66992..910fe9e3ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ts5500/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/ts5500/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_TS5500) += ts5500.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_TS5500) += ts5500.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/uv/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/uv/Makefile index b3c63e1162..1441dda8ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/uv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/platform/uv/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_X86_UV) += bios_uv.o uv_irq.o uv_time.o uv_nmi.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_X86_UV) += bios_uv.o uv_irq.o uv_time.o uv_nmi.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/purgatory/kexec-purgatory.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/purgatory/kexec-purgatory.S index 5b76df45eb..8530fe93b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/purgatory/kexec-purgatory.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/purgatory/kexec-purgatory.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - - .section .rodata, "a" - - .align 8 -kexec_purgatory: - .globl kexec_purgatory - .incbin "arch/x86/purgatory/purgatory.ro" -.Lkexec_purgatory_end: - - .align 8 -kexec_purgatory_size: - .globl kexec_purgatory_size - .quad .Lkexec_purgatory_end - kexec_purgatory +/* SPDX-License-Identifier: GPL-2.0 */ + + .section .rodata, "a" + + .align 8 +kexec_purgatory: + .globl kexec_purgatory + .incbin "arch/x86/purgatory/purgatory.ro" +.Lkexec_purgatory_end: + + .align 8 +kexec_purgatory_size: + .globl kexec_purgatory_size + .quad .Lkexec_purgatory_end - kexec_purgatory diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/.gitignore index b9498847b2..6c3464f461 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -pasyms.h -realmode.lds -realmode.relocs +# SPDX-License-Identifier: GPL-2.0-only +pasyms.h +realmode.lds +realmode.relocs diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/stack.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/stack.S index 1134f12647..0fca64061a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/stack.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/realmode/rm/stack.S @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Common heap and stack allocations - */ - -#include - - .data -SYM_DATA(HEAP, .long rm_heap) -SYM_DATA(heap_end, .long rm_stack) - - .bss - .balign 16 -SYM_DATA(rm_heap, .space 2048) - -SYM_DATA_START(rm_stack) - .space 2048 -SYM_DATA_END_LABEL(rm_stack, SYM_L_GLOBAL, rm_stack_end) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Common heap and stack allocations + */ + +#include + + .data +SYM_DATA(HEAP, .long rm_heap) +SYM_DATA(heap_end, .long rm_stack) + + .bss + .balign 16 +SYM_DATA(rm_heap, .space 2048) + +SYM_DATA_START(rm_stack) + .space 2048 +SYM_DATA_END_LABEL(rm_stack, SYM_L_GLOBAL, rm_stack_end) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/arch_hweight.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/arch_hweight.h index 44bf713dd5..0d2d5fbb3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/arch_hweight.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/arch_hweight.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_UM_HWEIGHT_H -#define _ASM_UM_HWEIGHT_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_UM_HWEIGHT_H +#define _ASM_UM_HWEIGHT_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/archparam.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/archparam.h index 531468022a..c17cf68dda 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/archparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/archparam.h @@ -1,20 +1,20 @@ -/* - * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com) - * Copyright 2003 PathScale, Inc. - * Licensed under the GPL - */ - -#ifndef __UM_ARCHPARAM_H -#define __UM_ARCHPARAM_H - -#ifdef CONFIG_X86_32 - -#ifdef CONFIG_X86_PAE -#define LAST_PKMAP 512 -#else -#define LAST_PKMAP 1024 -#endif - -#endif - -#endif +/* + * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com) + * Copyright 2003 PathScale, Inc. + * Licensed under the GPL + */ + +#ifndef __UM_ARCHPARAM_H +#define __UM_ARCHPARAM_H + +#ifdef CONFIG_X86_32 + +#ifdef CONFIG_X86_PAE +#define LAST_PKMAP 512 +#else +#define LAST_PKMAP 1024 +#endif + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/irq_vectors.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/irq_vectors.h index 0b821721a0..272a81e0ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/irq_vectors.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/irq_vectors.h @@ -1,10 +1,10 @@ -/* - * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) - * Licensed under the GPL - */ - -#ifndef __UM_IRQ_VECTORS_H -#define __UM_IRQ_VECTORS_H - -#endif - +/* + * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) + * Licensed under the GPL + */ + +#ifndef __UM_IRQ_VECTORS_H +#define __UM_IRQ_VECTORS_H + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/module.h index aabcc64790..a3b061d660 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/module.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_MODULE_H -#define __UM_MODULE_H - -/* UML is simple */ -struct mod_arch_specific -{ -}; - -#ifdef CONFIG_X86_32 - -#define Elf_Shdr Elf32_Shdr -#define Elf_Sym Elf32_Sym -#define Elf_Ehdr Elf32_Ehdr - -#else - -#define Elf_Shdr Elf64_Shdr -#define Elf_Sym Elf64_Sym -#define Elf_Ehdr Elf64_Ehdr - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_MODULE_H +#define __UM_MODULE_H + +/* UML is simple */ +struct mod_arch_specific +{ +}; + +#ifdef CONFIG_X86_32 + +#define Elf_Shdr Elf32_Shdr +#define Elf_Sym Elf32_Sym +#define Elf_Ehdr Elf32_Ehdr + +#else + +#define Elf_Shdr Elf64_Shdr +#define Elf_Sym Elf64_Sym +#define Elf_Ehdr Elf64_Ehdr + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/required-features.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/required-features.h index f1e54043b4..dfb967b2d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/required-features.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/required-features.h @@ -1,9 +1,9 @@ -#ifndef __UM_REQUIRED_FEATURES_H -#define __UM_REQUIRED_FEATURES_H - -/* - * Nothing to see, just need something for the i386 and x86_64 asm - * headers to include. - */ - -#endif +#ifndef __UM_REQUIRED_FEATURES_H +#define __UM_REQUIRED_FEATURES_H + +/* + * Nothing to see, just need something for the i386 and x86_64 asm + * headers to include. + */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/segment.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/segment.h index a52c91d2d9..2ef507bc69 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/segment.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/segment.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_SEGMENT_H -#define __UM_SEGMENT_H - -extern int host_gdt_entry_tls_min; - -#define GDT_ENTRY_TLS_ENTRIES 3 -#define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min -#define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __UM_SEGMENT_H +#define __UM_SEGMENT_H + +extern int host_gdt_entry_tls_min; + +#define GDT_ENTRY_TLS_ENTRIES 3 +#define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min +#define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/vm-flags.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/vm-flags.h index b5c446647f..df7a3896f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/vm-flags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/asm/vm-flags.h @@ -1,19 +1,19 @@ -/* - * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com) - * Copyright 2003 PathScale, Inc. - * Licensed under the GPL - */ - -#ifndef __VM_FLAGS_X86_H -#define __VM_FLAGS_X86_H - -#ifdef CONFIG_X86_32 - -#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC - -#else - -#define VM_STACK_DEFAULT_FLAGS (VM_GROWSDOWN | VM_DATA_FLAGS_EXEC) - -#endif -#endif +/* + * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com) + * Copyright 2003 PathScale, Inc. + * Licensed under the GPL + */ + +#ifndef __VM_FLAGS_X86_H +#define __VM_FLAGS_X86_H + +#ifdef CONFIG_X86_32 + +#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC + +#else + +#define VM_STACK_DEFAULT_FLAGS (VM_GROWSDOWN | VM_DATA_FLAGS_EXEC) + +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/bugs_64.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/bugs_64.c index b1b599d3af..b01295e8a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/bugs_64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/bugs_64.c @@ -1,16 +1,16 @@ -/* - * Copyright 2003 PathScale, Inc. - * - * Licensed under the GPL - */ - -#include -#include - -void arch_check_bugs(void) -{ -} - -void arch_examine_signal(int sig, struct uml_pt_regs *regs) -{ -} +/* + * Copyright 2003 PathScale, Inc. + * + * Licensed under the GPL + */ + +#include +#include + +void arch_check_bugs(void) +{ +} + +void arch_examine_signal(int sig, struct uml_pt_regs *regs) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/mem_64.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/mem_64.c index 8e4207c2e2..c027e93d10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/mem_64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/mem_64.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -const char *arch_vma_name(struct vm_area_struct *vma) -{ - if (vma->vm_mm && vma->vm_start == um_vdso_addr) - return "[vdso]"; - - return NULL; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +const char *arch_vma_name(struct vm_area_struct *vma) +{ + if (vma->vm_mm && vma->vm_start == um_vdso_addr) + return "[vdso]"; + + return NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/os-Linux/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/os-Linux/Makefile index 2098fbe7bf..5249bbc30d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/os-Linux/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/os-Linux/Makefile @@ -1,12 +1,12 @@ -# -# Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) -# Licensed under the GPL -# - -obj-y = registers.o task_size.o mcontext.o - -obj-$(CONFIG_X86_32) += tls.o - -USER_OBJS := $(obj-y) - -include $(srctree)/arch/um/scripts/Makefile.rules +# +# Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) +# Licensed under the GPL +# + +obj-y = registers.o task_size.o mcontext.o + +obj-$(CONFIG_X86_32) += tls.o + +USER_OBJS := $(obj-y) + +include $(srctree)/arch/um/scripts/Makefile.rules diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/archsetjmp.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/archsetjmp.h index 5ec17f11d3..8c81d1a604 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/archsetjmp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/archsetjmp.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __X86_UM_SYSDEP_ARCHSETJMP_H -#define __X86_UM_SYSDEP_ARCHSETJMP_H - -#ifdef __i386__ -#include "archsetjmp_32.h" -#else -#include "archsetjmp_64.h" -#endif - -unsigned long get_thread_reg(int reg, jmp_buf *buf); - -#endif /* __X86_UM_SYSDEP_ARCHSETJMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __X86_UM_SYSDEP_ARCHSETJMP_H +#define __X86_UM_SYSDEP_ARCHSETJMP_H + +#ifdef __i386__ +#include "archsetjmp_32.h" +#else +#include "archsetjmp_64.h" +#endif + +unsigned long get_thread_reg(int reg, jmp_buf *buf); + +#endif /* __X86_UM_SYSDEP_ARCHSETJMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/faultinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/faultinfo.h index ed3e53c590..4390803e07 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/faultinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/faultinfo.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __i386__ -#include "faultinfo_32.h" -#else -#include "faultinfo_64.h" -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __i386__ +#include "faultinfo_32.h" +#else +#include "faultinfo_64.h" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/kernel-offsets.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/kernel-offsets.h index 0b478f8904..48de3a71f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/kernel-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/kernel-offsets.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include -#include -#include -#include - -/* workaround for a warning with -Wmissing-prototypes */ -void foo(void); - -void foo(void) -{ -#include -} +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include +#include +#include +#include + +/* workaround for a warning with -Wmissing-prototypes */ +void foo(void); + +void foo(void) +{ +#include +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/stub.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/stub.h index 650b841019..dc89f44234 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/stub.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/stub.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include -#include -#include - -#ifdef __i386__ -#include "stub_32.h" -#else -#include "stub_64.h" -#endif - -extern void stub_segv_handler(int, siginfo_t *, void *); -extern void stub_syscall_handler(void); +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include +#include +#include + +#ifdef __i386__ +#include "stub_32.h" +#else +#include "stub_64.h" +#endif + +extern void stub_segv_handler(int, siginfo_t *, void *); +extern void stub_syscall_handler(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/syscalls.h index 65e1cd3d2d..b2060ac707 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/shared/sysdep/syscalls.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __i386__ -#include "syscalls_32.h" -#else -#include "syscalls_64.h" -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __i386__ +#include "syscalls_32.h" +#else +#include "syscalls_64.h" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/syscalls_32.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/syscalls_32.c index e6a9ddd98f..5c65254c8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/syscalls_32.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/syscalls_32.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) -{ - return -EINVAL; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) +{ + return -EINVAL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/checkundef.sh b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/checkundef.sh index c5f2b2c009..8e3ea6bb95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/checkundef.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/checkundef.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -nm="$1" -file="$2" -$nm "$file" | grep '^ *U' > /dev/null 2>&1 -if [ $? -eq 1 ]; then - exit 0 -else - echo "$file: undefined symbols found" >&2 - exit 1 -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +nm="$1" +file="$2" +$nm "$file" | grep '^ *U' > /dev/null 2>&1 +if [ $? -eq 1 ]; then + exit 0 +else + echo "$file: undefined symbols found" >&2 + exit 1 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso-note.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso-note.S index 47ba138274..79a071e435 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso-note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso-note.S @@ -1,12 +1,12 @@ -/* - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END +/* + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso.S index 99029dd9ca..a6eaf293a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/um/vdso/vdso.S @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -__INITDATA - -SYM_DATA_START(vdso_start) - .incbin "arch/x86/um/vdso/vdso.so" -SYM_DATA_END_LABEL(vdso_start, SYM_L_GLOBAL, vdso_end) - -__FINIT +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +__INITDATA + +SYM_DATA_START(vdso_start) + .incbin "arch/x86/um/vdso/vdso.so" +SYM_DATA_END_LABEL(vdso_start, SYM_L_GLOBAL, vdso_end) + +__FINIT diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/virt/vmx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/x86/virt/vmx/Makefile index 2768777a5e..feebda21d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/virt/vmx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/virt/vmx/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_INTEL_TDX_HOST) += tdx/ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_INTEL_TDX_HOST) += tdx/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/x86/xen/debugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/x86/xen/debugfs.c index db6aea3add..b8c9f2a7d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/x86/xen/debugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/x86/xen/debugfs.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include "xen-ops.h" - -static struct dentry *d_xen_debug; - -struct dentry * __init xen_init_debugfs(void) -{ - if (!d_xen_debug) - d_xen_debug = debugfs_create_dir("xen", NULL); - return d_xen_debug; -} - +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include "xen-ops.h" + +static struct dentry *d_xen_debug; + +struct dentry * __init xen_init_debugfs(void) +{ + if (!d_xen_debug) + d_xen_debug = debugfs_create_dir("xen", NULL); + return d_xen_debug; +} + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/Kbuild index 4e61e6100c..fd12f61745 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/Kbuild @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ platforms/ boot/dts/ +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ platforms/ boot/dts/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx200mx.dts b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx200mx.dts index f56a3887fa..974a8d9041 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx200mx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx200mx.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -/include/ "xtfpga.dtsi" -/include/ "xtfpga-flash-16m.dtsi" - -/ { - compatible = "cdns,xtensa-lx200"; - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x06000000>; - }; - pic: pic { - compatible = "cdns,xtensa-mx"; - #interrupt-cells = <2>; - interrupt-controller; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +/include/ "xtfpga.dtsi" +/include/ "xtfpga-flash-16m.dtsi" + +/ { + compatible = "cdns,xtensa-lx200"; + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x06000000>; + }; + pic: pic { + compatible = "cdns,xtensa-mx"; + #interrupt-cells = <2>; + interrupt-controller; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx60.dts b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx60.dts index 75f14ab9f0..7c203c1c74 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx60.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/lx60.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -/include/ "xtfpga.dtsi" -/include/ "xtfpga-flash-4m.dtsi" - -/ { - compatible = "cdns,xtensa-lx60"; - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x04000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +/include/ "xtfpga.dtsi" +/include/ "xtfpga-flash-4m.dtsi" + +/ { + compatible = "cdns,xtensa-lx60"; + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x04000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/ml605.dts b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/ml605.dts index e3ee21d077..08e5c8d471 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/ml605.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/boot/dts/ml605.dts @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -/include/ "xtfpga.dtsi" -/include/ "xtfpga-flash-16m.dtsi" - -/ { - compatible = "cdns,xtensa-ml605"; - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +/include/ "xtfpga.dtsi" +/include/ "xtfpga-flash-16m.dtsi" + +/ { + compatible = "cdns,xtensa-ml605"; + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/Kbuild index 6e7c78daca..fa07c686cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/Kbuild @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -generated-y += syscall_table.h -generic-y += extable.h -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += param.h -generic-y += parport.h -generic-y += qrwlock.h -generic-y += qspinlock.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +generated-y += syscall_table.h +generic-y += extable.h +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += param.h +generic-y += parport.h +generic-y += qrwlock.h +generic-y += qspinlock.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/cachetype.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/cachetype.h index bd132f8a98..51bd49e2a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/cachetype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/cachetype.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_XTENSA_CACHETYPE_H -#define __ASM_XTENSA_CACHETYPE_H - -#include -#include - -#define cpu_dcache_is_aliasing() (DCACHE_WAY_SIZE > PAGE_SIZE) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_XTENSA_CACHETYPE_H +#define __ASM_XTENSA_CACHETYPE_H + +#include +#include + +#define cpu_dcache_is_aliasing() (DCACHE_WAY_SIZE > PAGE_SIZE) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/linkage.h index 751d127cd5..0ba9973235 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/linkage.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -#define __ALIGN .align 4 -#define __ALIGN_STR ".align 4" - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define __ALIGN .align 4 +#define __ALIGN_STR ".align 4" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/nommu_context.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/nommu_context.h index 07f2646a69..7c9d1918dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/nommu_context.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/nommu_context.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -static inline void init_mmu(void) -{ -} - -static inline void init_kio(void) -{ -} - -#include +/* SPDX-License-Identifier: GPL-2.0 */ +static inline void init_mmu(void) +{ +} + +static inline void init_kio(void) +{ +} + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/perf_event.h index c522e3a25e..5aa4590aca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/perf_event.h @@ -1,4 +1,4 @@ -#ifndef __ASM_XTENSA_PERF_EVENT_H -#define __ASM_XTENSA_PERF_EVENT_H - -#endif /* __ASM_XTENSA_PERF_EVENT_H */ +#ifndef __ASM_XTENSA_PERF_EVENT_H +#define __ASM_XTENSA_PERF_EVENT_H + +#endif /* __ASM_XTENSA_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/seccomp.h index 37ef067070..f1cb6b0a9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/seccomp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_XTENSA -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "xtensa" - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_XTENSA +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "xtensa" + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/spinlock_types.h index f6bc6c51a2..797aed7df3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/spinlock_types.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SPINLOCK_TYPES_H -#define __ASM_SPINLOCK_TYPES_H - -#if !defined(__LINUX_SPINLOCK_TYPES_RAW_H) && !defined(__ASM_SPINLOCK_H) -# error "please don't include this file directly" -#endif - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SPINLOCK_TYPES_H +#define __ASM_SPINLOCK_TYPES_H + +#if !defined(__LINUX_SPINLOCK_TYPES_RAW_H) && !defined(__ASM_SPINLOCK_H) +# error "please don't include this file directly" +#endif + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/unistd.h index 3a4ec3b042..30af4dc3ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/unistd.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _XTENSA_UNISTD_H -#define _XTENSA_UNISTD_H - -#define __ARCH_WANT_SYS_CLONE -#include - -#define __ARCH_WANT_NEW_STAT -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_UTIME32 -#define __ARCH_WANT_SYS_GETPGRP - -#define NR_syscalls __NR_syscalls - -#endif /* _XTENSA_UNISTD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _XTENSA_UNISTD_H +#define _XTENSA_UNISTD_H + +#define __ARCH_WANT_SYS_CLONE +#include + +#define __ARCH_WANT_NEW_STAT +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_UTIME32 +#define __ARCH_WANT_SYS_GETPGRP + +#define NR_syscalls __NR_syscalls + +#endif /* _XTENSA_UNISTD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/vmalloc.h index 584eeb0006..0eb94b70be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/asm/vmalloc.h @@ -1,4 +1,4 @@ -#ifndef _ASM_XTENSA_VMALLOC_H -#define _ASM_XTENSA_VMALLOC_H - -#endif /* _ASM_XTENSA_VMALLOC_H */ +#ifndef _ASM_XTENSA_VMALLOC_H +#define _ASM_XTENSA_VMALLOC_H + +#endif /* _ASM_XTENSA_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/uapi/asm/byteorder.h index 0fbe2b13e9..5b9f832c2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/include/uapi/asm/byteorder.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XTENSA_BYTEORDER_H -#define _XTENSA_BYTEORDER_H - -#ifdef __XTENSA_EL__ -#include -#elif defined(__XTENSA_EB__) -#include -#else -# error processor byte order undefined! -#endif - -#endif /* _XTENSA_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XTENSA_BYTEORDER_H +#define _XTENSA_BYTEORDER_H + +#ifdef __XTENSA_EL__ +#include +#elif defined(__XTENSA_EB__) +#include +#else +# error processor byte order undefined! +#endif + +#endif /* _XTENSA_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/lib/bswapsi2.S b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/lib/bswapsi2.S index 4855825c74..fbfb8613d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/lib/bswapsi2.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/lib/bswapsi2.S @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later WITH GCC-exception-2.0 */ -#include -#include -#include - -ENTRY(__bswapsi2) - - abi_entry_default - ssai 8 - srli a3, a2, 16 - src a3, a3, a2 - src a3, a3, a3 - src a2, a2, a3 - abi_ret_default - -ENDPROC(__bswapsi2) -EXPORT_SYMBOL(__bswapsi2) +/* SPDX-License-Identifier: GPL-2.0-or-later WITH GCC-exception-2.0 */ +#include +#include +#include + +ENTRY(__bswapsi2) + + abi_entry_default + ssai 8 + srli a3, a2, 16 + src a3, a3, a2 + src a3, a3, a3 + src a2, a2, a3 + abi_ret_default + +ENDPROC(__bswapsi2) +EXPORT_SYMBOL(__bswapsi2) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/Makefile index bb6b303cd5..e2e7e07269 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_XTENSA_PLATFORM_XT2000) += xt2000/ -obj-$(CONFIG_XTENSA_PLATFORM_ISS) += iss/ -obj-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += xtfpga/ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_XTENSA_PLATFORM_XT2000) += xt2000/ +obj-$(CONFIG_XTENSA_PLATFORM_ISS) += iss/ +obj-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += xtfpga/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/iss/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/iss/Makefile index a3f2a24062..f3dd5e72a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/iss/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/iss/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# $Id: Makefile,v 1.1.1.1 2002/08/28 16:10:14 aroll Exp $ -# -# Makefile for the Xtensa Instruction Set Simulator (ISS) -# "prom monitor" library routines under Linux. -# - -obj-y = setup.o -obj-$(CONFIG_TTY) += console.o -obj-$(CONFIG_NET) += network.o -obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o +# SPDX-License-Identifier: GPL-2.0-only +# $Id: Makefile,v 1.1.1.1 2002/08/28 16:10:14 aroll Exp $ +# +# Makefile for the Xtensa Instruction Set Simulator (ISS) +# "prom monitor" library routines under Linux. +# + +obj-y = setup.o +obj-$(CONFIG_TTY) += console.o +obj-$(CONFIG_NET) += network.o +obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/xt2000/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/xt2000/Makefile index 6967965ce0..53eaeba5ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/xt2000/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/xtensa/platforms/xt2000/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Tensilica XT2000 Emulation Board -# - -obj-y = setup.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Tensilica XT2000 Emulation Board +# + +obj-y = setup.o diff --git a/image/debian/UFI003_MB_V02/kernel/block/blk-ioprio.h b/image/debian/UFI003_MB_V02/kernel/block/blk-ioprio.h index 72200cae7e..9265143f9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/block/blk-ioprio.h +++ b/image/debian/UFI003_MB_V02/kernel/block/blk-ioprio.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _BLK_IOPRIO_H_ -#define _BLK_IOPRIO_H_ - -#include - -struct request_queue; -struct bio; - -#ifdef CONFIG_BLK_CGROUP_IOPRIO -void blkcg_set_ioprio(struct bio *bio); -#else -static inline void blkcg_set_ioprio(struct bio *bio) -{ -} -#endif - -#endif /* _BLK_IOPRIO_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _BLK_IOPRIO_H_ +#define _BLK_IOPRIO_H_ + +#include + +struct request_queue; +struct bio; + +#ifdef CONFIG_BLK_CGROUP_IOPRIO +void blkcg_set_ioprio(struct bio *bio); +#else +static inline void blkcg_set_ioprio(struct bio *bio) +{ +} +#endif + +#endif /* _BLK_IOPRIO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/certs/.gitignore b/image/debian/UFI003_MB_V02/kernel/certs/.gitignore index 25afc57e54..cec5465f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/certs/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/certs/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -/blacklist_hash_list -/extract-cert -/x509_certificate_list -/x509_revocation_list +# SPDX-License-Identifier: GPL-2.0-only +/blacklist_hash_list +/extract-cert +/x509_certificate_list +/x509_revocation_list diff --git a/image/debian/UFI003_MB_V02/kernel/certs/blacklist.h b/image/debian/UFI003_MB_V02/kernel/certs/blacklist.h index e829b7b4df..51b320cf85 100644 --- a/image/debian/UFI003_MB_V02/kernel/certs/blacklist.h +++ b/image/debian/UFI003_MB_V02/kernel/certs/blacklist.h @@ -1,5 +1,5 @@ -#include -#include -#include - -extern const char __initconst *const blacklist_hashes[]; +#include +#include +#include + +extern const char __initconst *const blacklist_hashes[]; diff --git a/image/debian/UFI003_MB_V02/kernel/certs/blacklist_hashes.c b/image/debian/UFI003_MB_V02/kernel/certs/blacklist_hashes.c index 3ad62e6c07..0c5476abeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/certs/blacklist_hashes.c +++ b/image/debian/UFI003_MB_V02/kernel/certs/blacklist_hashes.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "blacklist.h" - -const char __initconst *const blacklist_hashes[] = { -#include "blacklist_hash_list" -}; +// SPDX-License-Identifier: GPL-2.0 +#include "blacklist.h" + +const char __initconst *const blacklist_hashes[] = { +#include "blacklist_hash_list" +}; diff --git a/image/debian/UFI003_MB_V02/kernel/crypto/async_tx/Makefile b/image/debian/UFI003_MB_V02/kernel/crypto/async_tx/Makefile index 4112f3715f..056e482453 100644 --- a/image/debian/UFI003_MB_V02/kernel/crypto/async_tx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/crypto/async_tx/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ASYNC_CORE) += async_tx.o -obj-$(CONFIG_ASYNC_MEMCPY) += async_memcpy.o -obj-$(CONFIG_ASYNC_XOR) += async_xor.o -obj-$(CONFIG_ASYNC_PQ) += async_pq.o -obj-$(CONFIG_ASYNC_RAID6_RECOV) += async_raid6_recov.o -obj-$(CONFIG_ASYNC_RAID6_TEST) += raid6test.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_ASYNC_CORE) += async_tx.o +obj-$(CONFIG_ASYNC_MEMCPY) += async_memcpy.o +obj-$(CONFIG_ASYNC_XOR) += async_xor.o +obj-$(CONFIG_ASYNC_PQ) += async_pq.o +obj-$(CONFIG_ASYNC_RAID6_RECOV) += async_raid6_recov.o +obj-$(CONFIG_ASYNC_RAID6_TEST) += raid6test.o diff --git a/image/debian/UFI003_MB_V02/kernel/crypto/ecdsasignature.asn1 b/image/debian/UFI003_MB_V02/kernel/crypto/ecdsasignature.asn1 index b70d4390e4..621ab754fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/crypto/ecdsasignature.asn1 +++ b/image/debian/UFI003_MB_V02/kernel/crypto/ecdsasignature.asn1 @@ -1,4 +1,4 @@ -ECDSASignature ::= SEQUENCE { - r INTEGER ({ ecdsa_get_signature_r }), - s INTEGER ({ ecdsa_get_signature_s }) -} +ECDSASignature ::= SEQUENCE { + r INTEGER ({ ecdsa_get_signature_r }), + s INTEGER ({ ecdsa_get_signature_s }) +} diff --git a/image/debian/UFI003_MB_V02/kernel/crypto/ecrdsa_params.asn1 b/image/debian/UFI003_MB_V02/kernel/crypto/ecrdsa_params.asn1 index f0d9f487b3..aba99c3763 100644 --- a/image/debian/UFI003_MB_V02/kernel/crypto/ecrdsa_params.asn1 +++ b/image/debian/UFI003_MB_V02/kernel/crypto/ecrdsa_params.asn1 @@ -1,4 +1,4 @@ -EcrdsaParams ::= SEQUENCE { - curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }), - digest OBJECT IDENTIFIER OPTIONAL ({ ecrdsa_param_digest }) -} +EcrdsaParams ::= SEQUENCE { + curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }), + digest OBJECT IDENTIFIER OPTIONAL ({ ecrdsa_param_digest }) +} diff --git a/image/debian/UFI003_MB_V02/kernel/crypto/rsapubkey.asn1 b/image/debian/UFI003_MB_V02/kernel/crypto/rsapubkey.asn1 index e8f8377be1..0d32b1ca62 100644 --- a/image/debian/UFI003_MB_V02/kernel/crypto/rsapubkey.asn1 +++ b/image/debian/UFI003_MB_V02/kernel/crypto/rsapubkey.asn1 @@ -1,11 +1,11 @@ --- SPDX-License-Identifier: BSD-3-Clause --- --- Copyright (C) 2016 IETF Trust and the persons identified as authors --- of the code --- --- https://www.rfc-editor.org/rfc/rfc8017#appendix-A.1.1 - -RsaPubKey ::= SEQUENCE { - n INTEGER ({ rsa_get_n }), - e INTEGER ({ rsa_get_e }) -} +-- SPDX-License-Identifier: BSD-3-Clause +-- +-- Copyright (C) 2016 IETF Trust and the persons identified as authors +-- of the code +-- +-- https://www.rfc-editor.org/rfc/rfc8017#appendix-A.1.1 + +RsaPubKey ::= SEQUENCE { + n INTEGER ({ rsa_get_n }), + e INTEGER ({ rsa_get_e }) +} diff --git a/image/debian/UFI003_MB_V02/kernel/fs/9p/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/9p/Makefile index 5e92e9ea56..e7800a5c73 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/9p/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/9p/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_9P_FS) := 9p.o - -9p-objs := \ - vfs_super.o \ - vfs_inode.o \ - vfs_inode_dotl.o \ - vfs_addr.o \ - vfs_file.o \ - vfs_dir.o \ - vfs_dentry.o \ - v9fs.o \ - fid.o \ - xattr.o - -9p-$(CONFIG_9P_FSCACHE) += cache.o -9p-$(CONFIG_9P_FS_POSIX_ACL) += acl.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_9P_FS) := 9p.o + +9p-objs := \ + vfs_super.o \ + vfs_inode.o \ + vfs_inode_dotl.o \ + vfs_addr.o \ + vfs_file.o \ + vfs_dir.o \ + vfs_dentry.o \ + v9fs.o \ + fid.o \ + xattr.o + +9p-$(CONFIG_9P_FSCACHE) += cache.o +9p-$(CONFIG_9P_FS_POSIX_ACL) += acl.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/adfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/adfs/Makefile index 8a70919b3f..cf7de6ece6 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/adfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/adfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux adfs filesystem routines. -# - -obj-$(CONFIG_ADFS_FS) += adfs.o - -adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux adfs filesystem routines. +# + +obj-$(CONFIG_ADFS_FS) += adfs.o + +adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/affs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/affs/Makefile index d521f68dfd..f2c811429a 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/affs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/affs/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux affs filesystem routines. -# - -#ccflags-y := -DDEBUG=1 - -obj-$(CONFIG_AFFS_FS) += affs.o - -affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux affs filesystem routines. +# + +#ccflags-y := -DDEBUG=1 + +obj-$(CONFIG_AFFS_FS) += affs.o + +affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/autofs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/autofs/Makefile index fc1c42b11a..495ac542e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/autofs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/autofs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux autofs-filesystem routines. -# - -obj-$(CONFIG_AUTOFS_FS) += autofs4.o - -autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux autofs-filesystem routines. +# + +obj-$(CONFIG_AUTOFS_FS) += autofs4.o + +autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/keylist_types.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/keylist_types.h index d8ef412825..4b3ff7d8a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/keylist_types.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/keylist_types.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_KEYLIST_TYPES_H -#define _BCACHEFS_KEYLIST_TYPES_H - -struct keylist { - union { - struct bkey_i *keys; - u64 *keys_p; - }; - union { - struct bkey_i *top; - u64 *top_p; - }; -}; - -#endif /* _BCACHEFS_KEYLIST_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_KEYLIST_TYPES_H +#define _BCACHEFS_KEYLIST_TYPES_H + +struct keylist { + union { + struct bkey_i *keys; + u64 *keys_p; + }; + union { + struct bkey_i *top; + u64 *top_p; + }; +}; + +#endif /* _BCACHEFS_KEYLIST_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/migrate.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/migrate.h index 523cb859c0..027efaa0d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/migrate.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/migrate.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_MIGRATE_H -#define _BCACHEFS_MIGRATE_H - -int bch2_dev_data_drop(struct bch_fs *, unsigned, int); - -#endif /* _BCACHEFS_MIGRATE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_MIGRATE_H +#define _BCACHEFS_MIGRATE_H + +int bch2_dev_data_drop(struct bch_fs *, unsigned, int); + +#endif /* _BCACHEFS_MIGRATE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/recovery.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/recovery.h index 3c164a0cfc..4bf818de1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/recovery.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/recovery.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_RECOVERY_H -#define _BCACHEFS_RECOVERY_H - -void bch2_btree_lost_data(struct bch_fs *, enum btree_id); - -int bch2_journal_replay(struct bch_fs *); - -int bch2_fs_recovery(struct bch_fs *); -int bch2_fs_initialize(struct bch_fs *); - -#endif /* _BCACHEFS_RECOVERY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_RECOVERY_H +#define _BCACHEFS_RECOVERY_H + +void bch2_btree_lost_data(struct bch_fs *, enum btree_id); + +int bch2_journal_replay(struct bch_fs *); + +int bch2_fs_recovery(struct bch_fs *); +int bch2_fs_initialize(struct bch_fs *); + +#endif /* _BCACHEFS_RECOVERY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/replicas_types.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/replicas_types.h index 8aace5259f..fed71c861f 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/replicas_types.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/replicas_types.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_REPLICAS_TYPES_H -#define _BCACHEFS_REPLICAS_TYPES_H - -struct bch_replicas_cpu { - unsigned nr; - unsigned entry_size; - struct bch_replicas_entry_v1 *entries; -}; - -#endif /* _BCACHEFS_REPLICAS_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_REPLICAS_TYPES_H +#define _BCACHEFS_REPLICAS_TYPES_H + +struct bch_replicas_cpu { + unsigned nr; + unsigned entry_size; + struct bch_replicas_entry_v1 *entries; +}; + +#endif /* _BCACHEFS_REPLICAS_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/sb-errors_types.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/sb-errors_types.h index dec5a5bf62..40325239c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/sb-errors_types.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/sb-errors_types.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_SB_ERRORS_TYPES_H -#define _BCACHEFS_SB_ERRORS_TYPES_H - -#include "darray.h" - -struct bch_sb_error_entry_cpu { - u64 id:16, - nr:48; - u64 last_error_time; -}; - -typedef DARRAY(struct bch_sb_error_entry_cpu) bch_sb_errors_cpu; - -#endif /* _BCACHEFS_SB_ERRORS_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_SB_ERRORS_TYPES_H +#define _BCACHEFS_SB_ERRORS_TYPES_H + +#include "darray.h" + +struct bch_sb_error_entry_cpu { + u64 id:16, + nr:48; + u64 last_error_time; +}; + +typedef DARRAY(struct bch_sb_error_entry_cpu) bch_sb_errors_cpu; + +#endif /* _BCACHEFS_SB_ERRORS_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/tests.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/tests.h index 5fc48445fd..c73b18aea7 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/tests.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/tests.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_TEST_H -#define _BCACHEFS_TEST_H - -struct bch_fs; - -#ifdef CONFIG_BCACHEFS_TESTS - -int bch2_btree_perf_test(struct bch_fs *, const char *, u64, unsigned); - -#else - -#endif /* CONFIG_BCACHEFS_TESTS */ - -#endif /* _BCACHEFS_TEST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_TEST_H +#define _BCACHEFS_TEST_H + +struct bch_fs; + +#ifdef CONFIG_BCACHEFS_TESTS + +int bch2_btree_perf_test(struct bch_fs *, const char *, u64, unsigned); + +#else + +#endif /* CONFIG_BCACHEFS_TESTS */ + +#endif /* _BCACHEFS_TEST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/two_state_shared_lock.c b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/two_state_shared_lock.c index 7f55e1be3f..9764c2e6a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/two_state_shared_lock.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/two_state_shared_lock.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "two_state_shared_lock.h" - -void __bch2_two_state_lock(two_state_lock_t *lock, int s) -{ - __wait_event(lock->wait, bch2_two_state_trylock(lock, s)); -} +// SPDX-License-Identifier: GPL-2.0 + +#include "two_state_shared_lock.h" + +void __bch2_two_state_lock(two_state_lock_t *lock, int s) +{ + __wait_event(lock->wait, bch2_two_state_trylock(lock, s)); +} diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/varint.h b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/varint.h index 8ec0359140..92a182fb3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/varint.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/bcachefs/varint.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BCACHEFS_VARINT_H -#define _BCACHEFS_VARINT_H - -int bch2_varint_encode(u8 *, u64); -int bch2_varint_decode(const u8 *, const u8 *, u64 *); - -int bch2_varint_encode_fast(u8 *, u64); -int bch2_varint_decode_fast(const u8 *, const u8 *, u64 *); - -#endif /* _BCACHEFS_VARINT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_VARINT_H +#define _BCACHEFS_VARINT_H + +int bch2_varint_encode(u8 *, u64); +int bch2_varint_decode(const u8 *, const u8 *, u64 *); + +int bch2_varint_encode_fast(u8 *, u64); +int bch2_varint_decode_fast(const u8 *, const u8 *, u64 *); + +#endif /* _BCACHEFS_VARINT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/befs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/befs/Makefile index aaab6ac835..6c9c3cbc55 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/befs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/befs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux BeOS filesystem routines. -# - -obj-$(CONFIG_BEFS_FS) += befs.o -ccflags-$(CONFIG_BEFS_DEBUG) += -DDEBUG -befs-objs := datastream.o btree.o super.o inode.o debug.o io.o linuxvfs.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux BeOS filesystem routines. +# + +obj-$(CONFIG_BEFS_FS) += befs.o +ccflags-$(CONFIG_BEFS_DEBUG) += -DDEBUG +befs-objs := datastream.o btree.o super.o inode.o debug.o io.o linuxvfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/befs/btree.h b/image/debian/UFI003_MB_V02/kernel/fs/befs/btree.h index 8264f0e4a6..a253a6276d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/befs/btree.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/befs/btree.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * btree.h - * - */ - -int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, - const char *key, befs_off_t *value); - -int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, - loff_t key_no, size_t bufsize, char *keybuf, - size_t *keysize, befs_off_t *value); +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * btree.h + * + */ + +int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, + const char *key, befs_off_t *value); + +int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, + loff_t key_no, size_t bufsize, char *keybuf, + size_t *keysize, befs_off_t *value); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/befs/inode.h b/image/debian/UFI003_MB_V02/kernel/fs/befs/inode.h index c9598d5750..2219e412f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/befs/inode.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/befs/inode.h @@ -1,7 +1,7 @@ -/* - * inode.h - * - */ - -int befs_check_inode(struct super_block *sb, befs_inode *raw_inode, - befs_blocknr_t inode); +/* + * inode.h + * + */ + +int befs_check_inode(struct super_block *sb, befs_inode *raw_inode, + befs_blocknr_t inode); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/befs/io.h b/image/debian/UFI003_MB_V02/kernel/fs/befs/io.h index b3763d1178..9b3e1967cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/befs/io.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/befs/io.h @@ -1,6 +1,6 @@ -/* - * io.h - */ - -struct buffer_head *befs_bread_iaddr(struct super_block *sb, - befs_inode_addr iaddr); +/* + * io.h + */ + +struct buffer_head *befs_bread_iaddr(struct super_block *sb, + befs_inode_addr iaddr); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/befs/super.h b/image/debian/UFI003_MB_V02/kernel/fs/befs/super.h index 189f37aecf..ec1df30a7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/befs/super.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/befs/super.h @@ -1,6 +1,6 @@ -/* - * super.h - */ - -int befs_load_sb(struct super_block *sb, befs_super_block *disk_sb); -int befs_check_sb(struct super_block *sb); +/* + * super.h + */ + +int befs_load_sb(struct super_block *sb, befs_super_block *disk_sb); +int befs_check_sb(struct super_block *sb); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/bfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/bfs/Makefile index 7a49bb150c..2b6bc5eb4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/bfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/bfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for BFS filesystem. -# - -obj-$(CONFIG_BFS_FS) += bfs.o - -bfs-objs := inode.o file.o dir.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for BFS filesystem. +# + +obj-$(CONFIG_BFS_FS) += bfs.o + +bfs-objs := inode.o file.o dir.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/btrfs/fiemap.h b/image/debian/UFI003_MB_V02/kernel/fs/btrfs/fiemap.h index fd91a2686e..cfd74b3598 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/btrfs/fiemap.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/btrfs/fiemap.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef BTRFS_FIEMAP_H -#define BTRFS_FIEMAP_H - -#include - -int btrfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, - u64 start, u64 len); - -#endif /* BTRFS_FIEMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef BTRFS_FIEMAP_H +#define BTRFS_FIEMAP_H + +#include + +int btrfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, + u64 start, u64 len); + +#endif /* BTRFS_FIEMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/btrfs/reflink.h b/image/debian/UFI003_MB_V02/kernel/fs/btrfs/reflink.h index 3921873c17..1e291f7d85 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/btrfs/reflink.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/btrfs/reflink.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef BTRFS_REFLINK_H -#define BTRFS_REFLINK_H - -#include - -struct file; - -loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in, - struct file *file_out, loff_t pos_out, - loff_t len, unsigned int remap_flags); - -#endif /* BTRFS_REFLINK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef BTRFS_REFLINK_H +#define BTRFS_REFLINK_H + +#include + +struct file; + +loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in, + struct file *file_out, loff_t pos_out, + loff_t len, unsigned int remap_flags); + +#endif /* BTRFS_REFLINK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/configfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/configfs/Makefile index 96d0ce4118..0200498ede 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/configfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/configfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the configfs virtual filesystem -# - -obj-$(CONFIG_CONFIGFS_FS) += configfs.o - -configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the configfs virtual filesystem +# + +obj-$(CONFIG_CONFIGFS_FS) += configfs.o + +configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/cramfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/cramfs/Makefile index 5eadad6312..8c3ed29824 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/cramfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/cramfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux cramfs routines. -# - -obj-$(CONFIG_CRAMFS) += cramfs.o - -cramfs-objs := inode.o uncompress.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux cramfs routines. +# + +obj-$(CONFIG_CRAMFS) += cramfs.o + +cramfs-objs := inode.o uncompress.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/cramfs/internal.h b/image/debian/UFI003_MB_V02/kernel/fs/cramfs/internal.h index e8b991e4bc..349d712721 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/cramfs/internal.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/cramfs/internal.h @@ -1,4 +1,4 @@ -/* Uncompression interfaces to the underlying zlib */ -int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen); -int cramfs_uncompress_init(void); -void cramfs_uncompress_exit(void); +/* Uncompression interfaces to the underlying zlib */ +int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen); +int cramfs_uncompress_init(void); +void cramfs_uncompress_exit(void); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/crypto/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/crypto/Makefile index 5ec4cb69ae..652c7180ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/crypto/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/crypto/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o - -fscrypto-y := crypto.o \ - fname.o \ - hkdf.o \ - hooks.o \ - keyring.o \ - keysetup.o \ - keysetup_v1.o \ - policy.o - -fscrypto-$(CONFIG_BLOCK) += bio.o -fscrypto-$(CONFIG_FS_ENCRYPTION_INLINE_CRYPT) += inline_crypt.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o + +fscrypto-y := crypto.o \ + fname.o \ + hkdf.o \ + hooks.o \ + keyring.o \ + keysetup.o \ + keysetup_v1.o \ + policy.o + +fscrypto-$(CONFIG_BLOCK) += bio.o +fscrypto-$(CONFIG_FS_ENCRYPTION_INLINE_CRYPT) += inline_crypt.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/debugfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/debugfs/Makefile index 7314bfd837..9c0fe38cfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/debugfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/debugfs/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -debugfs-objs := inode.o file.o - -obj-$(CONFIG_DEBUG_FS) += debugfs.o - +# SPDX-License-Identifier: GPL-2.0-only +debugfs-objs := inode.o file.o + +obj-$(CONFIG_DEBUG_FS) += debugfs.o + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/devpts/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/devpts/Makefile index 17927ccccd..66064c8fcb 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/devpts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/devpts/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux /dev/pts virtual filesystem. -# - -obj-$(CONFIG_UNIX98_PTYS) += devpts.o - -devpts-$(CONFIG_UNIX98_PTYS) := inode.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux /dev/pts virtual filesystem. +# + +obj-$(CONFIG_UNIX98_PTYS) += devpts.o + +devpts-$(CONFIG_UNIX98_PTYS) := inode.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ecryptfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ecryptfs/Makefile index f5fa147003..4f2cc5b254 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ecryptfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ecryptfs/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux eCryptfs -# - -obj-$(CONFIG_ECRYPT_FS) += ecryptfs.o - -ecryptfs-y := dentry.o file.o inode.o main.o super.o mmap.o read_write.o \ - crypto.o keystore.o kthread.o debug.o - -ecryptfs-$(CONFIG_ECRYPT_FS_MESSAGING) += messaging.o miscdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux eCryptfs +# + +obj-$(CONFIG_ECRYPT_FS) += ecryptfs.o + +ecryptfs-y := dentry.o file.o inode.o main.o super.o mmap.o read_write.o \ + crypto.o keystore.o kthread.o debug.o + +ecryptfs-$(CONFIG_ECRYPT_FS_MESSAGING) += messaging.o miscdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/efivarfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/efivarfs/Makefile index f499cdf0ea..7bfc2f9754 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/efivarfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/efivarfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the efivarfs filesystem -# - -obj-$(CONFIG_EFIVAR_FS) += efivarfs.o - -efivarfs-objs := inode.o file.o super.o vars.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the efivarfs filesystem +# + +obj-$(CONFIG_EFIVAR_FS) += efivarfs.o + +efivarfs-objs := inode.o file.o super.o vars.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/efs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/efs/Makefile index 669894239c..85e5b88f94 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/efs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/efs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux efs-filesystem routines. -# - -obj-$(CONFIG_EFS_FS) += efs.o - -efs-objs := super.o inode.o namei.o dir.o file.o symlink.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux efs-filesystem routines. +# + +obj-$(CONFIG_EFS_FS) += efs.o + +efs-objs := super.o inode.o namei.o dir.o file.o symlink.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/exfat/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/exfat/Makefile index 32fe2a0b6c..ed51926a49 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/exfat/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/exfat/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# -# Makefile for the linux exFAT filesystem support. -# -obj-$(CONFIG_EXFAT_FS) += exfat.o - -exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \ - file.o balloc.o +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Makefile for the linux exFAT filesystem support. +# +obj-$(CONFIG_EXFAT_FS) += exfat.o + +exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \ + file.o balloc.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/exportfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/exportfs/Makefile index da8e334831..a04a8af83e 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/exportfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/exportfs/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the filesystem export support routines. - -obj-$(CONFIG_EXPORTFS) += exportfs.o - -exportfs-objs := expfs.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the filesystem export support routines. + +obj-$(CONFIG_EXPORTFS) += exportfs.o + +exportfs-objs := expfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ext2/trace.c b/image/debian/UFI003_MB_V02/kernel/fs/ext2/trace.c index 3c846fd95e..b01cdf6526 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ext2/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/ext2/trace.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "ext2.h" -#include - -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 +#include "ext2.h" +#include + +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/fat/.kunitconfig b/image/debian/UFI003_MB_V02/kernel/fs/fat/.kunitconfig index e0819b94fd..0a6971dbec 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/fat/.kunitconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/fat/.kunitconfig @@ -1,5 +1,5 @@ -CONFIG_KUNIT=y -CONFIG_FAT_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_FAT_KUNIT_TEST=y +CONFIG_KUNIT=y +CONFIG_FAT_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_FAT_KUNIT_TEST=y diff --git a/image/debian/UFI003_MB_V02/kernel/fs/fat/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/fat/Makefile index e5299209aa..2b03411269 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/fat/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/fat/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux fat filesystem support. -# - -obj-$(CONFIG_FAT_FS) += fat.o -obj-$(CONFIG_VFAT_FS) += vfat.o -obj-$(CONFIG_MSDOS_FS) += msdos.o - -fat-y := cache.o dir.o fatent.o file.o inode.o misc.o nfs.o -vfat-y := namei_vfat.o -msdos-y := namei_msdos.o - -obj-$(CONFIG_FAT_KUNIT_TEST) += fat_test.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux fat filesystem support. +# + +obj-$(CONFIG_FAT_FS) += fat.o +obj-$(CONFIG_VFAT_FS) += vfat.o +obj-$(CONFIG_MSDOS_FS) += msdos.o + +fat-y := cache.o dir.o fatent.o file.o inode.o misc.o nfs.o +vfat-y := namei_vfat.o +msdos-y := namei_msdos.o + +obj-$(CONFIG_FAT_KUNIT_TEST) += fat_test.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/freevxfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/freevxfs/Makefile index a1928b2ebf..e6ee592915 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/freevxfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/freevxfs/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# VxFS Makefile -# - -obj-$(CONFIG_VXFS_FS) += freevxfs.o - -freevxfs-objs := vxfs_bmap.o vxfs_fshead.o vxfs_immed.o vxfs_inode.o \ - vxfs_lookup.o vxfs_olt.o vxfs_subr.o vxfs_super.o +# SPDX-License-Identifier: GPL-2.0-only +# +# VxFS Makefile +# + +obj-$(CONFIG_VXFS_FS) += freevxfs.o + +freevxfs-objs := vxfs_bmap.o vxfs_fshead.o vxfs_immed.o vxfs_inode.o \ + vxfs_lookup.o vxfs_olt.o vxfs_subr.o vxfs_super.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/gfs2/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/gfs2/Makefile index 1b474f6545..41b2aa4bc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/gfs2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/gfs2/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(src) -obj-$(CONFIG_GFS2_FS) += gfs2.o -gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \ - glops.o log.o lops.o main.o meta_io.o \ - aops.o dentry.o export.o file.o \ - ops_fstype.o inode.o quota.o \ - recovery.o rgrp.o super.o sys.o trans.o util.o - -gfs2-$(CONFIG_GFS2_FS_LOCKING_DLM) += lock_dlm.o - +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(src) +obj-$(CONFIG_GFS2_FS) += gfs2.o +gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \ + glops.o log.o lops.o main.o meta_io.o \ + aops.o dentry.o export.o file.o \ + ops_fstype.o inode.o quota.o \ + recovery.o rgrp.o super.o sys.o trans.o util.o + +gfs2-$(CONFIG_GFS2_FS_LOCKING_DLM) += lock_dlm.o + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/gfs2/aops.h b/image/debian/UFI003_MB_V02/kernel/fs/gfs2/aops.h index 14d2be46e0..bf002522a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/gfs2/aops.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/gfs2/aops.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2018 Red Hat, Inc. All rights reserved. - */ - -#ifndef __AOPS_DOT_H__ -#define __AOPS_DOT_H__ - -#include "incore.h" - -void adjust_fs_space(struct inode *inode); -int gfs2_jdata_writeback(struct address_space *mapping, struct writeback_control *wbc); - -#endif /* __AOPS_DOT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Red Hat, Inc. All rights reserved. + */ + +#ifndef __AOPS_DOT_H__ +#define __AOPS_DOT_H__ + +#include "incore.h" + +void adjust_fs_space(struct inode *inode); +int gfs2_jdata_writeback(struct address_space *mapping, struct writeback_control *wbc); + +#endif /* __AOPS_DOT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/hfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/hfs/Makefile index 44935fbcc3..b65459bf3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/hfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/hfs/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux hfs filesystem routines. -# - -obj-$(CONFIG_HFS_FS) += hfs.o - -hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \ - catalog.o dir.o extent.o inode.o attr.o mdb.o \ - part_tbl.o string.o super.o sysdep.o trans.o - +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux hfs filesystem routines. +# + +obj-$(CONFIG_HFS_FS) += hfs.o + +hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \ + catalog.o dir.o extent.o inode.o attr.o mdb.o \ + part_tbl.o string.o super.o sysdep.o trans.o + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/hostfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/hostfs/Makefile index 04ff396d30..16be592e80 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/hostfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/hostfs/Makefile @@ -1,13 +1,13 @@ -# -# Copyright (C) 2000 Jeff Dike (jdike@karaya.com) -# Licensed under the GPL -# - -hostfs-objs := hostfs_kern.o - -hostfs-builtin-$(CONFIG_HOSTFS) += hostfs_user.o hostfs_user_exp.o - -obj-y := $(hostfs-builtin-y) $(hostfs-builtin-m) -obj-$(CONFIG_HOSTFS) += hostfs.o - -include $(srctree)/arch/um/scripts/Makefile.rules +# +# Copyright (C) 2000 Jeff Dike (jdike@karaya.com) +# Licensed under the GPL +# + +hostfs-objs := hostfs_kern.o + +hostfs-builtin-$(CONFIG_HOSTFS) += hostfs_user.o hostfs_user_exp.o + +obj-y := $(hostfs-builtin-y) $(hostfs-builtin-m) +obj-$(CONFIG_HOSTFS) += hostfs.o + +include $(srctree)/arch/um/scripts/Makefile.rules diff --git a/image/debian/UFI003_MB_V02/kernel/fs/hpfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/hpfs/Makefile index 0ccdf2d786..153c17382c 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/hpfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/hpfs/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux hpfs filesystem routines. -# - -obj-$(CONFIG_HPFS_FS) += hpfs.o - -hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \ - inode.o map.o name.o namei.o super.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux hpfs filesystem routines. +# + +obj-$(CONFIG_HPFS_FS) += hpfs.o + +hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \ + inode.o map.o name.o namei.o super.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/hugetlbfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/hugetlbfs/Makefile index 7744f8e1dd..d876ecfbe6 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/hugetlbfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/hugetlbfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux ramfs routines. -# - -obj-$(CONFIG_HUGETLBFS) += hugetlbfs.o - -hugetlbfs-objs := inode.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux ramfs routines. +# + +obj-$(CONFIG_HUGETLBFS) += hugetlbfs.o + +hugetlbfs-objs := inode.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/iomap/trace.c b/image/debian/UFI003_MB_V02/kernel/fs/iomap/trace.c index 2d65445845..728d5443da 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/iomap/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/iomap/trace.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 Christoph Hellwig - */ -#include -#include - -/* - * We include this last to have the helpers above available for the trace - * event implementations. - */ -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 Christoph Hellwig + */ +#include +#include + +/* + * We include this last to have the helpers above available for the trace + * event implementations. + */ +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/isofs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/isofs/Makefile index 49d7c732d1..b25bc542a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/isofs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/isofs/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux isofs filesystem routines. -# - -obj-$(CONFIG_ISO9660_FS) += isofs.o - -isofs-y := namei.o inode.o dir.o util.o rock.o export.o -isofs-$(CONFIG_JOLIET) += joliet.o -isofs-$(CONFIG_ZISOFS) += compress.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux isofs filesystem routines. +# + +obj-$(CONFIG_ISO9660_FS) += isofs.o + +isofs-y := namei.o inode.o dir.o util.o rock.o export.o +isofs-$(CONFIG_JOLIET) += joliet.o +isofs-$(CONFIG_ZISOFS) += compress.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/jbd2/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/jbd2/Makefile index df9fd4e570..126b4da6c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/jbd2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/jbd2/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux journaling routines. -# - -obj-$(CONFIG_JBD2) += jbd2.o - -jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux journaling routines. +# + +obj-$(CONFIG_JBD2) += jbd2.o + +jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/jfs/jfs_discard.h b/image/debian/UFI003_MB_V02/kernel/fs/jfs/jfs_discard.h index cf15dbf842..05215fa27e 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/jfs/jfs_discard.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/jfs/jfs_discard.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) Tino Reichardt, 2012 - */ -#ifndef _H_JFS_DISCARD -#define _H_JFS_DISCARD - -struct fstrim_range; - -extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks); -extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range); - -#endif /* _H_JFS_DISCARD */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) Tino Reichardt, 2012 + */ +#ifndef _H_JFS_DISCARD +#define _H_JFS_DISCARD + +struct fstrim_range; + +extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks); +extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range); + +#endif /* _H_JFS_DISCARD */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Kconfig b/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Kconfig index 8f62900be3..e7f09105f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Kconfig @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# KERNFS should be selected by its users -# - -config KERNFS - bool - default n +# SPDX-License-Identifier: GPL-2.0-only +# +# KERNFS should be selected by its users +# + +config KERNFS + bool + default n diff --git a/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Makefile index 56ecbab367..4ca54ff54c 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/kernfs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the kernfs pseudo filesystem -# - -obj-y := mount.o inode.o dir.o file.o symlink.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the kernfs pseudo filesystem +# + +obj-y := mount.o inode.o dir.o file.o symlink.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/lockd/trace.c b/image/debian/UFI003_MB_V02/kernel/fs/lockd/trace.c index dce7d32d41..d9a6ff6e67 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/lockd/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/lockd/trace.c @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/minix/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/minix/Makefile index abf2bea5be..a2d3ab58d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/minix/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/minix/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux minix filesystem routines. -# - -obj-$(CONFIG_MINIX_FS) += minix.o - -minix-objs := bitmap.o itree_v1.o itree_v2.o namei.o inode.o file.o dir.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux minix filesystem routines. +# + +obj-$(CONFIG_MINIX_FS) += minix.o + +minix-objs := bitmap.o itree_v1.o itree_v2.o namei.o inode.o file.o dir.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/netfs/fscache_internal.h b/image/debian/UFI003_MB_V02/kernel/fs/netfs/fscache_internal.h index 4703bcedd9..a09b948fce 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/netfs/fscache_internal.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/netfs/fscache_internal.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* Internal definitions for FS-Cache - * - * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - */ - -#include "internal.h" - -#ifdef pr_fmt -#undef pr_fmt -#endif - -#define pr_fmt(fmt) "FS-Cache: " fmt +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Internal definitions for FS-Cache + * + * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved. + * Written by David Howells (dhowells@redhat.com) + */ + +#include "internal.h" + +#ifdef pr_fmt +#undef pr_fmt +#endif + +#define pr_fmt(fmt) "FS-Cache: " fmt diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nfs/blocklayout/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/nfs/blocklayout/Makefile index 6b92a3faaa..7668a1bfb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nfs/blocklayout/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/nfs/blocklayout/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the pNFS block layout driver kernel module -# -obj-$(CONFIG_PNFS_BLOCK) += blocklayoutdriver.o - -blocklayoutdriver-y += blocklayout.o dev.o extent_tree.o rpc_pipefs.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the pNFS block layout driver kernel module +# +obj-$(CONFIG_PNFS_BLOCK) += blocklayoutdriver.o + +blocklayoutdriver-y += blocklayout.o dev.o extent_tree.o rpc_pipefs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nfs/filelayout/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/nfs/filelayout/Makefile index fff73740e7..de056312d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nfs/filelayout/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/nfs/filelayout/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the pNFS Files Layout Driver kernel module -# -obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o -nfs_layout_nfsv41_files-y := filelayout.o filelayoutdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the pNFS Files Layout Driver kernel module +# +obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o +nfs_layout_nfsv41_files-y := filelayout.o filelayoutdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nfs/flexfilelayout/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/nfs/flexfilelayout/Makefile index c35f66dd95..49f03422b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nfs/flexfilelayout/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/nfs/flexfilelayout/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the pNFS Flexfile Layout Driver kernel module -# -obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += nfs_layout_flexfiles.o -nfs_layout_flexfiles-y := flexfilelayout.o flexfilelayoutdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the pNFS Flexfile Layout Driver kernel module +# +obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += nfs_layout_flexfiles.o +nfs_layout_flexfiles-y := flexfilelayout.o flexfilelayoutdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nfsd/trace.c b/image/debian/UFI003_MB_V02/kernel/fs/nfsd/trace.c index ea959269dc..f008b95cee 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nfsd/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/nfsd/trace.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 - -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 + +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nilfs2/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/nilfs2/Makefile index a018ce3fd4..43b60b8a4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nilfs2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/nilfs2/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_NILFS2_FS) += nilfs2.o -nilfs2-y := inode.o file.o dir.o super.o namei.o page.o mdt.o \ - btnode.o bmap.o btree.o direct.o dat.o recovery.o \ - the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \ - ifile.o alloc.o gcinode.o ioctl.o sysfs.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_NILFS2_FS) += nilfs2.o +nilfs2-y := inode.o file.o dir.o super.o namei.o page.o mdt.o \ + btnode.o bmap.o btree.o direct.o dat.o recovery.o \ + the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \ + ifile.o alloc.o gcinode.o ioctl.o sysfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/nls/nls_ucs2_data.h b/image/debian/UFI003_MB_V02/kernel/fs/nls/nls_ucs2_data.h index 713959644d..1f454dc0f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/nls/nls_ucs2_data.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/nls/nls_ucs2_data.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _NLS_UCS2_DATA_H -#define _NLS_UCS2_DATA_H - -struct UniCaseRange { - wchar_t start; - wchar_t end; - signed char *table; -}; - -extern signed char NlsUniUpperTable[512]; -extern const struct UniCaseRange NlsUniUpperRange[]; - -#endif /* _NLS_UCS2_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef _NLS_UCS2_DATA_H +#define _NLS_UCS2_DATA_H + +struct UniCaseRange { + wchar_t start; + wchar_t end; + signed char *table; +}; + +extern signed char NlsUniUpperTable[512]; +extern const struct UniCaseRange NlsUniUpperRange[]; + +#endif /* _NLS_UCS2_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/notify/Kconfig b/image/debian/UFI003_MB_V02/kernel/fs/notify/Kconfig index 3978a5b1ed..c6c72c90fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/notify/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/notify/Kconfig @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -config FSNOTIFY - def_bool n - -source "fs/notify/dnotify/Kconfig" -source "fs/notify/inotify/Kconfig" -source "fs/notify/fanotify/Kconfig" +# SPDX-License-Identifier: GPL-2.0-only +config FSNOTIFY + def_bool n + +source "fs/notify/dnotify/Kconfig" +source "fs/notify/inotify/Kconfig" +source "fs/notify/fanotify/Kconfig" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/notify/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/notify/Makefile index ce4ca4798c..63a4b8828d 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/notify/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/notify/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_FSNOTIFY) += fsnotify.o notification.o group.o mark.o \ - fdinfo.o - -obj-y += dnotify/ -obj-y += inotify/ -obj-y += fanotify/ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_FSNOTIFY) += fsnotify.o notification.o group.o mark.o \ + fdinfo.o + +obj-y += dnotify/ +obj-y += inotify/ +obj-y += fanotify/ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/notify/dnotify/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/notify/dnotify/Makefile index 76a8d47183..121b4dd6b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/notify/dnotify/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/notify/dnotify/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_DNOTIFY) += dnotify.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_DNOTIFY) += dnotify.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/notify/fanotify/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/notify/fanotify/Makefile index 896b3dc7e6..25ef222915 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/notify/fanotify/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/notify/fanotify/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_FANOTIFY) += fanotify.o fanotify_user.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_FANOTIFY) += fanotify.o fanotify_user.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/notify/inotify/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/notify/inotify/Makefile index 5da0cca0e2..812237eecf 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/notify/inotify/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/notify/inotify/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/Makefile index c7b62ce614..0e5b732158 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o - -ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \ - quorum.o tcp.o netdebug.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o + +ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \ + quorum.o tcp.o netdebug.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/sys.h b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/sys.h index 247295511c..70aaba6531 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/sys.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/cluster/sys.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * sys.h - * - * Function prototypes for o2cb sysfs interface - * - * Copyright (C) 2005 Oracle. All rights reserved. - */ - -#ifndef O2CLUSTER_SYS_H -#define O2CLUSTER_SYS_H - -void o2cb_sys_shutdown(void); -int o2cb_sys_init(void); - -#endif /* O2CLUSTER_SYS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * sys.h + * + * Function prototypes for o2cb sysfs interface + * + * Copyright (C) 2005 Oracle. All rights reserved. + */ + +#ifndef O2CLUSTER_SYS_H +#define O2CLUSTER_SYS_H + +void o2cb_sys_shutdown(void); +int o2cb_sys_init(void); + +#endif /* O2CLUSTER_SYS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlm/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlm/Makefile index e354853135..5e700b45d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlm/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o - -ocfs2_dlm-objs := dlmdomain.o dlmdebug.o dlmthread.o dlmrecovery.o \ - dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o + +ocfs2_dlm-objs := dlmdomain.o dlmdebug.o dlmthread.o dlmrecovery.o \ + dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlmfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlmfs/Makefile index 08bff36e0a..c7895f65be 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlmfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/dlmfs/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o - -ocfs2_dlmfs-objs := userdlm.o dlmfs.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o + +ocfs2_dlmfs-objs := userdlm.o dlmfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/export.h b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/export.h index 9e40c46906..6363574005 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/export.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/export.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * export.h - * - * Function prototypes - * - * Copyright (C) 2002, 2005 Oracle. All rights reserved. - */ - -#ifndef OCFS2_EXPORT_H -#define OCFS2_EXPORT_H - -#include - -extern const struct export_operations ocfs2_export_ops; - -#endif /* OCFS2_EXPORT_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * export.h + * + * Function prototypes + * + * Copyright (C) 2002, 2005 Oracle. All rights reserved. + */ + +#ifndef OCFS2_EXPORT_H +#define OCFS2_EXPORT_H + +#include + +extern const struct export_operations ocfs2_export_ops; + +#endif /* OCFS2_EXPORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/mmap.h b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/mmap.h index 925318e4ae..1051507cc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/mmap.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/mmap.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef OCFS2_MMAP_H -#define OCFS2_MMAP_H - -int ocfs2_mmap(struct file *file, struct vm_area_struct *vma); - -#endif /* OCFS2_MMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef OCFS2_MMAP_H +#define OCFS2_MMAP_H + +int ocfs2_mmap(struct file *file, struct vm_area_struct *vma); + +#endif /* OCFS2_MMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/move_extents.h b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/move_extents.h index 6cae202b90..987f9e559f 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/move_extents.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/move_extents.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * move_extents.h - * - * Copyright (C) 2011 Oracle. All rights reserved. - */ -#ifndef OCFS2_MOVE_EXTENTS_H -#define OCFS2_MOVE_EXTENTS_H - -int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp); - -#endif /* OCFS2_MOVE_EXTENTS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * move_extents.h + * + * Copyright (C) 2011 Oracle. All rights reserved. + */ +#ifndef OCFS2_MOVE_EXTENTS_H +#define OCFS2_MOVE_EXTENTS_H + +int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp); + +#endif /* OCFS2_MOVE_EXTENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/sysfile.h b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/sysfile.h index 62d8e4a48c..2b38c75990 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/sysfile.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ocfs2/sysfile.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * sysfile.h - * - * Function prototypes - * - * Copyright (C) 2002, 2004 Oracle. All rights reserved. - */ - -#ifndef OCFS2_SYSFILE_H -#define OCFS2_SYSFILE_H - -struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb, - int type, - u32 slot); - -#endif /* OCFS2_SYSFILE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * sysfile.h + * + * Function prototypes + * + * Copyright (C) 2002, 2004 Oracle. All rights reserved. + */ + +#ifndef OCFS2_SYSFILE_H +#define OCFS2_SYSFILE_H + +struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb, + int type, + u32 slot); + +#endif /* OCFS2_SYSFILE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/omfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/omfs/Makefile index 7c365e592d..ae16fc3d34 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/omfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/omfs/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_OMFS_FS) += omfs.o - -omfs-y := bitmap.o dir.o file.o inode.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_OMFS_FS) += omfs.o + +omfs-y := bitmap.o dir.o file.o inode.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/openpromfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/openpromfs/Makefile index 2945dc2c5a..843c270cd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/openpromfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/openpromfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Sun Openprom filesystem routines. -# - -obj-$(CONFIG_SUN_OPENPROMFS) += openpromfs.o - -openpromfs-objs := inode.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Sun Openprom filesystem routines. +# + +obj-$(CONFIG_SUN_OPENPROMFS) += openpromfs.o + +openpromfs-objs := inode.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/Kconfig b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/Kconfig index 4b78c47544..890c0ae9a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/Kconfig @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -config ORANGEFS_FS - tristate "ORANGEFS (Powered by PVFS) support" - select FS_POSIX_ACL - help - Orange is a parallel file system designed for use on high end - computing (HEC) systems. +# SPDX-License-Identifier: GPL-2.0-only +config ORANGEFS_FS + tristate "ORANGEFS (Powered by PVFS) support" + select FS_POSIX_ACL + help + Orange is a parallel file system designed for use on high end + computing (HEC) systems. diff --git a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-debugfs.h b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-debugfs.h index b2d4f1b201..502f6dedcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-debugfs.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-debugfs.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -void orangefs_debugfs_init(int); -void orangefs_debugfs_cleanup(void); -int orangefs_prepare_debugfs_help_string(int); -int orangefs_debugfs_new_client_mask(void __user *); -int orangefs_debugfs_new_client_string(void __user *); -int orangefs_debugfs_new_debug(void __user *); +/* SPDX-License-Identifier: GPL-2.0 */ +void orangefs_debugfs_init(int); +void orangefs_debugfs_cleanup(void); +int orangefs_prepare_debugfs_help_string(int); +int orangefs_debugfs_new_client_mask(void __user *); +int orangefs_debugfs_new_client_string(void __user *); +int orangefs_debugfs_new_debug(void __user *); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-sysfs.h b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-sysfs.h index cdba099764..f0b76382db 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-sysfs.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/orangefs/orangefs-sysfs.h @@ -1,2 +1,2 @@ -extern int orangefs_sysfs_init(void); -extern void orangefs_sysfs_exit(void); +extern int orangefs_sysfs_init(void); +extern void orangefs_sysfs_exit(void); diff --git a/image/debian/UFI003_MB_V02/kernel/fs/overlayfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/overlayfs/Makefile index b555c1acaf..5648954f85 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/overlayfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/overlayfs/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the overlay filesystem. -# - -obj-$(CONFIG_OVERLAY_FS) += overlay.o - -overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \ - copy_up.o export.o params.o xattrs.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the overlay filesystem. +# + +obj-$(CONFIG_OVERLAY_FS) += overlay.o + +overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \ + copy_up.o export.o params.o xattrs.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/qnx4/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/qnx4/Makefile index 3044e8ecf3..42d4fc263a 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/qnx4/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/qnx4/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux qnx4-filesystem routines. -# - -obj-$(CONFIG_QNX4FS_FS) += qnx4.o - -qnx4-objs := inode.o dir.o namei.o bitmap.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux qnx4-filesystem routines. +# + +obj-$(CONFIG_QNX4FS_FS) += qnx4.o + +qnx4-objs := inode.o dir.o namei.o bitmap.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/qnx6/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/qnx6/Makefile index 3446969de0..bd4e6c8efb 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/qnx6/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/qnx6/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux qnx4-filesystem routines. -# - -obj-$(CONFIG_QNX6FS_FS) += qnx6.o - -qnx6-objs := inode.o dir.o namei.o super_mmi.o -ccflags-$(CONFIG_QNX6FS_DEBUG) += -DDEBUG +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux qnx4-filesystem routines. +# + +obj-$(CONFIG_QNX6FS_FS) += qnx6.o + +qnx6-objs := inode.o dir.o namei.o super_mmi.o +ccflags-$(CONFIG_QNX6FS_DEBUG) += -DDEBUG diff --git a/image/debian/UFI003_MB_V02/kernel/fs/quota/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/quota/Makefile index c2059f4072..9160639daf 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/quota/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/quota/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_QUOTA) += dquot.o -obj-$(CONFIG_QFMT_V1) += quota_v1.o -obj-$(CONFIG_QFMT_V2) += quota_v2.o -obj-$(CONFIG_QUOTA_TREE) += quota_tree.o -obj-$(CONFIG_QUOTACTL) += quota.o kqid.o -obj-$(CONFIG_QUOTA_NETLINK_INTERFACE) += netlink.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_QUOTA) += dquot.o +obj-$(CONFIG_QFMT_V1) += quota_v1.o +obj-$(CONFIG_QFMT_V2) += quota_v2.o +obj-$(CONFIG_QUOTA_TREE) += quota_tree.o +obj-$(CONFIG_QUOTACTL) += quota.o kqid.o +obj-$(CONFIG_QUOTA_NETLINK_INTERFACE) += netlink.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ramfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ramfs/Makefile index 6550602553..d1198adb56 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ramfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ramfs/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux ramfs routines. -# - -obj-y += ramfs.o - -file-mmu-y := file-nommu.o -file-mmu-$(CONFIG_MMU) := file-mmu.o -ramfs-objs += inode.o $(file-mmu-y) +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux ramfs routines. +# + +obj-y += ramfs.o + +file-mmu-y := file-nommu.o +file-mmu-$(CONFIG_MMU) := file-mmu.o +ramfs-objs += inode.o $(file-mmu-y) diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ramfs/internal.h b/image/debian/UFI003_MB_V02/kernel/fs/ramfs/internal.h index 0af529d49e..3257fc1809 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ramfs/internal.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/ramfs/internal.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* internal.h: ramfs internal definitions - * - * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - */ - - -extern const struct inode_operations ramfs_file_inode_operations; +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* internal.h: ramfs internal definitions + * + * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. + * Written by David Howells (dhowells@redhat.com) + */ + + +extern const struct inode_operations ramfs_file_inode_operations; diff --git a/image/debian/UFI003_MB_V02/kernel/fs/romfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/romfs/Makefile index fa3a8e2845..844928f157 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/romfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/romfs/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux RomFS filesystem routines. -# - -obj-$(CONFIG_ROMFS_FS) += romfs.o - -romfs-y := storage.o super.o - -ifneq ($(CONFIG_MMU),y) -romfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o -endif - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux RomFS filesystem routines. +# + +obj-$(CONFIG_ROMFS_FS) += romfs.o + +romfs-y := storage.o super.o + +ifneq ($(CONFIG_MMU),y) +romfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o +endif + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/smb/Kconfig b/image/debian/UFI003_MB_V02/kernel/fs/smb/Kconfig index 95c63737c0..ef425789fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/smb/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/smb/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# smbfs configuration - -source "fs/smb/client/Kconfig" -source "fs/smb/server/Kconfig" - -config SMBFS - tristate - default y if CIFS=y || SMB_SERVER=y - default m if CIFS=m || SMB_SERVER=m +# SPDX-License-Identifier: GPL-2.0-only +# +# smbfs configuration + +source "fs/smb/client/Kconfig" +source "fs/smb/server/Kconfig" + +config SMBFS + tristate + default y if CIFS=y || SMB_SERVER=y + default m if CIFS=m || SMB_SERVER=m diff --git a/image/debian/UFI003_MB_V02/kernel/fs/smb/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/smb/Makefile index e41606a190..9a1bf59a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/smb/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/smb/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_SMBFS) += common/ -obj-$(CONFIG_CIFS) += client/ -obj-$(CONFIG_SMB_SERVER) += server/ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_SMBFS) += common/ +obj-$(CONFIG_CIFS) += client/ +obj-$(CONFIG_SMB_SERVER) += server/ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/smb/client/netlink.h b/image/debian/UFI003_MB_V02/kernel/fs/smb/client/netlink.h index 3fa6497213..e2fa8ed24c 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/smb/client/netlink.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/smb/client/netlink.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Netlink routines for CIFS - * - * Copyright (c) 2020 Samuel Cabrero - */ - -#ifndef _CIFS_NETLINK_H -#define _CIFS_NETLINK_H - -extern struct genl_family cifs_genl_family; - -extern int cifs_genl_init(void); -extern void cifs_genl_exit(void); - -#endif /* _CIFS_NETLINK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Netlink routines for CIFS + * + * Copyright (c) 2020 Samuel Cabrero + */ + +#ifndef _CIFS_NETLINK_H +#define _CIFS_NETLINK_H + +extern struct genl_family cifs_genl_family; + +extern int cifs_genl_init(void); +extern void cifs_genl_exit(void); + +#endif /* _CIFS_NETLINK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/smb/client/trace.c b/image/debian/UFI003_MB_V02/kernel/fs/smb/client/trace.c index b49093aeae..4654837871 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/smb/client/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/fs/smb/client/trace.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2018, Microsoft Corporation. - * - * Author(s): Steve French - */ -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2018, Microsoft Corporation. + * + * Author(s): Steve French + */ +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/fs/smb/common/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/smb/common/Makefile index 4a32e5fd1b..c66dbbc146 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/smb/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/smb/common/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Linux filesystem routines that are shared by client and server. -# - -obj-$(CONFIG_SMBFS) += cifs_arc4.o -obj-$(CONFIG_SMBFS) += cifs_md4.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Linux filesystem routines that are shared by client and server. +# + +obj-$(CONFIG_SMBFS) += cifs_arc4.o +obj-$(CONFIG_SMBFS) += cifs_md4.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/sysfs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/sysfs/Makefile index f094147e76..0906b9e522 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/sysfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/sysfs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the sysfs virtual filesystem -# - -obj-y := file.o dir.o symlink.o mount.o group.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the sysfs virtual filesystem +# + +obj-y := file.o dir.o symlink.o mount.o group.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/sysv/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/sysv/Makefile index 8477d2ba9e..17d12ba04b 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/sysv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/sysv/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux SystemV/Coherent filesystem routines. -# - -obj-$(CONFIG_SYSV_FS) += sysv.o - -sysv-objs := ialloc.o balloc.o inode.o itree.o file.o dir.o \ - namei.o super.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux SystemV/Coherent filesystem routines. +# + +obj-$(CONFIG_SYSV_FS) += sysv.o + +sysv-objs := ialloc.o balloc.o inode.o itree.o file.o dir.o \ + namei.o super.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/tracefs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/tracefs/Makefile index 1cd0cdbcc6..73c56da8e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/tracefs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/tracefs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -tracefs-objs := inode.o -tracefs-objs += event_inode.o - -obj-$(CONFIG_TRACING) += tracefs.o - +# SPDX-License-Identifier: GPL-2.0-only +tracefs-objs := inode.o +tracefs-objs += event_inode.o + +obj-$(CONFIG_TRACING) += tracefs.o + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/udf/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/udf/Makefile index e9bd43c3fc..63981cd333 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/udf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/udf/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux udf-filesystem routines. -# - -obj-$(CONFIG_UDF_FS) += udf.o - -udf-objs := balloc.o dir.o file.o ialloc.o inode.o lowlevel.o namei.o \ - partition.o super.o truncate.o symlink.o \ - directory.o misc.o udftime.o unicode.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux udf-filesystem routines. +# + +obj-$(CONFIG_UDF_FS) += udf.o + +udf-objs := balloc.o dir.o file.o ialloc.o inode.o lowlevel.o namei.o \ + partition.o super.o truncate.o symlink.o \ + directory.o misc.o udftime.o unicode.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/ufs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/ufs/Makefile index 146460c0c8..042344c85b 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/ufs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/ufs/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux ufs filesystem routines. -# - -obj-$(CONFIG_UFS_FS) += ufs.o - -ufs-objs := balloc.o cylinder.o dir.o file.o ialloc.o inode.o \ - namei.o super.o util.o -ccflags-$(CONFIG_UFS_DEBUG) += -DDEBUG +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux ufs filesystem routines. +# + +obj-$(CONFIG_UFS_FS) += ufs.o + +ufs-objs := balloc.o cylinder.o dir.o file.o ialloc.o inode.o \ + namei.o super.o util.o +ccflags-$(CONFIG_UFS_DEBUG) += -DDEBUG diff --git a/image/debian/UFI003_MB_V02/kernel/fs/vboxsf/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/vboxsf/Makefile index ee901b84f0..9e4328e796 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/vboxsf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/vboxsf/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: MIT - -obj-$(CONFIG_VBOXSF_FS) += vboxsf.o - -vboxsf-y := dir.o file.o utils.o vboxsf_wrappers.o super.o +# SPDX-License-Identifier: MIT + +obj-$(CONFIG_VBOXSF_FS) += vboxsf.o + +vboxsf-y := dir.o file.o utils.o vboxsf_wrappers.o super.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/verity/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/verity/Makefile index f524457885..435559a4fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/verity/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/verity/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_FS_VERITY) += enable.o \ - hash_algs.o \ - init.o \ - measure.o \ - open.o \ - read_metadata.o \ - verify.o - -obj-$(CONFIG_FS_VERITY_BUILTIN_SIGNATURES) += signature.o +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_FS_VERITY) += enable.o \ + hash_algs.o \ + init.o \ + measure.o \ + open.o \ + read_metadata.o \ + verify.o + +obj-$(CONFIG_FS_VERITY_BUILTIN_SIGNATURES) += signature.o diff --git a/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_dahash_test.h b/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_dahash_test.h index 4ddda8e042..1a05bf4bd9 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_dahash_test.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_dahash_test.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2023 Oracle. All Rights Reserved. - * Author: Darrick J. Wong - */ -#ifndef __XFS_DAHASH_TEST_H__ -#define __XFS_DAHASH_TEST_H__ - -int xfs_dahash_test(void); - -#endif /* __XFS_DAHASH_TEST_H__ */ - +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2023 Oracle. All Rights Reserved. + * Author: Darrick J. Wong + */ +#ifndef __XFS_DAHASH_TEST_H__ +#define __XFS_DAHASH_TEST_H__ + +int xfs_dahash_test(void); + +#endif /* __XFS_DAHASH_TEST_H__ */ + diff --git a/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_discard.h b/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_discard.h index a0d14b0923..2b1a85223a 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_discard.h +++ b/image/debian/UFI003_MB_V02/kernel/fs/xfs/xfs_discard.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef XFS_DISCARD_H -#define XFS_DISCARD_H 1 - -struct fstrim_range; -struct xfs_mount; -struct xfs_busy_extents; - -int xfs_discard_extents(struct xfs_mount *mp, struct xfs_busy_extents *busy); -int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim); - -#endif /* XFS_DISCARD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef XFS_DISCARD_H +#define XFS_DISCARD_H 1 + +struct fstrim_range; +struct xfs_mount; +struct xfs_busy_extents; + +int xfs_discard_extents(struct xfs_mount *mp, struct xfs_busy_extents *busy); +int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim); + +#endif /* XFS_DISCARD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Kconfig b/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Kconfig index 9f912ea2b0..827278f937 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Kconfig @@ -1,11 +1,11 @@ -config ZONEFS_FS - tristate "zonefs filesystem support" - depends on BLOCK - depends on BLK_DEV_ZONED - select FS_IOMAP - select CRC32 - help - zonefs is a simple file system which exposes zones of a zoned block - device (e.g. host-managed or host-aware SMR disk drives) as files. - - If unsure, say N. +config ZONEFS_FS + tristate "zonefs filesystem support" + depends on BLOCK + depends on BLK_DEV_ZONED + select FS_IOMAP + select CRC32 + help + zonefs is a simple file system which exposes zones of a zoned block + device (e.g. host-managed or host-aware SMR disk drives) as files. + + If unsure, say N. diff --git a/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Makefile b/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Makefile index 34165d1f46..645f7229de 100644 --- a/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/fs/zonefs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y += -I$(src) - -obj-$(CONFIG_ZONEFS_FS) += zonefs.o - -zonefs-y := super.o file.o sysfs.o +# SPDX-License-Identifier: GPL-2.0 +ccflags-y += -I$(src) + +obj-$(CONFIG_ZONEFS_FS) += zonefs.o + +zonefs-y := super.o file.o sysfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/include/acpi/reboot.h b/image/debian/UFI003_MB_V02/kernel/include/acpi/reboot.h index 1f403b68e7..14122fc55b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/acpi/reboot.h +++ b/image/debian/UFI003_MB_V02/kernel/include/acpi/reboot.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ACPI_REBOOT_H -#define __ACPI_REBOOT_H - -#ifdef CONFIG_ACPI -extern void acpi_reboot(void); -#else -static inline void acpi_reboot(void) { } -#endif - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ACPI_REBOOT_H +#define __ACPI_REBOOT_H + +#ifdef CONFIG_ACPI +extern void acpi_reboot(void); +#else +static inline void acpi_reboot(void) { } +#endif + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/agp.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/agp.h index 63cb11e8d3..10db92ede1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/agp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/agp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_AGP_H -#define _ASM_GENERIC_AGP_H - -#include - -#define map_page_into_agp(page) do {} while (0) -#define unmap_page_from_agp(page) do {} while (0) -#define flush_agp_cache() mb() - -#endif /* _ASM_GENERIC_AGP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_AGP_H +#define _ASM_GENERIC_AGP_H + +#include + +#define map_page_into_agp(page) do {} while (0) +#define unmap_page_from_agp(page) do {} while (0) +#define flush_agp_cache() mb() + +#endif /* _ASM_GENERIC_AGP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/archrandom.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/archrandom.h index 1afab5c6e0..3cd7f980cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/archrandom.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/archrandom.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_ARCHRANDOM_H__ -#define __ASM_GENERIC_ARCHRANDOM_H__ - -static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) -{ - return 0; -} - -static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) -{ - return 0; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_ARCHRANDOM_H__ +#define __ASM_GENERIC_ARCHRANDOM_H__ + +static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) +{ + return 0; +} + +static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) +{ + return 0; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/audit_read.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/audit_read.h index e382450870..7bb7b5a83a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/audit_read.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/audit_read.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __NR_readlink -__NR_readlink, -#endif -__NR_quotactl, -__NR_listxattr, -__NR_llistxattr, -__NR_flistxattr, -__NR_getxattr, -__NR_lgetxattr, -__NR_fgetxattr, -#ifdef __NR_readlinkat -__NR_readlinkat, -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __NR_readlink +__NR_readlink, +#endif +__NR_quotactl, +__NR_listxattr, +__NR_llistxattr, +__NR_flistxattr, +__NR_getxattr, +__NR_lgetxattr, +__NR_fgetxattr, +#ifdef __NR_readlinkat +__NR_readlinkat, +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/ffz.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/ffz.h index 0cb5b341ac..0d010085fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/ffz.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/ffz.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_BITOPS_FFZ_H_ -#define _ASM_GENERIC_BITOPS_FFZ_H_ - -/* - * ffz - find first zero in word. - * @word: The word to search - * - * Undefined if no zero exists, so code should check against ~0UL first. - */ -#define ffz(x) __ffs(~(x)) - -#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_BITOPS_FFZ_H_ +#define _ASM_GENERIC_BITOPS_FFZ_H_ + +/* + * ffz - find first zero in word. + * @word: The word to search + * + * Undefined if no zero exists, so code should check against ~0UL first. + */ +#define ffz(x) __ffs(~(x)) + +#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/hweight.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/hweight.h index 679f9dcfd3..6bf1bba835 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/hweight.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/bitops/hweight.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_ -#define _ASM_GENERIC_BITOPS_HWEIGHT_H_ - -#include -#include - -#endif /* _ASM_GENERIC_BITOPS_HWEIGHT_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_ +#define _ASM_GENERIC_BITOPS_HWEIGHT_H_ + +#include +#include + +#endif /* _ASM_GENERIC_BITOPS_HWEIGHT_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/cfi.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/cfi.h index 9c3603dd1f..41fac3537b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/cfi.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/cfi.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_CFI_H -#define __ASM_GENERIC_CFI_H - -#endif /* __ASM_GENERIC_CFI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_CFI_H +#define __ASM_GENERIC_CFI_H + +#endif /* __ASM_GENERIC_CFI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/current.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/current.h index e585f7839d..9c2aeecbd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/current.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/current.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_CURRENT_H -#define __ASM_GENERIC_CURRENT_H - -#ifndef __ASSEMBLY__ -#include - -#define get_current() (current_thread_info()->task) -#define current get_current() -#endif - -#endif /* __ASM_GENERIC_CURRENT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_CURRENT_H +#define __ASM_GENERIC_CURRENT_H + +#ifndef __ASSEMBLY__ +#include + +#define get_current() (current_thread_info()->task) +#define current get_current() +#endif + +#endif /* __ASM_GENERIC_CURRENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/device.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/device.h index ade19d9739..974517cdf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/device.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/device.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Arch specific extensions to struct device - */ -#ifndef _ASM_GENERIC_DEVICE_H -#define _ASM_GENERIC_DEVICE_H - -struct dev_archdata { -}; - -struct pdev_archdata { -}; - -#endif /* _ASM_GENERIC_DEVICE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Arch specific extensions to struct device + */ +#ifndef _ASM_GENERIC_DEVICE_H +#define _ASM_GENERIC_DEVICE_H + +struct dev_archdata { +}; + +struct pdev_archdata { +}; + +#endif /* _ASM_GENERIC_DEVICE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/dma-mapping.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/dma-mapping.h index 028418f395..46a0016efd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/dma-mapping.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/dma-mapping.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_DMA_MAPPING_H -#define _ASM_GENERIC_DMA_MAPPING_H - -static inline const struct dma_map_ops *get_arch_dma_ops(void) -{ - return NULL; -} - -#endif /* _ASM_GENERIC_DMA_MAPPING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_DMA_MAPPING_H +#define _ASM_GENERIC_DMA_MAPPING_H + +static inline const struct dma_map_ops *get_arch_dma_ops(void) +{ + return NULL; +} + +#endif /* _ASM_GENERIC_DMA_MAPPING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/emergency-restart.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/emergency-restart.h index d730ff6b9b..445de38b79 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/emergency-restart.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/emergency-restart.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_EMERGENCY_RESTART_H -#define _ASM_GENERIC_EMERGENCY_RESTART_H - -static inline void machine_emergency_restart(void) -{ - machine_restart(NULL); -} - -#endif /* _ASM_GENERIC_EMERGENCY_RESTART_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_EMERGENCY_RESTART_H +#define _ASM_GENERIC_EMERGENCY_RESTART_H + +static inline void machine_emergency_restart(void) +{ + machine_restart(NULL); +} + +#endif /* _ASM_GENERIC_EMERGENCY_RESTART_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/ftrace.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/ftrace.h index 1495a8903f..3a23028d69 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/ftrace.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/ftrace.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/include/asm-generic/ftrace.h - */ -#ifndef __ASM_GENERIC_FTRACE_H__ -#define __ASM_GENERIC_FTRACE_H__ - -/* - * Not all architectures need their own ftrace.h, the most - * common definitions are already in linux/ftrace.h. - */ - -#endif /* __ASM_GENERIC_FTRACE_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/include/asm-generic/ftrace.h + */ +#ifndef __ASM_GENERIC_FTRACE_H__ +#define __ASM_GENERIC_FTRACE_H__ + +/* + * Not all architectures need their own ftrace.h, the most + * common definitions are already in linux/ftrace.h. + */ + +#endif /* __ASM_GENERIC_FTRACE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/hw_irq.h index 570e7c6f3e..89036d7b40 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/hw_irq.h @@ -1,9 +1,9 @@ -#ifndef __ASM_GENERIC_HW_IRQ_H -#define __ASM_GENERIC_HW_IRQ_H -/* - * hw_irq.h has internal declarations for the low-level interrupt - * controller, like the original i8259A. - * In general, this is not needed for new architectures. - */ - -#endif /* __ASM_GENERIC_HW_IRQ_H */ +#ifndef __ASM_GENERIC_HW_IRQ_H +#define __ASM_GENERIC_HW_IRQ_H +/* + * hw_irq.h has internal declarations for the low-level interrupt + * controller, like the original i8259A. + * In general, this is not needed for new architectures. + */ + +#endif /* __ASM_GENERIC_HW_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/irq_work.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/irq_work.h index ea3cede76c..d5dce06f74 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/irq_work.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/irq_work.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IRQ_WORK_H -#define __ASM_IRQ_WORK_H - -static inline bool arch_irq_work_has_interrupt(void) -{ - return false; -} - -#endif /* __ASM_IRQ_WORK_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IRQ_WORK_H +#define __ASM_IRQ_WORK_H + +static inline bool arch_irq_work_has_interrupt(void) +{ + return false; +} + +#endif /* __ASM_IRQ_WORK_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kdebug.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kdebug.h index 8639810277..2b10b31b02 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kdebug.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_KDEBUG_H -#define _ASM_GENERIC_KDEBUG_H - -enum die_val { - DIE_UNUSED, - DIE_OOPS = 1, -}; - -#endif /* _ASM_GENERIC_KDEBUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_KDEBUG_H +#define _ASM_GENERIC_KDEBUG_H + +enum die_val { + DIE_UNUSED, + DIE_OOPS = 1, +}; + +#endif /* _ASM_GENERIC_KDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kmap_size.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kmap_size.h index 75bf8a137b..6e36b2443e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kmap_size.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kmap_size.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_KMAP_SIZE_H -#define _ASM_GENERIC_KMAP_SIZE_H - -/* For debug this provides guard pages between the maps */ -#ifdef CONFIG_DEBUG_KMAP_LOCAL -# define KM_MAX_IDX 33 -#else -# define KM_MAX_IDX 16 -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_KMAP_SIZE_H +#define _ASM_GENERIC_KMAP_SIZE_H + +/* For debug this provides guard pages between the maps */ +#ifdef CONFIG_DEBUG_KMAP_LOCAL +# define KM_MAX_IDX 33 +#else +# define KM_MAX_IDX 16 +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kvm_types.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kvm_types.h index 55e5aa0036..2a82daf110 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kvm_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/kvm_types.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_KVM_TYPES_H -#define _ASM_GENERIC_KVM_TYPES_H - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_KVM_TYPES_H +#define _ASM_GENERIC_KVM_TYPES_H + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/linkage.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/linkage.h index 25c46b0986..fef7a01e54 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/linkage.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_LINKAGE_H -#define __ASM_GENERIC_LINKAGE_H -/* - * linux/linkage.h provides reasonable defaults. - * an architecture can override them by providing its own version. - */ - -#endif /* __ASM_GENERIC_LINKAGE_H */ +#ifndef __ASM_GENERIC_LINKAGE_H +#define __ASM_GENERIC_LINKAGE_H +/* + * linux/linkage.h provides reasonable defaults. + * an architecture can override them by providing its own version. + */ + +#endif /* __ASM_GENERIC_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mcs_spinlock.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mcs_spinlock.h index 35595eedb2..10cd4ffc6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mcs_spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mcs_spinlock.h @@ -1,13 +1,13 @@ -#ifndef __ASM_MCS_SPINLOCK_H -#define __ASM_MCS_SPINLOCK_H - -/* - * Architectures can define their own: - * - * arch_mcs_spin_lock_contended(l) - * arch_mcs_spin_unlock_contended(l) - * - * See kernel/locking/mcs_spinlock.c. - */ - -#endif /* __ASM_MCS_SPINLOCK_H */ +#ifndef __ASM_MCS_SPINLOCK_H +#define __ASM_MCS_SPINLOCK_H + +/* + * Architectures can define their own: + * + * arch_mcs_spin_lock_contended(l) + * arch_mcs_spin_unlock_contended(l) + * + * See kernel/locking/mcs_spinlock.c. + */ + +#endif /* __ASM_MCS_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmiowb_types.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmiowb_types.h index 8185645158..8eb0095655 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmiowb_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmiowb_types.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_MMIOWB_TYPES_H -#define __ASM_GENERIC_MMIOWB_TYPES_H - -#include - -struct mmiowb_state { - u16 nesting_count; - u16 mmiowb_pending; -}; - -#endif /* __ASM_GENERIC_MMIOWB_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_MMIOWB_TYPES_H +#define __ASM_GENERIC_MMIOWB_TYPES_H + +#include + +struct mmiowb_state { + u16 nesting_count; + u16 mmiowb_pending; +}; + +#endif /* __ASM_GENERIC_MMIOWB_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmzone.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmzone.h index da7ba00bba..2ab5193e83 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/mmzone.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_MMZONE_H -#define _ASM_GENERIC_MMZONE_H - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_GENERIC_MMZONE_H +#define _ASM_GENERIC_MMZONE_H + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/module.lds.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/module.lds.h index 9680b0fda4..f210d5c1b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/module.lds.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_MODULE_LDS_H -#define __ASM_GENERIC_MODULE_LDS_H - -/* - * can specify arch-specific sections for linking modules. - * Empty for the asm-generic header. - */ - -#endif /* __ASM_GENERIC_MODULE_LDS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_MODULE_LDS_H +#define __ASM_GENERIC_MODULE_LDS_H + +/* + * can specify arch-specific sections for linking modules. + * Empty for the asm-generic header. + */ + +#endif /* __ASM_GENERIC_MODULE_LDS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/serial.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/serial.h index 4e83e3bc73..ca9f7b6be3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/serial.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_SERIAL_H -#define __ASM_GENERIC_SERIAL_H - -/* - * This should not be an architecture specific #define, oh well. - * - * Traditionally, it just describes i8250 and related serial ports - * that have this clock rate. - */ - -#define BASE_BAUD (1843200 / 16) - -#endif /* __ASM_GENERIC_SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_SERIAL_H +#define __ASM_GENERIC_SERIAL_H + +/* + * This should not be an architecture specific #define, oh well. + * + * Traditionally, it just describes i8250 and related serial ports + * that have this clock rate. + */ + +#define BASE_BAUD (1843200 / 16) + +#endif /* __ASM_GENERIC_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/shmparam.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/shmparam.h index 90383d2aaa..b8f9035ffc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/shmparam.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_SHMPARAM_H -#define __ASM_GENERIC_SHMPARAM_H - -#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ - -#endif /* _ASM_GENERIC_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_SHMPARAM_H +#define __ASM_GENERIC_SHMPARAM_H + +#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ + +#endif /* _ASM_GENERIC_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/signal.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/signal.h index 9245dc30c5..663dd6d079 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/signal.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_GENERIC_SIGNAL_H -#define __ASM_GENERIC_SIGNAL_H - -#include - -#ifndef __ASSEMBLY__ - -#include -#undef __HAVE_ARCH_SIG_BITOPS - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_GENERIC_SIGNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_GENERIC_SIGNAL_H +#define __ASM_GENERIC_SIGNAL_H + +#include + +#ifndef __ASSEMBLY__ + +#include +#undef __HAVE_ARCH_SIG_BITOPS + +#endif /* __ASSEMBLY__ */ +#endif /* _ASM_GENERIC_SIGNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/softirq_stack.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/softirq_stack.h index decafac2a6..2a67aed9ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/softirq_stack.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/softirq_stack.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ASM_GENERIC_SOFTIRQ_STACK_H -#define __ASM_GENERIC_SOFTIRQ_STACK_H - -#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK -void do_softirq_own_stack(void); -#else -static inline void do_softirq_own_stack(void) -{ - __do_softirq(); -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_GENERIC_SOFTIRQ_STACK_H +#define __ASM_GENERIC_SOFTIRQ_STACK_H + +#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK +void do_softirq_own_stack(void); +#else +static inline void do_softirq_own_stack(void) +{ + __do_softirq(); +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/statfs.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/statfs.h index d6b50349dc..f88dcd8ed9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/statfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/statfs.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _GENERIC_STATFS_H -#define _GENERIC_STATFS_H - -#include - -typedef __kernel_fsid_t fsid_t; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _GENERIC_STATFS_H +#define _GENERIC_STATFS_H + +#include + +typedef __kernel_fsid_t fsid_t; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/string.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/string.h index cb73389a65..de5e020145 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/string.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/string.h @@ -1,10 +1,10 @@ -#ifndef __ASM_GENERIC_STRING_H -#define __ASM_GENERIC_STRING_H -/* - * The kernel provides all required functions in lib/string.c - * - * Architectures probably want to provide at least their own optimized - * memcpy and memset functions though. - */ - -#endif /* __ASM_GENERIC_STRING_H */ +#ifndef __ASM_GENERIC_STRING_H +#define __ASM_GENERIC_STRING_H +/* + * The kernel provides all required functions in lib/string.c + * + * Architectures probably want to provide at least their own optimized + * memcpy and memset functions though. + */ + +#endif /* __ASM_GENERIC_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/user.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/user.h index ab388f7603..35638c3470 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/user.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/user.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_USER_H -#define __ASM_GENERIC_USER_H -/* - * This file may define a 'struct user' structure. However, it is only - * used for a.out files, which are not supported on new architectures. - */ - -#endif /* __ASM_GENERIC_USER_H */ +#ifndef __ASM_GENERIC_USER_H +#define __ASM_GENERIC_USER_H +/* + * This file may define a 'struct user' structure. However, it is only + * used for a.out files, which are not supported on new architectures. + */ + +#endif /* __ASM_GENERIC_USER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/vermagic.h b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/vermagic.h index c951efb860..084274a121 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/asm-generic/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/include/asm-generic/vermagic.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_GENERIC_VERMAGIC_H -#define _ASM_GENERIC_VERMAGIC_H - -#define MODULE_ARCH_VERMAGIC "" - -#endif /* _ASM_GENERIC_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_GENERIC_VERMAGIC_H +#define _ASM_GENERIC_VERMAGIC_H + +#define MODULE_ARCH_VERMAGIC "" + +#endif /* _ASM_GENERIC_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/clocksource/pxa.h b/image/debian/UFI003_MB_V02/kernel/include/clocksource/pxa.h index 3e5beee1b4..0cfe7b9fdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/clocksource/pxa.h +++ b/image/debian/UFI003_MB_V02/kernel/include/clocksource/pxa.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * PXA clocksource, clockevents, and OST interrupt handlers. - * - * Copyright (C) 2014 Robert Jarzmik - */ - -#ifndef _CLOCKSOURCE_PXA_H -#define _CLOCKSOURCE_PXA_H - -extern void pxa_timer_nodt_init(int irq, void __iomem *base); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * PXA clocksource, clockevents, and OST interrupt handlers. + * + * Copyright (C) 2014 Robert Jarzmik + */ + +#ifndef _CLOCKSOURCE_PXA_H +#define _CLOCKSOURCE_PXA_H + +extern void pxa_timer_nodt_init(int irq, void __iomem *base); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/clocksource/timer-riscv.h b/image/debian/UFI003_MB_V02/kernel/include/clocksource/timer-riscv.h index b6223fa147..d7f455754e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/clocksource/timer-riscv.h +++ b/image/debian/UFI003_MB_V02/kernel/include/clocksource/timer-riscv.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2019 Western Digital Corporation or its affiliates. - * - * Authors: - * Atish Patra - */ - -#ifndef __TIMER_RISCV_H -#define __TIMER_RISCV_H - -#include - -extern void riscv_cs_get_mult_shift(u32 *mult, u32 *shift); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2019 Western Digital Corporation or its affiliates. + * + * Authors: + * Atish Patra + */ + +#ifndef __TIMER_RISCV_H +#define __TIMER_RISCV_H + +#include + +extern void riscv_cs_get_mult_shift(u32 *mult, u32 *shift); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/crypto/cast_common.h b/image/debian/UFI003_MB_V02/kernel/include/crypto/cast_common.h index 7c1e426949..b900902441 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/crypto/cast_common.h +++ b/image/debian/UFI003_MB_V02/kernel/include/crypto/cast_common.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CRYPTO_CAST_COMMON_H -#define _CRYPTO_CAST_COMMON_H - -extern const u32 cast_s1[256]; -extern const u32 cast_s2[256]; -extern const u32 cast_s3[256]; -extern const u32 cast_s4[256]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CRYPTO_CAST_COMMON_H +#define _CRYPTO_CAST_COMMON_H + +extern const u32 cast_s1[256]; +extern const u32 cast_s2[256]; +extern const u32 cast_s3[256]; +extern const u32 cast_s4[256]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/crypto/hmac.h b/image/debian/UFI003_MB_V02/kernel/include/crypto/hmac.h index 484f751aaa..66774132a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/crypto/hmac.h +++ b/image/debian/UFI003_MB_V02/kernel/include/crypto/hmac.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CRYPTO_HMAC_H -#define _CRYPTO_HMAC_H - -#define HMAC_IPAD_VALUE 0x36 -#define HMAC_OPAD_VALUE 0x5c - -#endif /* _CRYPTO_HMAC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CRYPTO_HMAC_H +#define _CRYPTO_HMAC_H + +#define HMAC_IPAD_VALUE 0x36 +#define HMAC_OPAD_VALUE 0x5c + +#endif /* _CRYPTO_HMAC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/crypto/null.h b/image/debian/UFI003_MB_V02/kernel/include/crypto/null.h index 3ab69e8d5e..0ef577cc00 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/crypto/null.h +++ b/image/debian/UFI003_MB_V02/kernel/include/crypto/null.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Values for NULL algorithms */ - -#ifndef _CRYPTO_NULL_H -#define _CRYPTO_NULL_H - -#define NULL_KEY_SIZE 0 -#define NULL_BLOCK_SIZE 1 -#define NULL_DIGEST_SIZE 0 -#define NULL_IV_SIZE 0 - -struct crypto_sync_skcipher *crypto_get_default_null_skcipher(void); -void crypto_put_default_null_skcipher(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* Values for NULL algorithms */ + +#ifndef _CRYPTO_NULL_H +#define _CRYPTO_NULL_H + +#define NULL_KEY_SIZE 0 +#define NULL_BLOCK_SIZE 1 +#define NULL_DIGEST_SIZE 0 +#define NULL_IV_SIZE 0 + +struct crypto_sync_skcipher *crypto_get_default_null_skcipher(void); +void crypto_put_default_null_skcipher(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/drm/drm_fbdev_shmem.h b/image/debian/UFI003_MB_V02/kernel/include/drm/drm_fbdev_shmem.h index 0c6ba3f7a6..fb43cadd19 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/drm/drm_fbdev_shmem.h +++ b/image/debian/UFI003_MB_V02/kernel/include/drm/drm_fbdev_shmem.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: MIT */ - -#ifndef DRM_FBDEV_SHMEM_H -#define DRM_FBDEV_SHMEM_H - -struct drm_device; - -#ifdef CONFIG_DRM_FBDEV_EMULATION -void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp); -#else -static inline void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp) -{ } -#endif - -#endif +/* SPDX-License-Identifier: MIT */ + +#ifndef DRM_FBDEV_SHMEM_H +#define DRM_FBDEV_SHMEM_H + +struct drm_device; + +#ifdef CONFIG_DRM_FBDEV_EMULATION +void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp); +#else +static inline void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp) +{ } +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/mhuv3-dt.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/mhuv3-dt.h index e7631d6e62..4575406919 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/mhuv3-dt.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/mhuv3-dt.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -/* - * This header provides constants for the defined MHUv3 types. - */ - -#ifndef _DT_BINDINGS_ARM_MHUV3_DT_H -#define _DT_BINDINGS_ARM_MHUV3_DT_H - -#define DBE_EXT 0 -#define FCE_EXT 1 -#define FE_EXT 2 - -#endif /* _DT_BINDINGS_ARM_MHUV3_DT_H */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * This header provides constants for the defined MHUv3 types. + */ + +#ifndef _DT_BINDINGS_ARM_MHUV3_DT_H +#define _DT_BINDINGS_ARM_MHUV3_DT_H + +#define DBE_EXT 0 +#define FCE_EXT 1 +#define FE_EXT 2 + +#endif /* _DT_BINDINGS_ARM_MHUV3_DT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/ux500_pm_domains.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/ux500_pm_domains.h index 75d4b2ad17..9bd764f0c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/ux500_pm_domains.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/arm/ux500_pm_domains.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Linaro Ltd. - * - * Author: Ulf Hansson - */ -#ifndef _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H -#define _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H - -#define DOMAIN_VAPE 0 - -/* Number of PM domains. */ -#define NR_DOMAINS (DOMAIN_VAPE + 1) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014 Linaro Ltd. + * + * Author: Ulf Hansson + */ +#ifndef _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H +#define _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H + +#define DOMAIN_VAPE 0 + +/* Number of PM domains. */ +#define NR_DOMAINS (DOMAIN_VAPE + 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/bcm2835-aux.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/bcm2835-aux.h index 5526f8a248..bb79de383a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/bcm2835-aux.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/bcm2835-aux.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2015 Broadcom Corporation - */ - -#define BCM2835_AUX_CLOCK_UART 0 -#define BCM2835_AUX_CLOCK_SPI1 1 -#define BCM2835_AUX_CLOCK_SPI2 2 -#define BCM2835_AUX_CLOCK_COUNT 3 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2015 Broadcom Corporation + */ + +#define BCM2835_AUX_CLOCK_UART 0 +#define BCM2835_AUX_CLOCK_SPI1 1 +#define BCM2835_AUX_CLOCK_SPI2 2 +#define BCM2835_AUX_CLOCK_COUNT 3 diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/boston-clock.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/boston-clock.h index d838b62018..38140fa87b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/boston-clock.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/boston-clock.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2016 Imagination Technologies - */ - -#ifndef __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ -#define __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ - -#define BOSTON_CLK_INPUT 0 -#define BOSTON_CLK_SYS 1 -#define BOSTON_CLK_CPU 2 - -#endif /* __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2016 Imagination Technologies + */ + +#ifndef __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ +#define __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ + +#define BOSTON_CLK_INPUT 0 +#define BOSTON_CLK_SYS 1 +#define BOSTON_CLK_CPU 2 + +#endif /* __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/imx8-lpcg.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/imx8-lpcg.h index 1867fcddce..d202715652 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/imx8-lpcg.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/imx8-lpcg.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2019-2020 NXP - * Dong Aisheng - */ - -#define IMX_LPCG_CLK_0 0 -#define IMX_LPCG_CLK_1 4 -#define IMX_LPCG_CLK_2 8 -#define IMX_LPCG_CLK_3 12 -#define IMX_LPCG_CLK_4 16 -#define IMX_LPCG_CLK_5 20 -#define IMX_LPCG_CLK_6 24 -#define IMX_LPCG_CLK_7 28 +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2019-2020 NXP + * Dong Aisheng + */ + +#define IMX_LPCG_CLK_0 0 +#define IMX_LPCG_CLK_1 4 +#define IMX_LPCG_CLK_2 8 +#define IMX_LPCG_CLK_3 12 +#define IMX_LPCG_CLK_4 16 +#define IMX_LPCG_CLK_5 20 +#define IMX_LPCG_CLK_6 24 +#define IMX_LPCG_CLK_7 28 diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/marvell,mmp2-audio.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/marvell,mmp2-audio.h index 59996bd963..9653e04ded 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/marvell,mmp2-audio.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/marvell,mmp2-audio.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) */ -#ifndef __DT_BINDINGS_CLOCK_MARVELL_MMP2_AUDIO_H -#define __DT_BINDINGS_CLOCK_MARVELL_MMP2_AUDIO_H - -#define MMP2_CLK_AUDIO_SYSCLK 0 -#define MMP2_CLK_AUDIO_SSPA0 1 -#define MMP2_CLK_AUDIO_SSPA1 2 - -#endif +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) */ +#ifndef __DT_BINDINGS_CLOCK_MARVELL_MMP2_AUDIO_H +#define __DT_BINDINGS_CLOCK_MARVELL_MMP2_AUDIO_H + +#define MMP2_CLK_AUDIO_SYSCLK 0 +#define MMP2_CLK_AUDIO_SSPA0 1 +#define MMP2_CLK_AUDIO_SSPA1 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/maxim,max9485.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/maxim,max9485.h index ec4d2fd788..368719a1b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/maxim,max9485.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/maxim,max9485.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2018 Daniel Mack - */ - -#ifndef __DT_BINDINGS_MAX9485_CLK_H -#define __DT_BINDINGS_MAX9485_CLK_H - -#define MAX9485_MCLKOUT 0 -#define MAX9485_CLKOUT 1 -#define MAX9485_CLKOUT1 2 -#define MAX9485_CLKOUT2 3 - -#endif /* __DT_BINDINGS_MAX9485_CLK_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2018 Daniel Mack + */ + +#ifndef __DT_BINDINGS_MAX9485_CLK_H +#define __DT_BINDINGS_MAX9485_CLK_H + +#define MAX9485_MCLKOUT 0 +#define MAX9485_CLKOUT 1 +#define MAX9485_CLKOUT1 2 +#define MAX9485_CLKOUT2 3 + +#endif /* __DT_BINDINGS_MAX9485_CLK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/meson8-ddr-clkc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/meson8-ddr-clkc.h index ebe0bff3d4..a8e0fa2987 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/meson8-ddr-clkc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/meson8-ddr-clkc.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#define DDR_CLKID_DDR_PLL_DCO 0 -#define DDR_CLKID_DDR_PLL 1 +/* SPDX-License-Identifier: GPL-2.0 */ + +#define DDR_CLKID_DDR_PLL_DCO 0 +#define DDR_CLKID_DDR_PLL 1 diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,apss-ipq.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,apss-ipq.h index ca6578544d..77b6e05492 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,apss-ipq.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,apss-ipq.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2018, The Linux Foundation. All rights reserved. - */ - -#ifndef _DT_BINDINGS_CLOCK_QCA_APSS_IPQ6018_H -#define _DT_BINDINGS_CLOCK_QCA_APSS_IPQ6018_H - -#define APCS_ALIAS0_CLK_SRC 0 -#define APCS_ALIAS0_CORE_CLK 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2018, The Linux Foundation. All rights reserved. + */ + +#ifndef _DT_BINDINGS_CLOCK_QCA_APSS_IPQ6018_H +#define _DT_BINDINGS_CLOCK_QCA_APSS_IPQ6018_H + +#define APCS_ALIAS0_CLK_SRC 0 +#define APCS_ALIAS0_CORE_CLK 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,mss-sc7180.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,mss-sc7180.h index f8c87af1b9..f15a9ded29 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,mss-sc7180.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,mss-sc7180.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2020, The Linux Foundation. All rights reserved. - */ - -#ifndef _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H -#define _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H - -#define MSS_AXI_CRYPTO_CLK 0 -#define MSS_AXI_NAV_CLK 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2020, The Linux Foundation. All rights reserved. + */ + +#ifndef _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H +#define _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H + +#define MSS_AXI_CRYPTO_CLK 0 +#define MSS_AXI_NAV_CLK 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h index 5bb3b55e68..f5a1cfac86 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H -#define _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H - -/* from AOCC */ -#define LPASS_CDC_VA_MCLK 0 -#define LPASS_CDC_TX_NPL 1 -#define LPASS_CDC_TX_MCLK 2 - -#endif /* _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H +#define _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H + +/* from AOCC */ +#define LPASS_CDC_VA_MCLK 0 +#define LPASS_CDC_TX_NPL 1 +#define LPASS_CDC_TX_MCLK 2 + +#endif /* _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/renesas-cpg-mssr.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/renesas-cpg-mssr.h index 4b962d45b9..8169ad063f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/renesas-cpg-mssr.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/renesas-cpg-mssr.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0+ - * - * Copyright (C) 2015 Renesas Electronics Corp. - */ -#ifndef __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ -#define __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ - -#define CPG_CORE 0 /* Core Clock */ -#define CPG_MOD 1 /* Module Clock */ - -#endif /* __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ */ +/* SPDX-License-Identifier: GPL-2.0+ + * + * Copyright (C) 2015 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ +#define __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ + +#define CPG_CORE 0 /* Core Clock */ +#define CPG_MOD 1 /* Module Clock */ + +#endif /* __DT_BINDINGS_CLOCK_RENESAS_CPG_MSSR_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/rockchip,rk808.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/rockchip,rk808.h index 721a539849..75dabfc6ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/rockchip,rk808.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/rockchip,rk808.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants clk index RK808 pmic clkout - */ -#ifndef _CLK_ROCKCHIP_RK808 -#define _CLK_ROCKCHIP_RK808 - -/* CLOCKOUT index */ -#define RK808_CLKOUT0 0 -#define RK808_CLKOUT1 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This header provides constants clk index RK808 pmic clkout + */ +#ifndef _CLK_ROCKCHIP_RK808 +#define _CLK_ROCKCHIP_RK808 + +/* CLOCKOUT index */ +#define RK808_CLKOUT0 0 +#define RK808_CLKOUT1 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/ste-ab8500.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/ste-ab8500.h index 44e1349e99..fb42dd0cab 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/ste-ab8500.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/ste-ab8500.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __STE_CLK_AB8500_H__ -#define __STE_CLK_AB8500_H__ - -#define AB8500_SYSCLK_BUF2 0 -#define AB8500_SYSCLK_BUF3 1 -#define AB8500_SYSCLK_BUF4 2 -#define AB8500_SYSCLK_ULP 3 -#define AB8500_SYSCLK_INT 4 -#define AB8500_SYSCLK_AUDIO 5 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __STE_CLK_AB8500_H__ +#define __STE_CLK_AB8500_H__ + +#define AB8500_SYSCLK_BUF2 0 +#define AB8500_SYSCLK_BUF3 1 +#define AB8500_SYSCLK_BUF4 2 +#define AB8500_SYSCLK_ULP 3 +#define AB8500_SYSCLK_INT 4 +#define AB8500_SYSCLK_AUDIO 5 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun6i-rtc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun6i-rtc.h index 94da93d160..3bd3aa3d57 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun6i-rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun6i-rtc.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ - -#ifndef _DT_BINDINGS_CLK_SUN6I_RTC_H_ -#define _DT_BINDINGS_CLK_SUN6I_RTC_H_ - -#define CLK_OSC32K 0 -#define CLK_OSC32K_FANOUT 1 -#define CLK_IOSC 2 - -#endif /* _DT_BINDINGS_CLK_SUN6I_RTC_H_ */ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ + +#ifndef _DT_BINDINGS_CLK_SUN6I_RTC_H_ +#define _DT_BINDINGS_CLK_SUN6I_RTC_H_ + +#define CLK_OSC32K 0 +#define CLK_OSC32K_FANOUT 1 +#define CLK_IOSC 2 + +#endif /* _DT_BINDINGS_CLK_SUN6I_RTC_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun8i-tcon-top.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun8i-tcon-top.h index 094525cfcc..25164d7678 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun8i-tcon-top.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/sun8i-tcon-top.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ -/* Copyright (C) 2018 Jernej Skrabec */ - -#ifndef _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ -#define _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ - -#define CLK_TCON_TOP_TV0 0 -#define CLK_TCON_TOP_TV1 1 -#define CLK_TCON_TOP_DSI 2 - -#endif /* _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ */ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* Copyright (C) 2018 Jernej Skrabec */ + +#ifndef _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ +#define _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ + +#define CLK_TCON_TOP_TV0 0 +#define CLK_TCON_TOP_TV1 1 +#define CLK_TCON_TOP_DSI 2 + +#endif /* _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/versaclock.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/versaclock.h index 1bcd80d0bd..c6a6a09465 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/versaclock.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/clock/versaclock.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -/* This file defines field values used by the versaclock 6 family - * for defining output type - */ - -#define VC5_LVPECL 0 -#define VC5_CMOS 1 -#define VC5_HCSL33 2 -#define VC5_LVDS 3 -#define VC5_CMOS2 4 -#define VC5_CMOSD 5 -#define VC5_HCSL25 6 +/* SPDX-License-Identifier: GPL-2.0 */ + +/* This file defines field values used by the versaclock 6 family + * for defining output type + */ + +#define VC5_LVPECL 0 +#define VC5_CMOS 1 +#define VC5_HCSL33 2 +#define VC5_LVDS 3 +#define VC5_CMOS2 4 +#define VC5_CMOSD 5 +#define VC5_HCSL25 6 diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/display/tda998x.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/display/tda998x.h index 708f80eefd..746831ff39 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/display/tda998x.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/display/tda998x.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DT_BINDINGS_TDA998X_H -#define _DT_BINDINGS_TDA998X_H - -#define TDA998x_SPDIF 1 -#define TDA998x_I2S 2 - -#endif /*_DT_BINDINGS_TDA998X_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DT_BINDINGS_TDA998X_H +#define _DT_BINDINGS_TDA998X_H + +#define TDA998x_SPDIF 1 +#define TDA998x_I2S 2 + +#endif /*_DT_BINDINGS_TDA998X_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/dma/qcom-gpi.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/dma/qcom-gpi.h index b6072aa0c2..ebda2a37f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/dma/qcom-gpi.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/dma/qcom-gpi.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ -/* Copyright (c) 2020, Linaro Ltd. */ - -#ifndef __DT_BINDINGS_DMA_QCOM_GPI_H__ -#define __DT_BINDINGS_DMA_QCOM_GPI_H__ - -#define QCOM_GPI_SPI 1 -#define QCOM_GPI_UART 2 -#define QCOM_GPI_I2C 3 - -#endif /* __DT_BINDINGS_DMA_QCOM_GPI_H__ */ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ +/* Copyright (c) 2020, Linaro Ltd. */ + +#ifndef __DT_BINDINGS_DMA_QCOM_GPI_H__ +#define __DT_BINDINGS_DMA_QCOM_GPI_H__ + +#define QCOM_GPI_SPI 1 +#define QCOM_GPI_UART 2 +#define QCOM_GPI_I2C 3 + +#endif /* __DT_BINDINGS_DMA_QCOM_GPI_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/iio/adi,ad4695.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/iio/adi,ad4695.h index 6f771e4edc..9fbef542bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/iio/adi,ad4695.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/iio/adi,ad4695.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ - -#ifndef _DT_BINDINGS_ADI_AD4695_H -#define _DT_BINDINGS_ADI_AD4695_H - -#define AD4695_COMMON_MODE_REFGND 0xFF -#define AD4695_COMMON_MODE_COM 0xFE - -#endif /* _DT_BINDINGS_ADI_AD4695_H */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef _DT_BINDINGS_ADI_AD4695_H +#define _DT_BINDINGS_ADI_AD4695_H + +#define AD4695_COMMON_MODE_REFGND 0xFF +#define AD4695_COMMON_MODE_COM 0xFE + +#endif /* _DT_BINDINGS_ADI_AD4695_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/input/atmel-maxtouch.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/input/atmel-maxtouch.h index 905d883201..7345ab3222 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/input/atmel-maxtouch.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/input/atmel-maxtouch.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef _DT_BINDINGS_ATMEL_MAXTOUCH_H -#define _DT_BINDINGS_ATMEL_MAXTOUCH_H - -#define ATMEL_MXT_WAKEUP_NONE 0 -#define ATMEL_MXT_WAKEUP_I2C_SCL 1 -#define ATMEL_MXT_WAKEUP_GPIO 2 - -#endif /* _DT_BINDINGS_ATMEL_MAXTOUCH_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef _DT_BINDINGS_ATMEL_MAXTOUCH_H +#define _DT_BINDINGS_ATMEL_MAXTOUCH_H + +#define ATMEL_MXT_WAKEUP_NONE 0 +#define ATMEL_MXT_WAKEUP_I2C_SCL 1 +#define ATMEL_MXT_WAKEUP_GPIO 2 + +#endif /* _DT_BINDINGS_ATMEL_MAXTOUCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,msm8996-cbf.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,msm8996-cbf.h index d17f1feb02..aac5e69f6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,msm8996-cbf.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,msm8996-cbf.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -/* - * Copyright (C) 2023 Linaro Ltd. All rights reserved. - */ - -#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_CBF_H -#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_CBF_H - -#define MASTER_CBF_M4M 0 -#define SLAVE_CBF_M4M 1 - -#endif +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (C) 2023 Linaro Ltd. All rights reserved. + */ + +#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_CBF_H +#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_CBF_H + +#define MASTER_CBF_M4M 0 +#define SLAVE_CBF_M4M 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,osm-l3.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,osm-l3.h index 634251be46..61ef649ae5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,osm-l3.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,osm-l3.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019 The Linux Foundation. All rights reserved. - */ - -#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H -#define __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H - -#define MASTER_OSM_L3_APPS 0 -#define SLAVE_OSM_L3 1 - -#define MASTER_EPSS_L3_APPS 0 -#define SLAVE_EPSS_L3_SHARED 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 The Linux Foundation. All rights reserved. + */ + +#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H +#define __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H + +#define MASTER_OSM_L3_APPS 0 +#define SLAVE_OSM_L3 1 + +#define MASTER_EPSS_L3_APPS 0 +#define SLAVE_EPSS_L3_SHARED 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,rpm-icc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,rpm-icc.h index ceb8a75691..2cd56f91e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,rpm-icc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interconnect/qcom,rpm-icc.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -/* - * Copyright (c) 2023, Linaro Limited - */ - -#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_RPM_ICC_H -#define __DT_BINDINGS_INTERCONNECT_QCOM_RPM_ICC_H - -#define RPM_ACTIVE_TAG (1 << 0) -#define RPM_SLEEP_TAG (1 << 1) -#define RPM_ALWAYS_TAG (RPM_ACTIVE_TAG | RPM_SLEEP_TAG) - -#endif +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2023, Linaro Limited + */ + +#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_RPM_ICC_H +#define __DT_BINDINGS_INTERCONNECT_QCOM_RPM_ICC_H + +#define RPM_ACTIVE_TAG (1 << 0) +#define RPM_SLEEP_TAG (1 << 1) +#define RPM_ALWAYS_TAG (RPM_ACTIVE_TAG | RPM_SLEEP_TAG) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interrupt-controller/mips-gic.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interrupt-controller/mips-gic.h index a57e1f7edb..bd45cee0c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interrupt-controller/mips-gic.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/interrupt-controller/mips-gic.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H -#define _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H - -#include - -#define GIC_SHARED 0 -#define GIC_LOCAL 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H + +#include + +#define GIC_SHARED 0 +#define GIC_LOCAL 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-lp55xx.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-lp55xx.h index 0736856984..a4fb456771 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-lp55xx.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-lp55xx.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -#ifndef _DT_BINDINGS_LEDS_LP55XX_H -#define _DT_BINDINGS_LEDS_LP55XX_H - -#define LP55XX_CP_OFF 0 -#define LP55XX_CP_BYPASS 1 -#define LP55XX_CP_BOOST 2 -#define LP55XX_CP_AUTO 3 - -#endif /* _DT_BINDINGS_LEDS_LP55XX_H */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +#ifndef _DT_BINDINGS_LEDS_LP55XX_H +#define _DT_BINDINGS_LEDS_LP55XX_H + +#define LP55XX_CP_OFF 0 +#define LP55XX_CP_BYPASS 1 +#define LP55XX_CP_BOOST 2 +#define LP55XX_CP_AUTO 3 + +#endif /* _DT_BINDINGS_LEDS_LP55XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-ns2.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-ns2.h index ca07a7b4d3..fd615749e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-ns2.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/leds/leds-ns2.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DT_BINDINGS_LEDS_NS2_H -#define _DT_BINDINGS_LEDS_NS2_H - -#define NS_V2_LED_OFF 0 -#define NS_V2_LED_ON 1 -#define NS_V2_LED_SATA 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DT_BINDINGS_LEDS_NS2_H +#define _DT_BINDINGS_LEDS_NS2_H + +#define NS_V2_LED_OFF 0 +#define NS_V2_LED_ON 1 +#define NS_V2_LED_SATA 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/c8sectpfe.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/c8sectpfe.h index 19537ba5a3..6b1fb6f541 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/c8sectpfe.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/c8sectpfe.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_C8SECTPFE_H -#define __DT_C8SECTPFE_H - -#define STV0367_TDA18212_NIMA_1 0 -#define STV0367_TDA18212_NIMA_2 1 -#define STV0367_TDA18212_NIMB_1 2 -#define STV0367_TDA18212_NIMB_2 3 - -#define STV0903_6110_LNB24_NIMA 4 -#define STV0903_6110_LNB24_NIMB 5 - -#endif /* __DT_C8SECTPFE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_C8SECTPFE_H +#define __DT_C8SECTPFE_H + +#define STV0367_TDA18212_NIMA_1 0 +#define STV0367_TDA18212_NIMA_2 1 +#define STV0367_TDA18212_NIMB_1 2 +#define STV0367_TDA18212_NIMB_2 3 + +#define STV0903_6110_LNB24_NIMA 4 +#define STV0903_6110_LNB24_NIMB 5 + +#endif /* __DT_C8SECTPFE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/omap3-isp.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/omap3-isp.h index 856b736ee7..436c71210e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/omap3-isp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/media/omap3-isp.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * include/dt-bindings/media/omap3-isp.h - * - * Copyright (C) 2015 Sakari Ailus - */ - -#ifndef __DT_BINDINGS_OMAP3_ISP_H__ -#define __DT_BINDINGS_OMAP3_ISP_H__ - -#define OMAP3ISP_PHY_TYPE_COMPLEX_IO 0 -#define OMAP3ISP_PHY_TYPE_CSIPHY 1 - -#endif /* __DT_BINDINGS_OMAP3_ISP_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * include/dt-bindings/media/omap3-isp.h + * + * Copyright (C) 2015 Sakari Ailus + */ + +#ifndef __DT_BINDINGS_OMAP3_ISP_H__ +#define __DT_BINDINGS_OMAP3_ISP_H__ + +#define OMAP3ISP_PHY_TYPE_COMPLEX_IO 0 +#define OMAP3ISP_PHY_TYPE_CSIPHY 1 + +#endif /* __DT_BINDINGS_OMAP3_ISP_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/net/qca-ar803x.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/net/qca-ar803x.h index a36f37e1c9..9c046c7242 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/net/qca-ar803x.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/net/qca-ar803x.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Device Tree constants for the Qualcomm Atheros AR803x PHYs - */ - -#ifndef _DT_BINDINGS_QCA_AR803X_H -#define _DT_BINDINGS_QCA_AR803X_H - -#define AR803X_STRENGTH_FULL 0 -#define AR803X_STRENGTH_HALF 1 -#define AR803X_STRENGTH_QUARTER 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Device Tree constants for the Qualcomm Atheros AR803x PHYs + */ + +#ifndef _DT_BINDINGS_QCA_AR803X_H +#define _DT_BINDINGS_QCA_AR803X_H + +#define AR803X_STRENGTH_FULL 0 +#define AR803X_STRENGTH_HALF 1 +#define AR803X_STRENGTH_QUARTER 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h index 7716548531..f570b23165 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ - -#ifndef _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H -#define _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H - -/* - * Need to have it as a multiple of 4 as NVMEM memory is registered with - * stride = 4. - */ -#define OTP_PKT(id) ((id) * 4) - -#endif +/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ + +#ifndef _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H +#define _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H + +/* + * Need to have it as a multiple of 4 as NVMEM memory is registered with + * stride = 4. + */ +#define OTP_PKT(id) ((id) * 4) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-am654-serdes.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-am654-serdes.h index a9b55e0d21..e8d901729e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-am654-serdes.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-am654-serdes.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants for AM654 SERDES. - */ - -#ifndef _DT_BINDINGS_AM654_SERDES -#define _DT_BINDINGS_AM654_SERDES - -#define AM654_SERDES_CMU_REFCLK 0 -#define AM654_SERDES_LO_REFCLK 1 -#define AM654_SERDES_RO_REFCLK 2 - -#endif /* _DT_BINDINGS_AM654_SERDES */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This header provides constants for AM654 SERDES. + */ + +#ifndef _DT_BINDINGS_AM654_SERDES +#define _DT_BINDINGS_AM654_SERDES + +#define AM654_SERDES_CMU_REFCLK 0 +#define AM654_SERDES_LO_REFCLK 1 +#define AM654_SERDES_RO_REFCLK 2 + +#endif /* _DT_BINDINGS_AM654_SERDES */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-lan966x-serdes.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-lan966x-serdes.h index a1ea6bdf69..4330269a90 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-lan966x-serdes.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-lan966x-serdes.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ - -#ifndef __PHY_LAN966X_SERDES_H__ -#define __PHY_LAN966X_SERDES_H__ - -#define CU(x) (x) -#define CU_MAX CU(2) -#define SERDES6G(x) (CU_MAX + 1 + (x)) -#define SERDES6G_MAX SERDES6G(3) -#define RGMII(x) (SERDES6G_MAX + 1 + (x)) -#define RGMII_MAX RGMII(2) -#define SERDES_MAX (RGMII_MAX + 1) - -#endif +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ + +#ifndef __PHY_LAN966X_SERDES_H__ +#define __PHY_LAN966X_SERDES_H__ + +#define CU(x) (x) +#define CU_MAX CU(2) +#define SERDES6G(x) (CU_MAX + 1 + (x)) +#define SERDES6G_MAX SERDES6G(3) +#define RGMII(x) (SERDES6G_MAX + 1 + (x)) +#define RGMII_MAX RGMII(2) +#define SERDES_MAX (RGMII_MAX + 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-ocelot-serdes.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-ocelot-serdes.h index f6f89353d7..fe70adaca6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-ocelot-serdes.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-ocelot-serdes.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/* Copyright (c) 2018 Microsemi Corporation */ -#ifndef __PHY_OCELOT_SERDES_H__ -#define __PHY_OCELOT_SERDES_H__ - -#define SERDES1G(x) (x) -#define SERDES1G_MAX SERDES1G(5) -#define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) -#define SERDES6G_MAX SERDES6G(2) -#define SERDES_MAX (SERDES6G_MAX + 1) - -#endif +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/* Copyright (c) 2018 Microsemi Corporation */ +#ifndef __PHY_OCELOT_SERDES_H__ +#define __PHY_OCELOT_SERDES_H__ + +#define SERDES1G(x) (x) +#define SERDES1G_MAX SERDES1G(5) +#define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) +#define SERDES6G_MAX SERDES6G(2) +#define SERDES_MAX (SERDES6G_MAX + 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-pistachio-usb.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-pistachio-usb.h index 1478fa218b..3542a67daf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-pistachio-usb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/phy/phy-pistachio-usb.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2015 Google, Inc. - */ - -#ifndef _DT_BINDINGS_PHY_PISTACHIO -#define _DT_BINDINGS_PHY_PISTACHIO - -#define REFCLK_XO_CRYSTAL 0x0 -#define REFCLK_X0_EXT_CLK 0x1 -#define REFCLK_CLK_CORE 0x2 - -#endif /* _DT_BINDINGS_PHY_PISTACHIO */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2015 Google, Inc. + */ + +#ifndef _DT_BINDINGS_PHY_PISTACHIO +#define _DT_BINDINGS_PHY_PISTACHIO + +#define REFCLK_XO_CRYSTAL 0x0 +#define REFCLK_X0_EXT_CLK 0x1 +#define REFCLK_CLK_CORE 0x2 + +#endif /* _DT_BINDINGS_PHY_PISTACHIO */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h index 7a1f7321e2..ac63c399b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H -#define _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H 1 - -#define TEGRA_XUSB_PADCTL_PCIE 0 -#define TEGRA_XUSB_PADCTL_SATA 1 - -#endif /* _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H +#define _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H 1 + +#define TEGRA_XUSB_PADCTL_PCIE 0 +#define TEGRA_XUSB_PADCTL_SATA 1 + +#endif /* _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h index 9b8c0ce704..23cfb57256 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ - -#ifndef _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ -#define _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ - -#define PD_CPU 0 -#define PD_VE 1 -#define PD_DSP 2 - -#endif /* _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ +#define _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ + +#define PD_CPU 0 +#define PD_VE 1 +#define PD_DSP 2 + +#endif /* _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/fsl,imx93-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/fsl,imx93-power.h index 95712802b7..17f9f015bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/fsl,imx93-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/fsl,imx93-power.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/* - * Copyright 2022 NXP - */ - -#ifndef __DT_BINDINGS_IMX93_POWER_H__ -#define __DT_BINDINGS_IMX93_POWER_H__ - -#define IMX93_MEDIABLK_PD_MIPI_DSI 0 -#define IMX93_MEDIABLK_PD_MIPI_CSI 1 -#define IMX93_MEDIABLK_PD_PXP 2 -#define IMX93_MEDIABLK_PD_LCDIF 3 -#define IMX93_MEDIABLK_PD_ISI 4 - -#endif +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/* + * Copyright 2022 NXP + */ + +#ifndef __DT_BINDINGS_IMX93_POWER_H__ +#define __DT_BINDINGS_IMX93_POWER_H__ + +#define IMX93_MEDIABLK_PD_MIPI_DSI 0 +#define IMX93_MEDIABLK_PD_MIPI_CSI 1 +#define IMX93_MEDIABLK_PD_PXP 2 +#define IMX93_MEDIABLK_PD_LCDIF 3 +#define IMX93_MEDIABLK_PD_ISI 4 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/imx7-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/imx7-power.h index b27912a121..597c1aa06a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/imx7-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/imx7-power.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2017 Impinj - */ - -#ifndef __DT_BINDINGS_IMX7_POWER_H__ -#define __DT_BINDINGS_IMX7_POWER_H__ - -#define IMX7_POWER_DOMAIN_MIPI_PHY 0 -#define IMX7_POWER_DOMAIN_PCIE_PHY 1 -#define IMX7_POWER_DOMAIN_USB_HSIC_PHY 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2017 Impinj + */ + +#ifndef __DT_BINDINGS_IMX7_POWER_H__ +#define __DT_BINDINGS_IMX7_POWER_H__ + +#define IMX7_POWER_DOMAIN_MIPI_PHY 0 +#define IMX7_POWER_DOMAIN_PCIE_PHY 1 +#define IMX7_POWER_DOMAIN_USB_HSIC_PHY 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/marvell,mmp2.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/marvell,mmp2.h index b0d66f301d..c53d2b3e10 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/marvell,mmp2.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/marvell,mmp2.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DTS_MARVELL_MMP2_POWER_H -#define __DTS_MARVELL_MMP2_POWER_H - -#define MMP2_POWER_DOMAIN_GPU 0 -#define MMP2_POWER_DOMAIN_AUDIO 1 -#define MMP3_POWER_DOMAIN_CAMERA 2 - -#define MMP2_NR_POWER_DOMAINS 3 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DTS_MARVELL_MMP2_POWER_H +#define __DTS_MARVELL_MMP2_POWER_H + +#define MMP2_POWER_DOMAIN_GPU 0 +#define MMP2_POWER_DOMAIN_AUDIO 1 +#define MMP3_POWER_DOMAIN_CAMERA 2 + +#define MMP2_NR_POWER_DOMAINS 3 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-axg-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-axg-power.h index 6902b4f88b..ace0e468ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-axg-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-axg-power.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ -/* - * Copyright (c) 2020 BayLibre, SAS - * Author: Neil Armstrong - */ - -#ifndef _DT_BINDINGS_MESON_AXG_POWER_H -#define _DT_BINDINGS_MESON_AXG_POWER_H - -#define PWRC_AXG_VPU_ID 0 -#define PWRC_AXG_ETHERNET_MEM_ID 1 -#define PWRC_AXG_AUDIO_ID 2 - -#endif +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Copyright (c) 2020 BayLibre, SAS + * Author: Neil Armstrong + */ + +#ifndef _DT_BINDINGS_MESON_AXG_POWER_H +#define _DT_BINDINGS_MESON_AXG_POWER_H + +#define PWRC_AXG_VPU_ID 0 +#define PWRC_AXG_ETHERNET_MEM_ID 1 +#define PWRC_AXG_AUDIO_ID 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-g12a-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-g12a-power.h index fa2bc3a736..01fd0ac4dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-g12a-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-g12a-power.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ -/* - * Copyright (c) 2019 BayLibre, SAS - * Author: Neil Armstrong - */ - -#ifndef _DT_BINDINGS_MESON_G12A_POWER_H -#define _DT_BINDINGS_MESON_G12A_POWER_H - -#define PWRC_G12A_VPU_ID 0 -#define PWRC_G12A_ETH_ID 1 -#define PWRC_G12A_NNA_ID 2 -#define PWRC_G12A_ISP_ID 3 - -#endif +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + */ + +#ifndef _DT_BINDINGS_MESON_G12A_POWER_H +#define _DT_BINDINGS_MESON_G12A_POWER_H + +#define PWRC_G12A_VPU_ID 0 +#define PWRC_G12A_ETH_ID 1 +#define PWRC_G12A_NNA_ID 2 +#define PWRC_G12A_ISP_ID 3 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-gxbb-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-gxbb-power.h index 248626e110..8d0b32b6c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-gxbb-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/meson-gxbb-power.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ -/* - * Copyright (c) 2019 BayLibre, SAS - * Author: Neil Armstrong - */ - -#ifndef _DT_BINDINGS_MESON_GXBB_POWER_H -#define _DT_BINDINGS_MESON_GXBB_POWER_H - -#define PWRC_GXBB_VPU_ID 0 -#define PWRC_GXBB_ETHERNET_MEM_ID 1 - -#endif +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + */ + +#ifndef _DT_BINDINGS_MESON_GXBB_POWER_H +#define _DT_BINDINGS_MESON_GXBB_POWER_H + +#define PWRC_GXBB_VPU_ID 0 +#define PWRC_GXBB_ETHERNET_MEM_ID 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/mt7623a-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/mt7623a-power.h index 119189314e..2544822aa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/mt7623a-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/mt7623a-power.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DT_BINDINGS_POWER_MT7623A_POWER_H -#define _DT_BINDINGS_POWER_MT7623A_POWER_H - -#define MT7623A_POWER_DOMAIN_CONN 0 -#define MT7623A_POWER_DOMAIN_ETH 1 -#define MT7623A_POWER_DOMAIN_HIF 2 -#define MT7623A_POWER_DOMAIN_IFR_MSC 3 - -#endif /* _DT_BINDINGS_POWER_MT7623A_POWER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DT_BINDINGS_POWER_MT7623A_POWER_H +#define _DT_BINDINGS_POWER_MT7623A_POWER_H + +#define MT7623A_POWER_DOMAIN_CONN 0 +#define MT7623A_POWER_DOMAIN_ETH 1 +#define MT7623A_POWER_DOMAIN_HIF 2 +#define MT7623A_POWER_DOMAIN_IFR_MSC 3 + +#endif /* _DT_BINDINGS_POWER_MT7623A_POWER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3036-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3036-power.h index 77f79576d5..0bc6b5d507 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3036-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3036-power.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_BINDINGS_POWER_RK3036_POWER_H__ -#define __DT_BINDINGS_POWER_RK3036_POWER_H__ - -#define RK3036_PD_MSCH 0 -#define RK3036_PD_CORE 1 -#define RK3036_PD_PERI 2 -#define RK3036_PD_VIO 3 -#define RK3036_PD_VPU 4 -#define RK3036_PD_GPU 5 -#define RK3036_PD_SYS 6 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_POWER_RK3036_POWER_H__ +#define __DT_BINDINGS_POWER_RK3036_POWER_H__ + +#define RK3036_PD_MSCH 0 +#define RK3036_PD_CORE 1 +#define RK3036_PD_PERI 2 +#define RK3036_PD_VIO 3 +#define RK3036_PD_VPU 4 +#define RK3036_PD_GPU 5 +#define RK3036_PD_SYS 6 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3128-power.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3128-power.h index c87a331ac4..c051dc3108 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3128-power.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/power/rk3128-power.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_BINDINGS_POWER_RK3128_POWER_H__ -#define __DT_BINDINGS_POWER_RK3128_POWER_H__ - -/* VD_CORE */ -#define RK3128_PD_CORE 0 - -/* VD_LOGIC */ -#define RK3128_PD_VIO 1 -#define RK3128_PD_VIDEO 2 -#define RK3128_PD_GPU 3 -#define RK3128_PD_MSCH 4 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_POWER_RK3128_POWER_H__ +#define __DT_BINDINGS_POWER_RK3128_POWER_H__ + +/* VD_CORE */ +#define RK3128_PD_CORE 0 + +/* VD_LOGIC */ +#define RK3128_PD_VIO 1 +#define RK3128_PD_VIDEO 2 +#define RK3128_PD_GPU 3 +#define RK3128_PD_MSCH 4 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h index 514d21543e..27c5ce6884 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2020 Nicolas Saenz Julienne - * Author: Nicolas Saenz Julienne - */ - -#ifndef _DT_BINDINGS_RASPBERRYPI_FIRMWARE_PWM_H -#define _DT_BINDINGS_RASPBERRYPI_FIRMWARE_PWM_H - -#define RASPBERRYPI_FIRMWARE_PWM_POE 0 -#define RASPBERRYPI_FIRMWARE_PWM_NUM 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2020 Nicolas Saenz Julienne + * Author: Nicolas Saenz Julienne + */ + +#ifndef _DT_BINDINGS_RASPBERRYPI_FIRMWARE_PWM_H +#define _DT_BINDINGS_RASPBERRYPI_FIRMWARE_PWM_H + +#define RASPBERRYPI_FIRMWARE_PWM_POE 0 +#define RASPBERRYPI_FIRMWARE_PWM_NUM 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/regulator/ti,tps62864.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/regulator/ti,tps62864.h index 1d9000dbb0..8db31f23d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/regulator/ti,tps62864.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/regulator/ti,tps62864.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ - -#ifndef _DT_BINDINGS_REGULATOR_TI_TPS62864_H -#define _DT_BINDINGS_REGULATOR_TI_TPS62864_H - -#define TPS62864_MODE_NORMAL 0 -#define TPS62864_MODE_FPWM 1 - -#endif +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef _DT_BINDINGS_REGULATOR_TI_TPS62864_H +#define _DT_BINDINGS_REGULATOR_TI_TPS62864_H + +#define TPS62864_MODE_NORMAL 0 +#define TPS62864_MODE_FPWM 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sama7g5-reset.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sama7g5-reset.h index 0be7cfe922..2116f41d04 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sama7g5-reset.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sama7g5-reset.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ - -#ifndef __DT_BINDINGS_RESET_SAMA7G5_H -#define __DT_BINDINGS_RESET_SAMA7G5_H - -#define SAMA7G5_RESET_USB_PHY1 4 -#define SAMA7G5_RESET_USB_PHY2 5 -#define SAMA7G5_RESET_USB_PHY3 6 - -#endif /* __DT_BINDINGS_RESET_SAMA7G5_H */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef __DT_BINDINGS_RESET_SAMA7G5_H +#define __DT_BINDINGS_RESET_SAMA7G5_H + +#define SAMA7G5_RESET_USB_PHY1 4 +#define SAMA7G5_RESET_USB_PHY2 5 +#define SAMA7G5_RESET_USB_PHY3 6 + +#endif /* __DT_BINDINGS_RESET_SAMA7G5_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sun8i-de2.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sun8i-de2.h index d493ebd25a..1c36a6ac86 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sun8i-de2.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/reset/sun8i-de2.h @@ -1,15 +1,15 @@ -/* - * Copyright (C) 2016 Icenowy Zheng - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) - */ - -#ifndef _DT_BINDINGS_RESET_SUN8I_DE2_H_ -#define _DT_BINDINGS_RESET_SUN8I_DE2_H_ - -#define RST_MIXER0 0 -#define RST_MIXER1 1 -#define RST_WB 2 -#define RST_ROT 3 - -#endif /* _DT_BINDINGS_RESET_SUN8I_DE2_H_ */ +/* + * Copyright (C) 2016 Icenowy Zheng + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#ifndef _DT_BINDINGS_RESET_SUN8I_DE2_H_ +#define _DT_BINDINGS_RESET_SUN8I_DE2_H_ + +#define RST_MIXER0 0 +#define RST_MIXER1 1 +#define RST_WB 2 +#define RST_ROT 3 + +#endif /* _DT_BINDINGS_RESET_SUN8I_DE2_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/bcm-pmb.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/bcm-pmb.h index 29f2082af9..3858844680 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/bcm-pmb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/bcm-pmb.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */ - -#ifndef __DT_BINDINGS_SOC_BCM_PMB_H -#define __DT_BINDINGS_SOC_BCM_PMB_H - -#define BCM_PMB_PCIE0 0x01 -#define BCM_PMB_PCIE1 0x02 -#define BCM_PMB_PCIE2 0x03 -#define BCM_PMB_HOST_USB 0x04 -#define BCM_PMB_SATA 0x05 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */ + +#ifndef __DT_BINDINGS_SOC_BCM_PMB_H +#define __DT_BINDINGS_SOC_BCM_PMB_H + +#define BCM_PMB_PCIE0 0x01 +#define BCM_PMB_PCIE1 0x02 +#define BCM_PMB_PCIE2 0x03 +#define BCM_PMB_HOST_USB 0x04 +#define BCM_PMB_SATA 0x05 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/cpm1-fsl,tsa.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/cpm1-fsl,tsa.h index dfcea5aec0..2cc44e867d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/cpm1-fsl,tsa.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/cpm1-fsl,tsa.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ - -#ifndef __DT_BINDINGS_SOC_FSL_TSA_H -#define __DT_BINDINGS_SOC_FSL_TSA_H - -#define FSL_CPM_TSA_NU 0 /* Pseuso Cell Id for not used item */ -#define FSL_CPM_TSA_SCC2 1 -#define FSL_CPM_TSA_SCC3 2 -#define FSL_CPM_TSA_SCC4 3 -#define FSL_CPM_TSA_SMC1 4 -#define FSL_CPM_TSA_SMC2 5 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ + +#ifndef __DT_BINDINGS_SOC_FSL_TSA_H +#define __DT_BINDINGS_SOC_FSL_TSA_H + +#define FSL_CPM_TSA_NU 0 /* Pseuso Cell Id for not used item */ +#define FSL_CPM_TSA_SCC2 1 +#define FSL_CPM_TSA_SCC3 2 +#define FSL_CPM_TSA_SCC4 3 +#define FSL_CPM_TSA_SMC1 4 +#define FSL_CPM_TSA_SMC2 5 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,memshare.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,memshare.h index 8d1e80acea..4cef1ef75d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,memshare.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,memshare.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __DT_QCOM_MEMSHARE_H__ -#define __DT_QCOM_MEMSHARE_H__ - -#define MEMSHARE_PROC_MPSS_V01 0 -#define MEMSHARE_PROC_ADSP_V01 1 -#define MEMSHARE_PROC_WCNSS_V01 2 - -#endif /* __DT_QCOM_MEMSHARE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __DT_QCOM_MEMSHARE_H__ +#define __DT_QCOM_MEMSHARE_H__ + +#define MEMSHARE_PROC_MPSS_V01 0 +#define MEMSHARE_PROC_ADSP_V01 1 +#define MEMSHARE_PROC_WCNSS_V01 2 + +#endif /* __DT_QCOM_MEMSHARE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,rpmh-rsc.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,rpmh-rsc.h index 7d497c3089..868f998ea9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,rpmh-rsc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qcom,rpmh-rsc.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. - */ - -#ifndef __DT_QCOM_RPMH_RSC_H__ -#define __DT_QCOM_RPMH_RSC_H__ - -#define SLEEP_TCS 0 -#define WAKE_TCS 1 -#define ACTIVE_TCS 2 -#define CONTROL_TCS 3 - -#endif /* __DT_QCOM_RPMH_RSC_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. + */ + +#ifndef __DT_QCOM_RPMH_RSC_H__ +#define __DT_QCOM_RPMH_RSC_H__ + +#define SLEEP_TCS 0 +#define WAKE_TCS 1 +#define ACTIVE_TCS 2 +#define CONTROL_TCS 3 + +#endif /* __DT_QCOM_RPMH_RSC_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qe-fsl,tsa.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qe-fsl,tsa.h index e9955d586a..3cf3df9c09 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qe-fsl,tsa.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/qe-fsl,tsa.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ - -#ifndef __DT_BINDINGS_SOC_FSL_QE_TSA_H -#define __DT_BINDINGS_SOC_FSL_QE_TSA_H - -#define FSL_QE_TSA_NU 0 -#define FSL_QE_TSA_UCC1 1 -#define FSL_QE_TSA_UCC2 2 -#define FSL_QE_TSA_UCC3 3 -#define FSL_QE_TSA_UCC4 4 -#define FSL_QE_TSA_UCC5 5 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ + +#ifndef __DT_BINDINGS_SOC_FSL_QE_TSA_H +#define __DT_BINDINGS_SOC_FSL_QE_TSA_H + +#define FSL_QE_TSA_NU 0 +#define FSL_QE_TSA_UCC1 1 +#define FSL_QE_TSA_UCC2 2 +#define FSL_QE_TSA_UCC3 3 +#define FSL_QE_TSA_UCC4 4 +#define FSL_QE_TSA_UCC5 5 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/ti,sci_pm_domain.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/ti,sci_pm_domain.h index 88367a134e..8f2a7360b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/ti,sci_pm_domain.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/soc/ti,sci_pm_domain.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __DT_BINDINGS_TI_SCI_PM_DOMAIN_H -#define __DT_BINDINGS_TI_SCI_PM_DOMAIN_H - -#define TI_SCI_PD_EXCLUSIVE 1 -#define TI_SCI_PD_SHARED 0 - -#endif /* __DT_BINDINGS_TI_SCI_PM_DOMAIN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __DT_BINDINGS_TI_SCI_PM_DOMAIN_H +#define __DT_BINDINGS_TI_SCI_PM_DOMAIN_H + +#define TI_SCI_PD_EXCLUSIVE 1 +#define TI_SCI_PD_SHARED 0 + +#endif /* __DT_BINDINGS_TI_SCI_PM_DOMAIN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/apq8016-lpass.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/apq8016-lpass.h index f1c4ebbaad..dc605c4bc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/apq8016-lpass.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/apq8016-lpass.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_APQ8016_LPASS_H -#define __DT_APQ8016_LPASS_H - -#include - -/* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */ - -#endif /* __DT_APQ8016_LPASS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_APQ8016_LPASS_H +#define __DT_APQ8016_LPASS_H + +#include + +/* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */ + +#endif /* __DT_APQ8016_LPASS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/audio-jack-events.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/audio-jack-events.h index c4f83f168b..1b29b29512 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/audio-jack-events.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/audio-jack-events.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AUDIO_JACK_EVENTS_H -#define __AUDIO_JACK_EVENTS_H - -#define JACK_HEADPHONE 1 -#define JACK_MICROPHONE 2 -#define JACK_LINEOUT 3 -#define JACK_LINEIN 4 - -#endif /* __AUDIO_JACK_EVENTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __AUDIO_JACK_EVENTS_H +#define __AUDIO_JACK_EVENTS_H + +#define JACK_HEADPHONE 1 +#define JACK_MICROPHONE 2 +#define JACK_LINEOUT 3 +#define JACK_LINEIN 4 + +#endif /* __AUDIO_JACK_EVENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/meson-g12a-toacodec.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/meson-g12a-toacodec.h index f68cdf7b0d..69d7a75592 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/meson-g12a-toacodec.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/meson-g12a-toacodec.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_MESON_G12A_TOACODEC_H -#define __DT_MESON_G12A_TOACODEC_H - -#define TOACODEC_IN_A 0 -#define TOACODEC_IN_B 1 -#define TOACODEC_IN_C 2 -#define TOACODEC_OUT 3 - -#endif /* __DT_MESON_G12A_TOACODEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_MESON_G12A_TOACODEC_H +#define __DT_MESON_G12A_TOACODEC_H + +#define TOACODEC_IN_A 0 +#define TOACODEC_IN_B 1 +#define TOACODEC_IN_C 2 +#define TOACODEC_OUT 3 + +#endif /* __DT_MESON_G12A_TOACODEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6afe.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6afe.h index d6b90ceae6..9d5d89cfab 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6afe.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6afe.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_BINDINGS_Q6_AFE_H__ -#define __DT_BINDINGS_Q6_AFE_H__ - -/* This file exists due to backward compatibility reasons, Please do not DELETE! */ - -#include - -#endif /* __DT_BINDINGS_Q6_AFE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_Q6_AFE_H__ +#define __DT_BINDINGS_Q6_AFE_H__ + +/* This file exists due to backward compatibility reasons, Please do not DELETE! */ + +#include + +#endif /* __DT_BINDINGS_Q6_AFE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6voice.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6voice.h index 44b6ef6aac..fe5aa3a3fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6voice.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/qcom,q6voice.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_BINDINGS_Q6_VOICE_H__ -#define __DT_BINDINGS_Q6_VOICE_H__ - -#define CS_VOICE 0 - -#endif /* __DT_BINDINGS_Q6_VOICE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_Q6_VOICE_H__ +#define __DT_BINDINGS_Q6_VOICE_H__ + +#define CS_VOICE 0 + +#endif /* __DT_BINDINGS_Q6_VOICE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/rt5651.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/rt5651.h index fa51f0808e..2f2dac9151 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/rt5651.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/rt5651.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_RT5651_H -#define __DT_RT5651_H - -#define RT5651_JD_NULL 0 -#define RT5651_JD1_1 1 -#define RT5651_JD1_2 2 -#define RT5651_JD2 3 - -#define RT5651_OVCD_SF_0P5 0 -#define RT5651_OVCD_SF_0P75 1 -#define RT5651_OVCD_SF_1P0 2 -#define RT5651_OVCD_SF_1P5 3 - -#endif /* __DT_RT5651_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_RT5651_H +#define __DT_RT5651_H + +#define RT5651_JD_NULL 0 +#define RT5651_JD1_1 1 +#define RT5651_JD1_2 2 +#define RT5651_JD2 3 + +#define RT5651_OVCD_SF_0P5 0 +#define RT5651_OVCD_SF_0P75 1 +#define RT5651_OVCD_SF_1P0 2 +#define RT5651_OVCD_SF_1P5 3 + +#endif /* __DT_RT5651_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/sc7180-lpass.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/sc7180-lpass.h index 3fd505da70..5c1ee8b36b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/sc7180-lpass.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/sc7180-lpass.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_SC7180_LPASS_H -#define __DT_SC7180_LPASS_H - -#include - -/* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */ - -#endif /* __DT_APQ8016_LPASS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_SC7180_LPASS_H +#define __DT_SC7180_LPASS_H + +#include + +/* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */ + +#endif /* __DT_APQ8016_LPASS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/tlv320aic31xx.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/tlv320aic31xx.h index d7cc6bce81..4a80238ab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/tlv320aic31xx.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/sound/tlv320aic31xx.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DT_TLV320AIC31XX_H -#define __DT_TLV320AIC31XX_H - -#define MICBIAS_2_0V 1 -#define MICBIAS_2_5V 2 -#define MICBIAS_AVDDV 3 - -#define PLL_CLKIN_MCLK 0x00 -#define PLL_CLKIN_BCLK 0x01 -#define PLL_CLKIN_GPIO1 0x02 -#define PLL_CLKIN_DIN 0x03 - -#endif /* __DT_TLV320AIC31XX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_TLV320AIC31XX_H +#define __DT_TLV320AIC31XX_H + +#define MICBIAS_2_0V 1 +#define MICBIAS_2_5V 2 +#define MICBIAS_AVDDV 3 + +#define PLL_CLKIN_MCLK 0x00 +#define PLL_CLKIN_BCLK 0x01 +#define PLL_CLKIN_GPIO1 0x02 +#define PLL_CLKIN_DIN 0x03 + +#endif /* __DT_TLV320AIC31XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/spmi/spmi.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/spmi/spmi.h index 1dc2a08eeb..ad4a43481d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/spmi/spmi.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/spmi/spmi.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2013, The Linux Foundation. All rights reserved. - */ -#ifndef __DT_BINDINGS_SPMI_H -#define __DT_BINDINGS_SPMI_H - -#define SPMI_USID 0 -#define SPMI_GSID 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2013, The Linux Foundation. All rights reserved. + */ +#ifndef __DT_BINDINGS_SPMI_H +#define __DT_BINDINGS_SPMI_H + +#define SPMI_USID 0 +#define SPMI_GSID 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/thermal/lm90.h b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/thermal/lm90.h index 75db40a8f0..eed91a16c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/thermal/lm90.h +++ b/image/debian/UFI003_MB_V02/kernel/include/dt-bindings/thermal/lm90.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants for the LM90 thermal bindings. - */ - -#ifndef _DT_BINDINGS_THERMAL_LM90_H_ -#define _DT_BINDINGS_THERMAL_LM90_H_ - -#define LM90_LOCAL_TEMPERATURE 0 -#define LM90_REMOTE_TEMPERATURE 1 -#define LM90_REMOTE2_TEMPERATURE 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This header provides constants for the LM90 thermal bindings. + */ + +#ifndef _DT_BINDINGS_THERMAL_LM90_H_ +#define _DT_BINDINGS_THERMAL_LM90_H_ + +#define LM90_LOCAL_TEMPERATURE 0 +#define LM90_REMOTE_TEMPERATURE 1 +#define LM90_REMOTE2_TEMPERATURE 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/keys/ceph-type.h b/image/debian/UFI003_MB_V02/kernel/include/keys/ceph-type.h index 2a9eec7434..aa6d3e050c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/keys/ceph-type.h +++ b/image/debian/UFI003_MB_V02/kernel/include/keys/ceph-type.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _KEYS_CEPH_TYPE_H -#define _KEYS_CEPH_TYPE_H - -#include - -extern struct key_type key_type_ceph; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _KEYS_CEPH_TYPE_H +#define _KEYS_CEPH_TYPE_H + +#include + +extern struct key_type key_type_ceph; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/keys/keyring-type.h b/image/debian/UFI003_MB_V02/kernel/include/keys/keyring-type.h index 10801ad1d3..1dc83862f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/keys/keyring-type.h +++ b/image/debian/UFI003_MB_V02/kernel/include/keys/keyring-type.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* Keyring key type - * - * Copyright (C) 2008, 2013 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - */ - -#ifndef _KEYS_KEYRING_TYPE_H -#define _KEYS_KEYRING_TYPE_H - -#include -#include - -#endif /* _KEYS_KEYRING_TYPE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Keyring key type + * + * Copyright (C) 2008, 2013 Red Hat, Inc. All Rights Reserved. + * Written by David Howells (dhowells@redhat.com) + */ + +#ifndef _KEYS_KEYRING_TYPE_H +#define _KEYS_KEYRING_TYPE_H + +#include +#include + +#endif /* _KEYS_KEYRING_TYPE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_caam.h b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_caam.h index a6b2bb0eb1..73fe2f32f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_caam.h +++ b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_caam.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2021 Pengutronix, Ahmad Fatoum - */ - -#ifndef __CAAM_TRUSTED_KEY_H -#define __CAAM_TRUSTED_KEY_H - -extern struct trusted_key_ops trusted_key_caam_ops; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2021 Pengutronix, Ahmad Fatoum + */ + +#ifndef __CAAM_TRUSTED_KEY_H +#define __CAAM_TRUSTED_KEY_H + +extern struct trusted_key_ops trusted_key_caam_ops; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_dcp.h b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_dcp.h index 6ba01ab82c..9aaa42075b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_dcp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_dcp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2021 sigma star gmbh - */ - -#ifndef TRUSTED_DCP_H -#define TRUSTED_DCP_H - -extern struct trusted_key_ops dcp_trusted_key_ops; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2021 sigma star gmbh + */ + +#ifndef TRUSTED_DCP_H +#define TRUSTED_DCP_H + +extern struct trusted_key_ops dcp_trusted_key_ops; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_tee.h b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_tee.h index b72482085e..151be25a97 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_tee.h +++ b/image/debian/UFI003_MB_V02/kernel/include/keys/trusted_tee.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019-2021 Linaro Ltd. - * - * Author: - * Sumit Garg - */ - -#ifndef __TEE_TRUSTED_KEY_H -#define __TEE_TRUSTED_KEY_H - -#include - -extern struct trusted_key_ops trusted_key_tee_ops; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019-2021 Linaro Ltd. + * + * Author: + * Sumit Garg + */ + +#ifndef __TEE_TRUSTED_KEY_H +#define __TEE_TRUSTED_KEY_H + +#include + +extern struct trusted_key_ops trusted_key_tee_ops; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/adxl.h b/image/debian/UFI003_MB_V02/kernel/include/linux/adxl.h index 2163560686..2a629acb4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/adxl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/adxl.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Address translation interface via ACPI DSM. - * Copyright (C) 2018 Intel Corporation - */ - -#ifndef _LINUX_ADXL_H -#define _LINUX_ADXL_H - -const char * const *adxl_get_component_names(void); -int adxl_decode(u64 addr, u64 component_values[]); - -#endif /* _LINUX_ADXL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Address translation interface via ACPI DSM. + * Copyright (C) 2018 Intel Corporation + */ + +#ifndef _LINUX_ADXL_H +#define _LINUX_ADXL_H + +const char * const *adxl_get_component_names(void); +int adxl_decode(u64 addr, u64 component_values[]); + +#endif /* _LINUX_ADXL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/array_size.h b/image/debian/UFI003_MB_V02/kernel/include/linux/array_size.h index fcc4841d67..06d7d83196 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/array_size.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/array_size.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_ARRAY_SIZE_H -#define _LINUX_ARRAY_SIZE_H - -#include - -/** - * ARRAY_SIZE - get the number of elements in array @arr - * @arr: array to be sized - */ -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) - -#endif /* _LINUX_ARRAY_SIZE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_ARRAY_SIZE_H +#define _LINUX_ARRAY_SIZE_H + +#include + +/** + * ARRAY_SIZE - get the number of elements in array @arr + * @arr: array to be sized + */ +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) + +#endif /* _LINUX_ARRAY_SIZE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/atm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/atm.h index 628b0c4ecb..4b50fd0a6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/atm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/atm.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* atm.h - general ATM declarations */ -#ifndef _LINUX_ATM_H -#define _LINUX_ATM_H - -#include - -#ifdef CONFIG_COMPAT -#include -struct compat_atmif_sioc { - int number; - int length; - compat_uptr_t arg; -}; -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* atm.h - general ATM declarations */ +#ifndef _LINUX_ATM_H +#define _LINUX_ATM_H + +#include + +#ifdef CONFIG_COMPAT +#include +struct compat_atmif_sioc { + int number; + int length; + compat_uptr_t arg; +}; +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/auto_dev-ioctl.h b/image/debian/UFI003_MB_V02/kernel/include/linux/auto_dev-ioctl.h index 7e91b200fb..6e1ca6f95f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/auto_dev-ioctl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/auto_dev-ioctl.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2008 Red Hat, Inc. All rights reserved. - * Copyright 2008 Ian Kent - */ - -#ifndef _LINUX_AUTO_DEV_IOCTL_H -#define _LINUX_AUTO_DEV_IOCTL_H - -#include -#endif /* _LINUX_AUTO_DEV_IOCTL_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2008 Red Hat, Inc. All rights reserved. + * Copyright 2008 Ian Kent + */ + +#ifndef _LINUX_AUTO_DEV_IOCTL_H +#define _LINUX_AUTO_DEV_IOCTL_H + +#include +#endif /* _LINUX_AUTO_DEV_IOCTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/auto_fs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/auto_fs.h index 1ec5780fba..893f952ca4 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/auto_fs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/auto_fs.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 1997 Transmeta Corporation - All Rights Reserved - */ - -#ifndef _LINUX_AUTO_FS_H -#define _LINUX_AUTO_FS_H - -#include -#include -#include -#endif /* _LINUX_AUTO_FS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 1997 Transmeta Corporation - All Rights Reserved + */ + +#ifndef _LINUX_AUTO_FS_H +#define _LINUX_AUTO_FS_H + +#include +#include +#include +#endif /* _LINUX_AUTO_FS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/auxvec.h b/image/debian/UFI003_MB_V02/kernel/include/linux/auxvec.h index 67a523e5a4..407f7005e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/auxvec.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_AUXVEC_H -#define _LINUX_AUXVEC_H - -#include - -#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */ - /* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */ -#endif /* _LINUX_AUXVEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_AUXVEC_H +#define _LINUX_AUXVEC_H + +#include + +#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */ + /* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */ +#endif /* _LINUX_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-pci.h b/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-pci.h index 4f602ceaa0..ca544e1d35 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-pci.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-pci.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BLK_MQ_PCI_H -#define _LINUX_BLK_MQ_PCI_H - -struct blk_mq_queue_map; -struct pci_dev; - -void blk_mq_pci_map_queues(struct blk_mq_queue_map *qmap, struct pci_dev *pdev, - int offset); - -#endif /* _LINUX_BLK_MQ_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BLK_MQ_PCI_H +#define _LINUX_BLK_MQ_PCI_H + +struct blk_mq_queue_map; +struct pci_dev; + +void blk_mq_pci_map_queues(struct blk_mq_queue_map *qmap, struct pci_dev *pdev, + int offset); + +#endif /* _LINUX_BLK_MQ_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-virtio.h b/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-virtio.h index 6f2a245b01..13226e9b22 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-virtio.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/blk-mq-virtio.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BLK_MQ_VIRTIO_H -#define _LINUX_BLK_MQ_VIRTIO_H - -struct blk_mq_queue_map; -struct virtio_device; - -void blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap, - struct virtio_device *vdev, int first_vec); - -#endif /* _LINUX_BLK_MQ_VIRTIO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BLK_MQ_VIRTIO_H +#define _LINUX_BLK_MQ_VIRTIO_H + +struct blk_mq_queue_map; +struct virtio_device; + +void blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap, + struct virtio_device *vdev, int first_vec); + +#endif /* _LINUX_BLK_MQ_VIRTIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/bpf_trace.h b/image/debian/UFI003_MB_V02/kernel/include/linux/bpf_trace.h index cbd9d94821..ddf896abcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/bpf_trace.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/bpf_trace.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_BPF_TRACE_H__ -#define __LINUX_BPF_TRACE_H__ - -#include - -#endif /* __LINUX_BPF_TRACE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_BPF_TRACE_H__ +#define __LINUX_BPF_TRACE_H__ + +#include + +#endif /* __LINUX_BPF_TRACE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/btrfs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/btrfs.h index ca85e99e05..9a37a45ec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/btrfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/btrfs.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BTRFS_H -#define _LINUX_BTRFS_H - -#include - -#endif /* _LINUX_BTRFS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BTRFS_H +#define _LINUX_BTRFS_H + +#include + +#endif /* _LINUX_BTRFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/byteorder/big_endian.h b/image/debian/UFI003_MB_V02/kernel/include/linux/byteorder/big_endian.h index 3d61df47f5..d64a524d3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/byteorder/big_endian.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/byteorder/big_endian.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BYTEORDER_BIG_ENDIAN_H -#define _LINUX_BYTEORDER_BIG_ENDIAN_H - -#include - -#ifndef CONFIG_CPU_BIG_ENDIAN -#warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN -#endif - -#include -#endif /* _LINUX_BYTEORDER_BIG_ENDIAN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BYTEORDER_BIG_ENDIAN_H +#define _LINUX_BYTEORDER_BIG_ENDIAN_H + +#include + +#ifndef CONFIG_CPU_BIG_ENDIAN +#warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN +#endif + +#include +#endif /* _LINUX_BYTEORDER_BIG_ENDIAN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/clk/imx.h b/image/debian/UFI003_MB_V02/kernel/include/linux/clk/imx.h index 700670e1b2..75a0d96965 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/clk/imx.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/clk/imx.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 Freescale Semiconductor, Inc. - * - * Author: Lee Jones - */ - -#ifndef __LINUX_CLK_IMX_H -#define __LINUX_CLK_IMX_H - -#include - -void imx6sl_set_wait_clk(bool enter); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 Freescale Semiconductor, Inc. + * + * Author: Lee Jones + */ + +#ifndef __LINUX_CLK_IMX_H +#define __LINUX_CLK_IMX_H + +#include + +void imx6sl_set_wait_clk(bool enter); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/clk/mxs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/clk/mxs.h index b1d8b41036..2674e607ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/clk/mxs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/clk/mxs.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2013 Freescale Semiconductor, Inc. - */ - -#ifndef __LINUX_CLK_MXS_H -#define __LINUX_CLK_MXS_H - -int mxs_saif_clkmux_select(unsigned int clkmux); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2013 Freescale Semiconductor, Inc. + */ + +#ifndef __LINUX_CLK_MXS_H +#define __LINUX_CLK_MXS_H + +int mxs_saif_clkmux_select(unsigned int clkmux); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/clocksource_ids.h b/image/debian/UFI003_MB_V02/kernel/include/linux/clocksource_ids.h index 6c03f6320f..2bb4d8c2f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/clocksource_ids.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/clocksource_ids.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_CLOCKSOURCE_IDS_H -#define _LINUX_CLOCKSOURCE_IDS_H - -/* Enum to give clocksources a unique identifier */ -enum clocksource_ids { - CSID_GENERIC = 0, - CSID_ARM_ARCH_COUNTER, - CSID_X86_TSC_EARLY, - CSID_X86_TSC, - CSID_X86_KVM_CLK, - CSID_X86_ART, - CSID_MAX, -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CLOCKSOURCE_IDS_H +#define _LINUX_CLOCKSOURCE_IDS_H + +/* Enum to give clocksources a unique identifier */ +enum clocksource_ids { + CSID_GENERIC = 0, + CSID_ARM_ARCH_COUNTER, + CSID_X86_TSC_EARLY, + CSID_X86_TSC, + CSID_X86_KVM_CLK, + CSID_X86_ART, + CSID_MAX, +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/const.h b/image/debian/UFI003_MB_V02/kernel/include/linux/const.h index 2f690ea0f6..81b8aae5a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/const.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/const.h @@ -1,6 +1,6 @@ -#ifndef _LINUX_CONST_H -#define _LINUX_CONST_H - -#include - -#endif /* _LINUX_CONST_H */ +#ifndef _LINUX_CONST_H +#define _LINUX_CONST_H + +#include + +#endif /* _LINUX_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/coresight-stm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/coresight-stm.h index 975ca9d5e9..74714b59f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/coresight-stm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/coresight-stm.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_CORESIGHT_STM_H_ -#define __LINUX_CORESIGHT_STM_H_ - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_CORESIGHT_STM_H_ +#define __LINUX_CORESIGHT_STM_H_ + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/cpuidle_haltpoll.h b/image/debian/UFI003_MB_V02/kernel/include/linux/cpuidle_haltpoll.h index 02d62ed59a..d50c1e0411 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/cpuidle_haltpoll.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/cpuidle_haltpoll.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CPUIDLE_HALTPOLL_H -#define _CPUIDLE_HALTPOLL_H - -#ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL -#include -#else -static inline void arch_haltpoll_enable(unsigned int cpu) -{ -} - -static inline void arch_haltpoll_disable(unsigned int cpu) -{ -} -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CPUIDLE_HALTPOLL_H +#define _CPUIDLE_HALTPOLL_H + +#ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL +#include +#else +static inline void arch_haltpoll_enable(unsigned int cpu) +{ +} + +static inline void arch_haltpoll_disable(unsigned int cpu) +{ +} +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/crc32c.h b/image/debian/UFI003_MB_V02/kernel/include/linux/crc32c.h index 460216d022..357ae4611a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/crc32c.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/crc32c.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_CRC32C_H -#define _LINUX_CRC32C_H - -#include - -extern u32 crc32c(u32 crc, const void *address, unsigned int length); - -/* This macro exists for backwards-compatibility. */ -#define crc32c_le crc32c - -#endif /* _LINUX_CRC32C_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CRC32C_H +#define _LINUX_CRC32C_H + +#include + +extern u32 crc32c(u32 crc, const void *address, unsigned int length); + +/* This macro exists for backwards-compatibility. */ +#define crc32c_le crc32c + +#endif /* _LINUX_CRC32C_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/crc4.h b/image/debian/UFI003_MB_V02/kernel/include/linux/crc4.h index 2a91bfb06e..bd2c90556a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/crc4.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/crc4.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_CRC4_H -#define _LINUX_CRC4_H - -#include - -extern uint8_t crc4(uint8_t c, uint64_t x, int bits); - -#endif /* _LINUX_CRC4_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CRC4_H +#define _LINUX_CRC4_H + +#include + +extern uint8_t crc4(uint8_t c, uint64_t x, int bits); + +#endif /* _LINUX_CRC4_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/crc7.h b/image/debian/UFI003_MB_V02/kernel/include/linux/crc7.h index 05926470df..b462842f3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/crc7.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/crc7.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_CRC7_H -#define _LINUX_CRC7_H -#include - -extern const u8 crc7_be_syndrome_table[256]; - -static inline u8 crc7_be_byte(u8 crc, u8 data) -{ - return crc7_be_syndrome_table[crc ^ data]; -} - -extern u8 crc7_be(u8 crc, const u8 *buffer, size_t len); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CRC7_H +#define _LINUX_CRC7_H +#include + +extern const u8 crc7_be_syndrome_table[256]; + +static inline u8 crc7_be_byte(u8 crc, u8 data) +{ + return crc7_be_syndrome_table[crc ^ data]; +} + +extern u8 crc7_be(u8 crc, const u8 *buffer, size_t len); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dasd_mod.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dasd_mod.h index 4dace5df68..14e6cf8c62 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dasd_mod.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dasd_mod.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DASD_MOD_H -#define DASD_MOD_H - -#include - -struct gendisk; - -extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DASD_MOD_H +#define DASD_MOD_H + +#include + +struct gendisk; + +extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/bunzip2.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/bunzip2.h index 68afaaee7f..5860163942 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/bunzip2.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/bunzip2.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DECOMPRESS_BUNZIP2_H -#define DECOMPRESS_BUNZIP2_H - -int bunzip2(unsigned char *inbuf, long len, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *pos, - void(*error)(char *x)); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DECOMPRESS_BUNZIP2_H +#define DECOMPRESS_BUNZIP2_H + +int bunzip2(unsigned char *inbuf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *pos, + void(*error)(char *x)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/inflate.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/inflate.h index fdce4c6f46..b65f24e7d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/inflate.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/inflate.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_DECOMPRESS_INFLATE_H -#define LINUX_DECOMPRESS_INFLATE_H - -int gunzip(unsigned char *inbuf, long len, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *pos, - void(*error_fn)(char *x)); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_DECOMPRESS_INFLATE_H +#define LINUX_DECOMPRESS_INFLATE_H + +int gunzip(unsigned char *inbuf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *pos, + void(*error_fn)(char *x)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlz4.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlz4.h index ca410c8e70..5a235f605d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlz4.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlz4.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DECOMPRESS_UNLZ4_H -#define DECOMPRESS_UNLZ4_H - -int unlz4(unsigned char *inbuf, long len, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *pos, - void(*error)(char *x)); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DECOMPRESS_UNLZ4_H +#define DECOMPRESS_UNLZ4_H + +int unlz4(unsigned char *inbuf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *pos, + void(*error)(char *x)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzma.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzma.h index beb184ebf3..1c930f1251 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzma.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzma.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DECOMPRESS_UNLZMA_H -#define DECOMPRESS_UNLZMA_H - -int unlzma(unsigned char *, long, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *posp, - void(*error)(char *x) - ); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DECOMPRESS_UNLZMA_H +#define DECOMPRESS_UNLZMA_H + +int unlzma(unsigned char *, long, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *posp, + void(*error)(char *x) + ); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzo.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzo.h index da1c63023f..550ae8783d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzo.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unlzo.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DECOMPRESS_UNLZO_H -#define DECOMPRESS_UNLZO_H - -int unlzo(unsigned char *inbuf, long len, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *pos, - void(*error)(char *x)); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DECOMPRESS_UNLZO_H +#define DECOMPRESS_UNLZO_H + +int unlzo(unsigned char *inbuf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *pos, + void(*error)(char *x)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unzstd.h b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unzstd.h index 7197e90429..56d539ae88 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unzstd.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/decompress/unzstd.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_DECOMPRESS_UNZSTD_H -#define LINUX_DECOMPRESS_UNZSTD_H - -int unzstd(unsigned char *inbuf, long len, - long (*fill)(void*, unsigned long), - long (*flush)(void*, unsigned long), - unsigned char *output, - long *pos, - void (*error_fn)(char *x)); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_DECOMPRESS_UNZSTD_H +#define LINUX_DECOMPRESS_UNZSTD_H + +int unzstd(unsigned char *inbuf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *output, + long *pos, + void (*error_fn)(char *x)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dirent.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dirent.h index 9b4b5a4434..99002220cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dirent.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dirent.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_DIRENT_H -#define _LINUX_DIRENT_H - -struct linux_dirent64 { - u64 d_ino; - s64 d_off; - unsigned short d_reclen; - unsigned char d_type; - char d_name[]; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_DIRENT_H +#define _LINUX_DIRENT_H + +struct linux_dirent64 { + u64 d_ino; + s64 d_off; + unsigned short d_reclen; + unsigned char d_type; + char d_name[]; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/idma64.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/idma64.h index ed6e279576..621cfae605 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/idma64.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/idma64.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Definitions for the Intel integrated DMA 64-bit - * - * Copyright (C) 2019 Intel Corporation - */ - -#ifndef __LINUX_DMA_IDMA64_H__ -#define __LINUX_DMA_IDMA64_H__ - -/* Platform driver name */ -#define LPSS_IDMA64_DRIVER_NAME "idma64" - -#endif /* __LINUX_DMA_IDMA64_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Definitions for the Intel integrated DMA 64-bit + * + * Copyright (C) 2019 Intel Corporation + */ + +#ifndef __LINUX_DMA_IDMA64_H__ +#define __LINUX_DMA_IDMA64_H__ + +/* Platform driver name */ +#define LPSS_IDMA64_DRIVER_NAME "idma64" + +#endif /* __LINUX_DMA_IDMA64_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/k3-event-router.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/k3-event-router.h index 821f2dfc6c..e3f88b2f87 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/k3-event-router.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/k3-event-router.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com - */ - -#ifndef K3_EVENT_ROUTER_ -#define K3_EVENT_ROUTER_ - -#include - -struct k3_event_route_data { - void *priv; - int (*set_event)(void *priv, u32 event); -}; - -#endif /* K3_EVENT_ROUTER_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com + */ + +#ifndef K3_EVENT_ROUTER_ +#define K3_EVENT_ROUTER_ + +#include + +struct k3_event_route_data { + void *priv; + int (*set_event)(void *priv, u32 event); +}; + +#endif /* K3_EVENT_ROUTER_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/qcom_adm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/qcom_adm.h index 59bc661e79..af20df674f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/qcom_adm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/qcom_adm.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -#ifndef __LINUX_DMA_QCOM_ADM_H -#define __LINUX_DMA_QCOM_ADM_H - -#include - -struct qcom_adm_peripheral_config { - u32 crci; - u32 mux; -}; - -#endif /* __LINUX_DMA_QCOM_ADM_H */ +// SPDX-License-Identifier: GPL-2.0-only +#ifndef __LINUX_DMA_QCOM_ADM_H +#define __LINUX_DMA_QCOM_ADM_H + +#include + +struct qcom_adm_peripheral_config { + u32 crci; + u32 mux; +}; + +#endif /* __LINUX_DMA_QCOM_ADM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/xilinx_dpdma.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/xilinx_dpdma.h index 752f22ad59..02a4adf892 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dma/xilinx_dpdma.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dma/xilinx_dpdma.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_DMA_XILINX_DPDMA_H -#define __LINUX_DMA_XILINX_DPDMA_H - -#include - -struct xilinx_dpdma_peripheral_config { - bool video_group; -}; - -#endif /* __LINUX_DMA_XILINX_DPDMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_DMA_XILINX_DPDMA_H +#define __LINUX_DMA_XILINX_DPDMA_H + +#include + +struct xilinx_dpdma_peripheral_config { + bool video_group; +}; + +#endif /* __LINUX_DMA_XILINX_DPDMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dqblk_v1.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dqblk_v1.h index f4f6aa8e78..85d837a148 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dqblk_v1.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dqblk_v1.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * File with in-memory structures of old quota format - */ - -#ifndef _LINUX_DQBLK_V1_H -#define _LINUX_DQBLK_V1_H - -/* Numbers of blocks needed for updates */ -#define V1_INIT_ALLOC 1 -#define V1_INIT_REWRITE 1 -#define V1_DEL_ALLOC 0 -#define V1_DEL_REWRITE 2 - -#endif /* _LINUX_DQBLK_V1_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * File with in-memory structures of old quota format + */ + +#ifndef _LINUX_DQBLK_V1_H +#define _LINUX_DQBLK_V1_H + +/* Numbers of blocks needed for updates */ +#define V1_INIT_ALLOC 1 +#define V1_INIT_REWRITE 1 +#define V1_DEL_ALLOC 0 +#define V1_DEL_REWRITE 2 + +#endif /* _LINUX_DQBLK_V1_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/drbd_config.h b/image/debian/UFI003_MB_V02/kernel/include/linux/drbd_config.h index d2f0ec3677..d215365c6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/drbd_config.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/drbd_config.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * drbd_config.h - * DRBD's compile time configuration. - */ - -#ifndef DRBD_CONFIG_H -#define DRBD_CONFIG_H - -extern const char *drbd_buildtag(void); - -#define REL_VERSION "8.4.11" -#define PRO_VERSION_MIN 86 -#define PRO_VERSION_MAX 101 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * drbd_config.h + * DRBD's compile time configuration. + */ + +#ifndef DRBD_CONFIG_H +#define DRBD_CONFIG_H + +extern const char *drbd_buildtag(void); + +#define REL_VERSION "8.4.11" +#define PRO_VERSION_MIN 86 +#define PRO_VERSION_MAX 101 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ds2782_battery.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ds2782_battery.h index ad5e94f9b2..fb6c97e109 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ds2782_battery.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ds2782_battery.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_DS2782_BATTERY_H -#define __LINUX_DS2782_BATTERY_H - -struct ds278x_platform_data { - int rsns; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_DS2782_BATTERY_H +#define __LINUX_DS2782_BATTERY_H + +struct ds278x_platform_data { + int rsns; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/dsa/mv88e6xxx.h b/image/debian/UFI003_MB_V02/kernel/include/linux/dsa/mv88e6xxx.h index 619042948c..8c3d45eca4 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/dsa/mv88e6xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/dsa/mv88e6xxx.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 - * Copyright 2021 NXP - */ - -#ifndef _NET_DSA_TAG_MV88E6XXX_H -#define _NET_DSA_TAG_MV88E6XXX_H - -#include - -#define MV88E6XXX_VID_STANDALONE 0 -#define MV88E6XXX_VID_BRIDGED (VLAN_N_VID - 1) - -#endif +/* SPDX-License-Identifier: GPL-2.0 + * Copyright 2021 NXP + */ + +#ifndef _NET_DSA_TAG_MV88E6XXX_H +#define _NET_DSA_TAG_MV88E6XXX_H + +#include + +#define MV88E6XXX_VID_STANDALONE 0 +#define MV88E6XXX_VID_BRIDGED (VLAN_N_VID - 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/elfnote-lto.h b/image/debian/UFI003_MB_V02/kernel/include/linux/elfnote-lto.h index 1a32f82afa..d4635a3ecc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/elfnote-lto.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/elfnote-lto.h @@ -1,14 +1,14 @@ -#ifndef __ELFNOTE_LTO_H -#define __ELFNOTE_LTO_H - -#include - -#define LINUX_ELFNOTE_LTO_INFO 0x101 - -#ifdef CONFIG_LTO -#define BUILD_LTO_INFO ELFNOTE32("Linux", LINUX_ELFNOTE_LTO_INFO, 1) -#else -#define BUILD_LTO_INFO ELFNOTE32("Linux", LINUX_ELFNOTE_LTO_INFO, 0) -#endif - -#endif /* __ELFNOTE_LTO_H */ +#ifndef __ELFNOTE_LTO_H +#define __ELFNOTE_LTO_H + +#include + +#define LINUX_ELFNOTE_LTO_INFO 0x101 + +#ifdef CONFIG_LTO +#define BUILD_LTO_INFO ELFNOTE32("Linux", LINUX_ELFNOTE_LTO_INFO, 1) +#else +#define BUILD_LTO_INFO ELFNOTE32("Linux", LINUX_ELFNOTE_LTO_INFO, 0) +#endif + +#endif /* __ELFNOTE_LTO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/errname.h b/image/debian/UFI003_MB_V02/kernel/include/linux/errname.h index 4084d0fd23..e8576ad90c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/errname.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/errname.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_ERRNAME_H -#define _LINUX_ERRNAME_H - -#include - -#ifdef CONFIG_SYMBOLIC_ERRNAME -const char *errname(int err); -#else -static inline const char *errname(int err) -{ - return NULL; -} -#endif - -#endif /* _LINUX_ERRNAME_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_ERRNAME_H +#define _LINUX_ERRNAME_H + +#include + +#ifdef CONFIG_SYMBOLIC_ERRNAME +const char *errname(int err); +#else +static inline const char *errname(int err) +{ + return NULL; +} +#endif + +#endif /* _LINUX_ERRNAME_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/fips.h b/image/debian/UFI003_MB_V02/kernel/include/linux/fips.h index ebff8d9d63..c6961e932f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/fips.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/fips.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _FIPS_H -#define _FIPS_H - -#ifdef CONFIG_CRYPTO_FIPS -extern int fips_enabled; -extern struct atomic_notifier_head fips_fail_notif_chain; - -void fips_fail_notify(void); - -#else -#define fips_enabled 0 - -static inline void fips_fail_notify(void) {} - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _FIPS_H +#define _FIPS_H + +#ifdef CONFIG_CRYPTO_FIPS +extern int fips_enabled; +extern struct atomic_notifier_head fips_fail_notif_chain; + +void fips_fail_notify(void); + +#else +#define fips_enabled 0 + +static inline void fips_fail_notify(void) {} + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/broadcom/tee_bnxt_fw.h b/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/broadcom/tee_bnxt_fw.h index 57a0f28f64..f24c82d6ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/broadcom/tee_bnxt_fw.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/broadcom/tee_bnxt_fw.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: BSD-2-Clause */ -/* - * Copyright 2019 Broadcom. - */ - -#ifndef _BROADCOM_TEE_BNXT_FW_H -#define _BROADCOM_TEE_BNXT_FW_H - -#include - -int tee_bnxt_fw_load(void); -int tee_bnxt_copy_coredump(void *buf, u32 offset, u32 size); - -#endif /* _BROADCOM_TEE_BNXT_FW_H */ +/* SPDX-License-Identifier: BSD-2-Clause */ +/* + * Copyright 2019 Broadcom. + */ + +#ifndef _BROADCOM_TEE_BNXT_FW_H +#define _BROADCOM_TEE_BNXT_FW_H + +#include + +int tee_bnxt_fw_load(void); +int tee_bnxt_copy_coredump(void *buf, u32 offset, u32 size); + +#endif /* _BROADCOM_TEE_BNXT_FW_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/imx/s4.h b/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/imx/s4.h index 047fad84d3..9e34923ae1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/imx/s4.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/firmware/imx/s4.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2021 NXP - * - * Header file for the IPC implementation. - */ - -#ifndef _S4_IPC_H -#define _S4_IPC_H - -struct imx_s4_ipc; - -struct imx_s4_rpc_msg { - uint8_t ver; - uint8_t size; - uint8_t cmd; - uint8_t tag; -} __packed; - -#endif /* _S4_IPC_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + * + * Header file for the IPC implementation. + */ + +#ifndef _S4_IPC_H +#define _S4_IPC_H + +struct imx_s4_ipc; + +struct imx_s4_rpc_msg { + uint8_t ver; + uint8_t size; + uint8_t cmd; + uint8_t tag; +} __packed; + +#endif /* _S4_IPC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/fpu.h b/image/debian/UFI003_MB_V02/kernel/include/linux/fpu.h index 2c40c194bc..2fb63e2291 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/fpu.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _LINUX_FPU_H -#define _LINUX_FPU_H - -#ifdef _LINUX_FPU_COMPILATION_UNIT -#error FP code must be compiled separately. See Documentation/core-api/floating-point.rst. -#endif - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _LINUX_FPU_H +#define _LINUX_FPU_H + +#ifdef _LINUX_FPU_COMPILATION_UNIT +#error FP code must be compiled separately. See Documentation/core-api/floating-point.rst. +#endif + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/fsl/edac.h b/image/debian/UFI003_MB_V02/kernel/include/linux/fsl/edac.h index a4f53bd552..148a297d75 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/fsl/edac.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/fsl/edac.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef FSL_EDAC_H -#define FSL_EDAC_H - -struct mpc85xx_edac_pci_plat_data { - struct device_node *of_node; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef FSL_EDAC_H +#define FSL_EDAC_H + +struct mpc85xx_edac_pci_plat_data { + struct device_node *of_node; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/fsldma.h b/image/debian/UFI003_MB_V02/kernel/include/linux/fsldma.h index bc0ca7e97c..c523d716eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/fsldma.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/fsldma.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - */ - -#ifndef FSL_DMA_H -#define FSL_DMA_H -/* fsl dma API for enxternal start */ -int fsl_dma_external_start(struct dma_chan *dchan, int enable); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + */ + +#ifndef FSL_DMA_H +#define FSL_DMA_H +/* fsl dma API for enxternal start */ +int fsl_dma_external_start(struct dma_chan *dchan, int enable); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/gcd.h b/image/debian/UFI003_MB_V02/kernel/include/linux/gcd.h index 5ef44f5c7e..cb572677fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/gcd.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/gcd.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _GCD_H -#define _GCD_H - -#include - -unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__; - -#endif /* _GCD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _GCD_H +#define _GCD_H + +#include + +unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__; + +#endif /* _GCD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/glob.h b/image/debian/UFI003_MB_V02/kernel/include/linux/glob.h index e36291ff5e..861327b33e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/glob.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/glob.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_GLOB_H -#define _LINUX_GLOB_H - -#include /* For bool */ -#include /* For __pure */ - -bool __pure glob_match(char const *pat, char const *str); - -#endif /* _LINUX_GLOB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_GLOB_H +#define _LINUX_GLOB_H + +#include /* For bool */ +#include /* For __pure */ + +bool __pure glob_match(char const *pat, char const *str); + +#endif /* _LINUX_GLOB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/greybus/manifest.h b/image/debian/UFI003_MB_V02/kernel/include/linux/greybus/manifest.h index 982bc76e33..830301b7a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/greybus/manifest.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/greybus/manifest.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Greybus manifest parsing - * - * Copyright 2014 Google Inc. - * Copyright 2014 Linaro Ltd. - */ - -#ifndef __MANIFEST_H -#define __MANIFEST_H - -#include - -struct gb_interface; -bool gb_manifest_parse(struct gb_interface *intf, void *data, size_t size); - -#endif /* __MANIFEST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Greybus manifest parsing + * + * Copyright 2014 Google Inc. + * Copyright 2014 Linaro Ltd. + */ + +#ifndef __MANIFEST_H +#define __MANIFEST_H + +#include + +struct gb_interface; +bool gb_manifest_parse(struct gb_interface *intf, void *data, size_t size); + +#endif /* __MANIFEST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/group_cpus.h b/image/debian/UFI003_MB_V02/kernel/include/linux/group_cpus.h index a2a2f28010..e42807ec61 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/group_cpus.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/group_cpus.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2016 Thomas Gleixner. - * Copyright (C) 2016-2017 Christoph Hellwig. - */ - -#ifndef __LINUX_GROUP_CPUS_H -#define __LINUX_GROUP_CPUS_H -#include -#include - -struct cpumask *group_cpus_evenly(unsigned int numgrps); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2016 Thomas Gleixner. + * Copyright (C) 2016-2017 Christoph Hellwig. + */ + +#ifndef __LINUX_GROUP_CPUS_H +#define __LINUX_GROUP_CPUS_H +#include +#include + +struct cpumask *group_cpus_evenly(unsigned int numgrps); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/host1x_context_bus.h b/image/debian/UFI003_MB_V02/kernel/include/linux/host1x_context_bus.h index 5edaa59eb6..72462737a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/host1x_context_bus.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/host1x_context_bus.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2021, NVIDIA Corporation. All rights reserved. - */ - -#ifndef __LINUX_HOST1X_CONTEXT_BUS_H -#define __LINUX_HOST1X_CONTEXT_BUS_H - -#include - -#ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS -extern struct bus_type host1x_context_device_bus_type; -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2021, NVIDIA Corporation. All rights reserved. + */ + +#ifndef __LINUX_HOST1X_CONTEXT_BUS_H +#define __LINUX_HOST1X_CONTEXT_BUS_H + +#include + +#ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS +extern struct bus_type host1x_context_device_bus_type; +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/if_ltalk.h b/image/debian/UFI003_MB_V02/kernel/include/linux/if_ltalk.h index 6d114c2b2e..4cc1c0b778 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/if_ltalk.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/if_ltalk.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_LTALK_H -#define __LINUX_LTALK_H - -#include - -extern struct net_device *alloc_ltalkdev(int sizeof_priv); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_LTALK_H +#define __LINUX_LTALK_H + +#include + +extern struct net_device *alloc_ltalkdev(int sizeof_priv); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/if_phonet.h b/image/debian/UFI003_MB_V02/kernel/include/linux/if_phonet.h index 0217891b2f..2d8486168e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/if_phonet.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/if_phonet.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * File: if_phonet.h - * - * Phonet interface kernel definitions - * - * Copyright (C) 2008 Nokia Corporation. All rights reserved. - */ -#ifndef LINUX_IF_PHONET_H -#define LINUX_IF_PHONET_H - -#include - -extern const struct header_ops phonet_header_ops; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * File: if_phonet.h + * + * Phonet interface kernel definitions + * + * Copyright (C) 2008 Nokia Corporation. All rights reserved. + */ +#ifndef LINUX_IF_PHONET_H +#define LINUX_IF_PHONET_H + +#include + +extern const struct header_ops phonet_header_ops; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/accel/kxcjk_1013.h b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/accel/kxcjk_1013.h index e7456553cf..ea0ecb7743 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/accel/kxcjk_1013.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/accel/kxcjk_1013.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * KXCJK-1013 3-axis accelerometer Interface - * Copyright (c) 2014, Intel Corporation. - */ - -#ifndef __IIO_KXCJK_1013_H__ -#define __IIO_KXCJK_1013_H__ - -#include - -struct kxcjk_1013_platform_data { - bool active_high_intr; - struct iio_mount_matrix orientation; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * KXCJK-1013 3-axis accelerometer Interface + * Copyright (c) 2014, Intel Corporation. + */ + +#ifndef __IIO_KXCJK_1013_H__ +#define __IIO_KXCJK_1013_H__ + +#include + +struct kxcjk_1013_platform_data { + bool active_high_intr; + struct iio_mount_matrix orientation; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/configfs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/configfs.h index a41a3742c3..84cab3f47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/configfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/configfs.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Industrial I/O configfs support - * - * Copyright (c) 2015 Intel Corporation - */ -#ifndef __IIO_CONFIGFS -#define __IIO_CONFIGFS - -extern struct configfs_subsystem iio_configfs_subsys; - -#endif /* __IIO_CONFIGFS */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Industrial I/O configfs support + * + * Copyright (c) 2015 Intel Corporation + */ +#ifndef __IIO_CONFIGFS +#define __IIO_CONFIGFS + +extern struct configfs_subsystem iio_configfs_subsys; + +#endif /* __IIO_CONFIGFS */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/ad5504.h b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/ad5504.h index 9675569816..9f23c90486 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/ad5504.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/ad5504.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * AD5504 SPI DAC driver - * - * Copyright 2011 Analog Devices Inc. - */ - -#ifndef SPI_AD5504_H_ -#define SPI_AD5504_H_ - -struct ad5504_platform_data { - u16 vref_mv; -}; - -#endif /* SPI_AD5504_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * AD5504 SPI DAC driver + * + * Copyright 2011 Analog Devices Inc. + */ + +#ifndef SPI_AD5504_H_ +#define SPI_AD5504_H_ + +struct ad5504_platform_data { + u16 vref_mv; +}; + +#endif /* SPI_AD5504_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/max517.h b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/max517.h index f573ed21f5..4923645a18 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/max517.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/iio/dac/max517.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * MAX517 DAC driver - * - * Copyright 2011 Roland Stigge - */ -#ifndef IIO_DAC_MAX517_H_ -#define IIO_DAC_MAX517_H_ - -struct max517_platform_data { - u16 vref_mv[8]; -}; - -#endif /* IIO_DAC_MAX517_H_ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * MAX517 DAC driver + * + * Copyright 2011 Roland Stigge + */ +#ifndef IIO_DAC_MAX517_H_ +#define IIO_DAC_MAX517_H_ + +struct max517_platform_data { + u16 vref_mv[8]; +}; + +#endif /* IIO_DAC_MAX517_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/init_ohci1394_dma.h b/image/debian/UFI003_MB_V02/kernel/include/linux/init_ohci1394_dma.h index b83cf738ea..228afca432 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/init_ohci1394_dma.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/init_ohci1394_dma.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT -extern int __initdata init_ohci1394_dma_early; -extern void __init init_ohci1394_dma_on_all_controllers(void); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT +extern int __initdata init_ohci1394_dma_early; +extern void __init init_ohci1394_dma_on_all_controllers(void); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/instruction_pointer.h b/image/debian/UFI003_MB_V02/kernel/include/linux/instruction_pointer.h index ab61684704..aa0b3ffea9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/instruction_pointer.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/instruction_pointer.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_INSTRUCTION_POINTER_H -#define _LINUX_INSTRUCTION_POINTER_H - -#include - -#define _RET_IP_ (unsigned long)__builtin_return_address(0) - -#ifndef _THIS_IP_ -#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) -#endif - -#endif /* _LINUX_INSTRUCTION_POINTER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_INSTRUCTION_POINTER_H +#define _LINUX_INSTRUCTION_POINTER_H + +#include + +#define _RET_IP_ (unsigned long)__builtin_return_address(0) + +#ifndef _THIS_IP_ +#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) +#endif + +#endif /* _LINUX_INSTRUCTION_POINTER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6.h index 54fe77e03c..94a24b3699 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * IPv6 IOAM - * - * Author: - * Justin Iurman - */ -#ifndef _LINUX_IOAM6_H -#define _LINUX_IOAM6_H - -#include - -#endif /* _LINUX_IOAM6_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * IPv6 IOAM + * + * Author: + * Justin Iurman + */ +#ifndef _LINUX_IOAM6_H +#define _LINUX_IOAM6_H + +#include + +#endif /* _LINUX_IOAM6_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_genl.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_genl.h index 49836f4161..176e67919d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_genl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_genl.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * IPv6 IOAM Generic Netlink API - * - * Author: - * Justin Iurman - */ -#ifndef _LINUX_IOAM6_GENL_H -#define _LINUX_IOAM6_GENL_H - -#include - -#endif /* _LINUX_IOAM6_GENL_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * IPv6 IOAM Generic Netlink API + * + * Author: + * Justin Iurman + */ +#ifndef _LINUX_IOAM6_GENL_H +#define _LINUX_IOAM6_GENL_H + +#include + +#endif /* _LINUX_IOAM6_GENL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_iptunnel.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_iptunnel.h index 858cff3828..07d9dfedd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_iptunnel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ioam6_iptunnel.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * IPv6 IOAM Lightweight Tunnel API - * - * Author: - * Justin Iurman - */ -#ifndef _LINUX_IOAM6_IPTUNNEL_H -#define _LINUX_IOAM6_IPTUNNEL_H - -#include - -#endif /* _LINUX_IOAM6_IPTUNNEL_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * IPv6 IOAM Lightweight Tunnel API + * + * Author: + * Justin Iurman + */ +#ifndef _LINUX_IOAM6_IPTUNNEL_H +#define _LINUX_IOAM6_IPTUNNEL_H + +#include + +#endif /* _LINUX_IOAM6_IPTUNNEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/irqhandler.h b/image/debian/UFI003_MB_V02/kernel/include/linux/irqhandler.h index c8c679e039..72dd1eb3a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/irqhandler.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/irqhandler.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_IRQHANDLER_H -#define _LINUX_IRQHANDLER_H - -/* - * Interrupt flow handler typedefs are defined here to avoid circular - * include dependencies. - */ - -struct irq_desc; - -typedef void (*irq_flow_handler_t)(struct irq_desc *desc); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_IRQHANDLER_H +#define _LINUX_IRQHANDLER_H + +/* + * Interrupt flow handler typedefs are defined here to avoid circular + * include dependencies. + */ + +struct irq_desc; + +typedef void (*irq_flow_handler_t)(struct irq_desc *desc); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/isa-dma.h b/image/debian/UFI003_MB_V02/kernel/include/linux/isa-dma.h index a699f065f1..61504a8c1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/isa-dma.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/isa-dma.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __LINUX_ISA_DMA_H -#define __LINUX_ISA_DMA_H - -#include - -#if defined(CONFIG_PCI) && defined(CONFIG_X86_32) -extern int isa_dma_bridge_buggy; -#else -#define isa_dma_bridge_buggy (0) -#endif - -#endif /* __LINUX_ISA_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __LINUX_ISA_DMA_H +#define __LINUX_ISA_DMA_H + +#include + +#if defined(CONFIG_PCI) && defined(CONFIG_X86_32) +extern int isa_dma_bridge_buggy; +#else +#define isa_dma_bridge_buggy (0) +#endif + +#endif /* __LINUX_ISA_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/kbd_diacr.h b/image/debian/UFI003_MB_V02/kernel/include/linux/kbd_diacr.h index c9a882cd8a..738c7340c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/kbd_diacr.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/kbd_diacr.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DIACR_H -#define _DIACR_H -#include - -extern struct kbdiacruc accent_table[]; -extern unsigned int accent_table_size; - -#endif /* _DIACR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DIACR_H +#define _DIACR_H +#include + +extern struct kbdiacruc accent_table[]; +extern unsigned int accent_table_size; + +#endif /* _DIACR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/l2tp.h b/image/debian/UFI003_MB_V02/kernel/include/linux/l2tp.h index 8335a744b2..0402eda1a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/l2tp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/l2tp.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * L2TP-over-IP socket for L2TPv3. - * - * Author: James Chapman - */ -#ifndef _LINUX_L2TP_H_ -#define _LINUX_L2TP_H_ - -#include -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * L2TP-over-IP socket for L2TPv3. + * + * Author: James Chapman + */ +#ifndef _LINUX_L2TP_H_ +#define _LINUX_L2TP_H_ + +#include +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/lcm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/lcm.h index 936cb6101f..0db3efd56e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/lcm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/lcm.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LCM_H -#define _LCM_H - -#include - -unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__; -unsigned long lcm_not_zero(unsigned long a, unsigned long b) __attribute_const__; - -#endif /* _LCM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LCM_H +#define _LCM_H + +#include + +unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__; +unsigned long lcm_not_zero(unsigned long a, unsigned long b) __attribute_const__; + +#endif /* _LCM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/libfdt.h b/image/debian/UFI003_MB_V02/kernel/include/linux/libfdt.h index f164de2150..90ed4ebfa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/libfdt.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/libfdt.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _INCLUDE_LIBFDT_H_ -#define _INCLUDE_LIBFDT_H_ - -#include -#include "../../scripts/dtc/libfdt/libfdt.h" - -#endif /* _INCLUDE_LIBFDT_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _INCLUDE_LIBFDT_H_ +#define _INCLUDE_LIBFDT_H_ + +#include +#include "../../scripts/dtc/libfdt/libfdt.h" + +#endif /* _INCLUDE_LIBFDT_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mdio-gpio.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mdio-gpio.h index 238a4456a3..cea443a672 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mdio-gpio.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mdio-gpio.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_MDIO_GPIO_H -#define __LINUX_MDIO_GPIO_H - -#define MDIO_GPIO_MDC 0 -#define MDIO_GPIO_MDIO 1 -#define MDIO_GPIO_MDO 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_MDIO_GPIO_H +#define __LINUX_MDIO_GPIO_H + +#define MDIO_GPIO_MDC 0 +#define MDIO_GPIO_MDIO 1 +#define MDIO_GPIO_MDO 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/bcm2835-pm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/bcm2835-pm.h index 9e5f1d94a0..f70a810c55 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/bcm2835-pm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/bcm2835-pm.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef BCM2835_MFD_PM_H -#define BCM2835_MFD_PM_H - -#include - -struct bcm2835_pm { - struct device *dev; - void __iomem *base; - void __iomem *asb; - void __iomem *rpivid_asb; -}; - -#endif /* BCM2835_MFD_PM_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef BCM2835_MFD_PM_H +#define BCM2835_MFD_PM_H + +#include + +struct bcm2835_pm { + struct device *dev; + void __iomem *base; + void __iomem *asb; + void __iomem *rpivid_asb; +}; + +#endif /* BCM2835_MFD_PM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/qcom_rpm.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/qcom_rpm.h index 9a2b9ed110..4b6b644f11 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/qcom_rpm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/qcom_rpm.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __QCOM_RPM_H__ -#define __QCOM_RPM_H__ - -#include - -struct qcom_rpm; - -#define QCOM_RPM_ACTIVE_STATE 0 -#define QCOM_RPM_SLEEP_STATE 1 - -int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __QCOM_RPM_H__ +#define __QCOM_RPM_H__ + +#include + +struct qcom_rpm; + +#define QCOM_RPM_ACTIVE_STATE 0 +#define QCOM_RPM_SLEEP_STATE 1 + +int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/sc27xx-pmic.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/sc27xx-pmic.h index 24f81d9904..57e45c0b3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/sc27xx-pmic.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mfd/sc27xx-pmic.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_MFD_SC27XX_PMIC_H -#define __LINUX_MFD_SC27XX_PMIC_H - -extern enum usb_charger_type sprd_pmic_detect_charger_type(struct device *dev); - -#endif /* __LINUX_MFD_SC27XX_PMIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_MFD_SC27XX_PMIC_H +#define __LINUX_MFD_SC27XX_PMIC_H + +extern enum usb_charger_type sprd_pmic_detect_charger_type(struct device *dev); + +#endif /* __LINUX_MFD_SC27XX_PMIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mpls_iptunnel.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mpls_iptunnel.h index 649da20870..140c56954f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mpls_iptunnel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mpls_iptunnel.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_MPLS_IPTUNNEL_H -#define _LINUX_MPLS_IPTUNNEL_H - -#include - -#endif /* _LINUX_MPLS_IPTUNNEL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_MPLS_IPTUNNEL_H +#define _LINUX_MPLS_IPTUNNEL_H + +#include + +#endif /* _LINUX_MPLS_IPTUNNEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/msdos_fs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/msdos_fs.h index c852673987..b7a5d4c72f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/msdos_fs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/msdos_fs.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_MSDOS_FS_H -#define _LINUX_MSDOS_FS_H - -#include - -/* media of boot sector */ -static inline int fat_valid_media(u8 media) -{ - return 0xf8 <= media || media == 0xf0; -} -#endif /* !_LINUX_MSDOS_FS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_MSDOS_FS_H +#define _LINUX_MSDOS_FS_H + +#include + +/* media of boot sector */ +static inline int fat_valid_media(u8 media) +{ + return 0xf8 <= media || media == 0xf0; +} +#endif /* !_LINUX_MSDOS_FS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/mtdram.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/mtdram.h index 0780d9cbf8..ee8f95643f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/mtdram.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/mtdram.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MTD_MTDRAM_H__ -#define __MTD_MTDRAM_H__ - -#include -int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, - unsigned long size, const char *name); - -#endif /* __MTD_MTDRAM_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MTD_MTDRAM_H__ +#define __MTD_MTDRAM_H__ + +#include +int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, + unsigned long size, const char *name); + +#endif /* __MTD_MTDRAM_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/nand-gpio.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/nand-gpio.h index 2923e73c05..7ab51bc4a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/nand-gpio.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/nand-gpio.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_MTD_NAND_GPIO_H -#define __LINUX_MTD_NAND_GPIO_H - -#include - -struct gpio_nand_platdata { - void (*adjust_parts)(struct gpio_nand_platdata *, size_t); - struct mtd_partition *parts; - unsigned int num_parts; - unsigned int options; - int chip_delay; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_MTD_NAND_GPIO_H +#define __LINUX_MTD_NAND_GPIO_H + +#include + +struct gpio_nand_platdata { + void (*adjust_parts)(struct gpio_nand_platdata *, size_t); + struct mtd_partition *parts; + unsigned int num_parts; + unsigned int options; + int chip_delay; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/pismo.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/pismo.h index 763231db66..085b639c95 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/pismo.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mtd/pismo.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * PISMO memory driver - http://www.pismoworld.org/ - */ -#ifndef __LINUX_MTD_PISMO_H -#define __LINUX_MTD_PISMO_H - -struct pismo_pdata { - void (*set_vpp)(void *, int); - void *vpp_data; - phys_addr_t cs_addrs[5]; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * PISMO memory driver - http://www.pismoworld.org/ + */ +#ifndef __LINUX_MTD_PISMO_H +#define __LINUX_MTD_PISMO_H + +struct pismo_pdata { + void (*set_vpp)(void *, int); + void *vpp_data; + phys_addr_t cs_addrs[5]; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/mv643xx_i2c.h b/image/debian/UFI003_MB_V02/kernel/include/linux/mv643xx_i2c.h index b620f905b1..b2844e1cac 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/mv643xx_i2c.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/mv643xx_i2c.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - */ - -#ifndef _MV64XXX_I2C_H_ -#define _MV64XXX_I2C_H_ - -#include - -#define MV64XXX_I2C_CTLR_NAME "mv64xxx_i2c" - -/* i2c Platform Device, Driver Data */ -struct mv64xxx_i2c_pdata { - u32 freq_m; - u32 freq_n; - u32 timeout; /* In milliseconds */ -}; - -#endif /*_MV64XXX_I2C_H_*/ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + */ + +#ifndef _MV64XXX_I2C_H_ +#define _MV64XXX_I2C_H_ + +#include + +#define MV64XXX_I2C_CTLR_NAME "mv64xxx_i2c" + +/* i2c Platform Device, Driver Data */ +struct mv64xxx_i2c_pdata { + u32 freq_m; + u32 freq_n; + u32 timeout; /* In milliseconds */ +}; + +#endif /*_MV64XXX_I2C_H_*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netdevice_xmit.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netdevice_xmit.h index 6f755805b0..38325e0702 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netdevice_xmit.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netdevice_xmit.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _LINUX_NETDEVICE_XMIT_H -#define _LINUX_NETDEVICE_XMIT_H - -struct netdev_xmit { - u16 recursion; - u8 more; -#ifdef CONFIG_NET_EGRESS - u8 skip_txqueue; -#endif -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _LINUX_NETDEVICE_XMIT_H +#define _LINUX_NETDEVICE_XMIT_H + +struct netdev_xmit { + u16 recursion; + u8 more; +#ifdef CONFIG_NET_EGRESS + u8 skip_txqueue; +#endif +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_bitmap.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_bitmap.h index 16aee949f7..fcc4d214a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_bitmap.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_bitmap.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __IP_SET_BITMAP_H -#define __IP_SET_BITMAP_H - -#include - -#define IPSET_BITMAP_MAX_RANGE 0x0000FFFF - -enum { - IPSET_ADD_STORE_PLAIN_TIMEOUT = -1, - IPSET_ADD_FAILED = 1, - IPSET_ADD_START_STORED_TIMEOUT, -}; - -#endif /* __IP_SET_BITMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __IP_SET_BITMAP_H +#define __IP_SET_BITMAP_H + +#include + +#define IPSET_BITMAP_MAX_RANGE 0x0000FFFF + +enum { + IPSET_ADD_STORE_PLAIN_TIMEOUT = -1, + IPSET_ADD_FAILED = 1, + IPSET_ADD_START_STORED_TIMEOUT, +}; + +#endif /* __IP_SET_BITMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_list.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_list.h index f3f728cec3..a61fe2a7e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_list.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/ipset/ip_set_list.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __IP_SET_LIST_H -#define __IP_SET_LIST_H - -#include - - -#define IP_SET_LIST_DEFAULT_SIZE 8 -#define IP_SET_LIST_MIN_SIZE 4 -#define IP_SET_LIST_MAX_SIZE 65536 - -#endif /* __IP_SET_LIST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __IP_SET_LIST_H +#define __IP_SET_LIST_H + +#include + + +#define IP_SET_LIST_DEFAULT_SIZE 8 +#define IP_SET_LIST_MIN_SIZE 4 +#define IP_SET_LIST_MAX_SIZE 65536 + +#endif /* __IP_SET_LIST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_sctp.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_sctp.h index b9174fbffc..fb31312825 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_sctp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_sctp.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_CONNTRACK_SCTP_H -#define _NF_CONNTRACK_SCTP_H -/* SCTP tracking. */ - -#include - -struct ip_ct_sctp { - enum sctp_conntrack state; - - __be32 vtag[IP_CT_DIR_MAX]; - u8 init[IP_CT_DIR_MAX]; - u8 last_dir; - u8 flags; -}; - -#endif /* _NF_CONNTRACK_SCTP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_CONNTRACK_SCTP_H +#define _NF_CONNTRACK_SCTP_H +/* SCTP tracking. */ + +#include + +struct ip_ct_sctp { + enum sctp_conntrack state; + + __be32 vtag[IP_CT_DIR_MAX]; + u8 init[IP_CT_DIR_MAX]; + u8 last_dir; + u8 flags; +}; + +#endif /* _NF_CONNTRACK_SCTP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_snmp.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_snmp.h index c2d7f13b06..87e4f33eb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_snmp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter/nf_conntrack_snmp.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_CONNTRACK_SNMP_H -#define _NF_CONNTRACK_SNMP_H - -#include -#include - -extern int (*nf_nat_snmp_hook)(struct sk_buff *skb, - unsigned int protoff, - struct nf_conn *ct, - enum ip_conntrack_info ctinfo); - -#endif /* _NF_CONNTRACK_SNMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_CONNTRACK_SNMP_H +#define _NF_CONNTRACK_SNMP_H + +#include +#include + +extern int (*nf_nat_snmp_hook)(struct sk_buff *skb, + unsigned int protoff, + struct nf_conn *ct, + enum ip_conntrack_info ctinfo); + +#endif /* _NF_CONNTRACK_SNMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter_defs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter_defs.h index 659c2e475c..a5f7bef1b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter_defs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/netfilter_defs.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_NETFILTER_CORE_H_ -#define __LINUX_NETFILTER_CORE_H_ - -#include - -/* in/out/forward only */ -#define NF_ARP_NUMHOOKS 3 - -#define NF_MAX_HOOKS NF_INET_NUMHOOKS - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_NETFILTER_CORE_H_ +#define __LINUX_NETFILTER_CORE_H_ + +#include + +/* in/out/forward only */ +#define NF_ARP_NUMHOOKS 3 + +#define NF_MAX_HOOKS NF_INET_NUMHOOKS + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/nfs3.h b/image/debian/UFI003_MB_V02/kernel/include/linux/nfs3.h index cf0ab5dcd1..404b8f724f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/nfs3.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/nfs3.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * NFSv3 protocol definitions - */ -#ifndef _LINUX_NFS3_H -#define _LINUX_NFS3_H - -#include - - -/* Number of 32bit words in post_op_attr */ -#define NFS3_POST_OP_ATTR_WORDS 22 - -#endif /* _LINUX_NFS3_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * NFSv3 protocol definitions + */ +#ifndef _LINUX_NFS3_H +#define _LINUX_NFS3_H + +#include + + +/* Number of 32bit words in post_op_attr */ +#define NFS3_POST_OP_ATTR_WORDS 22 + +#endif /* _LINUX_NFS3_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/nfs_fs_i.h b/image/debian/UFI003_MB_V02/kernel/include/linux/nfs_fs_i.h index 5f471fbfd9..98f9268fcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/nfs_fs_i.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/nfs_fs_i.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NFS_FS_I -#define _NFS_FS_I - -struct nlm_lockowner; - -/* - * NFS lock info - */ -struct nfs_lock_info { - u32 state; - struct nlm_lockowner *owner; - struct list_head list; -}; - -struct nfs4_lock_state; -struct nfs4_lock_info { - struct nfs4_lock_state *owner; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NFS_FS_I +#define _NFS_FS_I + +struct nlm_lockowner; + +/* + * NFS lock info + */ +struct nfs_lock_info { + u32 state; + struct nlm_lockowner *owner; + struct list_head list; +}; + +struct nfs4_lock_state; +struct nfs4_lock_info { + struct nfs4_lock_state *owner; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/nitro_enclaves.h b/image/debian/UFI003_MB_V02/kernel/include/linux/nitro_enclaves.h index a6e109c8c7..d91ef2bfdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/nitro_enclaves.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/nitro_enclaves.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - */ - -#ifndef _LINUX_NITRO_ENCLAVES_H_ -#define _LINUX_NITRO_ENCLAVES_H_ - -#include - -#endif /* _LINUX_NITRO_ENCLAVES_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + */ + +#ifndef _LINUX_NITRO_ENCLAVES_H_ +#define _LINUX_NITRO_ENCLAVES_H_ + +#include + +#endif /* _LINUX_NITRO_ENCLAVES_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/nodemask_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/nodemask_types.h index b8a6bba527..6b28d97ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/nodemask_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/nodemask_types.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_NODEMASK_TYPES_H -#define __LINUX_NODEMASK_TYPES_H - -#include -#include - -typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; - -#endif /* __LINUX_NODEMASK_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_NODEMASK_TYPES_H +#define __LINUX_NODEMASK_TYPES_H + +#include +#include + +typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; + +#endif /* __LINUX_NODEMASK_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ns_common.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ns_common.h index 999ed4b6d7..7d22ea50b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ns_common.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ns_common.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_NS_COMMON_H -#define _LINUX_NS_COMMON_H - -#include - -struct proc_ns_operations; - -struct ns_common { - struct dentry *stashed; - const struct proc_ns_operations *ops; - unsigned int inum; - refcount_t count; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_NS_COMMON_H +#define _LINUX_NS_COMMON_H + +#include + +struct proc_ns_operations; + +struct ns_common { + struct dentry *stashed; + const struct proc_ns_operations *ops; + unsigned int inum; + refcount_t count; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/omap-mailbox.h b/image/debian/UFI003_MB_V02/kernel/include/linux/omap-mailbox.h index 08484b7d96..3cc5c4ed7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/omap-mailbox.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/omap-mailbox.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * omap-mailbox: interprocessor communication module for OMAP - */ - -#ifndef OMAP_MAILBOX_H -#define OMAP_MAILBOX_H - -typedef uintptr_t mbox_msg_t; - -#define omap_mbox_message(data) (u32)(mbox_msg_t)(data) - -#endif /* OMAP_MAILBOX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * omap-mailbox: interprocessor communication module for OMAP + */ + +#ifndef OMAP_MAILBOX_H +#define OMAP_MAILBOX_H + +typedef uintptr_t mbox_msg_t; + +#define omap_mbox_message(data) (u32)(mbox_msg_t)(data) + +#endif /* OMAP_MAILBOX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/panic_notifier.h b/image/debian/UFI003_MB_V02/kernel/include/linux/panic_notifier.h index e462e800d5..41e32483d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/panic_notifier.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/panic_notifier.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_PANIC_NOTIFIERS_H -#define _LINUX_PANIC_NOTIFIERS_H - -#include -#include - -extern struct atomic_notifier_head panic_notifier_list; - -extern bool crash_kexec_post_notifiers; - -#endif /* _LINUX_PANIC_NOTIFIERS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_PANIC_NOTIFIERS_H +#define _LINUX_PANIC_NOTIFIERS_H + +#include +#include + +extern struct atomic_notifier_head panic_notifier_list; + +extern bool crash_kexec_post_notifiers; + +#endif /* _LINUX_PANIC_NOTIFIERS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/phy/pcie.h b/image/debian/UFI003_MB_V02/kernel/include/linux/phy/pcie.h index 0bd1fdc107..e7ac817645 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/phy/pcie.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/phy/pcie.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2022 Rockchip Electronics Co., Ltd. - */ -#ifndef __PHY_PCIE_H -#define __PHY_PCIE_H - -#define PHY_MODE_PCIE_RC 20 -#define PHY_MODE_PCIE_EP 21 -#define PHY_MODE_PCIE_BIFURCATION 22 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. + */ +#ifndef __PHY_PCIE_H +#define __PHY_PCIE_H + +#define PHY_MODE_PCIE_RC 20 +#define PHY_MODE_PCIE_EP 21 +#define PHY_MODE_PCIE_BIFURCATION 22 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/pid_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/pid_types.h index 03c4d3a3b3..c2aee1d91d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/pid_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/pid_types.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_PID_TYPES_H -#define _LINUX_PID_TYPES_H - -enum pid_type { - PIDTYPE_PID, - PIDTYPE_TGID, - PIDTYPE_PGID, - PIDTYPE_SID, - PIDTYPE_MAX, -}; - -struct pid_namespace; -extern struct pid_namespace init_pid_ns; - -#endif /* _LINUX_PID_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_PID_TYPES_H +#define _LINUX_PID_TYPES_H + +enum pid_type { + PIDTYPE_PID, + PIDTYPE_TGID, + PIDTYPE_PGID, + PIDTYPE_SID, + PIDTYPE_MAX, +}; + +struct pid_namespace; +extern struct pid_namespace init_pid_ns; + +#endif /* _LINUX_PID_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/pidfs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/pidfs.h index 57e159d695..75bdf98078 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/pidfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/pidfs.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_PID_FS_H -#define _LINUX_PID_FS_H - -struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags); -void __init pidfs_init(void); - -#endif /* _LINUX_PID_FS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_PID_FS_H +#define _LINUX_PID_FS_H + +struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags); +void __init pidfs_init(void); + +#endif /* _LINUX_PID_FS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/pl320-ipc.h b/image/debian/UFI003_MB_V02/kernel/include/linux/pl320-ipc.h index 9f983fa9d1..4b29e172ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/pl320-ipc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/pl320-ipc.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - */ - -int pl320_ipc_transmit(u32 *data); -int pl320_ipc_register_notifier(struct notifier_block *nb); -int pl320_ipc_unregister_notifier(struct notifier_block *nb); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + */ + +int pl320_ipc_transmit(u32 *data); +int pl320_ipc_register_notifier(struct notifier_block *nb); +int pl320_ipc_unregister_notifier(struct notifier_block *nb); diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/asoc-kirkwood.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/asoc-kirkwood.h index ff8a0bcc05..d442cefa39 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/asoc-kirkwood.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/asoc-kirkwood.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PLAT_AUDIO_H -#define __PLAT_AUDIO_H - -struct kirkwood_asoc_platform_data { - int burst; -}; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PLAT_AUDIO_H +#define __PLAT_AUDIO_H + +struct kirkwood_asoc_platform_data { + int burst; +}; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bcm7038_wdt.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bcm7038_wdt.h index 2781c88244..e18cfd9ec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bcm7038_wdt.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bcm7038_wdt.h @@ -1,8 +1,8 @@ -#ifndef __BCM7038_WDT_PDATA_H -#define __BCM7038_WDT_PDATA_H - -struct bcm7038_wdt_platform_data { - const char *clk_name; -}; - -#endif /* __BCM7038_WDT_PDATA_H */ +#ifndef __BCM7038_WDT_PDATA_H +#define __BCM7038_WDT_PDATA_H + +struct bcm7038_wdt_platform_data { + const char *clk_name; +}; + +#endif /* __BCM7038_WDT_PDATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bd6107.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bd6107.h index 3bc6fc8ffc..596ca4f95c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bd6107.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/bd6107.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * bd6107.h - Rohm BD6107 LEDs Driver - */ -#ifndef __BD6107_H__ -#define __BD6107_H__ - -struct device; - -struct bd6107_platform_data { - struct device *dev; - unsigned int def_value; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * bd6107.h - Rohm BD6107 LEDs Driver + */ +#ifndef __BD6107_H__ +#define __BD6107_H__ + +struct device; + +struct bd6107_platform_data { + struct device *dev; + unsigned int def_value; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/brcmnand.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/brcmnand.h index e079308201..8b8777985d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/brcmnand.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/brcmnand.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef BRCMNAND_PLAT_DATA_H -#define BRCMNAND_PLAT_DATA_H - -struct brcmnand_platform_data { - int chip_select; - const char * const *part_probe_types; - unsigned int ecc_stepsize; - unsigned int ecc_strength; -}; - -#endif /* BRCMNAND_PLAT_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef BRCMNAND_PLAT_DATA_H +#define BRCMNAND_PLAT_DATA_H + +struct brcmnand_platform_data { + int chip_select; + const char * const *part_probe_types; + unsigned int ecc_stepsize; + unsigned int ecc_strength; +}; + +#endif /* BRCMNAND_PLAT_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/clk-fch.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/clk-fch.h index 2768555e76..11a2a23fd9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/clk-fch.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/clk-fch.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: MIT */ -/* - * clock framework for AMD misc clocks - * - * Copyright 2018 Advanced Micro Devices, Inc. - */ - -#ifndef __CLK_FCH_H -#define __CLK_FCH_H - -#include - -struct fch_clk_data { - void __iomem *base; - char *name; -}; - -#endif /* __CLK_FCH_H */ +/* SPDX-License-Identifier: MIT */ +/* + * clock framework for AMD misc clocks + * + * Copyright 2018 Advanced Micro Devices, Inc. + */ + +#ifndef __CLK_FCH_H +#define __CLK_FCH_H + +#include + +struct fch_clk_data { + void __iomem *base; + char *name; +}; + +#endif /* __CLK_FCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/dma-hsu.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/dma-hsu.h index 44bf3f9b49..611bae193c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/dma-hsu.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/dma-hsu.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Driver for the High Speed UART DMA - * - * Copyright (C) 2015 Intel Corporation - */ - -#ifndef _PLATFORM_DATA_DMA_HSU_H -#define _PLATFORM_DATA_DMA_HSU_H - -struct device; - -struct hsu_dma_slave { - struct device *dma_dev; - int chan_id; -}; - -#endif /* _PLATFORM_DATA_DMA_HSU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Driver for the High Speed UART DMA + * + * Copyright (C) 2015 Intel Corporation + */ + +#ifndef _PLATFORM_DATA_DMA_HSU_H +#define _PLATFORM_DATA_DMA_HSU_H + +struct device; + +struct hsu_dma_slave { + struct device *dma_dev; + int chan_id; +}; + +#endif /* _PLATFORM_DATA_DMA_HSU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/gpio_backlight.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/gpio_backlight.h index af18fe7fae..323fbf5f76 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/gpio_backlight.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/gpio_backlight.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * gpio_backlight.h - Simple GPIO-controlled backlight - */ -#ifndef __GPIO_BACKLIGHT_H__ -#define __GPIO_BACKLIGHT_H__ - -struct device; - -struct gpio_backlight_platform_data { - struct device *dev; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * gpio_backlight.h - Simple GPIO-controlled backlight + */ +#ifndef __GPIO_BACKLIGHT_H__ +#define __GPIO_BACKLIGHT_H__ + +struct device; + +struct gpio_backlight_platform_data { + struct device *dev; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/i2c-pca-platform.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/i2c-pca-platform.h index 512e0f9c13..c37329432a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/i2c-pca-platform.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/i2c-pca-platform.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef I2C_PCA9564_PLATFORM_H -#define I2C_PCA9564_PLATFORM_H - -struct i2c_pca9564_pf_platform_data { - int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */ - int timeout; /* timeout in jiffies */ -}; - -#endif /* I2C_PCA9564_PLATFORM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef I2C_PCA9564_PLATFORM_H +#define I2C_PCA9564_PLATFORM_H + +struct i2c_pca9564_pf_platform_data { + int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */ + int timeout; /* timeout in jiffies */ +}; + +#endif /* I2C_PCA9564_PLATFORM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/ltc4245.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/ltc4245.h index f181d4d2d8..f07fa05ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/ltc4245.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/ltc4245.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Platform Data for LTC4245 hardware monitor chip - * - * Copyright (c) 2010 Ira W. Snyder - */ - -#ifndef LINUX_LTC4245_H -#define LINUX_LTC4245_H - -#include - -struct ltc4245_platform_data { - bool use_extra_gpios; -}; - -#endif /* LINUX_LTC4245_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Platform Data for LTC4245 hardware monitor chip + * + * Copyright (c) 2010 Ira W. Snyder + */ + +#ifndef LINUX_LTC4245_H +#define LINUX_LTC4245_H + +#include + +struct ltc4245_platform_data { + bool use_extra_gpios; +}; + +#endif /* LINUX_LTC4245_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/lv5207lp.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/lv5207lp.h index 69c1327858..95d85c1394 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/lv5207lp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/lv5207lp.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * lv5207lp.h - Sanyo LV5207LP LEDs Driver - */ -#ifndef __LV5207LP_H__ -#define __LV5207LP_H__ - -struct device; - -struct lv5207lp_platform_data { - struct device *dev; - unsigned int max_value; - unsigned int def_value; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * lv5207lp.h - Sanyo LV5207LP LEDs Driver + */ +#ifndef __LV5207LP_H__ +#define __LV5207LP_H__ + +struct device; + +struct lv5207lp_platform_data { + struct device *dev; + unsigned int max_value; + unsigned int def_value; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/max732x.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/max732x.h index 989444e0e1..423999207c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/max732x.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/max732x.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_I2C_MAX732X_H -#define __LINUX_I2C_MAX732X_H - -/* platform data for the MAX732x 8/16-bit I/O expander driver */ - -struct max732x_platform_data { - /* number of the first GPIO */ - unsigned gpio_base; -}; -#endif /* __LINUX_I2C_MAX732X_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_I2C_MAX732X_H +#define __LINUX_I2C_MAX732X_H + +/* platform data for the MAX732x 8/16-bit I/O expander driver */ + +struct max732x_platform_data { + /* number of the first GPIO */ + unsigned gpio_base; +}; +#endif /* __LINUX_I2C_MAX732X_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-bcm-unimac.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-bcm-unimac.h index 34286ad444..724e1f57b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-bcm-unimac.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-bcm-unimac.h @@ -1,16 +1,16 @@ -#ifndef __MDIO_BCM_UNIMAC_PDATA_H -#define __MDIO_BCM_UNIMAC_PDATA_H - -struct clk; - -struct unimac_mdio_pdata { - u32 phy_mask; - int (*wait_func)(void *data); - void *wait_func_data; - const char *bus_name; - struct clk *clk; -}; - -#define UNIMAC_MDIO_DRV_NAME "unimac-mdio" - -#endif /* __MDIO_BCM_UNIMAC_PDATA_H */ +#ifndef __MDIO_BCM_UNIMAC_PDATA_H +#define __MDIO_BCM_UNIMAC_PDATA_H + +struct clk; + +struct unimac_mdio_pdata { + u32 phy_mask; + int (*wait_func)(void *data); + void *wait_func_data; + const char *bus_name; + struct clk *clk; +}; + +#define UNIMAC_MDIO_DRV_NAME "unimac-mdio" + +#endif /* __MDIO_BCM_UNIMAC_PDATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-gpio.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-gpio.h index f044648c8f..13874fa6e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-gpio.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mdio-gpio.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * MDIO-GPIO bus platform data structure - */ - -#ifndef __LINUX_MDIO_GPIO_PDATA_H -#define __LINUX_MDIO_GPIO_PDATA_H - -struct mdio_gpio_platform_data { - u32 phy_mask; - u32 phy_ignore_ta_mask; -}; - -#endif /* __LINUX_MDIO_GPIO_PDATA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * MDIO-GPIO bus platform data structure + */ + +#ifndef __LINUX_MDIO_GPIO_PDATA_H +#define __LINUX_MDIO_GPIO_PDATA_H + +struct mdio_gpio_platform_data { + u32 phy_mask; + u32 phy_ignore_ta_mask; +}; + +#endif /* __LINUX_MDIO_GPIO_PDATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mfd-mcp-sa11x0.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mfd-mcp-sa11x0.h index 40949d467a..b589e61bbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mfd-mcp-sa11x0.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/mfd-mcp-sa11x0.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2005 Russell King. - */ -#ifndef __MFD_MCP_SA11X0_H -#define __MFD_MCP_SA11X0_H - -#include - -struct mcp_plat_data { - u32 mccr0; - u32 mccr1; - unsigned int sclk_rate; - void *codec_pdata; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2005 Russell King. + */ +#ifndef __MFD_MCP_SA11X0_H +#define __MFD_MCP_SA11X0_H + +#include + +struct mcp_plat_data { + u32 mccr0; + u32 mccr1; + unsigned int sclk_rate; + void *codec_pdata; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/omap1_bl.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/omap1_bl.h index 95d16cbdc4..3d0bab31a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/omap1_bl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/omap1_bl.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __OMAP1_BL_H__ -#define __OMAP1_BL_H__ - -#include - -struct omap_backlight_config { - int default_intensity; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __OMAP1_BL_H__ +#define __OMAP1_BL_H__ + +#include + +struct omap_backlight_config { + int default_intensity; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/sgi-w1.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/sgi-w1.h index 11eb24d921..e28c8a90ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/sgi-w1.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/sgi-w1.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * SGI One-Wire (W1) IP - */ - -#ifndef PLATFORM_DATA_SGI_W1_H -#define PLATFORM_DATA_SGI_W1_H - -struct sgi_w1_platform_data { - char dev_id[64]; -}; - -#endif /* PLATFORM_DATA_SGI_W1_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * SGI One-Wire (W1) IP + */ + +#ifndef PLATFORM_DATA_SGI_W1_H +#define PLATFORM_DATA_SGI_W1_H + +struct sgi_w1_platform_data { + char dev_id[64]; +}; + +#endif /* PLATFORM_DATA_SGI_W1_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/shtc1.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/shtc1.h index feb96996a0..5ba6f8f9a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/shtc1.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/shtc1.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Sensirion AG, Switzerland - * Author: Johannes Winkelmann - */ - -#ifndef __SHTC1_H_ -#define __SHTC1_H_ - -struct shtc1_platform_data { - bool blocking_io; - bool high_precision; -}; -#endif /* __SHTC1_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014 Sensirion AG, Switzerland + * Author: Johannes Winkelmann + */ + +#ifndef __SHTC1_H_ +#define __SHTC1_H_ + +struct shtc1_platform_data { + bool blocking_io; + bool high_precision; +}; +#endif /* __SHTC1_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/syscon.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/syscon.h index 6568eea469..2c089dd3e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/syscon.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/syscon.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef PLATFORM_DATA_SYSCON_H -#define PLATFORM_DATA_SYSCON_H - -struct syscon_platform_data { - const char *label; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef PLATFORM_DATA_SYSCON_H +#define PLATFORM_DATA_SYSCON_H + +struct syscon_platform_data { + const char *label; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/tda9950.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/tda9950.h index cd5467d257..c65efd4611 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/tda9950.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/tda9950.h @@ -1,16 +1,16 @@ -#ifndef LINUX_PLATFORM_DATA_TDA9950_H -#define LINUX_PLATFORM_DATA_TDA9950_H - -struct device; - -struct tda9950_glue { - struct device *parent; - unsigned long irq_flags; - void *data; - int (*init)(void *); - void (*exit)(void *); - int (*open)(void *); - void (*release)(void *); -}; - -#endif +#ifndef LINUX_PLATFORM_DATA_TDA9950_H +#define LINUX_PLATFORM_DATA_TDA9950_H + +struct device; + +struct tda9950_glue { + struct device *parent; + unsigned long irq_flags; + void *data; + int (*init)(void *); + void (*exit)(void *); + int (*open)(void *); + void (*release)(void *); +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/x86/apple.h b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/x86/apple.h index b8b12454d6..079e816c3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/x86/apple.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/platform_data/x86/apple.h @@ -1,13 +1,13 @@ -#ifndef PLATFORM_DATA_X86_APPLE_H -#define PLATFORM_DATA_X86_APPLE_H - -#ifdef CONFIG_X86 -/** - * x86_apple_machine - whether the machine is an x86 Apple Macintosh - */ -extern bool x86_apple_machine; -#else -#define x86_apple_machine false -#endif - -#endif +#ifndef PLATFORM_DATA_X86_APPLE_H +#define PLATFORM_DATA_X86_APPLE_H + +#ifdef CONFIG_X86 +/** + * x86_apple_machine - whether the machine is an x86 Apple Macintosh + */ +extern bool x86_apple_machine; +#else +#define x86_apple_machine false +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/plist_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/plist_types.h index 57f0c7785c..c37e784330 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/plist_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/plist_types.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _LINUX_PLIST_TYPES_H -#define _LINUX_PLIST_TYPES_H - -#include - -struct plist_head { - struct list_head node_list; -}; - -struct plist_node { - int prio; - struct list_head prio_list; - struct list_head node_list; -}; - -#endif /* _LINUX_PLIST_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _LINUX_PLIST_TYPES_H +#define _LINUX_PLIST_TYPES_H + +#include + +struct plist_head { + struct list_head node_list; +}; + +struct plist_node { + int prio; + struct list_head prio_list; + struct list_head node_list; +}; + +#endif /* _LINUX_PLIST_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq24190_charger.h b/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq24190_charger.h index 305091ef65..313e6fbcb7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq24190_charger.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq24190_charger.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Platform data for the TI bq24190 battery charger driver. - */ - -#ifndef _BQ24190_CHARGER_H_ -#define _BQ24190_CHARGER_H_ - -#include - -struct bq24190_platform_data { - const struct regulator_init_data *regulator_init_data; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Platform data for the TI bq24190 battery charger driver. + */ + +#ifndef _BQ24190_CHARGER_H_ +#define _BQ24190_CHARGER_H_ + +#include + +struct bq24190_platform_data { + const struct regulator_init_data *regulator_init_data; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq25890_charger.h b/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq25890_charger.h index 94cf6f6939..c706ddb77a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq25890_charger.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/power/bq25890_charger.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Platform data for the TI bq25890 battery charger driver. - */ - -#ifndef _BQ25890_CHARGER_H_ -#define _BQ25890_CHARGER_H_ - -struct regulator_init_data; - -struct bq25890_platform_data { - const struct regulator_init_data *regulator_init_data; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Platform data for the TI bq25890 battery charger driver. + */ + +#ifndef _BQ25890_CHARGER_H_ +#define _BQ25890_CHARGER_H_ + +struct regulator_init_data; + +struct bq25890_platform_data { + const struct regulator_init_data *regulator_init_data; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/power/jz4740-battery.h b/image/debian/UFI003_MB_V02/kernel/include/linux/power/jz4740-battery.h index f2ab30c2f9..10da211678 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/power/jz4740-battery.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/power/jz4740-battery.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009, Jiejing Zhang - */ - -#ifndef __JZ4740_BATTERY_H -#define __JZ4740_BATTERY_H - -struct jz_battery_platform_data { - struct power_supply_info info; - int gpio_charge; /* GPIO port of Charger state */ - int gpio_charge_active_low; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009, Jiejing Zhang + */ + +#ifndef __JZ4740_BATTERY_H +#define __JZ4740_BATTERY_H + +struct jz_battery_platform_data { + struct power_supply_info info; + int gpio_charge; /* GPIO port of Charger state */ + int gpio_charge_active_low; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/prmt.h b/image/debian/UFI003_MB_V02/kernel/include/linux/prmt.h index 6edfa57476..9c09429440 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/prmt.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/prmt.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifdef CONFIG_ACPI_PRMT -void init_prmt(void); -int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer); -#else -static inline void init_prmt(void) { } -static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer) -{ - return -EOPNOTSUPP; -} -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifdef CONFIG_ACPI_PRMT +void init_prmt(void); +int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer); +#else +static inline void init_prmt(void) { } +static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer) +{ + return -EOPNOTSUPP; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/pti.h b/image/debian/UFI003_MB_V02/kernel/include/linux/pti.h index f328d95fa9..1fbf9d6c20 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/pti.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/pti.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef _INCLUDE_PTI_H -#define _INCLUDE_PTI_H - -#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION -#include -#else -static inline void pti_init(void) { } -static inline void pti_finalize(void) { } -#endif - -#endif +// SPDX-License-Identifier: GPL-2.0 +#ifndef _INCLUDE_PTI_H +#define _INCLUDE_PTI_H + +#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION +#include +#else +static inline void pti_init(void) { } +static inline void pti_finalize(void) { } +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/raid/detect.h b/image/debian/UFI003_MB_V02/kernel/include/linux/raid/detect.h index 69951dbdcd..1f029a71c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/raid/detect.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/raid/detect.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -void md_autodetect_dev(dev_t dev); - -#ifdef CONFIG_BLK_DEV_MD -void md_run_setup(void); -#else -static inline void md_run_setup(void) -{ -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +void md_autodetect_dev(dev_t dev); + +#ifdef CONFIG_BLK_DEV_MD +void md_run_setup(void); +#else +static inline void md_run_setup(void) +{ +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/regulator/arizona-ldo1.h b/image/debian/UFI003_MB_V02/kernel/include/linux/regulator/arizona-ldo1.h index ebb09e87ca..1fe2c71fc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/regulator/arizona-ldo1.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/regulator/arizona-ldo1.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Platform data for Arizona LDO1 regulator - * - * Copyright 2017 Cirrus Logic - */ - -#ifndef ARIZONA_LDO1_H -#define ARIZONA_LDO1_H - -struct regulator_init_data; - -struct arizona_ldo1_pdata { - /** Regulator configuration for LDO1 */ - const struct regulator_init_data *init_data; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Platform data for Arizona LDO1 regulator + * + * Copyright 2017 Cirrus Logic + */ + +#ifndef ARIZONA_LDO1_H +#define ARIZONA_LDO1_H + +struct regulator_init_data; + +struct arizona_ldo1_pdata { + /** Regulator configuration for LDO1 */ + const struct regulator_init_data *init_data; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/reset/socfpga.h b/image/debian/UFI003_MB_V02/kernel/include/linux/reset/socfpga.h index 00a636a66a..b11a2047c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/reset/socfpga.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/reset/socfpga.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_RESET_SOCFPGA_H__ -#define __LINUX_RESET_SOCFPGA_H__ - -void __init socfpga_reset_init(void); - -#endif /* __LINUX_RESET_SOCFPGA_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_RESET_SOCFPGA_H__ +#define __LINUX_RESET_SOCFPGA_H__ + +void __init socfpga_reset_init(void); + +#endif /* __LINUX_RESET_SOCFPGA_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/reset/sunxi.h b/image/debian/UFI003_MB_V02/kernel/include/linux/reset/sunxi.h index bb01942310..1ad7fffb41 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/reset/sunxi.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/reset/sunxi.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_RESET_SUNXI_H__ -#define __LINUX_RESET_SUNXI_H__ - -void __init sun6i_reset_init(void); - -#endif /* __LINUX_RESET_SUNXI_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_RESET_SUNXI_H__ +#define __LINUX_RESET_SUNXI_H__ + +void __init sun6i_reset_init(void); + +#endif /* __LINUX_RESET_SUNXI_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/resource.h b/image/debian/UFI003_MB_V02/kernel/include/linux/resource.h index 4901c90883..4fdbc0c3f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/resource.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/resource.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_RESOURCE_H -#define _LINUX_RESOURCE_H - -#include - - -struct task_struct; - -void getrusage(struct task_struct *p, int who, struct rusage *ru); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_RESOURCE_H +#define _LINUX_RESOURCE_H + +#include + + +struct task_struct; + +void getrusage(struct task_struct *p, int who, struct rusage *ru); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/rtc/rtc-omap.h b/image/debian/UFI003_MB_V02/kernel/include/linux/rtc/rtc-omap.h index cfc72dc9fb..9f03a329e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/rtc/rtc-omap.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/rtc/rtc-omap.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _LINUX_RTCOMAP_H_ -#define _LINUX_RTCOMAP_H_ - -int omap_rtc_power_off_program(struct device *dev); -#endif /* _LINUX_RTCOMAP_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _LINUX_RTCOMAP_H_ +#define _LINUX_RTCOMAP_H_ + +int omap_rtc_power_off_program(struct device *dev); +#endif /* _LINUX_RTCOMAP_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/sched/init.h b/image/debian/UFI003_MB_V02/kernel/include/linux/sched/init.h index fd6efe4d25..03542575fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/sched/init.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/sched/init.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SCHED_INIT_H -#define _LINUX_SCHED_INIT_H - -/* - * Scheduler init related prototypes: - */ - -extern void sched_init(void); -extern void sched_init_smp(void); - -#endif /* _LINUX_SCHED_INIT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SCHED_INIT_H +#define _LINUX_SCHED_INIT_H + +/* + * Scheduler init related prototypes: + */ + +extern void sched_init(void); +extern void sched_init_smp(void); + +#endif /* _LINUX_SCHED_INIT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/securebits.h b/image/debian/UFI003_MB_V02/kernel/include/linux/securebits.h index 4a34e72f00..6565286739 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/securebits.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/securebits.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SECUREBITS_H -#define _LINUX_SECUREBITS_H 1 - -#include - -#define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits)) -#endif /* !_LINUX_SECUREBITS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SECUREBITS_H +#define _LINUX_SECUREBITS_H 1 + +#include + +#define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits)) +#endif /* !_LINUX_SECUREBITS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6.h b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6.h index 71c78965ca..369066a33a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SEG6_H -#define _LINUX_SEG6_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SEG6_H +#define _LINUX_SEG6_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_genl.h b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_genl.h index 307e2641b2..2f25a3cd7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_genl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_genl.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SEG6_GENL_H -#define _LINUX_SEG6_GENL_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SEG6_GENL_H +#define _LINUX_SEG6_GENL_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_hmac.h b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_hmac.h index 4b33fe5e5c..16e59595e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_hmac.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_hmac.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SEG6_HMAC_H -#define _LINUX_SEG6_HMAC_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SEG6_HMAC_H +#define _LINUX_SEG6_HMAC_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_iptunnel.h b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_iptunnel.h index 2cdfc662a3..d07df7fc9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_iptunnel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_iptunnel.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SEG6_IPTUNNEL_H -#define _LINUX_SEG6_IPTUNNEL_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SEG6_IPTUNNEL_H +#define _LINUX_SEG6_IPTUNNEL_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_local.h b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_local.h index 4c9052405c..ee63e76fe0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_local.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/seg6_local.h @@ -1,6 +1,6 @@ -#ifndef _LINUX_SEG6_LOCAL_H -#define _LINUX_SEG6_LOCAL_H - -#include - -#endif +#ifndef _LINUX_SEG6_LOCAL_H +#define _LINUX_SEG6_LOCAL_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/sem_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/sem_types.h index 30403fd1cf..73df1971a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/sem_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/sem_types.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SEM_TYPES_H -#define _LINUX_SEM_TYPES_H - -struct sem_undo_list; - -struct sysv_sem { -#ifdef CONFIG_SYSVIPC - struct sem_undo_list *undo_list; -#endif -}; - -#endif /* _LINUX_SEM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_SEM_TYPES_H +#define _LINUX_SEM_TYPES_H + +struct sem_undo_list; + +struct sysv_sem { +#ifdef CONFIG_SYSVIPC + struct sem_undo_list *undo_list; +#endif +}; + +#endif /* _LINUX_SEM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/sh_timer.h b/image/debian/UFI003_MB_V02/kernel/include/linux/sh_timer.h index 57d9ba1d18..74fd5140bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/sh_timer.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/sh_timer.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SH_TIMER_H__ -#define __SH_TIMER_H__ - -struct sh_timer_config { - unsigned int channels_mask; -}; - -#endif /* __SH_TIMER_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SH_TIMER_H__ +#define __SH_TIMER_H__ + +struct sh_timer_config { + unsigned int channels_mask; +}; + +#endif /* __SH_TIMER_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/soc/actions/owl-sps.h b/image/debian/UFI003_MB_V02/kernel/include/linux/soc/actions/owl-sps.h index 3a2edec321..33d0dbeceb 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/soc/actions/owl-sps.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/soc/actions/owl-sps.h @@ -1,11 +1,11 @@ -/* - * Copyright (c) 2017 Andreas Färber - * - * SPDX-License-Identifier: GPL-2.0+ - */ -#ifndef SOC_ACTIONS_OWL_SPS_H -#define SOC_ACTIONS_OWL_SPS_H - -int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable); - -#endif +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: GPL-2.0+ + */ +#ifndef SOC_ACTIONS_OWL_SPS_H +#define SOC_ACTIONS_OWL_SPS_H + +int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/soc/renesas/rcar-sysc.h b/image/debian/UFI003_MB_V02/kernel/include/linux/soc/renesas/rcar-sysc.h index 2e3a01e2b8..00fae6fd23 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/soc/renesas/rcar-sysc.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/soc/renesas/rcar-sysc.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__ -#define __LINUX_SOC_RENESAS_RCAR_SYSC_H__ - -int rcar_sysc_power_down_cpu(unsigned int cpu); -int rcar_sysc_power_up_cpu(unsigned int cpu); - -#endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__ +#define __LINUX_SOC_RENESAS_RCAR_SYSC_H__ + +int rcar_sysc_power_down_cpu(unsigned int cpu); +int rcar_sysc_power_up_cpu(unsigned int cpu); + +#endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/mc33880.h b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/mc33880.h index 943664aaac..205a49cb99 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/mc33880.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/mc33880.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_SPI_MC33880_H -#define LINUX_SPI_MC33880_H - -struct mc33880_platform_data { - /* number assigned to the first GPIO */ - unsigned base; -}; - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_SPI_MC33880_H +#define LINUX_SPI_MC33880_H + +struct mc33880_platform_data { + /* number assigned to the first GPIO */ + unsigned base; +}; + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/sh_hspi.h b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/sh_hspi.h index 17103fd620..02f36b2f3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/sh_hspi.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/sh_hspi.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2011 Kuninori Morimoto - */ -#ifndef SH_HSPI_H -#define SH_HSPI_H - -struct sh_hspi_info { -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2011 Kuninori Morimoto + */ +#ifndef SH_HSPI_H +#define SH_HSPI_H + +struct sh_hspi_info { +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tdo24m.h b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tdo24m.h index 424fd795bf..48dd58ac53 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tdo24m.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tdo24m.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __TDO24M_H__ -#define __TDO24M_H__ - -enum tdo24m_model { - TDO24M, - TDO35S, -}; - -struct tdo24m_platform_data { - enum tdo24m_model model; -}; - -#endif /* __TDO24M_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TDO24M_H__ +#define __TDO24M_H__ + +enum tdo24m_model { + TDO24M, + TDO35S, +}; + +struct tdo24m_platform_data { + enum tdo24m_model model; +}; + +#endif /* __TDO24M_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tle62x0.h b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tle62x0.h index 84bd079519..5d74b9fffc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tle62x0.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/spi/tle62x0.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * tle62x0.h - platform glue to Infineon TLE62x0 driver chips - * - * Copyright 2007 Simtec Electronics - * Ben Dooks -*/ - -struct tle62x0_pdata { - unsigned int init_state; - unsigned int gpio_count; -}; +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * tle62x0.h - platform glue to Infineon TLE62x0 driver chips + * + * Copyright 2007 Simtec Electronics + * Ben Dooks +*/ + +struct tle62x0_pdata { + unsigned int init_state; + unsigned int gpio_count; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/start_kernel.h b/image/debian/UFI003_MB_V02/kernel/include/linux/start_kernel.h index f40ef18e3b..09f994ac87 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/start_kernel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/start_kernel.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_START_KERNEL_H -#define _LINUX_START_KERNEL_H - -#include -#include - -/* Define the prototype for start_kernel here, rather than cluttering - up something else. */ - -extern asmlinkage void __init __noreturn start_kernel(void); - -#endif /* _LINUX_START_KERNEL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_START_KERNEL_H +#define _LINUX_START_KERNEL_H + +#include +#include + +/* Define the prototype for start_kernel here, rather than cluttering + up something else. */ + +extern asmlinkage void __init __noreturn start_kernel(void); + +#endif /* _LINUX_START_KERNEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/stdarg.h b/image/debian/UFI003_MB_V02/kernel/include/linux/stdarg.h index e624d0788d..c8dc7f4f39 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/stdarg.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/stdarg.h @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -#ifndef _LINUX_STDARG_H -#define _LINUX_STDARG_H - -typedef __builtin_va_list va_list; -#define va_start(v, l) __builtin_va_start(v, l) -#define va_end(v) __builtin_va_end(v) -#define va_arg(v, T) __builtin_va_arg(v, T) -#define va_copy(d, s) __builtin_va_copy(d, s) - -#endif +// SPDX-License-Identifier: GPL-2.0-or-later +#ifndef _LINUX_STDARG_H +#define _LINUX_STDARG_H + +typedef __builtin_va_list va_list; +#define va_start(v, l) __builtin_va_start(v, l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v, T) __builtin_va_arg(v, T) +#define va_copy(d, s) __builtin_va_copy(d, s) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/stmp3xxx_rtc_wdt.h b/image/debian/UFI003_MB_V02/kernel/include/linux/stmp3xxx_rtc_wdt.h index 163a01c934..be71a59b77 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/stmp3xxx_rtc_wdt.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/stmp3xxx_rtc_wdt.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * stmp3xxx_rtc_wdt.h - * - * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. - */ -#ifndef __LINUX_STMP3XXX_RTC_WDT_H -#define __LINUX_STMP3XXX_RTC_WDT_H - -struct stmp3xxx_wdt_pdata { - void (*wdt_set_timeout)(struct device *dev, u32 timeout); -}; - -#endif /* __LINUX_STMP3XXX_RTC_WDT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * stmp3xxx_rtc_wdt.h + * + * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. + */ +#ifndef __LINUX_STMP3XXX_RTC_WDT_H +#define __LINUX_STMP3XXX_RTC_WDT_H + +struct stmp3xxx_wdt_pdata { + void (*wdt_set_timeout)(struct device *dev, u32 timeout); +}; + +#endif /* __LINUX_STMP3XXX_RTC_WDT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/sw842.h b/image/debian/UFI003_MB_V02/kernel/include/linux/sw842.h index 2233e1b848..3e29f5dcc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/sw842.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/sw842.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SW842_H__ -#define __SW842_H__ - -#define SW842_MEM_COMPRESS (0xf000) - -int sw842_compress(const u8 *src, unsigned int srclen, - u8 *dst, unsigned int *destlen, void *wmem); - -int sw842_decompress(const u8 *src, unsigned int srclen, - u8 *dst, unsigned int *destlen); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SW842_H__ +#define __SW842_H__ + +#define SW842_MEM_COMPRESS (0xf000) + +int sw842_compress(const u8 *src, unsigned int srclen, + u8 *dst, unsigned int *destlen, void *wmem); + +int sw842_decompress(const u8 *src, unsigned int srclen, + u8 *dst, unsigned int *destlen); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/timerqueue_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/timerqueue_types.h index 875e64d49e..dc298d0923 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/timerqueue_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/timerqueue_types.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_TIMERQUEUE_TYPES_H -#define _LINUX_TIMERQUEUE_TYPES_H - -#include -#include - -struct timerqueue_node { - struct rb_node node; - ktime_t expires; -}; - -struct timerqueue_head { - struct rb_root_cached rb_root; -}; - -#endif /* _LINUX_TIMERQUEUE_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_TIMERQUEUE_TYPES_H +#define _LINUX_TIMERQUEUE_TYPES_H + +#include +#include + +struct timerqueue_node { + struct rb_node node; + ktime_t expires; +}; + +struct timerqueue_head { + struct rb_root_cached rb_root; +}; + +#endif /* _LINUX_TIMERQUEUE_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/ubsan.h b/image/debian/UFI003_MB_V02/kernel/include/linux/ubsan.h index 8cfa48a53f..d8219cbe09 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/ubsan.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/ubsan.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_UBSAN_H -#define _LINUX_UBSAN_H - -#ifdef CONFIG_UBSAN_TRAP -const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type); -#else -static inline const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type) -{ - return NULL; -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_UBSAN_H +#define _LINUX_UBSAN_H + +#ifdef CONFIG_UBSAN_TRAP +const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type); +#else +static inline const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type) +{ + return NULL; +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/uidgid_types.h b/image/debian/UFI003_MB_V02/kernel/include/linux/uidgid_types.h index b3a5345e9c..b35ac4955a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/uidgid_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/uidgid_types.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_UIDGID_TYPES_H -#define _LINUX_UIDGID_TYPES_H - -#include - -typedef struct { - uid_t val; -} kuid_t; - -typedef struct { - gid_t val; -} kgid_t; - -#endif /* _LINUX_UIDGID_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_UIDGID_TYPES_H +#define _LINUX_UIDGID_TYPES_H + +#include + +typedef struct { + uid_t val; +} kuid_t; + +typedef struct { + gid_t val; +} kgid_t; + +#endif /* _LINUX_UIDGID_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/usb/ezusb.h b/image/debian/UFI003_MB_V02/kernel/include/linux/usb/ezusb.h index 83c339b992..487047162c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/usb/ezusb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/usb/ezusb.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __EZUSB_H -#define __EZUSB_H - -extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); -extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, - const char *firmware_path); - -#endif /* __EZUSB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __EZUSB_H +#define __EZUSB_H + +extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); +extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, + const char *firmware_path); + +#endif /* __EZUSB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/usb/functionfs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/usb/functionfs.h index 0df3741a22..570578cc98 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/usb/functionfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/usb/functionfs.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_FUNCTIONFS_H__ -#define __LINUX_FUNCTIONFS_H__ 1 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_FUNCTIONFS_H__ +#define __LINUX_FUNCTIONFS_H__ 1 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/vexpress.h b/image/debian/UFI003_MB_V02/kernel/include/linux/vexpress.h index 29024339ca..2f9dd072f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/vexpress.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/vexpress.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2012 ARM Limited - */ - -#ifndef _LINUX_VEXPRESS_H -#define _LINUX_VEXPRESS_H - -#include -#include - -/* Config regmap API */ - -struct regmap *devm_regmap_init_vexpress_config(struct device *dev); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2012 ARM Limited + */ + +#ifndef _LINUX_VEXPRESS_H +#define _LINUX_VEXPRESS_H + +#include +#include + +/* Config regmap API */ + +struct regmap *devm_regmap_init_vexpress_config(struct device *dev); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/linux/vfs.h b/image/debian/UFI003_MB_V02/kernel/include/linux/vfs.h index f46314ec0f..33952ac00a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/linux/vfs.h +++ b/image/debian/UFI003_MB_V02/kernel/include/linux/vfs.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_VFS_H -#define _LINUX_VFS_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_VFS_H +#define _LINUX_VFS_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9p031.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9p031.h index de00530c15..f933cd0be8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9p031.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9p031.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef MT9P031_H -#define MT9P031_H - -struct v4l2_subdev; - -/* - * struct mt9p031_platform_data - MT9P031 platform data - * @ext_freq: Input clock frequency - * @target_freq: Pixel clock frequency - */ -struct mt9p031_platform_data { - unsigned int pixclk_pol:1; - int ext_freq; - int target_freq; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef MT9P031_H +#define MT9P031_H + +struct v4l2_subdev; + +/* + * struct mt9p031_platform_data - MT9P031 platform data + * @ext_freq: Input clock frequency + * @target_freq: Pixel clock frequency + */ +struct mt9p031_platform_data { + unsigned int pixclk_pol:1; + int ext_freq; + int target_freq; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v011.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v011.h index 830e68cf63..41c00b3e71 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v011.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v011.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* mt9v011 sensor - * - * Copyright (C) 2011 Hans Verkuil - */ - -#ifndef __MT9V011_H__ -#define __MT9V011_H__ - -struct mt9v011_platform_data { - unsigned xtal; /* Hz */ -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* mt9v011 sensor + * + * Copyright (C) 2011 Hans Verkuil + */ + +#ifndef __MT9V011_H__ +#define __MT9V011_H__ + +struct mt9v011_platform_data { + unsigned xtal; /* Hz */ +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v022.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v022.h index 4430aebfa0..6966eb5381 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v022.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v022.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * mt9v022 sensor - */ - -#ifndef __MT9V022_H__ -#define __MT9V022_H__ - -struct mt9v022_platform_data { - unsigned short y_skip_top; /* Lines to skip at the top */ -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * mt9v022 sensor + */ + +#ifndef __MT9V022_H__ +#define __MT9V022_H__ + +struct mt9v022_platform_data { + unsigned short y_skip_top; /* Lines to skip at the top */ +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v032.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v032.h index af03d70a6e..83a37ccfb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v032.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/mt9v032.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _MEDIA_MT9V032_H -#define _MEDIA_MT9V032_H - -struct mt9v032_platform_data { - unsigned int clk_pol:1; - - const s64 *link_freqs; - s64 link_def_freq; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _MEDIA_MT9V032_H +#define _MEDIA_MT9V032_H + +struct mt9v032_platform_data { + unsigned int clk_pol:1; + + const s64 *link_freqs; + s64 link_def_freq; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/rj54n1cb0c.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/rj54n1cb0c.h index 54de2f38cb..5689c09b92 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/rj54n1cb0c.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/rj54n1cb0c.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * RJ54N1CB0C Private data - * - * Copyright (C) 2009, Guennadi Liakhovetski - */ - -#ifndef __RJ54N1CB0C_H__ -#define __RJ54N1CB0C_H__ - -struct rj54n1_pdata { - unsigned int mclk_freq; - bool ioctl_high; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * RJ54N1CB0C Private data + * + * Copyright (C) 2009, Guennadi Liakhovetski + */ + +#ifndef __RJ54N1CB0C_H__ +#define __RJ54N1CB0C_H__ + +struct rj54n1_pdata { + unsigned int mclk_freq; + bool ioctl_high; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/uda1342.h b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/uda1342.h index ef02332e51..cb412d4c10 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/i2c/uda1342.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/i2c/uda1342.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * uda1342.h - definition for uda1342 inputs - * - * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. - */ - -#ifndef _UDA1342_H_ -#define _UDA1342_H_ - -/* The UDA1342 has 2 inputs */ - -#define UDA1342_IN1 1 -#define UDA1342_IN2 2 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * uda1342.h - definition for uda1342 inputs + * + * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. + */ + +#ifndef _UDA1342_H_ +#define _UDA1342_H_ + +/* The UDA1342 has 2 inputs */ + +#define UDA1342_IN1 1 +#define UDA1342_IN2 2 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/media/imx.h b/image/debian/UFI003_MB_V02/kernel/include/media/imx.h index f12c1ec069..5f14acdd7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/media/imx.h +++ b/image/debian/UFI003_MB_V02/kernel/include/media/imx.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2014-2017 Mentor Graphics Inc. - */ - -#ifndef __MEDIA_IMX_H__ -#define __MEDIA_IMX_H__ - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2014-2017 Mentor Graphics Inc. + */ + +#ifndef __MEDIA_IMX_H__ +#define __MEDIA_IMX_H__ + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/bareudp.h b/image/debian/UFI003_MB_V02/kernel/include/net/bareudp.h index 58c8249868..17610c8d63 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/bareudp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/bareudp.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __NET_BAREUDP_H -#define __NET_BAREUDP_H - -#include -#include -#include - -static inline bool netif_is_bareudp(const struct net_device *dev) -{ - return dev->rtnl_link_ops && - !strcmp(dev->rtnl_link_ops->kind, "bareudp"); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __NET_BAREUDP_H +#define __NET_BAREUDP_H + +#include +#include +#include + +static inline bool netif_is_bareudp(const struct net_device *dev) +{ + return dev->rtnl_link_ops && + !strcmp(dev->rtnl_link_ops->kind, "bareudp"); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/caif/cfserl.h b/image/debian/UFI003_MB_V02/kernel/include/net/caif/cfserl.h index 830b7f7806..67cce87571 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/caif/cfserl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/caif/cfserl.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) ST-Ericsson AB 2010 - * Author: Sjur Brendeland - */ - -#ifndef CFSERL_H_ -#define CFSERL_H_ -#include - -struct cflayer *cfserl_create(int instance, bool use_stx); -void cfserl_release(struct cflayer *layer); -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) ST-Ericsson AB 2010 + * Author: Sjur Brendeland + */ + +#ifndef CFSERL_H_ +#define CFSERL_H_ +#include + +struct cflayer *cfserl_create(int instance, bool use_stx); +void cfserl_release(struct cflayer *layer); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/mana/mana_auxiliary.h b/image/debian/UFI003_MB_V02/kernel/include/net/mana/mana_auxiliary.h index aca72493f0..373d597568 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/mana/mana_auxiliary.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/mana/mana_auxiliary.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2022, Microsoft Corporation. */ - -#include "mana.h" -#include - -struct mana_adev { - struct auxiliary_device adev; - struct gdma_dev *mdev; -}; +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, Microsoft Corporation. */ + +#include "mana.h" +#include + +struct mana_adev { + struct auxiliary_device adev; + struct gdma_dev *mdev; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/net_ratelimit.h b/image/debian/UFI003_MB_V02/kernel/include/net/net_ratelimit.h index e982f676a2..93c1bd5133 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/net_ratelimit.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/net_ratelimit.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_NET_RATELIMIT_H -#define _LINUX_NET_RATELIMIT_H - -#include - -extern struct ratelimit_state net_ratelimit_state; - -#endif /* _LINUX_NET_RATELIMIT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_NET_RATELIMIT_H +#define _LINUX_NET_RATELIMIT_H + +#include + +extern struct ratelimit_state net_ratelimit_state; + +#endif /* _LINUX_NET_RATELIMIT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_defrag_ipv4.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_defrag_ipv4.h index a6d2e1385e..7fda9ce9f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_defrag_ipv4.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_defrag_ipv4.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_DEFRAG_IPV4_H -#define _NF_DEFRAG_IPV4_H - -struct net; -int nf_defrag_ipv4_enable(struct net *net); -void nf_defrag_ipv4_disable(struct net *net); - -#endif /* _NF_DEFRAG_IPV4_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_DEFRAG_IPV4_H +#define _NF_DEFRAG_IPV4_H + +struct net; +int nf_defrag_ipv4_enable(struct net *net); +void nf_defrag_ipv4_disable(struct net *net); + +#endif /* _NF_DEFRAG_IPV4_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h index 4c7f89c428..a2bc16cdbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_DUP_IPV4_H_ -#define _NF_DUP_IPV4_H_ - -#include -#include - -void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, - const struct in_addr *gw, int oif); - -#endif /* _NF_DUP_IPV4_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_DUP_IPV4_H_ +#define _NF_DUP_IPV4_H_ + +#include +#include + +void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, + const struct in_addr *gw, int oif); + +#endif /* _NF_DUP_IPV4_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_conntrack_ipv6.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_conntrack_ipv6.h index 4e1e416c90..e95483192d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_conntrack_ipv6.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_conntrack_ipv6.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_CONNTRACK_IPV6_H -#define _NF_CONNTRACK_IPV6_H - -extern const struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6; - -#endif /* _NF_CONNTRACK_IPV6_H*/ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_CONNTRACK_IPV6_H +#define _NF_CONNTRACK_IPV6_H + +extern const struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6; + +#endif /* _NF_CONNTRACK_IPV6_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_dup_ipv6.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_dup_ipv6.h index d509adfcb8..f6312bb04a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_dup_ipv6.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/ipv6/nf_dup_ipv6.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_DUP_IPV6_H_ -#define _NF_DUP_IPV6_H_ - -#include - -void nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, - const struct in6_addr *gw, int oif); - -#endif /* _NF_DUP_IPV6_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_DUP_IPV6_H_ +#define _NF_DUP_IPV6_H_ + +#include + +void nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, + const struct in6_addr *gw, int oif); + +#endif /* _NF_DUP_IPV6_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_hooks_lwtunnel.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_hooks_lwtunnel.h index a168dc8ab1..cef7a4eb8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_hooks_lwtunnel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_hooks_lwtunnel.h @@ -1,7 +1,7 @@ -#include -#include - -#ifdef CONFIG_SYSCTL -int nf_hooks_lwtunnel_sysctl_handler(const struct ctl_table *table, int write, - void *buffer, size_t *lenp, loff_t *ppos); -#endif +#include +#include + +#ifdef CONFIG_SYSCTL +int nf_hooks_lwtunnel_sysctl_handler(const struct ctl_table *table, int write, + void *buffer, size_t *lenp, loff_t *ppos); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_socket.h b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_socket.h index 58e79c91c6..f9d7bee9bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_socket.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netfilter/nf_socket.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NF_SOCK_H_ -#define _NF_SOCK_H_ - -#include - -struct sock *nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb, - const struct net_device *indev); - -struct sock *nf_sk_lookup_slow_v6(struct net *net, const struct sk_buff *skb, - const struct net_device *indev); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NF_SOCK_H_ +#define _NF_SOCK_H_ + +#include + +struct sock *nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb, + const struct net_device *indev); + +struct sock *nf_sk_lookup_slow_v6(struct net *net, const struct sk_buff *skb, + const struct net_device *indev); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netns/flow_table.h b/image/debian/UFI003_MB_V02/kernel/include/net/netns/flow_table.h index 639eb363f6..1c5fc657e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netns/flow_table.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netns/flow_table.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NETNS_FLOW_TABLE_H -#define __NETNS_FLOW_TABLE_H - -struct nf_flow_table_stat { - unsigned int count_wq_add; - unsigned int count_wq_del; - unsigned int count_wq_stats; -}; - -struct netns_ft { - struct nf_flow_table_stat __percpu *stat; -}; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NETNS_FLOW_TABLE_H +#define __NETNS_FLOW_TABLE_H + +struct nf_flow_table_stat { + unsigned int count_wq_add; + unsigned int count_wq_del; + unsigned int count_wq_stats; +}; + +struct netns_ft { + struct nf_flow_table_stat __percpu *stat; +}; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netns/hash.h b/image/debian/UFI003_MB_V02/kernel/include/net/netns/hash.h index c145d55e16..d9b665151f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netns/hash.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netns/hash.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NET_NS_HASH_H__ -#define __NET_NS_HASH_H__ - -#include - -static inline u32 net_hash_mix(const struct net *net) -{ - return net->hash_mix; -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NET_NS_HASH_H__ +#define __NET_NS_HASH_H__ + +#include + +static inline u32 net_hash_mix(const struct net *net) +{ + return net->hash_mix; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netns/nftables.h b/image/debian/UFI003_MB_V02/kernel/include/net/netns/nftables.h index a520417a23..99dd166c5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netns/nftables.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netns/nftables.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _NETNS_NFTABLES_H_ -#define _NETNS_NFTABLES_H_ - -struct netns_nftables { - unsigned int base_seq; - u8 gencursor; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _NETNS_NFTABLES_H_ +#define _NETNS_NFTABLES_H_ + +struct netns_nftables { + unsigned int base_seq; + u8 gencursor; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netns/packet.h b/image/debian/UFI003_MB_V02/kernel/include/net/netns/packet.h index a02529eb9c..aae69bb43c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netns/packet.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netns/packet.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Packet network namespace - */ -#ifndef __NETNS_PACKET_H__ -#define __NETNS_PACKET_H__ - -#include -#include - -struct netns_packet { - struct mutex sklist_lock; - struct hlist_head sklist; -}; - -#endif /* __NETNS_PACKET_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Packet network namespace + */ +#ifndef __NETNS_PACKET_H__ +#define __NETNS_PACKET_H__ + +#include +#include + +struct netns_packet { + struct mutex sklist_lock; + struct hlist_head sklist; +}; + +#endif /* __NETNS_PACKET_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/netns/xdp.h b/image/debian/UFI003_MB_V02/kernel/include/net/netns/xdp.h index f5c46edbac..21a4f25a18 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/netns/xdp.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/netns/xdp.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NETNS_XDP_H__ -#define __NETNS_XDP_H__ - -#include -#include - -struct netns_xdp { - struct mutex lock; - struct hlist_head list; -}; - -#endif /* __NETNS_XDP_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NETNS_XDP_H__ +#define __NETNS_XDP_H__ + +#include +#include + +struct netns_xdp { + struct mutex lock; + struct hlist_head list; +}; + +#endif /* __NETNS_XDP_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/net/tc_act/tc_defact.h b/image/debian/UFI003_MB_V02/kernel/include/net/tc_act/tc_defact.h index 40f88801b8..d7ba0402a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/net/tc_act/tc_defact.h +++ b/image/debian/UFI003_MB_V02/kernel/include/net/tc_act/tc_defact.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NET_TC_DEF_H -#define __NET_TC_DEF_H - -#include - -struct tcf_defact { - struct tc_action common; - u32 tcfd_datalen; - void *tcfd_defdata; -}; -#define to_defact(a) ((struct tcf_defact *)a) - -#endif /* __NET_TC_DEF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NET_TC_DEF_H +#define __NET_TC_DEF_H + +#include + +struct tcf_defact { + struct tc_action common; + u32 tcfd_datalen; + void *tcfd_defdata; +}; +#define to_defact(a) ((struct tcf_defact *)a) + +#endif /* __NET_TC_DEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/soc/qcom/kryo-l2-accessors.h b/image/debian/UFI003_MB_V02/kernel/include/soc/qcom/kryo-l2-accessors.h index 818b5263cd..673c5344af 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/soc/qcom/kryo-l2-accessors.h +++ b/image/debian/UFI003_MB_V02/kernel/include/soc/qcom/kryo-l2-accessors.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2018, The Linux Foundation. All rights reserved. - */ - -#ifndef __SOC_ARCH_QCOM_KRYO_L2_ACCESSORS_H -#define __SOC_ARCH_QCOM_KRYO_L2_ACCESSORS_H - -void kryo_l2_set_indirect_reg(u64 reg, u64 val); -u64 kryo_l2_get_indirect_reg(u64 reg); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2018, The Linux Foundation. All rights reserved. + */ + +#ifndef __SOC_ARCH_QCOM_KRYO_L2_ACCESSORS_H +#define __SOC_ARCH_QCOM_KRYO_L2_ACCESSORS_H + +void kryo_l2_set_indirect_reg(u64 reg, u64 val); +u64 kryo_l2_get_indirect_reg(u64 reg); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/soc/sa1100/pwer.h b/image/debian/UFI003_MB_V02/kernel/include/soc/sa1100/pwer.h index e673ff02d6..b2d6a5e070 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/soc/sa1100/pwer.h +++ b/image/debian/UFI003_MB_V02/kernel/include/soc/sa1100/pwer.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SOC_SA1100_PWER_H -#define SOC_SA1100_PWER_H - -/* - * Copyright (C) 2015, Dmitry Eremin-Solenikov - */ - -int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on); -int sa11x0_sc_set_wake(unsigned int irq, unsigned int on); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef SOC_SA1100_PWER_H +#define SOC_SA1100_PWER_H + +/* + * Copyright (C) 2015, Dmitry Eremin-Solenikov + */ + +int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on); +int sa11x0_sc_set_wake(unsigned int irq, unsigned int on); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/soc/tegra/ahb.h b/image/debian/UFI003_MB_V02/kernel/include/soc/tegra/ahb.h index b7c9c7581d..46168b2189 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/soc/tegra/ahb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/soc/tegra/ahb.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - */ - -#ifndef __SOC_TEGRA_AHB_H__ -#define __SOC_TEGRA_AHB_H__ - -extern int tegra_ahb_enable_smmu(struct device_node *ahb); - -#endif /* __SOC_TEGRA_AHB_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. + */ + +#ifndef __SOC_TEGRA_AHB_H__ +#define __SOC_TEGRA_AHB_H__ + +extern int tegra_ahb_enable_smmu(struct device_node *ahb); + +#endif /* __SOC_TEGRA_AHB_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/pcm_drm_eld.h b/image/debian/UFI003_MB_V02/kernel/include/sound/pcm_drm_eld.h index 9f45f7d62d..28a55a8beb 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/pcm_drm_eld.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/pcm_drm_eld.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SOUND_PCM_DRM_ELD_H -#define __SOUND_PCM_DRM_ELD_H - -int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SOUND_PCM_DRM_ELD_H +#define __SOUND_PCM_DRM_ELD_H + +int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/rt1015.h b/image/debian/UFI003_MB_V02/kernel/include/sound/rt1015.h index 9b8344a097..70a7538d4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/rt1015.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/rt1015.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/sound/rt1015.h -- Platform data for RT1015 - * - * Copyright 2020 Realtek Microelectronics - */ - -#ifndef __LINUX_SND_RT1015_H -#define __LINUX_SND_RT1015_H - -struct rt1015_platform_data { - unsigned int power_up_delay_ms; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/sound/rt1015.h -- Platform data for RT1015 + * + * Copyright 2020 Realtek Microelectronics + */ + +#ifndef __LINUX_SND_RT1015_H +#define __LINUX_SND_RT1015_H + +struct rt1015_platform_data { + unsigned int power_up_delay_ms; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/rt1318.h b/image/debian/UFI003_MB_V02/kernel/include/sound/rt1318.h index cb7753f555..fe6bff0603 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/rt1318.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/rt1318.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/sound/rt1318.h -- Platform data for RT1318 - * - * Copyright 2024 Realtek Semiconductor Corp. - */ - -#ifndef __LINUX_SND_RT1318_H -#define __LINUX_SND_RT1318_H - -struct rt1318_platform_data { - unsigned int init_r0_l; - unsigned int init_r0_r; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/sound/rt1318.h -- Platform data for RT1318 + * + * Copyright 2024 Realtek Semiconductor Corp. + */ + +#ifndef __LINUX_SND_RT1318_H +#define __LINUX_SND_RT1318_H + +struct rt1318_platform_data { + unsigned int init_r0_l; + unsigned int init_r0_r; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/rt286.h b/image/debian/UFI003_MB_V02/kernel/include/sound/rt286.h index e78ba2c262..df1269a395 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/rt286.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/rt286.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/sound/rt286.h -- Platform data for RT286 - * - * Copyright 2013 Realtek Microelectronics - */ - -#ifndef __LINUX_SND_RT286_H -#define __LINUX_SND_RT286_H - -struct rt286_platform_data { - bool cbj_en; /*combo jack enable*/ - bool gpio2_en; /*GPIO2 enable*/ -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/sound/rt286.h -- Platform data for RT286 + * + * Copyright 2013 Realtek Microelectronics + */ + +#ifndef __LINUX_SND_RT286_H +#define __LINUX_SND_RT286_H + +struct rt286_platform_data { + bool cbj_en; /*combo jack enable*/ + bool gpio2_en; /*GPIO2 enable*/ +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/spear_spdif.h b/image/debian/UFI003_MB_V02/kernel/include/sound/spear_spdif.h index 69d4075f2d..f52f5268c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/spear_spdif.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/spear_spdif.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (ST) 2012 Vipin Kumar (vipin.kumar@st.com) - */ - -#ifndef __SOUND_SPDIF_H -#define __SOUND_SPDIF_H - -struct spear_spdif_platform_data { - /* DMA params */ - void *dma_params; - bool (*filter)(struct dma_chan *chan, void *slave); - void (*reset_perip)(void); -}; - -#endif /* SOUND_SPDIF_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (ST) 2012 Vipin Kumar (vipin.kumar@st.com) + */ + +#ifndef __SOUND_SPDIF_H +#define __SOUND_SPDIF_H + +struct spear_spdif_platform_data { + /* DMA params */ + void *dma_params; + bool (*filter)(struct dma_chan *chan, void *slave); + void (*reset_perip)(void); +}; + +#endif /* SOUND_SPDIF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/tas2552-plat.h b/image/debian/UFI003_MB_V02/kernel/include/sound/tas2552-plat.h index 823a40bb31..6f087b22f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/tas2552-plat.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/tas2552-plat.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * TAS2552 driver platform header - * - * Copyright (C) 2014 Texas Instruments Inc. - * - * Author: Dan Murphy - */ - -#ifndef TAS2552_PLAT_H -#define TAS2552_PLAT_H - -struct tas2552_platform_data { - int enable_gpio; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * TAS2552 driver platform header + * + * Copyright (C) 2014 Texas Instruments Inc. + * + * Author: Dan Murphy + */ + +#ifndef TAS2552_PLAT_H +#define TAS2552_PLAT_H + +struct tas2552_platform_data { + int enable_gpio; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/tas5086.h b/image/debian/UFI003_MB_V02/kernel/include/sound/tas5086.h index 346e4cf492..a0a1c380f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/tas5086.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/tas5086.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SND_SOC_CODEC_TAS5086_H_ -#define _SND_SOC_CODEC_TAS5086_H_ - -#define TAS5086_CLK_IDX_MCLK 0 -#define TAS5086_CLK_IDX_SCLK 1 - -#endif /* _SND_SOC_CODEC_TAS5086_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _SND_SOC_CODEC_TAS5086_H_ +#define _SND_SOC_CODEC_TAS5086_H_ + +#define TAS5086_CLK_IDX_MCLK 0 +#define TAS5086_CLK_IDX_SCLK 1 + +#endif /* _SND_SOC_CODEC_TAS5086_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/tpa6130a2-plat.h b/image/debian/UFI003_MB_V02/kernel/include/sound/tpa6130a2-plat.h index ddbed19fa4..a60930e36e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/tpa6130a2-plat.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/tpa6130a2-plat.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * TPA6130A2 driver platform header - * - * Copyright (C) Nokia Corporation - * - * Author: Peter Ujfalusi - */ - -#ifndef TPA6130A2_PLAT_H -#define TPA6130A2_PLAT_H - -struct tpa6130a2_platform_data { - int power_gpio; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * TPA6130A2 driver platform header + * + * Copyright (C) Nokia Corporation + * + * Author: Peter Ujfalusi + */ + +#ifndef TPA6130A2_PLAT_H +#define TPA6130A2_PLAT_H + +struct tpa6130a2_platform_data { + int power_gpio; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/uda1380.h b/image/debian/UFI003_MB_V02/kernel/include/sound/uda1380.h index 306361d2f9..2e42ea2d0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/uda1380.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/uda1380.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * UDA1380 ALSA SoC Codec driver - * - * Copyright 2009 Philipp Zabel - */ - -#ifndef __UDA1380_H -#define __UDA1380_H - -struct uda1380_platform_data { - int gpio_power; - int gpio_reset; - int dac_clk; -#define UDA1380_DAC_CLK_SYSCLK 0 -#define UDA1380_DAC_CLK_WSPLL 1 -}; - -#endif /* __UDA1380_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * UDA1380 ALSA SoC Codec driver + * + * Copyright 2009 Philipp Zabel + */ + +#ifndef __UDA1380_H +#define __UDA1380_H + +struct uda1380_platform_data { + int gpio_power; + int gpio_reset; + int dac_clk; +#define UDA1380_DAC_CLK_SYSCLK 0 +#define UDA1380_DAC_CLK_WSPLL 1 +}; + +#endif /* __UDA1380_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/sound/wm0010.h b/image/debian/UFI003_MB_V02/kernel/include/sound/wm0010.h index 772daaba0e..14ff9056c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/sound/wm0010.h +++ b/image/debian/UFI003_MB_V02/kernel/include/sound/wm0010.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * wm0010.h -- Platform data for WM0010 DSP Driver - * - * Copyright 2012 Wolfson Microelectronics PLC. - * - * Author: Dimitris Papastamos - */ - -#ifndef WM0010_PDATA_H -#define WM0010_PDATA_H - -struct wm0010_pdata { - int irq_flags; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * wm0010.h -- Platform data for WM0010 DSP Driver + * + * Copyright 2012 Wolfson Microelectronics PLC. + * + * Author: Dimitris Papastamos + */ + +#ifndef WM0010_PDATA_H +#define WM0010_PDATA_H + +struct wm0010_pdata { + int irq_flags; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/auxvec.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/auxvec.h index 7cd1738ea1..b99573b0ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/auxvec.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_AUXVEC_H -#define __ASM_GENERIC_AUXVEC_H -/* - * Not all architectures need their own auxvec.h, the most - * common definitions are already in linux/auxvec.h. - */ - -#endif /* __ASM_GENERIC_AUXVEC_H */ +#ifndef __ASM_GENERIC_AUXVEC_H +#define __ASM_GENERIC_AUXVEC_H +/* + * Not all architectures need their own auxvec.h, the most + * common definitions are already in linux/auxvec.h. + */ + +#endif /* __ASM_GENERIC_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/bpf_perf_event.h index 1269558db1..53815d2cd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/bpf_perf_event.h @@ -1,9 +1,9 @@ -#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ - -#include - -/* Export kernel pt_regs structure */ -typedef struct pt_regs bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */ +#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ + +#include + +/* Export kernel pt_regs structure */ +typedef struct pt_regs bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/kvm_para.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/kvm_para.h index fd51719f59..486f0af73c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/kvm_para.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/kvm_para.h @@ -1,4 +1,4 @@ -/* - * There isn't anything here, but the file must not be empty or patch - * will delete it. - */ +/* + * There isn't anything here, but the file must not be empty or patch + * will delete it. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/setup.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/setup.h index 077e00395a..88ac5100df 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/setup.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_GENERIC_SETUP_H -#define __ASM_GENERIC_SETUP_H - -#define COMMAND_LINE_SIZE 512 - -#endif /* __ASM_GENERIC_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_GENERIC_SETUP_H +#define __ASM_GENERIC_SETUP_H + +#define COMMAND_LINE_SIZE 512 + +#endif /* __ASM_GENERIC_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/types.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/types.h index 3c4d21b094..7ad4dd01b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/asm-generic/types.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_GENERIC_TYPES_H -#define _UAPI_ASM_GENERIC_TYPES_H -/* - * int-ll64 is used everywhere now. - */ -#include - -#endif /* _UAPI_ASM_GENERIC_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_GENERIC_TYPES_H +#define _UAPI_ASM_GENERIC_TYPES_H +/* + * int-ll64 is used everywhere now. + */ +#include + +#endif /* _UAPI_ASM_GENERIC_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/arcfb.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/arcfb.h index 5ca202db4f..7a9008b365 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/arcfb.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/arcfb.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_ARCFB_H__ -#define __LINUX_ARCFB_H__ - -#define FBIO_WAITEVENT _IO('F', 0x88) -#define FBIO_GETCONTROL2 _IOR('F', 0x89, size_t) - -#endif - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_ARCFB_H__ +#define __LINUX_ARCFB_H__ + +#define FBIO_WAITEVENT _IO('F', 0x88) +#define FBIO_GETCONTROL2 _IOR('F', 0x89, size_t) + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/can/vxcan.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/can/vxcan.h index 222d9c3c1c..4fa9d8777a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/can/vxcan.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/can/vxcan.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ -#ifndef _UAPI_CAN_VXCAN_H -#define _UAPI_CAN_VXCAN_H - -enum { - VXCAN_INFO_UNSPEC, - VXCAN_INFO_PEER, - - __VXCAN_INFO_MAX -#define VXCAN_INFO_MAX (__VXCAN_INFO_MAX - 1) -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +#ifndef _UAPI_CAN_VXCAN_H +#define _UAPI_CAN_VXCAN_H + +enum { + VXCAN_INFO_UNSPEC, + VXCAN_INFO_PEER, + + __VXCAN_INFO_MAX +#define VXCAN_INFO_MAX (__VXCAN_INFO_MAX - 1) +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/dvb/version.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/dvb/version.h index 3d1ee1dad6..20bc874de3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/dvb/version.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/dvb/version.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ -/* - * version.h - * - * Copyright (C) 2000 Holger Waechtler - * for convergence integrated media GmbH - */ - -#ifndef _DVBVERSION_H_ -#define _DVBVERSION_H_ - -#define DVB_API_VERSION 5 -#define DVB_API_VERSION_MINOR 12 - -#endif /*_DVBVERSION_H_*/ +/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ +/* + * version.h + * + * Copyright (C) 2000 Holger Waechtler + * for convergence integrated media GmbH + */ + +#ifndef _DVBVERSION_H_ +#define _DVBVERSION_H_ + +#define DVB_API_VERSION 5 +#define DVB_API_VERSION_MINOR 12 + +#endif /*_DVBVERSION_H_*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/eventfd.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/eventfd.h index 3a3086b319..2eb9ab6c32 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/eventfd.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/eventfd.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_LINUX_EVENTFD_H -#define _UAPI_LINUX_EVENTFD_H - -#include - -#define EFD_SEMAPHORE (1 << 0) -#define EFD_CLOEXEC O_CLOEXEC -#define EFD_NONBLOCK O_NONBLOCK - -#endif /* _UAPI_LINUX_EVENTFD_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_EVENTFD_H +#define _UAPI_LINUX_EVENTFD_H + +#include + +#define EFD_SEMAPHORE (1 << 0) +#define EFD_CLOEXEC O_CLOEXEC +#define EFD_NONBLOCK O_NONBLOCK + +#endif /* _UAPI_LINUX_EVENTFD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/if_ltalk.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/if_ltalk.h index e08556b52c..fa61e776f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/if_ltalk.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/if_ltalk.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__LINUX_LTALK_H -#define _UAPI__LINUX_LTALK_H - -#define LTALK_HLEN 1 -#define LTALK_MTU 600 -#define LTALK_ALEN 1 - - -#endif /* _UAPI__LINUX_LTALK_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__LINUX_LTALK_H +#define _UAPI__LINUX_LTALK_H + +#define LTALK_HLEN 1 +#define LTALK_MTU 600 +#define LTALK_ALEN 1 + + +#endif /* _UAPI__LINUX_LTALK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/ioctl.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/ioctl.h index c25951c20a..b292e8093b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/ioctl.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/ioctl.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_IOCTL_H -#define _LINUX_IOCTL_H - -#include - -#endif /* _LINUX_IOCTL_H */ - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_IOCTL_H +#define _LINUX_IOCTL_H + +#include + +#endif /* _LINUX_IOCTL_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/irqnr.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/irqnr.h index edc77227b0..ae5704fa77 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/irqnr.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/irqnr.h @@ -1,4 +1,4 @@ -/* - * There isn't anything here anymore, but the file must not be empty or patch - * will delete it. - */ +/* + * There isn't anything here anymore, but the file must not be empty or patch + * will delete it. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/kernel.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/kernel.h index b8118b7f3b..fadf2db71f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/kernel.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/kernel.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_LINUX_KERNEL_H -#define _UAPI_LINUX_KERNEL_H - -#include -#include - -#endif /* _UAPI_LINUX_KERNEL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_KERNEL_H +#define _UAPI_LINUX_KERNEL_H + +#include +#include + +#endif /* _UAPI_LINUX_KERNEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/module.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/module.h index fb668ed593..03a33ffffc 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/module.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/module.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_LINUX_MODULE_H -#define _UAPI_LINUX_MODULE_H - -/* Flags for sys_finit_module: */ -#define MODULE_INIT_IGNORE_MODVERSIONS 1 -#define MODULE_INIT_IGNORE_VERMAGIC 2 -#define MODULE_INIT_COMPRESSED_FILE 4 - -#endif /* _UAPI_LINUX_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_MODULE_H +#define _UAPI_LINUX_MODULE_H + +/* Flags for sys_finit_module: */ +#define MODULE_INIT_IGNORE_MODVERSIONS 1 +#define MODULE_INIT_IGNORE_VERMAGIC 2 +#define MODULE_INIT_COMPRESSED_FILE 4 + +#endif /* _UAPI_LINUX_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CLASSIFY.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CLASSIFY.h index 588490baf2..fe059a98c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CLASSIFY.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CLASSIFY.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_CLASSIFY_H -#define _XT_CLASSIFY_H - -#include - -struct xt_classify_target_info { - __u32 priority; -}; - -#endif /*_XT_CLASSIFY_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_CLASSIFY_H +#define _XT_CLASSIFY_H + +#include + +struct xt_classify_target_info { + __u32 priority; +}; + +#endif /*_XT_CLASSIFY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNMARK.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNMARK.h index 55dfe5d6c2..36cc956ead 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNMARK.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNMARK.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_CONNMARK_H_target -#define _XT_CONNMARK_H_target - -#include - -#endif /*_XT_CONNMARK_H_target*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_CONNMARK_H_target +#define _XT_CONNMARK_H_target + +#include + +#endif /*_XT_CONNMARK_H_target*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNSECMARK.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNSECMARK.h index 56cd100987..ca078bb3c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNSECMARK.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_CONNSECMARK.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_CONNSECMARK_H_target -#define _XT_CONNSECMARK_H_target - -#include - -enum { - CONNSECMARK_SAVE = 1, - CONNSECMARK_RESTORE, -}; - -struct xt_connsecmark_target_info { - __u8 mode; -}; - -#endif /*_XT_CONNSECMARK_H_target */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_CONNSECMARK_H_target +#define _XT_CONNSECMARK_H_target + +#include + +enum { + CONNSECMARK_SAVE = 1, + CONNSECMARK_RESTORE, +}; + +struct xt_connsecmark_target_info { + __u8 mode; +}; + +#endif /*_XT_CONNSECMARK_H_target */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_MARK.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_MARK.h index 96369751c8..f1fe2b4be9 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_MARK.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_MARK.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_MARK_H_target -#define _XT_MARK_H_target - -#include - -#endif /*_XT_MARK_H_target */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_MARK_H_target +#define _XT_MARK_H_target + +#include + +#endif /*_XT_MARK_H_target */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TCPMSS.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TCPMSS.h index cd30f4e67d..65ea6c9dab 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TCPMSS.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TCPMSS.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_TCPMSS_H -#define _XT_TCPMSS_H - -#include - -struct xt_tcpmss_info { - __u16 mss; -}; - -#define XT_TCPMSS_CLAMP_PMTU 0xffff - -#endif /* _XT_TCPMSS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_TCPMSS_H +#define _XT_TCPMSS_H + +#include + +struct xt_tcpmss_info { + __u16 mss; +}; + +#define XT_TCPMSS_CLAMP_PMTU 0xffff + +#endif /* _XT_TCPMSS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TEE.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TEE.h index 96086fcedf..eb854917f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TEE.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_TEE.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_TEE_TARGET_H -#define _XT_TEE_TARGET_H - -#include - -struct xt_tee_tginfo { - union nf_inet_addr gw; - char oif[16]; - - /* used internally by the kernel */ - struct xt_tee_priv *priv __attribute__((aligned(8))); -}; - -#endif /* _XT_TEE_TARGET_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_TEE_TARGET_H +#define _XT_TEE_TARGET_H + +#include + +struct xt_tee_tginfo { + union nf_inet_addr gw; + char oif[16]; + + /* used internally by the kernel */ + struct xt_tee_priv *priv __attribute__((aligned(8))); +}; + +#endif /* _XT_TEE_TARGET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_comment.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_comment.h index 27c7cc2bc9..85d2840825 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_comment.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_comment.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_COMMENT_H -#define _XT_COMMENT_H - -#define XT_MAX_COMMENT_LEN 256 - -struct xt_comment_info { - char comment[XT_MAX_COMMENT_LEN]; -}; - -#endif /* XT_COMMENT_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_COMMENT_H +#define _XT_COMMENT_H + +#define XT_MAX_COMMENT_LEN 256 + +struct xt_comment_info { + char comment[XT_MAX_COMMENT_LEN]; +}; + +#endif /* XT_COMMENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_cpu.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_cpu.h index 9ed718fd67..b442e1f6f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_cpu.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_CPU_H -#define _XT_CPU_H - -#include - -struct xt_cpu_info { - __u32 cpu; - __u32 invert; -}; - -#endif /*_XT_CPU_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_CPU_H +#define _XT_CPU_H + +#include + +struct xt_cpu_info { + __u32 cpu; + __u32 invert; +}; + +#endif /*_XT_CPU_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_helper.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_helper.h index ec819c2b31..53aa1458d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_helper.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_helper.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_HELPER_H -#define _XT_HELPER_H - -struct xt_helper_info { - int invert; - char name[30]; -}; -#endif /* _XT_HELPER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_HELPER_H +#define _XT_HELPER_H + +struct xt_helper_info { + int invert; + char name[30]; +}; +#endif /* _XT_HELPER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_length.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_length.h index 9c5a50b109..513f653e2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_length.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_length.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_LENGTH_H -#define _XT_LENGTH_H - -#include - -struct xt_length_info { - __u16 min, max; - __u8 invert; -}; - -#endif /*_XT_LENGTH_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_LENGTH_H +#define _XT_LENGTH_H + +#include + +struct xt_length_info { + __u16 min, max; + __u8 invert; +}; + +#endif /*_XT_LENGTH_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mac.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mac.h index 5dd2294134..c4dd5185cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mac.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mac.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_MAC_H -#define _XT_MAC_H - -#include - -struct xt_mac_info { - unsigned char srcaddr[ETH_ALEN]; - int invert; -}; -#endif /*_XT_MAC_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_MAC_H +#define _XT_MAC_H + +#include + +struct xt_mac_info { + unsigned char srcaddr[ETH_ALEN]; + int invert; +}; +#endif /*_XT_MAC_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mark.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mark.h index c47ae4f5e7..9d0526ced8 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mark.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_mark.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_MARK_H -#define _XT_MARK_H - -#include - -struct xt_mark_tginfo2 { - __u32 mark, mask; -}; - -struct xt_mark_mtinfo1 { - __u32 mark, mask; - __u8 invert; -}; - -#endif /*_XT_MARK_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_MARK_H +#define _XT_MARK_H + +#include + +struct xt_mark_tginfo2 { + __u32 mark, mask; +}; + +struct xt_mark_mtinfo1 { + __u32 mark, mask; + __u8 invert; +}; + +#endif /*_XT_MARK_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_pkttype.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_pkttype.h index 7ba55249a2..c31f29d2e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_pkttype.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_pkttype.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_PKTTYPE_H -#define _XT_PKTTYPE_H - -struct xt_pkttype_info { - int pkttype; - int invert; -}; -#endif /*_XT_PKTTYPE_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_PKTTYPE_H +#define _XT_PKTTYPE_H + +struct xt_pkttype_info { + int pkttype; + int invert; +}; +#endif /*_XT_PKTTYPE_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_realm.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_realm.h index 6b3cc01e61..252aa9f79c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_realm.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_realm.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_REALM_H -#define _XT_REALM_H - -#include - -struct xt_realm_info { - __u32 id; - __u32 mask; - __u8 invert; -}; - -#endif /* _XT_REALM_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_REALM_H +#define _XT_REALM_H + +#include + +struct xt_realm_info { + __u32 id; + __u32 mask; + __u8 invert; +}; + +#endif /* _XT_REALM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_state.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_state.h index 79a367e4e0..fe5670ef6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_state.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_state.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_STATE_H -#define _XT_STATE_H - -#define XT_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) -#define XT_STATE_INVALID (1 << 0) - -#define XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1)) - -struct xt_state_info { - unsigned int statemask; -}; -#endif /*_XT_STATE_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_STATE_H +#define _XT_STATE_H + +#define XT_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) +#define XT_STATE_INVALID (1 << 0) + +#define XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1)) + +struct xt_state_info { + unsigned int statemask; +}; +#endif /*_XT_STATE_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_tcpmss.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_tcpmss.h index 717efddcdf..2268f58b4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_tcpmss.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter/xt_tcpmss.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _XT_TCPMSS_MATCH_H -#define _XT_TCPMSS_MATCH_H - -#include - -struct xt_tcpmss_match_info { - __u16 mss_min, mss_max; - __u8 invert; -}; - -#endif /*_XT_TCPMSS_MATCH_H*/ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _XT_TCPMSS_MATCH_H +#define _XT_TCPMSS_MATCH_H + +#include + +struct xt_tcpmss_match_info { + __u16 mss_min, mss_max; + __u8 invert; +}; + +#endif /*_XT_TCPMSS_MATCH_H*/ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_arpreply.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_arpreply.h index c1f5a79b3b..ed41ae0535 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_arpreply.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_arpreply.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H -#define __LINUX_BRIDGE_EBT_ARPREPLY_H - -#include - -struct ebt_arpreply_info { - unsigned char mac[ETH_ALEN]; - int target; -}; -#define EBT_ARPREPLY_TARGET "arpreply" - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H +#define __LINUX_BRIDGE_EBT_ARPREPLY_H + +#include + +struct ebt_arpreply_info { + unsigned char mac[ETH_ALEN]; + int target; +}; +#define EBT_ARPREPLY_TARGET "arpreply" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_pkttype.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_pkttype.h index c037893336..32c5d08b31 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_pkttype.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_pkttype.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H -#define __LINUX_BRIDGE_EBT_PKTTYPE_H - -#include - -struct ebt_pkttype_info { - __u8 pkt_type; - __u8 invert; -}; -#define EBT_PKTTYPE_MATCH "pkttype" - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H +#define __LINUX_BRIDGE_EBT_PKTTYPE_H + +#include + +struct ebt_pkttype_info { + __u8 pkt_type; + __u8 invert; +}; +#define EBT_PKTTYPE_MATCH "pkttype" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_redirect.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_redirect.h index 030b79925a..dc7a7ce259 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_redirect.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/netfilter_bridge/ebt_redirect.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_BRIDGE_EBT_REDIRECT_H -#define __LINUX_BRIDGE_EBT_REDIRECT_H - -struct ebt_redirect_info { - /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ - int target; -}; -#define EBT_REDIRECT_TARGET "redirect" - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_BRIDGE_EBT_REDIRECT_H +#define __LINUX_BRIDGE_EBT_REDIRECT_H + +struct ebt_redirect_info { + /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ + int target; +}; +#define EBT_REDIRECT_TARGET "redirect" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/param.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/param.h index 8cdd3abecf..94e0c57a75 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/param.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/param.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_PARAM_H -#define _LINUX_PARAM_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_PARAM_H +#define _LINUX_PARAM_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/rpmsg_types.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/rpmsg_types.h index 221b05a5a1..36e3b94043 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/rpmsg_types.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/rpmsg_types.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_LINUX_RPMSG_TYPES_H -#define _UAPI_LINUX_RPMSG_TYPES_H - -#include - -typedef __u16 __bitwise __rpmsg16; -typedef __u32 __bitwise __rpmsg32; -typedef __u64 __bitwise __rpmsg64; - -#endif /* _UAPI_LINUX_RPMSG_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_RPMSG_TYPES_H +#define _UAPI_LINUX_RPMSG_TYPES_H + +#include + +typedef __u16 __bitwise __rpmsg16; +typedef __u32 __bitwise __rpmsg32; +typedef __u64 __bitwise __rpmsg64; + +#endif /* _UAPI_LINUX_RPMSG_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/string.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/string.h index 7876c946d6..9d129c13fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/string.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/string.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_LINUX_STRING_H_ -#define _UAPI_LINUX_STRING_H_ - -/* We don't want strings.h stuff being used by user stuff by accident */ - -#ifndef __KERNEL__ -#include -#endif /* __KERNEL__ */ -#endif /* _UAPI_LINUX_STRING_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_STRING_H_ +#define _UAPI_LINUX_STRING_H_ + +/* We don't want strings.h stuff being used by user stuff by accident */ + +#ifndef __KERNEL__ +#include +#endif /* __KERNEL__ */ +#endif /* _UAPI_LINUX_STRING_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_act/tc_defact.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_act/tc_defact.h index 8830a58063..e3ecd8bf37 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_act/tc_defact.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_act/tc_defact.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_TC_DEF_H -#define __LINUX_TC_DEF_H - -#include - -struct tc_defact { - tc_gen; -}; - -enum { - TCA_DEF_UNSPEC, - TCA_DEF_TM, - TCA_DEF_PARMS, - TCA_DEF_DATA, - TCA_DEF_PAD, - __TCA_DEF_MAX -}; -#define TCA_DEF_MAX (__TCA_DEF_MAX - 1) - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_TC_DEF_H +#define __LINUX_TC_DEF_H + +#include + +struct tc_defact { + tc_gen; +}; + +enum { + TCA_DEF_UNSPEC, + TCA_DEF_TM, + TCA_DEF_PARMS, + TCA_DEF_DATA, + TCA_DEF_PAD, + __TCA_DEF_MAX +}; +#define TCA_DEF_MAX (__TCA_DEF_MAX - 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_ematch/tc_em_nbyte.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_ematch/tc_em_nbyte.h index eb24ac3a2c..c76333f7f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_ematch/tc_em_nbyte.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/tc_ematch/tc_em_nbyte.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_TC_EM_NBYTE_H -#define __LINUX_TC_EM_NBYTE_H - -#include -#include - -struct tcf_em_nbyte { - __u16 off; - __u16 len:12; - __u8 layer:4; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_TC_EM_NBYTE_H +#define __LINUX_TC_EM_NBYTE_H + +#include +#include + +struct tcf_em_nbyte { + __u16 off; + __u16 len:12; + __u8 layer:4; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/termios.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/termios.h index 13470e9ecb..e6da9d4433 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/termios.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/termios.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_TERMIOS_H -#define _LINUX_TERMIOS_H - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_TERMIOS_H +#define _LINUX_TERMIOS_H + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/times.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/times.h index 3f45938936..9c72df662f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/times.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/times.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_TIMES_H -#define _LINUX_TIMES_H - -#include - -struct tms { - __kernel_clock_t tms_utime; - __kernel_clock_t tms_stime; - __kernel_clock_t tms_cutime; - __kernel_clock_t tms_cstime; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_TIMES_H +#define _LINUX_TIMES_H + +#include + +struct tms { + __kernel_clock_t tms_utime; + __kernel_clock_t tms_stime; + __kernel_clock_t tms_cutime; + __kernel_clock_t tms_cstime; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/unistd.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/unistd.h index f63002d9a4..a92361f5d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/unistd.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_UNISTD_H_ -#define _LINUX_UNISTD_H_ - -/* - * Include machine specific syscall numbers - */ -#include - -#endif /* _LINUX_UNISTD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_UNISTD_H_ +#define _LINUX_UNISTD_H_ + +/* + * Include machine specific syscall numbers + */ +#include + +#endif /* _LINUX_UNISTD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/utime.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/utime.h index a10778b45b..bc8f13e81d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/utime.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/utime.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_UTIME_H -#define _LINUX_UTIME_H - -#include - -struct utimbuf { - __kernel_old_time_t actime; - __kernel_old_time_t modtime; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_UTIME_H +#define _LINUX_UTIME_H + +#include + +struct utimbuf { + __kernel_old_time_t actime; + __kernel_old_time_t modtime; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/veth.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/veth.h index f76f006bf3..52b58e587e 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/veth.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/veth.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __NET_VETH_H_ -#define __NET_VETH_H_ - -enum { - VETH_INFO_UNSPEC, - VETH_INFO_PEER, - - __VETH_INFO_MAX -#define VETH_INFO_MAX (__VETH_INFO_MAX - 1) -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __NET_VETH_H_ +#define __NET_VETH_H_ + +enum { + VETH_INFO_UNSPEC, + VETH_INFO_PEER, + + __VETH_INFO_MAX +#define VETH_INFO_MAX (__VETH_INFO_MAX - 1) +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/virtio_rng.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/virtio_rng.h index 26240ea794..c4d5de896f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/virtio_rng.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/virtio_rng.h @@ -1,8 +1,8 @@ -#ifndef _LINUX_VIRTIO_RNG_H -#define _LINUX_VIRTIO_RNG_H -/* This header is BSD licensed so anyone can use the definitions to implement - * compatible drivers/servers. */ -#include -#include - -#endif /* _LINUX_VIRTIO_RNG_H */ +#ifndef _LINUX_VIRTIO_RNG_H +#define _LINUX_VIRTIO_RNG_H +/* This header is BSD licensed so anyone can use the definitions to implement + * compatible drivers/servers. */ +#include +#include + +#endif /* _LINUX_VIRTIO_RNG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/wwan.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/wwan.h index 602e560f2d..32a2720b4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/wwan.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/linux/wwan.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ -/* - * Copyright (C) 2021 Intel Corporation. - */ -#ifndef _UAPI_WWAN_H_ -#define _UAPI_WWAN_H_ - -enum { - IFLA_WWAN_UNSPEC, - IFLA_WWAN_LINK_ID, /* u32 */ - - __IFLA_WWAN_MAX -}; -#define IFLA_WWAN_MAX (__IFLA_WWAN_MAX - 1) - -#endif /* _UAPI_WWAN_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +/* + * Copyright (C) 2021 Intel Corporation. + */ +#ifndef _UAPI_WWAN_H_ +#define _UAPI_WWAN_H_ + +enum { + IFLA_WWAN_UNSPEC, + IFLA_WWAN_LINK_ID, /* u32 */ + + __IFLA_WWAN_MAX +}; +#define IFLA_WWAN_MAX (__IFLA_WWAN_MAX - 1) + +#endif /* _UAPI_WWAN_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/misc/pvpanic.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/misc/pvpanic.h index fa71d5b253..3f1745cd1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/misc/pvpanic.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/misc/pvpanic.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#ifndef __PVPANIC_H__ -#define __PVPANIC_H__ - -#include - -#define PVPANIC_PANICKED _BITUL(0) -#define PVPANIC_CRASH_LOADED _BITUL(1) -#define PVPANIC_SHUTDOWN _BITUL(2) - -#endif /* __PVPANIC_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#ifndef __PVPANIC_H__ +#define __PVPANIC_H__ + +#include + +#define PVPANIC_PANICKED _BITUL(0) +#define PVPANIC_CRASH_LOADED _BITUL(1) +#define PVPANIC_SHUTDOWN _BITUL(2) + +#endif /* __PVPANIC_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/uapi/video/edid.h b/image/debian/UFI003_MB_V02/kernel/include/uapi/video/edid.h index 2f078850d3..c6030dc10d 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/uapi/video/edid.h +++ b/image/debian/UFI003_MB_V02/kernel/include/uapi/video/edid.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__linux_video_edid_h__ -#define _UAPI__linux_video_edid_h__ - -struct edid_info { - unsigned char dummy[128]; -}; - - -#endif /* _UAPI__linux_video_edid_h__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__linux_video_edid_h__ +#define _UAPI__linux_video_edid_h__ + +struct edid_info { + unsigned char dummy[128]; +}; + + +#endif /* _UAPI__linux_video_edid_h__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/bits.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/bits.h index f67098a443..388b212088 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/bits.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/bits.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_BITS_H -#define __VDSO_BITS_H - -#include - -#define BIT(nr) (UL(1) << (nr)) -#define BIT_ULL(nr) (ULL(1) << (nr)) - -#endif /* __VDSO_BITS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_BITS_H +#define __VDSO_BITS_H + +#include + +#define BIT(nr) (UL(1) << (nr)) +#define BIT_ULL(nr) (ULL(1) << (nr)) + +#endif /* __VDSO_BITS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/const.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/const.h index 37cd42ffd2..94b385ad43 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/const.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/const.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_CONST_H -#define __VDSO_CONST_H - -#include - -#define UL(x) (_UL(x)) -#define ULL(x) (_ULL(x)) - -#endif /* __VDSO_CONST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_CONST_H +#define __VDSO_CONST_H + +#include + +#define UL(x) (_UL(x)) +#define ULL(x) (_ULL(x)) + +#endif /* __VDSO_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/jiffies.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/jiffies.h index 8d758b6d58..2f9d596c8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/jiffies.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/jiffies.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_JIFFIES_H -#define __VDSO_JIFFIES_H - -#include /* for HZ */ -#include - -/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */ -#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) - -#endif /* __VDSO_JIFFIES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_JIFFIES_H +#define __VDSO_JIFFIES_H + +#include /* for HZ */ +#include + +/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */ +#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) + +#endif /* __VDSO_JIFFIES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/processor.h index 60e59e4dc6..fbe8265ea3 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/processor.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __VDSO_PROCESSOR_H -#define __VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#include - -#endif /* __ASSEMBLY__ */ - -#endif /* __VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __VDSO_PROCESSOR_H +#define __VDSO_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#include + +#endif /* __ASSEMBLY__ */ + +#endif /* __VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/time.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/time.h index 8019696f4d..739f53cd29 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/time.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/time.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_TIME_H -#define __VDSO_TIME_H - -#include - -struct timens_offset { - s64 sec; - u64 nsec; -}; - -#endif /* __VDSO_TIME_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_TIME_H +#define __VDSO_TIME_H + +#include + +struct timens_offset { + s64 sec; + u64 nsec; +}; + +#endif /* __VDSO_TIME_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/time32.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/time32.h index b031097057..fdf56f932f 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/time32.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/time32.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_TIME32_H -#define __VDSO_TIME32_H - -typedef s32 old_time32_t; - -struct old_timespec32 { - old_time32_t tv_sec; - s32 tv_nsec; -}; - -struct old_timeval32 { - old_time32_t tv_sec; - s32 tv_usec; -}; - -#endif /* __VDSO_TIME32_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_TIME32_H +#define __VDSO_TIME32_H + +typedef s32 old_time32_t; + +struct old_timespec32 { + old_time32_t tv_sec; + s32 tv_nsec; +}; + +struct old_timeval32 { + old_time32_t tv_sec; + s32 tv_usec; +}; + +#endif /* __VDSO_TIME32_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/vdso/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/include/vdso/vsyscall.h index 53e188bace..b0fdc9c6bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/vdso/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/include/vdso/vsyscall.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_VSYSCALL_H -#define __VDSO_VSYSCALL_H - -#ifndef __ASSEMBLY__ - -#include - -unsigned long vdso_update_begin(void); -void vdso_update_end(unsigned long flags); - -#endif /* !__ASSEMBLY__ */ - -#endif /* __VDSO_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_VSYSCALL_H +#define __VDSO_VSYSCALL_H + +#ifndef __ASSEMBLY__ + +#include + +unsigned long vdso_update_begin(void); +void vdso_update_end(unsigned long flags); + +#endif /* !__ASSEMBLY__ */ + +#endif /* __VDSO_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/video/edid.h b/image/debian/UFI003_MB_V02/kernel/include/video/edid.h index 5254efe063..f614371e91 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/video/edid.h +++ b/image/debian/UFI003_MB_V02/kernel/include/video/edid.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __linux_video_edid_h__ -#define __linux_video_edid_h__ - -#include - -#ifdef CONFIG_X86 -extern struct edid_info edid_info; -#endif -#endif /* __linux_video_edid_h__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __linux_video_edid_h__ +#define __linux_video_edid_h__ + +#include + +#ifdef CONFIG_X86 +extern struct edid_info edid_info; +#endif +#endif /* __linux_video_edid_h__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/video/nomodeset.h b/image/debian/UFI003_MB_V02/kernel/include/video/nomodeset.h index 101e4ab5ea..8f8688b8be 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/video/nomodeset.h +++ b/image/debian/UFI003_MB_V02/kernel/include/video/nomodeset.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: MIT */ - -#ifndef VIDEO_NOMODESET_H -#define VIDEO_NOMODESET_H - -bool video_firmware_drivers_only(void); - -#endif +/* SPDX-License-Identifier: MIT */ + +#ifndef VIDEO_NOMODESET_H +#define VIDEO_NOMODESET_H + +bool video_firmware_drivers_only(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/include/xen/arm/xen-ops.h b/image/debian/UFI003_MB_V02/kernel/include/xen/arm/xen-ops.h index 7155dbbadc..70073f5a2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/xen/arm/xen-ops.h +++ b/image/debian/UFI003_MB_V02/kernel/include/xen/arm/xen-ops.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_XEN_OPS_H -#define _ASM_ARM_XEN_OPS_H - -#include -#include - -static inline void xen_setup_dma_ops(struct device *dev) -{ -#ifdef CONFIG_XEN - if (xen_swiotlb_detect()) - dev->dma_ops = &xen_swiotlb_dma_ops; -#endif -} - -#endif /* _ASM_ARM_XEN_OPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_XEN_OPS_H +#define _ASM_ARM_XEN_OPS_H + +#include +#include + +static inline void xen_setup_dma_ops(struct device *dev) +{ +#ifdef CONFIG_XEN + if (xen_swiotlb_detect()) + dev->dma_ops = &xen_swiotlb_dma_ops; +#endif +} + +#endif /* _ASM_ARM_XEN_OPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/include/xen/interface/hvm/dm_op.h b/image/debian/UFI003_MB_V02/kernel/include/xen/interface/hvm/dm_op.h index 81eef4656c..08d972f87c 100644 --- a/image/debian/UFI003_MB_V02/kernel/include/xen/interface/hvm/dm_op.h +++ b/image/debian/UFI003_MB_V02/kernel/include/xen/interface/hvm/dm_op.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: MIT */ -/* - * Copyright (c) 2016, Citrix Systems Inc - */ - -#ifndef __XEN_PUBLIC_HVM_DM_OP_H__ -#define __XEN_PUBLIC_HVM_DM_OP_H__ - -struct xen_dm_op_buf { - GUEST_HANDLE(void) h; - xen_ulong_t size; -}; -DEFINE_GUEST_HANDLE_STRUCT(xen_dm_op_buf); - -#endif /* __XEN_PUBLIC_HVM_DM_OP_H__ */ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright (c) 2016, Citrix Systems Inc + */ + +#ifndef __XEN_PUBLIC_HVM_DM_OP_H__ +#define __XEN_PUBLIC_HVM_DM_OP_H__ + +struct xen_dm_op_buf { + GUEST_HANDLE(void) h; + xen_ulong_t size; +}; +DEFINE_GUEST_HANDLE_STRUCT(xen_dm_op_buf); + +#endif /* __XEN_PUBLIC_HVM_DM_OP_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/advise.h b/image/debian/UFI003_MB_V02/kernel/io_uring/advise.h index 19e84f6134..5ece2a0451 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/advise.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/advise.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_madvise(struct io_kiocb *req, unsigned int issue_flags); - -int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_fadvise(struct io_kiocb *req, unsigned int issue_flags); +// SPDX-License-Identifier: GPL-2.0 + +int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_madvise(struct io_kiocb *req, unsigned int issue_flags); + +int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_fadvise(struct io_kiocb *req, unsigned int issue_flags); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/epoll.h b/image/debian/UFI003_MB_V02/kernel/io_uring/epoll.h index 30ceabdd75..870cce11ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/epoll.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/epoll.h @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 - -#if defined(CONFIG_EPOLL) -int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_epoll_ctl(struct io_kiocb *req, unsigned int issue_flags); -#endif +// SPDX-License-Identifier: GPL-2.0 + +#if defined(CONFIG_EPOLL) +int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_epoll_ctl(struct io_kiocb *req, unsigned int issue_flags); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/eventfd.h b/image/debian/UFI003_MB_V02/kernel/io_uring/eventfd.h index 57d61ce364..d394f49c63 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/eventfd.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/eventfd.h @@ -1,8 +1,8 @@ - -struct io_ring_ctx; -int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg, - unsigned int eventfd_async); -int io_eventfd_unregister(struct io_ring_ctx *ctx); - -void io_eventfd_flush_signal(struct io_ring_ctx *ctx); -void io_eventfd_signal(struct io_ring_ctx *ctx); + +struct io_ring_ctx; +int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg, + unsigned int eventfd_async); +int io_eventfd_unregister(struct io_ring_ctx *ctx); + +void io_eventfd_flush_signal(struct io_ring_ctx *ctx); +void io_eventfd_signal(struct io_ring_ctx *ctx); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/fdinfo.h b/image/debian/UFI003_MB_V02/kernel/io_uring/fdinfo.h index 5c40f06c2a..6fde48c450 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/fdinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/fdinfo.h @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 - -void io_uring_show_fdinfo(struct seq_file *m, struct file *f); +// SPDX-License-Identifier: GPL-2.0 + +void io_uring_show_fdinfo(struct seq_file *m, struct file *f); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/msg_ring.h b/image/debian/UFI003_MB_V02/kernel/io_uring/msg_ring.h index f2f166fb5d..3030f3942f 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/msg_ring.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/msg_ring.h @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_msg_ring(struct io_kiocb *req, unsigned int issue_flags); -void io_msg_ring_cleanup(struct io_kiocb *req); -void io_msg_cache_free(const void *entry); +// SPDX-License-Identifier: GPL-2.0 + +int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_msg_ring(struct io_kiocb *req, unsigned int issue_flags); +void io_msg_ring_cleanup(struct io_kiocb *req); +void io_msg_cache_free(const void *entry); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/nop.h b/image/debian/UFI003_MB_V02/kernel/io_uring/nop.h index 189da24630..97f1535c9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/nop.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/nop.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_nop(struct io_kiocb *req, unsigned int issue_flags); +// SPDX-License-Identifier: GPL-2.0 + +int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_nop(struct io_kiocb *req, unsigned int issue_flags); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/register.h b/image/debian/UFI003_MB_V02/kernel/io_uring/register.h index 966f9f16d1..a5f39d5ef9 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/register.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/register.h @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef IORING_REGISTER_H -#define IORING_REGISTER_H - -int io_eventfd_unregister(struct io_ring_ctx *ctx); -int io_unregister_personality(struct io_ring_ctx *ctx, unsigned id); -struct file *io_uring_register_get_file(unsigned int fd, bool registered); - -#endif +// SPDX-License-Identifier: GPL-2.0 +#ifndef IORING_REGISTER_H +#define IORING_REGISTER_H + +int io_eventfd_unregister(struct io_ring_ctx *ctx); +int io_unregister_personality(struct io_ring_ctx *ctx, unsigned id); +struct file *io_uring_register_get_file(unsigned int fd, bool registered); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/splice.h b/image/debian/UFI003_MB_V02/kernel/io_uring/splice.h index b1df12718e..542f94168a 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/splice.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/splice.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_tee(struct io_kiocb *req, unsigned int issue_flags); - -int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_splice(struct io_kiocb *req, unsigned int issue_flags); +// SPDX-License-Identifier: GPL-2.0 + +int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_tee(struct io_kiocb *req, unsigned int issue_flags); + +int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_splice(struct io_kiocb *req, unsigned int issue_flags); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/statx.h b/image/debian/UFI003_MB_V02/kernel/io_uring/statx.h index 7a5bb6c26e..9a17f4d45a 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/statx.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/statx.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_statx(struct io_kiocb *req, unsigned int issue_flags); -void io_statx_cleanup(struct io_kiocb *req); +// SPDX-License-Identifier: GPL-2.0 + +int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_statx(struct io_kiocb *req, unsigned int issue_flags); +void io_statx_cleanup(struct io_kiocb *req); diff --git a/image/debian/UFI003_MB_V02/kernel/io_uring/truncate.h b/image/debian/UFI003_MB_V02/kernel/io_uring/truncate.h index 8a793b24c4..ec088293a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/io_uring/truncate.h +++ b/image/debian/UFI003_MB_V02/kernel/io_uring/truncate.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 - -int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); -int io_ftruncate(struct io_kiocb *req, unsigned int issue_flags); +// SPDX-License-Identifier: GPL-2.0 + +int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_ftruncate(struct io_kiocb *req, unsigned int issue_flags); diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/Kconfig.freezer b/image/debian/UFI003_MB_V02/kernel/kernel/Kconfig.freezer index 25d673062d..68646feefb 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/Kconfig.freezer +++ b/image/debian/UFI003_MB_V02/kernel/kernel/Kconfig.freezer @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -config FREEZER - def_bool PM_SLEEP || CGROUP_FREEZER +# SPDX-License-Identifier: GPL-2.0-only +config FREEZER + def_bool PM_SLEEP || CGROUP_FREEZER diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_iter.c b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_iter.c index dfee52ed43..0e2c66a52d 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_iter.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_iter.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -#include "../../tools/lib/bpf/btf_iter.c" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +#include "../../tools/lib/bpf/btf_iter.c" diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_relocate.c b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_relocate.c index bf0c0719be..c12ccbf665 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_relocate.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/btf_relocate.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -#include "../../tools/lib/bpf/btf_relocate.c" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +#include "../../tools/lib/bpf/btf_relocate.c" diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/Makefile index 5463d8006b..20f89cc0a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -LIBBPF_INCLUDE = $(srctree)/tools/lib - -obj-$(CONFIG_BPF_PRELOAD_UMD) += bpf_preload.o -CFLAGS_bpf_preload_kern.o += -I$(LIBBPF_INCLUDE) -bpf_preload-objs += bpf_preload_kern.o +# SPDX-License-Identifier: GPL-2.0 + +LIBBPF_INCLUDE = $(srctree)/tools/lib + +obj-$(CONFIG_BPF_PRELOAD_UMD) += bpf_preload.o +CFLAGS_bpf_preload_kern.o += -I$(LIBBPF_INCLUDE) +bpf_preload-objs += bpf_preload_kern.o diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/bpf_preload.h b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/bpf_preload.h index 1efaa7dc85..f065c91213 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/bpf_preload.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/bpf_preload.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _BPF_PRELOAD_H -#define _BPF_PRELOAD_H - -struct bpf_preload_info { - char link_name[16]; - struct bpf_link *link; -}; - -struct bpf_preload_ops { - int (*preload)(struct bpf_preload_info *); - struct module *owner; -}; -extern struct bpf_preload_ops *bpf_preload_ops; -#define BPF_PRELOAD_LINKS 2 -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BPF_PRELOAD_H +#define _BPF_PRELOAD_H + +struct bpf_preload_info { + char link_name[16]; + struct bpf_link *link; +}; + +struct bpf_preload_ops { + int (*preload)(struct bpf_preload_info *); + struct module *owner; +}; +extern struct bpf_preload_ops *bpf_preload_ops; +#define BPF_PRELOAD_LINKS 2 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/iterators/README b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/iterators/README index 85a116f9af..98e7c90ea0 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/iterators/README +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/preload/iterators/README @@ -1,7 +1,7 @@ -WARNING: -If you change "iterators.bpf.c" do "make -j" in this directory to -rebuild "iterators.lskel-little-endian.h". Then, on a big-endian -machine, do "make -j big" in this directory to rebuild -"iterators.lskel-big-endian.h". Commit both resulting headers. -Make sure to have clang 10 installed. -See Documentation/bpf/bpf_devel_QA.rst +WARNING: +If you change "iterators.bpf.c" do "make -j" in this directory to +rebuild "iterators.lskel-little-endian.h". Then, on a big-endian +machine, do "make -j big" in this directory to rebuild +"iterators.lskel-big-endian.h". Commit both resulting headers. +Make sure to have clang 10 installed. +See Documentation/bpf/bpf_devel_QA.rst diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/relo_core.c b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/relo_core.c index 65f5f6c4b4..aa822c9fcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/bpf/relo_core.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/bpf/relo_core.c @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -#include "../../tools/lib/bpf/relo_core.c" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +#include "../../tools/lib/bpf/relo_core.c" diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/configs/nopm.config b/image/debian/UFI003_MB_V02/kernel/kernel/configs/nopm.config index 0bc7ce704e..ebfdc3d8aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/configs/nopm.config +++ b/image/debian/UFI003_MB_V02/kernel/kernel/configs/nopm.config @@ -1,17 +1,17 @@ -# Help: Disable Power Management - -CONFIG_PM=n -CONFIG_SUSPEND=n -CONFIG_HIBERNATION=n - -# Triggers PM on OMAP -CONFIG_CPU_IDLE=n - -# Triggers enablement via hibernate callbacks -CONFIG_XEN=n - -# ARM/ARM64 architectures that select PM unconditionally -CONFIG_ARCH_OMAP2PLUS_TYPICAL=n -CONFIG_ARCH_RENESAS=n -CONFIG_ARCH_TEGRA=n -CONFIG_ARCH_VEXPRESS=n +# Help: Disable Power Management + +CONFIG_PM=n +CONFIG_SUSPEND=n +CONFIG_HIBERNATION=n + +# Triggers PM on OMAP +CONFIG_CPU_IDLE=n + +# Triggers enablement via hibernate callbacks +CONFIG_XEN=n + +# ARM/ARM64 architectures that select PM unconditionally +CONFIG_ARCH_OMAP2PLUS_TYPICAL=n +CONFIG_ARCH_RENESAS=n +CONFIG_ARCH_TEGRA=n +CONFIG_ARCH_VEXPRESS=n diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/configs/tiny.config b/image/debian/UFI003_MB_V02/kernel/kernel/configs/tiny.config index 5e08266c4c..b753695c5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/configs/tiny.config +++ b/image/debian/UFI003_MB_V02/kernel/kernel/configs/tiny.config @@ -1,4 +1,4 @@ -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_KERNEL_XZ=y -CONFIG_SLUB=y -CONFIG_SLUB_TINY=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_KERNEL_XZ=y +CONFIG_SLUB=y +CONFIG_SLUB_TINY=y diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/debug/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/debug/Makefile index 5aaff4fd11..332ee6c6ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/debug/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/debug/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel debugger -# - -obj-$(CONFIG_KGDB) += debug_core.o gdbstub.o -obj-$(CONFIG_KGDB_KDB) += kdb/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel debugger +# + +obj-$(CONFIG_KGDB) += debug_core.o gdbstub.o +obj-$(CONFIG_KGDB_KDB) += kdb/ diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/entry/common.h b/image/debian/UFI003_MB_V02/kernel/kernel/entry/common.h index 3e14b30ff7..f6e6d02f07 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/entry/common.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/entry/common.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _COMMON_H -#define _COMMON_H - -bool syscall_user_dispatch(struct pt_regs *regs); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _COMMON_H +#define _COMMON_H + +bool syscall_user_dispatch(struct pt_regs *regs); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/events/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/events/Makefile index cf645f6a5e..91a62f5667 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/events/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/events/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := core.o ring_buffer.o callchain.o - -obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o -obj-$(CONFIG_HW_BREAKPOINT_KUNIT_TEST) += hw_breakpoint_test.o -obj-$(CONFIG_UPROBES) += uprobes.o +# SPDX-License-Identifier: GPL-2.0 +obj-y := core.o ring_buffer.o callchain.o + +obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o +obj-$(CONFIG_HW_BREAKPOINT_KUNIT_TEST) += hw_breakpoint_test.o +obj-$(CONFIG_UPROBES) += uprobes.o diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/futex/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/futex/Makefile index d0b6c92e71..b77188d1fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/futex/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/futex/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y += core.o syscalls.o pi.o requeue.o waitwake.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y += core.o syscalls.o pi.o requeue.o waitwake.o diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/gcov/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/gcov/Makefile index 68a19ad7e4..ccd02afaef 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/gcov/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/gcov/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"' - -obj-y := base.o fs.o -obj-$(CONFIG_CC_IS_GCC) += gcc_base.o gcc_4_7.o -CFLAGS_gcc_base.o += -Wno-missing-prototypes -Wno-missing-declarations -obj-$(CONFIG_CC_IS_CLANG) += clang.o -CFLAGS_clang.o += -Wno-missing-prototypes -Wno-missing-declarations +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"' + +obj-y := base.o fs.o +obj-$(CONFIG_CC_IS_GCC) += gcc_base.o gcc_4_7.o +CFLAGS_gcc_base.o += -Wno-missing-prototypes -Wno-missing-declarations +obj-$(CONFIG_CC_IS_CLANG) += clang.o +CFLAGS_clang.o += -Wno-missing-prototypes -Wno-missing-declarations diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/kallsyms_selftest.h b/image/debian/UFI003_MB_V02/kernel/kernel/kallsyms_selftest.h index 76f345aa8e..c0ca548e2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/kallsyms_selftest.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/kallsyms_selftest.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef LINUX_KALLSYMS_SELFTEST_H_ -#define LINUX_KALLSYMS_SELFTEST_H_ - -#include - -extern int kallsyms_test_var_bss; -extern int kallsyms_test_var_data; - -extern int kallsyms_test_func(void); -extern int kallsyms_test_func_weak(void); - -#endif // LINUX_KALLSYMS_SELFTEST_H_ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef LINUX_KALLSYMS_SELFTEST_H_ +#define LINUX_KALLSYMS_SELFTEST_H_ + +#include + +extern int kallsyms_test_var_bss; +extern int kallsyms_test_var_data; + +extern int kallsyms_test_func(void); +extern int kallsyms_test_func_weak(void); + +#endif // LINUX_KALLSYMS_SELFTEST_H_ diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/Makefile index 2ac54a8cf5..cf03d4bdfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_LIVEPATCH) += livepatch.o - -livepatch-objs := core.o patch.o shadow.o state.o transition.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_LIVEPATCH) += livepatch.o + +livepatch-objs := core.o patch.o shadow.o state.o transition.o diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/state.h b/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/state.h index 2d562138a8..49d9c16e87 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/state.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/livepatch/state.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LIVEPATCH_STATE_H -#define _LIVEPATCH_STATE_H - -#include - -bool klp_is_patch_compatible(struct klp_patch *patch); - -#endif /* _LIVEPATCH_STATE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LIVEPATCH_STATE_H +#define _LIVEPATCH_STATE_H + +#include + +bool klp_is_patch_compatible(struct klp_patch *patch); + +#endif /* _LIVEPATCH_STATE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/locking/irqflag-debug.c b/image/debian/UFI003_MB_V02/kernel/kernel/locking/irqflag-debug.c index 004e7e36c5..810b50344d 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/locking/irqflag-debug.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/locking/irqflag-debug.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include -#include - -noinstr void warn_bogus_irq_restore(void) -{ - instrumentation_begin(); - WARN_ONCE(1, "raw_local_irq_restore() called with IRQs enabled\n"); - instrumentation_end(); -} -EXPORT_SYMBOL(warn_bogus_irq_restore); +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include +#include + +noinstr void warn_bogus_irq_restore(void) +{ + instrumentation_begin(); + WARN_ONCE(1, "raw_local_irq_restore() called with IRQs enabled\n"); + instrumentation_end(); +} +EXPORT_SYMBOL(warn_bogus_irq_restore); diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/locking/lockdep_states.h b/image/debian/UFI003_MB_V02/kernel/kernel/locking/lockdep_states.h index a4c542b228..35ca09f2ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/locking/lockdep_states.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/locking/lockdep_states.h @@ -1,8 +1,8 @@ -/* - * Lockdep states, - * - * please update XXX_LOCK_USAGE_STATES in include/linux/lockdep.h whenever - * you add one, or come up with a nice dynamic solution. - */ -LOCKDEP_STATE(HARDIRQ) -LOCKDEP_STATE(SOFTIRQ) +/* + * Lockdep states, + * + * please update XXX_LOCK_USAGE_STATES in include/linux/lockdep.h whenever + * you add one, or come up with a nice dynamic solution. + */ +LOCKDEP_STATE(HARDIRQ) +LOCKDEP_STATE(SOFTIRQ) diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/static_call.c b/image/debian/UFI003_MB_V02/kernel/kernel/static_call.c index c655955862..e9c3e69f38 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/static_call.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/static_call.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -long __static_call_return0(void) -{ - return 0; -} -EXPORT_SYMBOL_GPL(__static_call_return0); +// SPDX-License-Identifier: GPL-2.0 +#include + +long __static_call_return0(void) +{ + return 0; +} +EXPORT_SYMBOL_GPL(__static_call_return0); diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/trace/error_report-traces.c b/image/debian/UFI003_MB_V02/kernel/kernel/trace/error_report-traces.c index 1ba6bbff5c..f89792c25b 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/trace/error_report-traces.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/trace/error_report-traces.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Error reporting trace points. - * - * Copyright (C) 2021, Google LLC. - */ - -#define CREATE_TRACE_POINTS -#include - -EXPORT_TRACEPOINT_SYMBOL_GPL(error_report_end); +// SPDX-License-Identifier: GPL-2.0 +/* + * Error reporting trace points. + * + * Copyright (C) 2021, Google LLC. + */ + +#define CREATE_TRACE_POINTS +#include + +EXPORT_TRACEPOINT_SYMBOL_GPL(error_report_end); diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/trace/rv/Makefile b/image/debian/UFI003_MB_V02/kernel/kernel/trace/rv/Makefile index 5cdca8a1e7..963d14875b 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/trace/rv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/kernel/trace/rv/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_RV) += rv.o -obj-$(CONFIG_RV_MON_WIP) += monitors/wip/wip.o -obj-$(CONFIG_RV_MON_WWNR) += monitors/wwnr/wwnr.o -obj-$(CONFIG_RV_REACTORS) += rv_reactors.o -obj-$(CONFIG_RV_REACT_PRINTK) += reactor_printk.o -obj-$(CONFIG_RV_REACT_PANIC) += reactor_panic.o +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_RV) += rv.o +obj-$(CONFIG_RV_MON_WIP) += monitors/wip/wip.o +obj-$(CONFIG_RV_MON_WWNR) += monitors/wwnr/wwnr.o +obj-$(CONFIG_RV_REACTORS) += rv_reactors.o +obj-$(CONFIG_RV_REACT_PRINTK) += reactor_printk.o +obj-$(CONFIG_RV_REACT_PANIC) += reactor_panic.o diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_kprobe_selftest.h b/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_kprobe_selftest.h index c14d50a4f9..c4fc7268ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_kprobe_selftest.h +++ b/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_kprobe_selftest.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Function used during the kprobe self test. This function is in a separate - * compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it - * can be probed by the selftests. - */ -int kprobe_trace_selftest_target(int a1, int a2, int a3, int a4, int a5, int a6); +// SPDX-License-Identifier: GPL-2.0 +/* + * Function used during the kprobe self test. This function is in a separate + * compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it + * can be probed by the selftests. + */ +int kprobe_trace_selftest_target(int a1, int a2, int a3, int a4, int a5, int a6); diff --git a/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_selftest_dynamic.c b/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_selftest_dynamic.c index 3533a57681..c364cf777e 100644 --- a/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_selftest_dynamic.c +++ b/image/debian/UFI003_MB_V02/kernel/kernel/trace/trace_selftest_dynamic.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "trace.h" - -noinline __noclone int DYN_FTRACE_TEST_NAME(void) -{ - /* used to call mcount */ - return 0; -} - -noinline __noclone int DYN_FTRACE_TEST_NAME2(void) -{ - /* used to call mcount */ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include "trace.h" + +noinline __noclone int DYN_FTRACE_TEST_NAME(void) +{ + /* used to call mcount */ + return 0; +} + +noinline __noclone int DYN_FTRACE_TEST_NAME2(void) +{ + /* used to call mcount */ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/lib/.gitignore b/image/debian/UFI003_MB_V02/kernel/lib/.gitignore index 4dadbf784e..101a4aa92f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/lib/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -/crc32table.h -/crc64table.h -/default.bconf -/gen_crc32table -/gen_crc64table -/oid_registry_data.c +# SPDX-License-Identifier: GPL-2.0-only +/crc32table.h +/crc64table.h +/default.bconf +/gen_crc32table +/gen_crc64table +/oid_registry_data.c diff --git a/image/debian/UFI003_MB_V02/kernel/lib/842/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/842/Makefile index af3d8da57f..6f7aad2692 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/842/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/842/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_842_COMPRESS) += 842_compress.o -obj-$(CONFIG_842_DECOMPRESS) += 842_decompress.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_842_COMPRESS) += 842_compress.o +obj-$(CONFIG_842_DECOMPRESS) += 842_decompress.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/bcd.c b/image/debian/UFI003_MB_V02/kernel/lib/bcd.c index 5a2f52d833..c5e79ba9cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/bcd.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/bcd.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -unsigned _bcd2bin(unsigned char val) -{ - return (val & 0x0f) + (val >> 4) * 10; -} -EXPORT_SYMBOL(_bcd2bin); - -unsigned char _bin2bcd(unsigned val) -{ - const unsigned int t = (val * 103) >> 10; - - return (t << 4) | (val - t * 10); -} -EXPORT_SYMBOL(_bin2bcd); +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +unsigned _bcd2bin(unsigned char val) +{ + return (val & 0x0f) + (val >> 4) * 10; +} +EXPORT_SYMBOL(_bcd2bin); + +unsigned char _bin2bcd(unsigned val) +{ + const unsigned int t = (val * 103) >> 10; + + return (t << 4) | (val - t * 10); +} +EXPORT_SYMBOL(_bin2bcd); diff --git a/image/debian/UFI003_MB_V02/kernel/lib/bootconfig-data.S b/image/debian/UFI003_MB_V02/kernel/lib/bootconfig-data.S index f2eb198aea..ef85ba1a82 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/bootconfig-data.S +++ b/image/debian/UFI003_MB_V02/kernel/lib/bootconfig-data.S @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Embed default bootconfig in the kernel. - */ - .section .init.rodata, "aw" - .global embedded_bootconfig_data -embedded_bootconfig_data: - .incbin "lib/default.bconf" - .global embedded_bootconfig_data_end -embedded_bootconfig_data_end: +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Embed default bootconfig in the kernel. + */ + .section .init.rodata, "aw" + .global embedded_bootconfig_data +embedded_bootconfig_data: + .incbin "lib/default.bconf" + .global embedded_bootconfig_data_end +embedded_bootconfig_data_end: diff --git a/image/debian/UFI003_MB_V02/kernel/lib/crypto/mpi/mpi-mod.c b/image/debian/UFI003_MB_V02/kernel/lib/crypto/mpi/mpi-mod.c index 590d85e253..d5fdaec3d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/crypto/mpi/mpi-mod.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/crypto/mpi/mpi-mod.c @@ -1,13 +1,13 @@ -/* mpi-mod.c - Modular reduction - * Copyright (C) 1998, 1999, 2001, 2002, 2003, - * 2007 Free Software Foundation, Inc. - * - * This file is part of Libgcrypt. - */ - -#include "mpi-internal.h" - -int mpi_mod(MPI rem, MPI dividend, MPI divisor) -{ - return mpi_fdiv_r(rem, dividend, divisor); -} +/* mpi-mod.c - Modular reduction + * Copyright (C) 1998, 1999, 2001, 2002, 2003, + * 2007 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + */ + +#include "mpi-internal.h" + +int mpi_mod(MPI rem, MPI dividend, MPI divisor) +{ + return mpi_fdiv_r(rem, dividend, divisor); +} diff --git a/image/debian/UFI003_MB_V02/kernel/lib/dim/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/dim/Makefile index 9e36e435a1..5b9bfaac7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/dim/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/dim/Makefile @@ -1,7 +1,7 @@ -# -# DIM Dynamic Interrupt Moderation library -# - -obj-$(CONFIG_DIMLIB) += dimlib.o - -dimlib-y := dim.o net_dim.o rdma_dim.o +# +# DIM Dynamic Interrupt Moderation library +# + +obj-$(CONFIG_DIMLIB) += dimlib.o + +dimlib-y := dim.o net_dim.o rdma_dim.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/fdt_addresses.c b/image/debian/UFI003_MB_V02/kernel/lib/fdt_addresses.c index 23f568870c..23610bcf39 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/fdt_addresses.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/fdt_addresses.c @@ -1,2 +1,2 @@ -#include -#include "../scripts/dtc/libfdt/fdt_addresses.c" +#include +#include "../scripts/dtc/libfdt/fdt_addresses.c" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/fdt_empty_tree.c b/image/debian/UFI003_MB_V02/kernel/lib/fdt_empty_tree.c index 2ae4ae4a2d..5d30c58150 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/fdt_empty_tree.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/fdt_empty_tree.c @@ -1,2 +1,2 @@ -#include -#include "../scripts/dtc/libfdt/fdt_empty_tree.c" +#include +#include "../scripts/dtc/libfdt/fdt_empty_tree.c" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/fdt_strerror.c b/image/debian/UFI003_MB_V02/kernel/lib/fdt_strerror.c index 99759286bc..8713e3ff47 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/fdt_strerror.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/fdt_strerror.c @@ -1,2 +1,2 @@ -#include -#include "../scripts/dtc/libfdt/fdt_strerror.c" +#include +#include "../scripts/dtc/libfdt/fdt_strerror.c" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/fdt_wip.c b/image/debian/UFI003_MB_V02/kernel/lib/fdt_wip.c index aa8132beb3..45b3fc3d3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/fdt_wip.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/fdt_wip.c @@ -1,2 +1,2 @@ -#include -#include "../scripts/dtc/libfdt/fdt_wip.c" +#include +#include "../scripts/dtc/libfdt/fdt_wip.c" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-hardirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-hardirq.h index 7b2c2e1e61..0d144a6d6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-hardirq.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef IRQ_DISABLE -#undef IRQ_ENABLE -#undef IRQ_ENTER -#undef IRQ_EXIT - -#define IRQ_ENABLE HARDIRQ_ENABLE -#define IRQ_DISABLE HARDIRQ_DISABLE -#define IRQ_ENTER HARDIRQ_ENTER -#define IRQ_EXIT HARDIRQ_EXIT +/* SPDX-License-Identifier: GPL-2.0 */ +#undef IRQ_DISABLE +#undef IRQ_ENABLE +#undef IRQ_ENTER +#undef IRQ_EXIT + +#define IRQ_ENABLE HARDIRQ_ENABLE +#define IRQ_DISABLE HARDIRQ_DISABLE +#define IRQ_ENTER HARDIRQ_ENTER +#define IRQ_EXIT HARDIRQ_EXIT diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-mutex.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-mutex.h index 069f7cd7b5..7526c7746f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-mutex.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-mutex.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK ML - -#undef UNLOCK -#define UNLOCK MU - -#undef RLOCK -#undef WLOCK - -#undef INIT -#define INIT MI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK ML + +#undef UNLOCK +#define UNLOCK MU + +#undef RLOCK +#undef WLOCK + +#undef INIT +#define INIT MI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-hardirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-hardirq.h index 7dbb1d3025..9f517ebcb7 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-hardirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-rlock.h" -#include "locking-selftest-hardirq.h" +#include "locking-selftest-rlock.h" +#include "locking-selftest-hardirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-softirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-softirq.h index e04e3a3893..981455db7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-softirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock-softirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-rlock.h" -#include "locking-selftest-softirq.h" +#include "locking-selftest-rlock.h" +#include "locking-selftest-softirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock.h index 8bc6c52ace..eccab18f55 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rlock.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK RL - -#undef UNLOCK -#define UNLOCK RU - -#undef RLOCK -#define RLOCK RL - -#undef WLOCK -#define WLOCK WL - -#undef INIT -#define INIT RWI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK RL + +#undef UNLOCK +#define UNLOCK RU + +#undef RLOCK +#define RLOCK RL + +#undef WLOCK +#define WLOCK WL + +#undef INIT +#define INIT RWI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rsem.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rsem.h index 07157bf20e..4544858f92 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rsem.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rsem.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK RSL - -#undef UNLOCK -#define UNLOCK RSU - -#undef RLOCK -#define RLOCK RSL - -#undef WLOCK -#define WLOCK WSL - -#undef INIT -#define INIT RWSI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK RSL + +#undef UNLOCK +#define UNLOCK RSU + +#undef RLOCK +#define RLOCK RSL + +#undef WLOCK +#define WLOCK WSL + +#undef INIT +#define INIT RWSI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rtmutex.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rtmutex.h index 4dbd4f9f44..fce8714c41 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rtmutex.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-rtmutex.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK RTL - -#undef UNLOCK -#define UNLOCK RTU - -#undef RLOCK -#undef WLOCK - -#undef INIT -#define INIT RTI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK RTL + +#undef UNLOCK +#define UNLOCK RTU + +#undef RLOCK +#undef WLOCK + +#undef INIT +#define INIT RTI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-softirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-softirq.h index 1590e0fdc9..6adde4867c 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-softirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-softirq.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef IRQ_DISABLE -#undef IRQ_ENABLE -#undef IRQ_ENTER -#undef IRQ_EXIT - -#define IRQ_DISABLE SOFTIRQ_DISABLE -#define IRQ_ENABLE SOFTIRQ_ENABLE -#define IRQ_ENTER SOFTIRQ_ENTER -#define IRQ_EXIT SOFTIRQ_EXIT +/* SPDX-License-Identifier: GPL-2.0 */ +#undef IRQ_DISABLE +#undef IRQ_ENABLE +#undef IRQ_ENTER +#undef IRQ_EXIT + +#define IRQ_DISABLE SOFTIRQ_DISABLE +#define IRQ_ENABLE SOFTIRQ_ENABLE +#define IRQ_ENTER SOFTIRQ_ENTER +#define IRQ_EXIT SOFTIRQ_EXIT diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-hardirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-hardirq.h index a32c7b78ae..693198dce3 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-hardirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-spin.h" -#include "locking-selftest-hardirq.h" +#include "locking-selftest-spin.h" +#include "locking-selftest-hardirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-softirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-softirq.h index aabf24d9a0..c472e2a87f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-softirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin-softirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-spin.h" -#include "locking-selftest-softirq.h" +#include "locking-selftest-spin.h" +#include "locking-selftest-softirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin.h index 463015e326..6b24d699e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-spin.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK L - -#undef UNLOCK -#define UNLOCK U - -#undef RLOCK -#undef WLOCK - -#undef INIT -#define INIT SI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK L + +#undef UNLOCK +#define UNLOCK U + +#undef RLOCK +#undef WLOCK + +#undef INIT +#define INIT SI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-hardirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-hardirq.h index a5b10a45aa..2dd2e5122c 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-hardirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-wlock.h" -#include "locking-selftest-hardirq.h" +#include "locking-selftest-wlock.h" +#include "locking-selftest-hardirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-softirq.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-softirq.h index 87188327ce..cb80d1cb94 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-softirq.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock-softirq.h @@ -1,2 +1,2 @@ -#include "locking-selftest-wlock.h" -#include "locking-selftest-softirq.h" +#include "locking-selftest-wlock.h" +#include "locking-selftest-softirq.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock.h index 264598eb5f..0bc51c8cf3 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wlock.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK WL - -#undef UNLOCK -#define UNLOCK WU - -#undef RLOCK -#define RLOCK RL - -#undef WLOCK -#define WLOCK WL - -#undef INIT -#define INIT RWI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK WL + +#undef UNLOCK +#define UNLOCK WU + +#undef RLOCK +#define RLOCK RL + +#undef WLOCK +#define WLOCK WL + +#undef INIT +#define INIT RWI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wsem.h b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wsem.h index 5d8fbf6367..5ef18f931c 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wsem.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/locking-selftest-wsem.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef LOCK -#define LOCK WSL - -#undef UNLOCK -#define UNLOCK WSU - -#undef RLOCK -#define RLOCK RSL - -#undef WLOCK -#define WLOCK WSL - -#undef INIT -#define INIT RWSI +/* SPDX-License-Identifier: GPL-2.0 */ +#undef LOCK +#define LOCK WSL + +#undef UNLOCK +#define UNLOCK WSU + +#undef RLOCK +#define RLOCK RSL + +#undef WLOCK +#define WLOCK WSL + +#undef INIT +#define INIT RWSI diff --git a/image/debian/UFI003_MB_V02/kernel/lib/lz4/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/lz4/Makefile index c3605c23a7..5b42242afa 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/lz4/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/lz4/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -ccflags-y += -O3 - -obj-$(CONFIG_LZ4_COMPRESS) += lz4_compress.o -obj-$(CONFIG_LZ4HC_COMPRESS) += lz4hc_compress.o -obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o +# SPDX-License-Identifier: GPL-2.0-only +ccflags-y += -O3 + +obj-$(CONFIG_LZ4_COMPRESS) += lz4_compress.o +obj-$(CONFIG_LZ4HC_COMPRESS) += lz4hc_compress.o +obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/lzo/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/lzo/Makefile index d583338921..fc7b2b7ef4 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/lzo/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/lzo/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -lzo_compress-objs := lzo1x_compress.o lzo1x_compress_safe.o -lzo_decompress-objs := lzo1x_decompress_safe.o - -obj-$(CONFIG_LZO_COMPRESS) += lzo_compress.o -obj-$(CONFIG_LZO_DECOMPRESS) += lzo_decompress.o +# SPDX-License-Identifier: GPL-2.0-only +lzo_compress-objs := lzo1x_compress.o lzo1x_compress_safe.o +lzo_decompress-objs := lzo1x_decompress_safe.o + +obj-$(CONFIG_LZO_COMPRESS) += lzo_compress.o +obj-$(CONFIG_LZO_DECOMPRESS) += lzo_decompress.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/math/tests/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/math/tests/Makefile index ed037633ce..6a16912332 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/math/tests/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/math/tests/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_INT_POW_TEST) += int_pow_kunit.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_INT_POW_TEST) += int_pow_kunit.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/pldmfw/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/pldmfw/Makefile index 3fb7b75473..99ad10711a 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/pldmfw/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/pldmfw/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_PLDMFW) += pldmfw.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_PLDMFW) += pldmfw.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/radix-tree.h b/image/debian/UFI003_MB_V02/kernel/lib/radix-tree.h index 2524326f8a..40d5c03e2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/radix-tree.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/radix-tree.h @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* radix-tree helpers that are only shared with xarray */ - -struct kmem_cache; -struct rcu_head; - -extern struct kmem_cache *radix_tree_node_cachep; -extern void radix_tree_node_rcu_free(struct rcu_head *head); +// SPDX-License-Identifier: GPL-2.0+ +/* radix-tree helpers that are only shared with xarray */ + +struct kmem_cache; +struct rcu_head; + +extern struct kmem_cache *radix_tree_node_cachep; +extern void radix_tree_node_rcu_free(struct rcu_head *head); diff --git a/image/debian/UFI003_MB_V02/kernel/lib/raid6/.gitignore b/image/debian/UFI003_MB_V02/kernel/lib/raid6/.gitignore index 774ea1effa..6be57745af 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/raid6/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/lib/raid6/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -mktables -altivec*.c -int*.c -tables.c -neon?.c -s390vx?.c -vpermxor*.c +# SPDX-License-Identifier: GPL-2.0-only +mktables +altivec*.c +int*.c +tables.c +neon?.c +s390vx?.c +vpermxor*.c diff --git a/image/debian/UFI003_MB_V02/kernel/lib/reed_solomon/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/reed_solomon/Makefile index 9586a625be..5d4fa68f26 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/reed_solomon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/reed_solomon/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# This is a modified version of reed solomon lib, -# - -obj-$(CONFIG_REED_SOLOMON) += reed_solomon.o -obj-$(CONFIG_REED_SOLOMON_TEST) += test_rslib.o +# SPDX-License-Identifier: GPL-2.0-only +# +# This is a modified version of reed solomon lib, +# + +obj-$(CONFIG_REED_SOLOMON) += reed_solomon.o +obj-$(CONFIG_REED_SOLOMON_TEST) += test_rslib.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr.c index 5c42de991c..2743084b32 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memchr(small, 0x7A, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memchr(small, 0x7A, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr_inv.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr_inv.c index c9a61a3ae9..b26e1f1bc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr_inv.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memchr_inv.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memchr_inv(small, 0x7A, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memchr_inv(small, 0x7A, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memcmp.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memcmp.c index b74e0f1be1..d5d301ff64 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memcmp.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memcmp.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcmp(small, large, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcmp(small, large, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memscan.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memscan.c index 407333f24a..c1a97f2df0 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memscan.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow-memscan.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memscan(small, 0x7A, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memscan(small, 0x7A, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcmp.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcmp.c index 15a93e313c..c6091e640f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcmp.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcmp.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcmp(large, small, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcmp(large, small, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcpy.c index 39c040da7c..07b62e56cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memcpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcpy(large, instance.buf, sizeof(large)) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcpy(large, instance.buf, sizeof(large)) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memmove.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memmove.c index 0db8710491..34edfab040 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memmove.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2-memmove.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memmove(large, instance.buf, sizeof(large)) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memmove(large, instance.buf, sizeof(large)) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memcpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memcpy.c index d3cf55e7b7..de95692662 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memcpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memcpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcpy(large, instance.buf, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcpy(large, instance.buf, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memmove.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memmove.c index b3fa42929d..6cc2724c8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memmove.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/read_overflow2_field-memmove.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memmove(large, instance.buf, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memmove(large, instance.buf, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memcpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memcpy.c index 692b8fac39..3b3984e428 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memcpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memcpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcpy(instance.buf, large_src, sizeof(large_src)) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcpy(instance.buf, large_src, sizeof(large_src)) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memmove.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memmove.c index 9cda66f428..640437c3b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memmove.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memmove.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memmove(instance.buf, large_src, sizeof(large_src)) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memmove(instance.buf, large_src, sizeof(large_src)) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memset.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memset.c index 502fff24e7..36e34908cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memset.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-memset.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memset(instance.buf, 0x5A, sizeof(large_src)) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memset(instance.buf, 0x5A, sizeof(large_src)) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy-lit.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy-lit.c index f289aed65f..51effb3e50 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy-lit.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy-lit.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - strcpy(small, LITERAL_LARGE) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strcpy(small, LITERAL_LARGE) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy.c index bfbc258913..84f1c56a64 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strcpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - strcpy(small, large_src) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strcpy(small, large_src) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy-src.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy-src.c index 0c80a1e636..8dcfb8c788 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy-src.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy-src.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - strncpy(small, large_src, sizeof(small) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strncpy(small, large_src, sizeof(small) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy.c index 7da1b17345..b85f079c81 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strncpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - strncpy(instance.buf, large_src, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strncpy(instance.buf, large_src, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strscpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strscpy.c index 7eb9fb5e5e..38feddf377 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strscpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow-strscpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - strscpy(instance.buf, large_src, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strscpy(instance.buf, large_src, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memcpy.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memcpy.c index a830d91f64..28cc81058d 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memcpy.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memcpy.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memcpy(instance.buf, large, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcpy(instance.buf, large, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memmove.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memmove.c index b53f5527ad..377fcf9bb2 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memmove.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memmove.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memmove(instance.buf, large, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memmove(instance.buf, large, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memset.c b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memset.c index ff8bb6bc18..2331da2690 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memset.c +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fortify/write_overflow_field-memset.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-only -#define TEST \ - memset(instance.buf, 0x42, sizeof(instance.buf) + 1) - -#include "test_fortify.h" +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memset(instance.buf, 0x42, sizeof(instance.buf) + 1) + +#include "test_fortify.h" diff --git a/image/debian/UFI003_MB_V02/kernel/lib/test_fpu.h b/image/debian/UFI003_MB_V02/kernel/lib/test_fpu.h index 78fd4f5c21..4459807084 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/test_fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/lib/test_fpu.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef _LIB_TEST_FPU_H -#define _LIB_TEST_FPU_H - -int test_fpu(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef _LIB_TEST_FPU_H +#define _LIB_TEST_FPU_H + +int test_fpu(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/lib/xz/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/xz/Makefile index a8f5c11943..fa6af814a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/xz/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/xz/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_XZ_DEC) += xz_dec.o -xz_dec-y := xz_dec_syms.o xz_dec_stream.o xz_dec_lzma2.o -xz_dec-$(CONFIG_XZ_DEC_BCJ) += xz_dec_bcj.o - -obj-$(CONFIG_XZ_DEC_TEST) += xz_dec_test.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_XZ_DEC) += xz_dec.o +xz_dec-y := xz_dec_syms.o xz_dec_stream.o xz_dec_lzma2.o +xz_dec-$(CONFIG_XZ_DEC_BCJ) += xz_dec_bcj.o + +obj-$(CONFIG_XZ_DEC_TEST) += xz_dec_test.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/zlib_deflate/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/zlib_deflate/Makefile index a8bf3c7faf..2622e03c0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/zlib_deflate/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/zlib_deflate/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# This is a modified version of zlib, which does all memory -# allocation ahead of time. -# -# This is the compression code, see zlib_inflate for the -# decompression code. -# - -obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate.o - -zlib_deflate-objs := deflate.o deftree.o deflate_syms.o +# SPDX-License-Identifier: GPL-2.0-only +# +# This is a modified version of zlib, which does all memory +# allocation ahead of time. +# +# This is the compression code, see zlib_inflate for the +# decompression code. +# + +obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate.o + +zlib_deflate-objs := deflate.o deftree.o deflate_syms.o diff --git a/image/debian/UFI003_MB_V02/kernel/lib/zlib_dfltcc/Makefile b/image/debian/UFI003_MB_V02/kernel/lib/zlib_dfltcc/Makefile index 934ccdd599..66e1c96387 100644 --- a/image/debian/UFI003_MB_V02/kernel/lib/zlib_dfltcc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/lib/zlib_dfltcc/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# This is a modified version of zlib, which does all memory -# allocation ahead of time. -# -# This is the code for s390 zlib hardware support. -# - -obj-$(CONFIG_ZLIB_DFLTCC) += zlib_dfltcc.o - -zlib_dfltcc-objs := dfltcc.o dfltcc_deflate.o dfltcc_inflate.o +# SPDX-License-Identifier: GPL-2.0-only +# +# This is a modified version of zlib, which does all memory +# allocation ahead of time. +# +# This is the code for s390 zlib hardware support. +# + +obj-$(CONFIG_ZLIB_DFLTCC) += zlib_dfltcc.o + +zlib_dfltcc-objs := dfltcc.o dfltcc_deflate.o dfltcc_inflate.o diff --git a/image/debian/UFI003_MB_V02/kernel/mm/kfence/.kunitconfig b/image/debian/UFI003_MB_V02/kernel/mm/kfence/.kunitconfig index c251bc77b2..f3d65e939b 100644 --- a/image/debian/UFI003_MB_V02/kernel/mm/kfence/.kunitconfig +++ b/image/debian/UFI003_MB_V02/kernel/mm/kfence/.kunitconfig @@ -1,6 +1,6 @@ -CONFIG_KUNIT=y -CONFIG_KFENCE=y -CONFIG_KFENCE_KUNIT_TEST=y - -# Additional dependencies. -CONFIG_FTRACE=y +CONFIG_KUNIT=y +CONFIG_KFENCE=y +CONFIG_KFENCE_KUNIT_TEST=y + +# Additional dependencies. +CONFIG_FTRACE=y diff --git a/image/debian/UFI003_MB_V02/kernel/mm/kfence/Makefile b/image/debian/UFI003_MB_V02/kernel/mm/kfence/Makefile index c40af69677..2de2a58d11 100644 --- a/image/debian/UFI003_MB_V02/kernel/mm/kfence/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/mm/kfence/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y := core.o report.o - -CFLAGS_kfence_test.o := -fno-omit-frame-pointer -fno-optimize-sibling-calls -obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y := core.o report.o + +CFLAGS_kfence_test.o := -fno-omit-frame-pointer -fno-optimize-sibling-calls +obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/802/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/802/Kconfig index 2f693542ff..aaa83e8882 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/802/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/802/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -config STP - tristate - select LLC - -config GARP - tristate - select STP - -config MRP - tristate +# SPDX-License-Identifier: GPL-2.0-only +config STP + tristate + select LLC + +config GARP + tristate + select STP + +config MRP + tristate diff --git a/image/debian/UFI003_MB_V02/kernel/net/9p/trans_common.h b/image/debian/UFI003_MB_V02/kernel/net/9p/trans_common.h index caa14d9cd0..32134db6ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/9p/trans_common.h +++ b/image/debian/UFI003_MB_V02/kernel/net/9p/trans_common.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: LGPL-2.1 */ -/* - * Copyright IBM Corporation, 2010 - * Author Venkateswararao Jujjuri - */ - -void p9_release_pages(struct page **pages, int nr_pages); +/* SPDX-License-Identifier: LGPL-2.1 */ +/* + * Copyright IBM Corporation, 2010 + * Author Venkateswararao Jujjuri + */ + +void p9_release_pages(struct page **pages, int nr_pages); diff --git a/image/debian/UFI003_MB_V02/kernel/net/appletalk/Makefile b/image/debian/UFI003_MB_V02/kernel/net/appletalk/Makefile index 06331af77e..33164d972d 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/appletalk/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/appletalk/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux AppleTalk layer. -# - -obj-$(CONFIG_ATALK) += appletalk.o - -appletalk-y := aarp.o ddp.o dev.o -appletalk-$(CONFIG_PROC_FS) += atalk_proc.o -appletalk-$(CONFIG_SYSCTL) += sysctl_net_atalk.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux AppleTalk layer. +# + +obj-$(CONFIG_ATALK) += appletalk.o + +appletalk-y := aarp.o ddp.o dev.o +appletalk-$(CONFIG_PROC_FS) += atalk_proc.o +appletalk-$(CONFIG_SYSCTL) += sysctl_net_atalk.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/batman-adv/bat_iv_ogm.h b/image/debian/UFI003_MB_V02/kernel/net/batman-adv/bat_iv_ogm.h index 4e63f88afd..04b01bd684 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/batman-adv/bat_iv_ogm.h +++ b/image/debian/UFI003_MB_V02/kernel/net/batman-adv/bat_iv_ogm.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) B.A.T.M.A.N. contributors: - * - * Marek Lindner, Simon Wunderlich - */ - -#ifndef _NET_BATMAN_ADV_BAT_IV_OGM_H_ -#define _NET_BATMAN_ADV_BAT_IV_OGM_H_ - -#include "main.h" - -int batadv_iv_init(void); - -#endif /* _NET_BATMAN_ADV_BAT_IV_OGM_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) B.A.T.M.A.N. contributors: + * + * Marek Lindner, Simon Wunderlich + */ + +#ifndef _NET_BATMAN_ADV_BAT_IV_OGM_H_ +#define _NET_BATMAN_ADV_BAT_IV_OGM_H_ + +#include "main.h" + +int batadv_iv_init(void); + +#endif /* _NET_BATMAN_ADV_BAT_IV_OGM_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/batman-adv/trace.c b/image/debian/UFI003_MB_V02/kernel/net/batman-adv/trace.c index 273103c63b..ec8b951907 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/batman-adv/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/batman-adv/trace.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) B.A.T.M.A.N. contributors: - * - * Sven Eckelmann - */ - -#define CREATE_TRACE_POINTS -#include "trace.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (C) B.A.T.M.A.N. contributors: + * + * Sven Eckelmann + */ + +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/bnep/Makefile b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/bnep/Makefile index 20a8fbda65..8af9d56bb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/bnep/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/bnep/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Bluetooth BNEP layer. -# - -obj-$(CONFIG_BT_BNEP) += bnep.o - -bnep-objs := core.o sock.o netdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Bluetooth BNEP layer. +# + +obj-$(CONFIG_BT_BNEP) += bnep.o + +bnep-objs := core.o sock.o netdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/cmtp/Makefile b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/cmtp/Makefile index a4ab12570a..b2262ca974 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/cmtp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/cmtp/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Bluetooth CMTP layer -# - -obj-$(CONFIG_BT_CMTP) += cmtp.o - -cmtp-objs := core.o sock.o capi.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Bluetooth CMTP layer +# + +obj-$(CONFIG_BT_CMTP) += cmtp.o + +cmtp-objs := core.o sock.o capi.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hci_codec.h b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hci_codec.h index dc35a4752c..a2751930f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hci_codec.h +++ b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hci_codec.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -/* Copyright (C) 2014 Intel Corporation */ - -void hci_read_supported_codecs(struct hci_dev *hdev); -void hci_read_supported_codecs_v2(struct hci_dev *hdev); -void hci_codec_list_clear(struct list_head *codec_list); +/* SPDX-License-Identifier: GPL-2.0 */ + +/* Copyright (C) 2014 Intel Corporation */ + +void hci_read_supported_codecs(struct hci_dev *hdev); +void hci_read_supported_codecs_v2(struct hci_dev *hdev); +void hci_codec_list_clear(struct list_head *codec_list); diff --git a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hidp/Makefile b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hidp/Makefile index ee23a226b8..f41b0aa02b 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hidp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/hidp/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Bluetooth HIDP layer -# - -obj-$(CONFIG_BT_HIDP) += hidp.o - -hidp-objs := core.o sock.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Bluetooth HIDP layer +# + +obj-$(CONFIG_BT_HIDP) += hidp.o + +hidp-objs := core.o sock.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/rfcomm/Makefile b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/rfcomm/Makefile index b79ae8b56d..593e5c48c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bluetooth/rfcomm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/bluetooth/rfcomm/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Bluetooth RFCOMM layer. -# - -obj-$(CONFIG_BT_RFCOMM) += rfcomm.o - -rfcomm-y := core.o sock.o -rfcomm-$(CONFIG_BT_RFCOMM_TTY) += tty.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Bluetooth RFCOMM layer. +# + +obj-$(CONFIG_BT_RFCOMM) += rfcomm.o + +rfcomm-y := core.o sock.o +rfcomm-$(CONFIG_BT_RFCOMM_TTY) += tty.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/bpf/Makefile b/image/debian/UFI003_MB_V02/kernel/net/bpf/Makefile index 88518ecf31..1ebe270bde 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/bpf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/bpf/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_BPF_SYSCALL) := test_run.o -ifeq ($(CONFIG_BPF_JIT),y) -obj-$(CONFIG_BPF_SYSCALL) += bpf_dummy_struct_ops.o -endif +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_BPF_SYSCALL) := test_run.o +ifeq ($(CONFIG_BPF_JIT),y) +obj-$(CONFIG_BPF_SYSCALL) += bpf_dummy_struct_ops.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/can/j1939/Makefile b/image/debian/UFI003_MB_V02/kernel/net/can/j1939/Makefile index 748bfab7cf..19181bdae1 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/can/j1939/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/can/j1939/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_CAN_J1939) += can-j1939.o - -can-j1939-objs := \ - address-claim.o \ - bus.o \ - main.o \ - socket.o \ - transport.o +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_CAN_J1939) += can-j1939.o + +can-j1939-objs := \ + address-claim.o \ + bus.o \ + main.o \ + socket.o \ + transport.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/devlink/Makefile b/image/debian/UFI003_MB_V02/kernel/net/devlink/Makefile index fa3b091c40..000da62211 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/devlink/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/devlink/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y := core.o netlink.o netlink_gen.o dev.o port.o sb.o dpipe.o \ - resource.o param.o region.o health.o trap.o rate.o linecard.o +# SPDX-License-Identifier: GPL-2.0 + +obj-y := core.o netlink.o netlink_gen.o dev.o port.o sb.o dpipe.o \ + resource.o param.o region.o health.o trap.o rate.o linecard.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/dns_resolver/Makefile b/image/debian/UFI003_MB_V02/kernel/net/dns_resolver/Makefile index 8ed6aec76a..877532d662 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/dns_resolver/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/dns_resolver/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux DNS Resolver. -# - -obj-$(CONFIG_DNS_RESOLVER) += dns_resolver.o - -dns_resolver-y := dns_key.o dns_query.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux DNS Resolver. +# + +obj-$(CONFIG_DNS_RESOLVER) += dns_resolver.o + +dns_resolver-y := dns_key.o dns_query.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/dsa/netlink.h b/image/debian/UFI003_MB_V02/kernel/net/dsa/netlink.h index 29b00a2efe..7eda2fa157 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/dsa/netlink.h +++ b/image/debian/UFI003_MB_V02/kernel/net/dsa/netlink.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef __DSA_NETLINK_H -#define __DSA_NETLINK_H - -extern struct rtnl_link_ops dsa_link_ops __read_mostly; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef __DSA_NETLINK_H +#define __DSA_NETLINK_H + +extern struct rtnl_link_ops dsa_link_ops __read_mostly; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/dsa/stubs.c b/image/debian/UFI003_MB_V02/kernel/net/dsa/stubs.c index d729187b1b..2ed8a6c85f 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/dsa/stubs.c +++ b/image/debian/UFI003_MB_V02/kernel/net/dsa/stubs.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Stubs for DSA functionality called by the core network stack. - * These are necessary because CONFIG_NET_DSA can be a module, and built-in - * code cannot directly call symbols exported by modules. - */ -#include - -const struct dsa_stubs *dsa_stubs; -EXPORT_SYMBOL_GPL(dsa_stubs); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Stubs for DSA functionality called by the core network stack. + * These are necessary because CONFIG_NET_DSA can be a module, and built-in + * code cannot directly call symbols exported by modules. + */ +#include + +const struct dsa_stubs *dsa_stubs; +EXPORT_SYMBOL_GPL(dsa_stubs); diff --git a/image/debian/UFI003_MB_V02/kernel/net/ethernet/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ethernet/Makefile index f7f7f0d890..e03eff94e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ethernet/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ethernet/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Ethernet layer. -# - -obj-y += eth.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Ethernet layer. +# + +obj-y += eth.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/handshake/.kunitconfig b/image/debian/UFI003_MB_V02/kernel/net/handshake/.kunitconfig index aca6ab1cdf..5c48cf4abc 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/handshake/.kunitconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/handshake/.kunitconfig @@ -1,11 +1,11 @@ -CONFIG_KUNIT=y -CONFIG_UBSAN=y -CONFIG_STACKTRACE=y -CONFIG_NET=y -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_INET=y -CONFIG_MULTIUSER=y -CONFIG_NFS_FS=y -CONFIG_SUNRPC=y -CONFIG_NET_HANDSHAKE=y -CONFIG_NET_HANDSHAKE_KUNIT_TEST=y +CONFIG_KUNIT=y +CONFIG_UBSAN=y +CONFIG_STACKTRACE=y +CONFIG_NET=y +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_INET=y +CONFIG_MULTIUSER=y +CONFIG_NFS_FS=y +CONFIG_SUNRPC=y +CONFIG_NET_HANDSHAKE=y +CONFIG_NET_HANDSHAKE_KUNIT_TEST=y diff --git a/image/debian/UFI003_MB_V02/kernel/net/handshake/Makefile b/image/debian/UFI003_MB_V02/kernel/net/handshake/Makefile index 72c96cf59b..ef4d9a2112 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/handshake/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/handshake/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Generic HANDSHAKE service -# -# Author: Chuck Lever -# -# Copyright (c) 2023, Oracle and/or its affiliates. -# - -obj-y += handshake.o -handshake-y := alert.o genl.o netlink.o request.o tlshd.o trace.o - -obj-$(CONFIG_NET_HANDSHAKE_KUNIT_TEST) += handshake-test.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Generic HANDSHAKE service +# +# Author: Chuck Lever +# +# Copyright (c) 2023, Oracle and/or its affiliates. +# + +obj-y += handshake.o +handshake-y := alert.o genl.o netlink.o request.o tlshd.o trace.o + +obj-$(CONFIG_NET_HANDSHAKE_KUNIT_TEST) += handshake-test.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/hsr/Makefile b/image/debian/UFI003_MB_V02/kernel/net/hsr/Makefile index f2d87ac620..75df90d3b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/hsr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/hsr/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for HSR -# - -obj-$(CONFIG_HSR) += hsr.o - -hsr-y := hsr_main.o hsr_framereg.o hsr_device.o \ - hsr_netlink.o hsr_slave.o hsr_forward.o -hsr-$(CONFIG_DEBUG_FS) += hsr_debugfs.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for HSR +# + +obj-$(CONFIG_HSR) += hsr.o + +hsr-y := hsr_main.o hsr_framereg.o hsr_device.o \ + hsr_netlink.o hsr_slave.o hsr_forward.o +hsr-$(CONFIG_DEBUG_FS) += hsr_debugfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Kconfig index 8ebe08e8c0..e808e4db26 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Kconfig @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -config IEEE802154_6LOWPAN - tristate "6lowpan support over IEEE 802.15.4" - depends on 6LOWPAN - help - IPv6 compression over IEEE 802.15.4. +# SPDX-License-Identifier: GPL-2.0-only +config IEEE802154_6LOWPAN + tristate "6lowpan support over IEEE 802.15.4" + depends on 6LOWPAN + help + IPv6 compression over IEEE 802.15.4. diff --git a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Makefile index f89e09b9f3..f11d6376a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/6lowpan/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_IEEE802154_6LOWPAN) += ieee802154_6lowpan.o - -ieee802154_6lowpan-y := core.o rx.o reassembly.o tx.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_IEEE802154_6LOWPAN) += ieee802154_6lowpan.o + +ieee802154_6lowpan-y := core.o rx.o reassembly.o tx.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/Makefile index eee7fb1c11..7bce67673e 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_IEEE802154) += ieee802154.o -obj-$(CONFIG_IEEE802154_SOCKET) += ieee802154_socket.o -obj-y += 6lowpan/ - -ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \ - header_ops.o sysfs.o nl802154.o trace.o pan.o -ieee802154_socket-y := socket.o - -CFLAGS_trace.o := -I$(src) +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_IEEE802154) += ieee802154.o +obj-$(CONFIG_IEEE802154_SOCKET) += ieee802154_socket.o +obj-y += 6lowpan/ + +ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \ + header_ops.o sysfs.o nl802154.o trace.o pan.o +ieee802154_socket-y := socket.o + +CFLAGS_trace.o := -I$(src) diff --git a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/sysfs.h b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/sysfs.h index f3e76884cb..69961e1662 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/sysfs.h +++ b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/sysfs.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __IEEE802154_SYSFS_H -#define __IEEE802154_SYSFS_H - -int wpan_phy_sysfs_init(void); -void wpan_phy_sysfs_exit(void); - -extern const struct class wpan_phy_class; - -#endif /* __IEEE802154_SYSFS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __IEEE802154_SYSFS_H +#define __IEEE802154_SYSFS_H + +int wpan_phy_sysfs_init(void); +void wpan_phy_sysfs_exit(void); + +extern const struct class wpan_phy_class; + +#endif /* __IEEE802154_SYSFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/trace.c b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/trace.c index d5edbc5306..95f997fad7 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ieee802154/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/ieee802154/trace.c @@ -1,7 +1,7 @@ -#include - -#ifndef __CHECKER__ -#define CREATE_TRACE_POINTS -#include "trace.h" - -#endif +#include + +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "trace.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/ife/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ife/Makefile index 109828cc34..1258fcb07f 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ife/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ife/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the IFE encapsulation protocol -# - -obj-$(CONFIG_NET_IFE) += ife.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the IFE encapsulation protocol +# + +obj-$(CONFIG_NET_IFE) += ife.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/ipv4/udp_tunnel_stub.c b/image/debian/UFI003_MB_V02/kernel/net/ipv4/udp_tunnel_stub.c index 43fc90e8f0..c4b2888f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ipv4/udp_tunnel_stub.c +++ b/image/debian/UFI003_MB_V02/kernel/net/ipv4/udp_tunnel_stub.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (c) 2020 Facebook Inc. - -#include - -const struct udp_tunnel_nic_ops *udp_tunnel_nic_ops; -EXPORT_SYMBOL_GPL(udp_tunnel_nic_ops); +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2020 Facebook Inc. + +#include + +const struct udp_tunnel_nic_ops *udp_tunnel_nic_ops; +EXPORT_SYMBOL_GPL(udp_tunnel_nic_ops); diff --git a/image/debian/UFI003_MB_V02/kernel/net/ipv6/ila/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ipv6/ila/Makefile index cc609c398d..1bc88ed7ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ipv6/ila/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ipv6/ila/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ILA module -# - -obj-$(CONFIG_IPV6_ILA) += ila.o - -ila-objs := ila_main.o ila_common.o ila_lwt.o ila_xlat.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ILA module +# + +obj-$(CONFIG_IPV6_ILA) += ila.o + +ila-objs := ila_main.o ila_common.o ila_lwt.o ila_xlat.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/ipv6/ip6_offload.h b/image/debian/UFI003_MB_V02/kernel/net/ipv6/ip6_offload.h index 55641fae73..e768987604 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ipv6/ip6_offload.h +++ b/image/debian/UFI003_MB_V02/kernel/net/ipv6/ip6_offload.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * IPV6 GSO/GRO offload support - * Linux INET6 implementation - */ - -#ifndef __ip6_offload_h -#define __ip6_offload_h - -int ipv6_exthdrs_offload_init(void); -int udpv6_offload_init(void); -int udpv6_offload_exit(void); -int tcpv6_offload_init(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * IPV6 GSO/GRO offload support + * Linux INET6 implementation + */ + +#ifndef __ip6_offload_h +#define __ip6_offload_h + +int ipv6_exthdrs_offload_init(void); +int udpv6_offload_init(void); +int udpv6_offload_exit(void); +int tcpv6_offload_init(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/iucv/Makefile b/image/debian/UFI003_MB_V02/kernel/net/iucv/Makefile index 4fd2fce8b8..984d7ff056 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/iucv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/iucv/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for IUCV -# - -obj-$(CONFIG_IUCV) += iucv.o -obj-$(CONFIG_AFIUCV) += af_iucv.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for IUCV +# + +obj-$(CONFIG_IUCV) += iucv.o +obj-$(CONFIG_AFIUCV) += af_iucv.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/kcm/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/kcm/Kconfig index 6e5f9ac26f..16f39f2565 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/kcm/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/kcm/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only - -config AF_KCM - tristate "KCM sockets" - depends on INET - select BPF_SYSCALL - select STREAM_PARSER - help - KCM (Kernel Connection Multiplexor) sockets provide a method - for multiplexing messages of a message based application - protocol over kernel connectons (e.g. TCP connections). +# SPDX-License-Identifier: GPL-2.0-only + +config AF_KCM + tristate "KCM sockets" + depends on INET + select BPF_SYSCALL + select STREAM_PARSER + help + KCM (Kernel Connection Multiplexor) sockets provide a method + for multiplexing messages of a message based application + protocol over kernel connectons (e.g. TCP connections). diff --git a/image/debian/UFI003_MB_V02/kernel/net/kcm/Makefile b/image/debian/UFI003_MB_V02/kernel/net/kcm/Makefile index 0576c5f2af..6c4569221d 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/kcm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/kcm/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_AF_KCM) += kcm.o - -kcm-y := kcmsock.o kcmproc.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_AF_KCM) += kcm.o + +kcm-y := kcmsock.o kcmproc.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/key/Makefile b/image/debian/UFI003_MB_V02/kernel/net/key/Makefile index c16a96801a..ed779c22fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/key/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/key/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the key AF. -# - -obj-$(CONFIG_NET_KEY) += af_key.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the key AF. +# + +obj-$(CONFIG_NET_KEY) += af_key.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Kconfig index 6689551c1e..2b2861e1fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Configuration for L3 master device support -# - -config NET_L3_MASTER_DEV - bool "L3 Master device support" - depends on INET || IPV6 - help - This module provides glue between core networking code and device - drivers to support L3 master devices like VRF. +# SPDX-License-Identifier: GPL-2.0-only +# +# Configuration for L3 master device support +# + +config NET_L3_MASTER_DEV + bool "L3 Master device support" + depends on INET || IPV6 + help + This module provides glue between core networking code and device + drivers to support L3 master devices like VRF. diff --git a/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Makefile b/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Makefile index 7191ee60dd..9e7da0acc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/l3mdev/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the L3 device API -# - -obj-y += l3mdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the L3 device API +# + +obj-y += l3mdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/lapb/Makefile b/image/debian/UFI003_MB_V02/kernel/net/lapb/Makefile index ceeeea458d..7be91b4c0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/lapb/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/lapb/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux LAPB layer. -# - -obj-$(CONFIG_LAPB) += lapb.o - -lapb-y := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux LAPB layer. +# + +obj-$(CONFIG_LAPB) += lapb.o + +lapb-y := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/llc/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/llc/Kconfig index 7684dc50b9..7f79f5e134 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/llc/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/llc/Kconfig @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -config LLC - tristate - -config LLC2 - tristate "ANSI/IEEE 802.2 LLC type 2 Support" - select LLC - help - This is a Logical Link Layer type 2, connection oriented support. - Select this if you want to have support for PF_LLC sockets. +# SPDX-License-Identifier: GPL-2.0-only +config LLC + tristate + +config LLC2 + tristate "ANSI/IEEE 802.2 LLC type 2 Support" + select LLC + help + This is a Logical Link Layer type 2, connection oriented support. + Select this if you want to have support for PF_LLC sockets. diff --git a/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/Makefile b/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/Makefile index 1b98c0beae..511dfa2266 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/Makefile @@ -1,3 +1,3 @@ -mac80211-tests-y += module.o elems.o mfp.o tpe.o - -obj-$(CONFIG_MAC80211_KUNIT_TEST) += mac80211-tests.o +mac80211-tests-y += module.o elems.o mfp.o tpe.o + +obj-$(CONFIG_MAC80211_KUNIT_TEST) += mac80211-tests.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/module.c b/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/module.c index 2499e53e20..9d05f29439 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/module.c +++ b/image/debian/UFI003_MB_V02/kernel/net/mac80211/tests/module.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * This is just module boilerplate for the mac80211 kunit module. - * - * Copyright (C) 2023 Intel Corporation - */ -#include - -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("tests for mac80211"); +// SPDX-License-Identifier: GPL-2.0-only +/* + * This is just module boilerplate for the mac80211 kunit module. + * + * Copyright (C) 2023 Intel Corporation + */ +#include + +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("tests for mac80211"); diff --git a/image/debian/UFI003_MB_V02/kernel/net/mac802154/Makefile b/image/debian/UFI003_MB_V02/kernel/net/mac802154/Makefile index 04992b88d1..43d1347b37 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mac802154/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/mac802154/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_MAC802154) += mac802154.o -mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \ - iface.o llsec.o util.o cfg.o scan.o trace.o - -CFLAGS_trace.o := -I$(src) +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_MAC802154) += mac802154.o +mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \ + iface.o llsec.o util.o cfg.o scan.o trace.o + +CFLAGS_trace.o := -I$(src) diff --git a/image/debian/UFI003_MB_V02/kernel/net/mac802154/cfg.h b/image/debian/UFI003_MB_V02/kernel/net/mac802154/cfg.h index d5c7793a87..3bb0896855 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mac802154/cfg.h +++ b/image/debian/UFI003_MB_V02/kernel/net/mac802154/cfg.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* mac802154 configuration hooks for cfg802154 - */ - -#ifndef __CFG_H -#define __CFG_H - -extern const struct cfg802154_ops mac802154_config_ops; - -#endif /* __CFG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* mac802154 configuration hooks for cfg802154 + */ + +#ifndef __CFG_H +#define __CFG_H + +extern const struct cfg802154_ops mac802154_config_ops; + +#endif /* __CFG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/mac802154/trace.c b/image/debian/UFI003_MB_V02/kernel/net/mac802154/trace.c index 51771a701d..c36e3d541a 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mac802154/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/mac802154/trace.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#ifndef __CHECKER__ -#include -#include "driver-ops.h" -#define CREATE_TRACE_POINTS -#include "trace.h" - -#endif +// SPDX-License-Identifier: GPL-2.0 +#include + +#ifndef __CHECKER__ +#include +#include "driver-ops.h" +#define CREATE_TRACE_POINTS +#include "trace.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/mctp/Makefile b/image/debian/UFI003_MB_V02/kernel/net/mctp/Makefile index 115150fab5..6cd55233e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mctp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/mctp/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_MCTP) += mctp.o -mctp-objs := af_mctp.o device.o route.o neigh.o - -# tests -obj-$(CONFIG_MCTP_TEST) += test/utils.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_MCTP) += mctp.o +mctp-objs := af_mctp.o device.o route.o neigh.o + +# tests +obj-$(CONFIG_MCTP_TEST) += test/utils.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/mpls/Makefile b/image/debian/UFI003_MB_V02/kernel/net/mpls/Makefile index a022eaac51..53e33b6c72 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/mpls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/mpls/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for MPLS. -# -obj-$(CONFIG_NET_MPLS_GSO) += mpls_gso.o -obj-$(CONFIG_MPLS_ROUTING) += mpls_router.o -obj-$(CONFIG_MPLS_IPTUNNEL) += mpls_iptunnel.o - -mpls_router-y := af_mpls.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for MPLS. +# +obj-$(CONFIG_NET_MPLS_GSO) += mpls_gso.o +obj-$(CONFIG_MPLS_ROUTING) += mpls_router.o +obj-$(CONFIG_MPLS_IPTUNNEL) += mpls_iptunnel.o + +mpls_router-y := af_mpls.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/ncsi/Makefile b/image/debian/UFI003_MB_V02/kernel/net/ncsi/Makefile index 5b62c497c6..e205f3bf1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/ncsi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/ncsi/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for NCSI API -# -obj-$(CONFIG_NET_NCSI) += ncsi-cmd.o ncsi-rsp.o ncsi-aen.o ncsi-manage.o ncsi-netlink.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for NCSI API +# +obj-$(CONFIG_NET_NCSI) += ncsi-cmd.o ncsi-rsp.o ncsi-aen.o ncsi-manage.o ncsi-netlink.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/netlink/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/netlink/Kconfig index 7281db9133..1039d4f2ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/netlink/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/netlink/Kconfig @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Netlink Sockets -# - -config NETLINK_DIAG - tristate "NETLINK: socket monitoring interface" - default n - help - Support for NETLINK socket monitoring interface used by the ss tool. - If unsure, say Y. +# SPDX-License-Identifier: GPL-2.0-only +# +# Netlink Sockets +# + +config NETLINK_DIAG + tristate "NETLINK: socket monitoring interface" + default n + help + Support for NETLINK socket monitoring interface used by the ss tool. + If unsure, say Y. diff --git a/image/debian/UFI003_MB_V02/kernel/net/netlink/Makefile b/image/debian/UFI003_MB_V02/kernel/net/netlink/Makefile index a10f88d094..e05202708c 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/netlink/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/netlink/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the netlink driver. -# - -obj-y := af_netlink.o genetlink.o policy.o - -obj-$(CONFIG_NETLINK_DIAG) += netlink_diag.o -netlink_diag-y := diag.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the netlink driver. +# + +obj-y := af_netlink.o genetlink.o policy.o + +obj-$(CONFIG_NETLINK_DIAG) += netlink_diag.o +netlink_diag-y := diag.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/netlink/genetlink.h b/image/debian/UFI003_MB_V02/kernel/net/netlink/genetlink.h index 2140f0ba7d..89bd9d2631 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/netlink/genetlink.h +++ b/image/debian/UFI003_MB_V02/kernel/net/netlink/genetlink.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NET_GENETLINK_H -#define __NET_GENETLINK_H - -#include - -/* for synchronisation between af_netlink and genetlink */ -extern atomic_t genl_sk_destructing_cnt; -extern wait_queue_head_t genl_sk_destructing_waitq; - -#endif /* __LINUX_GENERIC_NETLINK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NET_GENETLINK_H +#define __NET_GENETLINK_H + +#include + +/* for synchronisation between af_netlink and genetlink */ +extern atomic_t genl_sk_destructing_cnt; +extern wait_queue_head_t genl_sk_destructing_waitq; + +#endif /* __LINUX_GENERIC_NETLINK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/netrom/Makefile b/image/debian/UFI003_MB_V02/kernel/net/netrom/Makefile index 1ca8db3af6..603e36c9af 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/netrom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/netrom/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux NET/ROM layer. -# - -obj-$(CONFIG_NETROM) += netrom.o - -netrom-y := af_netrom.o nr_dev.o nr_in.o nr_loopback.o \ - nr_out.o nr_route.o nr_subr.o nr_timer.o -netrom-$(CONFIG_SYSCTL) += sysctl_net_netrom.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux NET/ROM layer. +# + +obj-$(CONFIG_NETROM) += netrom.o + +netrom-y := af_netrom.o nr_dev.o nr_in.o nr_loopback.o \ + nr_out.o nr_route.o nr_subr.o nr_timer.o +netrom-$(CONFIG_SYSCTL) += sysctl_net_netrom.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/nfc/hci/Makefile b/image/debian/UFI003_MB_V02/kernel/net/nfc/hci/Makefile index 55d7145166..5a0aaae6fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/nfc/hci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/nfc/hci/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux NFC HCI layer. -# - -obj-$(CONFIG_NFC_HCI) += hci.o - -hci-y := core.o hcp.o command.o llc.o llc_nop.o -hci-$(CONFIG_NFC_SHDLC) += llc_shdlc.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux NFC HCI layer. +# + +obj-$(CONFIG_NFC_HCI) += hci.o + +hci-y := core.o hcp.o command.o llc.o llc_nop.o +hci-$(CONFIG_NFC_SHDLC) += llc_shdlc.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/nfc/nci/Makefile b/image/debian/UFI003_MB_V02/kernel/net/nfc/nci/Makefile index 1ea466052b..c3362c4992 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/nfc/nci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/nfc/nci/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux NFC NCI layer. -# - -obj-$(CONFIG_NFC_NCI) += nci.o - -nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o - -nci_spi-y += spi.o -obj-$(CONFIG_NFC_NCI_SPI) += nci_spi.o - -nci_uart-y += uart.o -obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux NFC NCI layer. +# + +obj-$(CONFIG_NFC_NCI) += nci.o + +nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o + +nci_spi-y += spi.o +obj-$(CONFIG_NFC_NCI_SPI) += nci_spi.o + +nci_uart-y += uart.o +obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/nsh/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/nsh/Kconfig index a82b3bf363..84f2a28234 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/nsh/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/nsh/Kconfig @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig NET_NSH - tristate "Network Service Header (NSH) protocol" - default n - help - Network Service Header is an implementation of Service Function - Chaining (RFC 7665). The current implementation in Linux supports - only MD type 1 and only with the openvswitch module. - - If unsure, say N. +# SPDX-License-Identifier: GPL-2.0-only +menuconfig NET_NSH + tristate "Network Service Header (NSH) protocol" + default n + help + Network Service Header is an implementation of Service Function + Chaining (RFC 7665). The current implementation in Linux supports + only MD type 1 and only with the openvswitch module. + + If unsure, say N. diff --git a/image/debian/UFI003_MB_V02/kernel/net/openvswitch/openvswitch_trace.c b/image/debian/UFI003_MB_V02/kernel/net/openvswitch/openvswitch_trace.c index ebedf1e8f9..62c5f7d6f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/openvswitch/openvswitch_trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/openvswitch/openvswitch_trace.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/* bug in tracepoint.h, it should include this */ -#include - -/* sparse isn't too happy with all macros... */ -#ifndef __CHECKER__ -#define CREATE_TRACE_POINTS -#include "openvswitch_trace.h" - -#endif +// SPDX-License-Identifier: GPL-2.0 +/* bug in tracepoint.h, it should include this */ +#include + +/* sparse isn't too happy with all macros... */ +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "openvswitch_trace.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/packet/Makefile b/image/debian/UFI003_MB_V02/kernel/net/packet/Makefile index c26ac84c09..97d502e21b 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/packet/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/packet/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the packet AF. -# - -obj-$(CONFIG_PACKET) += af_packet.o -obj-$(CONFIG_PACKET_DIAG) += af_packet_diag.o -af_packet_diag-y += diag.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the packet AF. +# + +obj-$(CONFIG_PACKET) += af_packet.o +obj-$(CONFIG_PACKET_DIAG) += af_packet_diag.o +af_packet_diag-y += diag.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/phonet/Makefile b/image/debian/UFI003_MB_V02/kernel/net/phonet/Makefile index 013e9e376f..444f875932 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/phonet/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/phonet/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_PHONET) += phonet.o pn_pep.o - -phonet-y := \ - pn_dev.o \ - pn_netlink.o \ - socket.o \ - datagram.o \ - sysctl.o \ - af_phonet.o - -pn_pep-y := pep.o pep-gprs.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_PHONET) += phonet.o pn_pep.o + +phonet-y := \ + pn_dev.o \ + pn_netlink.o \ + socket.o \ + datagram.o \ + sysctl.o \ + af_phonet.o + +pn_pep-y := pep.o pep-gprs.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/psample/Makefile b/image/debian/UFI003_MB_V02/kernel/net/psample/Makefile index d79b64e441..a04367b9e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/psample/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/psample/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the psample netlink channel -# - -obj-$(CONFIG_PSAMPLE) += psample.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the psample netlink channel +# + +obj-$(CONFIG_PSAMPLE) += psample.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/qrtr/Makefile b/image/debian/UFI003_MB_V02/kernel/net/qrtr/Makefile index 57f5ec0ce8..8e0605f88a 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/qrtr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/qrtr/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_QRTR) += qrtr.o -qrtr-y := af_qrtr.o ns.o - -obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o -qrtr-smd-y := smd.o -obj-$(CONFIG_QRTR_TUN) += qrtr-tun.o -qrtr-tun-y := tun.o -obj-$(CONFIG_QRTR_MHI) += qrtr-mhi.o -qrtr-mhi-y := mhi.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_QRTR) += qrtr.o +qrtr-y := af_qrtr.o ns.o + +obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o +qrtr-smd-y := smd.o +obj-$(CONFIG_QRTR_TUN) += qrtr-tun.o +qrtr-tun-y := tun.o +obj-$(CONFIG_QRTR_MHI) += qrtr-mhi.o +qrtr-mhi-y := mhi.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/rds/loop.h b/image/debian/UFI003_MB_V02/kernel/net/rds/loop.h index 3965d18f33..bbc8cdd030 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/rds/loop.h +++ b/image/debian/UFI003_MB_V02/kernel/net/rds/loop.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _RDS_LOOP_H -#define _RDS_LOOP_H - -/* loop.c */ -extern struct rds_transport rds_loop_transport; - -int rds_loop_net_init(void); -void rds_loop_net_exit(void); -void rds_loop_exit(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _RDS_LOOP_H +#define _RDS_LOOP_H + +/* loop.c */ +extern struct rds_transport rds_loop_transport; + +int rds_loop_net_init(void); +void rds_loop_net_exit(void); +void rds_loop_exit(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/rfkill/Makefile b/image/debian/UFI003_MB_V02/kernel/net/rfkill/Makefile index 4b71d3ba0c..dc47b6174e 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/rfkill/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/rfkill/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the RF switch subsystem. -# - -rfkill-y += core.o -rfkill-$(CONFIG_RFKILL_INPUT) += input.o -obj-$(CONFIG_RFKILL) += rfkill.o -obj-$(CONFIG_RFKILL_GPIO) += rfkill-gpio.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the RF switch subsystem. +# + +rfkill-y += core.o +rfkill-$(CONFIG_RFKILL_INPUT) += input.o +obj-$(CONFIG_RFKILL) += rfkill.o +obj-$(CONFIG_RFKILL_GPIO) += rfkill-gpio.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/rose/Makefile b/image/debian/UFI003_MB_V02/kernel/net/rose/Makefile index 48cef74204..3e6638f5ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/rose/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/rose/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Linux Rose (X.25 PLP) layer. -# - -obj-$(CONFIG_ROSE) += rose.o - -rose-y := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \ - rose_out.o rose_route.o rose_subr.o rose_timer.o -rose-$(CONFIG_SYSCTL) += sysctl_net_rose.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Linux Rose (X.25 PLP) layer. +# + +obj-$(CONFIG_ROSE) += rose.o + +rose-y := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \ + rose_out.o rose_route.o rose_subr.o rose_timer.o +rose-$(CONFIG_SYSCTL) += sysctl_net_rose.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/smc/smc_tracepoint.c b/image/debian/UFI003_MB_V02/kernel/net/smc/smc_tracepoint.c index 34f0c2d509..8d47ced5a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/smc/smc_tracepoint.c +++ b/image/debian/UFI003_MB_V02/kernel/net/smc/smc_tracepoint.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#define CREATE_TRACE_POINTS -#include "smc_tracepoint.h" - -EXPORT_TRACEPOINT_SYMBOL(smc_switch_to_fallback); -EXPORT_TRACEPOINT_SYMBOL(smc_tx_sendmsg); -EXPORT_TRACEPOINT_SYMBOL(smc_rx_recvmsg); -EXPORT_TRACEPOINT_SYMBOL(smcr_link_down); +// SPDX-License-Identifier: GPL-2.0-only + +#define CREATE_TRACE_POINTS +#include "smc_tracepoint.h" + +EXPORT_TRACEPOINT_SYMBOL(smc_switch_to_fallback); +EXPORT_TRACEPOINT_SYMBOL(smc_tx_sendmsg); +EXPORT_TRACEPOINT_SYMBOL(smc_rx_recvmsg); +EXPORT_TRACEPOINT_SYMBOL(smcr_link_down); diff --git a/image/debian/UFI003_MB_V02/kernel/net/strparser/Kconfig b/image/debian/UFI003_MB_V02/kernel/net/strparser/Kconfig index c4e21321a7..e6146c21a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/strparser/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/net/strparser/Kconfig @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -config STREAM_PARSER - def_bool n +# SPDX-License-Identifier: GPL-2.0-only +config STREAM_PARSER + def_bool n diff --git a/image/debian/UFI003_MB_V02/kernel/net/strparser/Makefile b/image/debian/UFI003_MB_V02/kernel/net/strparser/Makefile index 421ea567ae..9313191530 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/strparser/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/strparser/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_STREAM_PARSER) += strparser.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_STREAM_PARSER) += strparser.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/sunrpc/xprtrdma/Makefile b/image/debian/UFI003_MB_V02/kernel/net/sunrpc/xprtrdma/Makefile index 24296e7c05..3232aa23cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/sunrpc/xprtrdma/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/sunrpc/xprtrdma/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_SUNRPC_XPRT_RDMA) += rpcrdma.o - -rpcrdma-y := transport.o rpc_rdma.o verbs.o frwr_ops.o ib_client.o \ - svc_rdma.o svc_rdma_backchannel.o svc_rdma_transport.o \ - svc_rdma_sendto.o svc_rdma_recvfrom.o svc_rdma_rw.o \ - svc_rdma_pcl.o module.o -rpcrdma-$(CONFIG_SUNRPC_BACKCHANNEL) += backchannel.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_SUNRPC_XPRT_RDMA) += rpcrdma.o + +rpcrdma-y := transport.o rpc_rdma.o verbs.o frwr_ops.o ib_client.o \ + svc_rdma.o svc_rdma_backchannel.o svc_rdma_transport.o \ + svc_rdma_sendto.o svc_rdma_recvfrom.o svc_rdma_rw.o \ + svc_rdma_pcl.o module.o +rpcrdma-$(CONFIG_SUNRPC_BACKCHANNEL) += backchannel.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/switchdev/Makefile b/image/debian/UFI003_MB_V02/kernel/net/switchdev/Makefile index acae3f6217..c5561d7f3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/switchdev/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/switchdev/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the Switch device API -# - -obj-y += switchdev.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the Switch device API +# + +obj-y += switchdev.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/tls/Makefile b/image/debian/UFI003_MB_V02/kernel/net/tls/Makefile index b640a1c538..e41c800489 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/tls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/tls/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the TLS subsystem. -# - -CFLAGS_trace.o := -I$(src) - -obj-$(CONFIG_TLS) += tls.o - -tls-y := tls_main.o tls_sw.o tls_proc.o trace.o tls_strp.o - -tls-$(CONFIG_TLS_TOE) += tls_toe.o -tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the TLS subsystem. +# + +CFLAGS_trace.o := -I$(src) + +obj-$(CONFIG_TLS) += tls.o + +tls-y := tls_main.o tls_sw.o tls_proc.o trace.o tls_strp.o + +tls-$(CONFIG_TLS_TOE) += tls_toe.o +tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/tls/trace.c b/image/debian/UFI003_MB_V02/kernel/net/tls/trace.c index 4ce47f3139..e374913cf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/tls/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/tls/trace.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* Copyright (C) 2019 Netronome Systems, Inc. */ - -#include - -#ifndef __CHECKER__ -#define CREATE_TRACE_POINTS -#include "trace.h" - -#endif +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* Copyright (C) 2019 Netronome Systems, Inc. */ + +#include + +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "trace.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/unix/Makefile b/image/debian/UFI003_MB_V02/kernel/net/unix/Makefile index 17176f25b1..4ddd125c46 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/unix/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/unix/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux unix domain socket layer. -# - -obj-$(CONFIG_UNIX) += unix.o - -unix-y := af_unix.o garbage.o -unix-$(CONFIG_SYSCTL) += sysctl_net_unix.o -unix-$(CONFIG_BPF_SYSCALL) += unix_bpf.o - -obj-$(CONFIG_UNIX_DIAG) += unix_diag.o -unix_diag-y := diag.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux unix domain socket layer. +# + +obj-$(CONFIG_UNIX) += unix.o + +unix-y := af_unix.o garbage.o +unix-$(CONFIG_SYSCTL) += sysctl_net_unix.o +unix-$(CONFIG_BPF_SYSCALL) += unix_bpf.o + +obj-$(CONFIG_UNIX_DIAG) += unix_diag.o +unix_diag-y := diag.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/wireless/debugfs.h b/image/debian/UFI003_MB_V02/kernel/net/wireless/debugfs.h index 1bf93ba19a..a8a135d94a 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/wireless/debugfs.h +++ b/image/debian/UFI003_MB_V02/kernel/net/wireless/debugfs.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __CFG80211_DEBUGFS_H -#define __CFG80211_DEBUGFS_H - -#ifdef CONFIG_CFG80211_DEBUGFS -void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev); -#else -static inline -void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {} -#endif - -#endif /* __CFG80211_DEBUGFS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __CFG80211_DEBUGFS_H +#define __CFG80211_DEBUGFS_H + +#ifdef CONFIG_CFG80211_DEBUGFS +void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev); +#else +static inline +void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {} +#endif + +#endif /* __CFG80211_DEBUGFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/wireless/sysfs.h b/image/debian/UFI003_MB_V02/kernel/net/wireless/sysfs.h index 55bc71cba7..7b454c2de9 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/wireless/sysfs.h +++ b/image/debian/UFI003_MB_V02/kernel/net/wireless/sysfs.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __WIRELESS_SYSFS_H -#define __WIRELESS_SYSFS_H - -int wiphy_sysfs_init(void); -void wiphy_sysfs_exit(void); - -extern struct class ieee80211_class; - -#endif /* __WIRELESS_SYSFS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __WIRELESS_SYSFS_H +#define __WIRELESS_SYSFS_H + +int wiphy_sysfs_init(void); +void wiphy_sysfs_exit(void); + +extern struct class ieee80211_class; + +#endif /* __WIRELESS_SYSFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/Makefile b/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/Makefile index 918f89d15f..c364e63b50 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/Makefile @@ -1,3 +1,3 @@ -cfg80211-tests-y += module.o fragmentation.o scan.o util.o chan.o - -obj-$(CONFIG_CFG80211_KUNIT_TEST) += cfg80211-tests.o +cfg80211-tests-y += module.o fragmentation.o scan.o util.o chan.o + +obj-$(CONFIG_CFG80211_KUNIT_TEST) += cfg80211-tests.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/module.c b/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/module.c index 3323ab6f0c..9ff7b2c123 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/module.c +++ b/image/debian/UFI003_MB_V02/kernel/net/wireless/tests/module.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * This is just module boilerplate for the cfg80211 kunit module. - * - * Copyright (C) 2023 Intel Corporation - */ -#include - -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("tests for cfg80211"); +// SPDX-License-Identifier: GPL-2.0-only +/* + * This is just module boilerplate for the cfg80211 kunit module. + * + * Copyright (C) 2023 Intel Corporation + */ +#include + +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("tests for cfg80211"); diff --git a/image/debian/UFI003_MB_V02/kernel/net/wireless/trace.c b/image/debian/UFI003_MB_V02/kernel/net/wireless/trace.c index d5edbc5306..95f997fad7 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/wireless/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/net/wireless/trace.c @@ -1,7 +1,7 @@ -#include - -#ifndef __CHECKER__ -#define CREATE_TRACE_POINTS -#include "trace.h" - -#endif +#include + +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "trace.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/net/x25/Makefile b/image/debian/UFI003_MB_V02/kernel/net/x25/Makefile index f6206b3d72..5dd544a231 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/x25/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/x25/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux X.25 Packet layer. -# - -obj-$(CONFIG_X25) += x25.o - -x25-y := af_x25.o x25_dev.o x25_facilities.o x25_in.o \ - x25_link.o x25_out.o x25_route.o x25_subr.o \ - x25_timer.o x25_proc.o x25_forward.o -x25-$(CONFIG_SYSCTL) += sysctl_net_x25.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux X.25 Packet layer. +# + +obj-$(CONFIG_X25) += x25.o + +x25-y := af_x25.o x25_dev.o x25_facilities.o x25_in.o \ + x25_link.o x25_out.o x25_route.o x25_subr.o \ + x25_timer.o x25_proc.o x25_forward.o +x25-$(CONFIG_SYSCTL) += sysctl_net_x25.o diff --git a/image/debian/UFI003_MB_V02/kernel/net/xdp/Makefile b/image/debian/UFI003_MB_V02/kernel/net/xdp/Makefile index f01303e776..30cdc4315f 100644 --- a/image/debian/UFI003_MB_V02/kernel/net/xdp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/net/xdp/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o xskmap.o -obj-$(CONFIG_XDP_SOCKETS) += xsk_buff_pool.o -obj-$(CONFIG_XDP_SOCKETS_DIAG) += xsk_diag.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o xskmap.o +obj-$(CONFIG_XDP_SOCKETS) += xsk_buff_pool.o +obj-$(CONFIG_XDP_SOCKETS_DIAG) += xsk_diag.o diff --git a/image/debian/UFI003_MB_V02/kernel/rust/.gitignore b/image/debian/UFI003_MB_V02/kernel/rust/.gitignore index ed12210ef1..d3829ffab8 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/rust/.gitignore @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -bindings_generated.rs -bindings_helpers_generated.rs -doctests_kernel_generated.rs -doctests_kernel_generated_kunit.c -uapi_generated.rs -exports_*_generated.h -doc/ -test/ +# SPDX-License-Identifier: GPL-2.0 + +bindings_generated.rs +bindings_helpers_generated.rs +doctests_kernel_generated.rs +doctests_kernel_generated_kunit.c +uapi_generated.rs +exports_*_generated.h +doc/ +test/ diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/blk.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/blk.c index ded198c287..cc9f4e6a2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/blk.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/blk.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void *rust_helper_blk_mq_rq_to_pdu(struct request *rq) -{ - return blk_mq_rq_to_pdu(rq); -} - -struct request *rust_helper_blk_mq_rq_from_pdu(void *pdu) -{ - return blk_mq_rq_from_pdu(pdu); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void *rust_helper_blk_mq_rq_to_pdu(struct request *rq) +{ + return blk_mq_rq_to_pdu(rq); +} + +struct request *rust_helper_blk_mq_rq_from_pdu(void *pdu) +{ + return blk_mq_rq_from_pdu(pdu); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/bug.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/bug.c index 6db4b50b09..e2d13babc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/bug.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/bug.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -__noreturn void rust_helper_BUG(void) -{ - BUG(); -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +__noreturn void rust_helper_BUG(void) +{ + BUG(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/build_bug.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/build_bug.c index 211b01e7ac..e994f7b592 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/build_bug.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/build_bug.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -const char *rust_helper_errname(int err) -{ - return errname(err); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +const char *rust_helper_errname(int err) +{ + return errname(err); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/err.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/err.c index 32b9495dd8..be3d45ef78 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/err.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/err.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -__force void *rust_helper_ERR_PTR(long err) -{ - return ERR_PTR(err); -} - -bool rust_helper_IS_ERR(__force const void *ptr) -{ - return IS_ERR(ptr); -} - -long rust_helper_PTR_ERR(__force const void *ptr) -{ - return PTR_ERR(ptr); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +__force void *rust_helper_ERR_PTR(long err) +{ + return ERR_PTR(err); +} + +bool rust_helper_IS_ERR(__force const void *ptr) +{ + return IS_ERR(ptr); +} + +long rust_helper_PTR_ERR(__force const void *ptr) +{ + return PTR_ERR(ptr); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/kunit.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/kunit.c index 188ae638ea..9d725067eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/kunit.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/kunit.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -struct kunit *rust_helper_kunit_get_current_test(void) -{ - return kunit_get_current_test(); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +struct kunit *rust_helper_kunit_get_current_test(void) +{ + return kunit_get_current_test(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/mutex.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/mutex.c index e400d31384..a17ca8cdb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/mutex.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/mutex.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void rust_helper_mutex_lock(struct mutex *lock) -{ - mutex_lock(lock); -} - -void rust_helper___mutex_init(struct mutex *mutex, const char *name, - struct lock_class_key *key) -{ - __mutex_init(mutex, name, key); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void rust_helper_mutex_lock(struct mutex *lock) +{ + mutex_lock(lock); +} + +void rust_helper___mutex_init(struct mutex *mutex, const char *name, + struct lock_class_key *key) +{ + __mutex_init(mutex, name, key); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/rbtree.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/rbtree.c index 86bf649ad2..6d404b84a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/rbtree.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/rbtree.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -void rust_helper_rb_link_node(struct rb_node *node, struct rb_node *parent, - struct rb_node **rb_link) -{ - rb_link_node(node, parent, rb_link); -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +void rust_helper_rb_link_node(struct rb_node *node, struct rb_node *parent, + struct rb_node **rb_link) +{ + rb_link_node(node, parent, rb_link); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/refcount.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/refcount.c index b795577c07..f47afc148e 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/refcount.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/refcount.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -refcount_t rust_helper_REFCOUNT_INIT(int n) -{ - return (refcount_t)REFCOUNT_INIT(n); -} - -void rust_helper_refcount_inc(refcount_t *r) -{ - refcount_inc(r); -} - -bool rust_helper_refcount_dec_and_test(refcount_t *r) -{ - return refcount_dec_and_test(r); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +refcount_t rust_helper_REFCOUNT_INIT(int n) +{ + return (refcount_t)REFCOUNT_INIT(n); +} + +void rust_helper_refcount_inc(refcount_t *r) +{ + refcount_inc(r); +} + +bool rust_helper_refcount_dec_and_test(refcount_t *r) +{ + return refcount_dec_and_test(r); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/signal.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/signal.c index db3fba7747..63c407f80c 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/signal.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/signal.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -int rust_helper_signal_pending(struct task_struct *t) -{ - return signal_pending(t); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +int rust_helper_signal_pending(struct task_struct *t) +{ + return signal_pending(t); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/task.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/task.c index 8fc43ddc22..7ac789232d 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/task.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/task.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -struct task_struct *rust_helper_get_current(void) -{ - return current; -} - -void rust_helper_get_task_struct(struct task_struct *t) -{ - get_task_struct(t); -} - -void rust_helper_put_task_struct(struct task_struct *t) -{ - put_task_struct(t); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +struct task_struct *rust_helper_get_current(void) +{ + return current; +} + +void rust_helper_get_task_struct(struct task_struct *t) +{ + get_task_struct(t); +} + +void rust_helper_put_task_struct(struct task_struct *t) +{ + put_task_struct(t); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/vmalloc.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/vmalloc.c index aab2cc57fd..80d34501bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/vmalloc.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/vmalloc.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -void * __must_check __realloc_size(2) -rust_helper_vrealloc(const void *p, size_t size, gfp_t flags) -{ - return vrealloc(p, size, flags); -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +void * __must_check __realloc_size(2) +rust_helper_vrealloc(const void *p, size_t size, gfp_t flags) +{ + return vrealloc(p, size, flags); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/helpers/wait.c b/image/debian/UFI003_MB_V02/kernel/rust/helpers/wait.c index 0edf52d6ca..c7336bbf27 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/helpers/wait.c +++ b/image/debian/UFI003_MB_V02/kernel/rust/helpers/wait.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void rust_helper_init_wait(struct wait_queue_entry *wq_entry) -{ - init_wait(wq_entry); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void rust_helper_init_wait(struct wait_queue_entry *wq_entry) +{ + init_wait(wq_entry); +} diff --git a/image/debian/UFI003_MB_V02/kernel/rust/kernel/block.rs b/image/debian/UFI003_MB_V02/kernel/rust/kernel/block.rs index 7a1cc5b95f..150f710efe 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/kernel/block.rs +++ b/image/debian/UFI003_MB_V02/kernel/rust/kernel/block.rs @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 - -//! Types for working with the block layer. - -pub mod mq; +// SPDX-License-Identifier: GPL-2.0 + +//! Types for working with the block layer. + +pub mod mq; diff --git a/image/debian/UFI003_MB_V02/kernel/rust/kernel/net.rs b/image/debian/UFI003_MB_V02/kernel/rust/kernel/net.rs index 6838dcfdc5..fe415cb369 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/kernel/net.rs +++ b/image/debian/UFI003_MB_V02/kernel/rust/kernel/net.rs @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 - -//! Networking. - -#[cfg(CONFIG_RUST_PHYLIB_ABSTRACTIONS)] -pub mod phy; +// SPDX-License-Identifier: GPL-2.0 + +//! Networking. + +#[cfg(CONFIG_RUST_PHYLIB_ABSTRACTIONS)] +pub mod phy; diff --git a/image/debian/UFI003_MB_V02/kernel/rust/uapi/uapi_helper.h b/image/debian/UFI003_MB_V02/kernel/rust/uapi/uapi_helper.h index 2d8d3f3d45..76d3f103e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/rust/uapi/uapi_helper.h +++ b/image/debian/UFI003_MB_V02/kernel/rust/uapi/uapi_helper.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Header that contains the headers for which Rust UAPI bindings - * will be automatically generated by `bindgen`. - * - * Sorted alphabetically. - */ - -#include -#include -#include -#include +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Header that contains the headers for which Rust UAPI bindings + * will be automatically generated by `bindgen`. + * + * Sorted alphabetically. + */ + +#include +#include +#include +#include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/acrn/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/acrn/Makefile index cee1a91c9e..c8e3ed9785 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/acrn/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/acrn/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -.PHONY: vm-sample - -vm-sample: vm-sample.o payload.o - $(CC) $^ -o $@ - -payload.o: payload.ld guest16.o - $(LD) -T $< -o $@ - -clean: - rm *.o vm-sample +# SPDX-License-Identifier: GPL-2.0 + +.PHONY: vm-sample + +vm-sample: vm-sample.o payload.o + $(CC) $^ -o $@ + +payload.o: payload.ld guest16.o + $(LD) -T $< -o $@ + +clean: + rm *.o vm-sample diff --git a/image/debian/UFI003_MB_V02/kernel/samples/acrn/guest.ld b/image/debian/UFI003_MB_V02/kernel/samples/acrn/guest.ld index 8e887a38af..5127c682bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/acrn/guest.ld +++ b/image/debian/UFI003_MB_V02/kernel/samples/acrn/guest.ld @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -OUTPUT_FORMAT(binary) -SECTIONS -{ - .start : { *(.start) } - .text : { *(.text*) } - .rodata : { *(.rodata) } - .data : { *(.data) } -} +/* SPDX-License-Identifier: GPL-2.0 */ +OUTPUT_FORMAT(binary) +SECTIONS +{ + .start : { *(.start) } + .text : { *(.text*) } + .rodata : { *(.rodata) } + .data : { *(.data) } +} diff --git a/image/debian/UFI003_MB_V02/kernel/samples/acrn/payload.ld b/image/debian/UFI003_MB_V02/kernel/samples/acrn/payload.ld index 747a7057c6..e8d9a498ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/acrn/payload.ld +++ b/image/debian/UFI003_MB_V02/kernel/samples/acrn/payload.ld @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -SECTIONS -{ - .payload16 0 : { - guest16 = .; - guest16.o(.text) - guest16_end = .; - } -} +/* SPDX-License-Identifier: GPL-2.0 */ +SECTIONS +{ + .payload16 0 : { + guest16 = .; + guest16.o(.text) + guest16_end = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/samples/auxdisplay/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/auxdisplay/Makefile index 1ed95cbb23..19d5568938 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/auxdisplay/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/auxdisplay/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += cfag12864b-example +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += cfag12864b-example diff --git a/image/debian/UFI003_MB_V02/kernel/samples/binderfs/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/binderfs/Makefile index d7d3ad6d8a..629e43b9b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/binderfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/binderfs/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -userprogs-always-y += binderfs_example - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0-only +userprogs-always-y += binderfs_example + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/gnu/stubs.h b/image/debian/UFI003_MB_V02/kernel/samples/bpf/gnu/stubs.h index fd641d2e17..1c638d9dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/gnu/stubs.h +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/gnu/stubs.h @@ -1 +1 @@ -/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ +/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/run_cookie_uid_helper_example.sh b/image/debian/UFI003_MB_V02/kernel/samples/bpf/run_cookie_uid_helper_example.sh old mode 100644 new mode 100755 index ef1263ad7f..fc6bc0451a --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/run_cookie_uid_helper_example.sh +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/run_cookie_uid_helper_example.sh @@ -1,15 +1,15 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -local_dir="$(pwd)" -root_dir=$local_dir/../.. -mnt_dir=$(mktemp -d --tmp) - -on_exit() { - iptables -D OUTPUT -m bpf --object-pinned ${mnt_dir}/bpf_prog -j ACCEPT - umount ${mnt_dir} - rm -r ${mnt_dir} -} - -trap on_exit EXIT -mount -t bpf bpf ${mnt_dir} -./per_socket_stats_example ${mnt_dir}/bpf_prog $1 +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +local_dir="$(pwd)" +root_dir=$local_dir/../.. +mnt_dir=$(mktemp -d --tmp) + +on_exit() { + iptables -D OUTPUT -m bpf --object-pinned ${mnt_dir}/bpf_prog -j ACCEPT + umount ${mnt_dir} + rm -r ${mnt_dir} +} + +trap on_exit EXIT +mount -t bpf bpf ${mnt_dir} +./per_socket_stats_example ${mnt_dir}/bpf_prog $1 diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/syscall_nrs.c b/image/debian/UFI003_MB_V02/kernel/samples/bpf/syscall_nrs.c index 7793f5b270..88f9400524 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/syscall_nrs.c +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/syscall_nrs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -#define SYSNR(_NR) DEFINE(SYS ## _NR, _NR) - -void syscall_defines(void) -{ - COMMENT("Linux system call numbers."); - SYSNR(__NR_write); - SYSNR(__NR_read); -#ifdef __NR_mmap2 - SYSNR(__NR_mmap2); -#endif -#ifdef __NR_mmap - SYSNR(__NR_mmap); -#endif - -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +#define SYSNR(_NR) DEFINE(SYS ## _NR, _NR) + +void syscall_defines(void) +{ + COMMENT("Linux system call numbers."); + SYSNR(__NR_write); + SYSNR(__NR_read); +#ifdef __NR_mmap2 + SYSNR(__NR_mmap2); +#endif +#ifdef __NR_mmap + SYSNR(__NR_mmap); +#endif + +} diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/test_override_return.sh b/image/debian/UFI003_MB_V02/kernel/samples/bpf/test_override_return.sh old mode 100644 new mode 100755 index 6bb4786dcc..35db26f736 --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/test_override_return.sh +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/test_override_return.sh @@ -1,16 +1,16 @@ -#!/bin/bash - -rm -r tmpmnt -rm -f testfile.img -dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 -DEVICE=$(losetup --show -f testfile.img) -mkfs.btrfs -f $DEVICE -mkdir tmpmnt -./tracex7 $DEVICE -if [ $? -eq 0 ] -then - echo "SUCCESS!" -else - echo "FAILED!" -fi -losetup -d $DEVICE +#!/bin/bash + +rm -r tmpmnt +rm -f testfile.img +dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 +DEVICE=$(losetup --show -f testfile.img) +mkfs.btrfs -f $DEVICE +mkdir tmpmnt +./tracex7 $DEVICE +if [ $? -eq 0 ] +then + echo "SUCCESS!" +else + echo "FAILED!" +fi +losetup -d $DEVICE diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/tracex7.bpf.c b/image/debian/UFI003_MB_V02/kernel/samples/bpf/tracex7.bpf.c index ccf938290a..ab8d6704a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/tracex7.bpf.c +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/tracex7.bpf.c @@ -1,15 +1,15 @@ -#include "vmlinux.h" -#include -#include - -SEC("kprobe/open_ctree") -int bpf_prog1(struct pt_regs *ctx) -{ - unsigned long rc = -12; - - bpf_override_return(ctx, rc); - return 0; -} - -char _license[] SEC("license") = "GPL"; -u32 _version SEC("version") = LINUX_VERSION_CODE; +#include "vmlinux.h" +#include +#include + +SEC("kprobe/open_ctree") +int bpf_prog1(struct pt_regs *ctx) +{ + unsigned long rc = -12; + + bpf_override_return(ctx, rc); + return 0; +} + +char _license[] SEC("license") = "GPL"; +u32 _version SEC("version") = LINUX_VERSION_CODE; diff --git a/image/debian/UFI003_MB_V02/kernel/samples/bpf/xdp_sample_shared.h b/image/debian/UFI003_MB_V02/kernel/samples/bpf/xdp_sample_shared.h index 4b0d44d929..8a7669a5d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/bpf/xdp_sample_shared.h +++ b/image/debian/UFI003_MB_V02/kernel/samples/bpf/xdp_sample_shared.h @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -#ifndef _XDP_SAMPLE_SHARED_H -#define _XDP_SAMPLE_SHARED_H - -struct datarec { - size_t processed; - size_t dropped; - size_t issue; - union { - size_t xdp_pass; - size_t info; - }; - size_t xdp_drop; - size_t xdp_redirect; -} __attribute__((aligned(64))); - -#endif +// SPDX-License-Identifier: GPL-2.0-only +#ifndef _XDP_SAMPLE_SHARED_H +#define _XDP_SAMPLE_SHARED_H + +struct datarec { + size_t processed; + size_t dropped; + size_t issue; + union { + size_t xdp_pass; + size_t info; + }; + size_t xdp_drop; + size_t xdp_redirect; +} __attribute__((aligned(64))); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/samples/cgroup/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/cgroup/Makefile index 7dd84da21a..526c856970 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/cgroup/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/cgroup/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -userprogs-always-y += cgroup_event_listener memcg_event_listener - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 + +userprogs-always-y += cgroup_event_listener memcg_event_listener + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/configfs/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/configfs/Makefile index c112643ff5..92d661fcba 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/configfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/configfs/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs_sample.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs_sample.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/connector/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/connector/Makefile index 59c1110557..d98a9e047c 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/connector/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/connector/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o - -userprogs-always-$(CONFIG_CC_CAN_LINK) += ucon - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o + +userprogs-always-$(CONFIG_CC_CAN_LINK) += ucon + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/coresight/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/coresight/Makefile index d91db3b6d7..b3fce4af23 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/coresight/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/coresight/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight-cfg-sample.o -ccflags-y += -I$(srctree)/drivers/hwtracing/coresight +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight-cfg-sample.o +ccflags-y += -I$(srctree)/drivers/hwtracing/coresight diff --git a/image/debian/UFI003_MB_V02/kernel/samples/fanotify/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/fanotify/Makefile index 2d67f840da..e20db1bdde 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/fanotify/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/fanotify/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -userprogs-always-y += fs-monitor - -userccflags += -I usr/include -Wall - +# SPDX-License-Identifier: GPL-2.0-only +userprogs-always-y += fs-monitor + +userccflags += -I usr/include -Wall + diff --git a/image/debian/UFI003_MB_V02/kernel/samples/fprobe/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/fprobe/Makefile index ccd0bd0b33..ecccbfa6e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/fprobe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/fprobe/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_SAMPLE_FPROBE) += fprobe_example.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_SAMPLE_FPROBE) += fprobe_example.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/hid/.gitignore b/image/debian/UFI003_MB_V02/kernel/samples/hid/.gitignore index 2ba1624ccd..3ea0fed3bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/hid/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/samples/hid/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -hid_mouse -hid_surface_dial -*.out -*.skel.h -/vmlinux.h -/bpftool/ -/libbpf/ +# SPDX-License-Identifier: GPL-2.0-only +hid_mouse +hid_surface_dial +*.out +*.skel.h +/vmlinux.h +/bpftool/ +/libbpf/ diff --git a/image/debian/UFI003_MB_V02/kernel/samples/hidraw/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/hidraw/Makefile index b8c4388219..594d989e54 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/hidraw/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/hidraw/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += hid-example - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += hid-example + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/hw_breakpoint/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/hw_breakpoint/Makefile index 9776a05317..ef4b6fdd7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/hw_breakpoint/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/hw_breakpoint/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += data_breakpoint.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += data_breakpoint.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/kdb/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/kdb/Makefile index 73525003ed..947cb85227 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/kdb/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/kdb/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_KDB) += kdb_hello.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_KDB) += kdb_hello.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/kfifo/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/kfifo/Makefile index daa4246e3a..0af5250ad9 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/kfifo/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/kfifo/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/kmemleak/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/kmemleak/Makefile index 21b2f48012..8a999ab43b 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/kmemleak/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/kmemleak/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only - -obj-$(CONFIG_SAMPLE_KMEMLEAK) += kmemleak-test.o +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_SAMPLE_KMEMLEAK) += kmemleak-test.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/kobject/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/kobject/Makefile index c392b63954..bb5d219974 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/kobject/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/kobject/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/kprobes/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/kprobes/Makefile index c84bd87a2f..e774592718 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/kprobes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/kprobes/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# builds the kprobes example kernel modules; -# then to use one (as root): insmod - -obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o -obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o +# SPDX-License-Identifier: GPL-2.0-only +# builds the kprobes example kernel modules; +# then to use one (as root): insmod + +obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o +obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/landlock/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/landlock/Makefile index 48af9a1416..5d601e51c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/landlock/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/landlock/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: BSD-3-Clause - -userprogs-always-y := sandboxer - -userccflags += -I usr/include - -.PHONY: all clean - -all: - $(MAKE) -C ../.. samples/landlock/ - -clean: - $(MAKE) -C ../.. M=samples/landlock/ clean +# SPDX-License-Identifier: BSD-3-Clause + +userprogs-always-y := sandboxer + +userccflags += -I usr/include + +.PHONY: all clean + +all: + $(MAKE) -C ../.. samples/landlock/ + +clean: + $(MAKE) -C ../.. M=samples/landlock/ clean diff --git a/image/debian/UFI003_MB_V02/kernel/samples/mei/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/mei/Makefile index 6fec42a882..c54b8a0ab0 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/mei/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/mei/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (c) 2012-2019, Intel Corporation. All rights reserved. -userprogs-always-y += mei-amt-version - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012-2019, Intel Corporation. All rights reserved. +userprogs-always-y += mei-amt-version + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/nitro_enclaves/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/nitro_enclaves/Makefile index 2873d049e7..a3ec78fefb 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/nitro_enclaves/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/nitro_enclaves/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - -# Enclave lifetime management support for Nitro Enclaves (NE) - ioctl sample -# usage. - -.PHONY: all clean - -CFLAGS += -Wall - -all: - $(CC) $(CFLAGS) -o ne_ioctl_sample ne_ioctl_sample.c -lpthread - -clean: - rm -f ne_ioctl_sample +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +# Enclave lifetime management support for Nitro Enclaves (NE) - ioctl sample +# usage. + +.PHONY: all clean + +CFLAGS += -Wall + +all: + $(CC) $(CFLAGS) -o ne_ioctl_sample ne_ioctl_sample.c -lpthread + +clean: + rm -f ne_ioctl_sample diff --git a/image/debian/UFI003_MB_V02/kernel/samples/pfsm/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/pfsm/Makefile index b8d0429a8a..213e8d9f5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/pfsm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/pfsm/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += pfsm-wakeup - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += pfsm-wakeup + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/pidfd/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/pidfd/Makefile index 42c80ef848..9754e2d81f 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/pidfd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/pidfd/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -usertprogs-always-y += pidfd-metadata - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +usertprogs-always-y += pidfd-metadata + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/qmi/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/qmi/Makefile index 5fb9ed4cf2..641943d40c 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/qmi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/qmi/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi_sample_client.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi_sample_client.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rpmsg/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/rpmsg/Makefile index 1ac51826f7..ddf9a5d13c 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rpmsg/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/rpmsg/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg_client_sample.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg_client_sample.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rust/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/rust/Makefile index 6bec557b23..03086dabbe 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rust/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/rust/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o -obj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o - -subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o +obj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o + +subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/Makefile index 0547956920..8ddcbd7416 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -hostprogs-always-y := single - -single-rust := y +# SPDX-License-Identifier: GPL-2.0 + +hostprogs-always-y := single + +single-rust := y diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/a.rs b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/a.rs index 4bcbb61b43..f7a4a3d0f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/a.rs +++ b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/a.rs @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 - -//! Rust single host program sample: module `a`. - -pub(crate) fn f(x: i32) { - println!("The number is {}.", x); -} +// SPDX-License-Identifier: GPL-2.0 + +//! Rust single host program sample: module `a`. + +pub(crate) fn f(x: i32) { + println!("The number is {}.", x); +} diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/b.rs b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/b.rs index 6e58e62852..c167589064 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/b.rs +++ b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/b.rs @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 - -//! Rust single host program sample: module `b`. - -pub(crate) const CONSTANT: i32 = 42; +// SPDX-License-Identifier: GPL-2.0 + +//! Rust single host program sample: module `b`. + +pub(crate) const CONSTANT: i32 = 42; diff --git a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/single.rs b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/single.rs index 24e8398a6d..8c48a11933 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/single.rs +++ b/image/debian/UFI003_MB_V02/kernel/samples/rust/hostprogs/single.rs @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 - -//! Rust single host program sample. - -mod a; -mod b; - -fn main() { - println!("Hello world!"); - - a::f(b::CONSTANT); -} +// SPDX-License-Identifier: GPL-2.0 + +//! Rust single host program sample. + +mod a; +mod b; + +fn main() { + println!("Hello world!"); + + a::f(b::CONSTANT); +} diff --git a/image/debian/UFI003_MB_V02/kernel/samples/seccomp/.gitignore b/image/debian/UFI003_MB_V02/kernel/samples/seccomp/.gitignore index 0792a2572d..a6df0da77c 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/seccomp/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/samples/seccomp/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -/bpf-direct -/bpf-fancy -/dropper -/user-trap +# SPDX-License-Identifier: GPL-2.0-only +/bpf-direct +/bpf-fancy +/dropper +/user-trap diff --git a/image/debian/UFI003_MB_V02/kernel/samples/seccomp/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/seccomp/Makefile index 3550ff781f..c85ae0ed83 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/seccomp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/seccomp/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += bpf-fancy dropper bpf-direct user-trap - -bpf-fancy-objs := bpf-fancy.o bpf-helper.o - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += bpf-fancy dropper bpf-direct user-trap + +bpf-fancy-objs := bpf-fancy.o bpf-helper.o + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/timers/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/timers/Makefile index f5b2f33944..e6836cdea4 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/timers/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/timers/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += hpet_example - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += hpet_example + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/trace_printk/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/trace_printk/Makefile index 8844a4eaac..c0df36167d 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/trace_printk/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/trace_printk/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# builds a module that calls various trace_printk routines -# then to use one (as root): insmod - -# This module can also be used to test the trace_printk code. - -obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace-printk.o +# SPDX-License-Identifier: GPL-2.0-only +# builds a module that calls various trace_printk routines +# then to use one (as root): insmod + +# This module can also be used to test the trace_printk code. + +obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace-printk.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/uhid/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/uhid/Makefile index 0820a33f60..0aa424ec48 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/uhid/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/uhid/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -userprogs-always-y += uhid-example - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0-only +userprogs-always-y += uhid-example + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/user_events/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/user_events/Makefile index 5a6cf4850e..7252b589db 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/user_events/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/user_events/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall -I../../usr/include - -example: example.o -example.o: example.c +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall -I../../usr/include + +example: example.o +example.o: example.c diff --git a/image/debian/UFI003_MB_V02/kernel/samples/v4l/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/v4l/Makefile index 0f67fed913..f86ab12458 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/v4l/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/v4l/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_VIDEO_PCI_SKELETON) := v4l2-pci-skeleton.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_VIDEO_PCI_SKELETON) := v4l2-pci-skeleton.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/vfio-mdev/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/vfio-mdev/Makefile index ca9a86f93f..10d179c4fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/vfio-mdev/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/vfio-mdev/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_VFIO_MDEV_MTTY) += mtty.o -obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY) += mdpy.o -obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY_FB) += mdpy-fb.o -obj-$(CONFIG_SAMPLE_VFIO_MDEV_MBOCHS) += mbochs.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SAMPLE_VFIO_MDEV_MTTY) += mtty.o +obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY) += mdpy.o +obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY_FB) += mdpy-fb.o +obj-$(CONFIG_SAMPLE_VFIO_MDEV_MBOCHS) += mbochs.o diff --git a/image/debian/UFI003_MB_V02/kernel/samples/vfs/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/vfs/Makefile index 55b6a2aca2..6377a67813 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/vfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/vfs/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -userprogs-always-y += test-fsmount test-statx - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0-only +userprogs-always-y += test-fsmount test-statx + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/watch_queue/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/watch_queue/Makefile index a43ece32ba..c0db3a6bc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/watch_queue/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/watch_queue/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -userprogs-always-y += watch_test - -userccflags += -I usr/include +# SPDX-License-Identifier: GPL-2.0-only +userprogs-always-y += watch_test + +userccflags += -I usr/include diff --git a/image/debian/UFI003_MB_V02/kernel/samples/watchdog/Makefile b/image/debian/UFI003_MB_V02/kernel/samples/watchdog/Makefile index 988c333fd1..ab39d23dc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/samples/watchdog/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/samples/watchdog/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -userprogs-always-y += watchdog-simple +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += watchdog-simple diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/.gitignore b/image/debian/UFI003_MB_V02/kernel/scripts/.gitignore index ad7679b0f0..3dbb8bb245 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/scripts/.gitignore @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -/asn1_compiler -/generate_rust_target -/insert-sys-cert -/kallsyms -/module.lds -/recordmcount -/rustdoc_test_builder -/rustdoc_test_gen -/sign-file -/sorttable -/target.json -/unifdef +# SPDX-License-Identifier: GPL-2.0-only +/asn1_compiler +/generate_rust_target +/insert-sys-cert +/kallsyms +/module.lds +/recordmcount +/rustdoc_test_builder +/rustdoc_test_gen +/sign-file +/sorttable +/target.json +/unifdef diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kcov b/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kcov index 6bf9e99534..67e8cfe347 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kcov +++ b/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kcov @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc -kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp -kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so - -export CFLAGS_KCOV := $(kcov-flags-y) +# SPDX-License-Identifier: GPL-2.0-only +kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc +kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp +kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so + +export CFLAGS_KCOV := $(kcov-flags-y) diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kmsan b/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kmsan index 30684a7316..b5b0aa6132 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kmsan +++ b/image/debian/UFI003_MB_V02/kernel/scripts/Makefile.kmsan @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -kmsan-cflags := -fsanitize=kernel-memory - -ifdef CONFIG_KMSAN_CHECK_PARAM_RETVAL -kmsan-cflags += -fsanitize-memory-param-retval -endif - -export CFLAGS_KMSAN := $(kmsan-cflags) +# SPDX-License-Identifier: GPL-2.0 +kmsan-cflags := -fsanitize=kernel-memory + +ifdef CONFIG_KMSAN_CHECK_PARAM_RETVAL +kmsan-cflags += -fsanitize-memory-param-retval +endif + +export CFLAGS_KMSAN := $(kmsan-cflags) diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/acquire b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/acquire old mode 100644 new mode 100755 index a6c2a659df..4da0cab360 --- a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/acquire +++ b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/acquire @@ -1,5 +1,5 @@ -cat < 0)) - return false; - } while (!raw_${atomic}_try_cmpxchg(v, &c, c - 1)); - - return true; -EOF +cat < 0)) + return false; + } while (!raw_${atomic}_try_cmpxchg(v, &c, c - 1)); + + return true; +EOF diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/fence b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/fence old mode 100644 new mode 100755 index 9d74dbce0e..40d5b39765 --- a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/fence +++ b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/fence @@ -1,7 +1,7 @@ -cat <counter); - } else { - ret = raw_${atomic}_read(v); - __atomic_acquire_fence(); - } - - return ret; -EOF +cat <counter); + } else { + ret = raw_${atomic}_read(v); + __atomic_acquire_fence(); + } + + return ret; +EOF diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/release b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/release old mode 100644 new mode 100755 index c6b9c0c12a..1e6daf57b4 --- a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/release +++ b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/release @@ -1,4 +1,4 @@ -cat <counter, i); - } else { - __atomic_release_fence(); - raw_${atomic}_set(v, i); - } -EOF +cat <counter, i); + } else { + __atomic_release_fence(); + raw_${atomic}_set(v, i); + } +EOF diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/try_cmpxchg b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/try_cmpxchg old mode 100644 new mode 100755 index 19f104e864..d4da82092b --- a/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/try_cmpxchg +++ b/image/debian/UFI003_MB_V02/kernel/scripts/atomic/fallbacks/try_cmpxchg @@ -1,7 +1,7 @@ -cat </dev/null) && -ver=$(expr ${prev_ver} + 1 2>/dev/null) || -ver=1 - -echo ${ver} > .version - -echo ${ver} +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only + +prev_ver=$(cat .version 2>/dev/null) && +ver=$(expr ${prev_ver} + 1 2>/dev/null) || +ver=1 + +echo ${ver} > .version + +echo ${ver} diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/cc-can-link.sh b/image/debian/UFI003_MB_V02/kernel/scripts/cc-can-link.sh old mode 100644 new mode 100755 index c72e52ad78..6efcead319 --- a/image/debian/UFI003_MB_V02/kernel/scripts/cc-can-link.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/cc-can-link.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1 -#include -int main(void) -{ - printf(""); - return 0; -} -END +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1 +#include +int main(void) +{ + printf(""); + return 0; +} +END diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/check-git b/image/debian/UFI003_MB_V02/kernel/scripts/check-git old mode 100644 new mode 100755 index 8efd21f525..2ca6c5df10 --- a/image/debian/UFI003_MB_V02/kernel/scripts/check-git +++ b/image/debian/UFI003_MB_V02/kernel/scripts/check-git @@ -1,14 +1,14 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0-only -# -# succeed if we are in a git repository - -srctree="$(dirname $0)/.." - -if ! git -C "${srctree}" rev-parse --verify HEAD >/dev/null 2>/dev/null; then - exit 1 -fi - -if ! test -z $(git -C "${srctree}" rev-parse --show-cdup 2>/dev/null); then - exit 1 -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only +# +# succeed if we are in a git repository + +srctree="$(dirname $0)/.." + +if ! git -C "${srctree}" rev-parse --verify HEAD >/dev/null 2>/dev/null; then + exit 1 +fi + +if ! test -z $(git -C "${srctree}" rev-parse --show-cdup 2>/dev/null); then + exit 1 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/file-size.sh b/image/debian/UFI003_MB_V02/kernel/scripts/file-size.sh old mode 100644 new mode 100755 index eebcb8c603..7eb7423416 --- a/image/debian/UFI003_MB_V02/kernel/scripts/file-size.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/file-size.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -set -- $(ls -dn "$1") -printf '%s\n' "$5" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +set -- $(ls -dn "$1") +printf '%s\n' "$5" diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/gcc-x86_64-has-stack-protector.sh b/image/debian/UFI003_MB_V02/kernel/scripts/gcc-x86_64-has-stack-protector.sh old mode 100644 new mode 100755 index 1370fb9519..f680bb01ae --- a/image/debian/UFI003_MB_V02/kernel/scripts/gcc-x86_64-has-stack-protector.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/gcc-x86_64-has-stack-protector.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs" diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/gen-randstruct-seed.sh b/image/debian/UFI003_MB_V02/kernel/scripts/gen-randstruct-seed.sh old mode 100644 new mode 100755 index ca2bdff2b8..61017b36c4 --- a/image/debian/UFI003_MB_V02/kernel/scripts/gen-randstruct-seed.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/gen-randstruct-seed.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n') -echo "$SEED" > "$1" -HASH=$(echo -n "$SEED" | sha256sum | cut -d" " -f1) -echo "#define RANDSTRUCT_HASHED_SEED \"$HASH\"" > "$2" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n') +echo "$SEED" > "$1" +HASH=$(echo -n "$SEED" | sha256sum | cut -d" " -f1) +echo "#define RANDSTRUCT_HASHED_SEED \"$HASH\"" > "$2" diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/include/array_size.h b/image/debian/UFI003_MB_V02/kernel/scripts/include/array_size.h index 0a5863bab5..26ba78d867 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/include/array_size.h +++ b/image/debian/UFI003_MB_V02/kernel/scripts/include/array_size.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARRAY_SIZE_H -#define ARRAY_SIZE_H - -/** - * ARRAY_SIZE - get the number of elements in array @arr - * @arr: array to be sized - */ -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) - -#endif /* ARRAY_SIZE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARRAY_SIZE_H +#define ARRAY_SIZE_H + +/** + * ARRAY_SIZE - get the number of elements in array @arr + * @arr: array to be sized + */ +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) + +#endif /* ARRAY_SIZE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/include/list_types.h b/image/debian/UFI003_MB_V02/kernel/scripts/include/list_types.h index 6438f9ebdc..d935b7c5aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/include/list_types.h +++ b/image/debian/UFI003_MB_V02/kernel/scripts/include/list_types.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LIST_TYPES_H -#define LIST_TYPES_H - -struct list_head { - struct list_head *next, *prev; -}; - -struct hlist_head { - struct hlist_node *first; -}; - -struct hlist_node { - struct hlist_node *next, **pprev; -}; - -#endif /* LIST_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LIST_TYPES_H +#define LIST_TYPES_H + +struct list_head { + struct list_head *next, *prev; +}; + +struct hlist_head { + struct hlist_node *first; +}; + +struct hlist_node { + struct hlist_node *next, **pprev; +}; + +#endif /* LIST_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/ipe/polgen/Makefile b/image/debian/UFI003_MB_V02/kernel/scripts/ipe/polgen/Makefile index 45460d0821..c20456a2f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/ipe/polgen/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/scripts/ipe/polgen/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -hostprogs-always-y := polgen -HOST_EXTRACFLAGS += \ - -I$(srctree)/include \ - -I$(srctree)/include/uapi \ +# SPDX-License-Identifier: GPL-2.0 +hostprogs-always-y := polgen +HOST_EXTRACFLAGS += \ + -I$(srctree)/include \ + -I$(srctree)/include/uapi \ diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/.gitignore b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/.gitignore index 06e2040bd8..0b2ff775b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -/conf -/[gmnq]conf -/[gmnq]conf-bin -/[gmnq]conf-cflags -/[gmnq]conf-libs -/qconf-moc.cc +# SPDX-License-Identifier: GPL-2.0-only +/conf +/[gmnq]conf +/[gmnq]conf-bin +/[gmnq]conf-cflags +/[gmnq]conf-libs +/qconf-moc.cc diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/lxdialog/BIG.FAT.WARNING b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/lxdialog/BIG.FAT.WARNING index a44fa9aa44..7cb5a7ec93 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/lxdialog/BIG.FAT.WARNING +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/lxdialog/BIG.FAT.WARNING @@ -1,4 +1,4 @@ -This is NOT the official version of dialog. This version has been -significantly modified from the original. It is for use by the Linux -kernel configuration script. Please do not bother Savio Lam with -questions about this program. +This is NOT the official version of dialog. This version has been +significantly modified from the original. It is for use by the Linux +kernel configuration script. Please do not bother Savio Lam with +questions about this program. diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/auto_submenu/expected_stdout b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/auto_submenu/expected_stdout index 0b5d00e3d1..bf5236f39a 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/auto_submenu/expected_stdout +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/auto_submenu/expected_stdout @@ -1,10 +1,10 @@ -A (A) [Y/n/?] (NEW) - A0 (A0) [Y/n/?] (NEW) - A1_0 (A0_0) [N/y/?] (NEW) - A1 (A1) [Y/n/?] (NEW) - choice - > 1. A1_0 (A1_0) (NEW) - 2. A1_1 (A1_1) (NEW) - choice[1-2?]: -B (B) [N/y/?] (NEW) -C (C) [N/y/?] (NEW) +A (A) [Y/n/?] (NEW) + A0 (A0) [Y/n/?] (NEW) + A1_0 (A0_0) [N/y/?] (NEW) + A1 (A1) [Y/n/?] (NEW) + choice + > 1. A1_0 (A1_0) (NEW) + 2. A1_1 (A1_1) (NEW) + choice[1-2?]: +B (B) [N/y/?] (NEW) +C (C) [N/y/?] (NEW) diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/Kconfig b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/Kconfig index f8ad41991a..cd252579a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/Kconfig @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 - -choice - prompt "boolean choice" - default BOOL_CHOICE1 - -config BOOL_CHOICE0 - bool "choice 0" - -config BOOL_CHOICE1 - bool "choice 1" - -endchoice +# SPDX-License-Identifier: GPL-2.0 + +choice + prompt "boolean choice" + default BOOL_CHOICE1 + +config BOOL_CHOICE0 + bool "choice 0" + +config BOOL_CHOICE1 + bool "choice 1" + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/oldask0_expected_stdout b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/oldask0_expected_stdout index c55d41df51..80ec34c61e 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/oldask0_expected_stdout +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice/oldask0_expected_stdout @@ -1,4 +1,4 @@ -boolean choice - 1. choice 0 (BOOL_CHOICE0) (NEW) -> 2. choice 1 (BOOL_CHOICE1) (NEW) -choice[1-2?]: +boolean choice + 1. choice 0 (BOOL_CHOICE0) (NEW) +> 2. choice 1 (BOOL_CHOICE1) (NEW) +choice[1-2?]: diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/Kconfig b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/Kconfig index e113753961..93a1699ce3 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/Kconfig @@ -1,22 +1,22 @@ -choice - prompt "choose A or B" - -config A - bool "A" - -config B - bool "B" - -endchoice - -choice - prompt "choose X or Y" - depends on B - -config X - bool "X" - -config Y - bool "Y" - -endchoice +choice + prompt "choose A or B" + +config A + bool "A" + +config B + bool "B" + +endchoice + +choice + prompt "choose X or Y" + depends on B + +config X + bool "X" + +config Y + bool "Y" + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config0 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config0 index 56fa6a939c..f692273237 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config0 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config0 @@ -1,6 +1,6 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -CONFIG_A=y -# CONFIG_B is not set +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +CONFIG_A=y +# CONFIG_B is not set diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config1 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config1 index 83b59ff953..bf83784c9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config1 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config1 @@ -1,8 +1,8 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -# CONFIG_A is not set -CONFIG_B=y -CONFIG_X=y -# CONFIG_Y is not set +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +# CONFIG_A is not set +CONFIG_B=y +CONFIG_X=y +# CONFIG_Y is not set diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config2 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config2 index 1a9dab4db1..38f93a8f37 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config2 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize/expected_config2 @@ -1,8 +1,8 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -# CONFIG_A is not set -CONFIG_B=y -# CONFIG_X is not set -CONFIG_Y=y +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +# CONFIG_A is not set +CONFIG_B=y +# CONFIG_X is not set +CONFIG_Y=y diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/Kconfig b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/Kconfig index 06a6aca59d..530cf2ef7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/Kconfig @@ -1,32 +1,32 @@ -choice - prompt "This is always invisible" - depends on n - -config DUMMY - bool "DUMMY" - -endchoice - -choice - prompt "Choose A or B" - -config A - bool "A" - -config B - bool "B" - -endchoice - -config FOO - bool "FOO" - depends on A - -choice - prompt "Choose X" - depends on FOO - -config X - bool "X" - -endchoice +choice + prompt "This is always invisible" + depends on n + +config DUMMY + bool "DUMMY" + +endchoice + +choice + prompt "Choose A or B" + +config A + bool "A" + +config B + bool "B" + +endchoice + +config FOO + bool "FOO" + depends on A + +choice + prompt "Choose X" + depends on FOO + +config X + bool "X" + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config0 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config0 index 1ac84dabff..5c9e1c172c 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config0 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config0 @@ -1,8 +1,8 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -CONFIG_A=y -# CONFIG_B is not set -CONFIG_FOO=y -CONFIG_X=y +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +CONFIG_A=y +# CONFIG_B is not set +CONFIG_FOO=y +CONFIG_X=y diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config1 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config1 index 89716dde05..5b975d91be 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config1 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config1 @@ -1,7 +1,7 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -CONFIG_A=y -# CONFIG_B is not set -# CONFIG_FOO is not set +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +CONFIG_A=y +# CONFIG_B is not set +# CONFIG_FOO is not set diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config2 b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config2 index 82bc38e84b..5a5ebb90d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config2 +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/choice_randomize2/expected_config2 @@ -1,6 +1,6 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -# CONFIG_A is not set -CONFIG_B=y +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +# CONFIG_A is not set +CONFIG_B=y diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_dep/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_dep/__init__.py index 68f1022e1d..5f3821b43c 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_dep/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_dep/__init__.py @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Detect recursive dependency error. - -Recursive dependency should be treated as an error. -""" - -def test(conf): - assert conf.oldaskconfig() == 1 - assert conf.stderr_contains('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Detect recursive dependency error. + +Recursive dependency should be treated as an error. +""" + +def test(conf): + assert conf.oldaskconfig() == 1 + assert conf.stderr_contains('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/__init__.py index eab18cc5fd..27aa1895a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/__init__.py @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Detect recursive inclusion error. - -If recursive inclusion is detected, it should fail with error messages. -""" - - -def test(conf): - assert conf.oldaskconfig() != 0 - assert conf.stderr_contains('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Detect recursive inclusion error. + +If recursive inclusion is detected, it should fail with error messages. +""" + + +def test(conf): + assert conf.oldaskconfig() != 0 + assert conf.stderr_contains('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/expected_stderr b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/expected_stderr index b44981a61c..b070a31fdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/expected_stderr +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/err_recursive_inc/expected_stderr @@ -1,6 +1,6 @@ -Recursive inclusion detected. -Inclusion path: - current file : Kconfig.inc1 - included from: Kconfig.inc3:2 - included from: Kconfig.inc2:4 - included from: Kconfig.inc1:5 +Recursive inclusion detected. +Inclusion path: + current file : Kconfig.inc1 + included from: Kconfig.inc3:2 + included from: Kconfig.inc2:4 + included from: Kconfig.inc1:5 diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/new_choice_with_dep/expected_stdout b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/new_choice_with_dep/expected_stdout index de95b95ee1..74dc0bcb22 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/new_choice_with_dep/expected_stdout +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/new_choice_with_dep/expected_stdout @@ -1,10 +1,10 @@ -A (A) [N/y/?] (NEW) y - Choice ? - > 1. Choice B (CHOICE_B) - 2. Choice C (CHOICE_C) (NEW) - choice[1-2?]: -Choice2 ? - 1. Choice D (CHOICE_D) -> 2. Choice E (CHOICE_E) - 3. Choice F (CHOICE_F) (NEW) -choice[1-3?]: +A (A) [N/y/?] (NEW) y + Choice ? + > 1. Choice B (CHOICE_B) + 2. Choice C (CHOICE_C) (NEW) + choice[1-2?]: +Choice2 ? + 1. Choice D (CHOICE_D) +> 2. Choice E (CHOICE_E) + 3. Choice F (CHOICE_F) (NEW) +choice[1-3?]: diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig index 894376b834..4767aab6d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 - -config A - bool "A" - -choice - prompt "Choice ?" - depends on A - -config CHOICE_B - bool "Choice B" - -config CHOICE_C - bool "Choice C" - -endchoice +# SPDX-License-Identifier: GPL-2.0 + +config A + bool "A" + +choice + prompt "Choice ?" + depends on A + +config CHOICE_B + bool "Choice B" + +config CHOICE_C + bool "Choice C" + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config index 435229a774..473228810c 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config @@ -1,5 +1,5 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# -# CONFIG_A is not set +# +# Automatically generated file; DO NOT EDIT. +# Main menu +# +# CONFIG_A is not set diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/__init__.py index cd899bce8a..2e53ba08fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/__init__.py @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Built-in function tests. -""" - -def test(conf): - assert conf.oldaskconfig() == 0 - assert conf.stdout_contains('expected_stdout') - assert conf.stderr_matches('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Built-in function tests. +""" + +def test(conf): + assert conf.oldaskconfig() == 0 + assert conf.stdout_contains('expected_stdout') + assert conf.stderr_matches('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/expected_stderr b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/expected_stderr index 3df54baede..33ea9ca384 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/expected_stderr +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/builtin_func/expected_stderr @@ -1,5 +1,5 @@ -Kconfig:8: hello world 1 -Kconfig:18: hello world 3 -Kconfig:22: hello world 4 -Kconfig:26: filename=Kconfig -Kconfig:27: lineno=27 +Kconfig:8: hello world 1 +Kconfig:18: hello world 3 +Kconfig:22: hello world 4 +Kconfig:26: filename=Kconfig +Kconfig:27: lineno=27 diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/circular_expansion/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/circular_expansion/__init__.py index cc6a00e48d..419bda3e07 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/circular_expansion/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/circular_expansion/__init__.py @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Detect circular variable expansion. - -If a recursively expanded variable references itself (eventually), -it should fail with an error message. -""" - -def test(conf): - assert conf.oldaskconfig() != 0 - assert conf.stderr_matches('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Detect circular variable expansion. + +If a recursively expanded variable references itself (eventually), +it should fail with an error message. +""" + +def test(conf): + assert conf.oldaskconfig() != 0 + assert conf.stderr_matches('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/__init__.py index fd53d5cdee..7ee8e747f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/__init__.py @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Escape sequence tests. -""" - -def test(conf): - assert conf.oldaskconfig() == 0 - assert conf.stderr_matches('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Escape sequence tests. +""" + +def test(conf): + assert conf.oldaskconfig() == 0 + assert conf.stderr_matches('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/expected_stderr b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/expected_stderr index 02abefec88..1c00957dda 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/expected_stderr +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/escape/expected_stderr @@ -1,10 +1,10 @@ -Kconfig:9: hello, world -Kconfig:13: ' " '" ' ''' "'" -Kconfig:17: $ -Kconfig:18: $$ -Kconfig:20: 1 -Kconfig:25: $(X) -Kconfig:30: ( -Kconfig:35: $(X) -Kconfig:39: $(X) -Kconfig:44: $( +Kconfig:9: hello, world +Kconfig:13: ' " '" ' ''' "'" +Kconfig:17: $ +Kconfig:18: $$ +Kconfig:20: 1 +Kconfig:25: $(X) +Kconfig:30: ( +Kconfig:35: $(X) +Kconfig:39: $(X) +Kconfig:44: $( diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/__init__.py b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/__init__.py index 98dd99adea..e88b1708d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/__init__.py @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -""" -Variable and user-defined function tests. -""" - -def test(conf): - assert conf.oldaskconfig() == 0 - assert conf.stderr_matches('expected_stderr') +# SPDX-License-Identifier: GPL-2.0 +""" +Variable and user-defined function tests. +""" + +def test(conf): + assert conf.oldaskconfig() == 0 + assert conf.stderr_matches('expected_stderr') diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/expected_stderr b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/expected_stderr index bc1d7534da..a4841c3fdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/expected_stderr +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/preprocess/variable/expected_stderr @@ -1,9 +1,9 @@ -Kconfig:10: SIMPLE = 1 -Kconfig:16: RECURSIVE = 2 -Kconfig:22: SIMPLE = 1 3 -Kconfig:28: RECURSIVE = 2 4 -Kconfig:35: UNDEFINED_VARIABLE = 4 -Kconfig:41: AB = 5 -Kconfig:45: Hello, my name is John. -Kconfig:50: Hello, my name is . -Kconfig:53: Hello, my name is John. +Kconfig:10: SIMPLE = 1 +Kconfig:16: RECURSIVE = 2 +Kconfig:22: SIMPLE = 1 3 +Kconfig:28: RECURSIVE = 2 4 +Kconfig:35: UNDEFINED_VARIABLE = 4 +Kconfig:41: AB = 5 +Kconfig:45: Hello, my name is John. +Kconfig:50: Hello, my name is . +Kconfig:53: Hello, my name is John. diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/pytest.ini b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/pytest.ini index c9af122621..85d7ce8e44 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/pytest.ini +++ b/image/debian/UFI003_MB_V02/kernel/scripts/kconfig/tests/pytest.ini @@ -1,7 +1,7 @@ -[pytest] -addopts = --verbose - -# Pytest requires that test files have unique names, because pytest imports -# them as top-level modules. It is silly to prefix or suffix a test file with -# the directory name that contains it. Use __init__.py for all test files. -python_files = __init__.py +[pytest] +addopts = --verbose + +# Pytest requires that test files have unique names, because pytest imports +# them as top-level modules. It is silly to prefix or suffix a test file with +# the directory name that contains it. Use __init__.py for all test files. +python_files = __init__.py diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/mod/.gitignore b/image/debian/UFI003_MB_V02/kernel/scripts/mod/.gitignore index 8972d8476a..0465ec33c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/mod/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/scripts/mod/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -/devicetable-offsets.h -/elfconfig.h -/mk_elfconfig -/modpost +# SPDX-License-Identifier: GPL-2.0-only +/devicetable-offsets.h +/elfconfig.h +/mk_elfconfig +/modpost diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/orc_hash.sh b/image/debian/UFI003_MB_V02/kernel/scripts/orc_hash.sh index b7f887b700..466611aa00 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/orc_hash.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/orc_hash.sh @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (c) Meta Platforms, Inc. and affiliates. - -set -e - -printf '%s' '#define ORC_HASH ' - -awk ' -/^#define ORC_(REG|TYPE)_/ { print } -/^struct orc_entry {$/ { p=1 } -p { print } -/^}/ { p=0 }' | - sha1sum | - cut -d " " -f 1 | - sed 's/\([0-9a-f]\{2\}\)/0x\1,/g' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) Meta Platforms, Inc. and affiliates. + +set -e + +printf '%s' '#define ORC_HASH ' + +awk ' +/^#define ORC_(REG|TYPE)_/ { print } +/^struct orc_entry {$/ { p=1 } +p { print } +/^}/ { p=0 }' | + sha1sum | + cut -d " " -f 1 | + sed 's/\([0-9a-f]\{2\}\)/0x\1,/g' diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/package/snapcraft.template b/image/debian/UFI003_MB_V02/kernel/scripts/package/snapcraft.template index 986ccc7d7a..85d5e07d1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/package/snapcraft.template +++ b/image/debian/UFI003_MB_V02/kernel/scripts/package/snapcraft.template @@ -1,14 +1,14 @@ -name: kernel -version: KERNELRELEASE -summary: Linux kernel -description: The upstream Linux kernel -grade: stable -confinement: strict -type: kernel - -parts: - kernel: - plugin: kernel - source: SRCTREE - source-type: local - kernel-with-firmware: false +name: kernel +version: KERNELRELEASE +summary: Linux kernel +description: The upstream Linux kernel +grade: stable +confinement: strict +type: kernel + +parts: + kernel: + plugin: kernel + source: SRCTREE + source-type: local + kernel-with-firmware: false diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/pahole-version.sh b/image/debian/UFI003_MB_V02/kernel/scripts/pahole-version.sh old mode 100644 new mode 100755 index 76ca7b5e39..f8a32ab93a --- a/image/debian/UFI003_MB_V02/kernel/scripts/pahole-version.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/pahole-version.sh @@ -1,13 +1,13 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# -# Usage: $ ./pahole-version.sh pahole -# -# Prints pahole's version in a 3-digit form, such as 119 for v1.19. - -if [ ! -x "$(command -v "$@")" ]; then - echo 0 - exit 1 -fi - -"$@" --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# +# Usage: $ ./pahole-version.sh pahole +# +# Prints pahole's version in a 3-digit form, such as 119 for v1.19. + +if [ ! -x "$(command -v "$@")" ]; then + echo 0 + exit 1 +fi + +"$@" --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/' diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/rust_is_available_bindgen_libclang.h b/image/debian/UFI003_MB_V02/kernel/scripts/rust_is_available_bindgen_libclang.h index 62c5c98d66..0ef6db10d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/rust_is_available_bindgen_libclang.h +++ b/image/debian/UFI003_MB_V02/kernel/scripts/rust_is_available_bindgen_libclang.h @@ -1,2 +1,2 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#pragma message("clang version " __clang_version__) +/* SPDX-License-Identifier: GPL-2.0 */ +#pragma message("clang version " __clang_version__) diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/README b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/README index 32a678bf34..5ba679c5be 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/README +++ b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/README @@ -1,2 +1,2 @@ -Please see Documentation/admin-guide/LSM/SELinux.rst for information on -installing a dummy SELinux policy. +Please see Documentation/admin-guide/LSM/SELinux.rst for information on +installing a dummy SELinux policy. diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/genheaders/Makefile b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/genheaders/Makefile index 524486b0d9..1faf7f07e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/genheaders/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/genheaders/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -hostprogs-always-y += genheaders -HOST_EXTRACFLAGS += \ - -I$(srctree)/include/uapi -I$(srctree)/include \ - -I$(srctree)/security/selinux/include +# SPDX-License-Identifier: GPL-2.0 +hostprogs-always-y += genheaders +HOST_EXTRACFLAGS += \ + -I$(srctree)/include/uapi -I$(srctree)/include \ + -I$(srctree)/security/selinux/include diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/Makefile b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/Makefile index 5ff51878b0..d61058ddd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -hostprogs-always-y += mdp -HOST_EXTRACFLAGS += \ - -I$(srctree)/include/uapi -I$(srctree)/include \ - -I$(srctree)/security/selinux/include -I$(objtree)/include - -clean-files := policy.* file_contexts +# SPDX-License-Identifier: GPL-2.0 +hostprogs-always-y += mdp +HOST_EXTRACFLAGS += \ + -I$(srctree)/include/uapi -I$(srctree)/include \ + -I$(srctree)/security/selinux/include -I$(objtree)/include + +clean-files := policy.* file_contexts diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/dbus_contexts b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/dbus_contexts index 3f01d818f7..116e684f9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/dbus_contexts +++ b/image/debian/UFI003_MB_V02/kernel/scripts/selinux/mdp/dbus_contexts @@ -1,6 +1,6 @@ - - - - - + + + + + diff --git a/image/debian/UFI003_MB_V02/kernel/scripts/spdxcheck-test.sh b/image/debian/UFI003_MB_V02/kernel/scripts/spdxcheck-test.sh index 9fa06a01bd..9f6d1a74da 100644 --- a/image/debian/UFI003_MB_V02/kernel/scripts/spdxcheck-test.sh +++ b/image/debian/UFI003_MB_V02/kernel/scripts/spdxcheck-test.sh @@ -1,10 +1,10 @@ -#!/bin/sh - -# run check on a text and a binary file -for FILE in Makefile Documentation/images/logo.gif; do - python3 scripts/spdxcheck.py $FILE - python3 scripts/spdxcheck.py - < $FILE -done - -# run check on complete tree to catch any other issues -python3 scripts/spdxcheck.py > /dev/null +#!/bin/sh + +# run check on a text and a binary file +for FILE in Makefile Documentation/images/logo.gif; do + python3 scripts/spdxcheck.py $FILE + python3 scripts/spdxcheck.py - < $FILE +done + +# run check on complete tree to catch any other issues +python3 scripts/spdxcheck.py > /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/security/apparmor/.gitignore b/image/debian/UFI003_MB_V02/kernel/security/apparmor/.gitignore index 0e9cfcac53..6d1eb1c15c 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/apparmor/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/security/apparmor/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -net_names.h -capability_names.h -rlim_names.h +# SPDX-License-Identifier: GPL-2.0-only +net_names.h +capability_names.h +rlim_names.h diff --git a/image/debian/UFI003_MB_V02/kernel/security/bpf/Makefile b/image/debian/UFI003_MB_V02/kernel/security/bpf/Makefile index e17ce9f555..c7a89a9620 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/bpf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/bpf/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (C) 2020 Google LLC. - -obj-$(CONFIG_BPF_LSM) := hooks.o +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2020 Google LLC. + +obj-$(CONFIG_BPF_LSM) := hooks.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/integrity/evm/Makefile b/image/debian/UFI003_MB_V02/kernel/security/integrity/evm/Makefile index 2672909060..a56f5613be 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/integrity/evm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/integrity/evm/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for building the Extended Verification Module(EVM) -# -obj-$(CONFIG_EVM) += evm.o - -evm-y := evm_main.o evm_crypto.o evm_secfs.o -evm-$(CONFIG_FS_POSIX_ACL) += evm_posix_acl.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for building the Extended Verification Module(EVM) +# +obj-$(CONFIG_EVM) += evm.o + +evm-y := evm_main.o evm_crypto.o evm_secfs.o +evm-$(CONFIG_FS_POSIX_ACL) += evm_posix_acl.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/ipe/policy_parser.h b/image/debian/UFI003_MB_V02/kernel/security/ipe/policy_parser.h index f1d3cff30e..62b6209019 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/ipe/policy_parser.h +++ b/image/debian/UFI003_MB_V02/kernel/security/ipe/policy_parser.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved. - */ -#ifndef _IPE_POLICY_PARSER_H -#define _IPE_POLICY_PARSER_H - -int ipe_parse_policy(struct ipe_policy *p); -void ipe_free_parsed_policy(struct ipe_parsed_policy *p); - -#endif /* _IPE_POLICY_PARSER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved. + */ +#ifndef _IPE_POLICY_PARSER_H +#define _IPE_POLICY_PARSER_H + +int ipe_parse_policy(struct ipe_policy *p); +void ipe_free_parsed_policy(struct ipe_parsed_policy *p); + +#endif /* _IPE_POLICY_PARSER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/security/keys/trusted-keys/tpm2key.asn1 b/image/debian/UFI003_MB_V02/kernel/security/keys/trusted-keys/tpm2key.asn1 index f70f1741d5..f57f869ad6 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/keys/trusted-keys/tpm2key.asn1 +++ b/image/debian/UFI003_MB_V02/kernel/security/keys/trusted-keys/tpm2key.asn1 @@ -1,11 +1,11 @@ ---- ---- ASN.1 for TPM 2.0 keys ---- - -TPMKey ::= SEQUENCE { - type OBJECT IDENTIFIER ({tpm2_key_type}), - emptyAuth [0] EXPLICIT BOOLEAN OPTIONAL, - parent INTEGER ({tpm2_key_parent}), - pubkey OCTET STRING ({tpm2_key_pub}), - privkey OCTET STRING ({tpm2_key_priv}) - } +--- +--- ASN.1 for TPM 2.0 keys +--- + +TPMKey ::= SEQUENCE { + type OBJECT IDENTIFIER ({tpm2_key_type}), + emptyAuth [0] EXPLICIT BOOLEAN OPTIONAL, + parent INTEGER ({tpm2_key_parent}), + pubkey OCTET STRING ({tpm2_key_pub}), + privkey OCTET STRING ({tpm2_key_priv}) + } diff --git a/image/debian/UFI003_MB_V02/kernel/security/landlock/.kunitconfig b/image/debian/UFI003_MB_V02/kernel/security/landlock/.kunitconfig index c21aa5064d..03e1194666 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/landlock/.kunitconfig +++ b/image/debian/UFI003_MB_V02/kernel/security/landlock/.kunitconfig @@ -1,4 +1,4 @@ -CONFIG_KUNIT=y -CONFIG_SECURITY=y -CONFIG_SECURITY_LANDLOCK=y -CONFIG_SECURITY_LANDLOCK_KUNIT_TEST=y +CONFIG_KUNIT=y +CONFIG_SECURITY=y +CONFIG_SECURITY_LANDLOCK=y +CONFIG_SECURITY_LANDLOCK_KUNIT_TEST=y diff --git a/image/debian/UFI003_MB_V02/kernel/security/landlock/Makefile b/image/debian/UFI003_MB_V02/kernel/security/landlock/Makefile index 2cc058d55c..b4538b7cf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/landlock/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/landlock/Makefile @@ -1,6 +1,6 @@ -obj-$(CONFIG_SECURITY_LANDLOCK) := landlock.o - -landlock-y := setup.o syscalls.o object.o ruleset.o \ - cred.o task.o fs.o - -landlock-$(CONFIG_INET) += net.o +obj-$(CONFIG_SECURITY_LANDLOCK) := landlock.o + +landlock-y := setup.o syscalls.o object.o ruleset.o \ + cred.o task.o fs.o + +landlock-$(CONFIG_INET) += net.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/landlock/task.h b/image/debian/UFI003_MB_V02/kernel/security/landlock/task.h index bfd7de7419..7c00360219 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/landlock/task.h +++ b/image/debian/UFI003_MB_V02/kernel/security/landlock/task.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Landlock LSM - Ptrace hooks - * - * Copyright © 2017-2019 Mickaël Salaün - * Copyright © 2019 ANSSI - */ - -#ifndef _SECURITY_LANDLOCK_TASK_H -#define _SECURITY_LANDLOCK_TASK_H - -__init void landlock_add_task_hooks(void); - -#endif /* _SECURITY_LANDLOCK_TASK_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Landlock LSM - Ptrace hooks + * + * Copyright © 2017-2019 Mickaël Salaün + * Copyright © 2019 ANSSI + */ + +#ifndef _SECURITY_LANDLOCK_TASK_H +#define _SECURITY_LANDLOCK_TASK_H + +__init void landlock_add_task_hooks(void); + +#endif /* _SECURITY_LANDLOCK_TASK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/security/loadpin/Makefile b/image/debian/UFI003_MB_V02/kernel/security/loadpin/Makefile index a70da69488..0ead1c3105 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/loadpin/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/loadpin/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SECURITY_LOADPIN) += loadpin.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SECURITY_LOADPIN) += loadpin.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/safesetid/Makefile b/image/debian/UFI003_MB_V02/kernel/security/safesetid/Makefile index cefc2d5b3c..6b06603211 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/safesetid/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/safesetid/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the safesetid LSM. -# - -obj-$(CONFIG_SECURITY_SAFESETID) := safesetid.o -safesetid-y := lsm.o securityfs.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the safesetid LSM. +# + +obj-$(CONFIG_SECURITY_SAFESETID) := safesetid.o +safesetid-y := lsm.o securityfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/smack/Makefile b/image/debian/UFI003_MB_V02/kernel/security/smack/Makefile index db0396fecc..6dbf6e22a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/smack/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/smack/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the SMACK LSM -# - -obj-$(CONFIG_SECURITY_SMACK) := smack.o - -smack-y := smack_lsm.o smack_access.o smackfs.o -smack-$(CONFIG_SECURITY_SMACK_NETFILTER) += smack_netfilter.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the SMACK LSM +# + +obj-$(CONFIG_SECURITY_SMACK) := smack.o + +smack-y := smack_lsm.o smack_access.o smackfs.o +smack-$(CONFIG_SECURITY_SMACK_NETFILTER) += smack_netfilter.o diff --git a/image/debian/UFI003_MB_V02/kernel/security/tomoyo/policy/exception_policy.conf.default b/image/debian/UFI003_MB_V02/kernel/security/tomoyo/policy/exception_policy.conf.default index 7833a4826f..2678df4964 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/tomoyo/policy/exception_policy.conf.default +++ b/image/debian/UFI003_MB_V02/kernel/security/tomoyo/policy/exception_policy.conf.default @@ -1,2 +1,2 @@ -initialize_domain /sbin/modprobe from any -initialize_domain /sbin/hotplug from any +initialize_domain /sbin/modprobe from any +initialize_domain /sbin/hotplug from any diff --git a/image/debian/UFI003_MB_V02/kernel/security/yama/Makefile b/image/debian/UFI003_MB_V02/kernel/security/yama/Makefile index ffb6fd8c81..0fa5d0fe2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/security/yama/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/security/yama/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SECURITY_YAMA) := yama.o - -yama-y := yama_lsm.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SECURITY_YAMA) := yama.o + +yama-y := yama_lsm.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/ac97/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/ac97/Makefile index 31c1b4affa..f5efa1ad7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/ac97/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/ac97/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# make for AC97 bus drivers -# - -obj-$(CONFIG_AC97_BUS_NEW) += ac97.o - -ac97-y += bus.o codec.o -ac97-$(CONFIG_AC97_BUS_COMPAT) += snd_ac97_compat.o +# SPDX-License-Identifier: GPL-2.0-only +# +# make for AC97 bus drivers +# + +obj-$(CONFIG_AC97_BUS_NEW) += ac97.o + +ac97-y += bus.o codec.o +ac97-$(CONFIG_AC97_BUS_COMPAT) += snd_ac97_compat.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/ac97/codec.c b/image/debian/UFI003_MB_V02/kernel/sound/ac97/codec.c index 4bc9206239..1c8357ad6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/ac97/codec.c +++ b/image/debian/UFI003_MB_V02/kernel/sound/ac97/codec.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2016 Robert Jarzmik - */ - -#include -#include -#include -#include -#include -#include /* For compat_ac97_* */ - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2016 Robert Jarzmik + */ + +#include +#include +#include +#include +#include +#include /* For compat_ac97_* */ + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/Makefile index 15a093297c..8dbfb01ba2 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SND_AOA) += core/ -obj-$(CONFIG_SND_AOA_SOUNDBUS) += soundbus/ -obj-$(CONFIG_SND_AOA) += fabrics/ -obj-$(CONFIG_SND_AOA) += codecs/ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SND_AOA) += core/ +obj-$(CONFIG_SND_AOA_SOUNDBUS) += soundbus/ +obj-$(CONFIG_SND_AOA) += fabrics/ +obj-$(CONFIG_SND_AOA) += codecs/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/codecs/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/codecs/Makefile index 19b11024e5..8feedc771b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/codecs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/codecs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -snd-aoa-codec-onyx-y := onyx.o -snd-aoa-codec-tas-y := tas.o -snd-aoa-codec-toonie-y := toonie.o - -obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o -obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o -obj-$(CONFIG_SND_AOA_TOONIE) += snd-aoa-codec-toonie.o +# SPDX-License-Identifier: GPL-2.0 +snd-aoa-codec-onyx-y := onyx.o +snd-aoa-codec-tas-y := tas.o +snd-aoa-codec-toonie-y := toonie.o + +obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o +obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o +obj-$(CONFIG_SND_AOA_TOONIE) += snd-aoa-codec-toonie.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/core/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/core/Makefile index 3b122a33c7..f586c340fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/core/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/core/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_SND_AOA) += snd-aoa.o -snd-aoa-y := core.o \ - alsa.o \ - gpio-pmf.o \ - gpio-feature.o +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_SND_AOA) += snd-aoa.o +snd-aoa-y := core.o \ + alsa.o \ + gpio-pmf.o \ + gpio-feature.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/fabrics/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/fabrics/Makefile index 1a015fa759..2c3bee6cfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/fabrics/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/fabrics/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-aoa-fabric-layout-y += layout.o - -obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o +# SPDX-License-Identifier: GPL-2.0-only +snd-aoa-fabric-layout-y += layout.o + +obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/Makefile index 98683f96a2..a10b102daf 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SND_AOA_SOUNDBUS) += snd-aoa-soundbus.o -snd-aoa-soundbus-y := core.o sysfs.o -obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += i2sbus/ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SND_AOA_SOUNDBUS) += snd-aoa-soundbus.o +snd-aoa-soundbus-y := core.o sysfs.o +obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += i2sbus/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/i2sbus/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/i2sbus/Makefile index e8c880396a..1ddaa0e17d 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/i2sbus/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/aoa/soundbus/i2sbus/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += snd-aoa-i2sbus.o -snd-aoa-i2sbus-y := core.o pcm.o control.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += snd-aoa-i2sbus.o +snd-aoa-i2sbus-y := core.o pcm.o control.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/atmel/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/atmel/Kconfig index 349494ecd2..6ed2d4a733 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/atmel/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/atmel/Kconfig @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -menu "Atmel devices (AT91)" - depends on ARCH_AT91 - -config SND_ATMEL_AC97C - tristate "Atmel AC97 Controller (AC97C) driver" - select SND_PCM - select SND_AC97_CODEC - depends on ARCH_AT91 - help - ALSA sound driver for the Atmel AC97 controller. - -endmenu +# SPDX-License-Identifier: GPL-2.0-only +menu "Atmel devices (AT91)" + depends on ARCH_AT91 + +config SND_ATMEL_AC97C + tristate "Atmel AC97 Controller (AC97C) driver" + select SND_PCM + select SND_AC97_CODEC + depends on ARCH_AT91 + help + ALSA sound driver for the Atmel AC97 controller. + +endmenu diff --git a/image/debian/UFI003_MB_V02/kernel/sound/atmel/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/atmel/Makefile index d1b16f9a19..a8917d1854 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/atmel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/atmel/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-atmel-ac97c-y := ac97c.o - -obj-$(CONFIG_SND_ATMEL_AC97C) += snd-atmel-ac97c.o +# SPDX-License-Identifier: GPL-2.0-only +snd-atmel-ac97c-y := ac97c.o + +obj-$(CONFIG_SND_ATMEL_AC97C) += snd-atmel-ac97c.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/core/.kunitconfig b/image/debian/UFI003_MB_V02/kernel/sound/core/.kunitconfig index 3668362197..440f974ba0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/core/.kunitconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/core/.kunitconfig @@ -1,5 +1,5 @@ -CONFIG_KUNIT=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_PCM=y -CONFIG_SND_CORE_TEST=y +CONFIG_KUNIT=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_PCM=y +CONFIG_SND_CORE_TEST=y diff --git a/image/debian/UFI003_MB_V02/kernel/sound/drivers/mpu401/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/drivers/mpu401/Makefile index ee0f01e5d6..0a96e238ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/drivers/mpu401/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/drivers/mpu401/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-mpu401-y := mpu401.o -snd-mpu401-uart-y := mpu401_uart.o - -obj-$(CONFIG_SND_MPU401_UART) += snd-mpu401-uart.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_MPU401) += snd-mpu401.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-mpu401-y := mpu401.o +snd-mpu401-uart-y := mpu401_uart.o + +obj-$(CONFIG_SND_MPU401_UART) += snd-mpu401-uart.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_MPU401) += snd-mpu401.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/Makefile index c326cb4c7f..309c094972 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-pcsp-y := pcsp.o pcsp_lib.o pcsp_mixer.o pcsp_input.o -obj-$(CONFIG_SND_PCSP) += snd-pcsp.o +# SPDX-License-Identifier: GPL-2.0-only +snd-pcsp-y := pcsp.o pcsp_lib.o pcsp_mixer.o pcsp_input.o +obj-$(CONFIG_SND_PCSP) += snd-pcsp.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/pcsp_input.h b/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/pcsp_input.h index 2d55a29196..42bfc9eab6 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/pcsp_input.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/drivers/pcsp/pcsp_input.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * PC-Speaker driver for Linux - * - * Copyright (C) 2001-2008 Stas Sergeev - */ - -#ifndef __PCSP_INPUT_H__ -#define __PCSP_INPUT_H__ - -int pcspkr_input_init(struct input_dev **rdev, struct device *dev); -void pcspkr_stop_sound(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * PC-Speaker driver for Linux + * + * Copyright (C) 2001-2008 Stas Sergeev + */ + +#ifndef __PCSP_INPUT_H__ +#define __PCSP_INPUT_H__ + +int pcspkr_input_init(struct input_dev **rdev, struct device *dev); +void pcspkr_stop_sound(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/drivers/vx/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/drivers/vx/Makefile index ad50cf1a39..ae1b3e0928 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/drivers/vx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/drivers/vx/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-vx-lib-y := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o - -obj-$(CONFIG_SND_VX_LIB) += snd-vx-lib.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-vx-lib-y := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o + +obj-$(CONFIG_SND_VX_LIB) += snd-vx-lib.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/bebob/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/bebob/Makefile index 58b06c368c..b913e805bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/bebob/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/bebob/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -snd-bebob-y := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \ - bebob_pcm.o bebob_hwdep.o bebob_terratec.o \ - bebob_yamaha_terratec.o bebob_focusrite.o bebob_maudio.o \ - bebob.o -obj-$(CONFIG_SND_BEBOB) += snd-bebob.o +# SPDX-License-Identifier: GPL-2.0 +snd-bebob-y := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \ + bebob_pcm.o bebob_hwdep.o bebob_terratec.o \ + bebob_yamaha_terratec.o bebob_focusrite.o bebob_maudio.o \ + bebob.o +obj-$(CONFIG_SND_BEBOB) += snd-bebob.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/dice/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/dice/Makefile index a66e888241..36e25a3cf3 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/dice/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/dice/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-dice-y := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \ - dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \ - dice-alesis.o dice-extension.o dice-mytek.o dice-presonus.o \ - dice-harman.o dice-focusrite.o dice-weiss.o -obj-$(CONFIG_SND_DICE) += snd-dice.o +# SPDX-License-Identifier: GPL-2.0-only +snd-dice-y := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \ + dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \ + dice-alesis.o dice-extension.o dice-mytek.o dice-presonus.o \ + dice-harman.o dice-focusrite.o dice-weiss.o +obj-$(CONFIG_SND_DICE) += snd-dice.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/digi00x/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/digi00x/Makefile index ca573302c2..6dc18bd2e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/digi00x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/digi00x/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-firewire-digi00x-y := amdtp-dot.o digi00x-stream.o digi00x-proc.o \ - digi00x-pcm.o digi00x-hwdep.o \ - digi00x-transaction.o digi00x-midi.o digi00x.o -obj-$(CONFIG_SND_FIREWIRE_DIGI00X) += snd-firewire-digi00x.o +# SPDX-License-Identifier: GPL-2.0-only +snd-firewire-digi00x-y := amdtp-dot.o digi00x-stream.o digi00x-proc.o \ + digi00x-pcm.o digi00x-hwdep.o \ + digi00x-transaction.o digi00x-midi.o digi00x.o +obj-$(CONFIG_SND_FIREWIRE_DIGI00X) += snd-firewire-digi00x.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireface/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireface/Makefile index e363ecaedd..b397d95877 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireface/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireface/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-fireface-y := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \ - ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \ - ff-protocol-latter.o -obj-$(CONFIG_SND_FIREFACE) += snd-fireface.o +# SPDX-License-Identifier: GPL-2.0-only +snd-fireface-y := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \ + ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \ + ff-protocol-latter.o +obj-$(CONFIG_SND_FIREFACE) += snd-fireface.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireworks/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireworks/Makefile index 3f00ffa6bb..baaf3066c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireworks/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/fireworks/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-fireworks-y := fireworks_transaction.o fireworks_command.o \ - fireworks_stream.o fireworks_proc.o fireworks_midi.o \ - fireworks_pcm.o fireworks_hwdep.o fireworks.o -obj-$(CONFIG_SND_FIREWORKS) += snd-fireworks.o +# SPDX-License-Identifier: GPL-2.0-only +snd-fireworks-y := fireworks_transaction.o fireworks_command.o \ + fireworks_stream.o fireworks_proc.o fireworks_midi.o \ + fireworks_pcm.o fireworks_hwdep.o fireworks.o +obj-$(CONFIG_SND_FIREWORKS) += snd-fireworks.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/oxfw/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/oxfw/Makefile index b2bc5586ce..9ac8893a92 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/oxfw/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/oxfw/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-oxfw-y := oxfw-command.o oxfw-stream.o oxfw-pcm.o oxfw-proc.o \ - oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o -obj-$(CONFIG_SND_OXFW) += snd-oxfw.o +# SPDX-License-Identifier: GPL-2.0-only +snd-oxfw-y := oxfw-command.o oxfw-stream.o oxfw-pcm.o oxfw-proc.o \ + oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o +obj-$(CONFIG_SND_OXFW) += snd-oxfw.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/firewire/tascam/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/firewire/tascam/Makefile index 2025448f89..43fed14cf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/firewire/tascam/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/firewire/tascam/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-firewire-tascam-y := tascam-proc.o amdtp-tascam.o tascam-stream.o \ - tascam-pcm.o tascam-hwdep.o tascam-transaction.o \ - tascam-midi.o tascam.o -obj-$(CONFIG_SND_FIREWIRE_TASCAM) += snd-firewire-tascam.o +# SPDX-License-Identifier: GPL-2.0-only +snd-firewire-tascam-y := tascam-proc.o amdtp-tascam.o tascam-stream.o \ + tascam-pcm.o tascam-hwdep.o tascam-transaction.o \ + tascam-midi.o tascam.o +obj-$(CONFIG_SND_FIREWIRE_TASCAM) += snd-firewire-tascam.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/hda/ext/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/hda/ext/Makefile index 3b3d4a77aa..05883fb28d 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/hda/ext/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/hda/ext/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-hda-ext-core-y := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o - -obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o +# SPDX-License-Identifier: GPL-2.0-only +snd-hda-ext-core-y := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o + +obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/hda/trace.c b/image/debian/UFI003_MB_V02/kernel/sound/hda/trace.c index 399aafdb65..ca2d6bd945 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/hda/trace.c +++ b/image/debian/UFI003_MB_V02/kernel/sound/hda/trace.c @@ -1,6 +1,6 @@ -/* - * tracepoint definitions for HD-audio core drivers - */ - -#define CREATE_TRACE_POINTS -#include "trace.h" +/* + * tracepoint definitions for HD-audio core drivers + */ + +#define CREATE_TRACE_POINTS +#include "trace.h" diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1816a/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1816a/Makefile index eafa29e3e6..5733252285 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1816a/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1816a/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-ad1816a-y := ad1816a.o ad1816a_lib.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_AD1816A) += snd-ad1816a.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-ad1816a-y := ad1816a.o ad1816a_lib.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_AD1816A) += snd-ad1816a.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1848/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1848/Makefile index 7bac7e4fa4..5fdfc1c9f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1848/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/ad1848/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-ad1848-y := ad1848.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_AD1848) += snd-ad1848.o - +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-ad1848-y := ad1848.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_AD1848) += snd-ad1848.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/cs423x/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/cs423x/Makefile index 2bd9240f11..013a777d23 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/cs423x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/cs423x/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-cs4231-y := cs4231.o -snd-cs4236-y := cs4236.o cs4236_lib.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_CS4231) += snd-cs4231.o -obj-$(CONFIG_SND_CS4236) += snd-cs4236.o - - +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-cs4231-y := cs4231.o +snd-cs4236-y := cs4236.o cs4236_lib.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_CS4231) += snd-cs4231.o +obj-$(CONFIG_SND_CS4236) += snd-cs4236.o + + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/es1688/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/es1688/Makefile index 727713e389..7d6c44a8ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/es1688/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/es1688/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-es1688-lib-y := es1688_lib.o -snd-es1688-y := es1688.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_ES1688) += snd-es1688.o snd-es1688-lib.o -obj-$(CONFIG_SND_GUSEXTREME) += snd-es1688-lib.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-es1688-lib-y := es1688_lib.o +snd-es1688-y := es1688.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_ES1688) += snd-es1688.o snd-es1688-lib.o +obj-$(CONFIG_SND_GUSEXTREME) += snd-es1688-lib.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/galaxy/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/galaxy/Makefile index 2c829176fd..2dbd519860 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/galaxy/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/galaxy/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-azt1605-y := azt1605.o -snd-azt2316-y := azt2316.o - -obj-$(CONFIG_SND_AZT1605) += snd-azt1605.o -obj-$(CONFIG_SND_AZT2316) += snd-azt2316.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-azt1605-y := azt1605.o +snd-azt2316-y := azt2316.o + +obj-$(CONFIG_SND_AZT1605) += snd-azt1605.o +obj-$(CONFIG_SND_AZT2316) += snd-azt2316.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/Makefile index c2664a1c7f..5f8d6b4727 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -snd-msnd-lib-y := msnd.o msnd_midi.o msnd_pinnacle_mixer.o -snd-msnd-pinnacle-y := msnd_pinnacle.o -snd-msnd-classic-y := msnd_classic.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_MSND_PINNACLE) += snd-msnd-pinnacle.o snd-msnd-lib.o -obj-$(CONFIG_SND_MSND_CLASSIC) += snd-msnd-classic.o snd-msnd-lib.o - +# SPDX-License-Identifier: GPL-2.0 + +snd-msnd-lib-y := msnd.o msnd_midi.o msnd_pinnacle_mixer.o +snd-msnd-pinnacle-y := msnd_pinnacle.o +snd-msnd-classic-y := msnd_classic.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_MSND_PINNACLE) += snd-msnd-pinnacle.o snd-msnd-lib.o +obj-$(CONFIG_SND_MSND_CLASSIC) += snd-msnd-classic.o snd-msnd-lib.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/msnd_classic.c b/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/msnd_classic.c index 435bf3190a..3b23a096fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/msnd_classic.c +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/msnd/msnd_classic.c @@ -1,3 +1,3 @@ -/* The work is in msnd_pinnacle.c, just define MSND_CLASSIC before it. */ -#define MSND_CLASSIC -#include "msnd_pinnacle.c" +/* The work is in msnd_pinnacle.c, just define MSND_CLASSIC before it. */ +#define MSND_CLASSIC +#include "msnd_pinnacle.c" diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/wavefront/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/wavefront/Makefile index 298f556bf7..3ba85fb2e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/wavefront/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/wavefront/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-wavefront-y := wavefront.o wavefront_fx.o wavefront_synth.o wavefront_midi.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_WAVEFRONT) += snd-wavefront.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-wavefront-y := wavefront.o wavefront_fx.o wavefront_synth.o wavefront_midi.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_WAVEFRONT) += snd-wavefront.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/isa/wss/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/isa/wss/Makefile index 529c522732..f23e71d0d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/isa/wss/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/isa/wss/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2008 by Jaroslav Kysela -# - -snd-wss-lib-y := wss_lib.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_WSS_LIB) += snd-wss-lib.o - +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2008 by Jaroslav Kysela +# + +snd-wss-lib-y := wss_lib.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_WSS_LIB) += snd-wss-lib.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/mips/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/mips/Makefile index 799956c5db..bfbf3bda48 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/mips/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/mips/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# - -snd-sgi-o2-y := sgio2audio.o ad1843.o -snd-sgi-hal2-y := hal2.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_SGI_O2) += snd-sgi-o2.o -obj-$(CONFIG_SND_SGI_HAL2) += snd-sgi-hal2.o -obj-$(CONFIG_SND_N64) += snd-n64.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# + +snd-sgi-o2-y := sgio2audio.o ad1843.o +snd-sgi-hal2-y := hal2.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_SGI_O2) += snd-sgi-o2.o +obj-$(CONFIG_SND_SGI_HAL2) += snd-sgi-hal2.o +obj-$(CONFIG_SND_N64) += snd-n64.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/oss/dmasound/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/oss/dmasound/Makefile index b2c89cb342..de8ae8346a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/oss/dmasound/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/oss/dmasound/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the DMA sound driver -# - -obj-$(CONFIG_DMASOUND_ATARI) += dmasound_core.o dmasound_atari.o -obj-$(CONFIG_DMASOUND_PAULA) += dmasound_core.o dmasound_paula.o -obj-$(CONFIG_DMASOUND_Q40) += dmasound_core.o dmasound_q40.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the DMA sound driver +# + +obj-$(CONFIG_DMASOUND_ATARI) += dmasound_core.o dmasound_atari.o +obj-$(CONFIG_DMASOUND_PAULA) += dmasound_core.o dmasound_paula.o +obj-$(CONFIG_DMASOUND_Q40) += dmasound_core.o dmasound_q40.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/parisc/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/parisc/Makefile index 08c2fd9ef2..84c71490fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/parisc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/parisc/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# - -snd-harmony-y := harmony.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_HARMONY) += snd-harmony.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# + +snd-harmony-y := harmony.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_HARMONY) += snd-harmony.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ac97/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/ac97/Makefile index a6c92e8bb5..c74e769f35 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ac97/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ac97/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-ac97-codec-y := ac97_codec.o ac97_pcm.o -snd-ac97-codec-$(CONFIG_SND_PROC_FS) += ac97_proc.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-ac97-codec-y := ac97_codec.o ac97_pcm.o +snd-ac97-codec-$(CONFIG_SND_PROC_FS) += ac97_proc.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ali5451/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/ali5451/Makefile index d59dc058b9..e319a4c1d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ali5451/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ali5451/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-ali5451-y := ali5451.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_ALI5451) += snd-ali5451.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-ali5451-y := ali5451.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_ALI5451) += snd-ali5451.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/asihpi/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/asihpi/Makefile index aa39741387..d558a974fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/asihpi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/asihpi/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-asihpi-y := asihpi.o hpioctl.o hpimsginit.o\ - hpicmn.o hpifunc.o hpidebug.o hpidspcd.o\ - hpios.o hpi6000.o hpi6205.o hpimsgx.o - -obj-$(CONFIG_SND_ASIHPI) += snd-asihpi.o +# SPDX-License-Identifier: GPL-2.0-only +snd-asihpi-y := asihpi.o hpioctl.o hpimsginit.o\ + hpicmn.o hpifunc.o hpidebug.o hpidspcd.o\ + hpios.o hpi6000.o hpi6205.o hpimsgx.o + +obj-$(CONFIG_SND_ASIHPI) += snd-asihpi.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/au88x0/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/au88x0/Makefile index 259f012968..5ec5abdee2 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/au88x0/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/au88x0/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -snd-au8810-y := au8810.o -snd-au8820-y := au8820.o -snd-au8830-y := au8830.o - -obj-$(CONFIG_SND_AU8810) += snd-au8810.o -obj-$(CONFIG_SND_AU8820) += snd-au8820.o -obj-$(CONFIG_SND_AU8830) += snd-au8830.o +# SPDX-License-Identifier: GPL-2.0 +snd-au8810-y := au8810.o +snd-au8820-y := au8820.o +snd-au8830-y := au8830.o + +obj-$(CONFIG_SND_AU8810) += snd-au8810.o +obj-$(CONFIG_SND_AU8820) += snd-au8820.o +obj-$(CONFIG_SND_AU8830) += snd-au8830.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/aw2/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/aw2/Makefile index 36cf700e6a..c246f7c7f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/aw2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/aw2/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-aw2-y := aw2-alsa.o aw2-saa7146.o - -obj-$(CONFIG_SND_AW2) += snd-aw2.o +# SPDX-License-Identifier: GPL-2.0-only +snd-aw2-y := aw2-alsa.o aw2-saa7146.o + +obj-$(CONFIG_SND_AW2) += snd-aw2.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ca0106/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/ca0106/Makefile index f04d1369cd..693dc4d809 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ca0106/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ca0106/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-ca0106-y := ca0106_main.o ca0106_mixer.o ca_midi.o -snd-ca0106-$(CONFIG_SND_PROC_FS) += ca0106_proc.o - -obj-$(CONFIG_SND_CA0106) += snd-ca0106.o +# SPDX-License-Identifier: GPL-2.0-only +snd-ca0106-y := ca0106_main.o ca0106_mixer.o ca_midi.o +snd-ca0106-$(CONFIG_SND_PROC_FS) += ca0106_proc.o + +obj-$(CONFIG_SND_CA0106) += snd-ca0106.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/cs46xx/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/cs46xx/Makefile index a6069cd024..3ed2ceb404 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/cs46xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/cs46xx/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-cs46xx-y := cs46xx.o cs46xx_lib.o -snd-cs46xx-$(CONFIG_SND_CS46XX_NEW_DSP) += dsp_spos.o dsp_spos_scb_lib.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_CS46XX) += snd-cs46xx.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-cs46xx-y := cs46xx.o cs46xx_lib.o +snd-cs46xx-$(CONFIG_SND_CS46XX_NEW_DSP) += dsp_spos.o dsp_spos_scb_lib.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_CS46XX) += snd-cs46xx.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/cs5535audio/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/cs5535audio/Makefile index 49f9e6d166..447e628751 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/cs5535audio/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/cs5535audio/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for cs5535audio -# - -snd-cs5535audio-y := cs5535audio.o cs5535audio_pcm.o -snd-cs5535audio-$(CONFIG_PM_SLEEP) += cs5535audio_pm.o -snd-cs5535audio-$(CONFIG_OLPC) += cs5535audio_olpc.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for cs5535audio +# + +snd-cs5535audio-y := cs5535audio.o cs5535audio_pcm.o +snd-cs5535audio-$(CONFIG_PM_SLEEP) += cs5535audio_pm.o +snd-cs5535audio-$(CONFIG_OLPC) += cs5535audio_olpc.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ctxfi/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/ctxfi/Makefile index 96d0735e58..ff2b1cba3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ctxfi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ctxfi/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-ctxfi-y := xfi.o ctatc.o ctvmem.o ctpcm.o ctmixer.o ctresource.o \ - ctsrc.o ctamixer.o ctdaio.o ctimap.o cthardware.o cttimer.o \ - cthw20k2.o cthw20k1.o - -obj-$(CONFIG_SND_CTXFI) += snd-ctxfi.o +# SPDX-License-Identifier: GPL-2.0-only +snd-ctxfi-y := xfi.o ctatc.o ctvmem.o ctpcm.o ctmixer.o ctresource.o \ + ctsrc.o ctamixer.o ctdaio.o ctimap.o cthardware.o cttimer.o \ + cthw20k2.o cthw20k1.o + +obj-$(CONFIG_SND_CTXFI) += snd-ctxfi.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/hda/cirrus_scodec.h b/image/debian/UFI003_MB_V02/kernel/sound/pci/hda/cirrus_scodec.h index dd4a941093..ba2041d8ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/hda/cirrus_scodec.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/hda/cirrus_scodec.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Copyright (C) 2023 Cirrus Logic, Inc. and - * Cirrus Logic International Semiconductor Ltd. - */ - -#ifndef CIRRUS_SCODEC_H -#define CIRRUS_SCODEC_H - -int cirrus_scodec_get_speaker_id(struct device *dev, int amp_index, - int num_amps, int fixed_gpio_id); - -#endif /* CIRRUS_SCODEC_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2023 Cirrus Logic, Inc. and + * Cirrus Logic International Semiconductor Ltd. + */ + +#ifndef CIRRUS_SCODEC_H +#define CIRRUS_SCODEC_H + +int cirrus_scodec_get_speaker_id(struct device *dev, int amp_index, + int num_amps, int fixed_gpio_id); + +#endif /* CIRRUS_SCODEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/juli.h b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/juli.h index 02bf88060f..9c22d4e73e 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/juli.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/juli.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SOUND_JULI_H -#define __SOUND_JULI_H - -#define JULI_DEVICE_DESC "{ESI,Juli@}," - -#define VT1724_SUBDEVICE_JULI 0x31305345 /* Juli@ */ - -extern struct snd_ice1712_card_info snd_vt1724_juli_cards[]; - -#endif /* __SOUND_JULI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SOUND_JULI_H +#define __SOUND_JULI_H + +#define JULI_DEVICE_DESC "{ESI,Juli@}," + +#define VT1724_SUBDEVICE_JULI 0x31305345 /* Juli@ */ + +extern struct snd_ice1712_card_info snd_vt1724_juli_cards[]; + +#endif /* __SOUND_JULI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/maya44.h b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/maya44.h index 302f84c0f1..f5a97d987a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/maya44.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/maya44.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SOUND_MAYA44_H -#define __SOUND_MAYA44_H - -#define MAYA44_DEVICE_DESC "{ESI,Maya44}," - -#define VT1724_SUBDEVICE_MAYA44 0x34315441 /* Maya44 */ - -extern struct snd_ice1712_card_info snd_vt1724_maya44_cards[]; - -#endif /* __SOUND_MAYA44_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SOUND_MAYA44_H +#define __SOUND_MAYA44_H + +#define MAYA44_DEVICE_DESC "{ESI,Maya44}," + +#define VT1724_SUBDEVICE_MAYA44 0x34315441 /* Maya44 */ + +extern struct snd_ice1712_card_info snd_vt1724_maya44_cards[]; + +#endif /* __SOUND_MAYA44_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/psc724.h b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/psc724.h index 29cf10af44..e6ce335ae8 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/psc724.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/psc724.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SOUND_PSC724_H -#define __SOUND_PSC724_H - -/* ID */ -#define PSC724_DEVICE_DESC \ - "{Philips,PSC724 Ultimate Edge}," - -#define VT1724_SUBDEVICE_PSC724 0xab170619 - -/* entry struct */ -extern struct snd_ice1712_card_info snd_vt1724_psc724_cards[]; - -#endif /* __SOUND_PSC724_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SOUND_PSC724_H +#define __SOUND_PSC724_H + +/* ID */ +#define PSC724_DEVICE_DESC \ + "{Philips,PSC724 Ultimate Edge}," + +#define VT1724_SUBDEVICE_PSC724 0xab170619 + +/* entry struct */ +extern struct snd_ice1712_card_info snd_vt1724_psc724_cards[]; + +#endif /* __SOUND_PSC724_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/quartet.h b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/quartet.h index d66098d6f3..a1c2fe2718 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/quartet.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ice1712/quartet.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SOUND_QTET_H -#define __SOUND_QTET_H - -#define QTET_DEVICE_DESC "{Infrasonic,Quartet}," - -#define VT1724_SUBDEVICE_QTET 0x30305349 /* Infrasonic Quartet */ - -extern struct snd_ice1712_card_info snd_vt1724_qtet_cards[]; - -#endif /* __SOUND_QTET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SOUND_QTET_H +#define __SOUND_QTET_H + +#define QTET_DEVICE_DESC "{Infrasonic,Quartet}," + +#define VT1724_SUBDEVICE_QTET 0x30305349 /* Infrasonic Quartet */ + +extern struct snd_ice1712_card_info snd_vt1724_qtet_cards[]; + +#endif /* __SOUND_QTET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/korg1212/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/korg1212/Makefile index 53c43e0546..ab0186ffbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/korg1212/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/korg1212/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-korg1212-y := korg1212.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_KORG1212) += snd-korg1212.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-korg1212-y := korg1212.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_KORG1212) += snd-korg1212.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/lola/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/lola/Makefile index 68a50270d8..8fdb5e5a77 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/lola/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/lola/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-lola-y := lola.o lola_pcm.o lola_clock.o lola_mixer.o -snd-lola-$(CONFIG_SND_DEBUG) += lola_proc.o - -obj-$(CONFIG_SND_LOLA) += snd-lola.o +# SPDX-License-Identifier: GPL-2.0-only +snd-lola-y := lola.o lola_pcm.o lola_clock.o lola_mixer.o +snd-lola-$(CONFIG_SND_DEBUG) += lola_proc.o + +obj-$(CONFIG_SND_LOLA) += snd-lola.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/lx6464es/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/lx6464es/Makefile index caa141fd2e..2b3047c7a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/lx6464es/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/lx6464es/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-lx6464es-y := lx6464es.o lx_core.o -obj-$(CONFIG_SND_LX6464ES) += snd-lx6464es.o +# SPDX-License-Identifier: GPL-2.0-only +snd-lx6464es-y := lx6464es.o lx_core.o +obj-$(CONFIG_SND_LX6464ES) += snd-lx6464es.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/mixart/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/mixart/Makefile index 0c43bd27a4..b803e5e727 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/mixart/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/mixart/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-mixart-y := mixart.o mixart_core.o mixart_hwdep.o mixart_mixer.o - -obj-$(CONFIG_SND_MIXART) += snd-mixart.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-mixart-y := mixart.o mixart_core.o mixart_hwdep.o mixart_mixer.o + +obj-$(CONFIG_SND_MIXART) += snd-mixart.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/nm256/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/nm256/Makefile index 4ee34106fc..7d55fe774d 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/nm256/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/nm256/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-nm256-y := nm256.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_NM256) += snd-nm256.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-nm256-y := nm256.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_NM256) += snd-nm256.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/pcxhr/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/pcxhr/Makefile index 190039a4ec..0ea1e5ccb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/pcxhr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/pcxhr/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-pcxhr-y := pcxhr.o pcxhr_hwdep.o pcxhr_mixer.o pcxhr_core.o pcxhr_mix22.o -obj-$(CONFIG_SND_PCXHR) += snd-pcxhr.o +# SPDX-License-Identifier: GPL-2.0-only +snd-pcxhr-y := pcxhr.o pcxhr_hwdep.o pcxhr_mixer.o pcxhr_core.o pcxhr_mix22.o +obj-$(CONFIG_SND_PCXHR) += snd-pcxhr.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/riptide/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/riptide/Makefile index 37c1567e4e..9b4e959585 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/riptide/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/riptide/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-riptide-y := riptide.o - -obj-$(CONFIG_SND_RIPTIDE) += snd-riptide.o +# SPDX-License-Identifier: GPL-2.0-only +snd-riptide-y := riptide.o + +obj-$(CONFIG_SND_RIPTIDE) += snd-riptide.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/rme9652/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/rme9652/Makefile index 07bd9da3c1..cc99ae8922 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/rme9652/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/rme9652/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-rme9652-y := rme9652.o -snd-hdsp-y := hdsp.o -snd-hdspm-y := hdspm.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_RME9652) += snd-rme9652.o -obj-$(CONFIG_SND_HDSP) += snd-hdsp.o -obj-$(CONFIG_SND_HDSPM) +=snd-hdspm.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-rme9652-y := rme9652.o +snd-hdsp-y := hdsp.o +snd-hdspm-y := hdspm.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_RME9652) += snd-rme9652.o +obj-$(CONFIG_SND_HDSP) += snd-hdsp.o +obj-$(CONFIG_SND_HDSPM) +=snd-hdspm.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/trident/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/trident/Makefile index 1e8871344b..476d16abcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/trident/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/trident/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-trident-y := trident.o trident_main.o trident_memory.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_TRIDENT) += snd-trident.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-trident-y := trident.o trident_main.o trident_memory.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_TRIDENT) += snd-trident.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/vx222/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/vx222/Makefile index c03e61b2a6..6889137eb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/vx222/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/vx222/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-vx222-y := vx222.o vx222_ops.o - -obj-$(CONFIG_SND_VX222) += snd-vx222.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-vx222-y := vx222.o vx222_ops.o + +obj-$(CONFIG_SND_VX222) += snd-vx222.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pci/ymfpci/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pci/ymfpci/Makefile index 336041124d..2d78564033 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pci/ymfpci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pci/ymfpci/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-ymfpci-y := ymfpci.o ymfpci_main.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_YMFPCI) += snd-ymfpci.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-ymfpci-y := ymfpci.o ymfpci_main.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_YMFPCI) += snd-ymfpci.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/Makefile index 0786c32df6..874f09a8e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -obj-$(CONFIG_SND) += vx/ pdaudiocf/ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +obj-$(CONFIG_SND) += vx/ pdaudiocf/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/pdaudiocf/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/pdaudiocf/Makefile index 7f7b8b4df6..34a288c1ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/pdaudiocf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/pdaudiocf/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2004 by Jaroslav Kysela -# - -snd-pdaudiocf-y := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o - -obj-$(CONFIG_SND_PDAUDIOCF) += snd-pdaudiocf.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2004 by Jaroslav Kysela +# + +snd-pdaudiocf-y := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o + +obj-$(CONFIG_SND_PDAUDIOCF) += snd-pdaudiocf.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/vx/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/vx/Makefile index 44ef7dcd76..abd1875449 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/vx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/pcmcia/vx/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-vxpocket-y := vxpocket.o vxp_ops.o vxp_mixer.o - -obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-vxpocket-y := vxpocket.o vxp_ops.o vxp_mixer.o + +obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/ppc/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/ppc/Makefile index 776d6515f0..655bcffba8 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/ppc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/ppc/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# Copyright (c) 2001 by Jaroslav Kysela -# - -snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_POWERMAC) += snd-powermac.o -obj-$(CONFIG_SND_PS3) += snd_ps3.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# Copyright (c) 2001 by Jaroslav Kysela +# + +snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_POWERMAC) += snd-powermac.o +obj-$(CONFIG_SND_PS3) += snd_ps3.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/sh/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/sh/Makefile index 5bdb6f4daf..6871dece28 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/sh/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/sh/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for ALSA -# - -snd-aica-y := aica.o -snd-sh_dac_audio-y := sh_dac_audio.o - -# Toplevel Module Dependency -obj-$(CONFIG_SND_AICA) += snd-aica.o -obj-$(CONFIG_SND_SH_DAC_AUDIO) += snd-sh_dac_audio.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for ALSA +# + +snd-aica-y := aica.o +snd-sh_dac_audio-y := sh_dac_audio.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_AICA) += snd-aica.o +obj-$(CONFIG_SND_SH_DAC_AUDIO) += snd-sh_dac_audio.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/adi/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/adi/Makefile index 9f5a3c9a9d..0d2db8d058 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/adi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/adi/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-soc-adi-axi-i2s-y := axi-i2s.o -snd-soc-adi-axi-spdif-y := axi-spdif.o - -obj-$(CONFIG_SND_SOC_ADI_AXI_I2S) += snd-soc-adi-axi-i2s.o -obj-$(CONFIG_SND_SOC_ADI_AXI_SPDIF) += snd-soc-adi-axi-spdif.o +# SPDX-License-Identifier: GPL-2.0-only +snd-soc-adi-axi-i2s-y := axi-i2s.o +snd-soc-adi-axi-spdif-y := axi-spdif.o + +obj-$(CONFIG_SND_SOC_ADI_AXI_I2S) += snd-soc-adi-axi-i2s.o +obj-$(CONFIG_SND_SOC_ADI_AXI_SPDIF) += snd-soc-adi-axi-spdif.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.h index 0a1046fa3c..03551ffdd9 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2023 Marian Postevca - */ - -#ifndef __ACP3X_ES83XX_H -#define __ACP3X_ES83XX_H - -void acp3x_es83xx_init_ops(struct acp_mach_ops *ops); - -#endif - +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2023 Marian Postevca + */ + +#ifndef __ACP3X_ES83XX_H +#define __ACP3X_ES83XX_H + +void acp3x_es83xx_init_ops(struct acp_mach_ops *ops); + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/raven/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/raven/Makefile index ff8d6d0e12..b2ea030cbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/raven/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/raven/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0+ -# Raven Ridge platform Support -snd-pci-acp3x-y := pci-acp3x.o -snd-acp3x-pcm-dma-y := acp3x-pcm-dma.o -snd-acp3x-i2s-y := acp3x-i2s.o -obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-pci-acp3x.o -obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-pcm-dma.o -obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-i2s.o +# SPDX-License-Identifier: GPL-2.0+ +# Raven Ridge platform Support +snd-pci-acp3x-y := pci-acp3x.o +snd-acp3x-pcm-dma-y := acp3x-pcm-dma.o +snd-acp3x-i2s-y := acp3x-i2s.o +obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-pci-acp3x.o +obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-pcm-dma.o +obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-i2s.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/renoir/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/renoir/Makefile index 9eae3c0a98..76b4a9c3e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/renoir/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/renoir/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0+ -# Renoir platform Support -snd-rn-pci-acp3x-y := rn-pci-acp3x.o -snd-acp3x-pdm-dma-y := acp3x-pdm-dma.o -snd-acp3x-rn-y := acp3x-rn.o -obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-rn-pci-acp3x.o -obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o -obj-$(CONFIG_SND_SOC_AMD_RENOIR_MACH) += snd-acp3x-rn.o +# SPDX-License-Identifier: GPL-2.0+ +# Renoir platform Support +snd-rn-pci-acp3x-y := rn-pci-acp3x.o +snd-acp3x-pdm-dma-y := acp3x-pdm-dma.o +snd-acp3x-rn-y := acp3x-rn.o +obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-rn-pci-acp3x.o +obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o +obj-$(CONFIG_SND_SOC_AMD_RENOIR_MACH) += snd-acp3x-rn.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/rpl/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/rpl/Makefile index ed1a7faaba..a3825c5be4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/rpl/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/rpl/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0+ -# RPL platform Support -snd-rpl-pci-acp6x-y := rpl-pci-acp6x.o - -obj-$(CONFIG_SND_SOC_AMD_RPL_ACP6x) += snd-rpl-pci-acp6x.o +# SPDX-License-Identifier: GPL-2.0+ +# RPL platform Support +snd-rpl-pci-acp6x-y := rpl-pci-acp6x.o + +obj-$(CONFIG_SND_SOC_AMD_RPL_ACP6x) += snd-rpl-pci-acp6x.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/yc/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/yc/Makefile index f90f361f32..7a0a3a410b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/yc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/amd/yc/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0+ -# Yellow Carp platform Support -snd-pci-acp6x-y := pci-acp6x.o -snd-acp6x-pdm-dma-y := acp6x-pdm-dma.o -snd-soc-acp6x-mach-y := acp6x-mach.o - -obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-pci-acp6x.o -obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o -obj-$(CONFIG_SND_SOC_AMD_YC_MACH) += snd-soc-acp6x-mach.o +# SPDX-License-Identifier: GPL-2.0+ +# Yellow Carp platform Support +snd-pci-acp6x-y := pci-acp6x.o +snd-acp6x-pdm-dma-y := acp6x-pdm-dma.o +snd-soc-acp6x-mach-y := acp6x-mach.o + +obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-pci-acp6x.o +obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o +obj-$(CONFIG_SND_SOC_AMD_YC_MACH) += snd-soc-acp6x-mach.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Kconfig index 26113cb970..793f7782e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Kconfig @@ -1,8 +1,8 @@ -config SND_SOC_APPLE_MCA - tristate "Apple Silicon MCA driver" - depends on ARCH_APPLE || COMPILE_TEST - select SND_DMAENGINE_PCM - default ARCH_APPLE - help - This option enables an ASoC platform driver for MCA peripherals found - on Apple Silicon SoCs. +config SND_SOC_APPLE_MCA + tristate "Apple Silicon MCA driver" + depends on ARCH_APPLE || COMPILE_TEST + select SND_DMAENGINE_PCM + default ARCH_APPLE + help + This option enables an ASoC platform driver for MCA peripherals found + on Apple Silicon SoCs. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Makefile index ec6d6e231a..1eb8fbef60 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/apple/Makefile @@ -1,3 +1,3 @@ -snd-soc-apple-mca-y := mca.o - -obj-$(CONFIG_SND_SOC_APPLE_MCA) += snd-soc-apple-mca.o +snd-soc-apple-mca-y := mca.o + +obj-$(CONFIG_SND_SOC_APPLE_MCA) += snd-soc-apple-mca.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/Makefile index 6fb055a0d7..61d8cf64e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# EP93xx Platform Support -snd-soc-ep93xx-y := ep93xx-pcm.o -snd-soc-ep93xx-i2s-y := ep93xx-i2s.o - -obj-$(CONFIG_SND_EP93XX_SOC) += snd-soc-ep93xx.o -obj-$(CONFIG_SND_EP93XX_SOC_I2S) += snd-soc-ep93xx-i2s.o - +# SPDX-License-Identifier: GPL-2.0 +# EP93xx Platform Support +snd-soc-ep93xx-y := ep93xx-pcm.o +snd-soc-ep93xx-i2s-y := ep93xx-i2s.o + +obj-$(CONFIG_SND_EP93XX_SOC) += snd-soc-ep93xx.o +obj-$(CONFIG_SND_EP93XX_SOC_I2S) += snd-soc-ep93xx-i2s.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/ep93xx-pcm.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/ep93xx-pcm.h index b6ed00b571..8e1c722bff 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/ep93xx-pcm.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/cirrus/ep93xx-pcm.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - */ - -#ifndef __EP93XX_PCM_H__ -#define __EP93XX_PCM_H__ - -int devm_ep93xx_pcm_platform_register(struct device *dev); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. + */ + +#ifndef __EP93XX_PCM_H__ +#define __EP93XX_PCM_H__ + +int devm_ep93xx_pcm_platform_register(struct device *dev); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau-utils.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau-utils.h index a26c1aea79..bf5947b353 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau-utils.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau-utils.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef SOUND_SOC_CODECS_ADAU_PLL_H -#define SOUND_SOC_CODECS_ADAU_PLL_H - -int adau_calc_pll_cfg(unsigned int freq_in, unsigned int freq_out, - uint8_t regs[5]); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef SOUND_SOC_CODECS_ADAU_PLL_H +#define SOUND_SOC_CODECS_ADAU_PLL_H + +int adau_calc_pll_cfg(unsigned int freq_in, unsigned int freq_out, + uint8_t regs[5]); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau1701.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau1701.h index b4e1070352..19b41e453a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau1701.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/adau1701.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * header file for ADAU1701 SigmaDSP processor - * - * Copyright 2011 Analog Devices Inc. - */ - -#ifndef _ADAU1701_H -#define _ADAU1701_H - -enum adau1701_clk_src { - ADAU1701_CLK_SRC_OSC, - ADAU1701_CLK_SRC_MCLK, -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * header file for ADAU1701 SigmaDSP processor + * + * Copyright 2011 Analog Devices Inc. + */ + +#ifndef _ADAU1701_H +#define _ADAU1701_H + +enum adau1701_clk_src { + ADAU1701_CLK_SRC_OSC, + ADAU1701_CLK_SRC_MCLK, +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cs4271.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cs4271.h index e2c2ca5d97..290283a914 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cs4271.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cs4271.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CS4271_PRIV_H -#define _CS4271_PRIV_H - -#include - -extern const struct of_device_id cs4271_dt_ids[]; -extern const struct regmap_config cs4271_regmap_config; - -int cs4271_probe(struct device *dev, struct regmap *regmap); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CS4271_PRIV_H +#define _CS4271_PRIV_H + +#include + +extern const struct of_device_id cs4271_dt_ids[]; +extern const struct regmap_config cs4271_regmap_config; + +int cs4271_probe(struct device *dev, struct regmap *regmap); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cx20442.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cx20442.h index 501baa9d84..bb897bcb24 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cx20442.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/cx20442.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * cx20442.h -- audio driver for CX20442 - * - * Copyright 2009 Janusz Krzysztofik - */ - -#ifndef _CX20442_CODEC_H -#define _CX20442_CODEC_H - -extern struct tty_ldisc_ops v253_ops; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * cx20442.h -- audio driver for CX20442 + * + * Copyright 2009 Janusz Krzysztofik + */ + +#ifndef _CX20442_CODEC_H +#define _CX20442_CODEC_H + +extern struct tty_ldisc_ops v253_ops; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/hdac_hdmi.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/hdac_hdmi.h index 3a1cd4ccfe..493fa3b4ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/hdac_hdmi.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/hdac_hdmi.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __HDAC_HDMI_H__ -#define __HDAC_HDMI_H__ - -int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, - struct snd_soc_jack *jack); - -int hdac_hdmi_jack_port_init(struct snd_soc_component *component, - struct snd_soc_dapm_context *dapm); -#endif /* __HDAC_HDMI_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __HDAC_HDMI_H__ +#define __HDAC_HDMI_H__ + +int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, + struct snd_soc_jack *jack); + +int hdac_hdmi_jack_port_init(struct snd_soc_component *component, + struct snd_soc_dapm_context *dapm); +#endif /* __HDAC_HDMI_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/mc13783.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/mc13783.h index 19bb65c9a3..8992d3ab57 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/mc13783.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/mc13783.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2008 Juergen Beisert, kernel@pengutronix.de - */ - -#ifndef MC13783_MIXER_H -#define MC13783_MIXER_H - -#define MC13783_CLK_CLIA 1 -#define MC13783_CLK_CLIB 2 - -#define MC13783_ID_STEREO_DAC 1 -#define MC13783_ID_STEREO_CODEC 2 -#define MC13783_ID_SYNC 3 - -#endif /* MC13783_MIXER_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2008 Juergen Beisert, kernel@pengutronix.de + */ + +#ifndef MC13783_MIXER_H +#define MC13783_MIXER_H + +#define MC13783_CLK_CLIA 1 +#define MC13783_CLK_CLIB 2 + +#define MC13783_ID_STEREO_DAC 1 +#define MC13783_ID_STEREO_CODEC 2 +#define MC13783_ID_SYNC 3 + +#endif /* MC13783_MIXER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/pcm3008.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/pcm3008.h index 8891d17547..f7f4fbbd89 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/pcm3008.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/pcm3008.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * PCM3008 ALSA SoC Layer - * - * Author: Hugo Villeneuve - * Copyright (C) 2008 Lyrtech inc - */ - -#ifndef __LINUX_SND_SOC_PCM3008_H -#define __LINUX_SND_SOC_PCM3008_H - -struct pcm3008_setup_data { - unsigned dem0_pin; - unsigned dem1_pin; - unsigned pdad_pin; - unsigned pdda_pin; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * PCM3008 ALSA SoC Layer + * + * Author: Hugo Villeneuve + * Copyright (C) 2008 Lyrtech inc + */ + +#ifndef __LINUX_SND_SOC_PCM3008_H +#define __LINUX_SND_SOC_PCM3008_H + +struct pcm3008_setup_data { + unsigned dem0_pin; + unsigned dem1_pin; + unsigned pdad_pin; + unsigned pdda_pin; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/ts3a227e.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/ts3a227e.h index daeecbf2f8..3565e5931c 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/ts3a227e.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/codecs/ts3a227e.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * TS3A227E Autonous Audio Accessory Detection and Configureation Switch - * - * Copyright (C) 2014 Google, Inc. - */ - -#ifndef _TS3A227E_H -#define _TS3A227E_H - -int ts3a227e_enable_jack_detect(struct snd_soc_component *component, - struct snd_soc_jack *jack); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * TS3A227E Autonous Audio Accessory Detection and Configureation Switch + * + * Copyright (C) 2014 Google, Inc. + */ + +#ifndef _TS3A227E_H +#define _TS3A227E_H + +int ts3a227e_enable_jack_detect(struct snd_soc_component *component, + struct snd_soc_jack *jack); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/dwc/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/dwc/Makefile index 3093c6053c..91e1aaab99 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/dwc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/dwc/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# SYNOPSYS Platform Support -obj-$(CONFIG_SND_DESIGNWARE_I2S) += designware_i2s.o - -designware_i2s-y := dwc-i2s.o -designware_i2s-$(CONFIG_SND_DESIGNWARE_PCM) += dwc-pcm.o +# SPDX-License-Identifier: GPL-2.0-only +# SYNOPSYS Platform Support +obj-$(CONFIG_SND_DESIGNWARE_I2S) += designware_i2s.o + +designware_i2s-y := dwc-i2s.o +designware_i2s-$(CONFIG_SND_DESIGNWARE_PCM) += dwc-pcm.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/fsl/imx-audmux.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/fsl/imx-audmux.h index a0d01390c4..f75b4d3aea 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/fsl/imx-audmux.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/fsl/imx-audmux.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __IMX_AUDMUX_H -#define __IMX_AUDMUX_H - -#include - -int imx_audmux_v1_configure_port(unsigned int port, unsigned int pcr); - -int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr, - unsigned int pdcr); - -#endif /* __IMX_AUDMUX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __IMX_AUDMUX_H +#define __IMX_AUDMUX_H + +#include + +int imx_audmux_v1_configure_port(unsigned int port, unsigned int pcr); + +int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr, + unsigned int pdcr); + +#endif /* __IMX_AUDMUX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Kconfig index 9e9d962b7c..7603782fb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Kconfig @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only - -config SND_SOC_CHV3_I2S - tristate "Google Chameleon v3 I2S device" - help - Enable support for the Google Chameleon v3 I2S device. +# SPDX-License-Identifier: GPL-2.0-only + +config SND_SOC_CHV3_I2S + tristate "Google Chameleon v3 I2S device" + help + Enable support for the Google Chameleon v3 I2S device. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Makefile index d1f0639018..862496af1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/google/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SND_SOC_CHV3_I2S) += chv3-i2s.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SND_SOC_CHV3_I2S) += chv3-i2s.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Kconfig index cc7629975d..df8fbd8bb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Kconfig @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_I2S_HI6210_I2S - tristate "Hisilicon I2S controller" - select SND_SOC_GENERIC_DMAENGINE_PCM - help - Hisilicon I2S +# SPDX-License-Identifier: GPL-2.0-only +config SND_I2S_HI6210_I2S + tristate "Hisilicon I2S controller" + select SND_SOC_GENERIC_DMAENGINE_PCM + help + Hisilicon I2S diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Makefile index eea96a9d16..02e766378b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/hisilicon/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SND_I2S_HI6210_I2S) += hi6210-i2s.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_SND_I2S_HI6210_I2S) += hi6210-i2s.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/Makefile index f556b9fabb..8ecc7047d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Core support -obj-$(CONFIG_SND_SOC) += common/ - -# Platform Support -obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/ -obj-$(CONFIG_SND_SOC_INTEL_CATPT) += catpt/ -obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/ -obj-$(CONFIG_SND_SOC_INTEL_AVS) += avs/ - -# Machine support -obj-$(CONFIG_SND_SOC) += boards/ +# SPDX-License-Identifier: GPL-2.0-only +# Core support +obj-$(CONFIG_SND_SOC) += common/ + +# Platform Support +obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/ +obj-$(CONFIG_SND_SOC_INTEL_CATPT) += catpt/ +obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/ +obj-$(CONFIG_SND_SOC_INTEL_AVS) += avs/ + +# Machine support +obj-$(CONFIG_SND_SOC) += boards/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/atom/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/atom/Makefile index 73d785ff97..38e4876025 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/atom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/atom/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-soc-sst-atom-hifi2-platform-y := sst-mfld-platform-pcm.o \ - sst-mfld-platform-compress.o \ - sst-atom-controls.o - -obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-soc-sst-atom-hifi2-platform.o - -# DSP driver -obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += sst/ +# SPDX-License-Identifier: GPL-2.0-only +snd-soc-sst-atom-hifi2-platform-y := sst-mfld-platform-pcm.o \ + sst-mfld-platform-compress.o \ + sst-atom-controls.o + +obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-soc-sst-atom-hifi2-platform.o + +# DSP driver +obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += sst/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/catpt/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/catpt/Makefile index 2890d8fd9c..f5f6a7e956 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/catpt/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/catpt/Makefile @@ -1,6 +1,6 @@ -snd-soc-catpt-y := device.o dsp.o loader.o ipc.o messages.o pcm.o sysfs.o - -# tell define_trace.h where to find the trace header -CFLAGS_device.o := -I$(src) - -obj-$(CONFIG_SND_SOC_INTEL_CATPT) += snd-soc-catpt.o +snd-soc-catpt-y := device.o dsp.o loader.o ipc.o messages.o pcm.o sysfs.o + +# tell define_trace.h where to find the trace header +CFLAGS_device.o := -I$(src) + +obj-$(CONFIG_SND_SOC_INTEL_CATPT) += snd-soc-catpt.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/keembay/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/keembay/Makefile index 59efee7171..3da9a6f9ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/keembay/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/intel/keembay/Makefile @@ -1,4 +1,4 @@ -snd-soc-kmb_platform-y := \ - kmb_platform.o - -obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += snd-soc-kmb_platform.o +snd-soc-kmb_platform-y := \ + kmb_platform.o + +obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += snd-soc-kmb_platform.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Kconfig index 6b96228aa1..dd3b4507fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Kconfig @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_JZ4740_SOC_I2S - tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC" - depends on MIPS || COMPILE_TEST - depends on HAS_IOMEM - select REGMAP_MMIO - select SND_SOC_GENERIC_DMAENGINE_PCM - help - Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740 - based boards. +# SPDX-License-Identifier: GPL-2.0-only +config SND_JZ4740_SOC_I2S + tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC" + depends on MIPS || COMPILE_TEST + depends on HAS_IOMEM + select REGMAP_MMIO + select SND_SOC_GENERIC_DMAENGINE_PCM + help + Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740 + based boards. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Makefile index b00e9d0f14..1c7f3f3753 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/jz4740/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Jz4740 Platform Support -# -snd-soc-jz4740-i2s-y := jz4740-i2s.o - -obj-$(CONFIG_SND_JZ4740_SOC_I2S) += snd-soc-jz4740-i2s.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Jz4740 Platform Support +# +snd-soc-jz4740-i2s-y := jz4740-i2s.o + +obj-$(CONFIG_SND_JZ4740_SOC_I2S) += snd-soc-jz4740-i2s.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/kirkwood/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/kirkwood/Makefile index 3a159e0a7c..9be1eb8203 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/kirkwood/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/kirkwood/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-soc-kirkwood-y := kirkwood-dma.o kirkwood-i2s.o - -obj-$(CONFIG_SND_KIRKWOOD_SOC) += snd-soc-kirkwood.o - -snd-soc-armada-370-db-y := armada-370-db.o - -obj-$(CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB) += snd-soc-armada-370-db.o +# SPDX-License-Identifier: GPL-2.0-only +snd-soc-kirkwood-y := kirkwood-dma.o kirkwood-i2s.o + +obj-$(CONFIG_SND_KIRKWOOD_SOC) += snd-soc-kirkwood.o + +snd-soc-armada-370-db-y := armada-370-db.o + +obj-$(CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB) += snd-soc-armada-370-db.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/loongson/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/loongson/Makefile index 2559e764b0..578030ad65 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/loongson/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/loongson/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -#Platform Support -snd-soc-loongson-i2s-pci-y := loongson_i2s_pci.o loongson_i2s.o loongson_dma.o -obj-$(CONFIG_SND_SOC_LOONGSON_I2S_PCI) += snd-soc-loongson-i2s-pci.o - -#Machine Support -snd-soc-loongson-card-y := loongson_card.o -obj-$(CONFIG_SND_SOC_LOONGSON_CARD) += snd-soc-loongson-card.o +# SPDX-License-Identifier: GPL-2.0 +#Platform Support +snd-soc-loongson-i2s-pci-y := loongson_i2s_pci.o loongson_i2s.o loongson_dma.o +obj-$(CONFIG_SND_SOC_LOONGSON_I2S_PCI) += snd-soc-loongson-i2s-pci.o + +#Machine Support +snd-soc-loongson-card-y := loongson_card.o +obj-$(CONFIG_SND_SOC_LOONGSON_CARD) += snd-soc-loongson-card.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/common/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/common/Makefile index 82a4ba698a..c90d276cf4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/common/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# platform driver -snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o -snd-soc-mtk-common-y += mtk-dai-adda-common.o - -obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o - -obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o +# SPDX-License-Identifier: GPL-2.0 +# platform driver +snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o +snd-soc-mtk-common-y += mtk-dai-adda-common.o + +obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o + +obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt2701/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt2701/Makefile index acd31797fd..507fa26c39 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt2701/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt2701/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# platform driver -snd-soc-mt2701-afe-y := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o -obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o - -# machine driver -obj-$(CONFIG_SND_SOC_MT2701_CS42448) += mt2701-cs42448.o -obj-$(CONFIG_SND_SOC_MT2701_WM8960) += mt2701-wm8960.o +# SPDX-License-Identifier: GPL-2.0 +# platform driver +snd-soc-mt2701-afe-y := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o +obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o + +# machine driver +obj-$(CONFIG_SND_SOC_MT2701_CS42448) += mt2701-cs42448.o +obj-$(CONFIG_SND_SOC_MT2701_WM8960) += mt2701-wm8960.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt6797/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt6797/Makefile index c073fe91e7..150021495e 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt6797/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt6797/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - -# platform driver -snd-soc-mt6797-afe-y := \ - mt6797-afe-pcm.o \ - mt6797-afe-clk.o \ - mt6797-dai-pcm.o \ - mt6797-dai-hostless.o \ - mt6797-dai-adda.o - -obj-$(CONFIG_SND_SOC_MT6797) += snd-soc-mt6797-afe.o - -# machine driver -obj-$(CONFIG_SND_SOC_MT6797_MT6351) += mt6797-mt6351.o +# SPDX-License-Identifier: GPL-2.0 + +# platform driver +snd-soc-mt6797-afe-y := \ + mt6797-afe-pcm.o \ + mt6797-afe-clk.o \ + mt6797-dai-pcm.o \ + mt6797-dai-hostless.o \ + mt6797-dai-adda.o + +obj-$(CONFIG_SND_SOC_MT6797) += snd-soc-mt6797-afe.o + +# machine driver +obj-$(CONFIG_SND_SOC_MT6797_MT6351) += mt6797-mt6351.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt7986/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt7986/Makefile index 18e9c598cf..4b54bbe886 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt7986/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt7986/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 - -# platform driver -snd-soc-mt7986-afe-y := \ - mt7986-afe-pcm.o \ - mt7986-dai-etdm.o - -obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o -obj-$(CONFIG_SND_SOC_MT7986_WM8960) += mt7986-wm8960.o +# SPDX-License-Identifier: GPL-2.0 + +# platform driver +snd-soc-mt7986-afe-y := \ + mt7986-afe-pcm.o \ + mt7986-dai-etdm.o + +obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o +obj-$(CONFIG_SND_SOC_MT7986_WM8960) += mt7986-wm8960.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8186/mt8186-audsys-clk.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8186/mt8186-audsys-clk.h index a18cd1ef3d..897a2914dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8186/mt8186-audsys-clk.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8186/mt8186-audsys-clk.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * mt8186-audsys-clk.h -- Mediatek 8186 audsys clock definition - * - * Copyright (c) 2022 MediaTek Inc. - * Author: Trevor Wu - */ - -#ifndef _MT8186_AUDSYS_CLK_H_ -#define _MT8186_AUDSYS_CLK_H_ - -int mt8186_audsys_clk_register(struct mtk_base_afe *afe); - -#endif +/* SPDX-License-Identifier: GPL-2.0 + * + * mt8186-audsys-clk.h -- Mediatek 8186 audsys clock definition + * + * Copyright (c) 2022 MediaTek Inc. + * Author: Trevor Wu + */ + +#ifndef _MT8186_AUDSYS_CLK_H_ +#define _MT8186_AUDSYS_CLK_H_ + +int mt8186_audsys_clk_register(struct mtk_base_afe *afe); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/Makefile index 15017c4452..1178bce45c 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 - -# platform driver -snd-soc-mt8188-afe-y := \ - mt8188-afe-clk.o \ - mt8188-afe-pcm.o \ - mt8188-audsys-clk.o \ - mt8188-dai-adda.o \ - mt8188-dai-etdm.o \ - mt8188-dai-pcm.o - -obj-$(CONFIG_SND_SOC_MT8188) += snd-soc-mt8188-afe.o - -# machine driver -obj-$(CONFIG_SND_SOC_MT8188_MT6359) += mt8188-mt6359.o +# SPDX-License-Identifier: GPL-2.0 + +# platform driver +snd-soc-mt8188-afe-y := \ + mt8188-afe-clk.o \ + mt8188-afe-pcm.o \ + mt8188-audsys-clk.o \ + mt8188-dai-adda.o \ + mt8188-dai-etdm.o \ + mt8188-dai-pcm.o + +obj-$(CONFIG_SND_SOC_MT8188) += snd-soc-mt8188-afe.o + +# machine driver +obj-$(CONFIG_SND_SOC_MT8188_MT6359) += mt8188-mt6359.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h index 1ac375aca8..45b0948c4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * mt8188-audsys-clk.h -- MediaTek 8188 audsys clock definition - * - * Copyright (c) 2022 MediaTek Inc. - * Author: Chun-Chia Chiu - */ - -#ifndef _MT8188_AUDSYS_CLK_H_ -#define _MT8188_AUDSYS_CLK_H_ - -int mt8188_audsys_clk_register(struct mtk_base_afe *afe); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * mt8188-audsys-clk.h -- MediaTek 8188 audsys clock definition + * + * Copyright (c) 2022 MediaTek Inc. + * Author: Chun-Chia Chiu + */ + +#ifndef _MT8188_AUDSYS_CLK_H_ +#define _MT8188_AUDSYS_CLK_H_ + +int mt8188_audsys_clk_register(struct mtk_base_afe *afe); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/Makefile index 60c244e96d..014e93dace 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 - -# platform driver -snd-soc-mt8195-afe-y := \ - mt8195-audsys-clk.o \ - mt8195-afe-clk.o \ - mt8195-afe-pcm.o \ - mt8195-dai-adda.o \ - mt8195-dai-etdm.o \ - mt8195-dai-pcm.o - -obj-$(CONFIG_SND_SOC_MT8195) += snd-soc-mt8195-afe.o - -# machine driver -obj-$(CONFIG_SND_SOC_MT8195_MT6359) += mt8195-mt6359.o +# SPDX-License-Identifier: GPL-2.0 + +# platform driver +snd-soc-mt8195-afe-y := \ + mt8195-audsys-clk.o \ + mt8195-afe-clk.o \ + mt8195-afe-pcm.o \ + mt8195-dai-adda.o \ + mt8195-dai-etdm.o \ + mt8195-dai-pcm.o + +obj-$(CONFIG_SND_SOC_MT8195) += snd-soc-mt8195-afe.o + +# machine driver +obj-$(CONFIG_SND_SOC_MT8195_MT6359) += mt8195-mt6359.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/mt8195-audsys-clk.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/mt8195-audsys-clk.h index 06d3d50901..69db2dd1c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/mt8195-audsys-clk.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8195/mt8195-audsys-clk.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * mt8195-audsys-clk.h -- Mediatek 8195 audsys clock definition - * - * Copyright (c) 2021 MediaTek Inc. - * Author: Trevor Wu - */ - -#ifndef _MT8195_AUDSYS_CLK_H_ -#define _MT8195_AUDSYS_CLK_H_ - -int mt8195_audsys_clk_register(struct mtk_base_afe *afe); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * mt8195-audsys-clk.h -- Mediatek 8195 audsys clock definition + * + * Copyright (c) 2021 MediaTek Inc. + * Author: Trevor Wu + */ + +#ifndef _MT8195_AUDSYS_CLK_H_ +#define _MT8195_AUDSYS_CLK_H_ + +int mt8195_audsys_clk_register(struct mtk_base_afe *afe); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8365/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8365/Makefile index b27f013e8c..b197025e34 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8365/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mediatek/mt8365/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 - -# MTK Platform driver -snd-soc-mt8365-pcm-y := \ - mt8365-afe-clk.o \ - mt8365-afe-pcm.o \ - mt8365-dai-adda.o \ - mt8365-dai-dmic.o \ - mt8365-dai-i2s.o \ - mt8365-dai-pcm.o - -obj-$(CONFIG_SND_SOC_MT8365) += snd-soc-mt8365-pcm.o - -# Machine driver -obj-$(CONFIG_SND_SOC_MT8365_MT6357) += mt8365-mt6357.o +# SPDX-License-Identifier: GPL-2.0 + +# MTK Platform driver +snd-soc-mt8365-pcm-y := \ + mt8365-afe-clk.o \ + mt8365-afe-pcm.o \ + mt8365-dai-adda.o \ + mt8365-dai-dmic.o \ + mt8365-dai-i2s.o \ + mt8365-dai-pcm.o + +obj-$(CONFIG_SND_SOC_MT8365) += snd-soc-mt8365-pcm.o + +# Machine driver +obj-$(CONFIG_SND_SOC_MT8365_MT6357) += mt8365-mt6357.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/Makefile index 12151f9dfd..474bdd7551 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# MXS Platform Support -snd-soc-mxs-y := mxs-saif.o -snd-soc-mxs-pcm-y := mxs-pcm.o - -obj-$(CONFIG_SND_MXS_SOC) += snd-soc-mxs.o snd-soc-mxs-pcm.o - -# i.MX Machine Support -snd-soc-mxs-sgtl5000-y := mxs-sgtl5000.o - -obj-$(CONFIG_SND_SOC_MXS_SGTL5000) += snd-soc-mxs-sgtl5000.o +# SPDX-License-Identifier: GPL-2.0 +# MXS Platform Support +snd-soc-mxs-y := mxs-saif.o +snd-soc-mxs-pcm-y := mxs-pcm.o + +obj-$(CONFIG_SND_MXS_SOC) += snd-soc-mxs.o snd-soc-mxs-pcm.o + +# i.MX Machine Support +snd-soc-mxs-sgtl5000-y := mxs-sgtl5000.o + +obj-$(CONFIG_SND_SOC_MXS_SGTL5000) += snd-soc-mxs-sgtl5000.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/mxs-pcm.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/mxs-pcm.h index 8cde217878..4f9c419f35 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/mxs-pcm.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/mxs/mxs-pcm.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. - */ - -#ifndef _MXS_PCM_H -#define _MXS_PCM_H - -int mxs_pcm_platform_register(struct device *dev); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. + */ + +#ifndef _MXS_PCM_H +#define _MXS_PCM_H + +int mxs_pcm_platform_register(struct device *dev); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/pxa/pxa2xx-i2s.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/pxa/pxa2xx-i2s.h index ea0dbd74b1..263568d445 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/pxa/pxa2xx-i2s.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/pxa/pxa2xx-i2s.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/sound/soc/pxa/pxa2xx-i2s.h - */ - -#ifndef _PXA2XX_I2S_H -#define _PXA2XX_I2S_H - -/* I2S clock */ -#define PXA2XX_I2S_SYSCLK 0 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/sound/soc/pxa/pxa2xx-i2s.h + */ + +#ifndef _PXA2XX_I2S_H +#define _PXA2XX_I2S_H + +/* I2S clock */ +#define PXA2XX_I2S_SYSCLK 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6core.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6core.h index 936f2c1976..4105b1d730 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6core.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6core.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __Q6CORE_H__ -#define __Q6CORE_H__ - -struct q6core_svc_api_info { - uint32_t service_id; - uint32_t api_version; - uint32_t api_branch_version; -}; - -bool q6core_is_adsp_ready(void); -int q6core_get_svc_api_info(int svc_id, struct q6core_svc_api_info *ainfo); - -#endif /* __Q6CORE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __Q6CORE_H__ +#define __Q6CORE_H__ + +struct q6core_svc_api_info { + uint32_t service_id; + uint32_t api_version; + uint32_t api_branch_version; +}; + +bool q6core_is_adsp_ready(void); +int q6core_get_svc_api_info(int svc_id, struct q6core_svc_api_info *ainfo); + +#endif /* __Q6CORE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvp.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvp.h index 4f75a053b0..2381a3cfe0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvp.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvp.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _Q6_CVP_H -#define _Q6_CVP_H - -#include "q6voice.h" - -struct q6voice_session; - -struct q6voice_session *q6cvp_session_create(enum q6voice_path_type path, - u16 tx_port, u16 rx_port); -int q6cvp_enable(struct q6voice_session *cvp, bool enable); - -#endif /*_Q6_CVP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _Q6_CVP_H +#define _Q6_CVP_H + +#include "q6voice.h" + +struct q6voice_session; + +struct q6voice_session *q6cvp_session_create(enum q6voice_path_type path, + u16 tx_port, u16 rx_port); +int q6cvp_enable(struct q6voice_session *cvp, bool enable); + +#endif /*_Q6_CVP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvs.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvs.h index 857f7e035d..5c204682c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvs.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6cvs.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _Q6_CVS_H -#define _Q6_CVS_H - -#include "q6voice.h" - -struct q6voice_session; - -#endif /*_Q6_CVS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _Q6_CVS_H +#define _Q6_CVS_H + +#include "q6voice.h" + +struct q6voice_session; + +#endif /*_Q6_CVS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6routing.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6routing.h index 59ae05ffe2..35514e6511 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6routing.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/qcom/qdsp6/q6routing.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _Q6_PCM_ROUTING_H -#define _Q6_PCM_ROUTING_H - -int q6routing_stream_open(int fedai_id, int perf_mode, - int stream_id, int stream_type); -void q6routing_stream_close(int fedai_id, int stream_type); - -#endif /*_Q6_PCM_ROUTING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _Q6_PCM_ROUTING_H +#define _Q6_PCM_ROUTING_H + +int q6routing_stream_open(int fedai_id, int perf_mode, + int stream_id, int stream_type); +void q6routing_stream_close(int fedai_id, int stream_type); + +#endif /*_Q6_PCM_ROUTING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/samsung/pcm.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/samsung/pcm.h index f61df47af4..208d8da27d 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/samsung/pcm.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/samsung/pcm.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __S3C_PCM_H -#define __S3C_PCM_H __FILE__ - -#define S3C_PCM_CLKSRC_PCLK 0 -#define S3C_PCM_CLKSRC_MUX 1 - -#define S3C_PCM_SCLK_PER_FS 0 - -#endif /* __S3C_PCM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __S3C_PCM_H +#define __S3C_PCM_H __FILE__ + +#define S3C_PCM_CLKSRC_PCLK 0 +#define S3C_PCM_CLKSRC_MUX 1 + +#define S3C_PCM_SCLK_PER_FS 0 + +#endif /* __S3C_PCM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sdw_utils/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/sdw_utils/Kconfig index 6fd2179be4..d915083c38 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sdw_utils/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sdw_utils/Kconfig @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_SOC_SDW_UTILS - tristate - help - This option enables to use SoundWire common helper functions and - SoundWire codec helper functions in machine driver. +# SPDX-License-Identifier: GPL-2.0-only +config SND_SOC_SDW_UTILS + tristate + help + This option enables to use SoundWire common helper functions and + SoundWire codec helper functions in machine driver. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sh/rcar/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sh/rcar/Makefile index 68a586fa37..45eb875a91 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sh/rcar/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sh/rcar/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0 -snd-soc-rcar-y := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o -obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o +# SPDX-License-Identifier: GPL-2.0 +snd-soc-rcar-y := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o +obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/intel/tracepoints.c b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/intel/tracepoints.c index 6b42eabeb3..9e3260a062 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/intel/tracepoints.c +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/intel/tracepoints.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -#define CREATE_TRACE_POINTS -#include - -EXPORT_TRACEPOINT_SYMBOL(sof_intel_hda_irq); +// SPDX-License-Identifier: GPL-2.0 +#define CREATE_TRACE_POINTS +#include + +EXPORT_TRACEPOINT_SYMBOL(sof_intel_hda_irq); diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/Makefile index 77ab287f61..29c5afb2f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) -obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o -obj-$(CONFIG_SND_SOC_SOF_MT8195) += mt8195/ -obj-$(CONFIG_SND_SOC_SOF_MT8186) += mt8186/ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o +obj-$(CONFIG_SND_SOC_SOF_MT8195) += mt8195/ +obj-$(CONFIG_SND_SOC_SOF_MT8186) += mt8186/ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8186/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8186/Makefile index b5adbc5b5a..022f415afa 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8186/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8186/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) -snd-sof-mt8186-y := mt8186.o mt8186-clk.o mt8186-loader.o -obj-$(CONFIG_SND_SOC_SOF_MT8186) += snd-sof-mt8186.o - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +snd-sof-mt8186-y := mt8186.o mt8186-clk.o mt8186-loader.o +obj-$(CONFIG_SND_SOC_SOF_MT8186) += snd-sof-mt8186.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8195/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8195/Makefile index cd01c313bf..f5eeda380b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8195/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mt8195/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) -snd-sof-mt8195-y := mt8195.o mt8195-clk.o mt8195-loader.o -obj-$(CONFIG_SND_SOC_SOF_MT8195) += snd-sof-mt8195.o +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +snd-sof-mt8195-y := mt8195.o mt8195-clk.o mt8195-loader.o +obj-$(CONFIG_SND_SOC_SOF_MT8195) += snd-sof-mt8195.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mtk-adsp-common.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mtk-adsp-common.h index 7ba56c2abb..612cff1f38 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mtk-adsp-common.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/mediatek/mtk-adsp-common.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ - -#ifndef __MEDIATEK_ADSP_COMMON_H__ -#define __MEDIATEK_ADSP_COMMON_H__ - -#define EXCEPT_MAX_HDR_SIZE 0x400 -#define MTK_ADSP_STACK_DUMP_SIZE 32 - -void mtk_adsp_dump(struct snd_sof_dev *sdev, u32 flags); -#endif +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ + +#ifndef __MEDIATEK_ADSP_COMMON_H__ +#define __MEDIATEK_ADSP_COMMON_H__ + +#define EXCEPT_MAX_HDR_SIZE 0x400 +#define MTK_ADSP_STACK_DUMP_SIZE 32 + +void mtk_adsp_dump(struct snd_sof_dev *sdev, u32 flags); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Kconfig index d2dfa60d5d..defd6d3dc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Kconfig @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_SOC_SOF_XTENSA - tristate +# SPDX-License-Identifier: GPL-2.0-only +config SND_SOC_SOF_XTENSA + tristate diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Makefile index c0db8538a9..b9e6e8f5a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sof/xtensa/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) - -snd-sof-xtensa-dsp-y := core.o - -obj-$(CONFIG_SND_SOC_SOF_XTENSA) += snd-sof-xtensa-dsp.o +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + +snd-sof-xtensa-dsp-y := core.o + +obj-$(CONFIG_SND_SOC_SOF_XTENSA) += snd-sof-xtensa-dsp.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/Kconfig index 53f2c3d791..1b053de1ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/Kconfig @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_SPEAR_SOC - tristate - select SND_SOC_GENERIC_DMAENGINE_PCM - -config SND_SPEAR_SPDIF_OUT - tristate - -config SND_SPEAR_SPDIF_IN - tristate +# SPDX-License-Identifier: GPL-2.0-only +config SND_SPEAR_SOC + tristate + select SND_SOC_GENERIC_DMAENGINE_PCM + +config SND_SPEAR_SPDIF_OUT + tristate + +config SND_SPEAR_SPDIF_IN + tristate diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/spear_pcm.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/spear_pcm.h index c2177d68b4..ce2319839a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/spear_pcm.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/spear/spear_pcm.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - */ - -#ifndef __SPEAR_PCM_H__ -#define __SPEAR_PCM_H__ - -int devm_spear_pcm_platform_register(struct device *dev, - struct snd_dmaengine_pcm_config *config, - bool (*filter)(struct dma_chan *chan, void *slave)); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. + */ + +#ifndef __SPEAR_PCM_H__ +#define __SPEAR_PCM_H__ + +int devm_spear_pcm_platform_register(struct device *dev, + struct snd_dmaengine_pcm_config *config, + bool (*filter)(struct dma_chan *chan, void *slave)); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sprd/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sprd/Makefile index 4968626a5a..c363994148 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sprd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sprd/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -# Spreadtrum Audio Support - -snd-soc-sprd-platform-y := sprd-pcm-dma.o sprd-pcm-compress.o - -obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o - -obj-$(CONFIG_SND_SOC_SPRD_MCDT) += sprd-mcdt.o +# SPDX-License-Identifier: GPL-2.0 +# Spreadtrum Audio Support + +snd-soc-sprd-platform-y := sprd-pcm-dma.o sprd-pcm-compress.o + +obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o + +obj-$(CONFIG_SND_SOC_SPRD_MCDT) += sprd-mcdt.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/starfive/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/starfive/Makefile index e93515b48b..9e958f70ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/starfive/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/starfive/Makefile @@ -1,3 +1,3 @@ -# StarFive Platform Support -obj-$(CONFIG_SND_SOC_JH7110_PWMDAC) += jh7110_pwmdac.o -obj-$(CONFIG_SND_SOC_JH7110_TDM) += jh7110_tdm.o +# StarFive Platform Support +obj-$(CONFIG_SND_SOC_JH7110_PWMDAC) += jh7110_pwmdac.o +obj-$(CONFIG_SND_SOC_JH7110_TDM) += jh7110_tdm.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Kconfig index efe4960fb5..f881da4b6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Kconfig @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# STM SoC audio configuration -# -menuconfig SND_SOC_STI - tristate "SoC Audio support for STI System-On-Chip" - depends on SND_SOC - depends on ARCH_STI || COMPILE_TEST - select SND_SOC_GENERIC_DMAENGINE_PCM - help - Say Y if you want to enable ASoC-support for - any of the STI platforms (e.g. STIH416). +# SPDX-License-Identifier: GPL-2.0-only +# +# STM SoC audio configuration +# +menuconfig SND_SOC_STI + tristate "SoC Audio support for STI System-On-Chip" + depends on SND_SOC + depends on ARCH_STI || COMPILE_TEST + select SND_SOC_GENERIC_DMAENGINE_PCM + help + Say Y if you want to enable ASoC-support for + any of the STI platforms (e.g. STIH416). diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Makefile index dd4721e7f7..dfd4f4dd36 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sti/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -# STI platform support -snd-soc-sti-y := sti_uniperif.o uniperif_player.o uniperif_reader.o - -obj-$(CONFIG_SND_SOC_STI) += snd-soc-sti.o +# SPDX-License-Identifier: GPL-2.0-only +# STI platform support +snd-soc-sti-y := sti_uniperif.o uniperif_player.o uniperif_reader.o + +obj-$(CONFIG_SND_SOC_STI) += snd-soc-sti.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/sunxi/sun8i-adda-pr-regmap.h b/image/debian/UFI003_MB_V02/kernel/sound/soc/sunxi/sun8i-adda-pr-regmap.h index ff5a787993..a5ae95dfeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/sunxi/sun8i-adda-pr-regmap.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/sunxi/sun8i-adda-pr-regmap.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (C) 2018 Vasily Khoruzhick - */ - -struct regmap *sun8i_adda_pr_regmap_init(struct device *dev, - void __iomem *base); +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2018 Vasily Khoruzhick + */ + +struct regmap *sun8i_adda_pr_regmap_init(struct device *dev, + void __iomem *base); diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Kconfig index 830e030083..74b778f186 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Kconfig @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SND_SOC_XTFPGA_I2S - tristate "XTFPGA I2S master" - select REGMAP_MMIO - help - Say Y or M if you want to add support for codecs attached to the - I2S interface on XTFPGA daughter board. You will also need to select - the drivers for the rest of XTFPGA audio subsystem. +# SPDX-License-Identifier: GPL-2.0-only +config SND_SOC_XTFPGA_I2S + tristate "XTFPGA I2S master" + select REGMAP_MMIO + help + Say Y or M if you want to add support for codecs attached to the + I2S interface on XTFPGA daughter board. You will also need to select + the drivers for the rest of XTFPGA audio subsystem. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Makefile index 4386c35f41..be4e847d1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/soc/xtensa/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-soc-xtfpga-i2s-y := xtfpga-i2s.o - -obj-$(CONFIG_SND_SOC_XTFPGA_I2S) += snd-soc-xtfpga-i2s.o +# SPDX-License-Identifier: GPL-2.0-only +snd-soc-xtfpga-i2s-y := xtfpga-i2s.o + +obj-$(CONFIG_SND_SOC_XTFPGA_I2S) += snd-soc-xtfpga-i2s.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/spi/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/spi/Makefile index f9c7face90..d6a198a449 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/spi/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/spi/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for SPI drivers - -snd-at73c213-y := at73c213.o - -obj-$(CONFIG_SND_AT73C213) += snd-at73c213.o +# SPDX-License-Identifier: GPL-2.0 +# Makefile for SPI drivers + +snd-at73c213-y := at73c213.o + +obj-$(CONFIG_SND_AT73C213) += snd-at73c213.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/6fire/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/6fire/Makefile index 75d60d28c9..587f25c64e 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/6fire/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/6fire/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-usb-6fire-y += chip.o comm.o midi.o control.o firmware.o pcm.o -obj-$(CONFIG_SND_USB_6FIRE) += snd-usb-6fire.o - +# SPDX-License-Identifier: GPL-2.0-only +snd-usb-6fire-y += chip.o comm.o midi.o control.o firmware.o pcm.o +obj-$(CONFIG_SND_USB_6FIRE) += snd-usb-6fire.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/bcd2000/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/bcd2000/Makefile index e10db2f963..e2d916e247 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/bcd2000/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/bcd2000/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-bcd2000-y := bcd2000.o - -obj-$(CONFIG_SND_BCD2000) += snd-bcd2000.o +# SPDX-License-Identifier: GPL-2.0-only +snd-bcd2000-y := bcd2000.o + +obj-$(CONFIG_SND_BCD2000) += snd-bcd2000.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/Makefile index ba0ca4e61f..9a99c17a2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-usb-caiaq-y := device.o audio.o midi.o control.o -snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += input.o - -obj-$(CONFIG_SND_USB_CAIAQ) += snd-usb-caiaq.o +# SPDX-License-Identifier: GPL-2.0-only +snd-usb-caiaq-y := device.o audio.o midi.o control.o +snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += input.o + +obj-$(CONFIG_SND_USB_CAIAQ) += snd-usb-caiaq.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/audio.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/audio.h index a63e367159..07f5d06445 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/audio.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/audio.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef CAIAQ_AUDIO_H -#define CAIAQ_AUDIO_H - -int snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *cdev); -void snd_usb_caiaq_audio_disconnect(struct snd_usb_caiaqdev *cdev); -void snd_usb_caiaq_audio_free(struct snd_usb_caiaqdev *cdev); - -#endif /* CAIAQ_AUDIO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef CAIAQ_AUDIO_H +#define CAIAQ_AUDIO_H + +int snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *cdev); +void snd_usb_caiaq_audio_disconnect(struct snd_usb_caiaqdev *cdev); +void snd_usb_caiaq_audio_free(struct snd_usb_caiaqdev *cdev); + +#endif /* CAIAQ_AUDIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/control.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/control.h index 122418bcb4..cb204fd458 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/control.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/control.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef CAIAQ_CONTROL_H -#define CAIAQ_CONTROL_H - -int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev); - -#endif /* CAIAQ_CONTROL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef CAIAQ_CONTROL_H +#define CAIAQ_CONTROL_H + +int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev); + +#endif /* CAIAQ_CONTROL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/midi.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/midi.h index 87e2011ba5..a6ae0c2248 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/midi.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/caiaq/midi.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef CAIAQ_MIDI_H -#define CAIAQ_MIDI_H - -int snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *cdev); -void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev, - int port, const char *buf, int len); -void snd_usb_caiaq_midi_output_done(struct urb *urb); - -#endif /* CAIAQ_MIDI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef CAIAQ_MIDI_H +#define CAIAQ_MIDI_H + +int snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *cdev); +void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev, + int port, const char *buf, int len); +void snd_usb_caiaq_midi_output_done(struct urb *urb); + +#endif /* CAIAQ_MIDI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/hiface/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/hiface/Makefile index 806f5955c4..997c1558d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/hiface/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/hiface/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-usb-hiface-y := chip.o pcm.o -obj-$(CONFIG_SND_USB_HIFACE) += snd-usb-hiface.o +# SPDX-License-Identifier: GPL-2.0-only +snd-usb-hiface-y := chip.o pcm.o +obj-$(CONFIG_SND_USB_HIFACE) += snd-usb-hiface.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/misc/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/misc/Makefile index c0303ffc75..3e9f4adc28 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/misc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/misc/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-ua101-y := ua101.o -obj-$(CONFIG_SND_USB_UA101) += snd-ua101.o +# SPDX-License-Identifier: GPL-2.0-only +snd-ua101-y := ua101.o +obj-$(CONFIG_SND_USB_UA101) += snd-ua101.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_s1810c.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_s1810c.h index 9c34410812..a79a3743cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_s1810c.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_s1810c.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Presonus Studio 1810c driver for ALSA - * Copyright (C) 2019 Nick Kossifidis - */ - -int snd_sc1810_init_mixer(struct usb_mixer_interface *mixer); +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Presonus Studio 1810c driver for ALSA + * Copyright (C) 2019 Nick Kossifidis + */ + +int snd_sc1810_init_mixer(struct usb_mixer_interface *mixer); diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett.h index b933159514..bbf063b793 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __USB_MIXER_SCARLETT_H -#define __USB_MIXER_SCARLETT_H - -int snd_scarlett_controls_create(struct usb_mixer_interface *mixer); - -#endif /* __USB_MIXER_SCARLETT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __USB_MIXER_SCARLETT_H +#define __USB_MIXER_SCARLETT_H + +int snd_scarlett_controls_create(struct usb_mixer_interface *mixer); + +#endif /* __USB_MIXER_SCARLETT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett2.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett2.h index 141e9f01f8..d209362cf4 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett2.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/mixer_scarlett2.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __USB_MIXER_SCARLETT2_H -#define __USB_MIXER_SCARLETT2_H - -int snd_scarlett2_init(struct usb_mixer_interface *mixer); - -#endif /* __USB_MIXER_SCARLETT2_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __USB_MIXER_SCARLETT2_H +#define __USB_MIXER_SCARLETT2_H + +int snd_scarlett2_init(struct usb_mixer_interface *mixer); + +#endif /* __USB_MIXER_SCARLETT2_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/proc.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/proc.h index 815f190ca6..72b1b2d28b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/proc.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/proc.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __USBAUDIO_PROC_H -#define __USBAUDIO_PROC_H - -void snd_usb_audio_create_proc(struct snd_usb_audio *chip); -void snd_usb_proc_pcm_format_add(struct snd_usb_stream *stream); - -#endif /* __USBAUDIO_PROC_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __USBAUDIO_PROC_H +#define __USBAUDIO_PROC_H + +void snd_usb_audio_create_proc(struct snd_usb_audio *chip); +void snd_usb_proc_pcm_format_add(struct snd_usb_stream *stream); + +#endif /* __USBAUDIO_PROC_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/stream.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/stream.h index e0602b8d67..d92e18d581 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/stream.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/stream.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __USBAUDIO_STREAM_H -#define __USBAUDIO_STREAM_H - -int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, - int iface_no); - -int snd_usb_add_audio_stream(struct snd_usb_audio *chip, - int stream, - struct audioformat *fp); - -#endif /* __USBAUDIO_STREAM_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __USBAUDIO_STREAM_H +#define __USBAUDIO_STREAM_H + +int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, + int iface_no); + +int snd_usb_add_audio_stream(struct snd_usb_audio *chip, + int stream, + struct audioformat *fp); + +#endif /* __USBAUDIO_STREAM_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/Makefile index 972ee4a32e..fc033aba03 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -snd-usb-usx2y-y := usbusx2y.o usX2Yhwdep.o usx2yhwdeppcm.o -snd-usb-us122l-y := us122l.o - -obj-$(CONFIG_SND_USB_USX2Y) += snd-usb-usx2y.o -obj-$(CONFIG_SND_USB_US122L) += snd-usb-us122l.o +# SPDX-License-Identifier: GPL-2.0 +snd-usb-usx2y-y := usbusx2y.o usX2Yhwdep.o usx2yhwdeppcm.o +snd-usb-us122l-y := us122l.o + +obj-$(CONFIG_SND_USB_USX2Y) += snd-usb-usx2y.o +obj-$(CONFIG_SND_USB_US122L) += snd-usb-us122l.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/usX2Yhwdep.h b/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/usX2Yhwdep.h index e22500c331..0c9946d9cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/usX2Yhwdep.h +++ b/image/debian/UFI003_MB_V02/kernel/sound/usb/usx2y/usX2Yhwdep.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef USX2YHWDEP_H -#define USX2YHWDEP_H - -int usx2y_hwdep_new(struct snd_card *card, struct usb_device *device); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef USX2YHWDEP_H +#define USX2YHWDEP_H + +int usx2y_hwdep_new(struct snd_card *card, struct usb_device *device); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/sound/virtio/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/virtio/Kconfig index 11029015f2..094cba24ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/virtio/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/virtio/Kconfig @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0+ -# Sound card driver for virtio - -config SND_VIRTIO - tristate "Virtio sound driver" - depends on VIRTIO - select SND_PCM - select SND_JACK - help - This is the virtual sound driver for virtio. Say Y or M. +# SPDX-License-Identifier: GPL-2.0+ +# Sound card driver for virtio + +config SND_VIRTIO + tristate "Virtio sound driver" + depends on VIRTIO + select SND_PCM + select SND_JACK + help + This is the virtual sound driver for virtio. Say Y or M. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/virtio/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/virtio/Makefile index d372a77dfa..3ca41b3c8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/virtio/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/virtio/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0+ - -obj-$(CONFIG_SND_VIRTIO) += virtio_snd.o - -virtio_snd-y := \ - virtio_card.o \ - virtio_chmap.o \ - virtio_ctl_msg.o \ - virtio_jack.o \ - virtio_kctl.o \ - virtio_pcm.o \ - virtio_pcm_msg.o \ - virtio_pcm_ops.o - +# SPDX-License-Identifier: GPL-2.0+ + +obj-$(CONFIG_SND_VIRTIO) += virtio_snd.o + +virtio_snd-y := \ + virtio_card.o \ + virtio_chmap.o \ + virtio_ctl_msg.o \ + virtio_jack.o \ + virtio_kctl.o \ + virtio_pcm.o \ + virtio_pcm_msg.o \ + virtio_pcm_ops.o + diff --git a/image/debian/UFI003_MB_V02/kernel/sound/x86/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/x86/Makefile index 698f3c74be..44d2a33961 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/x86/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/x86/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -snd-hdmi-lpe-audio-y += \ - intel_hdmi_audio.o - -obj-$(CONFIG_HDMI_LPE_AUDIO) += snd-hdmi-lpe-audio.o +# SPDX-License-Identifier: GPL-2.0-only +snd-hdmi-lpe-audio-y += \ + intel_hdmi_audio.o + +obj-$(CONFIG_HDMI_LPE_AUDIO) += snd-hdmi-lpe-audio.o diff --git a/image/debian/UFI003_MB_V02/kernel/sound/xen/Kconfig b/image/debian/UFI003_MB_V02/kernel/sound/xen/Kconfig index cb7ceaf2ed..d812eff65d 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/xen/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/sound/xen/Kconfig @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# ALSA Xen drivers - -config SND_XEN_FRONTEND - tristate "Xen para-virtualized sound frontend driver" - depends on XEN - select SND_PCM - select XEN_XENBUS_FRONTEND - select XEN_FRONT_PGDIR_SHBUF - help - Choose this option if you want to enable a para-virtualized - frontend sound driver for Xen guest OSes. +# SPDX-License-Identifier: GPL-2.0-only +# ALSA Xen drivers + +config SND_XEN_FRONTEND + tristate "Xen para-virtualized sound frontend driver" + depends on XEN + select SND_PCM + select XEN_XENBUS_FRONTEND + select XEN_FRONT_PGDIR_SHBUF + help + Choose this option if you want to enable a para-virtualized + frontend sound driver for Xen guest OSes. diff --git a/image/debian/UFI003_MB_V02/kernel/sound/xen/Makefile b/image/debian/UFI003_MB_V02/kernel/sound/xen/Makefile index 0fe989fc05..5dab1616ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/sound/xen/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/sound/xen/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 OR MIT - -snd_xen_front-y := xen_snd_front.o \ - xen_snd_front_cfg.o \ - xen_snd_front_evtchnl.o \ - xen_snd_front_alsa.o - -obj-$(CONFIG_SND_XEN_FRONTEND) += snd_xen_front.o +# SPDX-License-Identifier: GPL-2.0 OR MIT + +snd_xen_front-y := xen_snd_front.o \ + xen_snd_front_cfg.o \ + xen_snd_front_evtchnl.o \ + xen_snd_front_alsa.o + +obj-$(CONFIG_SND_XEN_FRONTEND) += snd_xen_front.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/accounting/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/accounting/Makefile index db6dc75580..11def1ad04 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/accounting/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/accounting/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -CC := $(CROSS_COMPILE)gcc -CFLAGS := -I../../usr/include - -PROGS := getdelays procacct - -all: $(PROGS) - -clean: - rm -fr $(PROGS) +# SPDX-License-Identifier: GPL-2.0 +CC := $(CROSS_COMPILE)gcc +CFLAGS := -I../../usr/include + +PROGS := getdelays procacct + +all: $(PROGS) + +clean: + rm -fr $(PROGS) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/asm/barrier.h index b706c40f09..da8d6457ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/asm/barrier.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H -#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H - -#define mb() __asm__ __volatile__("mb": : :"memory") -#define rmb() __asm__ __volatile__("mb": : :"memory") -#define wmb() __asm__ __volatile__("wmb": : :"memory") - -#endif /* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H +#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H + +#define mb() __asm__ __volatile__("mb": : :"memory") +#define rmb() __asm__ __volatile__("mb": : :"memory") +#define wmb() __asm__ __volatile__("wmb": : :"memory") + +#endif /* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/uapi/asm/bitsperlong.h index f694ffc2cf..6c5bf7d03f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/alpha/include/uapi/asm/bitsperlong.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ALPHA_BITSPERLONG_H -#define __ASM_ALPHA_BITSPERLONG_H - -#define __BITS_PER_LONG 64 - -#include - -#endif /* __ASM_ALPHA_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ALPHA_BITSPERLONG_H +#define __ASM_ALPHA_BITSPERLONG_H + +#define __BITS_PER_LONG 64 + +#include + +#endif /* __ASM_ALPHA_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/arc/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/arc/include/uapi/asm/mman.h index 0c4397a5d9..81f0f9bf0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/arc/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/arc/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_ARC_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_ARC_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on arc, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_ARC_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_ARC_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on arc, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/arm/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/arm/include/uapi/asm/mman.h index 11466817d0..a6d46321e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/arm/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/arm/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_ARM_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_ARM_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on arm, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_ARM_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_ARM_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on arm, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/arm64/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/arm64/include/uapi/asm/mman.h index ea6904906d..2ee288e447 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/arm64/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/arm64/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_ARM64_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_ARM64_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on arm64, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_ARM64_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_ARM64_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on arm64, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/hexagon/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/hexagon/include/uapi/asm/mman.h index 93c8384064..cd59ba932b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/hexagon/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/hexagon/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on hexagon, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on hexagon, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/loongarch/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/loongarch/include/uapi/asm/unistd.h index 964e02df67..8eeaac0087 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/loongarch/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/loongarch/include/uapi/asm/unistd.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2020-2023 Loongson Technology Corporation Limited - */ - -#define __ARCH_WANT_SYS_CLONE - -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2020-2023 Loongson Technology Corporation Limited + */ + +#define __ARCH_WANT_SYS_CLONE + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/microblaze/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/microblaze/include/uapi/asm/mman.h index 21de24849e..f3f2103fd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/microblaze/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/microblaze/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_MICROBLAZE_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_MICROBLAZE_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on microblaze, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_MICROBLAZE_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_MICROBLAZE_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on microblaze, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/mips/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/mips/include/uapi/asm/bitsperlong.h index 6462065801..7268380d8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/mips/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/mips/include/uapi/asm/bitsperlong.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_MIPS_BITSPERLONG_H -#define __ASM_MIPS_BITSPERLONG_H - -#define __BITS_PER_LONG _MIPS_SZLONG - -#include - -#endif /* __ASM_MIPS_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_MIPS_BITSPERLONG_H +#define __ASM_MIPS_BITSPERLONG_H + +#define __BITS_PER_LONG _MIPS_SZLONG + +#include + +#endif /* __ASM_MIPS_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/bitsperlong.h index f65a972be5..46ece3ecff 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_POWERPC_BITSPERLONG_H -#define __ASM_POWERPC_BITSPERLONG_H - -#if defined(__powerpc64__) -# define __BITS_PER_LONG 64 -#else -# define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_POWERPC_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_POWERPC_BITSPERLONG_H +#define __ASM_POWERPC_BITSPERLONG_H + +#if defined(__powerpc64__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_POWERPC_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/errno.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/errno.h index d404aebcad..4ba87de32b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/errno.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/powerpc/include/uapi/asm/errno.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_ERRNO_H -#define _ASM_POWERPC_ERRNO_H - -#undef EDEADLOCK -#include - -#undef EDEADLOCK -#define EDEADLOCK 58 /* File locking deadlock error */ - -#endif /* _ASM_POWERPC_ERRNO_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_ERRNO_H +#define _ASM_POWERPC_ERRNO_H + +#undef EDEADLOCK +#include + +#undef EDEADLOCK +#define EDEADLOCK 58 /* File locking deadlock error */ + +#endif /* _ASM_POWERPC_ERRNO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/bitsperlong.h index b8369262b4..d2bb620119 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_S390_BITSPERLONG_H -#define __ASM_S390_BITSPERLONG_H - -#ifndef __s390x__ -#define __BITS_PER_LONG 32 -#else -#define __BITS_PER_LONG 64 -#endif - -#include - -#endif /* __ASM_S390_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_S390_BITSPERLONG_H +#define __ASM_S390_BITSPERLONG_H + +#ifndef __s390x__ +#define __BITS_PER_LONG 32 +#else +#define __BITS_PER_LONG 64 +#endif + +#include + +#endif /* __ASM_S390_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/mman.h index 415488bad7..4ec32e4251 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/s390/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_S390_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_S390_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on s390, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_S390_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_S390_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on s390, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/sh/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/sh/include/uapi/asm/mman.h index 16c36df0d6..88c0e2930c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/sh/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/sh/include/uapi/asm/mman.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_SH_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_SH_UAPI_ASM_MMAN_FIX_H -#include -/* MAP_32BIT is undefined on sh, fix it for perf */ -#define MAP_32BIT 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_SH_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_SH_UAPI_ASM_MMAN_FIX_H +#include +/* MAP_32BIT is undefined on sh, fix it for perf */ +#define MAP_32BIT 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier.h index f0574b6ee4..95d1618465 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ___TOOLS_LINUX_ASM_SPARC_BARRIER_H -#define ___TOOLS_LINUX_ASM_SPARC_BARRIER_H -#if defined(__sparc__) && defined(__arch64__) -#include "barrier_64.h" -#else -#include "barrier_32.h" -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ___TOOLS_LINUX_ASM_SPARC_BARRIER_H +#define ___TOOLS_LINUX_ASM_SPARC_BARRIER_H +#if defined(__sparc__) && defined(__arch64__) +#include "barrier_64.h" +#else +#include "barrier_32.h" +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier_32.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier_32.h index 1223944657..cc19ed1dde 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier_32.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/asm/barrier_32.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __TOOLS_PERF_SPARC_BARRIER_H -#define __TOOLS_PERF_SPARC_BARRIER_H - -#include - -#endif /* !(__TOOLS_PERF_SPARC_BARRIER_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TOOLS_PERF_SPARC_BARRIER_H +#define __TOOLS_PERF_SPARC_BARRIER_H + +#include + +#endif /* !(__TOOLS_PERF_SPARC_BARRIER_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/uapi/asm/bitsperlong.h index 7e311e3e58..3b4e61740b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/sparc/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ALPHA_BITSPERLONG_H -#define __ASM_ALPHA_BITSPERLONG_H - -#if defined(__sparc__) && defined(__arch64__) -#define __BITS_PER_LONG 64 -#else -#define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_ALPHA_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ALPHA_BITSPERLONG_H +#define __ASM_ALPHA_BITSPERLONG_H + +#if defined(__sparc__) && defined(__arch64__) +#define __BITS_PER_LONG 64 +#else +#define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_ALPHA_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/asm/inat_types.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/asm/inat_types.h index ff9f532115..b047efa9dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/asm/inat_types.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/asm/inat_types.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _ASM_X86_INAT_TYPES_H -#define _ASM_X86_INAT_TYPES_H -/* - * x86 instruction attributes - * - * Written by Masami Hiramatsu - */ - -/* Instruction attributes */ -typedef unsigned int insn_attr_t; -typedef unsigned char insn_byte_t; -typedef signed int insn_value_t; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _ASM_X86_INAT_TYPES_H +#define _ASM_X86_INAT_TYPES_H +/* + * x86 instruction attributes + * + * Written by Masami Hiramatsu + */ + +/* Instruction attributes */ +typedef unsigned int insn_attr_t; +typedef unsigned char insn_byte_t; +typedef signed int insn_value_t; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/bitsperlong.h index 80ade23184..f8a92e0009 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/bitsperlong.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_X86_BITSPERLONG_H -#define __ASM_X86_BITSPERLONG_H - -#if defined(__x86_64__) && !defined(__ILP32__) -# define __BITS_PER_LONG 64 -#else -# define __BITS_PER_LONG 32 -#endif - -#include - -#endif /* __ASM_X86_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_X86_BITSPERLONG_H +#define __ASM_X86_BITSPERLONG_H + +#if defined(__x86_64__) && !defined(__ILP32__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include + +#endif /* __ASM_X86_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/mman.h index b08c26276b..8449778de2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/arch/x86/include/uapi/asm/mman.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef TOOLS_ARCH_X86_UAPI_ASM_MMAN_FIX_H -#define TOOLS_ARCH_X86_UAPI_ASM_MMAN_FIX_H -#define MAP_32BIT 0x40 -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef TOOLS_ARCH_X86_UAPI_ASM_MMAN_FIX_H +#define TOOLS_ARCH_X86_UAPI_ASM_MMAN_FIX_H +#define MAP_32BIT 0x40 +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-array-space-comment.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-array-space-comment.bconf index ccc40bdb13..fda19e47d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-array-space-comment.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-array-space-comment.bconf @@ -1,5 +1,5 @@ -key = # comment - "value1", # comment1 - "value2" # comment2 -, - "value3" +key = # comment + "value1", # comment1 + "value2" # comment2 +, + "value3" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-longkey.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-longkey.bconf index 2c3a530cee..eb97369f91 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-longkey.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-longkey.bconf @@ -1 +1 @@ -key_word_is_too_long01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345 +key_word_is_too_long01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-samekey.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-samekey.bconf index ea74474ac0..e8d983a456 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-samekey.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/bad-samekey.bconf @@ -1,6 +1,6 @@ -# Same key value is not allowed -key { - foo = value - bar = value2 -} -key.foo = value +# Same key value is not allowed +key { + foo = value + bar = value2 +} +key.foo = value diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-array-space-comment.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-array-space-comment.bconf index 8845923f66..45b938dc06 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-array-space-comment.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-array-space-comment.bconf @@ -1,4 +1,4 @@ -key = # comment - "value1", # comment1 - "value2" , # comment2 - "value3" +key = # comment + "value1", # comment1 + "value2" , # comment2 + "value3" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-kv3.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-kv3.bconf index 079e02e26f..2ce2b02224 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-kv3.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-kv3.bconf @@ -1,6 +1,6 @@ -# mixed key and subkeys with braces -key = value -key { - subkey1 - subkey2 = foo -} +# mixed key and subkeys with braces +key = value +key { + subkey1 + subkey2 = foo +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-override.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-override.bconf index 0de1473ddd..18195b2873 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-override.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-mixed-override.bconf @@ -1,4 +1,4 @@ -key.foo = bar -key = value -# mixed key value can be overridden -key := value2 +key.foo = bar +key = value +# mixed key value can be overridden +key := value2 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-override.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-override.bconf index 31b7525102..7d31d5f8fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-override.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-override.bconf @@ -1,6 +1,6 @@ -# Override the value -key.word = 1,2,4 -key.word := 2,3 - -# No pre-defined key -key.new.word := "new" +# Override the value +key.word = 1,2,4 +key.word := 2,3 + +# No pre-defined key +key.new.word := "new" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-simple.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-simple.bconf index 717d121f97..37dd6d21c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-simple.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-simple.bconf @@ -1,11 +1,11 @@ -# A good simple bootconfig - -key.word1 = 1 -key.word2=2 -key.word3 = 3; - -key { -word4 = 4 } - -key { word5 = 5; word6 = 6 } - +# A good simple bootconfig + +key.word1 = 1 +key.word2=2 +key.word3 = 3; + +key { +word4 = 4 } + +key { word5 = 5; word6 = 6 } + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-tree.bconf b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-tree.bconf index 14bf4ce10a..f2ddefc8b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-tree.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/bootconfig/samples/good-tree.bconf @@ -1,12 +1,12 @@ -key { - word { - tree { - value = "0"} - } - word2 { - tree { - value = 1,2 } - } -} -other.tree { - value = 2; value2 = 3;} +key { + word { + tree { + value = "0"} + } + word2 { + tree { + value = 1,2 } + } +} +other.tree { + value = 2; value2 = 3;} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/bpf/.gitignore index 33a5ce220c..cf53342175 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -FEATURE-DUMP.bpf -feature -bpf_asm -bpf_dbg -bpf_exp.yacc.* -bpf_jit_disasm +# SPDX-License-Identifier: GPL-2.0-only +FEATURE-DUMP.bpf +feature +bpf_asm +bpf_dbg +bpf_exp.yacc.* +bpf_jit_disasm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/.gitignore index 3a9ed9f065..a736f64dc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/.gitignore @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -*.d -/bootstrap/ -/bpftool -bpftool*.8 -FEATURE-DUMP.bpftool -feature -libbpf -/*.skel.h -/vmlinux.h +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +*.d +/bootstrap/ +/bpftool +bpftool*.8 +FEATURE-DUMP.bpftool +feature +libbpf +/*.skel.h +/vmlinux.h diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/Documentation/substitutions.rst b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/Documentation/substitutions.rst index 40331fc677..827e3ffb17 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/Documentation/substitutions.rst +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/Documentation/substitutions.rst @@ -1,3 +1,3 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -.. |COMMON_OPTIONS| replace:: { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-d** | **--debug** } +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +.. |COMMON_OPTIONS| replace:: { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-d** | **--debug** } diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/cfg.h b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/cfg.h index 1820d05ee8..b3793f4e17 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/cfg.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/cfg.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -/* Copyright (C) 2018 Netronome Systems, Inc. */ - -#ifndef __BPF_TOOL_CFG_H -#define __BPF_TOOL_CFG_H - -#include "xlated_dumper.h" - -void dump_xlated_cfg(struct dump_data *dd, void *buf, unsigned int len, - bool opcodes, bool linum); - -#endif /* __BPF_TOOL_CFG_H */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* Copyright (C) 2018 Netronome Systems, Inc. */ + +#ifndef __BPF_TOOL_CFG_H +#define __BPF_TOOL_CFG_H + +#include "xlated_dumper.h" + +void dump_xlated_cfg(struct dump_data *dd, void *buf, unsigned int len, + bool opcodes, bool linum); + +#endif /* __BPF_TOOL_CFG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/skeleton/pid_iter.h b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/skeleton/pid_iter.h index a20ad89886..bbb570d4cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/skeleton/pid_iter.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/bpftool/skeleton/pid_iter.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ -/* Copyright (c) 2020 Facebook */ -#ifndef __PID_ITER_H -#define __PID_ITER_H - -struct pid_iter_entry { - __u32 id; - int pid; - __u64 bpf_cookie; - bool has_bpf_cookie; - char comm[16]; -}; - -#endif +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* Copyright (c) 2020 Facebook */ +#ifndef __PID_ITER_H +#define __PID_ITER_H + +struct pid_iter_entry { + __u32 id; + int pid; + __u64 bpf_cookie; + bool has_bpf_cookie; + char comm[16]; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/resolve_btfids/Build b/image/debian/UFI003_MB_V02/kernel/tools/bpf/resolve_btfids/Build index 94b7ff1ab1..077de3829c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/resolve_btfids/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/resolve_btfids/Build @@ -1,12 +1,12 @@ -hostprogs := resolve_btfids - -resolve_btfids-y += main.o -resolve_btfids-y += rbtree.o -resolve_btfids-y += zalloc.o -resolve_btfids-y += string.o -resolve_btfids-y += ctype.o -resolve_btfids-y += str_error_r.o - -$(OUTPUT)%.o: ../../lib/%.c FORCE - $(call rule_mkdir) - $(call if_changed_dep,host_cc_o_c) +hostprogs := resolve_btfids + +resolve_btfids-y += main.o +resolve_btfids-y += rbtree.o +resolve_btfids-y += zalloc.o +resolve_btfids-y += string.o +resolve_btfids-y += ctype.o +resolve_btfids-y += str_error_r.o + +$(OUTPUT)%.o: ../../lib/%.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,host_cc_o_c) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/bpf/runqslower/runqslower.h b/image/debian/UFI003_MB_V02/kernel/tools/bpf/runqslower/runqslower.h index d0ce30975b..4f70f07200 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/bpf/runqslower/runqslower.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/bpf/runqslower/runqslower.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ -#ifndef __RUNQSLOWER_H -#define __RUNQSLOWER_H - -#define TASK_COMM_LEN 16 - -struct runq_event { - char task[TASK_COMM_LEN]; - __u64 delta_us; - pid_t pid; -}; - -#endif /* __RUNQSLOWER_H */ +/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ +#ifndef __RUNQSLOWER_H +#define __RUNQSLOWER_H + +#define TASK_COMM_LEN 16 + +struct runq_event { + char task[TASK_COMM_LEN]; + __u64 delta_us; + pid_t pid; +}; + +#endif /* __RUNQSLOWER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-backtrace.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-backtrace.c index 0df2be2492..e9ddd27c69 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-backtrace.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-backtrace.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - void *backtrace_fns[10]; - size_t entries; - - entries = backtrace(backtrace_fns, 10); - backtrace_symbols_fd(backtrace_fns, entries, 1); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + void *backtrace_fns[10]; + size_t entries; + + entries = backtrace(backtrace_fns, 10); + backtrace_symbols_fd(backtrace_fns, entries, 1); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-bionic.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-bionic.c index 01e049dfe3..4bcc977650 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-bionic.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-bionic.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return __ANDROID_API__; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return __ANDROID_API__; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-clang-bpf-co-re.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-clang-bpf-co-re.c index b71f0b2754..cb5265bfdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-clang-bpf-co-re.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-clang-bpf-co-re.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2020 Facebook - -struct test { - int a; - int b; -} __attribute__((preserve_access_index)); - -volatile struct test global_value_for_test = {}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2020 Facebook + +struct test { + int a; + int b; +} __attribute__((preserve_access_index)); + +volatile struct test global_value_for_test = {}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-compile.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-compile.c index 4dd9802768..9821b8271d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-compile.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-compile.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -int main(void) -{ - printf("Hello World!\n"); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +int main(void) +{ + printf("Hello World!\n"); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-cplus-demangle.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-cplus-demangle.c index 2283afec2b..2ba56474ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-cplus-demangle.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-cplus-demangle.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -extern int printf(const char *format, ...); -extern char *cplus_demangle(const char *, int); - -int main(void) -{ - char symbol[4096] = "FieldName__9ClassNameFd"; - char *tmp; - - tmp = cplus_demangle(symbol, 0); - - printf("demangled symbol: {%s}\n", tmp); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +extern int printf(const char *format, ...); +extern char *cplus_demangle(const char *, int); + +int main(void) +{ + char symbol[4096] = "FieldName__9ClassNameFd"; + char *tmp; + + tmp = cplus_demangle(symbol, 0); + + printf("demangled symbol: {%s}\n", tmp); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-four-args.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-four-args.c index adc5480546..45ce65cfdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-four-args.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-four-args.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - bfd *abfd = bfd_openr(NULL, NULL); - - disassembler(bfd_get_arch(abfd), - bfd_big_endian(abfd), - bfd_get_mach(abfd), - abfd); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + bfd *abfd = bfd_openr(NULL, NULL); + + disassembler(bfd_get_arch(abfd), + bfd_big_endian(abfd), + bfd_get_mach(abfd), + abfd); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-init-styled.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-init-styled.c index e5d122d49b..f1ce0ec3be 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-init-styled.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-disassembler-init-styled.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - struct disassemble_info info; - - init_disassemble_info(&info, stdout, - NULL, NULL); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + struct disassemble_info info; + + init_disassemble_info(&info, stdout, + NULL, NULL); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf.c index 2c380b9861..8d474bd737 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int main(void) -{ - Dwarf *dbg = dwarf_begin(0, DWARF_C_READ); - - return (long)dbg; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int main(void) +{ + Dwarf *dbg = dwarf_begin(0, DWARF_C_READ); + + return (long)dbg; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getcfi.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getcfi.c index d9eb165d62..50e7d7cb7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getcfi.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getcfi.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - Dwarf *dwarf = NULL; - return dwarf_getcfi(dwarf) == NULL; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + Dwarf *dwarf = NULL; + return dwarf_getcfi(dwarf) == NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getlocations.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getlocations.c index 80bfe7eeeb..78fb4a1fa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getlocations.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-dwarf_getlocations.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - Dwarf_Addr base, start, end; - Dwarf_Attribute attr; - Dwarf_Op *op; - size_t nops; - ptrdiff_t offset = 0; - return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + Dwarf_Addr base, start, end; + Dwarf_Attribute attr; + Dwarf_Op *op; + size_t nops; + ptrdiff_t offset = 0; + return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-eventfd.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-eventfd.c index 1de561fce9..f4de7ef00c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-eventfd.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-eventfd.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo - -#include - -int main(void) -{ - return eventfd(0, EFD_NONBLOCK); -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo + +#include + +int main(void) +{ + return eventfd(0, EFD_NONBLOCK); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-file-handle.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-file-handle.c index f1f776c441..4d3b03b27a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-file-handle.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-file-handle.c @@ -1,17 +1,17 @@ -#define _GNU_SOURCE -#include -#include -#include -#include - -int main(void) -{ - struct { - struct file_handle fh; - uint64_t cgroup_id; - } handle; - int mount_id; - - name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); - return 0; -} +#define _GNU_SOURCE +#include +#include +#include +#include + +int main(void) +{ + struct { + struct file_handle fh; + uint64_t cgroup_id; + } handle; + int mount_id; + + name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-fortify-source.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-fortify-source.c index a3894c5b35..c8a57194f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-fortify-source.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-fortify-source.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return puts("hi"); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return puts("hi"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_cpuid.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_cpuid.c index df3c200030..bb4f065f28 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_cpuid.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_cpuid.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; - return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; + return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_current_dir_name.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_current_dir_name.c index 508930df3b..c3c201691b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_current_dir_name.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-get_current_dir_name.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE -#include -#include - -int main(void) -{ - free(get_current_dir_name()); - return 0; -} -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#include +#include + +int main(void) +{ + free(get_current_dir_name()); + return 0; +} +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gettid.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gettid.c index 36eefe52c2..ef24e42d3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gettid.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gettid.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo -#define _GNU_SOURCE -#include - -int main(void) -{ - return gettid(); -} - -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo +#define _GNU_SOURCE +#include + +int main(void) +{ + return gettid(); +} + +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2-infobar.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2-infobar.c index d461909fb7..b1b716dd57 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2-infobar.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2-infobar.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#pragma GCC diagnostic ignored "-Wstrict-prototypes" -#include -#pragma GCC diagnostic error "-Wstrict-prototypes" - -int main(int argc, char *argv[]) -{ - gtk_init(&argc, &argv); - gtk_info_bar_new(); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#pragma GCC diagnostic ignored "-Wstrict-prototypes" +#include +#pragma GCC diagnostic error "-Wstrict-prototypes" + +int main(int argc, char *argv[]) +{ + gtk_init(&argc, &argv); + gtk_info_bar_new(); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2.c index 49fcfc68ca..2aaf4bfc20 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-gtk2.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#pragma GCC diagnostic ignored "-Wstrict-prototypes" -#include -#pragma GCC diagnostic error "-Wstrict-prototypes" - -int main(int argc, char *argv[]) -{ - gtk_init(&argc, &argv); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#pragma GCC diagnostic ignored "-Wstrict-prototypes" +#include +#pragma GCC diagnostic error "-Wstrict-prototypes" + +int main(int argc, char *argv[]) +{ + gtk_init(&argc, &argv); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-hello.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-hello.c index a3894c5b35..c8a57194f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-hello.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-hello.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return puts("hi"); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return puts("hi"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti-cmlr.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti-cmlr.c index 1b05cca709..c27b5b71a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti-cmlr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti-cmlr.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - jvmtiCompiledMethodLoadInlineRecord rec __attribute__((unused)); - jvmtiCompiledMethodLoadRecordHeader hdr __attribute__((unused)); - PCStackInfo p __attribute__((unused)); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + jvmtiCompiledMethodLoadInlineRecord rec __attribute__((unused)); + jvmtiCompiledMethodLoadRecordHeader hdr __attribute__((unused)); + PCStackInfo p __attribute__((unused)); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti.c index f54a288815..799916d2e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-jvmti.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - JavaVM jvm __attribute__((unused)); - jvmtiEventCallbacks cb __attribute__((unused)); - jvmtiCapabilities caps __attribute__((unused)); - jvmtiJlocationFormat format __attribute__((unused)); - jvmtiEnv jvmti __attribute__((unused)); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + JavaVM jvm __attribute__((unused)); + jvmtiEventCallbacks cb __attribute__((unused)); + jvmtiCapabilities caps __attribute__((unused)); + jvmtiJlocationFormat format __attribute__((unused)); + jvmtiEnv jvmti __attribute__((unused)); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaio.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaio.c index 5e08b3595d..932133c9a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaio.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaio.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - struct aiocb aiocb; - - aiocb.aio_fildes = 0; - aiocb.aio_offset = 0; - aiocb.aio_buf = 0; - aiocb.aio_nbytes = 0; - aiocb.aio_reqprio = 0; - aiocb.aio_sigevent.sigev_notify = 1 /*SIGEV_NONE*/; - - return (int)aio_return(&aiocb); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + struct aiocb aiocb; + + aiocb.aio_fildes = 0; + aiocb.aio_offset = 0; + aiocb.aio_buf = 0; + aiocb.aio_nbytes = 0; + aiocb.aio_reqprio = 0; + aiocb.aio_sigevent.sigev_notify = 1 /*SIGEV_NONE*/; + + return (int)aio_return(&aiocb); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaudit.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaudit.c index fc98b69ea4..f5b0863fa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaudit.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libaudit.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -extern int printf(const char *format, ...); - -int main(void) -{ - printf("error message: %s\n", audit_errno_to_name(0)); - - return audit_open(); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +extern int printf(const char *format, ...); + +int main(void) +{ + printf("error message: %s\n", audit_errno_to_name(0)); + + return audit_open(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbabeltrace.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbabeltrace.c index 0c1f8bd429..10bb69d556 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbabeltrace.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbabeltrace.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -int main(void) -{ - bt_ctf_stream_class_get_packet_context_type((void *) 0); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +int main(void) +{ + bt_ctf_stream_class_get_packet_context_type((void *) 0); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd-buildid.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd-buildid.c index 608b177021..157644b04c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd-buildid.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd-buildid.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - bfd *abfd = bfd_openr("Pedro", 0); - return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + bfd *abfd = bfd_openr("Pedro", 0); + return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd.c index 9d2d36a246..afa46b0465 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbfd.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -extern int printf(const char *format, ...); - -int main(void) -{ - char symbol[4096] = "FieldName__9ClassNameFd"; - char *tmp; - - tmp = bfd_demangle(0, symbol, 0); - - printf("demangled symbol: {%s}\n", tmp); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +extern int printf(const char *format, ...); + +int main(void) +{ + char symbol[4096] = "FieldName__9ClassNameFd"; + char *tmp; + + tmp = bfd_demangle(0, symbol, 0); + + printf("demangled symbol: {%s}\n", tmp); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbpf.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbpf.c index 0569322ec9..cd9989f521 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbpf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libbpf.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#if !defined(LIBBPF_MAJOR_VERSION) || (LIBBPF_MAJOR_VERSION < 1) -#error At least libbpf 1.0 is required for Linux tools. -#endif - -int main(void) -{ - return bpf_object__open("test") ? 0 : -1; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +#if !defined(LIBBPF_MAJOR_VERSION) || (LIBBPF_MAJOR_VERSION < 1) +#error At least libbpf 1.0 is required for Linux tools. +#endif + +int main(void) +{ + return bpf_object__open("test") ? 0 : -1; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcap.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcap.c index 1b6e5db7b2..d2a2e15219 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcap.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcap.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - cap_flag_value_t val; - cap_t caps = cap_get_proc(); - - if (!caps) - return 1; - - if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0) - return 1; - - if (cap_free(caps) != 0) - return 1; - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + cap_flag_value_t val; + cap_t caps = cap_get_proc(); + + if (!caps) + return 1; + + if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0) + return 1; + + if (cap_free(caps) != 0) + return 1; + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcapstone.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcapstone.c index cef317917d..fbe8dba189 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcapstone.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libcapstone.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -int main(void) -{ - csh handle; - - cs_open(CS_ARCH_X86, CS_MODE_64, &handle); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +int main(void) +{ + csh handle; + + cs_open(CS_ARCH_X86, CS_MODE_64, &handle); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdebuginfod.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdebuginfod.c index 0e51103c1e..da22548b84 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdebuginfod.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdebuginfod.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - debuginfod_client* c = debuginfod_begin(); - return (long)c; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + debuginfod_client* c = debuginfod_begin(); + return (long)c; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdw-dwarf-unwind.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdw-dwarf-unwind.c index 5a7672445f..ed03d95056 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdw-dwarf-unwind.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libdw-dwarf-unwind.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -int main(void) -{ - /* - * This function is guarded via: __nonnull_attribute__ (1, 2). - * Passing '1' as arguments value. This code is never executed, - * only compiled. - */ - dwfl_thread_getframes((void *) 1, (void *) 1, NULL); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +int main(void) +{ + /* + * This function is guarded via: __nonnull_attribute__ (1, 2). + * Passing '1' as arguments value. This code is never executed, + * only compiled. + */ + dwfl_thread_getframes((void *) 1, (void *) 1, NULL); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-gelf_getnote.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-gelf_getnote.c index a014edd5ae..075d062fe8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-gelf_getnote.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-gelf_getnote.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - return gelf_getnote(NULL, 0, NULL, NULL, NULL); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + return gelf_getnote(NULL, 0, NULL, NULL, NULL); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getphdrnum.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getphdrnum.c index a7eb58ed05..96a7f8d30a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getphdrnum.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getphdrnum.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - size_t dst; - - return elf_getphdrnum(0, &dst); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + size_t dst; + + return elf_getphdrnum(0, &dst); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getshdrstrndx.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getshdrstrndx.c index 07e905c41c..ae9f2fff5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getshdrstrndx.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf-getshdrstrndx.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - size_t dst; - - return elf_getshdrstrndx(0, &dst); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + size_t dst; + + return elf_getshdrstrndx(0, &dst); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf.c index b9ec25e596..905044127d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libelf.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - Elf *elf = elf_begin(0, ELF_C_READ, 0); - - return (long)elf; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + Elf *elf = elf_begin(0, ELF_C_READ, 0); + + return (long)elf; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libnuma.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libnuma.c index 1dcbac643b..b3aa59f8b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libnuma.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libnuma.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - numa_available(); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + numa_available(); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libperl.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libperl.c index da935d1119..0415f437eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libperl.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libperl.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - perl_alloc(); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + perl_alloc(); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpfm4.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpfm4.c index fd3ff758c2..af49b25945 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpfm4.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpfm4.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - pfm_initialize(); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + pfm_initialize(); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpython.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpython.c index 6c5f9d6e6f..371c9113e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpython.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libpython.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - Py_Initialize(); - - return 0; -} -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + Py_Initialize(); + + return 0; +} +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang-include-subdir.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang-include-subdir.c index 19f42297b9..3ea47ec759 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang-include-subdir.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang-include-subdir.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return SLsmg_init_smg(); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return SLsmg_init_smg(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang.c index 644cba2de6..9cbff8d1df 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libslang.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return SLsmg_init_smg(); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return SLsmg_init_smg(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtraceevent.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtraceevent.c index 2177b4d537..416b11ffd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtraceevent.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtraceevent.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - int rv = 0; - struct trace_seq s; - trace_seq_init(&s); - rv += !(s.state == TRACE_SEQ__GOOD); - trace_seq_destroy(&s); - return rv; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + int rv = 0; + struct trace_seq s; + trace_seq_init(&s); + rv += !(s.state == TRACE_SEQ__GOOD); + trace_seq_destroy(&s); + return rv; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtracefs.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtracefs.c index 8ce202ef38..29a757a7d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtracefs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libtracefs.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - struct tracefs_instance *inst = tracefs_instance_create("dummy"); - - tracefs_instance_destroy(inst); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + struct tracefs_instance *inst = tracefs_instance_create("dummy"); + + tracefs_instance_destroy(inst); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libzstd.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libzstd.c index c3c9cb7d0e..55268c01b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libzstd.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-libzstd.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - ZSTD_CStream *cstream; - - cstream = ZSTD_createCStream(); - ZSTD_freeCStream(cstream); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + ZSTD_CStream *cstream; + + cstream = ZSTD_createCStream(); + ZSTD_freeCStream(cstream); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-llvm-perf.cpp b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-llvm-perf.cpp index d94d3e623d..a8cbb67e33 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-llvm-perf.cpp +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-llvm-perf.cpp @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "llvm/Support/ManagedStatic.h" -#include "llvm/Support/raw_ostream.h" - -#if LLVM_VERSION_MAJOR < 13 -# error "Perf requires llvm-devel/llvm-dev version 13 or greater" -#endif - -int main() -{ - llvm::errs() << "Hello World!\n"; - llvm::llvm_shutdown(); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include "llvm/Support/ManagedStatic.h" +#include "llvm/Support/raw_ostream.h" + +#if LLVM_VERSION_MAJOR < 13 +# error "Perf requires llvm-devel/llvm-dev version 13 or greater" +#endif + +int main() +{ + llvm::errs() << "Hello World!\n"; + llvm::llvm_shutdown(); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-lzma.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-lzma.c index 4d2796ec30..78682bb01d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-lzma.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-lzma.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - lzma_stream strm = LZMA_STREAM_INIT; - int ret; - - ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED); - return ret ? -1 : 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + lzma_stream strm = LZMA_STREAM_INIT; + int ret; + + ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED); + return ret ? -1 : 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-numa_num_possible_cpus.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-numa_num_possible_cpus.c index 04a619c0ba..573d07b9c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-numa_num_possible_cpus.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-numa_num_possible_cpus.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return numa_num_possible_cpus(); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return numa_num_possible_cpus(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-attr-setaffinity-np.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-attr-setaffinity-np.c index 2ebe81e93f..38c71131c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-attr-setaffinity-np.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-attr-setaffinity-np.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -int main(void) -{ - int ret = 0; - pthread_attr_t thread_attr; - cpu_set_t cs; - - pthread_attr_init(&thread_attr); - CPU_ZERO(&cs); - - ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cs), &cs); - - return ret; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +int main(void) +{ + int ret = 0; + pthread_attr_t thread_attr; + cpu_set_t cs; + + pthread_attr_init(&thread_attr); + CPU_ZERO(&cs); + + ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cs), &cs); + + return ret; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-barrier.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-barrier.c index 855a8fdc9d..0558d9334d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-barrier.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-pthread-barrier.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -int main(void) -{ - pthread_barrier_t barrier; - - pthread_barrier_init(&barrier, NULL, 1); - pthread_barrier_wait(&barrier); - return pthread_barrier_destroy(&barrier); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +int main(void) +{ + pthread_barrier_t barrier; + + pthread_barrier_init(&barrier, NULL, 1); + pthread_barrier_wait(&barrier); + return pthread_barrier_destroy(&barrier); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-reallocarray.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-reallocarray.c index 66a6fb963e..8f6743e31d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-reallocarray.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-reallocarray.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE -#include - -int main(void) -{ - return !!reallocarray(NULL, 1, 1); -} - -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#include + +int main(void) +{ + return !!reallocarray(NULL, 1, 1); +} + +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-scandirat.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-scandirat.c index a49178c610..d7e19e1858 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-scandirat.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-scandirat.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif -#include - -int main(void) -{ - // expects non-NULL, arg3 is 'restrict' so "pointers" have to be different - return scandirat(/*dirfd=*/ 0, /*dirp=*/ (void *)1, /*namelist=*/ (void *)2, /*filter=*/ (void *)3, /*compar=*/ (void *)4); -} - -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif +#include + +int main(void) +{ + // expects non-NULL, arg3 is 'restrict' so "pointers" have to be different + return scandirat(/*dirfd=*/ 0, /*dirp=*/ (void *)1, /*namelist=*/ (void *)2, /*filter=*/ (void *)3, /*compar=*/ (void *)4); +} + +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sched_getcpu.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sched_getcpu.c index f0001f3d6c..48995ac791 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sched_getcpu.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sched_getcpu.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif -#include - -int main(void) -{ - return sched_getcpu(); -} - -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif +#include + +int main(void) +{ + return sched_getcpu(); +} + +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sdt.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sdt.c index 69ea4a0130..22737b0dad 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sdt.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-sdt.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - DTRACE_PROBE(provider, name); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + DTRACE_PROBE(provider, name); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-setns.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-setns.c index bfec504bcb..2757c201ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-setns.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-setns.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE -#include - -int main(void) -{ - return setns(0, 0); -} -#undef _GNU_SOURCE +// SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#include + +int main(void) +{ + return setns(0, 0); +} +#undef _GNU_SOURCE diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-stackprotector-all.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-stackprotector-all.c index a3894c5b35..c8a57194f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-stackprotector-all.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-stackprotector-all.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - return puts("hi"); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return puts("hi"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-timerfd.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-timerfd.c index 61a3c98733..9c72c697a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-timerfd.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-timerfd.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * test for timerfd functions used by perf-kvm-stat-live - */ -#include - -int main(void) -{ - struct itimerspec new_value; - - int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); - if (fd < 0) - return 1; - - if (timerfd_settime(fd, 0, &new_value, NULL) != 0) - return 1; - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * test for timerfd functions used by perf-kvm-stat-live + */ +#include + +int main(void) +{ + struct itimerspec new_value; + + int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); + if (fd < 0) + return 1; + + if (timerfd_settime(fd, 0, &new_value, NULL) != 0) + return 1; + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-zlib.c b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-zlib.c index 4225430d17..da6c35794b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-zlib.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/feature/test-zlib.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -int main(void) -{ - z_stream zs; - - inflateInit(&zs); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + z_stream zs; + + inflateInit(&zs); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/Build b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/Build index 7c161ff84b..4d502f9b1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/Build @@ -1,11 +1,11 @@ -ex-y += ex.o -ex-y += a.o -ex-y += b.o -ex-y += b.o -ex-y += empty/ -ex-y += empty2/ -ex-y += inc.o - -libex-y += c.o -libex-y += d.o -libex-y += arch/ +ex-y += ex.o +ex-y += a.o +ex-y += b.o +ex-y += b.o +ex-y += empty/ +ex-y += empty2/ +ex-y += inc.o + +libex-y += c.o +libex-y += d.o +libex-y += arch/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/empty2/README b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/empty2/README index 07db633ee8..2107cc5bf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/empty2/README +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/empty2/README @@ -1,2 +1,2 @@ -This directory is left intentionally without Build file -to test proper nesting into Build-less directories. +This directory is left intentionally without Build file +to test proper nesting into Build-less directories. diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/ex.c b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/ex.c index 04d4a356a0..3c02756ef9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/ex.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/ex.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 - -int a(void); -int b(void); -int c(void); -int d(void); -int e(void); -int f(void); -int inc(void); - -int main(void) -{ - a(); - b(); - c(); - d(); - e(); - f(); - inc(); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +int a(void); +int b(void); +int c(void); +int d(void); +int e(void); +int f(void); +int inc(void); + +int main(void) +{ + a(); + b(); + c(); + d(); + e(); + f(); + inc(); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/inc.c b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/inc.c index 3d609c493c..3636ab5bf3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/inc.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/build/tests/ex/inc.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifdef INCLUDE -#include "krava.h" -#endif - -int inc(void) -{ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#ifdef INCLUDE +#include "krava.h" +#endif + +int inc(void) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/counter/Build b/image/debian/UFI003_MB_V02/kernel/tools/counter/Build index 6940326bb6..4bbadb7ec9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/counter/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/counter/Build @@ -1,2 +1,2 @@ -counter_example-y += counter_example.o -counter_watch_events-y += counter_watch_events.o +counter_example-y += counter_example.o +counter_watch_events-y += counter_watch_events.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/crypto/ccp/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/crypto/ccp/Makefile index 470fb0df91..ae4a66d155 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/crypto/ccp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/crypto/ccp/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include - -TARGET = dbc_library.so - -all: $(TARGET) - -dbc_library.so: dbc.c - $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< - chmod -x $@ - -clean: - $(RM) $(TARGET) +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include + +TARGET = dbc_library.so + +all: $(TARGET) + +dbc_library.so: dbc.c + $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< + chmod -x $@ + +clean: + $(RM) $(TARGET) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/debugging/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/debugging/Makefile index 6b7dacb0b0..e2b7c1a6fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/debugging/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/debugging/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for debugging tools - -PREFIX ?= /usr -BINDIR ?= bin -INSTALL ?= install - -TARGET = kernel-chktaint - -all: $(TARGET) - -clean: - -install: kernel-chktaint - $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET) - +# SPDX-License-Identifier: GPL-2.0 +# Makefile for debugging tools + +PREFIX ?= /usr +BINDIR ?= bin +INSTALL ?= install + +TARGET = kernel-chktaint + +all: $(TARGET) + +clean: + +install: kernel-chktaint + $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET) + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/firmware/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/firmware/Makefile index ae1260251b..cfb297e6ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/firmware/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/firmware/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for firmware tools - -CFLAGS = -Wall -Wextra -g - -all: ihex2fw -%: %.c - $(CC) $(CFLAGS) -o $@ $^ - -clean: - $(RM) ihex2fw - -.PHONY: all clean +# SPDX-License-Identifier: GPL-2.0 +# Makefile for firmware tools + +CFLAGS = -Wall -Wextra -g + +all: ihex2fw +%: %.c + $(CC) $(CFLAGS) -o $@ $^ + +clean: + $(RM) ihex2fw + +.PHONY: all clean diff --git a/image/debian/UFI003_MB_V02/kernel/tools/gpio/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/gpio/.gitignore index 2a12294331..a00d604027 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/gpio/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/gpio/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -gpio-event-mon -gpio-hammer -gpio-watch -lsgpio -include/linux/gpio.h +# SPDX-License-Identifier: GPL-2.0-only +gpio-event-mon +gpio-hammer +gpio-watch +lsgpio +include/linux/gpio.h diff --git a/image/debian/UFI003_MB_V02/kernel/tools/gpio/Build b/image/debian/UFI003_MB_V02/kernel/tools/gpio/Build index fc06c56f7c..67c7b7f6a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/gpio/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/gpio/Build @@ -1,5 +1,5 @@ -gpio-utils-y += gpio-utils.o -lsgpio-y += lsgpio.o gpio-utils.o -gpio-hammer-y += gpio-hammer.o gpio-utils.o -gpio-event-mon-y += gpio-event-mon.o gpio-utils.o -gpio-watch-y += gpio-watch.o +gpio-utils-y += gpio-utils.o +lsgpio-y += lsgpio.o gpio-utils.o +gpio-hammer-y += gpio-hammer.o gpio-utils.o +gpio-event-mon-y += gpio-event-mon.o gpio-utils.o +gpio-watch-y += gpio-watch.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/hv/Build b/image/debian/UFI003_MB_V02/kernel/tools/hv/Build index e3f9410695..7d1f169806 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/hv/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/hv/Build @@ -1,4 +1,4 @@ -hv_kvp_daemon-y += hv_kvp_daemon.o -hv_vss_daemon-y += hv_vss_daemon.o -hv_fcopy_uio_daemon-y += hv_fcopy_uio_daemon.o -hv_fcopy_uio_daemon-y += vmbus_bufring.o +hv_kvp_daemon-y += hv_kvp_daemon.o +hv_vss_daemon-y += hv_vss_daemon.o +hv_fcopy_uio_daemon-y += hv_fcopy_uio_daemon.o +hv_fcopy_uio_daemon-y += vmbus_bufring.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/iio/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/iio/.gitignore index 9829c198a2..5bd6f4df98 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/iio/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/iio/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -iio_event_monitor -iio_generic_buffer -lsiio -include/ +# SPDX-License-Identifier: GPL-2.0-only +iio_event_monitor +iio_generic_buffer +lsiio +include/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/iio/Build b/image/debian/UFI003_MB_V02/kernel/tools/iio/Build index 5f1d71ff4a..8d0f3af372 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/iio/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/iio/Build @@ -1,4 +1,4 @@ -iio_utils-y += iio_utils.o -lsiio-y += lsiio.o iio_utils.o -iio_event_monitor-y += iio_event_monitor.o iio_utils.o -iio_generic_buffer-y += iio_generic_buffer.o iio_utils.o +iio_utils-y += iio_utils.o +lsiio-y += lsiio.o iio_utils.o +iio_event_monitor-y += iio_event_monitor.o iio_utils.o +iio_generic_buffer-y += iio_generic_buffer.o iio_utils.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/__ffz.h b/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/__ffz.h index dc024636be..6744bd4cdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/__ffz.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/__ffz.h @@ -1,12 +1,12 @@ -#ifndef _ASM_GENERIC_BITOPS_FFZ_H_ -#define _ASM_GENERIC_BITOPS_FFZ_H_ - -/* - * ffz - find first zero in word. - * @word: The word to search - * - * Undefined if no zero exists, so code should check against ~0UL first. - */ -#define ffz(x) __ffs(~(x)) - -#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */ +#ifndef _ASM_GENERIC_BITOPS_FFZ_H_ +#define _ASM_GENERIC_BITOPS_FFZ_H_ + +/* + * ffz - find first zero in word. + * @word: The word to search + * + * Undefined if no zero exists, so code should check against ~0UL first. + */ +#define ffz(x) __ffs(~(x)) + +#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/hweight.h b/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/hweight.h index f43acb9180..3e681982bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/hweight.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/asm-generic/bitops/hweight.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ -#define _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ - -#include -#include - -#endif /* _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ +#define _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ + +#include +#include + +#endif /* _TOOLS_LINUX_ASM_GENERIC_BITOPS_HWEIGHT_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/atomic.h b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/atomic.h index 910921bd30..8c9bfffd41 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/atomic.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/atomic.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __TOOLS_LINUX_ASM_ATOMIC_H -#define __TOOLS_LINUX_ASM_ATOMIC_H - -#if defined(__i386__) || defined(__x86_64__) -#include "../../arch/x86/include/asm/atomic.h" -#else -#include -#endif - -#endif /* __TOOLS_LINUX_ASM_ATOMIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TOOLS_LINUX_ASM_ATOMIC_H +#define __TOOLS_LINUX_ASM_ATOMIC_H + +#if defined(__i386__) || defined(__x86_64__) +#include "../../arch/x86/include/asm/atomic.h" +#else +#include +#endif + +#endif /* __TOOLS_LINUX_ASM_ATOMIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/export.h b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/export.h index 46119fb616..2cb1a0d830 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/export.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/export.h @@ -1,7 +1,7 @@ -#ifndef _TOOLS_ASM_EXPORT_H -#define _TOOLS_ASM_EXPORT_H - -#define EXPORT_SYMBOL(x) -#define EXPORT_SYMBOL_GPL(x) - -#endif /* _TOOLS_ASM_EXPORT_H */ +#ifndef _TOOLS_ASM_EXPORT_H +#define _TOOLS_ASM_EXPORT_H + +#define EXPORT_SYMBOL(x) +#define EXPORT_SYMBOL_GPL(x) + +#endif /* _TOOLS_ASM_EXPORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/sections.h index f802567ccc..a80643d7a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/asm/sections.h @@ -1,4 +1,4 @@ -#ifndef __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H -#define __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H - -#endif /* __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H */ +#ifndef __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H +#define __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H + +#endif /* __TOOLS_INCLUDE_LINUX_ASM_SECTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/align.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/align.h index 7ab535f6e9..14e34ace80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/align.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/align.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef _TOOLS_LINUX_ALIGN_H -#define _TOOLS_LINUX_ALIGN_H - -#include - -#define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) -#define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) -#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) - -#endif /* _TOOLS_LINUX_ALIGN_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _TOOLS_LINUX_ALIGN_H +#define _TOOLS_LINUX_ALIGN_H + +#include + +#define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) +#define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) +#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) + +#endif /* _TOOLS_LINUX_ALIGN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/cache.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/cache.h index c8a6c8ec2f..9e9d585f0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/cache.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_LINUX_CACHE_H -#define _TOOLS_LINUX_CACHE_H - -#define L1_CACHE_SHIFT 5 -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define SMP_CACHE_BYTES L1_CACHE_BYTES - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_LINUX_CACHE_H +#define _TOOLS_LINUX_CACHE_H + +#define L1_CACHE_SHIFT 5 +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define SMP_CACHE_BYTES L1_CACHE_BYTES + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/const.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/const.h index 2f690ea0f6..81b8aae5a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/const.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/const.h @@ -1,6 +1,6 @@ -#ifndef _LINUX_CONST_H -#define _LINUX_CONST_H - -#include - -#endif /* _LINUX_CONST_H */ +#ifndef _LINUX_CONST_H +#define _LINUX_CONST_H + +#include + +#endif /* _LINUX_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/debugfs.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/debugfs.h index d8c3247316..4ba06140b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/debugfs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/debugfs.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_DEBUGFS_H -#define _TOOLS_DEBUGFS_H - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_DEBUGFS_H +#define _TOOLS_DEBUGFS_H + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/delay.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/delay.h index f005678692..55aa4173af 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/delay.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_INCLUDE_LINUX_DELAY_H -#define _TOOLS_INCLUDE_LINUX_DELAY_H - -#endif /* _TOOLS_INCLUDE_LINUX_DELAY_H */ +#ifndef _TOOLS_INCLUDE_LINUX_DELAY_H +#define _TOOLS_INCLUDE_LINUX_DELAY_H + +#endif /* _TOOLS_INCLUDE_LINUX_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/export.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/export.h index aaf765fde3..acb6f4daa2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/export.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/export.h @@ -1,7 +1,7 @@ -#ifndef _TOOLS_LINUX_EXPORT_H_ -#define _TOOLS_LINUX_EXPORT_H_ - -#define EXPORT_SYMBOL(sym) -#define EXPORT_SYMBOL_GPL(sym) - -#endif +#ifndef _TOOLS_LINUX_EXPORT_H_ +#define _TOOLS_LINUX_EXPORT_H_ + +#define EXPORT_SYMBOL(sym) +#define EXPORT_SYMBOL_GPL(sym) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/ftrace.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/ftrace.h index 848d8003bc..949f541ce1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/ftrace.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/ftrace.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_INCLUDE_LINUX_FTRACE_H -#define _TOOLS_INCLUDE_LINUX_FTRACE_H - -#endif /* _TOOLS_INCLUDE_LINUX_FTRACE_H */ +#ifndef _TOOLS_INCLUDE_LINUX_FTRACE_H +#define _TOOLS_INCLUDE_LINUX_FTRACE_H + +#endif /* _TOOLS_INCLUDE_LINUX_FTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/gfp.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/gfp.h index cc6ccd0ada..6a10ff5f5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/gfp.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/gfp.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_INCLUDE_LINUX_GFP_H -#define _TOOLS_INCLUDE_LINUX_GFP_H - -#include -#include - -static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) -{ - return !!(gfp_flags & __GFP_DIRECT_RECLAIM); -} - -#endif /* _TOOLS_INCLUDE_LINUX_GFP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_INCLUDE_LINUX_GFP_H +#define _TOOLS_INCLUDE_LINUX_GFP_H + +#include +#include + +static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) +{ + return !!(gfp_flags & __GFP_DIRECT_RECLAIM); +} + +#endif /* _TOOLS_INCLUDE_LINUX_GFP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/interrupt.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/interrupt.h index ff241e3093..6be25bbdca 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/interrupt.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/interrupt.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_INCLUDE_LINUX_INTERRUPT_H -#define _TOOLS_INCLUDE_LINUX_INTERRUPT_H - -#endif /* _TOOLS_INCLUDE_LINUX_INTERRUPT_H */ +#ifndef _TOOLS_INCLUDE_LINUX_INTERRUPT_H +#define _TOOLS_INCLUDE_LINUX_INTERRUPT_H + +#endif /* _TOOLS_INCLUDE_LINUX_INTERRUPT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/io.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/io.h index 499cd78389..e129871fe6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/io.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/io.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_IO_H -#define _TOOLS_IO_H - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_IO_H +#define _TOOLS_IO_H + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/linkage.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/linkage.h index c0d09a68c6..7baaa5898c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/linkage.h @@ -1,12 +1,12 @@ -#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H -#define _TOOLS_INCLUDE_LINUX_LINKAGE_H - -#include - -#define SYM_FUNC_START(x) .globl x; x: -#define SYM_FUNC_END(x) -#define SYM_DATA_START(x) .globl x; x: -#define SYM_DATA_START_LOCAL(x) x: -#define SYM_DATA_END(x) - -#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */ +#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H +#define _TOOLS_INCLUDE_LINUX_LINKAGE_H + +#include + +#define SYM_FUNC_START(x) .globl x; x: +#define SYM_FUNC_END(x) +#define SYM_DATA_START(x) .globl x; x: +#define SYM_DATA_START_LOCAL(x) x: +#define SYM_DATA_END(x) + +#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/module.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/module.h index 77c76a45ac..2c999abf68 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/module.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/module.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LIBLOCKDEP_LINUX_MODULE_H_ -#define _LIBLOCKDEP_LINUX_MODULE_H_ - -#define module_param(name, type, perm) - -static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) -{ - return false; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LIBLOCKDEP_LINUX_MODULE_H_ +#define _LIBLOCKDEP_LINUX_MODULE_H_ + +#define module_param(name, type, perm) + +static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) +{ + return false; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/mutex.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/mutex.h index 455c19a337..a8180d25f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/mutex.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/mutex.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_INCLUDE_LINUX_MUTEX_H -#define _TOOLS_INCLUDE_LINUX_MUTEX_H - -#endif /* _TOOLS_INCLUDE_LINUX_MUTEX_H */ +#ifndef _TOOLS_INCLUDE_LINUX_MUTEX_H +#define _TOOLS_INCLUDE_LINUX_MUTEX_H + +#endif /* _TOOLS_INCLUDE_LINUX_MUTEX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/panic.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/panic.h index 9f974d3d4c..9c8f17a41c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/panic.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/panic.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_LINUX_PANIC_H -#define _TOOLS_LINUX_PANIC_H - -#include -#include -#include - -static inline void panic(const char *fmt, ...) -{ - va_list argp; - - va_start(argp, fmt); - vfprintf(stderr, fmt, argp); - va_end(argp); - exit(-1); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_LINUX_PANIC_H +#define _TOOLS_LINUX_PANIC_H + +#include +#include +#include + +static inline void panic(const char *fmt, ...) +{ + va_list argp; + + va_start(argp, fmt); + vfprintf(stderr, fmt, argp); + va_end(argp); + exit(-1); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/pfn.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/pfn.h index 71652ef713..f77a30d701 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/pfn.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/pfn.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_LINUX_PFN_H_ -#define _TOOLS_LINUX_PFN_H_ - -#include - -#define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) -#define PFN_DOWN(x) ((x) >> PAGE_SHIFT) -#define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) -#define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_LINUX_PFN_H_ +#define _TOOLS_LINUX_PFN_H_ + +#include + +#define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) +#define PFN_DOWN(x) ((x) >> PAGE_SHIFT) +#define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) +#define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/clock.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/clock.h index ab78eb660b..5837d17c41 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/clock.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/clock.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_PERF_LINUX_SCHED_CLOCK_H -#define _TOOLS_PERF_LINUX_SCHED_CLOCK_H - -#endif /* _TOOLS_PERF_LINUX_SCHED_CLOCK_H */ +#ifndef _TOOLS_PERF_LINUX_SCHED_CLOCK_H +#define _TOOLS_PERF_LINUX_SCHED_CLOCK_H + +#endif /* _TOOLS_PERF_LINUX_SCHED_CLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/mm.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/mm.h index f425dcfe51..967294b8ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/mm.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/mm.h @@ -1,6 +1,6 @@ -#ifndef _TOOLS_PERF_LINUX_SCHED_MM_H -#define _TOOLS_PERF_LINUX_SCHED_MM_H - -#define might_alloc(gfp) do { } while (0) - -#endif /* _TOOLS_PERF_LINUX_SCHED_MM_H */ +#ifndef _TOOLS_PERF_LINUX_SCHED_MM_H +#define _TOOLS_PERF_LINUX_SCHED_MM_H + +#define might_alloc(gfp) do { } while (0) + +#endif /* _TOOLS_PERF_LINUX_SCHED_MM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/task.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/task.h index 8fe928d77f..a97890eca1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/task.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/sched/task.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_PERF_LINUX_SCHED_TASK_H -#define _TOOLS_PERF_LINUX_SCHED_TASK_H - -#endif /* _TOOLS_PERF_LINUX_SCHED_TASK_H */ +#ifndef _TOOLS_PERF_LINUX_SCHED_TASK_H +#define _TOOLS_PERF_LINUX_SCHED_TASK_H + +#endif /* _TOOLS_PERF_LINUX_SCHED_TASK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/seq_file.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/seq_file.h index a4f639b3a5..f6bc226af0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/seq_file.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/seq_file.h @@ -1,6 +1,6 @@ -#ifndef _TOOLS_INCLUDE_LINUX_SEQ_FILE_H -#define _TOOLS_INCLUDE_LINUX_SEQ_FILE_H - -struct seq_file; - -#endif /* _TOOLS_INCLUDE_LINUX_SEQ_FILE_H */ +#ifndef _TOOLS_INCLUDE_LINUX_SEQ_FILE_H +#define _TOOLS_INCLUDE_LINUX_SEQ_FILE_H + +struct seq_file; + +#endif /* _TOOLS_INCLUDE_LINUX_SEQ_FILE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/zalloc.h b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/zalloc.h index 6967e34fbc..81099c8404 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/linux/zalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/linux/zalloc.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: LGPL-2.1 -#ifndef __TOOLS_LINUX_ZALLOC_H -#define __TOOLS_LINUX_ZALLOC_H - -#include - -void *zalloc(size_t size); -void __zfree(void **ptr); - -#define zfree(ptr) __zfree((void **)(ptr)) - -#endif // __TOOLS_LINUX_ZALLOC_H +// SPDX-License-Identifier: LGPL-2.1 +#ifndef __TOOLS_LINUX_ZALLOC_H +#define __TOOLS_LINUX_ZALLOC_H + +#include + +void *zalloc(size_t size); +void __zfree(void **ptr); + +#define zfree(ptr) __zfree((void **)(ptr)) + +#endif // __TOOLS_LINUX_ZALLOC_H diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/nolibc/stdbool.h b/image/debian/UFI003_MB_V02/kernel/tools/include/nolibc/stdbool.h index af6187476e..60feece22f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/nolibc/stdbool.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/nolibc/stdbool.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ -/* - * Boolean types support for NOLIBC - * Copyright (C) 2024 Thomas Weißschuh - */ - -#ifndef _NOLIBC_STDBOOL_H -#define _NOLIBC_STDBOOL_H - -#define bool _Bool -#define true 1 -#define false 0 - -#define __bool_true_false_are_defined 1 - -#endif /* _NOLIBC_STDBOOL_H */ +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ +/* + * Boolean types support for NOLIBC + * Copyright (C) 2024 Thomas Weißschuh + */ + +#ifndef _NOLIBC_STDBOOL_H +#define _NOLIBC_STDBOOL_H + +#define bool _Bool +#define true 1 +#define false 0 + +#define __bool_true_false_are_defined 1 + +#endif /* _NOLIBC_STDBOOL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/trace/events/lock.h b/image/debian/UFI003_MB_V02/kernel/tools/include/trace/events/lock.h index 5936139ced..5b15fd5ee1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/trace/events/lock.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/trace/events/lock.h @@ -1,4 +1,4 @@ -#ifndef _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H -#define _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H - -#endif /* _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H */ +#ifndef _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H +#define _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H + +#endif /* _TOOLS_INCLUDE_TRACE_EVENTS_LOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/uapi/asm-generic/bpf_perf_event.h b/image/debian/UFI003_MB_V02/kernel/tools/include/uapi/asm-generic/bpf_perf_event.h index 1269558db1..53815d2cd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/uapi/asm-generic/bpf_perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/uapi/asm-generic/bpf_perf_event.h @@ -1,9 +1,9 @@ -#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ -#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ - -#include - -/* Export kernel pt_regs structure */ -typedef struct pt_regs bpf_user_pt_regs_t; - -#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */ +#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ + +#include + +/* Export kernel pt_regs structure */ +typedef struct pt_regs bpf_user_pt_regs_t; + +#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/bits.h b/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/bits.h index f67098a443..388b212088 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/bits.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/bits.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_BITS_H -#define __VDSO_BITS_H - -#include - -#define BIT(nr) (UL(1) << (nr)) -#define BIT_ULL(nr) (ULL(1) << (nr)) - -#endif /* __VDSO_BITS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_BITS_H +#define __VDSO_BITS_H + +#include + +#define BIT(nr) (UL(1) << (nr)) +#define BIT_ULL(nr) (ULL(1) << (nr)) + +#endif /* __VDSO_BITS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/const.h b/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/const.h index 37cd42ffd2..94b385ad43 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/const.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/include/vdso/const.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VDSO_CONST_H -#define __VDSO_CONST_H - -#include - -#define UL(x) (_UL(x)) -#define ULL(x) (_ULL(x)) - -#endif /* __VDSO_CONST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_CONST_H +#define __VDSO_CONST_H + +#include + +#define UL(x) (_UL(x)) +#define ULL(x) (_ULL(x)) + +#endif /* __VDSO_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/laptop/dslm/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/laptop/dslm/Makefile index fce729d593..90f512c4e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/laptop/dslm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/laptop/dslm/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -CC := $(CROSS_COMPILE)gcc -CFLAGS := -I../../usr/include - -PROGS := dslm - -all: $(PROGS) - -clean: - rm -fr $(PROGS) +# SPDX-License-Identifier: GPL-2.0 +CC := $(CROSS_COMPILE)gcc +CFLAGS := -I../../usr/include + +PROGS := dslm + +all: $(PROGS) + +clean: + rm -fr $(PROGS) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/laptop/freefall/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/laptop/freefall/Makefile index d9957d0abe..b572d94255 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/laptop/freefall/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/laptop/freefall/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -PREFIX ?= /usr -SBINDIR ?= sbin -INSTALL ?= install - -TARGET = freefall - -all: $(TARGET) - -%: %.c - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< - -clean: - $(RM) $(TARGET) - -install: freefall - $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET) +# SPDX-License-Identifier: GPL-2.0 +PREFIX ?= /usr +SBINDIR ?= sbin +INSTALL ?= install + +TARGET = freefall + +all: $(TARGET) + +%: %.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + +clean: + $(RM) $(TARGET) + +install: freefall + $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/leds/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/leds/Makefile index 683d90541d..7b6bed13da 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/leds/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/leds/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for LEDs tools - -CFLAGS = -Wall -Wextra -g -I../../include/uapi - -all: uledmon led_hw_brightness_mon -%: %.c - $(CC) $(CFLAGS) -o $@ $^ - -clean: - $(RM) uledmon led_hw_brightness_mon - -.PHONY: all clean +# SPDX-License-Identifier: GPL-2.0 +# Makefile for LEDs tools + +CFLAGS = -Wall -Wextra -g -I../../include/uapi + +all: uledmon led_hw_brightness_mon +%: %.c + $(CC) $(CFLAGS) -o $@ $^ + +clean: + $(RM) uledmon led_hw_brightness_mon + +.PHONY: all clean diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/Build index 79e4171ad9..6e2373db55 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/Build @@ -1,9 +1,9 @@ -libapi-y += fd/ -libapi-y += fs/ -libapi-y += cpu.o -libapi-y += debug.o -libapi-y += str_error_r.o - -$(OUTPUT)str_error_r.o: ../str_error_r.c FORCE - $(call rule_mkdir) - $(call if_changed_dep,cc_o_c) +libapi-y += fd/ +libapi-y += fs/ +libapi-y += cpu.o +libapi-y += debug.o +libapi-y += str_error_r.o + +$(OUTPUT)str_error_r.o: ../str_error_r.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/cpu.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/cpu.h index de77e13714..90a102fb20 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/cpu.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __API_CPU__ -#define __API_CPU__ - -int cpu__get_max_freq(unsigned long long *freq); - -#endif /* __API_CPU__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __API_CPU__ +#define __API_CPU__ + +int cpu__get_max_freq(unsigned long long *freq); + +#endif /* __API_CPU__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/debug.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/debug.h index 27e2c68593..3684dd6e0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/api/debug.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/api/debug.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __API_DEBUG_H__ -#define __API_DEBUG_H__ - -typedef int (*libapi_print_fn_t)(const char *, ...); - -void libapi_set_print(libapi_print_fn_t warn, - libapi_print_fn_t info, - libapi_print_fn_t debug); - -#endif /* __API_DEBUG_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __API_DEBUG_H__ +#define __API_DEBUG_H__ + +typedef int (*libapi_print_fn_t)(const char *, ...); + +void libapi_set_print(libapi_print_fn_t warn, + libapi_print_fn_t info, + libapi_print_fn_t debug); + +#endif /* __API_DEBUG_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/.gitignore index 78db71ce1d..f02725b123 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -libbpf.pc -libbpf.so.* -TAGS -tags -cscope.* -/bpf_helper_defs.h -fixdep +# SPDX-License-Identifier: GPL-2.0-only +libbpf.pc +libbpf.so.* +TAGS +tags +cscope.* +/bpf_helper_defs.h +fixdep diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/Build index 288b407200..e2cd558ca0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/Build @@ -1,4 +1,4 @@ -libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_errno.o str_error.o \ - netlink.o bpf_prog_linfo.o libbpf_probes.o hashmap.o \ - btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \ - usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o +libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_errno.o str_error.o \ + netlink.o bpf_prog_linfo.o libbpf_probes.o hashmap.o \ + btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \ + usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf.pc.template b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf.pc.template index 9806283085..b45ed534bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf.pc.template +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf.pc.template @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - -prefix=@PREFIX@ -libdir=@LIBDIR@ -includedir=${prefix}/include - -Name: libbpf -Description: BPF library -Version: @VERSION@ -Libs: -L${libdir} -lbpf -Requires.private: libelf zlib -Cflags: -I${includedir} +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=${prefix}/include + +Name: libbpf +Description: BPF library +Version: @VERSION@ +Libs: -L${libdir} -lbpf +Requires.private: libelf zlib +Cflags: -I${includedir} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf_version.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf_version.h index 2c60724c6d..d6e5eff967 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf_version.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/libbpf_version.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ -/* Copyright (C) 2021 Facebook */ -#ifndef __LIBBPF_VERSION_H -#define __LIBBPF_VERSION_H - -#define LIBBPF_MAJOR_VERSION 1 -#define LIBBPF_MINOR_VERSION 5 - -#endif /* __LIBBPF_VERSION_H */ +/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ +/* Copyright (C) 2021 Facebook */ +#ifndef __LIBBPF_VERSION_H +#define __LIBBPF_VERSION_H + +#define LIBBPF_MAJOR_VERSION 1 +#define LIBBPF_MINOR_VERSION 5 + +#endif /* __LIBBPF_VERSION_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/str_error.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/str_error.h index cb3aad6dd4..626d7ffb03 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/str_error.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/bpf/str_error.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ -#ifndef __LIBBPF_STR_ERROR_H -#define __LIBBPF_STR_ERROR_H - -#define STRERR_BUFSIZE 128 - -char *libbpf_strerror_r(int err, char *dst, int len); - -#endif /* __LIBBPF_STR_ERROR_H */ +/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ +#ifndef __LIBBPF_STR_ERROR_H +#define __LIBBPF_STR_ERROR_H + +#define STRERR_BUFSIZE 128 + +char *libbpf_strerror_r(int err, char *dst, int len); + +#endif /* __LIBBPF_STR_ERROR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/.gitignore index 327a182826..0f5b4af63f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -libperf.pc -libperf.so.* -tests-shared -tests-static +# SPDX-License-Identifier: GPL-2.0-only +libperf.pc +libperf.so.* +tests-shared +tests-static diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/Build index 36f6279f60..e8f5b7fb99 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/Build @@ -1,15 +1,15 @@ -libperf-y += core.o -libperf-y += cpumap.o -libperf-y += threadmap.o -libperf-y += evsel.o -libperf-y += evlist.o -libperf-y += mmap.o -libperf-y += zalloc.o -libperf-y += xyarray.o -libperf-y += lib.o - -$(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE - $(call rule_mkdir) - $(call if_changed_dep,cc_o_c) - -tests-y += tests/ +libperf-y += core.o +libperf-y += cpumap.o +libperf-y += threadmap.o +libperf-y += evsel.o +libperf-y += evlist.o +libperf-y += mmap.o +libperf-y += zalloc.o +libperf-y += xyarray.o +libperf-y += lib.o + +$(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) + +tests-y += tests/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/libperf.pc.template b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/libperf.pc.template index 182245863a..117e4a237b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/libperf.pc.template +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/libperf.pc.template @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - -prefix=@PREFIX@ -libdir=@LIBDIR@ -includedir=${prefix}/include - -Name: libperf -Description: perf library -Version: @VERSION@ -Libs: -L${libdir} -lperf -Cflags: -I${includedir} +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=${prefix}/include + +Name: libperf +Description: perf library +Version: @VERSION@ +Libs: -L${libdir} -lperf +Cflags: -I${includedir} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/Build index bd340265ce..56e81378d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/Build @@ -1,5 +1,5 @@ -tests-y += main.o -tests-y += test-evsel.o -tests-y += test-evlist.o -tests-y += test-cpumap.o -tests-y += test-threadmap.o +tests-y += main.o +tests-y += test-evsel.o +tests-y += test-evlist.o +tests-y += test-cpumap.o +tests-y += test-threadmap.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/tests.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/tests.h index edfd644398..604838f21b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/tests.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/perf/tests/tests.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef TESTS_H -#define TESTS_H - -int test_cpumap(int argc, char **argv); -int test_threadmap(int argc, char **argv); -int test_evlist(int argc, char **argv); -int test_evsel(int argc, char **argv); - -#endif /* TESTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef TESTS_H +#define TESTS_H + +int test_cpumap(int argc, char **argv); +int test_threadmap(int argc, char **argv); +int test_evlist(int argc, char **argv); +int test_evsel(int argc, char **argv); + +#endif /* TESTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/Build index 93996a5fcc..ee31288788 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/Build @@ -1,7 +1,7 @@ -libsubcmd-y += exec-cmd.o -libsubcmd-y += help.o -libsubcmd-y += pager.o -libsubcmd-y += parse-options.o -libsubcmd-y += run-command.o -libsubcmd-y += sigchain.o -libsubcmd-y += subcmd-config.o +libsubcmd-y += exec-cmd.o +libsubcmd-y += help.o +libsubcmd-y += pager.o +libsubcmd-y += parse-options.o +libsubcmd-y += run-command.o +libsubcmd-y += sigchain.o +libsubcmd-y += subcmd-config.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/pager.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/pager.h index ce4817e9ec..a818964693 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/pager.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/pager.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SUBCMD_PAGER_H -#define __SUBCMD_PAGER_H - -extern void pager_init(const char *pager_env); - -extern void setup_pager(void); -extern int pager_in_use(void); -extern int pager_get_columns(void); -extern void force_pager(const char *); - -#endif /* __SUBCMD_PAGER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SUBCMD_PAGER_H +#define __SUBCMD_PAGER_H + +extern void pager_init(const char *pager_env); + +extern void setup_pager(void); +extern int pager_in_use(void); +extern int pager_get_columns(void); +extern void force_pager(const char *); + +#endif /* __SUBCMD_PAGER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/sigchain.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/sigchain.h index 02ced77e22..1ec663af43 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/sigchain.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/sigchain.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SUBCMD_SIGCHAIN_H -#define __SUBCMD_SIGCHAIN_H - -typedef void (*sigchain_fun)(int); - -int sigchain_pop(int sig); - -void sigchain_push_common(sigchain_fun f); - -#endif /* __SUBCMD_SIGCHAIN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SUBCMD_SIGCHAIN_H +#define __SUBCMD_SIGCHAIN_H + +typedef void (*sigchain_fun)(int); + +int sigchain_pop(int sig); + +void sigchain_push_common(sigchain_fun f); + +#endif /* __SUBCMD_SIGCHAIN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.c b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.c index 6a60428570..84a7cf6c78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "subcmd-config.h" - -#define UNDEFINED "SUBCMD_HAS_NOT_BEEN_INITIALIZED" - -struct subcmd_config subcmd_config = { - .exec_name = UNDEFINED, - .prefix = UNDEFINED, - .exec_path = UNDEFINED, - .exec_path_env = UNDEFINED, - .pager_env = UNDEFINED, -}; +// SPDX-License-Identifier: GPL-2.0 +#include "subcmd-config.h" + +#define UNDEFINED "SUBCMD_HAS_NOT_BEEN_INITIALIZED" + +struct subcmd_config subcmd_config = { + .exec_name = UNDEFINED, + .prefix = UNDEFINED, + .exec_path = UNDEFINED, + .exec_path_env = UNDEFINED, + .pager_env = UNDEFINED, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.h b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.h index 4d51bb6ea2..9024dc17d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/subcmd/subcmd-config.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_SUBCMD_CONFIG_H -#define __PERF_SUBCMD_CONFIG_H - -struct subcmd_config { - const char *exec_name; - const char *prefix; - const char *exec_path; - const char *exec_path_env; - const char *pager_env; -}; - -extern struct subcmd_config subcmd_config; - -#endif /* __PERF_SUBCMD_CONFIG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_SUBCMD_CONFIG_H +#define __PERF_SUBCMD_CONFIG_H + +struct subcmd_config { + const char *exec_name; + const char *prefix; + const char *exec_path; + const char *exec_path_env; + const char *pager_env; +}; + +extern struct subcmd_config subcmd_config; + +#endif /* __PERF_SUBCMD_CONFIG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/Build b/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/Build index ea6a53b165..4a892d9e24 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/Build @@ -1,5 +1,5 @@ -libthermal-y += commands.o -libthermal-y += events.o -libthermal-y += thermal_nl.o -libthermal-y += sampling.o -libthermal-y += thermal.o +libthermal-y += commands.o +libthermal-y += events.o +libthermal-y += thermal_nl.o +libthermal-y += sampling.o +libthermal-y += thermal.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/libthermal.pc.template b/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/libthermal.pc.template index acef5137fb..ac24d0ab17 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/libthermal.pc.template +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/thermal/libthermal.pc.template @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - -prefix=@PREFIX@ -libdir=@LIBDIR@ -includedir=${prefix}/include - -Name: libthermal -Description: thermal library -Requires: libnl-3.0 libnl-genl-3.0 -Version: @VERSION@ -Libs: -L${libdir} -lnl-genl-3 -lnl-3 -Cflags: -I${includedir} -I${include}/libnl3 +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=${prefix}/include + +Name: libthermal +Description: thermal library +Requires: libnl-3.0 libnl-genl-3.0 +Version: @VERSION@ +Libs: -L${libdir} -lnl-genl-3 -lnl-3 +Cflags: -I${includedir} -I${include}/libnl3 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/lib/zalloc.c b/image/debian/UFI003_MB_V02/kernel/tools/lib/zalloc.c index 56d719db83..9c856d59f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/lib/zalloc.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/lib/zalloc.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: LGPL-2.1 - -#include -#include - -void *zalloc(size_t size) -{ - return calloc(1, size); -} - -void __zfree(void **ptr) -{ - free(*ptr); - *ptr = NULL; -} +// SPDX-License-Identifier: LGPL-2.1 + +#include +#include + +void *zalloc(size_t size) +{ + return calloc(1, size); +} + +void __zfree(void **ptr) +{ + free(*ptr); + *ptr = NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRR+poonceonce+Once.litmus b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRR+poonceonce+Once.litmus index dadc66be0f..967f9f2a62 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRR+poonceonce+Once.litmus +++ b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRR+poonceonce+Once.litmus @@ -1,26 +1,26 @@ -C CoRR+poonceonce+Once - -(* - * Result: Never - * - * Test of read-read coherence, that is, whether or not two successive - * reads from the same variable are ordered. - *) - -{} - -P0(int *x) -{ - WRITE_ONCE(*x, 1); -} - -P1(int *x) -{ - int r0; - int r1; - - r0 = READ_ONCE(*x); - r1 = READ_ONCE(*x); -} - -exists (1:r0=1 /\ 1:r1=0) +C CoRR+poonceonce+Once + +(* + * Result: Never + * + * Test of read-read coherence, that is, whether or not two successive + * reads from the same variable are ordered. + *) + +{} + +P0(int *x) +{ + WRITE_ONCE(*x, 1); +} + +P1(int *x) +{ + int r0; + int r1; + + r0 = READ_ONCE(*x); + r1 = READ_ONCE(*x); +} + +exists (1:r0=1 /\ 1:r1=0) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRW+poonceonce+Once.litmus b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRW+poonceonce+Once.litmus index 31eac6d844..4635739f39 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRW+poonceonce+Once.litmus +++ b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoRW+poonceonce+Once.litmus @@ -1,25 +1,25 @@ -C CoRW+poonceonce+Once - -(* - * Result: Never - * - * Test of read-write coherence, that is, whether or not a read from - * a given variable and a later write to that same variable are ordered. - *) - -{} - -P0(int *x) -{ - int r0; - - r0 = READ_ONCE(*x); - WRITE_ONCE(*x, 1); -} - -P1(int *x) -{ - WRITE_ONCE(*x, 2); -} - -exists (x=2 /\ 0:r0=2) +C CoRW+poonceonce+Once + +(* + * Result: Never + * + * Test of read-write coherence, that is, whether or not a read from + * a given variable and a later write to that same variable are ordered. + *) + +{} + +P0(int *x) +{ + int r0; + + r0 = READ_ONCE(*x); + WRITE_ONCE(*x, 1); +} + +P1(int *x) +{ + WRITE_ONCE(*x, 2); +} + +exists (x=2 /\ 0:r0=2) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWR+poonceonce+Once.litmus b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWR+poonceonce+Once.litmus index b26d8cc355..bb068c92d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWR+poonceonce+Once.litmus +++ b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWR+poonceonce+Once.litmus @@ -1,25 +1,25 @@ -C CoWR+poonceonce+Once - -(* - * Result: Never - * - * Test of write-read coherence, that is, whether or not a write to a - * given variable and a later read from that same variable are ordered. - *) - -{} - -P0(int *x) -{ - int r0; - - WRITE_ONCE(*x, 1); - r0 = READ_ONCE(*x); -} - -P1(int *x) -{ - WRITE_ONCE(*x, 2); -} - -exists (x=1 /\ 0:r0=2) +C CoWR+poonceonce+Once + +(* + * Result: Never + * + * Test of write-read coherence, that is, whether or not a write to a + * given variable and a later read from that same variable are ordered. + *) + +{} + +P0(int *x) +{ + int r0; + + WRITE_ONCE(*x, 1); + r0 = READ_ONCE(*x); +} + +P1(int *x) +{ + WRITE_ONCE(*x, 2); +} + +exists (x=1 /\ 0:r0=2) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus index d6a7b87a11..0d9f0a9587 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus +++ b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus @@ -1,18 +1,18 @@ -C CoWW+poonceonce - -(* - * Result: Never - * - * Test of write-write coherence, that is, whether or not two successive - * writes to the same variable are ordered. - *) - -{} - -P0(int *x) -{ - WRITE_ONCE(*x, 1); - WRITE_ONCE(*x, 2); -} - -exists (x=1) +C CoWW+poonceonce + +(* + * Result: Never + * + * Test of write-write coherence, that is, whether or not two successive + * writes to the same variable are ordered. + *) + +{} + +P0(int *x) +{ + WRITE_ONCE(*x, 1); + WRITE_ONCE(*x, 2); +} + +exists (x=1) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/LB+poonceonces.litmus b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/LB+poonceonces.litmus index 306f5a38df..74c49cb3c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/LB+poonceonces.litmus +++ b/image/debian/UFI003_MB_V02/kernel/tools/memory-model/litmus-tests/LB+poonceonces.litmus @@ -1,28 +1,28 @@ -C LB+poonceonces - -(* - * Result: Sometimes - * - * Can the counter-intuitive outcome for the load-buffering pattern - * be prevented even with no explicit ordering? - *) - -{} - -P0(int *x, int *y) -{ - int r0; - - r0 = READ_ONCE(*x); - WRITE_ONCE(*y, 1); -} - -P1(int *x, int *y) -{ - int r0; - - r0 = READ_ONCE(*y); - WRITE_ONCE(*x, 1); -} - -exists (0:r0=1 /\ 1:r0=1) +C LB+poonceonces + +(* + * Result: Sometimes + * + * Can the counter-intuitive outcome for the load-buffering pattern + * be prevented even with no explicit ordering? + *) + +{} + +P0(int *x, int *y) +{ + int r0; + + r0 = READ_ONCE(*x); + WRITE_ONCE(*y, 1); +} + +P1(int *x, int *y) +{ + int r0; + + r0 = READ_ONCE(*y); + WRITE_ONCE(*x, 1); +} + +exists (0:r0=1 /\ 1:r0=1) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/mm/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/mm/.gitignore index b825418484..922879f93f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/mm/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/mm/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -slabinfo -page-types -page_owner_sort +# SPDX-License-Identifier: GPL-2.0-only +slabinfo +page-types +page_owner_sort diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/__init__.py b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/__init__.py index bd5e0aff0d..c940e92752 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -# Just to make sphinx-apidoc document this directory +# SPDX-License-Identifier: GPL-2.0 +# Just to make sphinx-apidoc document this directory diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/subcmds/__init__.py b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/subcmds/__init__.py index bd5e0aff0d..c940e92752 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/subcmds/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/subcmds/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -# Just to make sphinx-apidoc document this directory +# SPDX-License-Identifier: GPL-2.0 +# Just to make sphinx-apidoc document this directory diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2 index f6eadc57e1..d648ca4193 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -enum { {{ name }} = {{ value }} }; +{# SPDX-License-Identifier: GPL-2.0 #} + +enum { {{ name }} = {{ value }} }; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/declaration/close.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/declaration/close.j2 index a3c9714555..ab1e576c95 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/declaration/close.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/declaration/close.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/encoder/enum.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/encoder/enum.j2 index bef8c7a361..bd0a770e50 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/encoder/enum.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/enum/encoder/enum.j2 @@ -1,14 +1,14 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* enum {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value) -{ - return xdr_stream_encode_u32(xdr, value) == XDR_UNIT; -} +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* enum {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value) +{ + return xdr_stream_encode_u32(xdr, value) == XDR_UNIT; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/declaration/header.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/declaration/header.j2 index a697553a3a..0bb8c6fc0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/declaration/header.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/declaration/header.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -#endif /* _LINUX_XDRGEN_{{ infix }}_DECL_H */ +{# SPDX-License-Identifier: GPL-2.0 #} + +#endif /* _LINUX_XDRGEN_{{ infix }}_DECL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/definition/header.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/definition/header.j2 index bb0c7359b9..69069d08dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/definition/header.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_bottom/definition/header.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -#endif /* _LINUX_XDRGEN_{{ infix }}_DEF_H */ +{# SPDX-License-Identifier: GPL-2.0 #} + +#endif /* _LINUX_XDRGEN_{{ infix }}_DEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/header.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/header.j2 index 0773b07828..92f1fd4ba0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/header.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/header.j2 @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Generated by xdrgen. Manual edits will be lost. */ -/* XDR specification file: {{ filename }} */ -/* XDR specification modification time: {{ mtime }} */ - -#ifndef _LINUX_XDRGEN_{{ infix }}_DEF_H -#define _LINUX_XDRGEN_{{ infix }}_DEF_H - -#include -#include +/* SPDX-License-Identifier: GPL-2.0 */ +/* Generated by xdrgen. Manual edits will be lost. */ +/* XDR specification file: {{ filename }} */ +/* XDR specification modification time: {{ mtime }} */ + +#ifndef _LINUX_XDRGEN_{{ infix }}_DEF_H +#define _LINUX_XDRGEN_{{ infix }}_DEF_H + +#include +#include diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/declaration/close.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/declaration/close.j2 index b7e88e871b..816291184e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/declaration/close.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/declaration/close.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/basic.j2 index a9cdc532b4..cde4ab53f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/basic.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_array.j2 index dd0e7162e9..cfd64217ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_array.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length array) */ -{% endif %} - for (u32 i = 0; i < {{ size }}; i++) { - if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0) - return false; - } +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length array) */ +{% endif %} + for (u32 i = 0; i < {{ size }}; i++) { + if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0) + return false; + } diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_opaque.j2 index 7f1c6b016f..b4695ece18 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/fixed_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length opaque) */ -{% endif %} - if (xdr_stream_decode_opaque_fixed(xdr, ptr->{{ name }}, {{ size }}) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length opaque) */ +{% endif %} + if (xdr_stream_decode_opaque_fixed(xdr, ptr->{{ name }}, {{ size }}) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/optional_data.j2 index 8f9bc77992..b6834299a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/optional_data.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (optional data) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, ptr->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (optional data) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, ptr->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_opaque.j2 index a40c0add27..9a814de54a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length opaque) */ -{% endif %} - if (!xdrgen_decode_opaque(xdr, (opaque *)ptr, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length opaque) */ +{% endif %} + if (!xdrgen_decode_opaque(xdr, (opaque *)ptr, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_string.j2 index e012cd11e6..12d20b143b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/variable_length_string.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length string) */ -{% endif %} - if (!xdrgen_decode_string(xdr, (string *)ptr, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length string) */ +{% endif %} + if (!xdrgen_decode_string(xdr, (string *)ptr, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/basic.j2 index 0c2e7b7263..b3430895f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/basic.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (basic) */ -{% endif %} - {{ classifier }}{{ type }} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (basic) */ +{% endif %} + {{ classifier }}{{ type }} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_array.j2 index 3121ed4806..66be836826 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_array.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (fixed-length array) */ -{% endif %} - {{ type }} {{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (fixed-length array) */ +{% endif %} + {{ type }} {{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_opaque.j2 index 46b5fefbdc..0daba19aa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/fixed_length_opaque.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (fixed-length opaque) */ -{% endif %} - u8 {{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (fixed-length opaque) */ +{% endif %} + u8 {{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/open.j2 index b24131c66b..bc886b818d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/open.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* pointer {{ name }} */ -{% endif %} -struct {{ name }} { +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* pointer {{ name }} */ +{% endif %} +struct {{ name }} { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/optional_data.j2 index 30f8852619..a33341f45e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/optional_data.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (optional data) */ -{% endif %} - {{ classifier }}{{ type }} *{{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (optional data) */ +{% endif %} + {{ classifier }}{{ type }} *{{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_array.j2 index e244690fe0..5d767f9b36 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_array.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length array) */ -{% endif %} - struct { - u32 count; - {{ classifier }}{{ type }} *element; - } {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length array) */ +{% endif %} + struct { + u32 count; + {{ classifier }}{{ type }} *element; + } {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_opaque.j2 index dcebe31d92..4d0cd84be3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_opaque.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length opaque) */ -{% endif %} - opaque {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length opaque) */ +{% endif %} + opaque {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_string.j2 index 97e4cb81b4..2de2feec77 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/definition/variable_length_string.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length string) */ -{% endif %} - string {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length string) */ +{% endif %} + string {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/basic.j2 index 27b7112562..a7d3695c5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/basic.j2 @@ -1,10 +1,10 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} -{% if type in pass_by_reference %} - if (!xdrgen_encode_{{ type }}(xdr, &value->{{ name }})) -{% else %} - if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) -{% endif %} - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} +{% if type in pass_by_reference %} + if (!xdrgen_encode_{{ type }}(xdr, &value->{{ name }})) +{% else %} + if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) +{% endif %} + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/fixed_length_opaque.j2 index a1bcb509d1..07bc919198 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/fixed_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length opaque) */ -{% endif %} - if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length opaque) */ +{% endif %} + if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/optional_data.j2 index 8a9947468e..16fb3e09bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/optional_data.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (optional data) */ -{% endif %} - if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (optional data) */ +{% endif %} + if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_opaque.j2 index 9e06adab66..1d477c2d19 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_opaque.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length opaque) */ -{% endif %} - if (value->{{ name }}.len > {{ maxsize }}) - return false; - if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length opaque) */ +{% endif %} + if (value->{{ name }}.len > {{ maxsize }}) + return false; + if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_string.j2 index 621ce1edbe..cf65b71eae 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/variable_length_string.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length string) */ -{% endif %} - if (value->{{ name }}.len > {{ maxsize }}) - return false; - if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length string) */ +{% endif %} + if (value->{{ name }}.len > {{ maxsize }}) + return false; + if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/argument.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/argument.j2 index 4bed68d11f..4364fed191 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/argument.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/argument.j2 @@ -1,2 +1,2 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -bool {{ program }}_svc_decode_{{ argument }}(struct svc_rqst *rqstp, struct xdr_stream *xdr); +{# SPDX-License-Identifier: GPL-2.0 #} +bool {{ program }}_svc_decode_{{ argument }}(struct svc_rqst *rqstp, struct xdr_stream *xdr); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/result.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/result.j2 index ab5d701701..e0ea1e8499 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/result.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/declaration/result.j2 @@ -1,2 +1,2 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -bool {{ program }}_svc_encode_{{ result }}(struct svc_rqst *rqstp, struct xdr_stream *xdr); +{# SPDX-License-Identifier: GPL-2.0 #} +bool {{ program }}_svc_encode_{{ result }}(struct svc_rqst *rqstp, struct xdr_stream *xdr); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/definition/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/definition/open.j2 index c1bab762ba..f9a6d439f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/definition/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/program/definition/open.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* procedure numbers for {{ program }} */ -{% endif %} -enum { +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* procedure numbers for {{ program }} */ +{% endif %} +enum { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 index 4b38791d16..e3a802cbc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Generated by xdrgen. Manual edits will be lost. -// XDR specification file: {{ filename }} -// XDR specification modification time: {{ mtime }} - -#include - -#include "{{ program }}xdr_gen.h" +// SPDX-License-Identifier: GPL-2.0 +// Generated by xdrgen. Manual edits will be lost. +// XDR specification file: {{ filename }} +// XDR specification modification time: {{ mtime }} + +#include + +#include "{{ program }}xdr_gen.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/server.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/server.j2 index e89deb1d0f..974e1d971e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/server.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/source_top/server.j2 @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Generated by xdrgen. Manual edits will be lost. -// XDR specification file: {{ filename }} -// XDR specification modification time: {{ mtime }} - -#include - -#include "{{ program }}xdr_gen.h" +// SPDX-License-Identifier: GPL-2.0 +// Generated by xdrgen. Manual edits will be lost. +// XDR specification file: {{ filename }} +// XDR specification modification time: {{ mtime }} + +#include + +#include "{{ program }}xdr_gen.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/declaration/close.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/declaration/close.j2 index b7e88e871b..816291184e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/declaration/close.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/declaration/close.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/basic.j2 index a9cdc532b4..cde4ab53f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/basic.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_array.j2 index dd0e7162e9..cfd64217ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_array.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length array) */ -{% endif %} - for (u32 i = 0; i < {{ size }}; i++) { - if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0) - return false; - } +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length array) */ +{% endif %} + for (u32 i = 0; i < {{ size }}; i++) { + if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0) + return false; + } diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_opaque.j2 index 7f1c6b016f..b4695ece18 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/fixed_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length opaque) */ -{% endif %} - if (xdr_stream_decode_opaque_fixed(xdr, ptr->{{ name }}, {{ size }}) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length opaque) */ +{% endif %} + if (xdr_stream_decode_opaque_fixed(xdr, ptr->{{ name }}, {{ size }}) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/open.j2 index 30abcec229..289e67259f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/open.j2 @@ -1,12 +1,12 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* struct {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr) -{ +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* struct {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr) +{ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/optional_data.j2 index 8f9bc77992..b6834299a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/optional_data.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (optional data) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, ptr->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (optional data) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, ptr->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_opaque.j2 index a40c0add27..9a814de54a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length opaque) */ -{% endif %} - if (!xdrgen_decode_opaque(xdr, (opaque *)ptr, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length opaque) */ +{% endif %} + if (!xdrgen_decode_opaque(xdr, (opaque *)ptr, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_string.j2 index e012cd11e6..12d20b143b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/variable_length_string.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length string) */ -{% endif %} - if (!xdrgen_decode_string(xdr, (string *)ptr, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length string) */ +{% endif %} + if (!xdrgen_decode_string(xdr, (string *)ptr, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/basic.j2 index 0c2e7b7263..b3430895f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/basic.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (basic) */ -{% endif %} - {{ classifier }}{{ type }} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (basic) */ +{% endif %} + {{ classifier }}{{ type }} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_array.j2 index 3121ed4806..66be836826 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_array.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (fixed-length array) */ -{% endif %} - {{ type }} {{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (fixed-length array) */ +{% endif %} + {{ type }} {{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_opaque.j2 index 46b5fefbdc..0daba19aa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/fixed_length_opaque.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (fixed-length opaque) */ -{% endif %} - u8 {{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (fixed-length opaque) */ +{% endif %} + u8 {{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/open.j2 index e46bbc22a3..07cbf54245 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/open.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* struct {{ name }} */ -{% endif %} -struct {{ name }} { +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* struct {{ name }} */ +{% endif %} +struct {{ name }} { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/optional_data.j2 index 30f8852619..a33341f45e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/optional_data.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (optional data) */ -{% endif %} - {{ classifier }}{{ type }} *{{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (optional data) */ +{% endif %} + {{ classifier }}{{ type }} *{{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_array.j2 index e244690fe0..5d767f9b36 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_array.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length array) */ -{% endif %} - struct { - u32 count; - {{ classifier }}{{ type }} *element; - } {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length array) */ +{% endif %} + struct { + u32 count; + {{ classifier }}{{ type }} *element; + } {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_opaque.j2 index dcebe31d92..4d0cd84be3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_opaque.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length opaque) */ -{% endif %} - opaque {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length opaque) */ +{% endif %} + opaque {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_string.j2 index 97e4cb81b4..2de2feec77 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/definition/variable_length_string.j2 @@ -1,5 +1,5 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* (variable-length string) */ -{% endif %} - string {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* (variable-length string) */ +{% endif %} + string {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/basic.j2 index 27b7112562..a7d3695c5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/basic.j2 @@ -1,10 +1,10 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} -{% if type in pass_by_reference %} - if (!xdrgen_encode_{{ type }}(xdr, &value->{{ name }})) -{% else %} - if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) -{% endif %} - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} +{% if type in pass_by_reference %} + if (!xdrgen_encode_{{ type }}(xdr, &value->{{ name }})) +{% else %} + if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) +{% endif %} + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/fixed_length_opaque.j2 index a1bcb509d1..07bc919198 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/fixed_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (fixed-length opaque) */ -{% endif %} - if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (fixed-length opaque) */ +{% endif %} + if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/open.j2 index c2cd8ffbd5..2286a3adf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/open.j2 @@ -1,12 +1,12 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* struct {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value) -{ +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* struct {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value) +{ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/optional_data.j2 index 8a9947468e..16fb3e09bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/optional_data.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (optional data) */ -{% endif %} - if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (optional data) */ +{% endif %} + if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_opaque.j2 index 9e06adab66..1d477c2d19 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_opaque.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length opaque) */ -{% endif %} - if (value->{{ name }}.len > {{ maxsize }}) - return false; - if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length opaque) */ +{% endif %} + if (value->{{ name }}.len > {{ maxsize }}) + return false; + if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_string.j2 index 621ce1edbe..cf65b71eae 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/variable_length_string.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length string) */ -{% endif %} - if (value->{{ name }}.len > {{ maxsize }}) - return false; - if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length string) */ +{% endif %} + if (value->{{ name }}.len > {{ maxsize }}) + return false; + if (xdr_stream_encode_opaque(xdr, value->{{ name }}.data, value->{{ name }}.len) < 0) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2 index 25728ba800..455b10bd90 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr); -{% if name in pass_by_reference %} -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} *value); -{%- else -%} -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} value); -{% endif %} +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr); +{% if name in pass_by_reference %} +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} *value); +{%- else -%} +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} value); +{% endif %} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_array.j2 index e8b8cab03a..3fe3ddd9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_array.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_opaque.j2 index e8b8cab03a..3fe3ddd9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/fixed_length_opaque.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_array.j2 index e8b8cab03a..3fe3ddd9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_array.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_opaque.j2 index e8b8cab03a..3fe3ddd9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_opaque.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_string.j2 index e8b8cab03a..3fe3ddd9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/variable_length_string.j2 @@ -1,4 +1,4 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); +{# SPDX-License-Identifier: GPL-2.0 #} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/decoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/decoder/basic.j2 index 2c6d8eb155..da4709403d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/decoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/decoder/basic.j2 @@ -1,17 +1,17 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr) -{ -{% if annotate %} - /* (basic) */ -{% endif %} - return xdrgen_decode_{{ type }}(xdr, ptr); -}; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr) +{ +{% if annotate %} + /* (basic) */ +{% endif %} + return xdrgen_decode_{{ type }}(xdr, ptr); +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/basic.j2 index 9a9b1d70c2..1c5f28135e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/basic.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (basic) */ -{% endif %} -typedef {{ classifier }}{{ type }} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (basic) */ +{% endif %} +typedef {{ classifier }}{{ type }} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_array.j2 index b1ffbf8b4e..c3a67c952e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_array.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (fixed-length array) */ -{% endif %} -typedef {{ type }}{{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (fixed-length array) */ +{% endif %} +typedef {{ type }}{{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_opaque.j2 index 1891a252ac..8788b02fe4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/fixed_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (fixed-length opaque) */ -{% endif %} -typedef u8 {{ name }}[{{ size }}]; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (fixed-length opaque) */ +{% endif %} +typedef u8 {{ name }}[{{ size }}]; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_array.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_array.j2 index eb58c2361e..f033937605 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_array.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_array.j2 @@ -1,9 +1,9 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (variable-length array) */ -{% endif %} -typedef struct { - u32 count; - {{ classifier }}{{ type }} *element; -} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (variable-length array) */ +{% endif %} +typedef struct { + u32 count; + {{ classifier }}{{ type }} *element; +} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_opaque.j2 index 2f9ed4123e..162f2610af 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (variable-length opaque) */ -{% endif %} -typedef opaque {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (variable-length opaque) */ +{% endif %} +typedef opaque {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_string.j2 index f32c1e2afa..c03c2df8e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/typedef/definition/variable_length_string.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* typedef {{ name }} (variable-length string) */ -{% endif %} -typedef string {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* typedef {{ name }} (variable-length string) */ +{% endif %} +typedef string {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/basic.j2 index f74c0e3592..4d97cc5395 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/basic.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, &ptr->u.{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, &ptr->u.{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/open.j2 index 11792bafa7..eb9941376e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/open.j2 @@ -1,12 +1,12 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* union {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr) -{ +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* union {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr) +{ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/optional_data.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/optional_data.j2 index 17a303788b..e4476f5fd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/optional_data.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/optional_data.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (optional data) */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, &ptr->u.{{ name }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (optional data) */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, &ptr->u.{{ name }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/switch_spec.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/switch_spec.j2 index 109a2563ea..99b3067ef6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/switch_spec.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/switch_spec.j2 @@ -1,7 +1,7 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* discriminant {{ name }} */ -{% endif %} - if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) - return false; - switch (ptr->{{ name }}) { +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* discriminant {{ name }} */ +{% endif %} + if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }})) + return false; + switch (ptr->{{ name }}) { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_opaque.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_opaque.j2 index 221bf4b159..c9d88ed29c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_opaque.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_opaque.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length opaque) */ -{% endif %} - if (!xdrgen_decode_opaque(xdr, (struct opaque *)ptr->u.{{ name }}, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length opaque) */ +{% endif %} + if (!xdrgen_decode_opaque(xdr, (struct opaque *)ptr->u.{{ name }}, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_string.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_string.j2 index 10f37da2cf..83b6e5a14e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_string.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_string.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (variable-length string) */ -{% endif %} - if (!xdrgen_decode_string(xdr, (struct string *)ptr->u.{{ name }}, {{ maxsize }})) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (variable-length string) */ +{% endif %} + if (!xdrgen_decode_string(xdr, (struct string *)ptr->u.{{ name }}, {{ maxsize }})) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/void.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/void.j2 index 18862314cc..65205ce37b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/void.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/decoder/void.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - if (!xdrgen_decode_void(xdr)) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} + if (!xdrgen_decode_void(xdr)) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/case_spec.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/case_spec.j2 index 34cec925f5..52f8d131b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/case_spec.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/case_spec.j2 @@ -1,2 +1,2 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - {{ classifier }}{{ type }} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + {{ classifier }}{{ type }} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/close.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/close.j2 index 4770590385..01d716d009 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/close.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/close.j2 @@ -1,8 +1,8 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - } u; -}; -{%- if name in public_apis %} - -bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); -bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *ptr); -{%- endif -%} +{# SPDX-License-Identifier: GPL-2.0 #} + } u; +}; +{%- if name in public_apis %} + +bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); +bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *ptr); +{%- endif -%} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/default_spec.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/default_spec.j2 index 34cec925f5..52f8d131b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/default_spec.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/default_spec.j2 @@ -1,2 +1,2 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - {{ classifier }}{{ type }} {{ name }}; +{# SPDX-License-Identifier: GPL-2.0 #} + {{ classifier }}{{ type }} {{ name }}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/open.j2 index 1d11c20487..20fcfd1fc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/open.j2 @@ -1,6 +1,6 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* union {{ name }} */ -{% endif %} -struct {{ name }} { +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* union {{ name }} */ +{% endif %} +struct {{ name }} { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/switch_spec.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/switch_spec.j2 index 3e5d254752..3e55273250 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/switch_spec.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/definition/switch_spec.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - {{ classifier }}{{ type }} {{ name }}; - union { +{# SPDX-License-Identifier: GPL-2.0 #} + {{ classifier }}{{ type }} {{ name }}; + union { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/basic.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/basic.j2 index 204ca2387b..6452d75c6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/basic.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/basic.j2 @@ -1,10 +1,10 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* member {{ name }} (basic) */ -{% endif %} -{% if type in pass_by_reference %} - if (!xdrgen_encode_{{ type }}(xdr, &ptr->u.{{ name }})) -{% else %} - if (!xdrgen_encode_{{ type }}(xdr, ptr->u.{{ name }})) -{% endif %} - return false; +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* member {{ name }} (basic) */ +{% endif %} +{% if type in pass_by_reference %} + if (!xdrgen_encode_{{ type }}(xdr, &ptr->u.{{ name }})) +{% else %} + if (!xdrgen_encode_{{ type }}(xdr, ptr->u.{{ name }})) +{% endif %} + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/open.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/open.j2 index 7adc21ea54..e5a206df10 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/open.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/open.j2 @@ -1,12 +1,12 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - -{% if annotate %} -/* union {{ name }} */ -{% endif %} -{% if name in public_apis %} -bool -{% else %} -static bool __maybe_unused -{% endif %} -xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *ptr) -{ +{# SPDX-License-Identifier: GPL-2.0 #} + +{% if annotate %} +/* union {{ name }} */ +{% endif %} +{% if name in public_apis %} +bool +{% else %} +static bool __maybe_unused +{% endif %} +xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *ptr) +{ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/switch_spec.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/switch_spec.j2 index 3f17158f81..c8c3ecbe03 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/switch_spec.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/switch_spec.j2 @@ -1,7 +1,7 @@ -{# SPDX-License-Identifier: GPL-2.0 #} -{% if annotate %} - /* discriminant {{ name }} */ -{% endif %} - if (!xdrgen_encode_{{ type }}(xdr, ptr->{{ name }})) - return false; - switch (ptr->{{ name }}) { +{# SPDX-License-Identifier: GPL-2.0 #} +{% if annotate %} + /* discriminant {{ name }} */ +{% endif %} + if (!xdrgen_encode_{{ type }}(xdr, ptr->{{ name }})) + return false; + switch (ptr->{{ name }}) { diff --git a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/void.j2 b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/void.j2 index d2da06ce84..84e7c2127d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/void.j2 +++ b/image/debian/UFI003_MB_V02/kernel/tools/net/sunrpc/xdrgen/templates/C/union/encoder/void.j2 @@ -1,3 +1,3 @@ -{# SPDX-License-Identifier: GPL-2.0 #} - if (!xdrgen_encode_void(xdr)) - return false; +{# SPDX-License-Identifier: GPL-2.0 #} + if (!xdrgen_encode_void(xdr)) + return false; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/objtool/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/objtool/.gitignore index a69e3d540c..4faa4dd72f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/objtool/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/objtool/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -arch/x86/lib/inat-tables.c -/objtool -fixdep -libsubcmd/ +# SPDX-License-Identifier: GPL-2.0-only +arch/x86/lib/inat-tables.c +/objtool +fixdep +libsubcmd/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/loongarch/special.c b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/loongarch/special.c index 07837dee3c..9bba1e9318 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/loongarch/special.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/loongarch/special.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -#include - -bool arch_support_alt_relocation(struct special_alt *special_alt, - struct instruction *insn, - struct reloc *reloc) -{ - return false; -} - -struct reloc *arch_find_switch_table(struct objtool_file *file, - struct instruction *insn) -{ - return NULL; -} +// SPDX-License-Identifier: GPL-2.0-or-later +#include + +bool arch_support_alt_relocation(struct special_alt *special_alt, + struct instruction *insn, + struct reloc *reloc) +{ + return false; +} + +struct reloc *arch_find_switch_table(struct objtool_file *file, + struct instruction *insn) +{ + return NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/cfi_regs.h b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/cfi_regs.h index a2f0b1e81d..59638ebeaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/cfi_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/cfi_regs.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _OBJTOOL_CFI_REGS_H -#define _OBJTOOL_CFI_REGS_H - -#define CFI_BP 1 -#define CFI_SP CFI_BP -#define CFI_RA 32 -#define CFI_NUM_REGS 33 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef _OBJTOOL_CFI_REGS_H +#define _OBJTOOL_CFI_REGS_H + +#define CFI_BP 1 +#define CFI_SP CFI_BP +#define CFI_RA 32 +#define CFI_NUM_REGS 33 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/elf.h b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/elf.h index 31745454d6..66814fa280 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/elf.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/powerpc/include/arch/elf.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _OBJTOOL_ARCH_ELF -#define _OBJTOOL_ARCH_ELF - -#define R_NONE R_PPC_NONE -#define R_ABS64 R_PPC64_ADDR64 -#define R_ABS32 R_PPC_ADDR32 -#define R_DATA32 R_PPC_REL32 -#define R_DATA64 R_PPC64_REL64 -#define R_TEXT32 R_PPC_REL32 -#define R_TEXT64 R_PPC64_REL32 - -#endif /* _OBJTOOL_ARCH_ELF */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _OBJTOOL_ARCH_ELF +#define _OBJTOOL_ARCH_ELF + +#define R_NONE R_PPC_NONE +#define R_ABS64 R_PPC64_ADDR64 +#define R_ABS32 R_PPC_ADDR32 +#define R_DATA32 R_PPC_REL32 +#define R_DATA64 R_PPC64_REL64 +#define R_TEXT32 R_PPC_REL32 +#define R_TEXT64 R_PPC64_REL32 + +#endif /* _OBJTOOL_ARCH_ELF */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/x86/include/arch/elf.h b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/x86/include/arch/elf.h index cca3cb4ff8..7131f7f51a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/x86/include/arch/elf.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/objtool/arch/x86/include/arch/elf.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _OBJTOOL_ARCH_ELF -#define _OBJTOOL_ARCH_ELF - -#define R_NONE R_X86_64_NONE -#define R_ABS32 R_X86_64_32 -#define R_ABS64 R_X86_64_64 -#define R_DATA32 R_X86_64_PC32 -#define R_DATA64 R_X86_64_PC32 -#define R_TEXT32 R_X86_64_PC32 -#define R_TEXT64 R_X86_64_PC32 - -#endif /* _OBJTOOL_ARCH_ELF */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _OBJTOOL_ARCH_ELF +#define _OBJTOOL_ARCH_ELF + +#define R_NONE R_X86_64_NONE +#define R_ABS32 R_X86_64_32 +#define R_ABS64 R_X86_64_64 +#define R_DATA32 R_X86_64_PC32 +#define R_DATA64 R_X86_64_PC32 +#define R_TEXT32 R_X86_64_PC32 +#define R_TEXT64 R_X86_64_PC32 + +#endif /* _OBJTOOL_ARCH_ELF */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/pcmcia/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/pcmcia/Makefile index 11dd8e9c04..eae24df1db 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/pcmcia/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/pcmcia/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -CC := $(CROSS_COMPILE)gcc -CFLAGS := -I../../usr/include - -PROGS := crc32hash - -all: $(PROGS) - -clean: - rm -fr $(PROGS) +# SPDX-License-Identifier: GPL-2.0 +CC := $(CROSS_COMPILE)gcc +CFLAGS := -I../../usr/include + +PROGS := crc32hash + +all: $(PROGS) + +clean: + rm -fr $(PROGS) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/arm-coresight.txt b/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/arm-coresight.txt index e0ce951dae..c117fc50a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/arm-coresight.txt +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/arm-coresight.txt @@ -1,5 +1,5 @@ -Arm CoreSight Support -===================== - -For full documentation, see Documentation/trace/coresight/coresight-perf.rst -in the kernel tree. +Arm CoreSight Support +===================== + +For full documentation, see Documentation/trace/coresight/coresight-perf.rst +in the kernel tree. diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/intel-pt.txt b/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/intel-pt.txt index d5d42c522f..fd9241a1b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/intel-pt.txt +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/intel-pt.txt @@ -1 +1 @@ -Documentation for support for Intel Processor Trace within perf tools' has moved to file perf-intel-pt.txt +Documentation for support for Intel Processor Trace within perf tools' has moved to file perf-intel-pt.txt diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/Build index 290d0d13db..f0d96a1344 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/Build @@ -1,3 +1,3 @@ -perf-util-y += common.o -perf-test-y += $(SRCARCH)/ -perf-util-y += $(SRCARCH)/ +perf-util-y += common.o +perf-test-y += $(SRCARCH)/ +perf-util-y += $(SRCARCH)/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arc/annotate/instructions.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arc/annotate/instructions.c index dab78c1588..2f00e995c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arc/annotate/instructions.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arc/annotate/instructions.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -static int arc__annotate_init(struct arch *arch, char *cpuid __maybe_unused) -{ - arch->initialized = true; - arch->objdump.comment_char = ';'; - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +static int arc__annotate_init(struct arch *arch, char *cpuid __maybe_unused) +{ + arch->initialized = true; + arch->objdump.comment_char = ';'; + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/Makefile index 7fbff1a668..1d88fdab13 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif -PERF_HAVE_JITDUMP := 1 +# SPDX-License-Identifier: GPL-2.0-only +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif +PERF_HAVE_JITDUMP := 1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/arch-tests.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/arch-tests.h index 04e6ebebc6..452b3d9045 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/arch-tests.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/arch-tests.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_TESTS_H -#define ARCH_TESTS_H - -extern struct test_suite *arch_tests[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_TESTS_H +#define ARCH_TESTS_H + +extern struct test_suite *arch_tests[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/dwarf-regs-table.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/dwarf-regs-table.h index 6cc8213a9d..5a45046fab 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/dwarf-regs-table.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/include/dwarf-regs-table.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef DEFINE_DWARF_REGSTR_TABLE -/* This is included in perf/util/dwarf-regs.c */ - -static const char * const arm_regstr_tbl[] = { - "%r0", "%r1", "%r2", "%r3", "%r4", - "%r5", "%r6", "%r7", "%r8", "%r9", "%r10", - "%fp", "%ip", "%sp", "%lr", "%pc", -}; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef DEFINE_DWARF_REGSTR_TABLE +/* This is included in perf/util/dwarf-regs.c */ + +static const char * const arm_regstr_tbl[] = { + "%r0", "%r1", "%r2", "%r3", "%r4", + "%r5", "%r6", "%r7", "%r8", "%r9", "%r10", + "%fp", "%ip", "%sp", "%lr", "%pc", +}; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/Build index 997e7679b7..599efa5457 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/Build @@ -1,5 +1,5 @@ -perf-test-y += regs_load.o -perf-test-y += dwarf-unwind.o -perf-test-y += vectors-page.o - -perf-test-y += arch-tests.o +perf-test-y += regs_load.o +perf-test-y += dwarf-unwind.o +perf-test-y += vectors-page.o + +perf-test-y += arch-tests.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/arch-tests.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/arch-tests.c index e2c5a8876b..69561111cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/arch-tests.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/tests/arch-tests.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "tests/tests.h" -#include "arch-tests.h" - -struct test_suite *arch_tests[] = { -#ifdef HAVE_DWARF_UNWIND_SUPPORT - &suite__dwarf_unwind, -#endif - &suite__vectors_page, - NULL, -}; +// SPDX-License-Identifier: GPL-2.0 +#include +#include "tests/tests.h" +#include "arch-tests.h" + +struct test_suite *arch_tests[] = { +#ifdef HAVE_DWARF_UNWIND_SUPPORT + &suite__dwarf_unwind, +#endif + &suite__vectors_page, + NULL, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/Build index 35bf05a0d4..e6dd7cd79e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/Build @@ -1,8 +1,8 @@ -perf-util-y += perf_regs.o - -perf-util-$(CONFIG_DWARF) += dwarf-regs.o - -perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o - -perf-util-$(CONFIG_AUXTRACE) += pmu.o auxtrace.o cs-etm.o +perf-util-y += perf_regs.o + +perf-util-$(CONFIG_DWARF) += dwarf-regs.o + +perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o +perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o + +perf-util-$(CONFIG_AUXTRACE) += pmu.o auxtrace.o cs-etm.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/cs-etm.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/cs-etm.h index 9c66b622b9..a3354bda4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/cs-etm.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm/util/cs-etm.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright(C) 2015 Linaro Limited. All rights reserved. - * Author: Mathieu Poirier - */ - -#ifndef INCLUDE__PERF_CS_ETM_H__ -#define INCLUDE__PERF_CS_ETM_H__ - -struct auxtrace_record *cs_etm_record_init(int *err); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright(C) 2015 Linaro Limited. All rights reserved. + * Author: Mathieu Poirier + */ + +#ifndef INCLUDE__PERF_CS_ETM_H__ +#define INCLUDE__PERF_CS_ETM_H__ + +struct auxtrace_record *cs_etm_record_init(int *err); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/include/arch-tests.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/include/arch-tests.h index 5e37539ef1..474d7cf5af 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/include/arch-tests.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/include/arch-tests.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_TESTS_H -#define ARCH_TESTS_H - -struct test_suite; - -int test__cpuid_match(struct test_suite *test, int subtest); -extern struct test_suite *arch_tests[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_TESTS_H +#define ARCH_TESTS_H + +struct test_suite; + +int test__cpuid_match(struct test_suite *test, int subtest); +extern struct test_suite *arch_tests[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/Build index 10ce399475..d44c9de92d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/Build @@ -1,5 +1,5 @@ -perf-test-y += regs_load.o -perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o - -perf-test-y += arch-tests.o -perf-test-y += cpuid-match.o +perf-test-y += regs_load.o +perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o + +perf-test-y += arch-tests.o +perf-test-y += cpuid-match.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/arch-tests.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/arch-tests.c index 2ecae6de94..74932e72c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/arch-tests.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/tests/arch-tests.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "tests/tests.h" -#include "arch-tests.h" - - -DEFINE_SUITE("arm64 CPUID matching", cpuid_match); - -struct test_suite *arch_tests[] = { -#ifdef HAVE_DWARF_UNWIND_SUPPORT - &suite__dwarf_unwind, -#endif - &suite__cpuid_match, - NULL, -}; +// SPDX-License-Identifier: GPL-2.0 +#include +#include "tests/tests.h" +#include "arch-tests.h" + + +DEFINE_SUITE("arm64 CPUID matching", cpuid_match); + +struct test_suite *arch_tests[] = { +#ifdef HAVE_DWARF_UNWIND_SUPPORT + &suite__dwarf_unwind, +#endif + &suite__cpuid_match, + NULL, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/mem-events.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/mem-events.h index ebdc66c09a..5fc50be4be 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/mem-events.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/mem-events.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARM64_MEM_EVENTS_H -#define _ARM64_MEM_EVENTS_H - -extern struct perf_mem_event perf_mem_events_arm[PERF_MEM_EVENTS__MAX]; - -#endif /* _ARM64_MEM_EVENTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARM64_MEM_EVENTS_H +#define _ARM64_MEM_EVENTS_H + +extern struct perf_mem_event perf_mem_events_arm[PERF_MEM_EVENTS__MAX]; + +#endif /* _ARM64_MEM_EVENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/unwind-libunwind.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/unwind-libunwind.c index f8168cb082..871af59922 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/unwind-libunwind.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/util/unwind-libunwind.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#ifndef REMOTE_UNWIND_LIBUNWIND -#include -#include "perf_regs.h" -#include "../../../util/unwind.h" -#endif -#include "../../../util/debug.h" - -int LIBUNWIND__ARCH_REG_ID(int regnum) -{ - if (regnum < 0 || regnum >= PERF_REG_ARM64_EXTENDED_MAX) - return -EINVAL; - - return regnum; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +#ifndef REMOTE_UNWIND_LIBUNWIND +#include +#include "perf_regs.h" +#include "../../../util/unwind.h" +#endif +#include "../../../util/debug.h" + +int LIBUNWIND__ARCH_REG_ID(int regnum) +{ + if (regnum < 0 || regnum >= PERF_REG_ARM64_EXTENDED_MAX) + return -EINVAL; + + return regnum; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/common.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/common.h index e8a28063f3..4224c299cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/common.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/common.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_PERF_COMMON_H -#define ARCH_PERF_COMMON_H - -#include - -struct perf_env; - -int perf_env__lookup_objdump(struct perf_env *env, char **path); -bool perf_env__single_address_space(struct perf_env *env); - -#endif /* ARCH_PERF_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_PERF_COMMON_H +#define ARCH_PERF_COMMON_H + +#include + +struct perf_env; + +int perf_env__lookup_objdump(struct perf_env *env, char **path); +bool perf_env__single_address_space(struct perf_env *env); + +#endif /* ARCH_PERF_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/Makefile index 026251e8ec..88c08eed9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif +# SPDX-License-Identifier: GPL-2.0-only +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/util/Build index 06824ae2be..99d83f41bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/csky/util/Build @@ -1,4 +1,4 @@ -perf-util-y += perf_regs.o - -perf-util-$(CONFIG_DWARF) += dwarf-regs.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o +perf-util-y += perf_regs.o + +perf-util-$(CONFIG_DWARF) += dwarf-regs.o +perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/include/perf_regs.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/include/perf_regs.h index 41d84a195a..45c799fa53 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/include/perf_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/include/perf_regs.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_PERF_REGS_H -#define ARCH_PERF_REGS_H - -#include -#include -#include - -#define PERF_REGS_MAX PERF_REG_LOONGARCH_MAX - -#define PERF_REGS_MASK ((1ULL << PERF_REG_LOONGARCH_MAX) - 1) - -#endif /* ARCH_PERF_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_PERF_REGS_H +#define ARCH_PERF_REGS_H + +#include +#include +#include + +#define PERF_REGS_MAX PERF_REG_LOONGARCH_MAX + +#define PERF_REGS_MASK ((1ULL << PERF_REG_LOONGARCH_MAX) - 1) + +#endif /* ARCH_PERF_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/util/Build index 66c3b9caab..b6b97de482 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/util/Build @@ -1,7 +1,7 @@ -perf-util-y += header.o -perf-util-y += perf_regs.o - -perf-util-$(CONFIG_DWARF) += dwarf-regs.o -perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o -perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o +perf-util-y += header.o +perf-util-y += perf_regs.o + +perf-util-$(CONFIG_DWARF) += dwarf-regs.o +perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o +perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o +perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/include/perf_regs.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/include/perf_regs.h index d796c2d5d2..7082e91e0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/include/perf_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/include/perf_regs.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_PERF_REGS_H -#define ARCH_PERF_REGS_H - -#include -#include -#include - -#define PERF_REGS_MAX PERF_REG_MIPS_MAX - -#define PERF_REGS_MASK ((1ULL << PERF_REG_MIPS_MAX) - 1) - -#endif /* ARCH_PERF_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_PERF_REGS_H +#define ARCH_PERF_REGS_H + +#include +#include +#include + +#define PERF_REGS_MAX PERF_REG_MIPS_MAX + +#define PERF_REGS_MASK ((1ULL << PERF_REG_MIPS_MAX) - 1) + +#endif /* ARCH_PERF_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/util/Build index ebffd32548..e4644f1e68 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/mips/util/Build @@ -1,3 +1,3 @@ -perf-util-y += perf_regs.o -perf-util-$(CONFIG_DWARF) += dwarf-regs.o -perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o +perf-util-y += perf_regs.o +perf-util-$(CONFIG_DWARF) += dwarf-regs.o +perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/include/arch-tests.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/include/arch-tests.h index 04e6ebebc6..452b3d9045 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/include/arch-tests.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/include/arch-tests.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ARCH_TESTS_H -#define ARCH_TESTS_H - -extern struct test_suite *arch_tests[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ARCH_TESTS_H +#define ARCH_TESTS_H + +extern struct test_suite *arch_tests[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/Build index 6dd744d368..2750269506 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/Build @@ -1,4 +1,4 @@ -perf-test-$(CONFIG_DWARF_UNWIND) += regs_load.o -perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o - -perf-test-y += arch-tests.o +perf-test-$(CONFIG_DWARF_UNWIND) += regs_load.o +perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o + +perf-test-y += arch-tests.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/arch-tests.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/arch-tests.c index d08a869dbe..eb98c57b5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/arch-tests.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/tests/arch-tests.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "tests/tests.h" -#include "arch-tests.h" - - -struct test_suite *arch_tests[] = { -#ifdef HAVE_DWARF_UNWIND_SUPPORT - &suite__dwarf_unwind, -#endif - NULL, -}; +// SPDX-License-Identifier: GPL-2.0 +#include +#include "tests/tests.h" +#include "arch-tests.h" + + +struct test_suite *arch_tests[] = { +#ifdef HAVE_DWARF_UNWIND_SUPPORT + &suite__dwarf_unwind, +#endif + NULL, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/evsel.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/evsel.c index d2517df11f..2f733cdc8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/evsel.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/evsel.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include "util/evsel.h" - -void arch_evsel__set_sample_weight(struct evsel *evsel) -{ - evsel__set_sample_bit(evsel, WEIGHT_STRUCT); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include "util/evsel.h" + +void arch_evsel__set_sample_weight(struct evsel *evsel) +{ + evsel__set_sample_bit(evsel, WEIGHT_STRUCT); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/mem-events.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/mem-events.h index e6a244d9c0..6acc3d1b68 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/mem-events.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/mem-events.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _POWER_MEM_EVENTS_H -#define _POWER_MEM_EVENTS_H - -extern struct perf_mem_event perf_mem_events_power[PERF_MEM_EVENTS__MAX]; - -#endif /* _POWER_MEM_EVENTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _POWER_MEM_EVENTS_H +#define _POWER_MEM_EVENTS_H + +extern struct perf_mem_event perf_mem_events_power[PERF_MEM_EVENTS__MAX]; + +#endif /* _POWER_MEM_EVENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/pmu.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/pmu.c index 25f6bd6580..554675deef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/pmu.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/util/pmu.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -#include "../../../util/pmu.h" -#include "mem-events.h" - -void perf_pmu__arch_init(struct perf_pmu *pmu) -{ - if (pmu->is_core) - pmu->mem_events = perf_mem_events_power; -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +#include "../../../util/pmu.h" +#include "mem-events.h" + +void perf_pmu__arch_init(struct perf_pmu *pmu) +{ + if (pmu->is_core) + pmu->mem_events = perf_mem_events_power; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/Makefile index e3fb03e6fe..90c3c476a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/Makefile @@ -1,6 +1,6 @@ -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif -PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 -PERF_HAVE_JITDUMP := 1 -HAVE_KVM_STAT_SUPPORT := 1 +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif +PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 +PERF_HAVE_JITDUMP := 1 +HAVE_KVM_STAT_SUPPORT := 1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/util/Build index ac69cfcf48..f865cb0489 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/riscv/util/Build @@ -1,6 +1,6 @@ -perf-util-y += perf_regs.o -perf-util-y += header.o - -perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o -perf-util-$(CONFIG_DWARF) += dwarf-regs.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o +perf-util-y += perf_regs.o +perf-util-y += header.o + +perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o +perf-util-$(CONFIG_DWARF) += dwarf-regs.o +perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/include/perf_regs.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/include/perf_regs.h index 57cc1e7c93..130dfad2b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/include/perf_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/include/perf_regs.h @@ -1,14 +1,14 @@ -#ifndef ARCH_PERF_REGS_H -#define ARCH_PERF_REGS_H - -#include -#include -#include - -void perf_regs_load(u64 *regs); - -#define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1) -#define PERF_REGS_MAX PERF_REG_S390_MAX -#define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64 - -#endif /* ARCH_PERF_REGS_H */ +#ifndef ARCH_PERF_REGS_H +#define ARCH_PERF_REGS_H + +#include +#include +#include + +void perf_regs_load(u64 *regs); + +#define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1) +#define PERF_REGS_MAX PERF_REG_S390_MAX +#define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64 + +#endif /* ARCH_PERF_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/util/Build index 009657b1d8..1ac830030f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/util/Build @@ -1,11 +1,11 @@ -perf-util-y += header.o -perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o -perf-util-y += perf_regs.o - -perf-util-$(CONFIG_DWARF) += dwarf-regs.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o - -perf-util-y += machine.o -perf-util-y += pmu.o - -perf-util-$(CONFIG_AUXTRACE) += auxtrace.o +perf-util-y += header.o +perf-util-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o +perf-util-y += perf_regs.o + +perf-util-$(CONFIG_DWARF) += dwarf-regs.o +perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o + +perf-util-y += machine.o +perf-util-y += pmu.o + +perf-util-$(CONFIG_AUXTRACE) += auxtrace.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/Makefile index 026251e8ec..88c08eed9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif +# SPDX-License-Identifier: GPL-2.0-only +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/include/dwarf-regs-table.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/include/dwarf-regs-table.h index d8a9649e4c..900e696199 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/include/dwarf-regs-table.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sh/include/dwarf-regs-table.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef DEFINE_DWARF_REGSTR_TABLE -/* This is included in perf/util/dwarf-regs.c */ - -const char * const sh_regstr_tbl[] = { - "r0", - "r1", - "r2", - "r3", - "r4", - "r5", - "r6", - "r7", - "r8", - "r9", - "r10", - "r11", - "r12", - "r13", - "r14", - "r15", - "pc", - "pr", -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef DEFINE_DWARF_REGSTR_TABLE +/* This is included in perf/util/dwarf-regs.c */ + +const char * const sh_regstr_tbl[] = { + "r0", + "r1", + "r2", + "r3", + "r4", + "r5", + "r6", + "r7", + "r8", + "r9", + "r10", + "r11", + "r12", + "r13", + "r14", + "r15", + "pc", + "pr", +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sparc/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sparc/Makefile index cdba429d66..4031db72ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sparc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/sparc/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif - -PERF_HAVE_JITDUMP := 1 +# SPDX-License-Identifier: GPL-2.0-only +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif + +PERF_HAVE_JITDUMP := 1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/env.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/env.h index 76ccb2e89e..d78f080b6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/env.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/env.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _X86_ENV_H -#define _X86_ENV_H - -bool x86__is_amd_cpu(void); - -#endif /* _X86_ENV_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _X86_ENV_H +#define _X86_ENV_H + +bool x86__is_amd_cpu(void); + +#endif /* _X86_ENV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/evsel.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/evsel.h index 7faecae0d6..19ad169137 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/evsel.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/evsel.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _EVSEL_H -#define _EVSEL_H 1 - -bool evsel__sys_has_perf_metrics(const struct evsel *evsel); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _EVSEL_H +#define _EVSEL_H 1 + +bool evsel__sys_has_perf_metrics(const struct evsel *evsel); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/topdown.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/topdown.h index 4ba00c3669..46bf9273e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/topdown.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/util/topdown.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOPDOWN_H -#define _TOPDOWN_H 1 - -bool topdown_sys_has_perf_metrics(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOPDOWN_H +#define _TOPDOWN_H 1 + +bool topdown_sys_has_perf_metrics(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/Makefile index 026251e8ec..88c08eed9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifndef NO_DWARF -PERF_HAVE_DWARF_REGS := 1 -endif +# SPDX-License-Identifier: GPL-2.0-only +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/include/dwarf-regs-table.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/include/dwarf-regs-table.h index 952a64406f..d7c9f1fb44 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/include/dwarf-regs-table.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/arch/xtensa/include/dwarf-regs-table.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef DEFINE_DWARF_REGSTR_TABLE -/* This is included in perf/util/dwarf-regs.c */ - -static const char * const xtensa_regstr_tbl[] = { - "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", - "a8", "a9", "a10", "a11", "a12", "a13", "a14", "a15", -}; -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef DEFINE_DWARF_REGSTR_TABLE +/* This is included in perf/util/dwarf-regs.c */ + +static const char * const xtensa_regstr_tbl[] = { + "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", + "a8", "a9", "a10", "a11", "a12", "a13", "a14", "a15", +}; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-arch.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-arch.h index a803eb771c..5bcaec5601 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-arch.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-arch.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifdef HAVE_ARCH_X86_64_SUPPORT - -#define MEMCPY_FN(fn, name, desc) \ - void *fn(void *, const void *, size_t); - -#include "mem-memcpy-x86-64-asm-def.h" - -#undef MEMCPY_FN - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifdef HAVE_ARCH_X86_64_SUPPORT + +#define MEMCPY_FN(fn, name, desc) \ + void *fn(void *, const void *, size_t); + +#include "mem-memcpy-x86-64-asm-def.h" + +#undef MEMCPY_FN + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-x86-64-asm-def.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-x86-64-asm-def.h index 275976e518..6188e19d31 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-x86-64-asm-def.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memcpy-x86-64-asm-def.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -MEMCPY_FN(memcpy_orig, - "x86-64-unrolled", - "unrolled memcpy() in arch/x86/lib/memcpy_64.S") - -MEMCPY_FN(__memcpy, - "x86-64-movsq", - "movsq-based memcpy() in arch/x86/lib/memcpy_64.S") +/* SPDX-License-Identifier: GPL-2.0 */ + +MEMCPY_FN(memcpy_orig, + "x86-64-unrolled", + "unrolled memcpy() in arch/x86/lib/memcpy_64.S") + +MEMCPY_FN(__memcpy, + "x86-64-movsq", + "movsq-based memcpy() in arch/x86/lib/memcpy_64.S") diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-arch.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-arch.h index 6085ce4b9b..53f4548266 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-arch.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-arch.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifdef HAVE_ARCH_X86_64_SUPPORT - -#define MEMSET_FN(fn, name, desc) \ - void *fn(void *, int, size_t); - -#include "mem-memset-x86-64-asm-def.h" - -#undef MEMSET_FN - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifdef HAVE_ARCH_X86_64_SUPPORT + +#define MEMSET_FN(fn, name, desc) \ + void *fn(void *, int, size_t); + +#include "mem-memset-x86-64-asm-def.h" + +#undef MEMSET_FN + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-x86-64-asm-def.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-x86-64-asm-def.h index ef228e0dd6..247c72fdfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-x86-64-asm-def.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/bench/mem-memset-x86-64-asm-def.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -MEMSET_FN(memset_orig, - "x86-64-unrolled", - "unrolled memset() in arch/x86/lib/memset_64.S") - -MEMSET_FN(__memset, - "x86-64-stosq", - "movsq-based memset() in arch/x86/lib/memset_64.S") +/* SPDX-License-Identifier: GPL-2.0 */ + +MEMSET_FN(memset_orig, + "x86-64-unrolled", + "unrolled memset() in arch/x86/lib/memset_64.S") + +MEMSET_FN(__memset, + "x86-64-stosq", + "movsq-based memset() in arch/x86/lib/memset_64.S") diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/perf-iostat.sh b/image/debian/UFI003_MB_V02/kernel/tools/perf/perf-iostat.sh index ccdac3734f..e562f252d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/perf-iostat.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/perf-iostat.sh @@ -1,12 +1,12 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -# perf iostat -# Alexander Antonov - -if [[ "$1" == "list" ]] || [[ "$1" =~ ([a-f0-9A-F]{1,}):([a-f0-9A-F]{1,2})(,)? ]]; then - DELIMITER="=" -else - DELIMITER=" " -fi - -perf stat --iostat$DELIMITER$* +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# perf iostat +# Alexander Antonov + +if [[ "$1" == "list" ]] || [[ "$1" =~ ([a-f0-9A-F]{1,}):([a-f0-9A-F]{1,2})(,)? ]]; then + DELIMITER="=" +else + DELIMITER=" " +fi + +perf stat --iostat$DELIMITER$* diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/perf.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/perf.h index bc3e74ab7b..c004dd4e65 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/perf.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/perf.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_PERF_H -#define _PERF_PERF_H - -#ifndef MAX_NR_CPUS -#define MAX_NR_CPUS 2048 -#endif - -enum perf_affinity { - PERF_AFFINITY_SYS = 0, - PERF_AFFINITY_NODE, - PERF_AFFINITY_CPU, - PERF_AFFINITY_MAX -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_PERF_H +#define _PERF_PERF_H + +#ifndef MAX_NR_CPUS +#define MAX_NR_CPUS 2048 +#endif + +enum perf_affinity { + PERF_AFFINITY_SYS = 0, + PERF_AFFINITY_NODE, + PERF_AFFINITY_CPU, + PERF_AFFINITY_MAX +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/branch.json index 6e0f834b59..c751d57f2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - }, - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - } -] +[ + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + }, + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/intrinsic.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/intrinsic.json index dc8feaef40..7ecffb989a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/intrinsic.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/intrinsic.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "LDREX_SPEC" - }, - { - "ArchStdEvent": "STREX_PASS_SPEC" - }, - { - "ArchStdEvent": "STREX_FAIL_SPEC" - }, - { - "ArchStdEvent": "STREX_SPEC" - } -] +[ + { + "ArchStdEvent": "LDREX_SPEC" + }, + { + "ArchStdEvent": "STREX_PASS_SPEC" + }, + { + "ArchStdEvent": "STREX_FAIL_SPEC" + }, + { + "ArchStdEvent": "STREX_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/spe.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/spe.json index ab17f5a370..20f2165c85 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/spe.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereone/spe.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "SAMPLE_POP" - }, - { - "ArchStdEvent": "SAMPLE_FEED" - }, - { - "ArchStdEvent": "SAMPLE_FILTRATE" - }, - { - "ArchStdEvent": "SAMPLE_COLLISION" - } -] +[ + { + "ArchStdEvent": "SAMPLE_POP" + }, + { + "ArchStdEvent": "SAMPLE_FEED" + }, + { + "ArchStdEvent": "SAMPLE_FILTRATE" + }, + { + "ArchStdEvent": "SAMPLE_COLLISION" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/bus.json index 3f75022ea6..2aeb990783 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/bus.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "CNT_CYCLES" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "CNT_CYCLES" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/intrinsic.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/intrinsic.json index dc8feaef40..7ecffb989a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/intrinsic.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/intrinsic.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "LDREX_SPEC" - }, - { - "ArchStdEvent": "STREX_PASS_SPEC" - }, - { - "ArchStdEvent": "STREX_FAIL_SPEC" - }, - { - "ArchStdEvent": "STREX_SPEC" - } -] +[ + { + "ArchStdEvent": "LDREX_SPEC" + }, + { + "ArchStdEvent": "STREX_PASS_SPEC" + }, + { + "ArchStdEvent": "STREX_FAIL_SPEC" + }, + { + "ArchStdEvent": "STREX_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/spe.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/spe.json index ab17f5a370..20f2165c85 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/spe.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/spe.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "SAMPLE_POP" - }, - { - "ArchStdEvent": "SAMPLE_FEED" - }, - { - "ArchStdEvent": "SAMPLE_FILTRATE" - }, - { - "ArchStdEvent": "SAMPLE_COLLISION" - } -] +[ + { + "ArchStdEvent": "SAMPLE_POP" + }, + { + "ArchStdEvent": "SAMPLE_FEED" + }, + { + "ArchStdEvent": "SAMPLE_FILTRATE" + }, + { + "ArchStdEvent": "SAMPLE_COLLISION" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/emag/intrinsic.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/emag/intrinsic.json index dc8feaef40..7ecffb989a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/emag/intrinsic.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/ampere/emag/intrinsic.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "LDREX_SPEC" - }, - { - "ArchStdEvent": "STREX_PASS_SPEC" - }, - { - "ArchStdEvent": "STREX_FAIL_SPEC" - }, - { - "ArchStdEvent": "STREX_SPEC" - } -] +[ + { + "ArchStdEvent": "LDREX_SPEC" + }, + { + "ArchStdEvent": "STREX_PASS_SPEC" + }, + { + "ArchStdEvent": "STREX_FAIL_SPEC" + }, + { + "ArchStdEvent": "STREX_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/branch.json index 6b003cb833..ece2017182 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/branch.json @@ -1,11 +1,11 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/exception.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/exception.json index f8a3715675..27c3fe9c83 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/exception.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/exception.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "EXC_TAKEN" - }, - { - "ArchStdEvent": "MEMORY_ERROR" - }, - { - "ArchStdEvent": "EXC_IRQ" - }, - { - "ArchStdEvent": "EXC_FIQ" - } -] +[ + { + "ArchStdEvent": "EXC_TAKEN" + }, + { + "ArchStdEvent": "MEMORY_ERROR" + }, + { + "ArchStdEvent": "EXC_IRQ" + }, + { + "ArchStdEvent": "EXC_FIQ" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/memory.json index ee821340ca..2c319f9369 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a34/memory.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "UNALIGNED_LDST_RETIRED" - }, - { - "ArchStdEvent": "MEM_ACCESS" - } -] +[ + { + "ArchStdEvent": "UNALIGNED_LDST_RETIRED" + }, + { + "ArchStdEvent": "MEM_ACCESS" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/branch.json index 6b003cb833..ece2017182 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/branch.json @@ -1,11 +1,11 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/exception.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/exception.json index f8a3715675..27c3fe9c83 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/exception.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/exception.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "EXC_TAKEN" - }, - { - "ArchStdEvent": "MEMORY_ERROR" - }, - { - "ArchStdEvent": "EXC_IRQ" - }, - { - "ArchStdEvent": "EXC_FIQ" - } -] +[ + { + "ArchStdEvent": "EXC_TAKEN" + }, + { + "ArchStdEvent": "MEMORY_ERROR" + }, + { + "ArchStdEvent": "EXC_IRQ" + }, + { + "ArchStdEvent": "EXC_FIQ" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/memory.json index ee821340ca..2c319f9369 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a35/memory.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "UNALIGNED_LDST_RETIRED" - }, - { - "ArchStdEvent": "MEM_ACCESS" - } -] +[ + { + "ArchStdEvent": "UNALIGNED_LDST_RETIRED" + }, + { + "ArchStdEvent": "MEM_ACCESS" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/exception.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/exception.json index f8a3715675..27c3fe9c83 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/exception.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/exception.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "EXC_TAKEN" - }, - { - "ArchStdEvent": "MEMORY_ERROR" - }, - { - "ArchStdEvent": "EXC_IRQ" - }, - { - "ArchStdEvent": "EXC_FIQ" - } -] +[ + { + "ArchStdEvent": "EXC_TAKEN" + }, + { + "ArchStdEvent": "MEMORY_ERROR" + }, + { + "ArchStdEvent": "EXC_IRQ" + }, + { + "ArchStdEvent": "EXC_FIQ" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/pmu.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/pmu.json index dfd0b6bf71..d8b7b9f9e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/pmu.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/pmu.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "PMU_OVFS" - }, - { - "ArchStdEvent": "PMU_HOVFS" - } -] +[ + { + "ArchStdEvent": "PMU_OVFS" + }, + { + "ArchStdEvent": "PMU_HOVFS" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/bus.json index ec845c56f5..0a70b82f75 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/bus.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/memory.json index 34fa40dede..25ae642ba3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a53/memory.json @@ -1,12 +1,12 @@ -[ - { - "EventCode": "0xC0", - "EventName": "EXT_MEM_REQ", - "BriefDescription": "External memory request" - }, - { - "EventCode": "0xC1", - "EventName": "EXT_MEM_REQ_NC", - "BriefDescription": "Non-cacheable external memory request" - } -] +[ + { + "EventCode": "0xC0", + "EventName": "EXT_MEM_REQ", + "BriefDescription": "External memory request" + }, + { + "EventCode": "0xC1", + "EventName": "EXT_MEM_REQ_NC", + "BriefDescription": "Non-cacheable external memory request" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/memory.json index 1547c91af9..d9229173d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/memory.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "UNALIGNED_LDST_RETIRED" - }, - { - "ArchStdEvent": "MEM_ACCESS" - }, - { - "ArchStdEvent": "REMOTE_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "UNALIGNED_LDST_RETIRED" + }, + { + "ArchStdEvent": "MEM_ACCESS" + }, + { + "ArchStdEvent": "REMOTE_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/memory.json index 3f53c784e2..e3d08f1f7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a57-a72/memory.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "MEM_ACCESS" - }, - { - "ArchStdEvent": "MEM_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_WR" - }, - { - "ArchStdEvent": "UNALIGNED_LD_SPEC" - }, - { - "ArchStdEvent": "UNALIGNED_ST_SPEC" - }, - { - "ArchStdEvent": "UNALIGNED_LDST_SPEC" - } -] +[ + { + "ArchStdEvent": "MEM_ACCESS" + }, + { + "ArchStdEvent": "MEM_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_WR" + }, + { + "ArchStdEvent": "UNALIGNED_LD_SPEC" + }, + { + "ArchStdEvent": "UNALIGNED_ST_SPEC" + }, + { + "ArchStdEvent": "UNALIGNED_LDST_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/exception.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/exception.json index f8a3715675..27c3fe9c83 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/exception.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/exception.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "EXC_TAKEN" - }, - { - "ArchStdEvent": "MEMORY_ERROR" - }, - { - "ArchStdEvent": "EXC_IRQ" - }, - { - "ArchStdEvent": "EXC_FIQ" - } -] +[ + { + "ArchStdEvent": "EXC_TAKEN" + }, + { + "ArchStdEvent": "MEMORY_ERROR" + }, + { + "ArchStdEvent": "EXC_IRQ" + }, + { + "ArchStdEvent": "EXC_FIQ" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/pipeline.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/pipeline.json index a5ff430924..eeac798d40 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/pipeline.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/pipeline.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "STALL_FRONTEND" - }, - { - "ArchStdEvent": "STALL_BACKEND" - } -] +[ + { + "ArchStdEvent": "STALL_FRONTEND" + }, + { + "ArchStdEvent": "STALL_BACKEND" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/bus.json index 1b284fcc21..579c1c993d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a710/bus.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - }, - { - "ArchStdEvent": "CNT_CYCLES" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + }, + { + "ArchStdEvent": "CNT_CYCLES" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/branch.json index 6b003cb833..ece2017182 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/branch.json @@ -1,11 +1,11 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/exception.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/exception.json index 13e93399bb..b77f122887 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/exception.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/exception.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "EXC_TAKEN" - }, - { - "ArchStdEvent": "EXC_HVC" - }, - { - "PublicDescription": "Number of Traps to hypervisor", - "EventCode": "0xDC", - "EventName": "EXC_TRAP_HYP", - "BriefDescription": "Number of Traps to hypervisor" - } -] +[ + { + "ArchStdEvent": "EXC_TAKEN" + }, + { + "ArchStdEvent": "EXC_HVC" + }, + { + "PublicDescription": "Number of Traps to hypervisor", + "EventCode": "0xDC", + "EventName": "EXC_TRAP_HYP", + "BriefDescription": "Number of Traps to hypervisor" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/memory.json index 4820398207..34e9cab7f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/memory.json @@ -1,14 +1,14 @@ -[ - { - "ArchStdEvent": "MEM_ACCESS" - }, - { - "ArchStdEvent": "MEM_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_WR" - }, - { - "ArchStdEvent": "UNALIGNED_LDST_SPEC" - } -] +[ + { + "ArchStdEvent": "MEM_ACCESS" + }, + { + "ArchStdEvent": "MEM_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_WR" + }, + { + "ArchStdEvent": "UNALIGNED_LDST_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/branch.json index 6b003cb833..ece2017182 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/branch.json @@ -1,11 +1,11 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/memory.json index 9a9b0e0d02..929fc54547 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/memory.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "MEM_ACCESS" - }, - { - "ArchStdEvent": "REMOTE_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_RD" - }, - { - "ArchStdEvent": "MEM_ACCESS_WR" - }, - { - "ArchStdEvent": "UNALIGNED_LDST_SPEC" - } -] +[ + { + "ArchStdEvent": "MEM_ACCESS" + }, + { + "ArchStdEvent": "REMOTE_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_RD" + }, + { + "ArchStdEvent": "MEM_ACCESS_WR" + }, + { + "ArchStdEvent": "UNALIGNED_LDST_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/bus.json index 32fcda5c2b..75d850b781 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/bus.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/pipeline.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/pipeline.json index a5ff430924..eeac798d40 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/pipeline.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a77/pipeline.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "STALL_FRONTEND" - }, - { - "ArchStdEvent": "STALL_BACKEND" - } -] +[ + { + "ArchStdEvent": "STALL_FRONTEND" + }, + { + "ArchStdEvent": "STALL_BACKEND" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/bus.json index 1b284fcc21..579c1c993d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-a78/bus.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - }, - { - "ArchStdEvent": "CNT_CYCLES" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + }, + { + "ArchStdEvent": "CNT_CYCLES" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/bus.json index 1b284fcc21..579c1c993d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x1/bus.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - }, - { - "ArchStdEvent": "CNT_CYCLES" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + }, + { + "ArchStdEvent": "CNT_CYCLES" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/branch.json index dd61910865..2f2d137f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/branch.json @@ -1,17 +1,17 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - }, - { - "ArchStdEvent": "BR_IMMED_SPEC" - }, - { - "ArchStdEvent": "BR_RETURN_SPEC" - }, - { - "ArchStdEvent": "BR_INDIRECT_SPEC" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + }, + { + "ArchStdEvent": "BR_IMMED_SPEC" + }, + { + "ArchStdEvent": "BR_RETURN_SPEC" + }, + { + "ArchStdEvent": "BR_INDIRECT_SPEC" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/bus.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/bus.json index 1b284fcc21..579c1c993d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/bus.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/cortex-x2/bus.json @@ -1,20 +1,20 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS" - }, - { - "ArchStdEvent": "BUS_CYCLES" - }, - { - "ArchStdEvent": "BUS_ACCESS_RD" - }, - { - "ArchStdEvent": "BUS_ACCESS_WR" - }, - { - "ArchStdEvent": "CNT_CYCLES" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS" + }, + { + "ArchStdEvent": "BUS_CYCLES" + }, + { + "ArchStdEvent": "BUS_ACCESS_RD" + }, + { + "ArchStdEvent": "BUS_ACCESS_WR" + }, + { + "ArchStdEvent": "CNT_CYCLES" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/general.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/general.json index c2fc04aec3..20fada95ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/general.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/general.json @@ -1,6 +1,6 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES", - "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES", + "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/general.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/general.json index 9385b51bab..428810f855 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/general.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/general.json @@ -1,10 +1,10 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES", - "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." - }, - { - "ArchStdEvent": "CNT_CYCLES", - "PublicDescription": "Counts constant frequency cycles" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES", + "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." + }, + { + "ArchStdEvent": "CNT_CYCLES", + "PublicDescription": "Counts constant frequency cycles" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/general.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/general.json index 9385b51bab..428810f855 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/general.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/general.json @@ -1,10 +1,10 @@ -[ - { - "ArchStdEvent": "CPU_CYCLES", - "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." - }, - { - "ArchStdEvent": "CNT_CYCLES", - "PublicDescription": "Counts constant frequency cycles" - } -] +[ + { + "ArchStdEvent": "CPU_CYCLES", + "PublicDescription": "Counts CPU clock cycles (not timer cycles). The clock measured by this event is defined as the physical clock driving the CPU logic." + }, + { + "ArchStdEvent": "CNT_CYCLES", + "PublicDescription": "Counts constant frequency cycles" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/ddrc.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/ddrc.json index 63deeea9e4..eeeae4d49f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/ddrc.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/ddrc.json @@ -1,9 +1,9 @@ -[ - { - "BriefDescription": "ddr cycles event", - "EventCode": "0x00", - "EventName": "imx93_ddr.cycles", - "Unit": "imx9_ddr", - "Compat": "imx93" - } -] +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx93_ddr.cycles", + "Unit": "imx9_ddr", + "Compat": "imx93" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ddrc.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ddrc.json index c52e4c8570..4dc9d2968b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ddrc.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ddrc.json @@ -1,9 +1,9 @@ -[ - { - "BriefDescription": "ddr cycles event", - "EventCode": "0x00", - "EventName": "imx95_ddr.cycles", - "Unit": "imx9_ddr", - "Compat": "imx95" - } -] +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx95_ddr.cycles", + "Unit": "imx9_ddr", + "Compat": "imx95" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json index ceb6ed4638..b011af11bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json @@ -1,8 +1,8 @@ -[ - { - "ArchStdEvent": "BR_MIS_PRED" - }, - { - "ArchStdEvent": "BR_PRED" - } -] +[ + { + "ArchStdEvent": "BR_MIS_PRED" + }, + { + "ArchStdEvent": "BR_PRED" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json index b09ed7630c..c1f6479e92 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json @@ -1,8 +1,8 @@ -[ - { - "PublicDescription": "This event counts energy consumption per cycle of CMG local memory.", - "EventCode": "0x3E8", - "EventName": "EA_MEMORY", - "BriefDescription": "This event counts energy consumption per cycle of CMG local memory." - } -] +[ + { + "PublicDescription": "This event counts energy consumption per cycle of CMG local memory.", + "EventCode": "0x3E8", + "EventName": "EA_MEMORY", + "BriefDescription": "This event counts energy consumption per cycle of CMG local memory." + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/powerpc/power8/floating-point.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/powerpc/power8/floating-point.json index ee6c111524..4ef0d01b7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/powerpc/power8/floating-point.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/powerpc/power8/floating-point.json @@ -1,14 +1,14 @@ -[ - { - "EventCode": "0x2000e", - "EventName": "PM_FXU_BUSY", - "BriefDescription": "fxu0 busy and fxu1 busy", - "PublicDescription": "" - }, - { - "EventCode": "0x1000e", - "EventName": "PM_FXU_IDLE", - "BriefDescription": "fxu0 idle and fxu1 idle", - "PublicDescription": "" - } -] +[ + { + "EventCode": "0x2000e", + "EventName": "PM_FXU_BUSY", + "BriefDescription": "fxu0 busy and fxu1 busy", + "PublicDescription": "" + }, + { + "EventCode": "0x1000e", + "EventName": "PM_FXU_IDLE", + "BriefDescription": "fxu0 idle and fxu1 idle", + "PublicDescription": "" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/s390/cf_zec12/transaction.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/s390/cf_zec12/transaction.json index 12b4aa318f..1a0034f79f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/s390/cf_zec12/transaction.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/s390/cf_zec12/transaction.json @@ -1,7 +1,7 @@ -[ - { - "BriefDescription": "Transaction count", - "MetricName": "transaction", - "MetricExpr": "TX_C_TEND + TX_NC_TEND + TX_NC_TABORT + TX_C_TABORT_SPECIAL + TX_C_TABORT_NO_SPECIAL" - } -] +[ + { + "BriefDescription": "Transaction count", + "MetricName": "transaction", + "MetricExpr": "TX_C_TEND + TX_NC_TEND + TX_NC_TABORT + TX_C_TABORT_SPECIAL + TX_C_TABORT_NO_SPECIAL" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/arch-std-events.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/arch-std-events.json index f94effd21d..43f6f729d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/arch-std-events.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/arch-std-events.json @@ -1,8 +1,8 @@ -[ - { - "PublicDescription": "Attributable Level 3 cache access, read", - "EventCode": "0x40", - "EventName": "L3_CACHE_RD", - "BriefDescription": "L3 cache access, read" - } -] +[ + { + "PublicDescription": "Attributable Level 3 cache access, read", + "EventCode": "0x40", + "EventName": "L3_CACHE_RD", + "BriefDescription": "L3 cache access, read" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/test_soc/cpu/branch.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/test_soc/cpu/branch.json index 2a9c12e3d5..93ddfd8053 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/test_soc/cpu/branch.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/test/test_soc/cpu/branch.json @@ -1,12 +1,12 @@ -[ - { - "EventName": "bp_l1_btb_correct", - "EventCode": "0x8a", - "BriefDescription": "L1 BTB Correction." - }, - { - "EventName": "bp_l2_btb_correct", - "EventCode": "0x8b", - "BriefDescription": "L2 BTB Correction." - } -] +[ + { + "EventName": "bp_l1_btb_correct", + "EventCode": "0x8a", + "BriefDescription": "L1 BTB Correction." + }, + { + "EventName": "bp_l2_btb_correct", + "EventCode": "0x8b", + "BriefDescription": "L2 BTB Correction." + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlake/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlake/uncore-other.json index 0f19d312bb..1ac5b5ef80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlake/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlake/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlaken/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlaken/uncore-other.json index 0f19d312bb..1ac5b5ef80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlaken/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/alderlaken/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/bonnell/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/bonnell/counter.json index ddcf5974d9..eb89b55f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/bonnell/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/bonnell/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "2" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "2" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/elkhartlake/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/elkhartlake/counter.json index 8429fe77a7..aa443347b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/elkhartlake/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/elkhartlake/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "3", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "3", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmont/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmont/counter.json index 8429fe77a7..aa443347b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmont/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmont/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "3", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "3", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmontplus/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmontplus/counter.json index 8429fe77a7..aa443347b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmontplus/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/goldmontplus/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "3", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "3", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/haswell/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/haswell/uncore-other.json index 0f19d312bb..1ac5b5ef80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/haswell/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/haswell/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/counter.json index 516561f99b..5a35007252 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/counter.json @@ -1,17 +1,17 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "8" - }, - { - "Unit": "ARB", - "CountersNumFixed": "0", - "CountersNumGeneric": "2" - }, - { - "Unit": "CLOCK", - "CountersNumFixed": 1, - "CountersNumGeneric": "0" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "8" + }, + { + "Unit": "ARB", + "CountersNumFixed": "0", + "CountersNumGeneric": "2" + }, + { + "Unit": "CLOCK", + "CountersNumFixed": 1, + "CountersNumGeneric": "0" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/uncore-other.json index b189cb1920..cc8110ac02 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/icelake/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "UNC_CLOCK.SOCKET", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "UNC_CLOCK.SOCKET", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/ivybridge/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/ivybridge/counter.json index c28813a0c2..35bb154900 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/ivybridge/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/ivybridge/counter.json @@ -1,17 +1,17 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "3", - "CountersNumGeneric": "4" - }, - { - "Unit": "ARB", - "CountersNumFixed": "1", - "CountersNumGeneric": "2" - }, - { - "Unit": "CBOX", - "CountersNumFixed": "0", - "CountersNumGeneric": "2" - } +[ + { + "Unit": "core", + "CountersNumFixed": "3", + "CountersNumGeneric": "4" + }, + { + "Unit": "ARB", + "CountersNumFixed": "1", + "CountersNumGeneric": "2" + }, + { + "Unit": "CBOX", + "CountersNumFixed": "0", + "CountersNumGeneric": "2" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/meteorlake/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/meteorlake/uncore-other.json index 0f19d312bb..1ac5b5ef80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/meteorlake/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/meteorlake/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemep/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemep/counter.json index 4b6040b9a0..ecf0795dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemep/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemep/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemex/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemex/counter.json index 4b6040b9a0..ecf0795dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemex/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/nehalemex/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/counter.json index 516561f99b..5a35007252 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/counter.json @@ -1,17 +1,17 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "8" - }, - { - "Unit": "ARB", - "CountersNumFixed": "0", - "CountersNumGeneric": "2" - }, - { - "Unit": "CLOCK", - "CountersNumFixed": 1, - "CountersNumGeneric": "0" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "8" + }, + { + "Unit": "ARB", + "CountersNumFixed": "0", + "CountersNumGeneric": "2" + }, + { + "Unit": "CLOCK", + "CountersNumFixed": 1, + "CountersNumGeneric": "0" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/uncore-other.json index b189cb1920..cc8110ac02 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/rocketlake/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "UNC_CLOCK.SOCKET", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "UNC_CLOCK.SOCKET", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/sandybridge/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/sandybridge/counter.json index c28813a0c2..35bb154900 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/sandybridge/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/sandybridge/counter.json @@ -1,17 +1,17 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "3", - "CountersNumGeneric": "4" - }, - { - "Unit": "ARB", - "CountersNumFixed": "1", - "CountersNumGeneric": "2" - }, - { - "Unit": "CBOX", - "CountersNumFixed": "0", - "CountersNumGeneric": "2" - } +[ + { + "Unit": "core", + "CountersNumFixed": "3", + "CountersNumGeneric": "4" + }, + { + "Unit": "ARB", + "CountersNumFixed": "1", + "CountersNumGeneric": "2" + }, + { + "Unit": "CBOX", + "CountersNumFixed": "0", + "CountersNumGeneric": "2" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/silvermont/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/silvermont/counter.json index ddcf5974d9..eb89b55f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/silvermont/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/silvermont/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "2" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "2" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/counter.json index 516561f99b..5a35007252 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/counter.json @@ -1,17 +1,17 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "8" - }, - { - "Unit": "ARB", - "CountersNumFixed": "0", - "CountersNumGeneric": "2" - }, - { - "Unit": "CLOCK", - "CountersNumFixed": 1, - "CountersNumGeneric": "0" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "8" + }, + { + "Unit": "ARB", + "CountersNumFixed": "0", + "CountersNumGeneric": "2" + }, + { + "Unit": "CLOCK", + "CountersNumFixed": 1, + "CountersNumGeneric": "0" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/uncore-other.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/uncore-other.json index b189cb1920..cc8110ac02 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/uncore-other.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/tigerlake/uncore-other.json @@ -1,10 +1,10 @@ -[ - { - "BriefDescription": "UNC_CLOCK.SOCKET", - "Counter": "FIXED", - "EventCode": "0xff", - "EventName": "UNC_CLOCK.SOCKET", - "PerPkg": "1", - "Unit": "CLOCK" - } -] +[ + { + "BriefDescription": "UNC_CLOCK.SOCKET", + "Counter": "FIXED", + "EventCode": "0xff", + "EventName": "UNC_CLOCK.SOCKET", + "PerPkg": "1", + "Unit": "CLOCK" + } +] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-dp/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-dp/counter.json index 4b6040b9a0..ecf0795dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-dp/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-dp/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-sp/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-sp/counter.json index 4b6040b9a0..ecf0795dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-sp/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereep-sp/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereex/counter.json b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereex/counter.json index 4b6040b9a0..ecf0795dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereex/counter.json +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/pmu-events/arch/x86/westmereex/counter.json @@ -1,7 +1,7 @@ -[ - { - "Unit": "core", - "CountersNumFixed": "4", - "CountersNumGeneric": "4" - } +[ + { + "Unit": "core", + "CountersNumFixed": "4", + "CountersNumGeneric": "4" + } ] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/Build index b656312fe1..46f0c6f76d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/Build @@ -1,4 +1,4 @@ -ifeq ($(CONFIG_LIBTRACEEVENT),y) - perf-util-$(CONFIG_LIBPERL) += perl/Perf-Trace-Util/ -endif -perf-util-$(CONFIG_LIBPYTHON) += python/Perf-Trace-Util/ +ifeq ($(CONFIG_LIBTRACEEVENT),y) + perf-util-$(CONFIG_LIBPERL) += perl/Perf-Trace-Util/ +endif +perf-util-$(CONFIG_LIBPYTHON) += python/Perf-Trace-Util/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/check-perf-trace-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/check-perf-trace-record index b23b3ef73f..423ad6aed0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/check-perf-trace-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/check-perf-trace-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -a -e kmem:kmalloc -e irq:softirq_entry -e kmem:kfree +#!/bin/bash +perf record -a -e kmem:kmalloc -e irq:softirq_entry -e kmem:kfree diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-record index c44657d9d8..74685f3183 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-record @@ -1,3 +1,3 @@ -#!/bin/bash -(perf record -e raw_syscalls:sys_exit $@ || \ - perf record -e syscalls:sys_exit $@) 2> /dev/null +#!/bin/bash +(perf record -e raw_syscalls:sys_exit $@ || \ + perf record -e syscalls:sys_exit $@) 2> /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-report index 0e819d873e..9f83cc1ad8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/failed-syscalls-report @@ -1,10 +1,10 @@ -#!/bin/bash -# description: system-wide failed syscalls -# args: [comm] -if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" > /dev/null ; then - comm=$1 - shift - fi -fi -perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/failed-syscalls.pl $comm +#!/bin/bash +# description: system-wide failed syscalls +# args: [comm] +if [ $# -gt 0 ] ; then + if ! expr match "$1" "-" > /dev/null ; then + comm=$1 + shift + fi +fi +perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/failed-syscalls.pl $comm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-record index 9bed763178..33efc8673a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-record @@ -1,3 +1,3 @@ -#!/bin/bash -perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@ - +#!/bin/bash +perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@ + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-report index 6399f686d1..77200b3f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-file-report @@ -1,10 +1,10 @@ -#!/bin/bash -# description: r/w activity for a program, by file -# args: -if [ $# -lt 1 ] ; then - echo "usage: rw-by-file " - exit -fi -comm=$1 -shift -perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm +#!/bin/bash +# description: r/w activity for a program, by file +# args: +if [ $# -lt 1 ] ; then + echo "usage: rw-by-file " + exit +fi +comm=$1 +shift +perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-record index 98c0c8bd92..7cb9db2304 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@ +#!/bin/bash +perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-report index 9512657064..a27b9f311f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rw-by-pid-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: system-wide r/w activity -perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl +#!/bin/bash +# description: system-wide r/w activity +perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rwtop-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rwtop-record index 98c0c8bd92..7cb9db2304 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rwtop-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/rwtop-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@ +#!/bin/bash +perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-record index 33335850d2..464251a1bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-record @@ -1,6 +1,6 @@ -#!/bin/bash -perf record -e sched:sched_switch -e sched:sched_wakeup $@ - - - - +#!/bin/bash +perf record -e sched:sched_switch -e sched:sched_wakeup $@ + + + + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-report index 669a54d4b6..889e8130cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/perl/bin/wakeup-latency-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: system-wide min/max/avg wakeup latency -perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/wakeup-latency.pl +#!/bin/bash +# description: system-wide min/max/avg wakeup latency +perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/wakeup-latency.pl diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/Perf-Trace-Util/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/Perf-Trace-Util/Build index 430f843819..be3710c613 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/Perf-Trace-Util/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/Perf-Trace-Util/Build @@ -1,4 +1,4 @@ -perf-util-y += Context.o - -# -Wno-declaration-after-statement: The python headers have mixed code with declarations (decls after asserts, for instance) -CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-declaration-after-statement +perf-util-y += Context.o + +# -Wno-declaration-after-statement: The python headers have mixed code with declarations (decls after asserts, for instance) +CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-declaration-after-statement diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-record index 6d3ad5830c..6edcd40e14 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -e compaction:mm_compaction_begin -e compaction:mm_compaction_end -e compaction:mm_compaction_migratepages -e compaction:mm_compaction_isolate_migratepages -e compaction:mm_compaction_isolate_freepages $@ +#!/bin/bash +perf record -e compaction:mm_compaction_begin -e compaction:mm_compaction_end -e compaction:mm_compaction_migratepages -e compaction:mm_compaction_isolate_migratepages -e compaction:mm_compaction_isolate_freepages $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-report index 00f1e6cb5d..3dc13897cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/compaction-times-report @@ -1,4 +1,4 @@ -#!/bin/bash -#description: display time taken by mm compaction -#args: [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex] -perf script -s "$PERF_EXEC_PATH"/scripts/python/compaction-times.py $@ +#!/bin/bash +#description: display time taken by mm compaction +#args: [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex] +perf script -s "$PERF_EXEC_PATH"/scripts/python/compaction-times.py $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-record index 108431473c..5ce652dabd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-record @@ -1,8 +1,8 @@ -#!/bin/bash - -# -# event_analyzing_sample.py can cover all type of perf samples including -# the tracepoints, so no special record requirements, just record what -# you want to analyze. -# -perf record $@ +#!/bin/bash + +# +# event_analyzing_sample.py can cover all type of perf samples including +# the tracepoints, so no special record requirements, just record what +# you want to analyze. +# +perf record $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-report index 1fbcff37d9..0941fc94e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/event_analyzing_sample-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: analyze all perf samples -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/event_analyzing_sample.py +#!/bin/bash +# description: analyze all perf samples +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/event_analyzing_sample.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-postgresql-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-postgresql-record index 460fb65b91..221d66e057 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-postgresql-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-postgresql-record @@ -1,8 +1,8 @@ -#!/bin/bash - -# -# export perf data to a postgresql database. Can cover -# perf ip samples (excluding the tracepoints). No special -# record requirements, just record what you want to export. -# -perf record $@ +#!/bin/bash + +# +# export perf data to a postgresql database. Can cover +# perf ip samples (excluding the tracepoints). No special +# record requirements, just record what you want to export. +# +perf record $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-sqlite-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-sqlite-record index dc61c14cfb..070204fd6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-sqlite-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/export-to-sqlite-record @@ -1,8 +1,8 @@ -#!/bin/bash - -# -# export perf data to a sqlite3 database. Can cover -# perf ip samples (excluding the tracepoints). No special -# record requirements, just record what you want to export. -# -perf record $@ +#!/bin/bash + +# +# export perf data to a sqlite3 database. Can cover +# perf ip samples (excluding the tracepoints). No special +# record requirements, just record what you want to export. +# +perf record $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-record index c44657d9d8..74685f3183 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-record @@ -1,3 +1,3 @@ -#!/bin/bash -(perf record -e raw_syscalls:sys_exit $@ || \ - perf record -e syscalls:sys_exit $@) 2> /dev/null +#!/bin/bash +(perf record -e raw_syscalls:sys_exit $@ || \ + perf record -e syscalls:sys_exit $@) 2> /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report index cab2ec85ea..fda5096d0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report @@ -1,10 +1,10 @@ -#!/bin/bash -# description: system-wide failed syscalls, by pid -# args: [comm] -if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" > /dev/null ; then - comm=$1 - shift - fi -fi -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm +#!/bin/bash +# description: system-wide failed syscalls, by pid +# args: [comm] +if [ $# -gt 0 ] ; then + if ! expr match "$1" "-" > /dev/null ; then + comm=$1 + shift + fi +fi +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/flamegraph-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/flamegraph-report old mode 100644 new mode 100755 index 064fb3b0a2..53c5dc90c8 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/flamegraph-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/flamegraph-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: create flame graphs -perf script -s "$PERF_EXEC_PATH"/scripts/python/flamegraph.py -- "$@" +#!/bin/bash +# description: create flame graphs +perf script -s "$PERF_EXEC_PATH"/scripts/python/flamegraph.py -- "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-record index 6765271b2a..b1495c9a9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@ +#!/bin/bash +perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-report index 778d312553..6c44271091 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/futex-contention-report @@ -1,4 +1,4 @@ -#!/bin/bash -# description: futext contention measurement - -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py +#!/bin/bash +# description: futext contention measurement + +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/gecko-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/gecko-report old mode 100644 new mode 100755 index 9ba24d3e04..1867ec8d97 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/gecko-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/gecko-report @@ -1,7 +1,7 @@ -#!/bin/bash -# description: create firefox gecko profile json format from perf.data -if [ "$*" = "-i -" ]; then -perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -else -perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@" -fi +#!/bin/bash +# description: create firefox gecko profile json format from perf.data +if [ "$*" = "-i -" ]; then +perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py +else +perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@" +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/intel-pt-events-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/intel-pt-events-report index f9694abc3c..beeac3fde9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/intel-pt-events-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/intel-pt-events-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: print Intel PT Events including Power Events and PTWRITE -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/intel-pt-events.py +#!/bin/bash +# description: print Intel PT Events including Power Events and PTWRITE +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/intel-pt-events.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/mem-phys-addr-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/mem-phys-addr-report index 6291ba5537..3f2b847e2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/mem-phys-addr-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/mem-phys-addr-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: resolve physical address samples -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/mem-phys-addr.py +#!/bin/bash +# description: resolve physical address samples +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/mem-phys-addr.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/net_dropmonitor-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/net_dropmonitor-report old mode 100644 new mode 100755 index 779a3f2ce2..8d698f5a06 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/net_dropmonitor-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/net_dropmonitor-report @@ -1,4 +1,4 @@ -#!/bin/bash -# description: display a table of dropped frames - -perf script -s "$PERF_EXEC_PATH"/scripts/python/net_dropmonitor.py $@ +#!/bin/bash +# description: display a table of dropped frames + +perf script -s "$PERF_EXEC_PATH"/scripts/python/net_dropmonitor.py $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-record index 56306ee04c..558754b840 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-record @@ -1,8 +1,8 @@ -#!/bin/bash -perf record -e net:net_dev_xmit -e net:net_dev_queue \ - -e net:netif_receive_skb -e net:netif_rx \ - -e skb:consume_skb -e skb:kfree_skb \ - -e skb:skb_copy_datagram_iovec -e napi:napi_poll \ - -e irq:irq_handler_entry -e irq:irq_handler_exit \ - -e irq:softirq_entry -e irq:softirq_exit \ - -e irq:softirq_raise $@ +#!/bin/bash +perf record -e net:net_dev_xmit -e net:net_dev_queue \ + -e net:netif_receive_skb -e net:netif_rx \ + -e skb:consume_skb -e skb:kfree_skb \ + -e skb:skb_copy_datagram_iovec -e napi:napi_poll \ + -e irq:irq_handler_entry -e irq:irq_handler_exit \ + -e irq:softirq_entry -e irq:softirq_exit \ + -e irq:softirq_raise $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-report index b52a164ab8..8f759291da 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/netdev-times-report @@ -1,5 +1,5 @@ -#!/bin/bash -# description: display a process of packet and processing time -# args: [tx] [rx] [dev=] [debug] - -perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@ +#!/bin/bash +# description: display a process of packet and processing time +# args: [tx] [rx] [dev=] [debug] + +perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/powerpc-hcalls-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/powerpc-hcalls-report index 952dc2d236..dd32ad7465 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/powerpc-hcalls-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/powerpc-hcalls-report @@ -1,2 +1,2 @@ -#!/bin/bash -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/powerpc-hcalls.py +#!/bin/bash +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/powerpc-hcalls.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-record index e12eaeeb71..7493fddbe9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@ +#!/bin/bash +perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-report index 96b129455c..68b037a184 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sched-migration-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: sched migration overview -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py +#!/bin/bash +# description: sched migration overview +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sctop-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sctop-record index 0fcb8ecffd..d6940841e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sctop-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/sctop-record @@ -1,3 +1,3 @@ -#!/bin/bash -(perf record -e raw_syscalls:sys_enter $@ || \ - perf record -e syscalls:sys_enter $@) 2> /dev/null +#!/bin/bash +(perf record -e raw_syscalls:sys_enter $@ || \ + perf record -e syscalls:sys_enter $@) 2> /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-record old mode 100644 new mode 100755 index e8b1c9d70a..9d8f9f0f3a --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-record @@ -1,8 +1,8 @@ -#!/bin/sh - -# -# stackcollapse.py can cover all type of perf samples including -# the tracepoints, so no special record requirements, just record what -# you want to analyze. -# -perf record "$@" +#!/bin/sh + +# +# stackcollapse.py can cover all type of perf samples including +# the tracepoints, so no special record requirements, just record what +# you want to analyze. +# +perf record "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-report old mode 100644 new mode 100755 index 6c440bc5ea..21a356bd27 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/stackcollapse-report @@ -1,3 +1,3 @@ -#!/bin/sh -# description: produce callgraphs in short form for scripting use -perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py "$@" +#!/bin/sh +# description: produce callgraphs in short form for scripting use +perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-record index 0fcb8ecffd..d6940841e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-record @@ -1,3 +1,3 @@ -#!/bin/bash -(perf record -e raw_syscalls:sys_enter $@ || \ - perf record -e syscalls:sys_enter $@) 2> /dev/null +#!/bin/bash +(perf record -e raw_syscalls:sys_enter $@ || \ + perf record -e syscalls:sys_enter $@) 2> /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-report index d25ab9f4f4..16eb8d65c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-by-pid-report @@ -1,10 +1,10 @@ -#!/bin/bash -# description: system-wide syscall counts, by pid -# args: [comm] -if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" > /dev/null ; then - comm=$1 - shift - fi -fi -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm +#!/bin/bash +# description: system-wide syscall counts, by pid +# args: [comm] +if [ $# -gt 0 ] ; then + if ! expr match "$1" "-" > /dev/null ; then + comm=$1 + shift + fi +fi +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-record index 0fcb8ecffd..d6940841e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-record @@ -1,3 +1,3 @@ -#!/bin/bash -(perf record -e raw_syscalls:sys_enter $@ || \ - perf record -e syscalls:sys_enter $@) 2> /dev/null +#!/bin/bash +(perf record -e raw_syscalls:sys_enter $@ || \ + perf record -e syscalls:sys_enter $@) 2> /dev/null diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-report index 49571d3085..0f0e9d453b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/syscall-counts-report @@ -1,10 +1,10 @@ -#!/bin/bash -# description: system-wide syscall counts -# args: [comm] -if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" > /dev/null ; then - comm=$1 - shift - fi -fi -perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm +#!/bin/bash +# description: system-wide syscall counts +# args: [comm] +if [ $# -gt 0 ] ; then + if ! expr match "$1" "-" > /dev/null ; then + comm=$1 + shift + fi +fi +perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-record b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-record old mode 100644 new mode 100755 index 85d7da7c7f..0f6b51bb27 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-record +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-record @@ -1,2 +1,2 @@ -#!/bin/bash -perf record -e sched:sched_switch -e sched:sched_migrate_task "$@" +#!/bin/bash +perf record -e sched:sched_switch -e sched:sched_migrate_task "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-report b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-report old mode 100644 new mode 100755 index 986bad4037..4b16a8cc40 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-report +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/bin/task-analyzer-report @@ -1,3 +1,3 @@ -#!/bin/bash -# description: analyze timings of tasks -perf script -s "$PERF_EXEC_PATH"/scripts/python/task-analyzer.py -- "$@" +#!/bin/bash +# description: analyze timings of tasks +perf script -s "$PERF_EXEC_PATH"/scripts/python/task-analyzer.py -- "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-basic b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-basic index 75f87825be..b0ca42a5ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-basic +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-basic @@ -1,6 +1,6 @@ -[config] -command = record -args = --no-bpf-event kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] +[config] +command = record +args = --no-bpf-event kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-any b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-any index 7f785cc365..1a99b3ce6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-any +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-any @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -b kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=8 +[config] +command = record +args = --no-bpf-event -b kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=8 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any index 60ec547361..709768b508 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j any kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=8 +[config] +command = record +args = --no-bpf-event -j any kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=8 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_call b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_call index a7cf437a8f..f943221f78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_call +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_call @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j any_call kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=16 +[config] +command = record +args = --no-bpf-event -j any_call kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=16 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_ret b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_ret index d12f48305f..fd4f5b4154 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_ret +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-any_ret @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j any_ret kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=32 +[config] +command = record +args = --no-bpf-event -j any_ret kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=32 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-hv b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-hv index a14db25a14..4e52d685eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-hv +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-hv @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j hv kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=8 +[config] +command = record +args = --no-bpf-event -j hv kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=8 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-ind_call b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-ind_call index 783cdd15e7..e08c6ab379 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-ind_call +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-ind_call @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j ind_call kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=64 +[config] +command = record +args = --no-bpf-event -j ind_call kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=64 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-k b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-k index f837f0ecfe..b4b98f84fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-k +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-k @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j k kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=8 +[config] +command = record +args = --no-bpf-event -j k kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=8 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-u b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-u index 4028f9400a..fb9610edbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-u +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-branch-filter-u @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -j u kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=2311 -branch_sample_type=8 +[config] +command = record +args = --no-bpf-event -j u kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=2311 +branch_sample_type=8 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-count b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-count index 81c916ea44..5e9b9019d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-count +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-count @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event -c 123 kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_period=123 -sample_type=7 -freq=0 +[config] +command = record +args = --no-bpf-event -c 123 kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_period=123 +sample_type=7 +freq=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-data b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-data index 8eb605a2f0..a99bb13149 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-data +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-data @@ -1,10 +1,10 @@ -[config] -command = record -args = --no-bpf-event -d kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -# sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | -# PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC -sample_type=33039 -mmap_data=1 +[config] +command = record +args = --no-bpf-event -d kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +# sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | +# PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC +sample_type=33039 +mmap_data=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-freq b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-freq index 68a018d3f5..89e29f6b2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-freq +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-freq @@ -1,7 +1,7 @@ -[config] -command = record -args = --no-bpf-event -F 100 kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_period=100 +[config] +command = record +args = --no-bpf-event -F 100 kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_period=100 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default index 3e65075c3c..f0a18b4ea4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event -g kill >/dev/null 2>&1 -ret = 1 -# arm64 enables registers in the default mode (fp) -arch = !aarch64 - -[event:base-record] -sample_type=295 +[config] +command = record +args = --no-bpf-event -g kill >/dev/null 2>&1 +ret = 1 +# arm64 enables registers in the default mode (fp) +arch = !aarch64 + +[event:base-record] +sample_type=295 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default-aarch64 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default-aarch64 index 44146550a6..e98d62efb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default-aarch64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-default-aarch64 @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event -g kill >/dev/null 2>&1 -ret = 1 -arch = aarch64 - -[event:base-record] -sample_type=4391 -sample_regs_user=1073741824 +[config] +command = record +args = --no-bpf-event -g kill >/dev/null 2>&1 +ret = 1 +arch = aarch64 + +[event:base-record] +sample_type=4391 +sample_regs_user=1073741824 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-dwarf b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-dwarf index 5415e87967..ae92061d61 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-dwarf +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-dwarf @@ -1,12 +1,12 @@ -[config] -command = record -args = --no-bpf-event --call-graph dwarf -- kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=45359 -exclude_callchain_user=1 -sample_stack_user=8192 -# TODO different for each arch, no support for that now -sample_regs_user=* -mmap_data=1 +[config] +command = record +args = --no-bpf-event --call-graph dwarf -- kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=45359 +exclude_callchain_user=1 +sample_stack_user=8192 +# TODO different for each arch, no support for that now +sample_regs_user=* +mmap_data=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp index 9c3c18ab25..a6e60e8392 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event --call-graph fp kill >/dev/null 2>&1 -ret = 1 -# arm64 enables registers in fp mode -arch = !aarch64 - -[event:base-record] -sample_type=295 +[config] +command = record +args = --no-bpf-event --call-graph fp kill >/dev/null 2>&1 +ret = 1 +# arm64 enables registers in fp mode +arch = !aarch64 + +[event:base-record] +sample_type=295 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp-aarch64 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp-aarch64 index 383258e048..cbeea99712 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp-aarch64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-graph-fp-aarch64 @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event --call-graph fp kill >/dev/null 2>&1 -ret = 1 -arch = aarch64 - -[event:base-record] -sample_type=4391 -sample_regs_user=1073741824 +[config] +command = record +args = --no-bpf-event --call-graph fp kill >/dev/null 2>&1 +ret = 1 +arch = aarch64 + +[event:base-record] +sample_type=4391 +sample_regs_user=1073741824 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-group1 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-group1 index 510db6dacc..eeb1db392b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-group1 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-group1 @@ -1,23 +1,23 @@ -[config] -command = record -args = --no-bpf-event -e '{cycles,instructions}' kill >/dev/null 2>&1 -ret = 1 - -[event-1:base-record] -fd=1 -group_fd=-1 -sample_type=327 -read_format=4|20 - -[event-2:base-record] -fd=2 -group_fd=1 -type=0 -config=1 -sample_type=327 -read_format=4|20 -mmap=0 -comm=0 -task=0 -enable_on_exec=0 -disabled=0 +[config] +command = record +args = --no-bpf-event -e '{cycles,instructions}' kill >/dev/null 2>&1 +ret = 1 + +[event-1:base-record] +fd=1 +group_fd=-1 +sample_type=327 +read_format=4|20 + +[event-2:base-record] +fd=2 +group_fd=1 +type=0 +config=1 +sample_type=327 +read_format=4|20 +mmap=0 +comm=0 +task=0 +enable_on_exec=0 +disabled=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-buffering b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-buffering index 383b0f23d7..583dcbb078 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-buffering +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-buffering @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event --no-buffering kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=263 -watermark=0 -wakeup_events=1 +[config] +command = record +args = --no-bpf-event --no-buffering kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=263 +watermark=0 +wakeup_events=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-inherit b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-inherit index 5645413fbf..15d1dc162e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-inherit +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-inherit @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -i kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=263 -inherit=0 +[config] +command = record +args = --no-bpf-event -i kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=263 +inherit=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-samples b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-samples index 1365fe4eec..596fbd6d5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-samples +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-no-samples @@ -1,7 +1,7 @@ -[config] -command = record -args = --no-bpf-event -n kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_period=0 +[config] +command = record +args = --no-bpf-event -n kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_period=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-period b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-period index 35e69ea32a..119101154c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-period +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-period @@ -1,8 +1,8 @@ -[config] -command = record -args = --no-bpf-event -c 100 -P kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_period=100 -freq=0 +[config] +command = record +args = --no-bpf-event -c 100 -P kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_period=100 +freq=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-pfm-period b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-pfm-period index c69b39ca6d..368f5b8140 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-pfm-period +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-pfm-period @@ -1,9 +1,9 @@ -[config] -command = record -args = --no-bpf-event -c 10000 --pfm-events=cycles:period=77777 kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_period=77777 -sample_type=7 -freq=0 +[config] +command = record +args = --no-bpf-event -c 10000 --pfm-events=cycles:period=77777 kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_period=77777 +sample_type=7 +freq=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-raw b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-raw index cf641c881c..13a5f7860c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-raw +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-raw @@ -1,7 +1,7 @@ -[config] -command = record -args = --no-bpf-event -R kill >/dev/null 2>&1 -ret = 1 - -[event:base-record] -sample_type=1415 +[config] +command = record +args = --no-bpf-event -R kill >/dev/null 2>&1 +ret = 1 + +[event:base-record] +sample_type=1415 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period index 8576b3d1c7..75f8c9cd8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period @@ -1,12 +1,12 @@ -[config] -command = record -args = --no-bpf-event -c 2 -e arm_spe_0// -- kill >/dev/null 2>&1 -ret = 1 -arch = aarch64 - -[event-10:base-record-spe] -sample_period=2 -freq=0 - -# dummy event -[event-1:base-record-spe] +[config] +command = record +args = --no-bpf-event -c 2 -e arm_spe_0// -- kill >/dev/null 2>&1 +ret = 1 +arch = aarch64 + +[event-10:base-record-spe] +sample_period=2 +freq=0 + +# dummy event +[event-1:base-record-spe] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period-term b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period-term index 7659e8c3ef..8f60a4fec6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period-term +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-period-term @@ -1,12 +1,12 @@ -[config] -command = record -args = --no-bpf-event -e arm_spe_0/period=3/ -- kill >/dev/null 2>&1 -ret = 1 -arch = aarch64 - -[event-10:base-record-spe] -sample_period=3 -freq=0 - -# dummy event -[event-1:base-record-spe] +[config] +command = record +args = --no-bpf-event -e arm_spe_0/period=3/ -- kill >/dev/null 2>&1 +ret = 1 +arch = aarch64 + +[event-10:base-record-spe] +sample_period=3 +freq=0 + +# dummy event +[event-1:base-record-spe] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-physical-address b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-physical-address index 1aaab54137..7ebcf5012c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-physical-address +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-spe-physical-address @@ -1,12 +1,12 @@ -[config] -command = record -args = --no-bpf-event -e arm_spe_0/pa_enable=1/ -- kill >/dev/null 2>&1 -ret = 1 -arch = aarch64 - -[event-10:base-record-spe] -# 622727 is the decimal of IP|TID|TIME|CPU|IDENTIFIER|DATA_SRC|PHYS_ADDR -sample_type=622727 - -# dummy event +[config] +command = record +args = --no-bpf-event -e arm_spe_0/pa_enable=1/ -- kill >/dev/null 2>&1 +ret = 1 +arch = aarch64 + +[event-10:base-record-spe] +# 622727 is the decimal of IP|TID|TIME|CPU|IDENTIFIER|DATA_SRC|PHYS_ADDR +sample_type=622727 + +# dummy event [event-1:base-record-spe] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 index 0c31579fe9..bed765450c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 @@ -1,9 +1,9 @@ -# Test that asking for VG fails if the system doesn't support SVE. This -# applies both before and after the feature was added in 6.1 -[config] -command = record -args = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1 -ret = 129 -test_ret = true -arch = aarch64 -auxv = auxv["AT_HWCAP"] & 0x400000 == 0 +# Test that asking for VG fails if the system doesn't support SVE. This +# applies both before and after the feature was added in 6.1 +[config] +command = record +args = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1 +ret = 129 +test_ret = true +arch = aarch64 +auxv = auxv["AT_HWCAP"] & 0x400000 == 0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-old-sve-aarch64 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-old-sve-aarch64 index 7c322cb774..15ebfc3418 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-old-sve-aarch64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-record-user-regs-old-sve-aarch64 @@ -1,10 +1,10 @@ -# Test that asking for VG always fails on old kernels because it was -# added in 6.1. This applies to systems that either support or don't -# support SVE. -[config] -command = record -args = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1 -ret = 129 -test_ret = true -arch = aarch64 -kernel_until = 6.1 +# Test that asking for VG always fails on old kernels because it was +# added in 6.1. This applies to systems that either support or don't +# support SVE. +[config] +command = record +args = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1 +ret = 129 +test_ret = true +arch = aarch64 +kernel_until = 6.1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-C0 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-C0 index f625f4c6b0..a2c76d10b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-C0 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-C0 @@ -1,10 +1,10 @@ -[config] -command = stat -args = -e cycles -C 0 kill >/dev/null 2>&1 -ret = 1 - -[event:base-stat] -# events are disabled by default when attached to cpu -disabled=1 -enable_on_exec=0 -optional=1 +[config] +command = stat +args = -e cycles -C 0 kill >/dev/null 2>&1 +ret = 1 + +[event:base-stat] +# events are disabled by default when attached to cpu +disabled=1 +enable_on_exec=0 +optional=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-basic b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-basic index 20a087ed77..69867d049f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-basic +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-basic @@ -1,7 +1,7 @@ -[config] -command = stat -args = -e cycles kill >/dev/null 2>&1 -ret = 1 - -[event:base-stat] -optional=1 +[config] +command = stat +args = -e cycles kill >/dev/null 2>&1 +ret = 1 + +[event:base-stat] +optional=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-group1 b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-group1 index a82840e63a..1746751123 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-group1 +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-group1 @@ -1,17 +1,17 @@ -[config] -command = stat -args = -e '{cycles,instructions}' kill >/dev/null 2>&1 -ret = 1 - -[event-1:base-stat] -fd=1 -group_fd=-1 -read_format=3|15 - -[event-2:base-stat] -fd=2 -group_fd=1 -config=1 -disabled=0 -enable_on_exec=0 -read_format=3|15 +[config] +command = stat +args = -e '{cycles,instructions}' kill >/dev/null 2>&1 +ret = 1 + +[event-1:base-stat] +fd=1 +group_fd=-1 +read_format=3|15 + +[event-2:base-stat] +fd=2 +group_fd=1 +config=1 +disabled=0 +enable_on_exec=0 +read_format=3|15 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-no-inherit b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-no-inherit index 5bf65d35dc..924fbb9300 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-no-inherit +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/attr/test-stat-no-inherit @@ -1,8 +1,8 @@ -[config] -command = stat -args = -i -e cycles kill >/dev/null 2>&1 -ret = 1 - -[event:base-stat] -inherit=0 -optional=1 +[config] +command = stat +args = -i -e cycles kill >/dev/null 2>&1 +ret = 1 + +[event:base-stat] +inherit=0 +optional=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/config-fragments/config b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/config-fragments/config index df64b0695f..4fca128510 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/config-fragments/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/config-fragments/config @@ -1,14 +1,14 @@ -CONFIG_TRACEPOINTS=y -CONFIG_STACKTRACE=y -CONFIG_NOP_TRACER=y -CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_TRACING=y -CONFIG_GENERIC_TRACER=y -CONFIG_FTRACE=y -CONFIG_FTRACE_SYSCALLS=y -CONFIG_BRANCH_PROFILE_NONE=y -CONFIG_KPROBES=y -CONFIG_KPROBE_EVENTS=y -CONFIG_UPROBE_EVENTS=y +CONFIG_TRACEPOINTS=y +CONFIG_STACKTRACE=y +CONFIG_NOP_TRACER=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_FTRACE=y +CONFIG_FTRACE_SYSCALLS=y +CONFIG_BRANCH_PROFILE_NONE=y +CONFIG_KPROBES=y +CONFIG_KPROBE_EVENTS=y +CONFIG_UPROBE_EVENTS=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_report/stderr-whitelist.txt b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_report/stderr-whitelist.txt index 49b33c42a8..e3341401b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_report/stderr-whitelist.txt +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_report/stderr-whitelist.txt @@ -1,5 +1,5 @@ -no symbols found in .*, maybe install a debug package -was updated .*is prelink enabled.+ Restart the long running apps that use it -Warning: -\d+ out of order events recorded. -detected invalid bpf_prog_info +no symbols found in .*, maybe install a debug package +was updated .*is prelink enabled.+ Restart the long running apps that use it +Warning: +\d+ out of order events recorded. +detected invalid bpf_prog_info diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/probe.sh b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/probe.sh index d25c3d12cb..5aa6e2ec57 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/probe.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/probe.sh @@ -1,13 +1,13 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -# Arnaldo Carvalho de Melo , 2017 - -skip_if_no_perf_probe() { - perf probe 2>&1 | grep -q 'is not a perf-command' && return 2 - return 0 -} - -skip_if_no_perf_trace() { - perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2 - return 0 -} +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Arnaldo Carvalho de Melo , 2017 + +skip_if_no_perf_probe() { + perf probe 2>&1 | grep -q 'is not a perf-command' && return 2 + return 0 +} + +skip_if_no_perf_trace() { + perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2 + return 0 +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/setup_python.sh b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/setup_python.sh index dbc6f6a540..c2fce17935 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/setup_python.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/lib/setup_python.sh @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -if [ "x$PYTHON" = "x" ] -then - python3 --version >/dev/null 2>&1 && PYTHON=python3 -fi -if [ "x$PYTHON" = "x" ] -then - python --version >/dev/null 2>&1 && PYTHON=python -fi -if [ "x$PYTHON" = "x" ] -then - echo Skipping test, python not detected please set environment variable PYTHON. - exit 2 -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +if [ "x$PYTHON" = "x" ] +then + python3 --version >/dev/null 2>&1 && PYTHON=python3 +fi +if [ "x$PYTHON" = "x" ] +then + python --version >/dev/null 2>&1 && PYTHON=python +fi +if [ "x$PYTHON" = "x" ] +then + echo Skipping test, python not detected please set environment variable PYTHON. + exit 2 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/tests-scripts.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/tests-scripts.h index 66ef878ffb..b553ad26ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/tests-scripts.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/tests/tests-scripts.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef TESTS_SCRIPTS_H -#define TESTS_SCRIPTS_H - -#include "tests.h" - -struct test_suite **create_script_test_suites(void); - -#endif /* TESTS_SCRIPTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef TESTS_SCRIPTS_H +#define TESTS_SCRIPTS_H + +#include "tests.h" + +struct test_suite **create_script_test_suites(void); + +#endif /* TESTS_SCRIPTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/kcmp_type.sh b/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/kcmp_type.sh old mode 100644 new mode 100755 index 23813a7bfb..5df9dcbd67 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/kcmp_type.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/kcmp_type.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: LGPL-2.1 - -[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/ - -printf "static const char *kcmp_types[] = {\n" -regex='^[[:space:]]+(KCMP_(\w+)),' -grep -E $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \ - sed -r "s/$regex/\1 \2/g" | \ - xargs printf "\t[%s]\t= \"%s\",\n" -printf "};\n" +#!/bin/sh +# SPDX-License-Identifier: LGPL-2.1 + +[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/ + +printf "static const char *kcmp_types[] = {\n" +regex='^[[:space:]]+(KCMP_(\w+)),' +grep -E $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \ + sed -r "s/$regex/\1 \2/g" | \ + xargs printf "\t[%s]\t= \"%s\",\n" +printf "};\n" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/strace/groups/file b/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/strace/groups/file index e402a40a01..722e25d200 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/strace/groups/file +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/trace/strace/groups/file @@ -1,20 +1,20 @@ -access -chmod -creat -execve -faccessat -getcwd -lstat -mkdir -open -openat -quotactl -read -readlink -rename -rmdir -stat -statfs -symlink -unlink -write +access +chmod +creat +execve +faccessat +getcwd +lstat +mkdir +open +openat +quotactl +read +readlink +rename +rmdir +stat +statfs +symlink +unlink +write diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/Build index 35ca9039bb..d2ecd92906 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/Build @@ -1,12 +1,12 @@ -perf-ui-y += setup.o -perf-ui-y += helpline.o -perf-ui-y += progress.o -perf-ui-y += util.o -perf-ui-y += hist.o -perf-ui-y += stdio/hist.o - -CFLAGS_setup.o += -DLIBDIR="BUILD_STR($(LIBDIR))" - -perf-ui-$(CONFIG_SLANG) += browser.o -perf-ui-$(CONFIG_SLANG) += browsers/ -perf-ui-$(CONFIG_SLANG) += tui/ +perf-ui-y += setup.o +perf-ui-y += helpline.o +perf-ui-y += progress.o +perf-ui-y += util.o +perf-ui-y += hist.o +perf-ui-y += stdio/hist.o + +CFLAGS_setup.o += -DLIBDIR="BUILD_STR($(LIBDIR))" + +perf-ui-$(CONFIG_SLANG) += browser.o +perf-ui-$(CONFIG_SLANG) += browsers/ +perf-ui-$(CONFIG_SLANG) += tui/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/Build index 318e88729b..a07489e447 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/Build @@ -1,7 +1,7 @@ -perf-ui-y += annotate.o -perf-ui-y += annotate-data.o -perf-ui-y += hists.o -perf-ui-y += map.o -perf-ui-y += scripts.o -perf-ui-y += header.o -perf-ui-y += res_sample.o +perf-ui-y += annotate.o +perf-ui-y += annotate-data.o +perf-ui-y += hists.o +perf-ui-y += map.o +perf-ui-y += scripts.o +perf-ui-y += header.o +perf-ui-y += res_sample.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/map.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/map.h index b433f303c7..0ed7dbb3a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/map.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/browsers/map.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_UI_MAP_BROWSER_H_ -#define _PERF_UI_MAP_BROWSER_H_ 1 -struct map; - -int map__browse(struct map *map); -#endif /* _PERF_UI_MAP_BROWSER_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_UI_MAP_BROWSER_H_ +#define _PERF_UI_MAP_BROWSER_H_ 1 +struct map; + +int map__browse(struct map *map); +#endif /* _PERF_UI_MAP_BROWSER_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/gtk/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/gtk/Build index 794c45b5a4..eef708c502 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/gtk/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/gtk/Build @@ -1,14 +1,14 @@ -CFLAGS_gtk += -fPIC $(GTK_CFLAGS) -Wno-deprecated-declarations - -gtk-y += browser.o -gtk-y += hists.o -gtk-y += setup.o -gtk-y += util.o -gtk-y += helpline.o -gtk-y += progress.o -gtk-y += annotate.o -gtk-y += zalloc.o - -$(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE - $(call rule_mkdir) - $(call if_changed_dep,cc_o_c) +CFLAGS_gtk += -fPIC $(GTK_CFLAGS) -Wno-deprecated-declarations + +gtk-y += browser.o +gtk-y += hists.o +gtk-y += setup.o +gtk-y += util.o +gtk-y += helpline.o +gtk-y += progress.o +gtk-y += annotate.o +gtk-y += zalloc.o + +$(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/Build index 327dfc973f..2ac058ad1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/Build @@ -1,4 +1,4 @@ -perf-ui-y += setup.o -perf-ui-y += util.o -perf-ui-y += helpline.o -perf-ui-y += progress.o +perf-ui-y += setup.o +perf-ui-y += util.o +perf-ui-y += helpline.o +perf-ui-y += progress.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/tui.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/tui.h index 03b5543efb..8de06f634c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/tui.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/ui/tui/tui.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_TUI_H_ -#define _PERF_TUI_H_ 1 - -void tui_progress__init(void); - -#endif /* _PERF_TUI_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_TUI_H_ +#define _PERF_TUI_H_ 1 + +void tui_progress__init(void); + +#endif /* _PERF_TUI_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/archinsn.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/archinsn.h index 1d53bfbe74..448cbb6b8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/archinsn.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/archinsn.h @@ -1,12 +1,12 @@ -#ifndef INSN_H -#define INSN_H 1 - -struct perf_sample; -struct machine; -struct thread; - -void arch_fetch_insn(struct perf_sample *sample, - struct thread *thread, - struct machine *machine); - -#endif +#ifndef INSN_H +#define INSN_H 1 + +struct perf_sample; +struct machine; +struct thread; + +void arch_fetch_insn(struct perf_sample *sample, + struct thread *thread, + struct machine *machine); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/bpf_skel/bperf_u.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/bpf_skel/bperf_u.h index 13d3ee13c9..1ce0c2c905 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/bpf_skel/bperf_u.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/bpf_skel/bperf_u.h @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -// Copyright (c) 2021 Facebook - -#ifndef __BPERF_STAT_U_H -#define __BPERF_STAT_U_H - -enum bperf_filter_type { - BPERF_FILTER_GLOBAL = 1, - BPERF_FILTER_CPU, - BPERF_FILTER_PID, - BPERF_FILTER_TGID, -}; - -#endif /* __BPERF_STAT_U_H */ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +// Copyright (c) 2021 Facebook + +#ifndef __BPERF_STAT_U_H +#define __BPERF_STAT_U_H + +enum bperf_filter_type { + BPERF_FILTER_GLOBAL = 1, + BPERF_FILTER_CPU, + BPERF_FILTER_PID, + BPERF_FILTER_TGID, +}; + +#endif /* __BPERF_STAT_U_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/clockid.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/clockid.h index 7c9bfefe8b..9b49b4711c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/clockid.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/clockid.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __PERF_CLOCKID_H -#define __PERF_CLOCKID_H - -struct option; -int parse_clockid(const struct option *opt, const char *str, int unset); - -const char *clockid_name(clockid_t clk_id); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __PERF_CLOCKID_H +#define __PERF_CLOCKID_H + +struct option; +int parse_clockid(const struct option *opt, const char *str, int unset); + +const char *clockid_name(clockid_t clk_id); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/cloexec.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/cloexec.h index 7927cbf84d..78216b1015 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/cloexec.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/cloexec.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_CLOEXEC_H -#define __PERF_CLOEXEC_H - -unsigned long perf_event_open_cloexec_flag(void); - -#endif /* __PERF_CLOEXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_CLOEXEC_H +#define __PERF_CLOEXEC_H + +unsigned long perf_event_open_cloexec_flag(void); + +#endif /* __PERF_CLOEXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-cxx.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-cxx.h index 7b43fe2522..26b5b66c0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-cxx.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-cxx.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_DEMANGLE_CXX -#define __PERF_DEMANGLE_CXX 1 - -#ifdef __cplusplus -extern "C" { -#endif - -char *cxx_demangle_sym(const char *str, bool params, bool modifiers); - -#ifdef __cplusplus -} -#endif - - -#endif /* __PERF_DEMANGLE_CXX */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_DEMANGLE_CXX +#define __PERF_DEMANGLE_CXX 1 + +#ifdef __cplusplus +extern "C" { +#endif + +char *cxx_demangle_sym(const char *str, bool params, bool modifiers); + +#ifdef __cplusplus +} +#endif + + +#endif /* __PERF_DEMANGLE_CXX */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-java.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-java.h index 14dea099ad..f936c8eabe 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-java.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-java.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_DEMANGLE_JAVA -#define __PERF_DEMANGLE_JAVA 1 -/* - * demangle function flags - */ -#define JAVA_DEMANGLE_NORET 0x1 /* do not process return type */ - -char * java_demangle_sym(const char *str, int flags); - -#endif /* __PERF_DEMANGLE_JAVA */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_DEMANGLE_JAVA +#define __PERF_DEMANGLE_JAVA 1 +/* + * demangle function flags + */ +#define JAVA_DEMANGLE_NORET 0x1 /* do not process return type */ + +char * java_demangle_sym(const char *str, int flags); + +#endif /* __PERF_DEMANGLE_JAVA */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-ocaml.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-ocaml.h index 9a9a2be633..843cc4fa10 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-ocaml.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-ocaml.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_DEMANGLE_OCAML -#define __PERF_DEMANGLE_OCAML 1 - -char * ocaml_demangle_sym(const char *str); - -#endif /* __PERF_DEMANGLE_OCAML */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_DEMANGLE_OCAML +#define __PERF_DEMANGLE_OCAML 1 + +char * ocaml_demangle_sym(const char *str); + +#endif /* __PERF_DEMANGLE_OCAML */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-rust.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-rust.h index 12049d6cf9..2fca618b1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-rust.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/demangle-rust.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_DEMANGLE_RUST -#define __PERF_DEMANGLE_RUST 1 - -bool rust_is_mangled(const char *str); -void rust_demangle_sym(char *str); - -#endif /* __PERF_DEMANGLE_RUST */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_DEMANGLE_RUST +#define __PERF_DEMANGLE_RUST 1 + +bool rust_is_mangled(const char *str); +void rust_demangle_sym(char *str); + +#endif /* __PERF_DEMANGLE_RUST */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/disasm_bpf.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/disasm_bpf.h index 623016d1dd..2ecb195453 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/disasm_bpf.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/disasm_bpf.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#ifndef __PERF_DISASM_BPF_H -#define __PERF_DISASM_BPF_H - -struct symbol; -struct annotate_args; - -int symbol__disassemble_bpf(struct symbol *sym, struct annotate_args *args); -int symbol__disassemble_bpf_image(struct symbol *sym, struct annotate_args *args); - -#endif /* __PERF_DISASM_BPF_H */ +// SPDX-License-Identifier: GPL-2.0-only + +#ifndef __PERF_DISASM_BPF_H +#define __PERF_DISASM_BPF_H + +struct symbol; +struct annotate_args; + +int symbol__disassemble_bpf(struct symbol *sym, struct annotate_args *args); +int symbol__disassemble_bpf_image(struct symbol *sym, struct annotate_args *args); + +#endif /* __PERF_DISASM_BPF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/fncache.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/fncache.h index bb94d8e38f..fe020beaef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/fncache.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/fncache.h @@ -1,7 +1,7 @@ -#ifndef _FCACHE_H -#define _FCACHE_H 1 - -unsigned shash(const unsigned char *s); -bool file_available(const char *name); - -#endif +#ifndef _FCACHE_H +#define _FCACHE_H 1 + +unsigned shash(const unsigned char *s); +bool file_available(const char *name); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/get_current_dir_name.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/get_current_dir_name.h index b00b7a1fa3..69f7d5537d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/get_current_dir_name.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/get_current_dir_name.h @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: LGPL-2.1 -// Copyright (C) 2018, 2019 Red Hat Inc, Arnaldo Carvalho de Melo -// -#ifndef __PERF_GET_CURRENT_DIR_NAME_H -#ifndef HAVE_GET_CURRENT_DIR_NAME -char *get_current_dir_name(void); -#endif // HAVE_GET_CURRENT_DIR_NAME -#endif // __PERF_GET_CURRENT_DIR_NAME_H +// SPDX-License-Identifier: LGPL-2.1 +// Copyright (C) 2018, 2019 Red Hat Inc, Arnaldo Carvalho de Melo +// +#ifndef __PERF_GET_CURRENT_DIR_NAME_H +#ifndef HAVE_GET_CURRENT_DIR_NAME +char *get_current_dir_name(void); +#endif // HAVE_GET_CURRENT_DIR_NAME +#endif // __PERF_GET_CURRENT_DIR_NAME_H diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/cpufeature.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/cpufeature.h index cae647d390..2270481c7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/cpufeature.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/cpufeature.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef PERF_CPUFEATURE_H -#define PERF_CPUFEATURE_H - -/* cpufeature.h ... dummy header file for including arch/x86/lib/memcpy_64.S */ - -#define X86_FEATURE_REP_GOOD 0 - -#endif /* PERF_CPUFEATURE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef PERF_CPUFEATURE_H +#define PERF_CPUFEATURE_H + +/* cpufeature.h ... dummy header file for including arch/x86/lib/memcpy_64.S */ + +#define X86_FEATURE_REP_GOOD 0 + +#endif /* PERF_CPUFEATURE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/dwarf2.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/dwarf2.h index bf10b50b6c..e9876be63d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/dwarf2.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/dwarf2.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef PERF_DWARF2_H -#define PERF_DWARF2_H - -/* dwarf2.h ... dummy header file for including arch/x86/lib/mem{cpy,set}_64.S */ - -#define CFI_STARTPROC -#define CFI_ENDPROC -#define CFI_REMEMBER_STATE -#define CFI_RESTORE_STATE - -#endif /* PERF_DWARF2_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef PERF_DWARF2_H +#define PERF_DWARF2_H + +/* dwarf2.h ... dummy header file for including arch/x86/lib/mem{cpy,set}_64.S */ + +#define CFI_STARTPROC +#define CFI_ENDPROC +#define CFI_REMEMBER_STATE +#define CFI_RESTORE_STATE + +#endif /* PERF_DWARF2_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/uaccess.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/uaccess.h index 6bb3509ae1..5481003157 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/uaccess.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/include/asm/uaccess.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_ASM_UACCESS_H_ -#define _PERF_ASM_UACCESS_H_ - -#define __get_user(src, dest) \ -({ \ - (src) = *dest; \ - 0; \ -}) - -#define get_user __get_user - -#define access_ok(addr, size) 1 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_ASM_UACCESS_H_ +#define _PERF_ASM_UACCESS_H_ + +#define __get_user(src, dest) \ +({ \ + (src) = *dest; \ + 0; \ +}) + +#define get_user __get_user + +#define access_ok(addr, size) 1 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/jit.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/jit.h index 53117be8db..f4037203e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/jit.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/jit.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __JIT_H__ -#define __JIT_H__ - -#include - -int jit_process(struct perf_session *session, struct perf_data *output, - struct machine *machine, const char *filename, - pid_t pid, pid_t tid, u64 *nbytes); - -int jit_inject_record(const char *filename); - -#endif /* __JIT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __JIT_H__ +#define __JIT_H__ + +#include + +int jit_process(struct perf_session *session, struct perf_data *output, + struct machine *machine, const char *filename, + pid_t pid, pid_t tid, u64 *nbytes); + +int jit_inject_record(const char *filename); + +#endif /* __JIT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/levenshtein.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/levenshtein.h index f19b2a4559..34ca173c55 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/levenshtein.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/levenshtein.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_LEVENSHTEIN_H -#define __PERF_LEVENSHTEIN_H - -int levenshtein(const char *string1, const char *string2, - int swap_penalty, int substition_penalty, - int insertion_penalty, int deletion_penalty); - -#endif /* __PERF_LEVENSHTEIN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_LEVENSHTEIN_H +#define __PERF_LEVENSHTEIN_H + +int levenshtein(const char *string1, const char *string2, + int swap_penalty, int substition_penalty, + int insertion_penalty, int deletion_penalty); + +#endif /* __PERF_LEVENSHTEIN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/memswap.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/memswap.h index 718950e289..2c38e8c2d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/memswap.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/memswap.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef PERF_MEMSWAP_H_ -#define PERF_MEMSWAP_H_ - -#include - -union u64_swap { - u64 val64; - u32 val32[2]; -}; - -void mem_bswap_64(void *src, int byte_size); -void mem_bswap_32(void *src, int byte_size); - -#endif /* PERF_MEMSWAP_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef PERF_MEMSWAP_H_ +#define PERF_MEMSWAP_H_ + +#include + +union u64_swap { + u64 val64; + u32 val32[2]; +}; + +void mem_bswap_64(void *src, int byte_size); +void mem_bswap_32(void *src, int byte_size); + +#endif /* PERF_MEMSWAP_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-branch-options.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-branch-options.h index f31f42fd37..11d1722733 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-branch-options.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-branch-options.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_PARSE_BRANCH_OPTIONS_H -#define _PERF_PARSE_BRANCH_OPTIONS_H 1 -#include -int parse_branch_stack(const struct option *opt, const char *str, int unset); -int parse_branch_str(const char *str, __u64 *mode); -#endif /* _PERF_PARSE_BRANCH_OPTIONS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_PARSE_BRANCH_OPTIONS_H +#define _PERF_PARSE_BRANCH_OPTIONS_H 1 +#include +int parse_branch_stack(const struct option *opt, const char *str, int unset); +int parse_branch_str(const char *str, __u64 *mode); +#endif /* _PERF_PARSE_BRANCH_OPTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-regs-options.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-regs-options.h index b55b7aef8d..2b23d25c63 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-regs-options.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-regs-options.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PERF_PARSE_REGS_OPTIONS_H -#define _PERF_PARSE_REGS_OPTIONS_H 1 -struct option; -int parse_user_regs(const struct option *opt, const char *str, int unset); -int parse_intr_regs(const struct option *opt, const char *str, int unset); -#endif /* _PERF_PARSE_REGS_OPTIONS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PERF_PARSE_REGS_OPTIONS_H +#define _PERF_PARSE_REGS_OPTIONS_H 1 +struct option; +int parse_user_regs(const struct option *opt, const char *str, int unset); +int parse_intr_regs(const struct option *opt, const char *str, int unset); +#endif /* _PERF_PARSE_REGS_OPTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-sublevel-options.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-sublevel-options.h index fdcad85fd4..578b18ef03 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-sublevel-options.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/parse-sublevel-options.h @@ -1,11 +1,11 @@ -#ifndef _PERF_PARSE_SUBLEVEL_OPTIONS_H -#define _PERF_PARSE_SUBLEVEL_OPTIONS_H - -struct sublevel_option { - const char *name; - int *value_ptr; -}; - -int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts); - -#endif +#ifndef _PERF_PARSE_SUBLEVEL_OPTIONS_H +#define _PERF_PARSE_SUBLEVEL_OPTIONS_H + +struct sublevel_option { + const char *name; + int *value_ptr; +}; + +int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/perf-regs-arch/Build b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/perf-regs-arch/Build index b2f5ffc349..be95402aa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/perf-regs-arch/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/perf-regs-arch/Build @@ -1,9 +1,9 @@ -perf-util-y += perf_regs_aarch64.o -perf-util-y += perf_regs_arm.o -perf-util-y += perf_regs_csky.o -perf-util-y += perf_regs_loongarch.o -perf-util-y += perf_regs_mips.o -perf-util-y += perf_regs_powerpc.o -perf-util-y += perf_regs_riscv.o -perf-util-y += perf_regs_s390.o -perf-util-y += perf_regs_x86.o +perf-util-y += perf_regs_aarch64.o +perf-util-y += perf_regs_arm.o +perf-util-y += perf_regs_csky.o +perf-util-y += perf_regs_loongarch.o +perf-util-y += perf_regs_mips.o +perf-util-y += perf_regs_powerpc.o +perf-util-y += perf_regs_riscv.o +perf-util-y += perf_regs_s390.o +perf-util-y += perf_regs_x86.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/rlimit.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/rlimit.h index 610344e514..19050d7fb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/rlimit.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/rlimit.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: LGPL-2.1 */ -#ifndef __PERF_RLIMIT_H_ -#define __PERF_RLIMIT_H_ - -enum rlimit_action { - NO_CHANGE, - SET_TO_MAX, - INCREASED_MAX -}; - -void rlimit__bump_memlock(void); - -bool rlimit__increase_nofile(enum rlimit_action *set_rlimit); - -#endif // __PERF_RLIMIT_H_ +/* SPDX-License-Identifier: LGPL-2.1 */ +#ifndef __PERF_RLIMIT_H_ +#define __PERF_RLIMIT_H_ + +enum rlimit_action { + NO_CHANGE, + SET_TO_MAX, + INCREASED_MAX +}; + +void rlimit__bump_memlock(void); + +bool rlimit__increase_nofile(enum rlimit_action *set_rlimit); + +#endif // __PERF_RLIMIT_H_ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/setns.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/setns.c index 8fbe10c238..48f9c0af63 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/setns.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/setns.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: LGPL-2.1 - -#include "namespaces.h" -#include -#include - -int setns(int fd, int nstype) -{ - return syscall(__NR_setns, fd, nstype); -} +// SPDX-License-Identifier: LGPL-2.1 + +#include "namespaces.h" +#include +#include + +int setns(int fd, int nstype) +{ + return syscall(__NR_setns, fd, nstype); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/spark.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/spark.h index c6108bb60b..25402d7d7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/spark.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/spark.h @@ -1,8 +1,8 @@ -#ifndef SPARK_H -#define SPARK_H 1 - -#define NUM_SPARKS 8 - -int print_spark(char *bf, int size, unsigned long *val, int numval); - -#endif +#ifndef SPARK_H +#define SPARK_H 1 + +#define NUM_SPARKS 8 + +int print_spark(char *bf, int size, unsigned long *val, int numval); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/term.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/term.h index 957bf11462..607b170a90 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/term.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/term.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PERF_TERM_H -#define __PERF_TERM_H - -struct termios; -struct winsize; - -void get_term_dimensions(struct winsize *ws); -void set_term_quiet_input(struct termios *old); - -#endif /* __PERF_TERM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_TERM_H +#define __PERF_TERM_H + +struct termios; +struct winsize; + +void get_term_dimensions(struct winsize *ws); +void set_term_quiet_input(struct termios *old); + +#endif /* __PERF_TERM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.c b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.c index 01ee705b9a..18fd5fed5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "topdown.h" -#include - -__weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused) -{ - return false; -} +// SPDX-License-Identifier: GPL-2.0 +#include "topdown.h" +#include + +__weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused) +{ + return false; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.h index 0827227230..1996c5fedc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/topdown.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef TOPDOWN_H -#define TOPDOWN_H 1 - -#include - -struct evsel; - -bool arch_topdown_sample_read(struct evsel *leader); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef TOPDOWN_H +#define TOPDOWN_H 1 + +#include + +struct evsel; + +bool arch_topdown_sample_read(struct evsel *leader); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/trace_augment.h b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/trace_augment.h index 7ac510198f..57a3e50459 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/perf/util/trace_augment.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/perf/util/trace_augment.h @@ -1,6 +1,6 @@ -#ifndef TRACE_AUGMENT_H -#define TRACE_AUGMENT_H - -#define TRACE_AUG_MAX_BUF 32 /* for buffer augmentation in perf trace */ - -#endif +#ifndef TRACE_AUGMENT_H +#define TRACE_AUGMENT_H + +#define TRACE_AUG_MAX_BUF 32 /* for buffer augmentation in perf trace */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/.gitignore index 17cdbe1473..eada0297ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -/acpidbg -/acpidump -/ec -/pfrut -/include/ +# SPDX-License-Identifier: GPL-2.0-only +/acpidbg +/acpidump +/ec +/pfrut +/include/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/tools/ec/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/tools/ec/Makefile index 45271e96ec..d0abac0ec2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/tools/ec/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/acpi/tools/ec/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile -# -# Copyright (c) 2015, Intel Corporation -# Author: Lv Zheng -# - -include ../../Makefile.config - -TOOL = ec -TOOL_OBJS = \ - ec_access.o - -include ../../Makefile.rules +# SPDX-License-Identifier: GPL-2.0-only +# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile +# +# Copyright (c) 2015, Intel Corporation +# Author: Lv Zheng +# + +include ../../Makefile.config + +TOOL = ec +TOOL_OBJS = \ + ec_access.o + +include ../../Makefile.rules diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bench/example.cfg b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bench/example.cfg index 4c74a642a2..f91f643606 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bench/example.cfg +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bench/example.cfg @@ -1,11 +1,11 @@ -sleep = 50000 -load = 50000 -cpu = 0 -priority = LOW -output = /var/log/cpufreq-bench -sleep_step = 50000 -load_step = 50000 -cycles = 20 -rounds = 40 -verbose = 0 -governor = ondemand +sleep = 50000 +load = 50000 +cpu = 0 +priority = LOW +output = /var/log/cpufreq-bench +sleep_step = 50000 +load_step = 50000 +cycles = 20 +rounds = 40 +verbose = 0 +governor = ondemand diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bindings/python/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bindings/python/.gitignore index 90d0fc2a19..51cbb8799c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bindings/python/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/bindings/python/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -__pycache__/ -raw_pylibcpupower_wrap.c -*.o -*.so -*.py -!test_raw_pylibcpupower.py +# SPDX-License-Identifier: GPL-2.0-only +__pycache__/ +raw_pylibcpupower_wrap.c +*.o +*.so +*.py +!test_raw_pylibcpupower.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/utils/idle_monitor/idle_monitors.def b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/utils/idle_monitor/idle_monitors.def index 0fc65443ef..7c926e90c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/utils/idle_monitor/idle_monitors.def +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/cpupower/utils/idle_monitor/idle_monitors.def @@ -1,9 +1,9 @@ -#if defined(__i386__) || defined(__x86_64__) -DEF(amd_fam14h) -DEF(intel_nhm) -DEF(intel_snb) -DEF(intel_hsw_ext) -DEF(mperf) -DEF(rapl) -#endif -DEF(cpuidle_sysfs) +#if defined(__i386__) || defined(__x86_64__) +DEF(amd_fam14h) +DEF(intel_nhm) +DEF(intel_snb) +DEF(intel_hsw_ext) +DEF(mperf) +DEF(rapl) +#endif +DEF(cpuidle_sysfs) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/pm-graph/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/power/pm-graph/.gitignore index dcc0d66925..37762a8a06 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/pm-graph/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/pm-graph/.gitignore @@ -1,3 +1,3 @@ -# sleepgraph.py artifacts -suspend-[0-9]*-[0-9]* -suspend-[0-9]*-[0-9]*-x[0-9]* +# sleepgraph.py artifacts +suspend-[0-9]*-[0-9]* +suspend-[0-9]*-[0-9]*-x[0-9]* diff --git a/image/debian/UFI003_MB_V02/kernel/tools/power/x86/intel-speed-select/Build b/image/debian/UFI003_MB_V02/kernel/tools/power/x86/intel-speed-select/Build index eaab193919..5a9637e167 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/power/x86/intel-speed-select/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/power/x86/intel-speed-select/Build @@ -1 +1 @@ -intel-speed-select-y += isst-config.o isst-core.o isst-display.o isst-daemon.o hfi-events.o isst-core-mbox.o isst-core-tpmi.o +intel-speed-select-y += isst-config.o isst-core.o isst-display.o isst-daemon.o hfi-events.o isst-core-mbox.o isst-core-tpmi.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/crypto/chacha20-s390/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/crypto/chacha20-s390/Makefile index 5da09bc352..db81cd2fb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/crypto/chacha20-s390/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/crypto/chacha20-s390/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (C) 2022 Red Hat, Inc. -# Author: Vladis Dronov - -obj-m += test_cipher.o -test_cipher-y := test-cipher.o - -all: - make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules -clean: - make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2022 Red Hat, Inc. +# Author: Vladis Dronov + +obj-m += test_cipher.o +test_cipher-y := test-cipher.o + +all: + make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules +clean: + make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_acpi_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_acpi_test.c index e70418c2e3..8602dc27c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_acpi_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_acpi_test.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "watermark.h" - -cxl_test_watermark(cxl_acpi); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "watermark.h" + +cxl_test_watermark(cxl_acpi); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_exports.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_exports.c index 9f348ed74b..077e688392 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_exports.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_exports.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "cxl.h" - -/* Exporting of cxl_core symbols that are only used by cxl_test */ -EXPORT_SYMBOL_NS_GPL(cxl_num_decoders_committed, CXL); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "cxl.h" + +/* Exporting of cxl_core symbols that are only used by cxl_test */ +EXPORT_SYMBOL_NS_GPL(cxl_num_decoders_committed, CXL); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_test.c index 03bae87881..464a9255e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_core_test.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "watermark.h" - -cxl_test_watermark(cxl_core); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "watermark.h" + +cxl_test_watermark(cxl_core); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_mem_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_mem_test.c index 466d756d84..ba7fb8a442 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_mem_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_mem_test.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "watermark.h" - -cxl_test_watermark(cxl_mem); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "watermark.h" + +cxl_test_watermark(cxl_mem); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_pmem_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_pmem_test.c index 6bc9b9bf4d..3fd884fae5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_pmem_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_pmem_test.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "watermark.h" - -cxl_test_watermark(cxl_pmem); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "watermark.h" + +cxl_test_watermark(cxl_pmem); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_port_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_port_test.c index e18f22d7cc..be183917a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_port_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/cxl_port_test.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ - -#include "watermark.h" - -cxl_test_watermark(cxl_port); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright(c) 2022 Intel Corporation. All rights reserved. */ + +#include "watermark.h" + +cxl_test_watermark(cxl_port); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/test/Kbuild b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/test/Kbuild index eca65e5b84..6b19278978 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/test/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/cxl/test/Kbuild @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core - -obj-m += cxl_test.o -obj-m += cxl_mock.o -obj-m += cxl_mock_mem.o - -cxl_test-y := cxl.o -cxl_mock-y := mock.o -cxl_mock_mem-y := mem.o - -KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS)) +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core + +obj-m += cxl_test.o +obj-m += cxl_mock.o +obj-m += cxl_mock_mem.o + +cxl_test-y := cxl.o +cxl_mock-y := mock.o +cxl_mock_mem-y := mem.o + +KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS)) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf b/image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf index c8e0c7b307..68debfcbda 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf @@ -1,15 +1,15 @@ -ftrace { - tracing_on = 0 # off by default - tracer = function_graph - event.kprobes { - start_event { - probes = "pci_proc_init" - actions = "traceon" - } - end_event { - probes = "pci_proc_init%return" - actions = "traceoff" - } - } -} - +ftrace { + tracing_on = 0 # off by default + tracer = function_graph + event.kprobes { + start_event { + probes = "pci_proc_init" + actions = "traceon" + } + end_event { + probes = "pci_proc_init%return" + actions = "traceoff" + } + } +} + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/.gitignore index fc763ac490..1c63e31f7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Byte-compiled / optimized / DLL files -__pycache__/ +# SPDX-License-Identifier: GPL-2.0-only +# Byte-compiled / optimized / DLL files +__pycache__/ *.py[cod] \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/configs/arch_uml.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/configs/arch_uml.config index e16ceb6309..54ad897268 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/configs/arch_uml.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/configs/arch_uml.config @@ -1,8 +1,8 @@ -# Config options which are added to UML builds by default - -# Enable virtio/pci, as a lot of tests require it. -CONFIG_VIRTIO_UML=y -CONFIG_UML_PCI_OVER_VIRTIO=y - -# Enable FORTIFY_SOURCE for wider checking. -CONFIG_FORTIFY_SOURCE=y +# Config options which are added to UML builds by default + +# Enable virtio/pci, as a lot of tests require it. +CONFIG_VIRTIO_UML=y +CONFIG_UML_PCI_OVER_VIRTIO=y + +# Enable FORTIFY_SOURCE for wider checking. +CONFIG_FORTIFY_SOURCE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/mypy.ini b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/mypy.ini index 08026781bd..ddd288309e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/mypy.ini +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/mypy.ini @@ -1,6 +1,6 @@ -[mypy] -strict = True - -# E.g. we can't write subprocess.Popen[str] until Python 3.9+. -# But kunit.py tries to support Python 3.7+, so let's disable it. -disable_error_code = type-arg +[mypy] +strict = True + +# E.g. we can't write subprocess.Popen[str] until Python 3.9+. +# But kunit.py tries to support Python 3.7+, so let's disable it. +disable_error_code = type-arg diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/alpha.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/alpha.py index 50facea0c6..3ac846e03a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/alpha.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/alpha.py @@ -1,10 +1,10 @@ -from ..qemu_config import QemuArchParams - -QEMU_ARCH = QemuArchParams(linux_arch='alpha', - kconfig=''' -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y''', - qemu_arch='alpha', - kernel_path='arch/alpha/boot/vmlinux', - kernel_command_line='console=ttyS0', - extra_qemu_params=[]) +from ..qemu_config import QemuArchParams + +QEMU_ARCH = QemuArchParams(linux_arch='alpha', + kconfig=''' +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y''', + qemu_arch='alpha', + kernel_path='arch/alpha/boot/vmlinux', + kernel_command_line='console=ttyS0', + extra_qemu_params=[]) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/i386.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/i386.py index 6c0379d7f7..4463ebefd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/i386.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/i386.py @@ -1,10 +1,10 @@ -from ..qemu_config import QemuArchParams - -QEMU_ARCH = QemuArchParams(linux_arch='i386', - kconfig=''' -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y''', - qemu_arch='i386', - kernel_path='arch/x86/boot/bzImage', - kernel_command_line='console=ttyS0', - extra_qemu_params=[]) +from ..qemu_config import QemuArchParams + +QEMU_ARCH = QemuArchParams(linux_arch='i386', + kconfig=''' +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y''', + qemu_arch='i386', + kernel_path='arch/x86/boot/bzImage', + kernel_command_line='console=ttyS0', + extra_qemu_params=[]) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/m68k.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/m68k.py index 724c4ce4c2..287fc386f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/m68k.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/qemu_configs/m68k.py @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -from ..qemu_config import QemuArchParams - -QEMU_ARCH = QemuArchParams(linux_arch='m68k', - kconfig=''' -CONFIG_VIRT=y''', - qemu_arch='m68k', - kernel_path='vmlinux', - kernel_command_line='console=hvc0', - extra_qemu_params=['-machine', 'virt']) +# SPDX-License-Identifier: GPL-2.0-only +from ..qemu_config import QemuArchParams + +QEMU_ARCH = QemuArchParams(linux_arch='m68k', + kconfig=''' +CONFIG_VIRT=y''', + qemu_arch='m68k', + kernel_path='vmlinux', + kernel_command_line='console=hvc0', + extra_qemu_params=['-machine', 'virt']) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_is_test_passed-no_tests_no_plan.log b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_is_test_passed-no_tests_no_plan.log index 616ba9fed3..4f81876ee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_is_test_passed-no_tests_no_plan.log +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_is_test_passed-no_tests_no_plan.log @@ -1,7 +1,7 @@ -TAP version 14 -1..1 - # Subtest: suite - 1..1 - # Subtest: case - ok 1 - case -ok 1 - suite +TAP version 14 +1..1 + # Subtest: suite + 1..1 + # Subtest: case + ok 1 - case +ok 1 - suite diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_attributes.log b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_attributes.log index 1811ccf87c..1a13c371fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_attributes.log +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_attributes.log @@ -1,9 +1,9 @@ -KTAP version 1 -1..1 - KTAP version 1 - # Subtest: suite - # module: example - 1..1 - # test.speed: slow - ok 1 test +KTAP version 1 +1..1 + KTAP version 1 + # Subtest: suite + # module: example + 1..1 + # test.speed: slow + ok 1 test ok 1 suite \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_ktap_output.log b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_ktap_output.log index 7f379ddbe5..ccdf244e53 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_ktap_output.log +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_ktap_output.log @@ -1,8 +1,8 @@ -KTAP version 1 -1..1 - KTAP version 1 - 1..3 - ok 1 case_1 - ok 2 case_2 - ok 3 case_3 -ok 1 suite +KTAP version 1 +1..1 + KTAP version 1 + 1..3 + ok 1 case_1 + ok 2 case_2 + ok 3 case_3 +ok 1 suite diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_subtest_header.log b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_subtest_header.log index 76fa8ead7b..216631092e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_subtest_header.log +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_parse_subtest_header.log @@ -1,7 +1,7 @@ -KTAP version 1 -1..1 - KTAP version 1 - # Subtest: suite - 1..1 - ok 1 test +KTAP version 1 +1..1 + KTAP version 1 + # Subtest: suite + 1..1 + ok 1 test ok 1 suite \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_read_from_file.kconfig b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_read_from_file.kconfig index 0932cf993e..d2a4928ac7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_read_from_file.kconfig +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/kunit/test_data/test_read_from_file.kconfig @@ -1,17 +1,17 @@ -# -# Automatically generated file; DO NOT EDIT. -# User Mode Linux/x86 4.12.0-rc3 Kernel Configuration -# -CONFIG_UML=y -CONFIG_MMU=y - -# -# UML-specific options -# - -# -# Host processor type and features -# -# CONFIG_MK8 is not set -CONFIG_TEST=y -CONFIG_EXAMPLE_TEST=y +# +# Automatically generated file; DO NOT EDIT. +# User Mode Linux/x86 4.12.0-rc3 Kernel Configuration +# +CONFIG_UML=y +CONFIG_MMU=y + +# +# UML-specific options +# + +# +# Host processor type and features +# +# CONFIG_MK8 is not set +CONFIG_TEST=y +CONFIG_EXAMPLE_TEST=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/TODO b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/TODO index 0f2dac7db7..e306c90c53 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/TODO +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/TODO @@ -1,5 +1,5 @@ -TODO -===== - -1. Add tests for memblock_alloc_node() to check if the correct NUMA node is set - for the new region +TODO +===== + +1. Add tests for memblock_alloc_node() to check if the correct NUMA node is set + for the new region diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/asm/dma.h index fca90619df..13ff8e5d22 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/asm/dma.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _TOOLS_DMA_H -#define _TOOLS_DMA_H - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_DMA_H +#define _TOOLS_DMA_H + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/lib/slab.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/lib/slab.c index bd9f282071..6be6020328 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/lib/slab.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/lib/slab.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -enum slab_state slab_state; - -bool slab_is_available(void) -{ - return slab_state >= UP; -} +// SPDX-License-Identifier: GPL-2.0 +#include + +enum slab_state slab_state; + +bool slab_is_available(void) +{ + return slab_state >= UP; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kernel.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kernel.h index 7775e117ed..4d1012d5be 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kernel.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kernel.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _MEMBLOCK_LINUX_KERNEL_H -#define _MEMBLOCK_LINUX_KERNEL_H - -#include <../../include/linux/kernel.h> -#include -#include -#include -#include -#include -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _MEMBLOCK_LINUX_KERNEL_H +#define _MEMBLOCK_LINUX_KERNEL_H + +#include <../../include/linux/kernel.h> +#include +#include +#include +#include +#include +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kmemleak.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kmemleak.h index 17b2408bb4..5fed13bb9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kmemleak.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/kmemleak.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _KMEMLEAK_H -#define _KMEMLEAK_H - -static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) -{ -} - -static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, - gfp_t gfp) -{ -} - -static inline void dump_stack(void) -{ -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _KMEMLEAK_H +#define _KMEMLEAK_H + +static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) +{ +} + +static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, + gfp_t gfp) +{ +} + +static inline void dump_stack(void) +{ +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/memory_hotplug.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/memory_hotplug.h index e074ffd3d8..dabe2c5568 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/memory_hotplug.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/linux/memory_hotplug.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_MEMORY_HOTPLUG_H -#define _LINUX_MEMORY_HOTPLUG_H - -#include -#include -#include -#include - -extern bool movable_node_enabled; - -static inline bool movable_node_is_enabled(void) -{ - return movable_node_enabled; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_MEMORY_HOTPLUG_H +#define _LINUX_MEMORY_HOTPLUG_H + +#include +#include +#include +#include + +extern bool movable_node_enabled; + +static inline bool movable_node_is_enabled(void) +{ + return movable_node_enabled; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_api.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_api.h index c3b7f9617a..585b085baf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_api.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_api.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _MEMBLOCK_ALLOCS_H -#define _MEMBLOCK_ALLOCS_H - -#include "common.h" - -int memblock_alloc_checks(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _MEMBLOCK_ALLOCS_H +#define _MEMBLOCK_ALLOCS_H + +#include "common.h" + +int memblock_alloc_checks(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_helpers_api.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_helpers_api.h index 94ecaa7572..c9e4827b16 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_helpers_api.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/alloc_helpers_api.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _MEMBLOCK_ALLOC_HELPERS_H -#define _MEMBLOCK_ALLOC_HELPERS_H - -#include "common.h" - -int memblock_alloc_helpers_checks(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _MEMBLOCK_ALLOC_HELPERS_H +#define _MEMBLOCK_ALLOC_HELPERS_H + +#include "common.h" + +int memblock_alloc_helpers_checks(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/basic_api.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/basic_api.h index af1f14fca5..1873faa547 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/basic_api.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/memblock/tests/basic_api.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _MEMBLOCK_BASIC_H -#define _MEMBLOCK_BASIC_H - -#include "common.h" - -int memblock_basic_checks(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef _MEMBLOCK_BASIC_H +#define _MEMBLOCK_BASIC_H + +#include "common.h" + +int memblock_basic_checks(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/Makefile index 2839dac5ac..c37a6a0bde 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -KDIR ?= ../../../ - -default: - $(MAKE) -C $(KDIR) M=$$PWD - -install: default - $(MAKE) -C $(KDIR) M=$$PWD modules_install +# SPDX-License-Identifier: GPL-2.0 +KDIR ?= ../../../ + +default: + $(MAKE) -C $(KDIR) M=$$PWD + +install: default + $(MAKE) -C $(KDIR) M=$$PWD modules_install diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/dax_pmem_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/dax_pmem_test.c index 6cb78ae4e7..fd4c94a5aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/dax_pmem_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/dax_pmem_test.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright(c) 2019 Intel Corporation. All rights reserved. - -#include -#include -#include "watermark.h" - -nfit_test_watermark(dax_pmem); +// SPDX-License-Identifier: GPL-2.0 +// Copyright(c) 2019 Intel Corporation. All rights reserved. + +#include +#include +#include "watermark.h" + +nfit_test_watermark(dax_pmem); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/device_dax_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/device_dax_test.c index 2ee8d7c450..24b17bf424 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/device_dax_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/device_dax_test.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright(c) 2018 Intel Corporation. All rights reserved. - -#include -#include -#include "watermark.h" - -nfit_test_watermark(device_dax); +// SPDX-License-Identifier: GPL-2.0 +// Copyright(c) 2018 Intel Corporation. All rights reserved. + +#include +#include +#include "watermark.h" + +nfit_test_watermark(device_dax); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/libnvdimm_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/libnvdimm_test.c index 7255e1f25c..00ca30b239 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/libnvdimm_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/libnvdimm_test.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright(c) 2018 Intel Corporation. All rights reserved. - -#include -#include -#include "watermark.h" - -nfit_test_watermark(libnvdimm); +// SPDX-License-Identifier: GPL-2.0 +// Copyright(c) 2018 Intel Corporation. All rights reserved. + +#include +#include +#include "watermark.h" + +nfit_test_watermark(libnvdimm); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/pmem_test.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/pmem_test.c index 7e111dec0d..fd38f92275 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/pmem_test.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/pmem_test.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright(c) 2018 Intel Corporation. All rights reserved. - -#include -#include -#include "watermark.h" - -nfit_test_watermark(pmem); +// SPDX-License-Identifier: GPL-2.0 +// Copyright(c) 2018 Intel Corporation. All rights reserved. + +#include +#include +#include "watermark.h" + +nfit_test_watermark(pmem); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/test/Kbuild b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/test/Kbuild index b11c7fdc9c..003d48f5f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/test/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/nvdimm/test/Kbuild @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/drivers/nvdimm/ -ccflags-y += -I$(srctree)/drivers/acpi/nfit/ - -obj-m += nfit_test.o -obj-m += nfit_test_iomap.o - -ifeq ($(CONFIG_ACPI_NFIT),m) - nfit_test-y := nfit.o - obj-m += ndtest.o -else - nfit_test-y := ndtest.o -endif -nfit_test_iomap-y := iomap.o +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/drivers/nvdimm/ +ccflags-y += -I$(srctree)/drivers/acpi/nfit/ + +obj-m += nfit_test.o +obj-m += nfit_test_iomap.o + +ifeq ($(CONFIG_ACPI_NFIT),m) + nfit_test-y := nfit.o + obj-m += ndtest.o +else + nfit_test-y := ndtest.o +endif +nfit_test_iomap-y := iomap.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/.gitignore index 092368fb6d..ce167a7619 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/.gitignore @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -generated/autoconf.h -generated/bit-length.h -generated/map-shift.h -idr.c -idr-test -main -multiorder -radix-tree.c -xarray -maple -ma_xa_benchmark +# SPDX-License-Identifier: GPL-2.0-only +generated/autoconf.h +generated/bit-length.h +generated/map-shift.h +idr.c +idr-test +main +multiorder +radix-tree.c +xarray +maple +ma_xa_benchmark diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/regression.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/regression.h index 2af6b027c8..135145af18 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/regression.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/radix-tree/regression.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __REGRESSION_H__ -#define __REGRESSION_H__ - -void regression1_test(void); -void regression2_test(void); -void regression3_test(void); -void regression4_test(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __REGRESSION_H__ +#define __REGRESSION_H__ + +void regression1_test(void); +void regression2_test(void); +void regression3_test(void); +void regression4_test(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/.gitignore index ca74972dfa..cb24124ac5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/.gitignore @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -gpiogpio-event-mon -gpiogpio-hammer -gpioinclude/ -gpiolsgpio -kselftest_install/ -tpm2/SpaceTest.log - -# Python bytecode and cache -__pycache__/ -*.py[cod] +# SPDX-License-Identifier: GPL-2.0-only +gpiogpio-event-mon +gpiogpio-hammer +gpioinclude/ +gpiolsgpio +kselftest_install/ +tpm2/SpaceTest.log + +# Python bytecode and cache +__pycache__/ +*.py[cod] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/acct/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/acct/Makefile index 4a2c73f1af..7e025099cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/acct/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/acct/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_PROGS := acct_syscall -CFLAGS += -Wall - +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := acct_syscall +CFLAGS += -Wall + include ../lib.mk \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/abi/syscall-abi.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/abi/syscall-abi.h index f1509703f2..bda5a87ad3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/abi/syscall-abi.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/abi/syscall-abi.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2021 ARM Limited. - */ - -#ifndef SYSCALL_ABI_H -#define SYSCALL_ABI_H - -#define SVCR_ZA_MASK 2 -#define SVCR_SM_MASK 1 - -#define SVCR_ZA_SHIFT 1 -#define SVCR_SM_SHIFT 0 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2021 ARM Limited. + */ + +#ifndef SYSCALL_ABI_H +#define SYSCALL_ABI_H + +#define SVCR_ZA_MASK 2 +#define SVCR_SM_MASK 1 + +#define SVCR_ZA_SHIFT 1 +#define SVCR_SM_SHIFT 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/start.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/start.S index 6fc02e1e83..831f952e05 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/start.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/start.S @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019 Arm Limited - * Original author: Dave Martin - */ - -#include "assembler.h" - -startfn _start - mov x0, sp - b start -endfn - -emit_aarch64_feature_1_and +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 Arm Limited + * Original author: Dave Martin + */ + +#include "assembler.h" + +startfn _start + mov x0, sp + b start +endfn + +emit_aarch64_feature_1_and diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/syscall.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/syscall.S index b2a0b9a5d9..8dde8b6f3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/syscall.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/bti/syscall.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019 Arm Limited - * Original author: Dave Martin - */ - -#include "assembler.h" - -startfn syscall - bti c - mov w8, w0 - mov x0, x1 - mov x1, x2 - mov x2, x3 - mov x3, x4 - mov x4, x5 - mov x5, x6 - mov x6, x7 - svc #0 - ret -endfn - -emit_aarch64_feature_1_and +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 Arm Limited + * Original author: Dave Martin + */ + +#include "assembler.h" + +startfn syscall + bti c + mov w8, w0 + mov x0, x1 + mov x1, x2 + mov x2, x3 + mov x3, x4 + mov x4, x5 + mov x5, x6 + mov x6, x7 + svc #0 + ret +endfn + +emit_aarch64_feature_1_and diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/.gitignore index d51c820e02..8362e7ec35 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/.gitignore @@ -1,18 +1,18 @@ -fp-pidbench -fp-ptrace -fp-stress -fpsimd-test -kernel-test -rdvl-sme -rdvl-sve -sve-probe-vls -sve-ptrace -sve-test -ssve-test -vec-syscfg -vlset -za-fork -za-ptrace -za-test -zt-ptrace -zt-test +fp-pidbench +fp-ptrace +fp-stress +fpsimd-test +kernel-test +rdvl-sme +rdvl-sve +sve-probe-vls +sve-ptrace +sve-test +ssve-test +vec-syscfg +vlset +za-fork +za-ptrace +za-test +zt-ptrace +zt-test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/TODO b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/TODO index b543656ec8..44004e53da 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/TODO +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/TODO @@ -1,7 +1,7 @@ -- Test unsupported values in the ABIs. -- More coverage for ptrace: - - Get/set of FFR. - - Ensure ptraced processes actually see the register state visible through - the ptrace interface. - - Big endian. -- Test PR_SVE_VL_INHERIT after a double fork. +- Test unsupported values in the ABIs. +- More coverage for ptrace: + - Get/set of FFR. + - Ensure ptraced processes actually see the register state visible through + the ptrace interface. + - Big endian. +- Test PR_SVE_VL_INHERIT after a double fork. diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/asm-offsets.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/asm-offsets.h index 7e58b8ab8e..757b2fd75d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/asm-offsets.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/asm-offsets.h @@ -1,12 +1,12 @@ -#define sa_sz 32 -#define sa_flags 8 -#define sa_handler 0 -#define sa_mask_sz 8 -#define SIGUSR1 10 -#define SIGUSR2 12 -#define SIGTERM 15 -#define SIGINT 2 -#define SIGABRT 6 -#define SA_NODEFER 1073741824 -#define SA_SIGINFO 4 -#define ucontext_regs 184 +#define sa_sz 32 +#define sa_flags 8 +#define sa_handler 0 +#define sa_mask_sz 8 +#define SIGUSR1 10 +#define SIGUSR2 12 +#define SIGTERM 15 +#define SIGINT 2 +#define SIGABRT 6 +#define SA_NODEFER 1073741824 +#define SA_SIGINFO 4 +#define ucontext_regs 184 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/fp-ptrace.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/fp-ptrace.h index f4efdc6962..db4f2c4d75 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/fp-ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/fp-ptrace.h @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2021-3 ARM Limited. - -#ifndef FP_PTRACE_H -#define FP_PTRACE_H - -#define SVCR_SM_SHIFT 0 -#define SVCR_ZA_SHIFT 1 - -#define SVCR_SM (1 << SVCR_SM_SHIFT) -#define SVCR_ZA (1 << SVCR_ZA_SHIFT) - -#endif +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2021-3 ARM Limited. + +#ifndef FP_PTRACE_H +#define FP_PTRACE_H + +#define SVCR_SM_SHIFT 0 +#define SVCR_ZA_SHIFT 1 + +#define SVCR_SM (1 << SVCR_SM_SHIFT) +#define SVCR_ZA (1 << SVCR_ZA_SHIFT) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sme.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sme.c index d0005236b2..49b0b2e08b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sme.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sme.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include - -#include "rdvl.h" - -int main(void) -{ - int vl = rdvl_sme(); - - printf("%d\n", vl); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only + +#include + +#include "rdvl.h" + +int main(void) +{ + int vl = rdvl_sme(); + + printf("%d\n", vl); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sve.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sve.c index 98b8b49de1..7f8a13a18f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sve.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl-sve.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include - -#include "rdvl.h" - -int main(void) -{ - int vl = rdvl_sve(); - - printf("%d\n", vl); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only + +#include + +#include "rdvl.h" + +int main(void) +{ + int vl = rdvl_sve(); + + printf("%d\n", vl); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.S index 94ee625f70..20dc29996d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.S @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2021 ARM Limited. - -#include "sme-inst.h" - -.arch_extension sve - -.globl rdvl_sve -rdvl_sve: - hint 34 // BTI C - rdvl x0, #1 - ret - -.globl rdvl_sme -rdvl_sme: - hint 34 // BTI C - - rdsvl 0, 1 - - ret +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2021 ARM Limited. + +#include "sme-inst.h" + +.arch_extension sve + +.globl rdvl_sve +rdvl_sve: + hint 34 // BTI C + rdvl x0, #1 + ret + +.globl rdvl_sme +rdvl_sme: + hint 34 // BTI C + + rdsvl 0, 1 + + ret diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.h index e61ac280b1..5d323679fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/rdvl.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef RDVL_H -#define RDVL_H - -int rdvl_sme(void); -int rdvl_sve(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef RDVL_H +#define RDVL_H + +int rdvl_sme(void); +int rdvl_sve(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/mte/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/mte/.gitignore index 8fdc9567fc..052d0f9f92 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/mte/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/mte/.gitignore @@ -1,8 +1,8 @@ -check_buffer_fill -check_gcr_el1_cswitch -check_tags_inclusion -check_child_memory -check_mmap_options -check_prctl -check_ksm_options -check_user_mem +check_buffer_fill +check_gcr_el1_cswitch +check_tags_inclusion +check_child_memory +check_mmap_options +check_prctl +check_ksm_options +check_user_mem diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/signal/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/signal/.gitignore index edc2ce47d3..b2f2bfd5c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/signal/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/signal/.gitignore @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -mangle_* -fake_sigreturn_* -fpmr_* -poe_* -sme_* -ssve_* -sve_* -tpidr2_* -za_* -zt_* -!*.[ch] +# SPDX-License-Identifier: GPL-2.0-only +mangle_* +fake_sigreturn_* +fpmr_* +poe_* +sme_* +ssve_* +sve_* +tpidr2_* +za_* +zt_* +!*.[ch] diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/tags/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/tags/Makefile new file mode 100644 index 0000000000..0a77f35295 --- /dev/null +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/tags/Makefile @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS += $(KHDR_INCLUDES) +TEST_GEN_PROGS := tags_test + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST index 4a863a4be6..f748f2c33b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST @@ -1,7 +1,7 @@ -# TEMPORARY -# Alphabetical order -get_stack_raw_tp # spams with kernel warnings until next bpf -> bpf-next merge -stacktrace_build_id -stacktrace_build_id_nmi -task_fd_query_rawtp -varlen +# TEMPORARY +# Alphabetical order +get_stack_raw_tp # spams with kernel warnings until next bpf -> bpf-next merge +stacktrace_build_id +stacktrace_build_id_nmi +task_fd_query_rawtp +varlen diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.riscv64 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.riscv64 index 9c54425f32..4fc4dfdde2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.riscv64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.riscv64 @@ -1,3 +1,3 @@ -# riscv64 deny list for BPF CI and local vmtest -exceptions # JIT does not support exceptions -tailcalls/tailcall_bpf2bpf* # JIT does not support mixing bpf2bpf and tailcalls +# riscv64 deny list for BPF CI and local vmtest +exceptions # JIT does not support exceptions +tailcalls/tailcall_bpf2bpf* # JIT does not support mixing bpf2bpf and tailcalls diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.s390x b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.s390x index 003139d7ac..3ebd77206f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.s390x +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/DENYLIST.s390x @@ -1,5 +1,5 @@ -# TEMPORARY -# Alphabetical order -get_stack_raw_tp # user_stack corrupted user stack (no backchain userspace) -stacktrace_build_id # compare_map_keys stackid_hmap vs. stackmap err -2 errno 2 (?) -verifier_iterating_callbacks +# TEMPORARY +# Alphabetical order +get_stack_raw_tp # user_stack corrupted user stack (no backchain userspace) +stacktrace_build_id # compare_map_keys stackid_hmap vs. stackmap err -2 errno 2 (?) +verifier_iterating_callbacks diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/autoconf_helper.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/autoconf_helper.h index 84e8d4b9b6..5b243b9cdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/autoconf_helper.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/autoconf_helper.h @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#ifdef HAVE_GENHDR -# include "autoconf.h" -#else -# if defined(__i386) || defined(__x86_64) || defined(__s390x__) || defined(__aarch64__) -# define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 1 -# endif -#endif +// SPDX-License-Identifier: GPL-2.0-only + +#ifdef HAVE_GENHDR +# include "autoconf.h" +#else +# if defined(__i386) || defined(__x86_64) || defined(__s390x__) || defined(__aarch64__) +# define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 1 +# endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh old mode 100644 new mode 100755 index f593932be6..cd2efd3fde --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -source ./benchs/run_common.sh - -set -eufo pipefail - -nr_threads=`expr $(cat /proc/cpuinfo | grep "processor"| wc -l) - 1` -summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-full-update) -printf "$summary" -printf "\n" +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source ./benchs/run_common.sh + +set -eufo pipefail + +nr_threads=`expr $(cat /proc/cpuinfo | grep "processor"| wc -l) - 1` +summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-full-update) +printf "$summary" +printf "\n" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_loop.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_loop.sh old mode 100644 new mode 100755 index 98fa19e537..d4f5f73b35 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_loop.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bpf_loop.sh @@ -1,15 +1,15 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -source ./benchs/run_common.sh - -set -eufo pipefail - -for t in 1 4 8 12 16; do -for i in 10 100 500 1000 5000 10000 50000 100000 500000 1000000; do -subtitle "nr_loops: $i, nr_threads: $t" - summarize_ops "bpf_loop: " \ - "$($RUN_BENCH -p $t --nr_loops $i bpf-loop)" - printf "\n" -done -done +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source ./benchs/run_common.sh + +set -eufo pipefail + +for t in 1 4 8 12 16; do +for i in 10 100 500 1000 5000 10000 50000 100000 500000 1000000; do +subtitle "nr_loops: $i, nr_threads: $t" + summarize_ops "bpf_loop: " \ + "$($RUN_BENCH -p $t --nr_loops $i bpf-loop)" + printf "\n" +done +done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_local_storage_rcu_tasks_trace.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_local_storage_rcu_tasks_trace.sh old mode 100644 new mode 100755 index 57c9112f5c..3e8a969f20 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_local_storage_rcu_tasks_trace.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_local_storage_rcu_tasks_trace.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -kthread_pid=`pgrep rcu_tasks_trace_kthread` - -if [ -z $kthread_pid ]; then - echo "error: Couldn't find rcu_tasks_trace_kthread" - exit 1 -fi - -./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +kthread_pid=`pgrep rcu_tasks_trace_kthread` + +if [ -z $kthread_pid ]; then + echo "error: Couldn't find rcu_tasks_trace_kthread" + exit 1 +fi + +./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_rename.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_rename.sh old mode 100644 new mode 100755 index 7e071a4bf4..7b281dbe41 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_rename.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_rename.sh @@ -1,9 +1,9 @@ -#!/bin/bash - -set -eufo pipefail - -for i in base kprobe kretprobe rawtp fentry fexit -do - summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) - printf "%-10s: %s\n" $i "$summary" -done +#!/bin/bash + +set -eufo pipefail + +for i in base kprobe kretprobe rawtp fentry fexit +do + summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) + printf "%-10s: %s\n" $i "$summary" +done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh old mode 100644 new mode 100755 index 333cf238cb..142697284b --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh @@ -1,12 +1,12 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -source ./benchs/run_common.sh - -set -eufo pipefail - -for s in 1 8 64 512 2048 4095; do - for b in no-helper helper; do - summarize ${b}-${s} "$($RUN_BENCH --cmp-str-len=$s strncmp-${b})" - done -done +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source ./benchs/run_common.sh + +set -eufo pipefail + +for s in 1 8 64 512 2048 4095; do + for b in no-helper helper; do + summarize ${b}-${s} "$($RUN_BENCH --cmp-str-len=$s strncmp-${b})" + done +done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_uprobes.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_uprobes.sh old mode 100644 new mode 100755 index 178d12634e..af169f831f --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_uprobes.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_uprobes.sh @@ -1,9 +1,9 @@ -#!/bin/bash - -set -eufo pipefail - -for i in usermode-count syscall-count {uprobe,uretprobe}-{nop,push,ret} -do - summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) - printf "%-15s: %s\n" $i "$summary" -done +#!/bin/bash + +set -eufo pipefail + +for i in usermode-count syscall-count {uprobe,uretprobe}-{nop,push,ret} +do + summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) + printf "%-15s: %s\n" $i "$summary" +done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/config.vm b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/config.vm index 9753ee172c..a9746ca787 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/config.vm +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/config.vm @@ -1,12 +1,12 @@ -CONFIG_9P_FS=y -CONFIG_9P_FS_POSIX_ACL=y -CONFIG_9P_FS_SECURITY=y -CONFIG_CRYPTO_DEV_VIRTIO=y -CONFIG_NET_9P=y -CONFIG_NET_9P_VIRTIO=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_NET=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_VSOCKETS_COMMON=y +CONFIG_9P_FS=y +CONFIG_9P_FS_POSIX_ACL=y +CONFIG_9P_FS_SECURITY=y +CONFIG_CRYPTO_DEV_VIRTIO=y +CONFIG_NET_9P=y +CONFIG_NET_9P_VIRTIO=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_NET=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_VSOCKETS_COMMON=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/disasm_helpers.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/disasm_helpers.h index ae7481bad2..7b26cab700 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/disasm_helpers.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/disasm_helpers.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ - -#ifndef __DISASM_HELPERS_H -#define __DISASM_HELPERS_H - -#include - -struct bpf_insn; - -struct bpf_insn *disasm_insn(struct bpf_insn *insn, char *buf, size_t buf_sz); - -#endif /* __DISASM_HELPERS_H */ +/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ + +#ifndef __DISASM_HELPERS_H +#define __DISASM_HELPERS_H + +#include + +struct bpf_insn; + +struct bpf_insn *disasm_insn(struct bpf_insn *insn, char *buf, size_t buf_sz); + +#endif /* __DISASM_HELPERS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/gnu/stubs.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/gnu/stubs.h index fd641d2e17..1c638d9dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/gnu/stubs.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/gnu/stubs.h @@ -1 +1 @@ -/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ +/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/jit_disasm_helpers.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/jit_disasm_helpers.h index 1971dc5f72..e6924fd65e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/jit_disasm_helpers.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/jit_disasm_helpers.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ - -#ifndef __JIT_DISASM_HELPERS_H -#define __JIT_DISASM_HELPERS_H - -#include - -int get_jited_program_text(int fd, char *text, size_t text_sz); - -#endif /* __JIT_DISASM_HELPERS_H */ +/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ + +#ifndef __JIT_DISASM_HELPERS_H +#define __JIT_DISASM_HELPERS_H + +#include + +int get_jited_program_text(int fd, char *text, size_t text_sz); + +#endif /* __JIT_DISASM_HELPERS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/liburandom_read.map b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/liburandom_read.map index d7810deed1..38a97a419a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/liburandom_read.map +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/liburandom_read.map @@ -1,15 +1,15 @@ -LIBURANDOM_READ_1.0.0 { - global: - urandlib_api; - urandlib_api_sameoffset; - urandlib_read_without_sema; - urandlib_read_with_sema; - urandlib_read_with_sema_semaphore; - local: - *; -}; - -LIBURANDOM_READ_2.0.0 { - global: - urandlib_api; -} LIBURANDOM_READ_1.0.0; +LIBURANDOM_READ_1.0.0 { + global: + urandlib_api; + urandlib_api_sameoffset; + urandlib_read_without_sema; + urandlib_read_with_sema; + urandlib_read_with_sema_semaphore; + local: + *; +}; + +LIBURANDOM_READ_2.0.0 { + global: + urandlib_api; +} LIBURANDOM_READ_1.0.0; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/async_stack_depth.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/async_stack_depth.c index fba36335bc..118abc29b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/async_stack_depth.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/async_stack_depth.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "async_stack_depth.skel.h" - -void test_async_stack_depth(void) -{ - RUN_TESTS(async_stack_depth); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "async_stack_depth.skel.h" + +void test_async_stack_depth(void) +{ + RUN_TESTS(async_stack_depth); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c index 1b53486fa7..69bd7853e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -#include "atomic_bounds.skel.h" - -void test_atomic_bounds(void) -{ - struct atomic_bounds *skel; - __u32 duration = 0; - - skel = atomic_bounds__open_and_load(); - if (CHECK(!skel, "skel_load", "couldn't load program\n")) - return; - - atomic_bounds__destroy(skel); -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +#include "atomic_bounds.skel.h" + +void test_atomic_bounds(void) +{ + struct atomic_bounds *skel; + __u32 duration = 0; + + skel = atomic_bounds__open_and_load(); + if (CHECK(!skel, "skel_load", "couldn't load program\n")) + return; + + atomic_bounds__destroy(skel); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/core_kern_overflow.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/core_kern_overflow.c index 28bcec5be6..04cc145bc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/core_kern_overflow.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/core_kern_overflow.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "test_progs.h" -#include "core_kern_overflow.lskel.h" - -void test_core_kern_overflow_lskel(void) -{ - struct core_kern_overflow_lskel *skel; - - skel = core_kern_overflow_lskel__open_and_load(); - if (!ASSERT_NULL(skel, "open_and_load")) - core_kern_overflow_lskel__destroy(skel); -} +// SPDX-License-Identifier: GPL-2.0 + +#include "test_progs.h" +#include "core_kern_overflow.lskel.h" + +void test_core_kern_overflow_lskel(void) +{ + struct core_kern_overflow_lskel *skel; + + skel = core_kern_overflow_lskel__open_and_load(); + if (!ASSERT_NULL(skel, "open_and_load")) + core_kern_overflow_lskel__destroy(skel); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/jeq_infer_not_null.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/jeq_infer_not_null.c index 0dccb9c2fc..3add34df57 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/jeq_infer_not_null.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/jeq_infer_not_null.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include "jeq_infer_not_null_fail.skel.h" - -void test_jeq_infer_not_null(void) -{ - RUN_TESTS(jeq_infer_not_null_fail); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include "jeq_infer_not_null_fail.skel.h" + +void test_jeq_infer_not_null(void) +{ + RUN_TESTS(jeq_infer_not_null_fail); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/kfunc_param_nullable.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/kfunc_param_nullable.c index f57c5e4a51..c8f4dcaac7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/kfunc_param_nullable.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/kfunc_param_nullable.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 - -/* Copyright (c) 2024 Meta Platforms, Inc */ - -#include -#include "test_kfunc_param_nullable.skel.h" - -void test_kfunc_param_nullable(void) -{ - RUN_TESTS(test_kfunc_param_nullable); -} +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2024 Meta Platforms, Inc */ + +#include +#include "test_kfunc_param_nullable.skel.h" + +void test_kfunc_param_nullable(void) +{ + RUN_TESTS(test_kfunc_param_nullable); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/preempt_lock.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/preempt_lock.c index 878ba335d5..02917c6724 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/preempt_lock.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/preempt_lock.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -void test_preempt_lock(void) -{ - RUN_TESTS(preempt_lock); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +void test_preempt_lock(void) +{ + RUN_TESTS(preempt_lock); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tcp_estats.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tcp_estats.c index 72d24fe58c..e070bca2b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tcp_estats.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tcp_estats.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -void test_tcp_estats(void) -{ - const char *file = "./test_tcp_estats.bpf.o"; - int err, prog_fd; - struct bpf_object *obj; - - err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); - if (!ASSERT_OK(err, "")) - return; - - bpf_object__close(obj); -} +// SPDX-License-Identifier: GPL-2.0 +#include + +void test_tcp_estats(void) +{ + const char *file = "./test_tcp_estats.bpf.o"; + int err, prog_fd; + struct bpf_object *obj; + + err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); + if (!ASSERT_OK(err, "")) + return; + + bpf_object__close(obj); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tp_btf_nullable.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tp_btf_nullable.c index 40ee66408d..accc42e01f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tp_btf_nullable.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/tp_btf_nullable.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include "test_tp_btf_nullable.skel.h" - -void test_tp_btf_nullable(void) -{ - if (!env.has_testmod) { - test__skip(); - return; - } - - RUN_TESTS(test_tp_btf_nullable); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include "test_tp_btf_nullable.skel.h" + +void test_tp_btf_nullable(void) +{ + if (!env.has_testmod) { + test__skip(); + return; + } + + RUN_TESTS(test_tp_btf_nullable); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/uninit_stack.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/uninit_stack.c index 8373f43093..e64c719484 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/uninit_stack.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/uninit_stack.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include "uninit_stack.skel.h" - -void test_uninit_stack(void) -{ - RUN_TESTS(uninit_stack); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include "uninit_stack.skel.h" + +void test_uninit_stack(void) +{ + RUN_TESTS(uninit_stack); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/verifier_kfunc_prog_types.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/verifier_kfunc_prog_types.c index 7d7173ba6d..3918ecc2ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/verifier_kfunc_prog_types.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/prog_tests/verifier_kfunc_prog_types.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ - -#include - -#include "verifier_kfunc_prog_types.skel.h" - -void test_verifier_kfunc_prog_types(void) -{ - RUN_TESTS(verifier_kfunc_prog_types); -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ + +#include + +#include "verifier_kfunc_prog_types.skel.h" + +void test_verifier_kfunc_prog_types(void) +{ + RUN_TESTS(verifier_kfunc_prog_types); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/arena_htab_asm.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/arena_htab_asm.c index 173dba5a7f..6cd70ea12f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/arena_htab_asm.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/arena_htab_asm.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ -#define BPF_ARENA_FORCE_ASM -#define arena_htab_llvm arena_htab_asm -#include "arena_htab.c" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ +#define BPF_ARENA_FORCE_ASM +#define arena_htab_llvm arena_htab_asm +#include "arena_htab.c" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern1.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern1.c index bf39a9cc5b..c71a7c2831 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern1.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern1.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define START_CHAR 'a' -#include "bpf_iter_test_kern_common.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define START_CHAR 'a' +#include "bpf_iter_test_kern_common.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern2.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern2.c index e79b9cfdc7..8bdc8dc074 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_iter_test_kern2.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define START_CHAR 'A' -#include "bpf_iter_test_kern_common.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define START_CHAR 'A' +#include "bpf_iter_test_kern_common.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c index be20d5b31b..8a7a4c1b54 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "bpf_tracing_net.h" -#include - -char _license[] SEC("license") = "X"; - -SEC("struct_ops") -void BPF_PROG(nogpltcp_init, struct sock *sk) -{ -} - -SEC(".struct_ops") -struct tcp_congestion_ops bpf_nogpltcp = { - .init = (void *)nogpltcp_init, - .name = "bpf_nogpltcp", -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "bpf_tracing_net.h" +#include + +char _license[] SEC("license") = "X"; + +SEC("struct_ops") +void BPF_PROG(nogpltcp_init, struct sock *sk) +{ +} + +SEC(".struct_ops") +struct tcp_congestion_ops bpf_nogpltcp = { + .init = (void *)nogpltcp_init, + .name = "bpf_nogpltcp", +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_dim.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_dim.c index 1f40a999ff..13d662c570 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_dim.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_dim.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___diff_arr_dim x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___diff_arr_dim x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_val_sz.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_val_sz.c index fa4584aac9..a351f418c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_val_sz.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___diff_arr_val_sz.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___diff_arr_val_sz x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___diff_arr_val_sz x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___equiv_zero_sz_arr.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___equiv_zero_sz_arr.c index 3fdd09bae0..65eac371b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___equiv_zero_sz_arr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___equiv_zero_sz_arr.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___equiv_zero_sz_arr x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___equiv_zero_sz_arr x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_bad_zero_sz_arr.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_bad_zero_sz_arr.c index 282fa463fc..ecda2b545a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_bad_zero_sz_arr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_bad_zero_sz_arr.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___err_bad_zero_sz_arr x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___err_bad_zero_sz_arr x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_non_array.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_non_array.c index 98d546935b..a8735009be 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_non_array.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_non_array.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___err_non_array x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___err_non_array x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_shallow.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_shallow.c index 46ab7f7ccd..2a67c28b1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_shallow.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_shallow.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___err_too_shallow x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___err_too_shallow x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_small.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_small.c index 5148d54f22..1142c08c92 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_small.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_too_small.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___err_too_small x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___err_too_small x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c index e25c4ca459..f5a7c832d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___err_wrong_val_type x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___err_wrong_val_type x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___fixed_arr.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___fixed_arr.c index cdc8fd09c9..fe1d01232c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___fixed_arr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___fixed_arr.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_arrays___fixed_arr x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_arrays___fixed_arr x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bit_sz_change.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bit_sz_change.c index bb7a4de7c9..a1cd157d54 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bit_sz_change.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bit_sz_change.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_bitfields___bit_sz_change x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_bitfields___bit_sz_change x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bitfield_vs_int.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bitfield_vs_int.c index cfdeb01a6e..3f2c7b07c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bitfield_vs_int.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bitfield_vs_int.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_bitfields___bitfield_vs_int x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_bitfields___bitfield_vs_int x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___err_too_big_bitfield.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___err_too_big_bitfield.c index c9dda1b12e..f9746d6be3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___err_too_big_bitfield.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___err_too_big_bitfield.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_bitfields___err_too_big_bitfield x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_bitfields___err_too_big_bitfield x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___just_big_enough.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___just_big_enough.c index 9e571e971b..e7c75a6953 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___just_big_enough.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___just_big_enough.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_bitfields___just_big_enough x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_bitfields___just_big_enough x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___diff.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___diff.c index af6097eab8..194749130d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___diff.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___diff.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enum64val___diff x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enum64val___diff x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___err_missing.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___err_missing.c index cd99925735..3d732d4193 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___err_missing.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___err_missing.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enum64val___err_missing x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enum64val___err_missing x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___val3_missing.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___val3_missing.c index 28e42930ab..17cf5d6a84 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___val3_missing.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___val3_missing.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enum64val___val3_missing x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enum64val___val3_missing x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___diff.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___diff.c index 78099f2a5d..53e5e5a768 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___diff.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___diff.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enumval___diff x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enumval___diff x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___err_missing.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___err_missing.c index cba4a8c976..d024fb2ac0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___err_missing.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___err_missing.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enumval___err_missing x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enumval___err_missing x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___val3_missing.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___val3_missing.c index fdc2595c43..9de6595d25 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___val3_missing.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_enumval___val3_missing.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_enumval___val3_missing x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_enumval___val3_missing x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c index e73dc36335..aec2dec20e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_existence___minimal x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_existence___minimal x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___wrong_field_defs.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___wrong_field_defs.c index 6111869a09..d14b496190 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___wrong_field_defs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___wrong_field_defs.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_existence___wrong_field_defs x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_existence___wrong_field_defs x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_flavors__err_wrong_name.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_flavors__err_wrong_name.c index 1a79c7a5d1..7b6035f86e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_flavors__err_wrong_name.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_flavors__err_wrong_name.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_flavors__err_wrong_name x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_flavors__err_wrong_name x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___bool.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___bool.c index 990add6a30..f935945018 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___bool.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___bool.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_ints___bool x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_ints___bool x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___reverse_sign.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___reverse_sign.c index b2422c0428..aafb1c5819 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___reverse_sign.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___reverse_sign.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_ints___reverse_sign x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_ints___reverse_sign x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_misc.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_misc.c index c065150a8e..ed9ad8b5b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_misc.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_misc.c @@ -1,5 +1,5 @@ -#include "core_reloc_types.h" - -void f1(struct core_reloc_misc___a x) {} -void f2(struct core_reloc_misc___b x) {} -void f3(struct core_reloc_misc_extensible x) {} +#include "core_reloc_types.h" + +void f1(struct core_reloc_misc___a x) {} +void f2(struct core_reloc_misc___b x) {} +void f3(struct core_reloc_misc_extensible x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___mod_swap.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___mod_swap.c index 93e9c324ce..f8a6592ca7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___mod_swap.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___mod_swap.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_mods___mod_swap x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_mods___mod_swap x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c index 69e3e07109..5c0d736872 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_mods___typedefs x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_mods___typedefs x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c index 392c42716c..13e108f76e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___anon_embed x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___anon_embed x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___dup_compat_types.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___dup_compat_types.c index 98e7e5847b..76b54fda5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___dup_compat_types.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___dup_compat_types.c @@ -1,5 +1,5 @@ -#include "core_reloc_types.h" - -void f1(struct core_reloc_nesting___dup_compat_types x) {} -void f2(struct core_reloc_nesting___dup_compat_types__2 x) {} -void f3(struct core_reloc_nesting___dup_compat_types__3 x) {} +#include "core_reloc_types.h" + +void f1(struct core_reloc_nesting___dup_compat_types x) {} +void f2(struct core_reloc_nesting___dup_compat_types__2 x) {} +void f3(struct core_reloc_nesting___dup_compat_types__3 x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_container.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_container.c index 210fd2d8b8..975fb95db8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_container.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_container.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_array_container x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_array_container x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_field.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_field.c index 8624eb559e..ad66c67e79 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_field.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_array_field.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_array_field x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_array_field x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_dup_incompat_types.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_dup_incompat_types.c index 19da424b45..35c5f8da68 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_dup_incompat_types.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_dup_incompat_types.c @@ -1,4 +1,4 @@ -#include "core_reloc_types.h" - -void f1(struct core_reloc_nesting___err_dup_incompat_types__1 x) {} -void f2(struct core_reloc_nesting___err_dup_incompat_types__2 x) {} +#include "core_reloc_types.h" + +void f1(struct core_reloc_nesting___err_dup_incompat_types__1 x) {} +void f2(struct core_reloc_nesting___err_dup_incompat_types__2 x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_container.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_container.c index a7e03c8378..142e332041 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_container.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_container.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_missing_container x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_missing_container x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c index 29b77ad98a..efcae167fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_missing_field x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_missing_field x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_nonstruct_container.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_nonstruct_container.c index 44b26445a3..97aaaedd8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_nonstruct_container.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_nonstruct_container.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_nonstruct_container x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_nonstruct_container x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_partial_match_dups.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_partial_match_dups.c index f528f313c5..ffde35086e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_partial_match_dups.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_partial_match_dups.c @@ -1,4 +1,4 @@ -#include "core_reloc_types.h" - -void f1(struct core_reloc_nesting___err_partial_match_dups__a x) {} -void f2(struct core_reloc_nesting___err_partial_match_dups__b x) {} +#include "core_reloc_types.h" + +void f1(struct core_reloc_nesting___err_partial_match_dups__a x) {} +void f2(struct core_reloc_nesting___err_partial_match_dups__b x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_too_deep.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_too_deep.c index ffb8cd8567..39a2fadd8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_too_deep.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_too_deep.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___err_too_deep x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_too_deep x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___extra_nesting.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___extra_nesting.c index 431a476f38..a09d9dfb20 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___extra_nesting.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___extra_nesting.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___extra_nesting x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___extra_nesting x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___struct_union_mixup.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___struct_union_mixup.c index 01b25c062a..3d8a1a7401 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___struct_union_mixup.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___struct_union_mixup.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_nesting___struct_union_mixup x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___struct_union_mixup x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives.c index d441dc57d6..96b90e3924 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_enum_def.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_enum_def.c index a9c9cd24bf..6e87233a3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_enum_def.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_enum_def.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___diff_enum_def x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___diff_enum_def x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_func_proto.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_func_proto.c index e559198319..d9f48e80b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_func_proto.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_func_proto.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___diff_func_proto x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___diff_func_proto x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_ptr_type.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_ptr_type.c index 520c8b8633..c718f75f8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_ptr_type.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___diff_ptr_type.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___diff_ptr_type x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___diff_ptr_type x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_enum.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_enum.c index f7adb1b131..b8a1208308 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_enum.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_enum.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___err_non_enum x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___err_non_enum x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_int.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_int.c index 9d822d24ff..ad8b3c9aa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_int.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_int.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___err_non_int x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___err_non_int x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_ptr.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_ptr.c index 8d76949117..e20bc1d42d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_ptr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_primitives___err_non_ptr.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_primitives___err_non_ptr x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_primitives___err_non_ptr x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr.c index 9f984f0559..8da52432ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_ptr_as_arr x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_ptr_as_arr x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr___diff_sz.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr___diff_sz.c index 15ef2ecbca..003acfc9a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr___diff_sz.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_ptr_as_arr___diff_sz.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_ptr_as_arr___diff_sz x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_ptr_as_arr___diff_sz x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_offs.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_offs.c index b48e407cf3..3824345d82 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_offs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_offs.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_size___diff_offs x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_size___diff_offs x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_sz.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_sz.c index a175b7f071..6dbd14436b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_sz.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_sz.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_size___diff_sz x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_size___diff_sz x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___err_ambiguous.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___err_ambiguous.c index 4ab9682630..f3e9904df9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___err_ambiguous.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_size___err_ambiguous.c @@ -1,4 +1,4 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_size___err_ambiguous1 x, - struct core_reloc_size___err_ambiguous2 y) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_size___err_ambiguous1 x, + struct core_reloc_size___err_ambiguous2 y) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based.c index e25f0ea76d..fc3f69e58c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___all_missing.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___all_missing.c index 00bb087ed3..51511648b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___all_missing.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___all_missing.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based___all_missing x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based___all_missing x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff.c index cd44cce87d..57ae2c2589 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based___diff x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based___diff x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff_sz.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff_sz.c index 32b17d2fdf..67db3dceb2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff_sz.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___diff_sz.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based___diff_sz x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based___diff_sz x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___fn_wrong_args.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___fn_wrong_args.c index 4f59c81666..b357fc6543 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___fn_wrong_args.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___fn_wrong_args.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based___fn_wrong_args x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based___fn_wrong_args x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___incompat.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___incompat.c index 9f01162414..8ddf20d33d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___incompat.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_based___incompat.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_based___incompat x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_based___incompat x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_id___missing_targets.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_id___missing_targets.c index 3a28e5a7ad..24e7caf4f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_id___missing_targets.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/btf__core_reloc_type_id___missing_targets.c @@ -1,3 +1,3 @@ -#include "core_reloc_types.h" - -void f(struct core_reloc_type_id___missing_targets x) {} +#include "core_reloc_types.h" + +void f(struct core_reloc_type_id___missing_targets x) {} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/cg_storage_multi.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/cg_storage_multi.h index f2f65c7ba9..41d59f0ee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/cg_storage_multi.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/cg_storage_multi.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __PROGS_CG_STORAGE_MULTI_H -#define __PROGS_CG_STORAGE_MULTI_H - -struct cgroup_value { - __u32 egress_pkts; - __u32 ingress_pkts; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __PROGS_CG_STORAGE_MULTI_H +#define __PROGS_CG_STORAGE_MULTI_H + +struct cgroup_value { + __u32 egress_pkts; + __u32 ingress_pkts; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c index d9cbba11cc..f9a622705f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -SEC("?freplace") -long changes_pkt_data(struct __sk_buff *sk) -{ - return bpf_skb_pull_data(sk, 0); -} - -SEC("?freplace") -long does_not_change_pkt_data(struct __sk_buff *sk) -{ - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +SEC("?freplace") +long changes_pkt_data(struct __sk_buff *sk) +{ + return bpf_skb_pull_data(sk, 0); +} + +SEC("?freplace") +long does_not_change_pkt_data(struct __sk_buff *sk) +{ + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fentry_recursive.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fentry_recursive.c index 4baddb0146..2c9fb5ac42 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fentry_recursive.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fentry_recursive.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2023 Red Hat, Inc. */ -#include -#include -#include - -char _license[] SEC("license") = "GPL"; - -/* Dummy fentry bpf prog for testing fentry attachment chains */ -SEC("fentry/XXX") -int BPF_PROG(recursive_attach, int a) -{ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2023 Red Hat, Inc. */ +#include +#include +#include + +char _license[] SEC("license") = "GPL"; + +/* Dummy fentry bpf prog for testing fentry attachment chains */ +SEC("fentry/XXX") +int BPF_PROG(recursive_attach, int a) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fmod_ret_freplace.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fmod_ret_freplace.c index 5266974689..c8943ccee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fmod_ret_freplace.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/fmod_ret_freplace.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -volatile __u64 test_fmod_ret = 0; -SEC("fmod_ret/security_new_get_constant") -int BPF_PROG(fmod_ret_test, long val, int ret) -{ - test_fmod_ret = 1; - return 120; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +volatile __u64 test_fmod_ret = 0; +SEC("fmod_ret/security_new_get_constant") +int BPF_PROG(fmod_ret_test, long val, int ret) +{ + test_fmod_ret = 1; + return 120; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/freplace_dead_global_func.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/freplace_dead_global_func.c index 2a780d848e..e6a75f86ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/freplace_dead_global_func.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/freplace_dead_global_func.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -SEC("freplace") -int freplace_prog(void) -{ - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +SEC("freplace") +int freplace_prog(void) +{ + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c index d68c3fc8ed..7632d9ecb2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include "../bpf_testmod/bpf_testmod_kfunc.h" - -SEC("tc") -int kfunc_destructive_test(void) -{ - bpf_kfunc_call_test_destructive(); - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include "../bpf_testmod/bpf_testmod_kfunc.h" + +SEC("tc") +int kfunc_destructive_test(void) +{ + bpf_kfunc_call_test_destructive(); + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_race.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_race.c index cc56cf66e8..d532af07de 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_race.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kfunc_call_race.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include "../bpf_testmod/bpf_testmod_kfunc.h" - -SEC("tc") -int kfunc_call_fail(struct __sk_buff *ctx) -{ - bpf_testmod_test_mod_kfunc(0); - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include "../bpf_testmod/bpf_testmod_kfunc.h" + +SEC("tc") +int kfunc_call_fail(struct __sk_buff *ctx) +{ + bpf_testmod_test_mod_kfunc(0); + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_empty.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_empty.c index dc054e452d..e76e499aca 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_empty.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_empty.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -char _license[] SEC("license") = "GPL"; - -SEC("kprobe.multi/") -int test_kprobe_empty(struct pt_regs *ctx) -{ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +char _license[] SEC("license") = "GPL"; + +SEC("kprobe.multi/") +int test_kprobe_empty(struct pt_regs *ctx) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_override.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_override.c index 050437fe6c..28f8487c90 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_override.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/kprobe_multi_override.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -char _license[] SEC("license") = "GPL"; - -SEC("kprobe.multi") -int test_override(struct pt_regs *ctx) -{ - bpf_override_return(ctx, 123); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +char _license[] SEC("license") = "GPL"; + +SEC("kprobe.multi") +int test_override(struct pt_regs *ctx) +{ + bpf_override_return(ctx, 123); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/ksym_race.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/ksym_race.c index 8b59600fd8..def97f2fed 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/ksym_race.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/ksym_race.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -extern int bpf_testmod_ksym_percpu __ksym; - -SEC("tc") -int ksym_fail(struct __sk_buff *ctx) -{ - return *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +extern int bpf_testmod_ksym_percpu __ksym; + +SEC("tc") +int ksym_fail(struct __sk_buff *ctx) +{ + return *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_unused.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_unused.c index aac6315d92..672a0d19f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_unused.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_unused.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -volatile const char bpf_metadata_a[] SEC(".rodata") = "foo"; -volatile const int bpf_metadata_b SEC(".rodata") = 1; - -SEC("cgroup_skb/egress") -int prog(struct xdp_md *ctx) -{ - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +volatile const char bpf_metadata_a[] SEC(".rodata") = "foo"; +volatile const int bpf_metadata_b SEC(".rodata") = 1; + +SEC("cgroup_skb/egress") +int prog(struct xdp_md *ctx) +{ + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_used.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_used.c index 9d8c36c0e1..b7198e6538 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_used.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/metadata_used.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -volatile const char bpf_metadata_a[] SEC(".rodata") = "bar"; -volatile const int bpf_metadata_b SEC(".rodata") = 2; - -SEC("cgroup_skb/egress") -int prog(struct xdp_md *ctx) -{ - return bpf_metadata_b ? 1 : 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +volatile const char bpf_metadata_a[] SEC(".rodata") = "bar"; +volatile const int bpf_metadata_b SEC(".rodata") = 2; + +SEC("cgroup_skb/egress") +int prog(struct xdp_md *ctx) +{ + return bpf_metadata_b ? 1 : 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_map.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_map.c index 1fb03b8bde..9085be50f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_map.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_map.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */ - -#include "vmlinux.h" -#include - -char _license[] SEC("license") = "GPL"; - -struct { - __uint(type, BPF_MAP_TYPE_QUEUE); - __uint(max_entries, 1); - __type(value, __u32); -} priv_map SEC(".maps"); +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */ + +#include "vmlinux.h" +#include + +char _license[] SEC("license") = "GPL"; + +struct { + __uint(type, BPF_MAP_TYPE_QUEUE); + __uint(max_entries, 1); + __type(value, __u32); +} priv_map SEC(".maps"); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_prog.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_prog.c index 37f88555c0..3c7b2b618c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_prog.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/priv_prog.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */ - -#include "vmlinux.h" -#include - -char _license[] SEC("license") = "GPL"; - -SEC("kprobe") -int kprobe_prog(void *ctx) -{ - return 1; -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */ + +#include "vmlinux.h" +#include + +char _license[] SEC("license") = "GPL"; + +SEC("kprobe") +int kprobe_prog(void *ctx) +{ + return 1; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler1.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler1.c index 0278e1d83d..fb6b135229 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler1.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler1.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define UNROLL -#define INLINE __always_inline -#include "profiler.inc.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define UNROLL +#define INLINE __always_inline +#include "profiler.inc.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler2.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler2.c index 23d556ccd0..0f32a3cbf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler2.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define barrier_var(var) /**/ -/* undef #define UNROLL */ -#define INLINE /**/ -#include "profiler.inc.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define barrier_var(var) /**/ +/* undef #define UNROLL */ +#define INLINE /**/ +#include "profiler.inc.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler3.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler3.c index 9e9eabf1dd..6249fc31cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler3.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/profiler3.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define barrier_var(var) /**/ -#define UNROLL -#define INLINE __noinline -#include "profiler.inc.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define barrier_var(var) /**/ +#define UNROLL +#define INLINE __noinline +#include "profiler.inc.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf100.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf100.c index a997ac904f..29786325db 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf100.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf100.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2019 Facebook -#define STACK_MAX_LEN 100 -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2019 Facebook +#define STACK_MAX_LEN 100 +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf50.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf50.c index d8d909b323..ef7ce340a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf50.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf50.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2019 Facebook -#define STACK_MAX_LEN 50 -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2019 Facebook +#define STACK_MAX_LEN 50 +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_bpf_loop.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_bpf_loop.c index 6fbf9f9f92..5c2059dc01 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_bpf_loop.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_bpf_loop.c @@ -1,6 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2021 Facebook */ - -#define STACK_MAX_LEN 600 -#define USE_BPF_LOOP -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2021 Facebook */ + +#define STACK_MAX_LEN 600 +#define USE_BPF_LOOP +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_iter.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_iter.c index 1f7877eafb..d62e1b200c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_iter.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_iter.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -#define STACK_MAX_LEN 600 -#define SUBPROGS -#define NO_UNROLL -#define USE_ITER -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2023 Meta Platforms, Inc. and affiliates. +#define STACK_MAX_LEN 600 +#define SUBPROGS +#define NO_UNROLL +#define USE_ITER +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_nounroll.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_nounroll.c index 9703445874..520b58c4f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_nounroll.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf600_nounroll.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2019 Facebook -#define STACK_MAX_LEN 600 -#define NO_UNROLL -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2019 Facebook +#define STACK_MAX_LEN 600 +#define NO_UNROLL +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_global.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_global.c index 21a6873996..079e78a756 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_global.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_global.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define STACK_MAX_LEN 50 -#define GLOBAL_FUNC -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define STACK_MAX_LEN 50 +#define GLOBAL_FUNC +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_subprogs.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_subprogs.c index 90b2c00c43..60e27a7f0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_subprogs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/pyperf_subprogs.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#define STACK_MAX_LEN 50 -#define SUBPROGS -#include "pyperf.h" +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#define STACK_MAX_LEN 50 +#define SUBPROGS +#include "pyperf.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/skb_load_bytes.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/skb_load_bytes.c index 015a80d026..e4252fd973 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/skb_load_bytes.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/skb_load_bytes.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -char _license[] SEC("license") = "GPL"; - -__u32 load_offset = 0; -int test_result = 0; - -SEC("tc") -int skb_process(struct __sk_buff *skb) -{ - char buf[16]; - - test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +char _license[] SEC("license") = "GPL"; + +__u32 load_offset = 0; +int test_result = 0; + +SEC("tc") +int skb_process(struct __sk_buff *skb) +{ + char buf[16]; + + test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c index c36ff90f40..80632954c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c @@ -1,12 +1,12 @@ -#include - -#include -#include - -SEC("sk_msg1") -int bpf_prog1(struct sk_msg_md *msg) -{ - return SK_PASS; -} - -char _license[] SEC("license") = "GPL"; +#include + +#include +#include + +SEC("sk_msg1") +int bpf_prog1(struct sk_msg_md *msg) +{ + return SK_PASS; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta.c index 67c78f204d..d3df3d86f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -// Copyright (c) 2019 Facebook - -#define STROBE_MAX_INTS 2 -#define STROBE_MAX_STRS 25 -#define STROBE_MAX_MAPS 100 -#define STROBE_MAX_MAP_ENTRIES 20 -/* full unroll by llvm #undef NO_UNROLL */ -#include "strobemeta.h" - +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +// Copyright (c) 2019 Facebook + +#define STROBE_MAX_INTS 2 +#define STROBE_MAX_STRS 25 +#define STROBE_MAX_MAPS 100 +#define STROBE_MAX_MAP_ENTRIES 20 +/* full unroll by llvm #undef NO_UNROLL */ +#include "strobemeta.h" + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_bpf_loop.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_bpf_loop.c index f68b1f6727..d18b992f01 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_bpf_loop.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_bpf_loop.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -/* Copyright (c) 2021 Facebook */ - -#define STROBE_MAX_INTS 2 -#define STROBE_MAX_STRS 25 -#define STROBE_MAX_MAPS 100 -#define STROBE_MAX_MAP_ENTRIES 20 -#define USE_BPF_LOOP -#include "strobemeta.h" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +/* Copyright (c) 2021 Facebook */ + +#define STROBE_MAX_INTS 2 +#define STROBE_MAX_STRS 25 +#define STROBE_MAX_MAPS 100 +#define STROBE_MAX_MAP_ENTRIES 20 +#define USE_BPF_LOOP +#include "strobemeta.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll1.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll1.c index f7f35394d8..f0a1669e11 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll1.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll1.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -// Copyright (c) 2019 Facebook - -#define STROBE_MAX_INTS 2 -#define STROBE_MAX_STRS 25 -#define STROBE_MAX_MAPS 13 -#define STROBE_MAX_MAP_ENTRIES 20 -#define NO_UNROLL -#include "strobemeta.h" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +// Copyright (c) 2019 Facebook + +#define STROBE_MAX_INTS 2 +#define STROBE_MAX_STRS 25 +#define STROBE_MAX_MAPS 13 +#define STROBE_MAX_MAP_ENTRIES 20 +#define NO_UNROLL +#include "strobemeta.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll2.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll2.c index 281e26684d..4291a7d642 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_nounroll2.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -// Copyright (c) 2019 Facebook - -#define STROBE_MAX_INTS 2 -#define STROBE_MAX_STRS 25 -#define STROBE_MAX_MAPS 30 -#define STROBE_MAX_MAP_ENTRIES 20 -#define NO_UNROLL -#include "strobemeta.h" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +// Copyright (c) 2019 Facebook + +#define STROBE_MAX_INTS 2 +#define STROBE_MAX_STRS 25 +#define STROBE_MAX_MAPS 30 +#define STROBE_MAX_MAP_ENTRIES 20 +#define NO_UNROLL +#include "strobemeta.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_subprogs.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_subprogs.c index 2be2e34340..b6c01f8fc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_subprogs.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/strobemeta_subprogs.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -// Copyright (c) 2019 Facebook - -#define STROBE_MAX_INTS 2 -#define STROBE_MAX_STRS 25 -#define STROBE_MAX_MAPS 13 -#define STROBE_MAX_MAP_ENTRIES 20 -#define NO_UNROLL -#define SUBPROGS -#include "strobemeta.h" +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +// Copyright (c) 2019 Facebook + +#define STROBE_MAX_INTS 2 +#define STROBE_MAX_STRS 25 +#define STROBE_MAX_MAPS 13 +#define STROBE_MAX_MAP_ENTRIES 20 +#define NO_UNROLL +#define SUBPROGS +#include "strobemeta.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/struct_ops_detach.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/struct_ops_detach.c index fb99a4ad32..56b787a898 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/struct_ops_detach.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/struct_ops_detach.c @@ -1,10 +1,10 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ -#include -#include -#include "../bpf_testmod/bpf_testmod.h" - -char _license[] SEC("license") = "GPL"; - -SEC(".struct_ops.link") -struct bpf_testmod_ops testmod_do_detach; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */ +#include +#include +#include "../bpf_testmod/bpf_testmod.h" + +char _license[] SEC("license") = "GPL"; + +SEC(".struct_ops.link") +struct bpf_testmod_ops testmod_do_detach; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fentry.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fentry.c index 27077976c0..8436c67291 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fentry.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fentry.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright Leon Hwang */ - -#include "vmlinux.h" -#include -#include - -int count = 0; - -SEC("fentry/subprog_tail") -int BPF_PROG(fentry, struct sk_buff *skb) -{ - count++; - - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright Leon Hwang */ + +#include "vmlinux.h" +#include +#include + +int count = 0; + +SEC("fentry/subprog_tail") +int BPF_PROG(fentry, struct sk_buff *skb) +{ + count++; + + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fexit.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fexit.c index 462f03b373..fe16412c6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fexit.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_fexit.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright Leon Hwang */ - -#include "vmlinux.h" -#include -#include - -int count = 0; - -SEC("fexit/subprog_tail") -int BPF_PROG(fexit, struct sk_buff *skb) -{ - count++; - - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright Leon Hwang */ + +#include "vmlinux.h" +#include +#include + +int count = 0; + +SEC("fexit/subprog_tail") +int BPF_PROG(fexit, struct sk_buff *skb) +{ + count++; + + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tc_dummy.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tc_dummy.c index 15cc1a0718..69a3d0dc87 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tc_dummy.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/tc_dummy.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include "bpf_legacy.h" - -SEC("tc") -int entry(struct __sk_buff *skb) -{ - return 1; -} - -char __license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include "bpf_legacy.h" + +SEC("tc") +int entry(struct __sk_buff *skb) +{ + return 1; +} + +char __license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_enable_stats.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_enable_stats.c index 69ff5a422c..1705097d01 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_enable_stats.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_enable_stats.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2020 Facebook - -#include -#include -#include -#include - -char _license[] SEC("license") = "GPL"; - -__u64 count = 0; - -SEC("raw_tracepoint/sys_enter") -int test_enable_stats(void *ctx) -{ - __sync_fetch_and_add(&count, 1); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2020 Facebook + +#include +#include +#include +#include + +char _license[] SEC("license") = "GPL"; + +__u64 count = 0; + +SEC("raw_tracepoint/sys_enter") +int test_enable_stats(void *ctx) +{ + __sync_fetch_and_add(&count, 1); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_netfilter_link_attach.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_netfilter_link_attach.c index b289df0546..03a475160a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_netfilter_link_attach.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_netfilter_link_attach.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "vmlinux.h" -#include - -#define NF_ACCEPT 1 - -SEC("netfilter") -int nf_link_attach_test(struct bpf_nf_ctx *ctx) -{ - return NF_ACCEPT; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "vmlinux.h" +#include + +#define NF_ACCEPT 1 + +SEC("netfilter") +int nf_link_attach_test(struct bpf_nf_ctx *ctx) +{ + return NF_ACCEPT; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_link.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_link.c index 5b1dfe8a34..c1db9fd98d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_link.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_link.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2021 Facebook */ -#include "vmlinux.h" -#include -#include - -int run_cnt = 0; - -SEC("perf_event") -int handler(struct pt_regs *ctx) -{ - __sync_fetch_and_add(&run_cnt, 1); - return 0; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2021 Facebook */ +#include "vmlinux.h" +#include +#include + +int run_cnt = 0; + +SEC("perf_event") +int handler(struct pt_regs *ctx) +{ + __sync_fetch_and_add(&run_cnt, 1); + return 0; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_skip.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_skip.c index 24fbb72805..7eb8b6de7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_skip.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_perf_skip.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "vmlinux.h" -#include -#include - -uintptr_t ip; - -SEC("perf_event") -int handler(struct bpf_perf_event_data *data) -{ - /* Skip events that have the correct ip. */ - return ip != PT_REGS_IP(&data->regs); -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +#include "vmlinux.h" +#include +#include + +uintptr_t ip; + +SEC("perf_event") +int handler(struct bpf_perf_event_data *data) +{ + /* Skip events that have the correct ip. */ + return ip != PT_REGS_IP(&data->regs); +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_pinning_invalid.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_pinning_invalid.c index 1304e22407..2a56db1094 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_pinning_invalid.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_pinning_invalid.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -struct { - __uint(type, BPF_MAP_TYPE_ARRAY); - __uint(max_entries, 1); - __type(key, __u32); - __type(value, __u64); - __uint(pinning, 2); /* invalid */ -} nopinmap3 SEC(".maps"); - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +struct { + __uint(type, BPF_MAP_TYPE_ARRAY); + __uint(max_entries, 1); + __type(key, __u32); + __type(value, __u64); + __uint(pinning, 2); /* invalid */ +} nopinmap3 SEC(".maps"); + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_queue_map.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_queue_map.c index 856a6ef10e..87db1f9da3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_queue_map.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_queue_map.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Politecnico di Torino -#define MAP_TYPE BPF_MAP_TYPE_QUEUE -#include "test_queue_stack_map.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Politecnico di Torino +#define MAP_TYPE BPF_MAP_TYPE_QUEUE +#include "test_queue_stack_map.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c index 20af5c3710..dcf46adfda 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -#define IPROUTE2_HAVE_LIBBPF -#include "test_sk_assign.c" +// SPDX-License-Identifier: GPL-2.0 +#define IPROUTE2_HAVE_LIBBPF +#include "test_sk_assign.c" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockhash_kern.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockhash_kern.c index 81d0c0ba48..e675591644 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockhash_kern.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockhash_kern.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Covalent IO, Inc. http://covalent.io -#undef SOCKMAP -#define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKHASH -#include "./test_sockmap_kern.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Covalent IO, Inc. http://covalent.io +#undef SOCKMAP +#define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKHASH +#include "./test_sockmap_kern.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockmap_kern.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockmap_kern.c index b586761b07..677b2ed1cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockmap_kern.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_sockmap_kern.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Covalent IO, Inc. http://covalent.io -#define SOCKMAP -#define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKMAP -#include "./test_sockmap_kern.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Covalent IO, Inc. http://covalent.io +#define SOCKMAP +#define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKMAP +#include "./test_sockmap_kern.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_stack_map.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_stack_map.c index fbaae807fc..31c3880e6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_stack_map.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_stack_map.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Politecnico di Torino -#define MAP_TYPE BPF_MAP_TYPE_STACK -#include "test_queue_stack_map.h" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Politecnico di Torino +#define MAP_TYPE BPF_MAP_TYPE_STACK +#include "test_queue_stack_map.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c index 6abfc28ec8..80238486b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) Meta Platforms, Inc. and affiliates. */ - -#include -#include - -int var6 = 6; - -struct { - __uint(type, BPF_MAP_TYPE_HASH); - __type(key, __u32); - __type(value, __u32); - __uint(max_entries, 16); -} map2 SEC(".maps"); - -char LICENSE[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) Meta Platforms, Inc. and affiliates. */ + +#include +#include + +int var6 = 6; + +struct { + __uint(type, BPF_MAP_TYPE_HASH); + __type(key, __u32); + __type(value, __u32); + __uint(max_entries, 16); +} map2 SEC(".maps"); + +char LICENSE[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_xdp_link.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_xdp_link.c index c2f45e5da1..64ff32eaae 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_xdp_link.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/test_xdp_link.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2020 Facebook */ -#include -#include - -char LICENSE[] SEC("license") = "GPL"; - -SEC("xdp") -int xdp_handler(struct xdp_md *xdp) -{ - return 0; -} - -SEC("tc") -int tc_handler(struct __sk_buff *skb) -{ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2020 Facebook */ +#include +#include + +char LICENSE[] SEC("license") = "GPL"; + +SEC("xdp") +int xdp_handler(struct xdp_md *xdp) +{ + return 0; +} + +SEC("tc") +int tc_handler(struct __sk_buff *skb) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_bench.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_bench.c index 41fb21ead5..5367f6105e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_bench.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_bench.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -char _license[] SEC("license") = "GPL"; - -int count; - -SEC("uprobe.multi/./uprobe_multi:uprobe_multi_func_*") -int uprobe_bench(struct pt_regs *ctx) -{ - count++; - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +char _license[] SEC("license") = "GPL"; + +int count; + +SEC("uprobe.multi/./uprobe_multi:uprobe_multi_func_*") +int uprobe_bench(struct pt_regs *ctx) +{ + count++; + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_usdt.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_usdt.c index f25865c152..9e1c33d0bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_usdt.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_multi_usdt.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "vmlinux.h" -#include -#include - -char _license[] SEC("license") = "GPL"; - -int count; - -SEC("usdt") -int usdt0(struct pt_regs *ctx) -{ - count++; - return 0; -} +// SPDX-License-Identifier: GPL-2.0 + +#include "vmlinux.h" +#include +#include + +char _license[] SEC("license") = "GPL"; + +int count; + +SEC("usdt") +int usdt0(struct pt_regs *ctx) +{ + count++; + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall.c index 95d4d92d53..8a4fa6c7ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "vmlinux.h" -#include -#include - -struct pt_regs regs; - -char _license[] SEC("license") = "GPL"; - -SEC("uretprobe//proc/self/exe:uretprobe_regs_trigger") -int uretprobe(struct pt_regs *ctx) -{ - __builtin_memcpy(®s, ctx, sizeof(regs)); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include "vmlinux.h" +#include +#include + +struct pt_regs regs; + +char _license[] SEC("license") = "GPL"; + +SEC("uretprobe//proc/self/exe:uretprobe_regs_trigger") +int uretprobe(struct pt_regs *ctx) +{ + __builtin_memcpy(®s, ctx, sizeof(regs)); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall_executed.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall_executed.c index 2654b78d3d..0d7f1a7db2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall_executed.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/uprobe_syscall_executed.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "vmlinux.h" -#include -#include - -struct pt_regs regs; - -char _license[] SEC("license") = "GPL"; - -int executed = 0; - -SEC("uretprobe.multi") -int test(struct pt_regs *regs) -{ - executed = 1; - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include "vmlinux.h" +#include +#include + +struct pt_regs regs; + +char _license[] SEC("license") = "GPL"; + +int executed = 0; + +SEC("uretprobe.multi") +int test(struct pt_regs *regs) +{ + executed = 1; + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_dummy.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_dummy.c index bd54311916..d988b2e0ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_dummy.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_dummy.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 - -#define KBUILD_MODNAME "xdp_dummy" -#include -#include - -SEC("xdp") -int xdp_dummy_prog(struct xdp_md *ctx) -{ - return XDP_PASS; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 + +#define KBUILD_MODNAME "xdp_dummy" +#include +#include + +SEC("xdp") +int xdp_dummy_prog(struct xdp_md *ctx) +{ + return XDP_PASS; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_tx.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_tx.c index 76a2408e0e..5f725c720e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_tx.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/progs/xdp_tx.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -SEC("xdp") -int xdp_tx(struct xdp_md *xdp) -{ - return XDP_TX; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +SEC("xdp") +int xdp_tx(struct xdp_md *xdp) +{ + return XDP_TX; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/sdt-config.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/sdt-config.h index f9b67eeb10..733045a527 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/sdt-config.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/sdt-config.h @@ -1,6 +1,6 @@ -/* includes/sys/sdt-config.h. Generated from sdt-config.h.in by configure. - - This file just defines _SDT_ASM_SECTION_AUTOGROUP_SUPPORT to 0 or 1 to - indicate whether the assembler supports "?" in .pushsection directives. */ - -#define _SDT_ASM_SECTION_AUTOGROUP_SUPPORT 1 +/* includes/sys/sdt-config.h. Generated from sdt-config.h.in by configure. + + This file just defines _SDT_ASM_SECTION_AUTOGROUP_SUPPORT to 0 or 1 to + indicate whether the assembler supports "?" in .pushsection directives. */ + +#define _SDT_ASM_SECTION_AUTOGROUP_SUPPORT 1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_tcpnotify.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_tcpnotify.h index 58687c0827..8b6cea030b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_tcpnotify.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_tcpnotify.h @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#ifndef _TEST_TCPBPF_H -#define _TEST_TCPBPF_H - -struct tcpnotify_globals { - __u32 total_retrans; - __u32 ncalls; -}; - -struct tcp_notifier { - __u8 type; - __u8 subtype; - __u8 source; - __u8 hash; -}; - -#define TESTPORT 12877 -#endif +// SPDX-License-Identifier: GPL-2.0 + +#ifndef _TEST_TCPBPF_H +#define _TEST_TCPBPF_H + +struct tcpnotify_globals { + __u32 total_retrans; + __u32 ncalls; +}; + +struct tcp_notifier { + __u8 type; + __u8 subtype; + __u8 source; + __u8 hash; +}; + +#define TESTPORT 12877 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh old mode 100644 new mode 100755 index 3884d98652..c515326d6d --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh @@ -1,9 +1,9 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# Exit on failure -set -e - -# Wrapper script to test generic-XDP -export TESTNAME=xdp_vlan_mode_generic -./test_xdp_vlan.sh --mode=xdpgeneric +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# Exit on failure +set -e + +# Wrapper script to test generic-XDP +export TESTNAME=xdp_vlan_mode_generic +./test_xdp_vlan.sh --mode=xdpgeneric diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh old mode 100644 new mode 100755 index 20e6349612..5cf7ce1f16 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh @@ -1,9 +1,9 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# Exit on failure -set -e - -# Wrapper script to test native-XDP -export TESTNAME=xdp_vlan_mode_native -./test_xdp_vlan.sh --mode=xdpdrv +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# Exit on failure +set -e + +# Wrapper script to test native-XDP +export TESTNAME=xdp_vlan_mode_native +./test_xdp_vlan.sh --mode=xdpdrv diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/unpriv_helpers.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/unpriv_helpers.h index 518c4cdb8a..151f673296 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/unpriv_helpers.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/unpriv_helpers.h @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include - -#define UNPRIV_SYSCTL "kernel/unprivileged_bpf_disabled" - -bool get_unpriv_disabled(void); +// SPDX-License-Identifier: GPL-2.0-only + +#include + +#define UNPRIV_SYSCTL "kernel/unprivileged_bpf_disabled" + +bool get_unpriv_disabled(void); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/uprobe_multi.ld b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/uprobe_multi.ld index 234a99a601..a2e94828bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/uprobe_multi.ld +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/uprobe_multi.ld @@ -1,11 +1,11 @@ -SECTIONS -{ - . = ALIGN(4096); - .note.gnu.build-id : { *(.note.gnu.build-id) } - . = ALIGN(4096); -} -INSERT AFTER .text; - -build_id_start = ADDR(.note.gnu.build-id); -build_id_end = ADDR(.note.gnu.build-id) + SIZEOF(.note.gnu.build-id); - +SECTIONS +{ + . = ALIGN(4096); + .note.gnu.build-id : { *(.note.gnu.build-id) } + . = ALIGN(4096); +} +INSERT AFTER .text; + +build_id_start = ADDR(.note.gnu.build-id); +build_id_end = ADDR(.note.gnu.build-id) + SIZEOF(.note.gnu.build-id); + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_aux.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_aux.c index a0e5e393f4..6132edcfea 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_aux.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_aux.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */ -#include "sdt.h" - -void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz) -{ - /* semaphore-less USDT */ - STAP_PROBE3(urand, read_without_sema, iter_num, iter_cnt, read_sz); -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */ +#include "sdt.h" + +void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz) +{ + /* semaphore-less USDT */ + STAP_PROBE3(urand, read_without_sema, iter_num, iter_cnt, read_sz); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_lib2.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_lib2.c index 94c924f04f..9d401ad983 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_lib2.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/urandom_read_lib2.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */ -#include "sdt.h" - -void urandlib_read_without_sema(int iter_num, int iter_cnt, int read_sz) -{ - STAP_PROBE3(urandlib, read_without_sema, iter_num, iter_cnt, read_sz); -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */ +#include "sdt.h" + +void urandlib_read_without_sema(int iter_num, int iter_cnt, int read_sz) +{ + STAP_PROBE3(urandlib, read_without_sema, iter_num, iter_cnt, read_sz); +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/basic.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/basic.c index 4bd99f5df7..de84f0d570 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/basic.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/basic.c @@ -1,23 +1,23 @@ -{ - "empty prog", - .insns = { - }, - .errstr = "last insn is not an exit or jmp", - .result = REJECT, -}, -{ - "only exit insn", - .insns = { - BPF_EXIT_INSN(), - }, - .errstr = "R0 !read_ok", - .result = REJECT, -}, -{ - "no bpf_exit", - .insns = { - BPF_ALU64_REG(BPF_MOV, BPF_REG_0, BPF_REG_2), - }, - .errstr = "not an exit", - .result = REJECT, -}, +{ + "empty prog", + .insns = { + }, + .errstr = "last insn is not an exit or jmp", + .result = REJECT, +}, +{ + "only exit insn", + .insns = { + BPF_EXIT_INSN(), + }, + .errstr = "R0 !read_ok", + .result = REJECT, +}, +{ + "no bpf_exit", + .insns = { + BPF_ALU64_REG(BPF_MOV, BPF_REG_0, BPF_REG_2), + }, + .errstr = "not an exit", + .result = REJECT, +}, diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/scale.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/scale.c index 812b54708c..7f868d4802 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/scale.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/verifier/scale.c @@ -1,18 +1,18 @@ -{ - "scale: scale test 1", - .insns = { }, - .data = { }, - .fill_helper = bpf_fill_scale, - .prog_type = BPF_PROG_TYPE_SCHED_CLS, - .result = ACCEPT, - .retval = 1, -}, -{ - "scale: scale test 2", - .insns = { }, - .data = { }, - .fill_helper = bpf_fill_scale, - .prog_type = BPF_PROG_TYPE_SCHED_CLS, - .result = ACCEPT, - .retval = 2, -}, +{ + "scale: scale test 1", + .insns = { }, + .data = { }, + .fill_helper = bpf_fill_scale, + .prog_type = BPF_PROG_TYPE_SCHED_CLS, + .result = ACCEPT, + .retval = 1, +}, +{ + "scale: scale test 2", + .insns = { }, + .data = { }, + .fill_helper = bpf_fill_scale, + .prog_type = BPF_PROG_TYPE_SCHED_CLS, + .result = ACCEPT, + .retval = 2, +}, diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/veristat.cfg b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/veristat.cfg index 8bd6a95169..e661ffdcaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/veristat.cfg +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/veristat.cfg @@ -1,18 +1,18 @@ -# pre-canned list of rather complex selftests/bpf BPF object files to monitor -# BPF verifier's performance on -bpf_flow* -bpf_loop_bench* -loop* -netif_receive_skb* -profiler* -pyperf* -strobemeta* -test_cls_redirect* -test_l4lb -test_sysctl* -test_tcp_hdr_* -test_usdt* -test_verif_scale* -test_xdp_noinline* -xdp_synproxy* -verifier_search_pruning* +# pre-canned list of rather complex selftests/bpf BPF object files to monitor +# BPF verifier's performance on +bpf_flow* +bpf_loop_bench* +loop* +netif_receive_skb* +profiler* +pyperf* +strobemeta* +test_cls_redirect* +test_l4lb +test_sysctl* +test_tcp_hdr_* +test_usdt* +test_verif_scale* +test_xdp_noinline* +xdp_synproxy* +verifier_search_pruning* diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xdping.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xdping.h index fae30d72df..afc578df77 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xdping.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xdping.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. */ - -#define XDPING_MAX_COUNT 10 -#define XDPING_DEFAULT_COUNT 4 - -struct pinginfo { - __u64 start; - __be16 seq; - __u16 count; - __u32 pad; - __u64 times[XDPING_MAX_COUNT]; -}; +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. */ + +#define XDPING_MAX_COUNT 10 +#define XDPING_DEFAULT_COUNT 4 + +struct pinginfo { + __u64 start; + __be16 seq; + __u16 count; + __u32 pad; + __u64 times[XDPING_MAX_COUNT]; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xsk_xdp_common.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xsk_xdp_common.h index 12fe50ff71..5a6f36f073 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xsk_xdp_common.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xsk_xdp_common.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef XSK_XDP_COMMON_H_ -#define XSK_XDP_COMMON_H_ - -#define MAX_SOCKETS 2 - -struct xdp_info { - __u64 count; -} __attribute__((aligned(32))); - -#endif /* XSK_XDP_COMMON_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef XSK_XDP_COMMON_H_ +#define XSK_XDP_COMMON_H_ + +#define MAX_SOCKETS 2 + +struct xdp_info { + __u64 count; +} __attribute__((aligned(32))); + +#endif /* XSK_XDP_COMMON_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/breakpoints/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/breakpoints/.gitignore index c618023abb..def2e97dab 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/breakpoints/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/breakpoints/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -breakpoint_test -step_after_suspend_test +# SPDX-License-Identifier: GPL-2.0-only +breakpoint_test +step_after_suspend_test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cachestat/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cachestat/Makefile index 73872f250d..778b54ebb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cachestat/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cachestat/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_PROGS := test_cachestat - -CFLAGS += $(KHDR_INCLUDES) -CFLAGS += -Wall -LDLIBS += -lrt - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := test_cachestat + +CFLAGS += $(KHDR_INCLUDES) +CFLAGS += -Wall +LDLIBS += -lrt + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/capabilities/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/capabilities/Makefile index 183e0795b7..411ac09830 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/capabilities/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/capabilities/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_FILES := validate_cap -TEST_GEN_PROGS := test_execve - -CFLAGS += -O2 -g -std=gnu99 -Wall $(KHDR_INCLUDES) -LDLIBS += -lcap-ng -lrt -ldl - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_FILES := validate_cap +TEST_GEN_PROGS := test_execve + +CFLAGS += -O2 -g -std=gnu99 -Wall $(KHDR_INCLUDES) +LDLIBS += -lcap-ng -lrt -ldl + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/.gitignore index 69e5365779..952e4448bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/.gitignore @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -test_core -test_cpu -test_cpuset -test_freezer -test_hugetlb_memcg -test_kill -test_kmem -test_memcontrol -test_pids -test_zswap -wait_inotify +# SPDX-License-Identifier: GPL-2.0-only +test_core +test_cpu +test_cpuset +test_freezer +test_hugetlb_memcg +test_kill +test_kmem +test_memcontrol +test_pids +test_zswap +wait_inotify diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/config index f875964128..39f979690d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/config @@ -1,6 +1,6 @@ -CONFIG_CGROUPS=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_SCHED=y -CONFIG_MEMCG=y -CONFIG_PAGE_COUNTER=y +CONFIG_CGROUPS=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_SCHED=y +CONFIG_MEMCG=y +CONFIG_PAGE_COUNTER=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/test_stress.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/test_stress.sh old mode 100644 new mode 100755 index 801fd3b512..3c9c4554d5 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/test_stress.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/test_stress.sh @@ -1,4 +1,4 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/.gitignore index c7153f2fe2..83c0f62460 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -clone3 -clone3_clear_sighand -clone3_set_tid -clone3_cap_checkpoint_restore +# SPDX-License-Identifier: GPL-2.0-only +clone3 +clone3_clear_sighand +clone3_set_tid +clone3_cap_checkpoint_restore diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/Makefile index 08229ed2f5..84832c369a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/clone3/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -g -std=gnu99 $(KHDR_INCLUDES) -LDLIBS += -lcap - -TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \ - clone3_cap_checkpoint_restore - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -g -std=gnu99 $(KHDR_INCLUDES) +LDLIBS += -lcap + +TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \ + clone3_cap_checkpoint_restore + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/connector/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/connector/Makefile index d0bd522701..92188b9bac 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/connector/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/connector/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wall $(KHDR_INCLUDES) - -TEST_GEN_PROGS = proc_filter - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wall $(KHDR_INCLUDES) + +TEST_GEN_PROGS = proc_filter + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/core/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/core/Makefile index 0bf1005b5f..8e99f87f5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/core/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/core/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -g $(KHDR_INCLUDES) - -TEST_GEN_PROGS := close_range_test unshare_test - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -g $(KHDR_INCLUDES) + +TEST_GEN_PROGS := close_range_test unshare_test + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpu-hotplug/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpu-hotplug/Makefile index 7921d29d26..8b66c47383 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpu-hotplug/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpu-hotplug/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -TEST_PROGS := cpu-on-off-test.sh - -include ../lib.mk - -run_full_test: - @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]" - -clean: +# SPDX-License-Identifier: GPL-2.0 +all: + +TEST_PROGS := cpu-on-off-test.sh + +include ../lib.mk + +run_full_test: + @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]" + +clean: diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/Makefile index 8bdfa7f252..c86ca83422 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -TEST_PROGS := main.sh -TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh - -include ../lib.mk - -clean: +# SPDX-License-Identifier: GPL-2.0 +all: + +TEST_PROGS := main.sh +TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh + +include ../lib.mk + +clean: diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/config index 1a55667e58..ce5068f5a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cpufreq/config @@ -1,7 +1,7 @@ -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_STAT=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/.gitignore index 932d5c573a..2ab675fecb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -huge_count_read_write -debugfs_target_ids_read_before_terminate_race -debugfs_target_ids_pid_leak -access_memory -access_memory_even +# SPDX-License-Identifier: GPL-2.0-only +huge_count_read_write +debugfs_target_ids_read_before_terminate_race +debugfs_target_ids_pid_leak +access_memory +access_memory_even diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/config index d6740c5b81..0daf38974e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/config @@ -1,7 +1,7 @@ -CONFIG_DAMON=y -CONFIG_DAMON_SYSFS=y -CONFIG_DAMON_DBGFS=y -CONFIG_DAMON_PADDR=y -CONFIG_DAMON_VADDR=y -CONFIG_DAMON_RECLAIM=y -CONFIG_DAMON_LRU_SORT=y +CONFIG_DAMON=y +CONFIG_DAMON_SYSFS=y +CONFIG_DAMON_DBGFS=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_VADDR=y +CONFIG_DAMON_RECLAIM=y +CONFIG_DAMON_LRU_SORT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh old mode 100644 new mode 100755 index a0f4cd3a10..922cadac29 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh @@ -1,22 +1,22 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -source _debugfs_common.sh - -# Test huge count read write -# ========================== - -dmesg -C - -for file in "$DBGFS/"* -do - ./huge_count_read_write "$file" -done - -if dmesg | grep -q WARNING -then - dmesg - exit 1 -else - exit 0 -fi +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source _debugfs_common.sh + +# Test huge count read write +# ========================== + +dmesg -C + +for file in "$DBGFS/"* +do + ./huge_count_read_write "$file" +done + +if dmesg | grep -q WARNING +then + dmesg + exit 1 +else + exit 0 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh old mode 100644 new mode 100755 index f87c89ced4..f3ffeb1343 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh @@ -1,19 +1,19 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -source _debugfs_common.sh - -# Test putting non-ctx files/dirs to rm_contexts file -# =================================================== - -dmesg -C - -for file in "$DBGFS/"* -do - (echo "$(basename "$f")" > "$DBGFS/rm_contexts") &> /dev/null - if dmesg | grep -q BUG - then - dmesg - exit 1 - fi -done +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source _debugfs_common.sh + +# Test putting non-ctx files/dirs to rm_contexts file +# =================================================== + +dmesg -C + +for file in "$DBGFS/"* +do + (echo "$(basename "$f")" > "$DBGFS/rm_contexts") &> /dev/null + if dmesg | grep -q BUG + then + dmesg + exit 1 + fi +done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh old mode 100644 new mode 100755 index 00eb6f93aa..fc793c4c9a --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh @@ -1,14 +1,14 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -dmesg -C - -./debugfs_target_ids_read_before_terminate_race 5000 - -if dmesg | grep -q dbgfs_target_ids_read -then - dmesg - exit 1 -else - exit 0 -fi +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +dmesg -C + +./debugfs_target_ids_read_before_terminate_race 5000 + +if dmesg | grep -q dbgfs_target_ids_read +then + dmesg + exit 1 +else + exit 0 +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/devices/probe/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/devices/probe/Makefile index 8ab94936e1..f630108c3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/devices/probe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/devices/probe/Makefile @@ -1,4 +1,4 @@ -TEST_PROGS := test_discoverable_devices.py -TEST_FILES := boards - -include ../../lib.mk +TEST_PROGS := test_discoverable_devices.py +TEST_FILES := boards + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dma/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dma/Makefile index 4c19b5e2bc..cd8c5ece1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dma/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dma/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -I../../../../usr/include/ -CFLAGS += -I../../../../include/ - -TEST_GEN_PROGS := dma_map_benchmark - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -I../../../../usr/include/ +CFLAGS += -I../../../../include/ + +TEST_GEN_PROGS := dma_map_benchmark + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dmabuf-heaps/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dmabuf-heaps/Makefile index ad74ccc627..9e7e158d5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dmabuf-heaps/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/dmabuf-heaps/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -static -O3 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) - -TEST_GEN_PROGS = dmabuf-heap - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -static -O3 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) + +TEST_GEN_PROGS = dmabuf-heap + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/.gitignore index e6767d58f3..09e23b5afa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -/dma-buf/udmabuf -/s390x/uvdevice/test_uvdevice +# SPDX-License-Identifier: GPL-2.0-only +/dma-buf/udmabuf +/s390x/uvdevice/test_uvdevice diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/dma-buf/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/dma-buf/Makefile index 005ca88e46..441407bb0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/dma-buf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/dma-buf/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += $(KHDR_INCLUDES) - -TEST_GEN_PROGS := udmabuf - -top_srcdir ?=../../../../.. - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += $(KHDR_INCLUDES) + +TEST_GEN_PROGS := udmabuf + +top_srcdir ?=../../../../.. + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/Makefile index 4b4d5f51e6..39fb97a8c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_INCLUDES := $(wildcard lib/py/*.py) \ - ../../net/net_helper.sh \ - ../../net/lib.sh \ - -TEST_PROGS := \ - netcons_basic.sh \ - ping.py \ - queues.py \ - stats.py \ -# end of TEST_PROGS - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_INCLUDES := $(wildcard lib/py/*.py) \ + ../../net/net_helper.sh \ + ../../net/lib.sh \ + +TEST_PROGS := \ + netcons_basic.sh \ + ping.py \ + queues.py \ + stats.py \ +# end of TEST_PROGS + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/bonding/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/bonding/config index 3835097c42..899d7fb6ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/bonding/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/bonding/config @@ -1,10 +1,10 @@ -CONFIG_BONDING=y -CONFIG_BRIDGE=y -CONFIG_DUMMY=y -CONFIG_IPV6=y -CONFIG_MACVLAN=y -CONFIG_NET_ACT_GACT=y -CONFIG_NET_CLS_FLOWER=y -CONFIG_NET_SCH_INGRESS=y -CONFIG_NLMON=y -CONFIG_VETH=y +CONFIG_BONDING=y +CONFIG_BRIDGE=y +CONFIG_DUMMY=y +CONFIG_IPV6=y +CONFIG_MACVLAN=y +CONFIG_NET_ACT_GACT=y +CONFIG_NET_CLS_FLOWER=y +CONFIG_NET_SCH_INGRESS=y +CONFIG_NLMON=y +CONFIG_VETH=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/config index 4a35fc7a90..a2d8af6087 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/config @@ -1,6 +1,6 @@ -CONFIG_IPV6=y -CONFIG_NETDEVSIM=m -CONFIG_CONFIGFS_FS=y -CONFIG_NETCONSOLE=m -CONFIG_NETCONSOLE_DYNAMIC=y -CONFIG_NETCONSOLE_EXTENDED_LOG=y +CONFIG_IPV6=y +CONFIG_NETDEVSIM=m +CONFIG_CONFIGFS_FS=y +CONFIG_NETCONSOLE=m +CONFIG_NETCONSOLE_DYNAMIC=y +CONFIG_NETCONSOLE_EXTENDED_LOG=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/dsa/run_net_forwarding_test.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/dsa/run_net_forwarding_test.sh old mode 100644 new mode 100755 index 67e6a68cc4..4106c0a102 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/dsa/run_net_forwarding_test.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/dsa/run_net_forwarding_test.sh @@ -1,9 +1,9 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -libdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") -testname=$(basename "${BASH_SOURCE[0]}") - -source "$libdir"/forwarding.config -cd "$libdir"/../../../net/forwarding/ || exit 1 -source "./$testname" "$@" +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +libdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") +testname=$(basename "${BASH_SOURCE[0]}") + +source "$libdir"/forwarding.config +cd "$libdir"/../../../net/forwarding/ || exit 1 +source "./$testname" "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh old mode 100644 new mode 100755 index 30f6cdfd66..76820a0e9a --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -QDISC=prio -source sch_red_ets.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +QDISC=prio +source sch_red_ets.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_ets.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_ets.sh old mode 100644 new mode 100755 index dfac440b9c..ecc3664376 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_ets.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_ets.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -sch_tbf_pre_hook() -{ - bail_on_lldpad "configure DCB" "configure Qdiscs" -} - -lib_dir=$(dirname $0)/../../../net/forwarding -TCFLAGS=skip_sw -source $lib_dir/sch_tbf_ets.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +sch_tbf_pre_hook() +{ + bail_on_lldpad "configure DCB" "configure Qdiscs" +} + +lib_dir=$(dirname $0)/../../../net/forwarding +TCFLAGS=skip_sw +source $lib_dir/sch_tbf_ets.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_prio.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_prio.sh old mode 100644 new mode 100755 index 1959547ca8..2e0a4efb17 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_prio.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_prio.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -sch_tbf_pre_hook() -{ - bail_on_lldpad "configure DCB" "configure Qdiscs" -} - -lib_dir=$(dirname $0)/../../../net/forwarding -TCFLAGS=skip_sw -source $lib_dir/sch_tbf_prio.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +sch_tbf_pre_hook() +{ + bail_on_lldpad "configure DCB" "configure Qdiscs" +} + +lib_dir=$(dirname $0)/../../../net/forwarding +TCFLAGS=skip_sw +source $lib_dir/sch_tbf_prio.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_root.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_root.sh old mode 100644 new mode 100755 index 2e6a831cb8..6679a338df --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_root.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/sch_tbf_root.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -sch_tbf_pre_hook() -{ - bail_on_lldpad "configure DCB" "configure Qdiscs" -} - -lib_dir=$(dirname $0)/../../../net/forwarding -TCFLAGS=skip_sw -source $lib_dir/sch_tbf_root.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +sch_tbf_pre_hook() +{ + bail_on_lldpad "configure DCB" "configure Qdiscs" +} + +lib_dir=$(dirname $0)/../../../net/forwarding +TCFLAGS=skip_sw +source $lib_dir/sch_tbf_root.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/mirror_gre_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/mirror_gre_scale.sh index 2fdbc7de5d..f7c168decd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/mirror_gre_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/mirror_gre_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../mirror_gre_scale.sh - -mirror_gre_get_target() -{ - local should_fail=$1; shift - local target - - target=$(devlink_resource_size_get span_agents) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../mirror_gre_scale.sh + +mirror_gre_get_target() +{ + local should_fail=$1; shift + local target + + target=$(devlink_resource_size_get span_agents) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/port_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/port_scale.sh index c319a69026..0b71dfbbb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/port_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/port_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../port_scale.sh - -port_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get physical_ports) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../port_scale.sh + +port_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get physical_ports) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_mac_profile_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_mac_profile_scale.sh index b4edf89934..303d7cbe3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_mac_profile_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_mac_profile_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../rif_mac_profile_scale.sh - -rif_mac_profile_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get rif_mac_profiles) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../rif_mac_profile_scale.sh + +rif_mac_profile_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get rif_mac_profiles) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/router_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/router_scale.sh index 2de961dcd7..1897e163e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/router_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/router_scale.sh @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../router_scale.sh - -router_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get kvd) - - if [[ $should_fail -eq 0 ]]; then - target=$((target * 85 / 100)) - else - target=$((target + 1)) - fi - - echo $target -} +# SPDX-License-Identifier: GPL-2.0 +source ../router_scale.sh + +router_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get kvd) + + if [[ $should_fail -eq 0 ]]; then + target=$((target * 85 / 100)) + else + target=$((target + 1)) + fi + + echo $target +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_police_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_police_scale.sh index 05b9b58ff4..e79ac0dad1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_police_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_police_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../tc_police_scale.sh - -tc_police_get_target() -{ - local should_fail=$1; shift - local target - - target=$(devlink_resource_size_get global_policers single_rate_policers) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../tc_police_scale.sh + +tc_police_get_target() +{ + local should_fail=$1; shift + local target + + target=$(devlink_resource_size_get global_policers single_rate_policers) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/mirror_gre_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/mirror_gre_scale.sh index 2fdbc7de5d..f7c168decd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/mirror_gre_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/mirror_gre_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../mirror_gre_scale.sh - -mirror_gre_get_target() -{ - local should_fail=$1; shift - local target - - target=$(devlink_resource_size_get span_agents) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../mirror_gre_scale.sh + +mirror_gre_get_target() +{ + local should_fail=$1; shift + local target + + target=$(devlink_resource_size_get span_agents) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_range_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_range_scale.sh index 779fa3d20d..d0847e8ea2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_range_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_range_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../port_range_scale.sh - -port_range_get_target() -{ - local should_fail=$1; shift - local target - - target=$(devlink_resource_size_get port_range_registers) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../port_range_scale.sh + +port_range_get_target() +{ + local should_fail=$1; shift + local target + + target=$(devlink_resource_size_get port_range_registers) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_scale.sh index c319a69026..0b71dfbbb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/port_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../port_scale.sh - -port_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get physical_ports) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../port_scale.sh + +port_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get physical_ports) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/rif_mac_profile_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/rif_mac_profile_scale.sh index b4edf89934..303d7cbe3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/rif_mac_profile_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/rif_mac_profile_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../rif_mac_profile_scale.sh - -rif_mac_profile_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get rif_mac_profiles) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../rif_mac_profile_scale.sh + +rif_mac_profile_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get rif_mac_profiles) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/router_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/router_scale.sh index ffa81cb3f1..21c4697d5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/router_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/router_scale.sh @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../router_scale.sh - -router_get_target() -{ - local should_fail=$1 - local target - - target=$(devlink_resource_size_get kvd hash_single) - - if [[ $should_fail -eq 0 ]]; then - target=$((target * 85 / 100)) - else - target=$((target + 1)) - fi - - echo $target -} +# SPDX-License-Identifier: GPL-2.0 +source ../router_scale.sh + +router_get_target() +{ + local should_fail=$1 + local target + + target=$(devlink_resource_size_get kvd hash_single) + + if [[ $should_fail -eq 0 ]]; then + target=$((target * 85 / 100)) + else + target=$((target + 1)) + fi + + echo $target +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/tc_police_scale.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/tc_police_scale.sh index 05b9b58ff4..e79ac0dad1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/tc_police_scale.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/tc_police_scale.sh @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -source ../tc_police_scale.sh - -tc_police_get_target() -{ - local should_fail=$1; shift - local target - - target=$(devlink_resource_size_get global_policers single_rate_policers) - - if ((! should_fail)); then - echo $target - else - echo $((target + 1)) - fi -} +# SPDX-License-Identifier: GPL-2.0 +source ../tc_police_scale.sh + +tc_police_get_target() +{ + local should_fail=$1; shift + local target + + target=$(devlink_resource_size_get global_policers single_rate_policers) + + if ((! should_fail)); then + echo $target + else + echo $((target + 1)) + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh old mode 100644 new mode 100755 index 8a6828ba0c..66c87aab86 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh @@ -1,12 +1,12 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# A wrapper to run VXLAN test for IPv6. - -LOCAL_IP=2001:db8:1::1 -REMOTE_IP_1=2001:db8:2::1 -REMOTE_IP_2=2001:db8:3::1 -UDPCSUM_FLAFS="udp6zerocsumrx udp6zerocsumtx" -MC_IP=FF02::2 - -source vxlan_fdb_veto.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# A wrapper to run VXLAN test for IPv6. + +LOCAL_IP=2001:db8:1::1 +REMOTE_IP_1=2001:db8:2::1 +REMOTE_IP_2=2001:db8:3::1 +UDPCSUM_FLAFS="udp6zerocsumrx udp6zerocsumtx" +MC_IP=FF02::2 + +source vxlan_fdb_veto.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/Makefile index 2b2e8c1180..5bace0b7fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0+ OR MIT - -TEST_PROGS = devlink.sh \ - devlink_in_netns.sh \ - devlink_trap.sh \ - ethtool-coalesce.sh \ - ethtool-fec.sh \ - ethtool-pause.sh \ - ethtool-ring.sh \ - fib.sh \ - hw_stats_l3.sh \ - nexthop.sh \ - peer.sh \ - psample.sh \ - tc-mq-visibility.sh \ - udp_tunnel_nic.sh \ - -include ../../../lib.mk +# SPDX-License-Identifier: GPL-2.0+ OR MIT + +TEST_PROGS = devlink.sh \ + devlink_in_netns.sh \ + devlink_trap.sh \ + ethtool-coalesce.sh \ + ethtool-fec.sh \ + ethtool-pause.sh \ + ethtool-ring.sh \ + fib.sh \ + hw_stats_l3.sh \ + nexthop.sh \ + peer.sh \ + psample.sh \ + tc-mq-visibility.sh \ + udp_tunnel_nic.sh \ + +include ../../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/config index 5d898e1f09..adf45a3a78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/config @@ -1,10 +1,10 @@ -CONFIG_DUMMY=y -CONFIG_GENEVE=m -CONFIG_IPV6=y -CONFIG_NETDEVSIM=m -CONFIG_NET_SCH_MQPRIO=y -CONFIG_NET_SCH_MULTIQ=y -CONFIG_NET_SCH_PRIO=y -CONFIG_PSAMPLE=y -CONFIG_PTP_1588_CLOCK_MOCK=y -CONFIG_VXLAN=m +CONFIG_DUMMY=y +CONFIG_GENEVE=m +CONFIG_IPV6=y +CONFIG_NETDEVSIM=m +CONFIG_NET_SCH_MQPRIO=y +CONFIG_NET_SCH_MULTIQ=y +CONFIG_NET_SCH_PRIO=y +CONFIG_PSAMPLE=y +CONFIG_PTP_1588_CLOCK_MOCK=y +CONFIG_VXLAN=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/Makefile index dda817cbb1..2d5a76d991 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for net selftests - -TEST_PROGS := dev_addr_lists.sh - -TEST_INCLUDES := \ - ../bonding/lag_lib.sh \ - ../../../net/forwarding/lib.sh \ - ../../../net/lib.sh - -include ../../../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for net selftests + +TEST_PROGS := dev_addr_lists.sh + +TEST_INCLUDES := \ + ../bonding/lag_lib.sh \ + ../../../net/forwarding/lib.sh \ + ../../../net/lib.sh + +include ../../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/config index d5152ced65..b5e3a3aad4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/config @@ -1,5 +1,5 @@ -CONFIG_DUMMY=y -CONFIG_IPV6=y -CONFIG_MACVLAN=y -CONFIG_NET_TEAM=y -CONFIG_NET_TEAM_MODE_LOADBALANCE=y +CONFIG_DUMMY=y +CONFIG_IPV6=y +CONFIG_MACVLAN=y +CONFIG_NET_TEAM=y +CONFIG_NET_TEAM_MODE_LOADBALANCE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/Makefile index 8b77adc5ea..7ec7cd3ab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0+ OR MIT - -TEST_PROGS = basic_features.sh \ - # - -TEST_FILES = \ - virtio_net_common.sh \ - # - -TEST_INCLUDES = \ - ../../../net/forwarding/lib.sh \ - ../../../net/lib.sh \ - # - -include ../../../lib.mk +# SPDX-License-Identifier: GPL-2.0+ OR MIT + +TEST_PROGS = basic_features.sh \ + # + +TEST_FILES = \ + virtio_net_common.sh \ + # + +TEST_INCLUDES = \ + ../../../net/forwarding/lib.sh \ + ../../../net/lib.sh \ + # + +include ../../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/config index af338ab2c8..bcf7555eaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/virtio_net/config @@ -1,8 +1,8 @@ -CONFIG_BPF_SYSCALL=y -CONFIG_CGROUP_BPF=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_NET_L3_MASTER_DEV=y -CONFIG_NET_VRF=m -CONFIG_VIRTIO_DEBUG=y -CONFIG_VIRTIO_NET=y +CONFIG_BPF_SYSCALL=y +CONFIG_CGROUP_BPF=y +CONFIG_IPV6=y +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_NET_L3_MASTER_DEV=y +CONFIG_NET_VRF=m +CONFIG_VIRTIO_DEBUG=y +CONFIG_VIRTIO_NET=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/platform/x86/intel/ifs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/platform/x86/intel/ifs/Makefile index 8a82653dad..03d0449d30 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/platform/x86/intel/ifs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/platform/x86/intel/ifs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for ifs(In Field Scan) selftests - -TEST_PROGS := test_ifs.sh - -include ../../../../../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for ifs(In Field Scan) selftests + +TEST_PROGS := test_ifs.sh + +include ../../../../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/efivarfs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/efivarfs/Makefile index e8dfeaf4f6..e3181338ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/efivarfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/efivarfs/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS = -Wall - -TEST_GEN_FILES := open-unlink create-read -TEST_PROGS := efivarfs.sh - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS = -Wall + +TEST_GEN_FILES := open-unlink create-read +TEST_PROGS := efivarfs.sh + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/exec/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/exec/.gitignore index 02372c0173..a0dc5d4bf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/exec/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/exec/.gitignore @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0-only -subdir* -script* -execveat -execveat.symlink -execveat.moved -execveat.path.ephemeral -execveat.ephemeral -execveat.denatured -non-regular -null-argv -/load_address.* -!load_address.c -/recursion-depth -xxxxxxxx* -pipe -S_I*.test +# SPDX-License-Identifier: GPL-2.0-only +subdir* +script* +execveat +execveat.symlink +execveat.moved +execveat.path.ephemeral +execveat.ephemeral +execveat.denatured +non-regular +null-argv +/load_address.* +!load_address.c +/recursion-depth +xxxxxxxx* +pipe +S_I*.test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filelock/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filelock/Makefile index ff6d615170..478e82f8b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filelock/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filelock/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_GEN_PROGS := ofdlocks - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_GEN_PROGS := ofdlocks + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/Makefile index 9a1678cdb1..c647fd6a04 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -CFLAGS += $(KHDR_INCLUDES) -TEST_GEN_PROGS := devpts_pts -TEST_GEN_PROGS_EXTENDED := dnotify_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS += $(KHDR_INCLUDES) +TEST_GEN_PROGS := devpts_pts +TEST_GEN_PROGS_EXTENDED := dnotify_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/binderfs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/binderfs/Makefile index 87b6751695..eb4c3b4119 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/binderfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/binderfs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 - -CFLAGS += $(KHDR_INCLUDES) -pthread -TEST_GEN_PROGS := binderfs_test - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS += $(KHDR_INCLUDES) -pthread +TEST_GEN_PROGS := binderfs_test + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/epoll/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/epoll/Makefile index f939c65cc0..0788a7dc80 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/epoll/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/epoll/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -CFLAGS += $(KHDR_INCLUDES) -LDLIBS += -lpthread -TEST_GEN_PROGS := epoll_wakeup_test - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS += $(KHDR_INCLUDES) +LDLIBS += -lpthread +TEST_GEN_PROGS := epoll_wakeup_test + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/eventfd/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/eventfd/Makefile index d61b0f8031..0a8e3910df 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/eventfd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/eventfd/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -CFLAGS += $(KHDR_INCLUDES) -LDLIBS += -lpthread -TEST_GEN_PROGS := eventfd_test - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS += $(KHDR_INCLUDES) +LDLIBS += -lpthread +TEST_GEN_PROGS := eventfd_test + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/fat/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/fat/Makefile index a6119df747..902033f6ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/fat/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/fat/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_PROGS := run_fat_tests.sh -TEST_GEN_PROGS_EXTENDED := rename_exchange -CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_PROGS := run_fat_tests.sh +TEST_GEN_PROGS_EXTENDED := rename_exchange +CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/overlayfs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/overlayfs/Makefile index f51bb5f32f..56b2b48a76 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/overlayfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/overlayfs/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_GEN_PROGS := dev_in_maps - -CFLAGS := -Wall -Werror - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_GEN_PROGS := dev_in_maps + +CFLAGS := -Wall -Werror + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/statmount/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/statmount/Makefile index 4cc415c335..3af3136e35 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/statmount/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/filesystems/statmount/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - -CFLAGS += -Wall -O2 -g $(KHDR_INCLUDES) -TEST_GEN_PROGS := statmount_test statmount_test_ns - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0-or-later + +CFLAGS += -Wall -O2 -g $(KHDR_INCLUDES) +TEST_GEN_PROGS := statmount_test statmount_test_ns + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/Makefile index 90e2a9cd17..7992969dea 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for firmware loading selftests -CFLAGS = -Wall \ - -O2 - -TEST_PROGS := fw_run_tests.sh -TEST_FILES := fw_fallback.sh fw_filesystem.sh fw_upload.sh fw_lib.sh -TEST_GEN_FILES := fw_namespace - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for firmware loading selftests +CFLAGS = -Wall \ + -O2 + +TEST_PROGS := fw_run_tests.sh +TEST_FILES := fw_fallback.sh fw_filesystem.sh fw_upload.sh fw_lib.sh +TEST_GEN_FILES := fw_namespace + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/config index 21ab92222f..6e402519b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/firmware/config @@ -1,6 +1,6 @@ -CONFIG_TEST_FIRMWARE=y -CONFIG_FW_LOADER=y -CONFIG_FW_LOADER_USER_HELPER=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_FW_UPLOAD=y +CONFIG_TEST_FIRMWARE=y +CONFIG_FW_LOADER=y +CONFIG_FW_LOADER_USER_HELPER=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_FW_UPLOAD=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/fpu/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/fpu/Makefile index b361a075e6..ea62c176ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/fpu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/fpu/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0+ - -LDLIBS := -lm - -TEST_GEN_PROGS := test_fpu - -TEST_PROGS := run_test_fpu.sh - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0+ + +LDLIBS := -lm + +TEST_GEN_PROGS := test_fpu + +TEST_PROGS := run_test_fpu.sh + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/Makefile index ca6caa5be8..a1e955d2de 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -TEST_PROGS_EXTENDED := ftracetest -TEST_PROGS := ftracetest-ktap -TEST_FILES := test.d settings -EXTRA_CLEAN := $(OUTPUT)/logs/* - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +all: + +TEST_PROGS_EXTENDED := ftracetest +TEST_PROGS := ftracetest-ktap +TEST_FILES := test.d settings +EXTRA_CLEAN := $(OUTPUT)/logs/* + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/ftracetest-ktap b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/ftracetest-ktap old mode 100644 new mode 100755 index 8b2b56c124..14e62ef3f3 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/ftracetest-ktap +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/ftracetest-ktap @@ -1,8 +1,8 @@ -#!/bin/sh -e -# SPDX-License-Identifier: GPL-2.0-only -# -# ftracetest-ktap: Wrapper to integrate ftracetest with the kselftest runner -# -# Copyright (C) Arm Ltd., 2023 - -./ftracetest -K -v +#!/bin/sh -e +# SPDX-License-Identifier: GPL-2.0-only +# +# ftracetest-ktap: Wrapper to integrate ftracetest with the kselftest runner +# +# Copyright (C) Arm Ltd., 2023 + +./ftracetest -K -v diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/fail.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/fail.tc index 29fff181c1..15e35b956e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/fail.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/fail.tc @@ -1,4 +1,4 @@ -#!/bin/sh -# description: failure-case example -cat non-exist-file -echo "this is not executed" +#!/bin/sh +# description: failure-case example +cat non-exist-file +echo "this is not executed" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/unresolved.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/unresolved.tc index bbe9a11a18..41e99d3358 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/unresolved.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/unresolved.tc @@ -1,4 +1,4 @@ -#!/bin/sh -# description: unresolved-case example -trap exit_unresolved INT -kill -INT $PID +#!/bin/sh +# description: unresolved-case example +trap exit_unresolved INT +kill -INT $PID diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/xfail.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/xfail.tc index ce1805d05c..9dd3953232 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/xfail.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/samples/xfail.tc @@ -1,3 +1,3 @@ -#!/bin/sh -# description: xfail-case example -cat non-exist-file || exit_xfail +#!/bin/sh +# description: xfail-case example +cat non-exist-file || exit_xfail diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic1.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic1.tc index d841548b41..9980ff14ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic1.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic1.tc @@ -1,3 +1,3 @@ -#!/bin/sh -# description: Basic trace file check -test -f README -a -f trace -a -f tracing_on -a -f trace_pipe +#!/bin/sh +# description: Basic trace file check +test -f README -a -f trace -a -f tracing_on -a -f trace_pipe diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc index b679a0773f..531e472362 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc @@ -1,9 +1,9 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: Basic test for tracers -# flags: instance -test -f available_tracers -for t in `cat available_tracers`; do - echo $t > current_tracer -done -echo nop > current_tracer +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Basic test for tracers +# flags: instance +test -f available_tracers +for t in `cat available_tracers`; do + echo $t > current_tracer +done +echo nop > current_tracer diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc index 1dbd596345..58a2506f78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc @@ -1,10 +1,10 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: Basic trace clock test -# flags: instance -test -f trace_clock -for c in `cat trace_clock | tr -d \[\]`; do - echo $c > trace_clock - grep '\['$c'\]' trace_clock -done -echo local > trace_clock +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Basic trace clock test +# flags: instance +test -f trace_clock +for c in `cat trace_clock | tr -d \[\]`; do + echo $c > trace_clock + grep '\['$c'\]' trace_clock +done +echo local > trace_clock diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc index 12ce91b40d..0696098d64 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc @@ -1,5 +1,5 @@ -#!/bin/sh -# description: Basic event tracing check -test -f available_events -a -f set_event -a -d events -# check scheduler events are available -grep -q sched available_events && exit_pass || exit_fail +#!/bin/sh +# description: Basic event tracing check +test -f available_events -a -f set_event -a -d events +# check scheduler events are available +grep -q sched available_events && exit_pass || exit_fail diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-stacktrace.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-stacktrace.tc index 6a1b87db07..191d116b78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-stacktrace.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-stacktrace.tc @@ -1,13 +1,13 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: ftrace - stacktrace filter command -# requires: set_ftrace_filter -# flags: instance - -echo $FUNCTION_FORK:stacktrace >> set_ftrace_filter - -grep -q "$FUNCTION_FORK:stacktrace:unlimited" set_ftrace_filter - -(echo "forked"; sleep 1) - -grep -q "" trace +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: ftrace - stacktrace filter command +# requires: set_ftrace_filter +# flags: instance + +echo $FUNCTION_FORK:stacktrace >> set_ftrace_filter + +grep -q "$FUNCTION_FORK:stacktrace:unlimited" set_ftrace_filter + +(echo "forked"; sleep 1) + +grep -q "" trace diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc index bd1e30c1c0..2428a3ed78 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc @@ -1,9 +1,9 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: Kprobe dynamic event - adding and removing -# requires: kprobe_events - -echo p:myevent $FUNCTION_FORK > kprobe_events -grep myevent kprobe_events -test -d events/kprobes/myevent -echo > kprobe_events +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Kprobe dynamic event - adding and removing +# requires: kprobe_events + +echo p:myevent $FUNCTION_FORK > kprobe_events +grep myevent kprobe_events +test -d events/kprobes/myevent +echo > kprobe_events diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup.tc index 1491256380..e8f0fac9a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup.tc @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: Test wakeup tracer -# requires: wakeup:tracer chrt:program - -echo wakeup > current_tracer -echo 1 > tracing_on -echo 0 > tracing_max_latency - -: "Wakeup higher priority task" -chrt -f 5 sleep 1 - -echo 0 > tracing_on -grep '+ \[[[:digit:]]*\]' trace -grep '==> \[[[:digit:]]*\]' trace - +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Test wakeup tracer +# requires: wakeup:tracer chrt:program + +echo wakeup > current_tracer +echo 1 > tracing_on +echo 0 > tracing_max_latency + +: "Wakeup higher priority task" +chrt -f 5 sleep 1 + +echo 0 > tracing_on +grep '+ \[[[:digit:]]*\]' trace +grep '==> \[[[:digit:]]*\]' trace + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup_rt.tc b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup_rt.tc index 9baf5b95f8..7980765678 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup_rt.tc +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ftrace/test.d/tracer/wakeup_rt.tc @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# description: Test wakeup RT tracer -# requires: wakeup_rt:tracer chrt:program - -echo wakeup_rt > current_tracer -echo 1 > tracing_on -echo 0 > tracing_max_latency - -: "Wakeup a realtime task" -chrt -f 5 sleep 1 - -echo 0 > tracing_on -grep "+ \[[[:digit:]]*\]" trace -grep "==> \[[[:digit:]]*\]" trace - +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Test wakeup RT tracer +# requires: wakeup_rt:tracer chrt:program + +echo wakeup_rt > current_tracer +echo 1 > tracing_on +echo 0 > tracing_max_latency + +: "Wakeup a realtime task" +chrt -f 5 sleep 1 + +echo 0 > tracing_on +grep "+ \[[[:digit:]]*\]" trace +grep "==> \[[[:digit:]]*\]" trace + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/futex/functional/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/futex/functional/.gitignore index c390069784..fbcbdb6963 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/futex/functional/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/futex/functional/.gitignore @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -futex_requeue_pi -futex_requeue_pi_mismatched_ops -futex_requeue_pi_signal_restart -futex_wait_private_mapped_file -futex_wait_timeout -futex_wait_uninitialized_heap -futex_wait_wouldblock -futex_wait -futex_requeue -futex_waitv +# SPDX-License-Identifier: GPL-2.0-only +futex_requeue_pi +futex_requeue_pi_mismatched_ops +futex_requeue_pi_signal_restart +futex_wait_private_mapped_file +futex_wait_timeout +futex_wait_uninitialized_heap +futex_wait_wouldblock +futex_wait +futex_requeue +futex_waitv diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/.gitignore index f59cc8b40b..ededb077a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -gpio-mockup-cdev -gpio-chip-info -gpio-line-name +# SPDX-License-Identifier: GPL-2.0-only +gpio-mockup-cdev +gpio-chip-info +gpio-line-name diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/Makefile index 9455b9f56b..e088439044 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_PROGS := gpio-mockup.sh gpio-sim.sh -TEST_FILES := gpio-mockup-sysfs.sh -TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name -CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_PROGS := gpio-mockup.sh gpio-sim.sh +TEST_FILES := gpio-mockup-sysfs.sh +TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name +CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/config index 4008ba0340..409a8532fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/config @@ -1,4 +1,4 @@ -CONFIG_GPIOLIB=y -CONFIG_GPIO_CDEV=y -CONFIG_GPIO_MOCKUP=m -CONFIG_GPIO_SIM=m +CONFIG_GPIOLIB=y +CONFIG_GPIO_CDEV=y +CONFIG_GPIO_MOCKUP=m +CONFIG_GPIO_SIM=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/config.x86_64 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/config.x86_64 index 2e42920f52..a8721f403c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/config.x86_64 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/config.x86_64 @@ -1,4 +1,4 @@ -CONFIG_X86_ACPI_CPUFREQ=y -CONFIG_X86_CPUID=y -CONFIG_X86_MSR=y -CONFIG_X86_POWERNOW_K8=y +CONFIG_X86_ACPI_CPUFREQ=y +CONFIG_X86_CPUID=y +CONFIG_X86_MSR=y +CONFIG_X86_POWERNOW_K8=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-apple.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-apple.sh old mode 100644 new mode 100755 index f9f9fedf11..656f2d5ae5 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-apple.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-apple.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_apple_keyboard.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_apple_keyboard.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-core.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-core.sh old mode 100644 new mode 100755 index 872397675f..5bbabc12c3 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-core.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-core.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_hid_core.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_hid_core.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-gamepad.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-gamepad.sh old mode 100644 new mode 100755 index 2287443b7c..1ba00c0ca9 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-gamepad.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-gamepad.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_gamepad.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_gamepad.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-ite.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-ite.sh old mode 100644 new mode 100755 index 9a9de3f3d6..52c5ccf422 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-ite.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-ite.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_ite_keyboard.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_ite_keyboard.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-keyboard.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-keyboard.sh old mode 100644 new mode 100755 index 0d93a36344..55368f17d1 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-keyboard.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-keyboard.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_keyboard.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_keyboard.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-mouse.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-mouse.sh old mode 100644 new mode 100755 index 59ed54eacf..7b4ad4f646 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-mouse.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-mouse.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_mouse.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_mouse.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-multitouch.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-multitouch.sh old mode 100644 new mode 100755 index 2d41f6ba74..d03a1ddbfb --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-multitouch.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-multitouch.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_multitouch.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_multitouch.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-sony.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-sony.sh old mode 100644 new mode 100755 index a8f5e31c13..c863c44268 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-sony.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-sony.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_sony.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_sony.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-tablet.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-tablet.sh old mode 100644 new mode 100755 index b449ac0537..e86b3fedaf --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-tablet.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-tablet.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_tablet.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_tablet.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-usb_crash.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-usb_crash.sh old mode 100644 new mode 100755 index f953ef5996..3f0debe7e8 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-usb_crash.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-usb_crash.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_usb_crash.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_usb_crash.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-wacom.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-wacom.sh old mode 100644 new mode 100755 index 75c38897fc..1630c22726 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-wacom.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/hid-wacom.sh @@ -1,7 +1,7 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs tests for the HID subsystem - -export TARGET=test_wacom_generic.py - -bash ./run-hid-tools-tests.sh +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_wacom_generic.py + +bash ./run-hid-tools-tests.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/settings b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/settings index 5507604d72..b3cbfc521b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/settings +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/settings @@ -1,3 +1,3 @@ -# HID tests can be long, so give a little bit more time -# to them -timeout=200 +# HID tests can be long, so give a little bit more time +# to them +timeout=200 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/tests/__init__.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/tests/__init__.py index bd5e0aff0d..c940e92752 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/tests/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/tests/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0 -# Just to make sphinx-apidoc document this directory +# SPDX-License-Identifier: GPL-2.0 +# Just to make sphinx-apidoc document this directory diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ia64/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ia64/Makefile index a670e9b2a2..4bce1a84b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ia64/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ia64/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := aliasing-test - -all: $(TEST_PROGS) - -include ../lib.mk - -clean: - rm -fr $(TEST_PROGS) +# SPDX-License-Identifier: GPL-2.0 +TEST_PROGS := aliasing-test + +all: $(TEST_PROGS) + +include ../lib.mk + +clean: + rm -fr $(TEST_PROGS) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/intel_pstate/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/intel_pstate/Makefile index be10dbda96..f45372cb00 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/intel_pstate/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/intel_pstate/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS := $(CFLAGS) -Wall -LDLIBS += -lm - -ARCH ?= $(shell uname -m 2>/dev/null || echo not) -ARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) - -ifeq (x86,$(ARCH_PROCESSED)) -TEST_GEN_FILES := msr aperf -endif - -TEST_PROGS := run.sh - -include ../lib.mk - -$(TEST_GEN_FILES): $(HEADERS) +# SPDX-License-Identifier: GPL-2.0 +CFLAGS := $(CFLAGS) -Wall +LDLIBS += -lm + +ARCH ?= $(shell uname -m 2>/dev/null || echo not) +ARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) + +ifeq (x86,$(ARCH_PROCESSED)) +TEST_GEN_FILES := msr aperf +endif + +TEST_PROGS := run.sh + +include ../lib.mk + +$(TEST_GEN_FILES): $(HEADERS) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/Makefile index 53b574f7a1..fd6477911f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -Wall -O2 -Wno-unused-function -CFLAGS += $(KHDR_INCLUDES) - -TEST_GEN_PROGS := -TEST_GEN_PROGS += iommufd -TEST_GEN_PROGS += iommufd_fail_nth - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -Wall -O2 -Wno-unused-function +CFLAGS += $(KHDR_INCLUDES) + +TEST_GEN_PROGS := +TEST_GEN_PROGS += iommufd +TEST_GEN_PROGS += iommufd_fail_nth + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/config index ca3d4e78ab..02a2a1b267 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/iommu/config @@ -1,5 +1,5 @@ -CONFIG_IOMMUFD=y -CONFIG_FAULT_INJECTION_DEBUG_FS=y -CONFIG_FAULT_INJECTION=y -CONFIG_IOMMUFD_TEST=y -CONFIG_FAILSLAB=y +CONFIG_IOMMUFD=y +CONFIG_FAULT_INJECTION_DEBUG_FS=y +CONFIG_FAULT_INJECTION=y +CONFIG_IOMMUFD_TEST=y +CONFIG_FAILSLAB=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ir/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ir/Makefile index 0f8461a450..ad06489c22 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ir/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ir/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := ir_loopback.sh -TEST_GEN_PROGS_EXTENDED := ir_loopback -APIDIR := ../../../include/uapi -CFLAGS += -Wall -O2 -I$(APIDIR) - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +TEST_PROGS := ir_loopback.sh +TEST_GEN_PROGS_EXTENDED := ir_loopback +APIDIR := ../../../include/uapi +CFLAGS += -Wall -O2 -I$(APIDIR) + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kcmp/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kcmp/Makefile index dbd9d7377c..59a1e53790 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kcmp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kcmp/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += $(KHDR_INCLUDES) - -TEST_GEN_PROGS := kcmp_test - -EXTRA_CLEAN := $(OUTPUT)/kcmp-test-file - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += $(KHDR_INCLUDES) + +TEST_GEN_PROGS := kcmp_test + +EXTRA_CLEAN := $(OUTPUT)/kcmp-test-file + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/Makefile index 61807e6da3..5b3e746a0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for kmod loading selftests - -# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" -all: - -TEST_PROGS := kmod.sh - -include ../lib.mk - -# Nothing to clean up. -clean: +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for kmod loading selftests + +# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" +all: + +TEST_PROGS := kmod.sh + +include ../lib.mk + +# Nothing to clean up. +clean: diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/config index 0ff2a7ccd1..259f4fd6b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kmod/config @@ -1,7 +1,7 @@ -CONFIG_TEST_KMOD=m -CONFIG_TEST_LKM=m -CONFIG_XFS_FS=m - -# For the module parameter force_init_test is used -CONFIG_TUN=m -CONFIG_BTRFS_FS=m +CONFIG_TEST_KMOD=m +CONFIG_TEST_LKM=m +CONFIG_XFS_FS=m + +# For the module parameter force_init_test is used +CONFIG_TUN=m +CONFIG_BTRFS_FS=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/.gitignore index 778f9a3bbc..7f57abf936 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/.gitignore @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -* -!/**/ -!*.c -!*.h -!*.S -!*.sh -!.gitignore -!config -!settings -!Makefile +# SPDX-License-Identifier: GPL-2.0-only +* +!/**/ +!*.c +!*.h +!*.S +!*.sh +!.gitignore +!config +!settings +!Makefile diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/config index 80a3bb769a..8835fed09e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/config @@ -1,5 +1,5 @@ -CONFIG_KVM=y -CONFIG_KVM_INTEL=y -CONFIG_KVM_AMD=y -CONFIG_USERFAULTFD=y -CONFIG_IDLE_PAGE_TRACKING=y +CONFIG_KVM=y +CONFIG_KVM_INTEL=y +CONFIG_KVM_AMD=y +CONFIG_USERFAULTFD=y +CONFIG_IDLE_PAGE_TRACKING=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h index e24da18785..e43a57d99b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SELFTEST_KVM_UTIL_ARCH_H -#define SELFTEST_KVM_UTIL_ARCH_H - -struct kvm_vm_arch {}; - -#endif // SELFTEST_KVM_UTIL_ARCH_H +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef SELFTEST_KVM_UTIL_ARCH_H +#define SELFTEST_KVM_UTIL_ARCH_H + +struct kvm_vm_arch {}; + +#endif // SELFTEST_KVM_UTIL_ARCH_H diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/spinlock.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/spinlock.h index c3a0bf9eab..cf0984106d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/aarch64/spinlock.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef SELFTEST_KVM_ARM64_SPINLOCK_H -#define SELFTEST_KVM_ARM64_SPINLOCK_H - -struct spinlock { - int v; -}; - -extern void spin_lock(struct spinlock *lock); -extern void spin_unlock(struct spinlock *lock); - -#endif /* SELFTEST_KVM_ARM64_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef SELFTEST_KVM_ARM64_SPINLOCK_H +#define SELFTEST_KVM_ARM64_SPINLOCK_H + +struct spinlock { + int v; +}; + +extern void spin_lock(struct spinlock *lock); +extern void spin_unlock(struct spinlock *lock); + +#endif /* SELFTEST_KVM_ARM64_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/riscv/kvm_util_arch.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/riscv/kvm_util_arch.h index e24da18785..e43a57d99b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/riscv/kvm_util_arch.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/riscv/kvm_util_arch.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SELFTEST_KVM_UTIL_ARCH_H -#define SELFTEST_KVM_UTIL_ARCH_H - -struct kvm_vm_arch {}; - -#endif // SELFTEST_KVM_UTIL_ARCH_H +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef SELFTEST_KVM_UTIL_ARCH_H +#define SELFTEST_KVM_UTIL_ARCH_H + +struct kvm_vm_arch {}; + +#endif // SELFTEST_KVM_UTIL_ARCH_H diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/diag318_test_handler.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/diag318_test_handler.h index 14ab524aaf..b0ed713027 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/diag318_test_handler.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/diag318_test_handler.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later - * - * Test handler for the s390x DIAGNOSE 0x0318 instruction. - * - * Copyright (C) 2020, IBM - */ - -#ifndef SELFTEST_KVM_DIAG318_TEST_HANDLER -#define SELFTEST_KVM_DIAG318_TEST_HANDLER - -uint64_t get_diag318_info(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later + * + * Test handler for the s390x DIAGNOSE 0x0318 instruction. + * + * Copyright (C) 2020, IBM + */ + +#ifndef SELFTEST_KVM_DIAG318_TEST_HANDLER +#define SELFTEST_KVM_DIAG318_TEST_HANDLER + +uint64_t get_diag318_info(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/kvm_util_arch.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/kvm_util_arch.h index e24da18785..e43a57d99b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/kvm_util_arch.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/s390x/kvm_util_arch.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SELFTEST_KVM_UTIL_ARCH_H -#define SELFTEST_KVM_UTIL_ARCH_H - -struct kvm_vm_arch {}; - -#endif // SELFTEST_KVM_UTIL_ARCH_H +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef SELFTEST_KVM_UTIL_ARCH_H +#define SELFTEST_KVM_UTIL_ARCH_H + +struct kvm_vm_arch {}; + +#endif // SELFTEST_KVM_UTIL_ARCH_H diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/x86_64/ucall.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/x86_64/ucall.h index dec3c8cdcc..d3825dcc3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/x86_64/ucall.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kvm/include/x86_64/ucall.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SELFTEST_KVM_UCALL_H -#define SELFTEST_KVM_UCALL_H - -#include "kvm_util.h" - -#define UCALL_EXIT_REASON KVM_EXIT_IO - -static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) -{ -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef SELFTEST_KVM_UCALL_H +#define SELFTEST_KVM_UCALL_H + +#include "kvm_util.h" + +#define UCALL_EXIT_REASON KVM_EXIT_IO + +static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) +{ +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/landlock/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/landlock/config index a267d3cf90..a8982da4ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/landlock/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/landlock/config @@ -1,17 +1,17 @@ -CONFIG_CGROUPS=y -CONFIG_CGROUP_SCHED=y -CONFIG_INET=y -CONFIG_IPV6=y -CONFIG_KEYS=y -CONFIG_MPTCP=y -CONFIG_MPTCP_IPV6=y -CONFIG_NET=y -CONFIG_NET_NS=y -CONFIG_OVERLAY_FS=y -CONFIG_PROC_FS=y -CONFIG_SECURITY=y -CONFIG_SECURITY_LANDLOCK=y -CONFIG_SHMEM=y -CONFIG_SYSFS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_XATTR=y +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_INET=y +CONFIG_IPV6=y +CONFIG_KEYS=y +CONFIG_MPTCP=y +CONFIG_MPTCP_IPV6=y +CONFIG_NET=y +CONFIG_NET_NS=y +CONFIG_OVERLAY_FS=y +CONFIG_PROC_FS=y +CONFIG_SECURITY=y +CONFIG_SECURITY_LANDLOCK=y +CONFIG_SHMEM=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_XATTR=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/Makefile index 5dffd02ed3..c52fe3ad8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for lib/ function selftests - -# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" -all: - -TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for lib/ function selftests + +# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" +all: + +TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/bitmap.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/bitmap.sh old mode 100644 new mode 100755 index 02bb8af451..00a416fbc0 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/bitmap.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/bitmap.sh @@ -1,3 +1,3 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -$(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +$(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/config index 1dc58d5860..dc15aba8d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/config @@ -1,5 +1,5 @@ -CONFIG_TEST_PRINTF=m -CONFIG_TEST_SCANF=m -CONFIG_TEST_BITMAP=m -CONFIG_PRIME_NUMBERS=m -CONFIG_TEST_BITOPS=m +CONFIG_TEST_PRINTF=m +CONFIG_TEST_SCANF=m +CONFIG_TEST_BITMAP=m +CONFIG_PRIME_NUMBERS=m +CONFIG_TEST_BITOPS=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/prime_numbers.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/prime_numbers.sh old mode 100644 new mode 100755 index ceef4c73b7..370b79a9cb --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/prime_numbers.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/prime_numbers.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Checks fast/slow prime_number generation for inconsistencies -$(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536 +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Checks fast/slow prime_number generation for inconsistencies +$(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/printf.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/printf.sh old mode 100644 new mode 100755 index c5ee704375..05f4544e87 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/printf.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/printf.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Tests the printf infrastructure using test_printf kernel module. -$(dirname $0)/../kselftest/module.sh "printf" test_printf +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Tests the printf infrastructure using test_printf kernel module. +$(dirname $0)/../kselftest/module.sh "printf" test_printf diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/scanf.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/scanf.sh old mode 100644 new mode 100755 index a04dca1adc..b59b8ba561 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/scanf.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lib/scanf.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Tests the scanf infrastructure using test_scanf kernel module. -$(dirname $0)/../kselftest/module.sh "scanf" test_scanf +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Tests the scanf infrastructure using test_scanf kernel module. +$(dirname $0)/../kselftest/module.sh "scanf" test_scanf diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/Makefile index 88bcf57956..35418a4790 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_GEN_FILES := test_klp-call_getpid -TEST_GEN_MODS_DIR := test_modules -TEST_PROGS_EXTENDED := functions.sh -TEST_PROGS := \ - test-livepatch.sh \ - test-callbacks.sh \ - test-shadow-vars.sh \ - test-state.sh \ - test-ftrace.sh \ - test-sysfs.sh \ - test-syscall.sh - -TEST_FILES := settings - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_GEN_FILES := test_klp-call_getpid +TEST_GEN_MODS_DIR := test_modules +TEST_PROGS_EXTENDED := functions.sh +TEST_PROGS := \ + test-livepatch.sh \ + test-callbacks.sh \ + test-shadow-vars.sh \ + test-state.sh \ + test-ftrace.sh \ + test-sysfs.sh \ + test-syscall.sh + +TEST_FILES := settings + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/test_modules/test_klp_state3.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/test_modules/test_klp_state3.c index 8194fe99ee..9226579d10 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/test_modules/test_klp_state3.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/test_modules/test_klp_state3.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2019 SUSE - -/* The console loglevel fix is the same in the next cumulative patch. */ -#include "test_klp_state2.c" +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2019 SUSE + +/* The console loglevel fix is the same in the next cumulative patch. */ +#include "test_klp_state2.c" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/locking/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/locking/Makefile index b0eb42769d..6e7761ab35 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/locking/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/locking/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for locking/ww_mutx selftests - -# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" -all: - -TEST_PROGS := ww_mutex.sh - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for locking/ww_mutx selftests + +# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" +all: + +TEST_PROGS := ww_mutex.sh + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/.gitignore index 002e2dcb4f..da438e780f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -media_device_test -media_device_open -video_device_test +# SPDX-License-Identifier: GPL-2.0-only +media_device_test +media_device_open +video_device_test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/Makefile index 1d2e0eed7a..471d83e61d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -# -CFLAGS += -I../ $(KHDR_INCLUDES) -TEST_GEN_PROGS := media_device_test media_device_open video_device_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# +CFLAGS += -I../ $(KHDR_INCLUDES) +TEST_GEN_PROGS := media_device_test media_device_open video_device_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/open_loop_test.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/open_loop_test.sh old mode 100644 new mode 100755 index ae92e79128..d4c0179bbe --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/open_loop_test.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/open_loop_test.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - i=0 -file=/dev/media$1 - while :; do - echo $file - i=$((i+1)) - R=$(./media_device_open -d $file); - # clear - echo -e "Loop $i\n$R" - done +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + i=0 +file=/dev/media$1 + while :; do + echo $file + i=$((i+1)) + R=$(./media_device_open -d $file); + # clear + echo -e "Loop $i\n$R" + done diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/.gitignore index 188602f91a..f2fbba1786 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -membarrier_test_multi_thread -membarrier_test_single_thread +# SPDX-License-Identifier: GPL-2.0-only +membarrier_test_multi_thread +membarrier_test_single_thread diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/Makefile index 3890dd0ee6..fc840e06ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/membarrier/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -g $(KHDR_INCLUDES) -LDLIBS += -lpthread - -TEST_GEN_PROGS := membarrier_test_single_thread \ - membarrier_test_multi_thread - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -g $(KHDR_INCLUDES) +LDLIBS += -lpthread + +TEST_GEN_PROGS := membarrier_test_single_thread \ + membarrier_test_multi_thread + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/.gitignore index 35035d2f38..dd9a051f60 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -fuse_mnt -fuse_test -memfd_test -memfd-test-file +# SPDX-License-Identifier: GPL-2.0-only +fuse_mnt +fuse_test +memfd_test +memfd-test-file diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/common.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/common.h index 8f56ae45d7..522d2c630b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/common.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/common.h @@ -1,9 +1,9 @@ -#ifndef COMMON_H_ -#define COMMON_H_ - -extern int hugetlbfs_test; - -unsigned long default_huge_page_size(void); -int sys_memfd_create(const char *name, unsigned int flags); - -#endif +#ifndef COMMON_H_ +#define COMMON_H_ + +extern int hugetlbfs_test; + +unsigned long default_huge_page_size(void); +int sys_memfd_create(const char *name, unsigned int flags); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/run_fuse_test.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/run_fuse_test.sh old mode 100644 new mode 100755 index 73e11a5ad1..22e572e2d6 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/run_fuse_test.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/run_fuse_test.sh @@ -1,15 +1,15 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -if test -d "./mnt" ; then - fusermount -u ./mnt - rmdir ./mnt -fi - -set -e - -mkdir mnt -./fuse_mnt ./mnt -./fuse_test ./mnt/memfd $@ -fusermount -u ./mnt -rmdir ./mnt +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +if test -d "./mnt" ; then + fusermount -u ./mnt + rmdir ./mnt +fi + +set -e + +mkdir mnt +./fuse_mnt ./mnt +./fuse_test ./mnt/memfd $@ +fusermount -u ./mnt +rmdir ./mnt diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/Makefile index 2198965f34..e0a625e34f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -include ../lib.mk - -TEST_PROGS := mem-on-off-test.sh - -run_full_test: - @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]" - -clean: +# SPDX-License-Identifier: GPL-2.0 +all: + +include ../lib.mk + +TEST_PROGS := mem-on-off-test.sh + +run_full_test: + @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]" + +clean: diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/config index d8b01d34d4..1eef042a31 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memory-hotplug/config @@ -1,4 +1,4 @@ -CONFIG_MEMORY_HOTPLUG=y -CONFIG_NOTIFIER_ERROR_INJECTION=y -CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m -CONFIG_MEMORY_HOTREMOVE=y +CONFIG_MEMORY_HOTPLUG=y +CONFIG_NOTIFIER_ERROR_INJECTION=y +CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m +CONFIG_MEMORY_HOTREMOVE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mincore/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mincore/Makefile index f0bd8c3885..38c7db1e89 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mincore/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mincore/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0+ - -CFLAGS += -Wall - -TEST_GEN_PROGS := mincore_selftest -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0+ + +CFLAGS += -Wall + +TEST_GEN_PROGS := mincore_selftest +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/config index 30a2a41188..4309916f62 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/config @@ -1,9 +1,9 @@ -CONFIG_SYSVIPC=y -CONFIG_USERFAULTFD=y -CONFIG_PTE_MARKER_UFFD_WP=y -CONFIG_TEST_VMALLOC=m -CONFIG_DEVICE_PRIVATE=y -CONFIG_TEST_HMM=m -CONFIG_GUP_TEST=y -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_MEM_SOFT_DIRTY=y +CONFIG_SYSVIPC=y +CONFIG_USERFAULTFD=y +CONFIG_PTE_MARKER_UFFD_WP=y +CONFIG_TEST_VMALLOC=m +CONFIG_DEVICE_PRIVATE=y +CONFIG_TEST_HMM=m +CONFIG_GUP_TEST=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_MEM_SOFT_DIRTY=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/.gitignore index 67a5ca987e..17f2d84151 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -unprivileged-remount-test -nosymfollow-test +# SPDX-License-Identifier: GPL-2.0-only +unprivileged-remount-test +nosymfollow-test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/Makefile index 73403863ac..2d94548416 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for mount selftests. -CFLAGS = -Wall \ - -O2 - -TEST_PROGS := run_unprivileged_remount.sh run_nosymfollow.sh -TEST_GEN_FILES := unprivileged-remount-test nosymfollow-test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for mount selftests. +CFLAGS = -Wall \ + -O2 + +TEST_PROGS := run_unprivileged_remount.sh run_nosymfollow.sh +TEST_GEN_FILES := unprivileged-remount-test nosymfollow-test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/run_unprivileged_remount.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/run_unprivileged_remount.sh old mode 100644 new mode 100755 index 3b88696d55..4ab8f507dc --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/run_unprivileged_remount.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount/run_unprivileged_remount.sh @@ -1,12 +1,12 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -# Kselftest framework requirement - SKIP code is 4. -ksft_skip=4 - -# Run mount selftests -if [ -f /proc/self/uid_map ] ; then - ./unprivileged-remount-test ; -else - echo "WARN: No /proc/self/uid_map exist, test skipped." ; - exit $ksft_skip -fi +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Kselftest framework requirement - SKIP code is 4. +ksft_skip=4 + +# Run mount selftests +if [ -f /proc/self/uid_map ] ; then + ./unprivileged-remount-test ; +else + echo "WARN: No /proc/self/uid_map exist, test skipped." ; + exit $ksft_skip +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount_setattr/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount_setattr/Makefile index 2ec4a79a86..0c0d7b1234 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount_setattr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mount_setattr/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for mount selftests. -CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread - -TEST_GEN_PROGS := mount_setattr_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for mount selftests. +CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread + +TEST_GEN_PROGS := mount_setattr_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/move_mount_set_group/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/move_mount_set_group/Makefile index 2510d7e52e..94235846b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/move_mount_set_group/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/move_mount_set_group/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for mount selftests. -CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 - -TEST_GEN_FILES += move_mount_set_group_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for mount selftests. +CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 + +TEST_GEN_FILES += move_mount_set_group_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mqueue/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mqueue/Makefile index adfd63a948..8a58055fc1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mqueue/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mqueue/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -O2 -LDLIBS = -lrt -lpthread -lpopt - -TEST_GEN_PROGS := mq_open_tests mq_perf_tests - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -O2 +LDLIBS = -lrt -lpthread -lpopt + +TEST_GEN_PROGS := mq_open_tests mq_perf_tests + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nci/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nci/Makefile index d360101df0..47669a1d6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nci/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall -LDFLAGS += -lpthread - -TEST_GEN_PROGS := nci_dev -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall +LDFLAGS += -lpthread + +TEST_GEN_PROGS := nci_dev +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/af_unix/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/af_unix/Makefile index bf12965862..5058447954 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/af_unix/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/af_unix/Makefile @@ -1,4 +1,4 @@ -CFLAGS += $(KHDR_INCLUDES) -TEST_GEN_PROGS := diag_uid msg_oob scm_pidfd scm_rights unix_connect - -include ../../lib.mk +CFLAGS += $(KHDR_INCLUDES) +TEST_GEN_PROGS := diag_uid msg_oob scm_pidfd scm_rights unix_connect + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_ets.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_ets.sh old mode 100644 new mode 100755 index df9fe253a9..84fb6cab88 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_ets.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_ets.sh @@ -1,6 +1,6 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -QDISC="ets strict" -: ${lib_dir:=.} -source $lib_dir/sch_tbf_etsprio.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +QDISC="ets strict" +: ${lib_dir:=.} +source $lib_dir/sch_tbf_etsprio.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_prio.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_prio.sh old mode 100644 new mode 100755 index 0ee8744a15..9c8cb1cb9b --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_prio.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_prio.sh @@ -1,6 +1,6 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -QDISC="prio bands" -: ${lib_dir:=.} -source $lib_dir/sch_tbf_etsprio.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +QDISC="prio bands" +: ${lib_dir:=.} +source $lib_dir/sch_tbf_etsprio.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472.sh old mode 100644 new mode 100755 index 8ad965a9c1..3bf3da6919 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472.sh @@ -1,10 +1,10 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# A wrapper to run VXLAN tests with an unusual port number. - -VXPORT=8472 -ALL_TESTS=" - ping_ipv4 -" -source vxlan_bridge_1d.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# A wrapper to run VXLAN tests with an unusual port number. + +VXPORT=8472 +ALL_TESTS=" + ping_ipv4 +" +source vxlan_bridge_1d.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472_ipv6.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472_ipv6.sh old mode 100644 new mode 100755 index d9aae73590..0054031773 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472_ipv6.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472_ipv6.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# A wrapper to run VXLAN tests with an unusual port number. - -VXPORT=8472 -ALL_TESTS=" - ping_ipv4 - ping_ipv6 -" -source vxlan_bridge_1d_ipv6.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# A wrapper to run VXLAN tests with an unusual port number. + +VXPORT=8472 +ALL_TESTS=" + ping_ipv4 + ping_ipv6 +" +source vxlan_bridge_1d_ipv6.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh old mode 100644 new mode 100755 index 66c13d3adf..b1b2d1a316 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh @@ -1,10 +1,10 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# A wrapper to run VXLAN tests with an unusual port number. - -VXPORT=8472 -ALL_TESTS=" - ping_ipv4 -" -source vxlan_bridge_1q.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# A wrapper to run VXLAN tests with an unusual port number. + +VXPORT=8472 +ALL_TESTS=" + ping_ipv4 +" +source vxlan_bridge_1q.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472_ipv6.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472_ipv6.sh old mode 100644 new mode 100755 index 9b1aab08a0..344f43ccb7 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472_ipv6.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472_ipv6.sh @@ -1,11 +1,11 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -# A wrapper to run VXLAN tests with an unusual port number. - -VXPORT=8472 -ALL_TESTS=" - ping_ipv4 - ping_ipv6 -" -source vxlan_bridge_1q_ipv6.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# A wrapper to run VXLAN tests with an unusual port number. + +VXPORT=8472 +ALL_TESTS=" + ping_ipv4 + ping_ipv6 +" +source vxlan_bridge_1q_ipv6.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/Makefile index 959eb74631..884cd2cc06 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 - -top_srcdir = ../../../../.. - -TEST_PROGS := hsr_ping.sh hsr_redbox.sh -TEST_FILES += hsr_common.sh - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +top_srcdir = ../../../../.. + +TEST_PROGS := hsr_ping.sh hsr_redbox.sh +TEST_FILES += hsr_common.sh + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/config index 846b53cec9..241542441c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/hsr/config @@ -1,5 +1,5 @@ -CONFIG_IPV6=y -CONFIG_NET_SCH_NETEM=m -CONFIG_HSR=y -CONFIG_VETH=y -CONFIG_BRIDGE=y +CONFIG_IPV6=y +CONFIG_NET_SCH_NETEM=m +CONFIG_HSR=y +CONFIG_VETH=y +CONFIG_BRIDGE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/in_netns.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/in_netns.sh old mode 100644 new mode 100755 index 247a4fcfad..88795b510b --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/in_netns.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/in_netns.sh @@ -1,23 +1,23 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# -# Execute a subprocess in a network namespace - -set -e - -readonly NETNS="ns-$(mktemp -u XXXXXX)" - -setup() { - ip netns add "${NETNS}" - ip -netns "${NETNS}" link set lo up -} - -cleanup() { - ip netns del "${NETNS}" -} - -trap cleanup EXIT -setup - -ip netns exec "${NETNS}" "$@" -exit "$?" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# +# Execute a subprocess in a network namespace + +set -e + +readonly NETNS="ns-$(mktemp -u XXXXXX)" + +setup() { + ip netns add "${NETNS}" + ip -netns "${NETNS}" link set lo up +} + +cleanup() { + ip netns del "${NETNS}" +} + +trap cleanup EXIT +setup + +ip netns exec "${NETNS}" "$@" +exit "$?" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/ip_local_port_range.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/ip_local_port_range.sh old mode 100644 new mode 100755 index 684ef6b903..6c6ad346ea --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/ip_local_port_range.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/ip_local_port_range.sh @@ -1,5 +1,5 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -./in_netns.sh \ - sh -c 'sysctl -q -w net.ipv4.ip_local_port_range="40000 49999" && ./ip_local_port_range' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +./in_netns.sh \ + sh -c 'sysctl -q -w net.ipv4.ip_local_port_range="40000 49999" && ./ip_local_port_range' diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/__init__.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/__init__.py index 674aa1bd9e..b6d498d125 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/__init__.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/__init__.py @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 - -from .consts import KSRC -from .ksft import * -from .netns import NetNS -from .nsim import * -from .utils import * -from .ynl import NlError, YnlFamily, EthtoolFamily, NetdevFamily, RtnlFamily +# SPDX-License-Identifier: GPL-2.0 + +from .consts import KSRC +from .ksft import * +from .netns import NetNS +from .nsim import * +from .utils import * +from .ynl import NlError, YnlFamily, EthtoolFamily, NetdevFamily, RtnlFamily diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/consts.py b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/consts.py index b879668ffb..f518ce79d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/consts.py +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/lib/py/consts.py @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 - -import sys -from pathlib import Path - -KSFT_DIR = (Path(__file__).parent / "../../..").resolve() -KSRC = (Path(__file__).parent / "../../../../../..").resolve() - -KSFT_MAIN_NAME = Path(sys.argv[0]).with_suffix("").name +# SPDX-License-Identifier: GPL-2.0 + +import sys +from pathlib import Path + +KSFT_DIR = (Path(__file__).parent / "../../..").resolve() +KSRC = (Path(__file__).parent / "../../../../../..").resolve() + +KSFT_MAIN_NAME = Path(sys.argv[0]).with_suffix("").name diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/.gitignore index 5ef3dd2ca2..49daae73c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -mptcp_connect -mptcp_inq -mptcp_sockopt -pm_nl_ctl -*.pcap +# SPDX-License-Identifier: GPL-2.0-only +mptcp_connect +mptcp_inq +mptcp_sockopt +pm_nl_ctl +*.pcap diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh old mode 100644 new mode 100755 index cd11ac5f8d..ce93ec2f10 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ - "$(dirname "${0}")/mptcp_connect.sh" -C "${@}" +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ + "$(dirname "${0}")/mptcp_connect.sh" -C "${@}" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh old mode 100644 new mode 100755 index 4faa2adb03..5dd30f9394 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ - "$(dirname "${0}")/mptcp_connect.sh" -m mmap "${@}" +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ + "$(dirname "${0}")/mptcp_connect.sh" -m mmap "${@}" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh old mode 100644 new mode 100755 index 984cdb0db8..1d16fb1cc9 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ - "$(dirname "${0}")/mptcp_connect.sh" -m sendfile "${@}" +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \ + "$(dirname "${0}")/mptcp_connect.sh" -m sendfile "${@}" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/.gitignore index 50d6fb4eb9..0a64d6d0e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -audit_logread -connect_close -conntrack_dump_flush -sctp_collision -nf_queue +# SPDX-License-Identifier: GPL-2.0-only +audit_logread +connect_close +conntrack_dump_flush +sctp_collision +nf_queue diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/lib.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/lib.sh index acffb714d9..bedd35298e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/lib.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/lib.sh @@ -1,10 +1,10 @@ -net_netfilter_dir=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")") - -source "$net_netfilter_dir/../lib.sh" - -checktool (){ - if ! $1 > /dev/null 2>&1; then - echo "SKIP: Could not $2" - exit $ksft_skip - fi -} +net_netfilter_dir=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")") + +source "$net_netfilter_dir/../lib.sh" + +checktool (){ + if ! $1 > /dev/null 2>&1; then + echo "SKIP: Could not $2" + exit $ksft_skip + fi +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/nft_concat_range_perf.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/nft_concat_range_perf.sh old mode 100644 new mode 100755 index e393d08369..5d276995a5 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/nft_concat_range_perf.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/nft_concat_range_perf.sh @@ -1,9 +1,9 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -# - -source lib.sh - -[ "$KSFT_MACHINE_SLOW" = yes ] && exit ${ksft_skip} - -NFT_CONCAT_RANGE_TESTS="performance" exec ./nft_concat_range.sh +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# + +source lib.sh + +[ "$KSFT_MACHINE_SLOW" = yes ] && exit ${ksft_skip} + +NFT_CONCAT_RANGE_TESTS="performance" exec ./nft_concat_range.sh diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/openvswitch/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/openvswitch/Makefile index de56405bfa..3fd1da2ec0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/openvswitch/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/openvswitch/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 - -top_srcdir = ../../../../.. - -CFLAGS += -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include $(KHDR_INCLUDES) - -TEST_PROGS := openvswitch.sh - -TEST_FILES := ovs-dpctl.py - -EXTRA_CLEAN := test_netlink_checks - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +top_srcdir = ../../../../.. + +CFLAGS += -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include $(KHDR_INCLUDES) + +TEST_PROGS := openvswitch.sh + +TEST_FILES := ovs-dpctl.py + +EXTRA_CLEAN := test_netlink_checks + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/Makefile index 8e89d1d68b..31cfb666ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -TEST_INCLUDES := ksft_runner.sh \ - defaults.sh \ - set_sysctls.py \ - ../../kselftest/ktap_helpers.sh - -TEST_PROGS := $(wildcard *.pkt) - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +TEST_INCLUDES := ksft_runner.sh \ + defaults.sh \ + set_sysctls.py \ + ../../kselftest/ktap_helpers.sh + +TEST_PROGS := $(wildcard *.pkt) + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/config index 14ed306405..0237ed98f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/packetdrill/config @@ -1,11 +1,11 @@ -CONFIG_IPV6=y -CONFIG_HZ_1000=y -CONFIG_HZ=1000 -CONFIG_NET_NS=y -CONFIG_NET_SCH_FIFO=y -CONFIG_NET_SCH_FQ=y -CONFIG_PROC_SYSCTL=y -CONFIG_SYN_COOKIES=y -CONFIG_TCP_CONG_CUBIC=y -CONFIG_TCP_MD5SIG=y -CONFIG_TUN=y +CONFIG_IPV6=y +CONFIG_HZ_1000=y +CONFIG_HZ=1000 +CONFIG_NET_NS=y +CONFIG_NET_SCH_FIFO=y +CONFIG_NET_SCH_FQ=y +CONFIG_PROC_SYSCTL=y +CONFIG_SYN_COOKIES=y +CONFIG_TCP_CONG_CUBIC=y +CONFIG_TCP_MD5SIG=y +CONFIG_TUN=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rds/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rds/Makefile index bcfc77df4a..1803c39dba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rds/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rds/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 - -all: - @echo mk_build_dir="$(shell pwd)" > include.sh - -TEST_PROGS := run.sh \ - test.py - -TEST_FILES := include.sh - -EXTRA_CLEAN := /tmp/rds_logs include.sh - -include ../../lib.mk +# SPDX-License-Identifier: GPL-2.0 + +all: + @echo mk_build_dir="$(shell pwd)" > include.sh + +TEST_PROGS := run.sh \ + test.py + +TEST_FILES := include.sh + +EXTRA_CLEAN := /tmp/rds_logs include.sh + +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/reuseport_addr_any.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/reuseport_addr_any.sh old mode 100644 new mode 100755 index 167c62c4d2..104592f62a --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/reuseport_addr_any.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/reuseport_addr_any.sh @@ -1,4 +1,4 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -./in_netns.sh ./reuseport_addr_any +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +./in_netns.sh ./reuseport_addr_any diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/run_netsocktests b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/run_netsocktests old mode 100644 new mode 100755 index 8eaaa5fa6d..14e41faf2c --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/run_netsocktests +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/run_netsocktests @@ -1,13 +1,13 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -echo "--------------------" -echo "running socket test" -echo "--------------------" -./socket -if [ $? -ne 0 ]; then - echo "[FAIL]" - exit 1 -else - echo "[PASS]" -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +echo "--------------------" +echo "running socket test" +echo "--------------------" +./socket +if [ $? -ne 0 ]; then + echo "[FAIL]" + exit 1 +else + echo "[PASS]" +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rxtimestamp.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rxtimestamp.sh old mode 100644 new mode 100755 index fd7ff000a4..91631e88bf --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rxtimestamp.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/rxtimestamp.sh @@ -1,4 +1,4 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 - -./in_netns.sh ./rxtimestamp $@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +./in_netns.sh ./rxtimestamp $@ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/sample_ret0.bpf.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/sample_ret0.bpf.c index 83e6195700..1df5ca98bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/sample_ret0.bpf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/sample_ret0.bpf.c @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ - -#define SEC(name) __attribute__((section(name), used)) - -/* Sample program which should always load for testing control paths. */ -SEC("xdp") -int func() -{ - return 0; -} +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ + +#define SEC(name) __attribute__((section(name), used)) + +/* Sample program which should always load for testing control paths. */ +SEC("xdp") +int func() +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/tcp_ao/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/tcp_ao/config index 4fc9278762..3605e38711 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/tcp_ao/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/tcp_ao/config @@ -1,11 +1,11 @@ -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_RMD160=y -CONFIG_CRYPTO_SHA1=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6=y -CONFIG_NET_L3_MASTER_DEV=y -CONFIG_NET_VRF=y -CONFIG_TCP_AO=y -CONFIG_TCP_MD5SIG=y -CONFIG_TRACEPOINTS=y -CONFIG_VETH=m +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_RMD160=y +CONFIG_CRYPTO_SHA1=y +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_IPV6=y +CONFIG_NET_L3_MASTER_DEV=y +CONFIG_NET_VRF=y +CONFIG_TCP_AO=y +CONFIG_TCP_MD5SIG=y +CONFIG_TRACEPOINTS=y +CONFIG_VETH=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_blackhole_dev.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_blackhole_dev.sh old mode 100644 new mode 100755 index f5f061a0f0..3119b80e71 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_blackhole_dev.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_blackhole_dev.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs blackhole-dev test using blackhole-dev kernel module - -if /sbin/modprobe -q test_blackhole_dev ; then - /sbin/modprobe -q -r test_blackhole_dev; - echo "test_blackhole_dev: ok"; -else - echo "test_blackhole_dev: [FAIL]"; - exit 1; -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs blackhole-dev test using blackhole-dev kernel module + +if /sbin/modprobe -q test_blackhole_dev ; then + /sbin/modprobe -q -r test_blackhole_dev; + echo "test_blackhole_dev: ok"; +else + echo "test_blackhole_dev: [FAIL]"; + exit 1; +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_bpf.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_bpf.sh old mode 100644 new mode 100755 index 24cb676d3d..65677909c5 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_bpf.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_bpf.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Runs bpf test using test_bpf kernel module - -if /sbin/modprobe -q test_bpf ; then - /sbin/modprobe -q -r test_bpf; - echo "test_bpf: ok"; -else - echo "test_bpf: [FAIL]"; - exit 1; -fi +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs bpf test using test_bpf kernel module + +if /sbin/modprobe -q test_bpf ; then + /sbin/modprobe -q -r test_bpf; + echo "test_bpf: ok"; +else + echo "test_bpf: [FAIL]"; + exit 1; +fi diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/xdp_dummy.bpf.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/xdp_dummy.bpf.c index bd54311916..d988b2e0ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/xdp_dummy.bpf.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/xdp_dummy.bpf.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0 - -#define KBUILD_MODNAME "xdp_dummy" -#include -#include - -SEC("xdp") -int xdp_dummy_prog(struct xdp_md *ctx) -{ - return XDP_PASS; -} - -char _license[] SEC("license") = "GPL"; +// SPDX-License-Identifier: GPL-2.0 + +#define KBUILD_MODNAME "xdp_dummy" +#include +#include + +SEC("xdp") +int xdp_dummy_prog(struct xdp_md *ctx) +{ + return XDP_PASS; +} + +char _license[] SEC("license") = "GPL"; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/.gitignore index ec51b21f47..35d247a0d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/.gitignore @@ -1,7 +1,7 @@ -/initramfs/ -/initramfs.cpio -/libc-test -/nolibc-test -/run.out -/run.out.* -/sysroot/ +/initramfs/ +/initramfs.cpio +/libc-test +/nolibc-test +/run.out +/run.out.* +/sysroot/ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/nolibc-test-linkage.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/nolibc-test-linkage.h index bf57f6a8c1..c66473070d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/nolibc-test-linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nolibc/nolibc-test-linkage.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _NOLIBC_TEST_LINKAGE_H -#define _NOLIBC_TEST_LINKAGE_H - -void *linkage_test_errno_addr(void); -extern int linkage_test_constructor_test_value; - -#endif /* _NOLIBC_TEST_LINKAGE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _NOLIBC_TEST_LINKAGE_H +#define _NOLIBC_TEST_LINKAGE_H + +void *linkage_test_errno_addr(void); +extern int linkage_test_constructor_test_value; + +#endif /* _NOLIBC_TEST_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nsfs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nsfs/Makefile index 53856fddc0..dd9bd50b7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nsfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/nsfs/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -TEST_GEN_PROGS := owner pidns - -CFLAGS := -Wall -Werror - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +TEST_GEN_PROGS := owner pidns + +CFLAGS := -Wall -Werror + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/.gitignore index 176dd6c182..4931b3b6bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -sigtrap_threads -remove_on_exec -watermark_signal -mmap +# SPDX-License-Identifier: GPL-2.0-only +sigtrap_threads +remove_on_exec +watermark_signal +mmap diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/Makefile index ce9051fa35..2e5d85770d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/perf_events/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) -LDFLAGS += -lpthread - -TEST_GEN_PROGS := sigtrap_threads remove_on_exec watermark_signal mmap -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) +LDFLAGS += -lpthread + +TEST_GEN_PROGS := sigtrap_threads remove_on_exec watermark_signal mmap +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pid_namespace/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pid_namespace/Makefile index 6e1d4dba23..9286a1d22c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pid_namespace/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pid_namespace/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -g $(KHDR_INCLUDES) - -TEST_GEN_PROGS = regression_enomem - -LOCAL_HDRS += $(selfdir)/pidfd/pidfd.h - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -g $(KHDR_INCLUDES) + +TEST_GEN_PROGS = regression_enomem + +LOCAL_HDRS += $(selfdir)/pidfd/pidfd.h + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/.gitignore index 1cb69d3a40..973198a3ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -pidfd_open_test -pidfd_poll_test -pidfd_test -pidfd_wait -pidfd_fdinfo_test -pidfd_getfd_test -pidfd_setns_test +# SPDX-License-Identifier: GPL-2.0-only +pidfd_open_test +pidfd_poll_test +pidfd_test +pidfd_wait +pidfd_fdinfo_test +pidfd_getfd_test +pidfd_setns_test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/Makefile index adf295b12b..d731e3e76d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -g $(KHDR_INCLUDES) -pthread -Wall - -TEST_GEN_PROGS := pidfd_test pidfd_fdinfo_test pidfd_open_test \ - pidfd_poll_test pidfd_wait pidfd_getfd_test pidfd_setns_test - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -g $(KHDR_INCLUDES) -pthread -Wall + +TEST_GEN_PROGS := pidfd_test pidfd_fdinfo_test pidfd_open_test \ + pidfd_poll_test pidfd_wait pidfd_getfd_test pidfd_setns_test + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/config index 44f49cc792..6133524710 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pidfd/config @@ -1,9 +1,9 @@ -CONFIG_UTS_NS=y -CONFIG_IPC_NS=y -CONFIG_USER_NS=y -CONFIG_PID_NS=y -CONFIG_NET_NS=y -CONFIG_TIME_NS=y -CONFIG_GENERIC_VDSO_TIME_NS=y -CONFIG_CGROUPS=y -CONFIG_CHECKPOINT_RESTORE=y +CONFIG_UTS_NS=y +CONFIG_IPC_NS=y +CONFIG_USER_NS=y +CONFIG_PID_NS=y +CONFIG_NET_NS=y +CONFIG_TIME_NS=y +CONFIG_GENERIC_VDSO_TIME_NS=y +CONFIG_CGROUPS=y +CONFIG_CHECKPOINT_RESTORE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/power_supply/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/power_supply/Makefile index cbebd0fea1..44f0658d3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/power_supply/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/power_supply/Makefile @@ -1,4 +1,4 @@ -TEST_PROGS := test_power_supply_properties.sh -TEST_FILES := helpers.sh - -include ../lib.mk +TEST_PROGS := test_power_supply_properties.sh +TEST_FILES := helpers.sh + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/.gitignore index f6d5fcbb89..28bc6ca13c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -copy_first_unaligned -alignment_handler +# SPDX-License-Identifier: GPL-2.0-only +copy_first_unaligned +alignment_handler diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/Makefile index a45105f7c4..66d5d7aaeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/alignment/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -TEST_GEN_PROGS := copy_first_unaligned alignment_handler - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c ../utils.c +# SPDX-License-Identifier: GPL-2.0-only +TEST_GEN_PROGS := copy_first_unaligned alignment_handler + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c ../utils.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/benchmarks/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/benchmarks/.gitignore index 1ead42eb1c..c9ce13983c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/benchmarks/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/benchmarks/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -gettimeofday -context_switch -fork -exec_target -mmap_bench -futex_bench -null_syscall +# SPDX-License-Identifier: GPL-2.0-only +gettimeofday +context_switch +fork +exec_target +mmap_bench +futex_bench +null_syscall diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/cache_shape/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/cache_shape/Makefile index 49af9dc534..3a3ca956ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/cache_shape/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/cache_shape/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_PROGS := cache_shape - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c ../utils.c +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := cache_shape + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c ../utils.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/.gitignore index 6644b1212d..7283e8b07b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/.gitignore @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0-only -copyuser_64_t0 -copyuser_64_t1 -copyuser_64_t2 -copyuser_p7_t0 -copyuser_p7_t1 -memcpy_64_t0 -memcpy_64_t1 -memcpy_64_t2 -memcpy_p7_t0 -memcpy_p7_t1 -copyuser_64_exc_t0 -copyuser_64_exc_t1 -copyuser_64_exc_t2 -copy_mc_64 -memmove_64 +# SPDX-License-Identifier: GPL-2.0-only +copyuser_64_t0 +copyuser_64_t1 +copyuser_64_t2 +copyuser_p7_t0 +copyuser_p7_t1 +memcpy_64_t0 +memcpy_64_t1 +memcpy_64_t2 +memcpy_p7_t0 +memcpy_p7_t1 +copyuser_64_exc_t0 +copyuser_64_exc_t1 +copyuser_64_exc_t2 +copy_mc_64 +memmove_64 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S index 47026cf1a7..3363b86407 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S @@ -1,24 +1,24 @@ -#include - -_GLOBAL(copy_tofrom_user_reference) - cmpdi r5,0 - beq 4f - - mtctr r5 - -1: lbz r6,0(r4) -2: stb r6,0(r3) - addi r3,r3,1 - addi r4,r4,1 - bdnz 1b - -3: mfctr r3 - blr - -4: mr r3,r5 - blr - -.section __ex_table,"a" - .llong 1b,3b - .llong 2b,3b -.text +#include + +_GLOBAL(copy_tofrom_user_reference) + cmpdi r5,0 + beq 4f + + mtctr r5 + +1: lbz r6,0(r4) +2: stb r6,0(r3) + addi r3,r3,1 + addi r4,r4,1 + bdnz 1b + +3: mfctr r3 + blr + +4: mr r3,r5 + blr + +.section __ex_table,"a" + .llong 1b,3b + .llong 2b,3b +.text diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/linux/export.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/linux/export.h index 3b43485f8d..e6b80d5fbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/linux/export.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/linux/export.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#define EXPORT_SYMBOL(x) -#define EXPORT_SYMBOL_GPL(x) -#define EXPORT_SYMBOL_KASAN(x) +/* SPDX-License-Identifier: GPL-2.0 */ +#define EXPORT_SYMBOL(x) +#define EXPORT_SYMBOL_GPL(x) +#define EXPORT_SYMBOL_KASAN(x) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/memcpy_stubs.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/memcpy_stubs.S index 707bdba78a..d9baa832fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/memcpy_stubs.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/memcpy_stubs.S @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -FUNC_START(memcpy) - b test_memcpy - -FUNC_START(backwards_memcpy) - b test_backwards_memcpy +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +FUNC_START(memcpy) + b test_memcpy + +FUNC_START(backwards_memcpy) + b test_backwards_memcpy diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/stubs.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/stubs.S index 8729197261..ec8bcf2bf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/stubs.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/copyloops/stubs.S @@ -1,19 +1,19 @@ -#include - -FUNC_START(enter_vmx_usercopy) - li r3,1 - blr - -FUNC_START(exit_vmx_usercopy) - li r3,0 - blr - -FUNC_START(enter_vmx_ops) - li r3,1 - blr - -FUNC_START(exit_vmx_ops) - blr - -FUNC_START(__copy_tofrom_user_base) - blr +#include + +FUNC_START(enter_vmx_usercopy) + li r3,1 + blr + +FUNC_START(exit_vmx_usercopy) + li r3,0 + blr + +FUNC_START(enter_vmx_ops) + li r3,1 + blr + +FUNC_START(exit_vmx_ops) + blr + +FUNC_START(__copy_tofrom_user_base) + blr diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dexcr/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dexcr/Makefile index 5eddcfa1aa..58cf9f7229 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dexcr/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dexcr/Makefile @@ -1,12 +1,12 @@ -TEST_GEN_PROGS := dexcr_test hashchk_test -TEST_GEN_FILES := lsdexcr chdexcr - -include ../../lib.mk -include ../flags.mk - -CFLAGS += $(KHDR_INCLUDES) - -$(OUTPUT)/hashchk_test: CFLAGS += -fno-pie -no-pie $(call cc-option,-mno-rop-protect) - -$(TEST_GEN_PROGS): ../harness.c ../utils.c ./dexcr.c -$(TEST_GEN_FILES): ../utils.c ./dexcr.c +TEST_GEN_PROGS := dexcr_test hashchk_test +TEST_GEN_FILES := lsdexcr chdexcr + +include ../../lib.mk +include ../flags.mk + +CFLAGS += $(KHDR_INCLUDES) + +$(OUTPUT)/hashchk_test: CFLAGS += -fno-pie -no-pie $(call cc-option,-mno-rop-protect) + +$(TEST_GEN_PROGS): ../harness.c ../utils.c ./dexcr.c +$(TEST_GEN_FILES): ../utils.c ./dexcr.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dscr/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dscr/.gitignore index 95a7f77ae0..1d08b15af6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dscr/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/dscr/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -dscr_default_test -dscr_explicit_test -dscr_inherit_exec_test -dscr_inherit_test -dscr_sysfs_test -dscr_sysfs_thread_test -dscr_user_test +# SPDX-License-Identifier: GPL-2.0-only +dscr_default_test +dscr_explicit_test +dscr_inherit_exec_test +dscr_inherit_test +dscr_sysfs_test +dscr_sysfs_thread_test +dscr_user_test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/Makefile index 8f4a335e4d..70797716f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -noarg: - $(MAKE) -C ../ - -TEST_PROGS := eeh-basic.sh -TEST_FILES := eeh-functions.sh settings - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk +# SPDX-License-Identifier: GPL-2.0 +noarg: + $(MAKE) -C ../ + +TEST_PROGS := eeh-basic.sh +TEST_FILES := eeh-functions.sh settings + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/flags.mk b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/flags.mk index e3e6811452..abb9e58d95 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/flags.mk +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/flags.mk @@ -1,9 +1,9 @@ -#This checks for any ENV variables and add those. - -ifeq ($(GIT_VERSION),) -GIT_VERSION := $(shell git describe --always --long --dirty || echo "unknown") -export GIT_VERSION -endif - -CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(selfdir)/powerpc/include $(USERCFLAGS) -export CFLAGS +#This checks for any ENV variables and add those. + +ifeq ($(GIT_VERSION),) +GIT_VERSION := $(shell git describe --always --long --dirty || echo "unknown") +export GIT_VERSION +endif + +CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(selfdir)/powerpc/include $(USERCFLAGS) +export CFLAGS diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/math/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/math/.gitignore index 4fff864be8..07b4893ef7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/math/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/math/.gitignore @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -fpu_syscall -vmx_syscall -fpu_preempt -vmx_preempt -fpu_signal -vmx_signal -vsx_preempt -fpu_denormal -mma +# SPDX-License-Identifier: GPL-2.0-only +fpu_syscall +vmx_syscall +fpu_preempt +vmx_preempt +fpu_signal +vmx_signal +vsx_preempt +fpu_denormal +mma diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mce/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mce/Makefile index bfb7af7476..ce4ed679aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mce/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mce/Makefile @@ -1,8 +1,8 @@ -#SPDX-License-Identifier: GPL-2.0-or-later - -TEST_GEN_PROGS := inject-ra-err - -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c +#SPDX-License-Identifier: GPL-2.0-or-later + +TEST_GEN_PROGS := inject-ra-err + +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mm/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mm/.gitignore index 8a47ea310c..0df1a3afc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mm/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/mm/.gitignore @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0-only -bad_accesses -exec_prot -hugetlb_vs_thp_test -large_vm_fork_separation -large_vm_gpr_corruption -pkey_exec_prot -pkey_siginfo -prot_sao -segv_errors -stack_expansion_ldst -stack_expansion_signal -subpage_prot -tempfile -tlbie_test -wild_bctr +# SPDX-License-Identifier: GPL-2.0-only +bad_accesses +exec_prot +hugetlb_vs_thp_test +large_vm_fork_separation +large_vm_gpr_corruption +pkey_exec_prot +pkey_siginfo +prot_sao +segv_errors +stack_expansion_ldst +stack_expansion_signal +subpage_prot +tempfile +tlbie_test +wild_bctr diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/nx-gzip/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/nx-gzip/Makefile index 7dd7f91746..480d8ba94c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/nx-gzip/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/nx-gzip/Makefile @@ -1,9 +1,9 @@ -TEST_GEN_FILES := gzfht_test gunz_test -TEST_PROGS := nx-gzip-test.sh - -include ../../lib.mk -include ../flags.mk - -CFLAGS = -O3 -m64 -I./include -I../include - -$(TEST_GEN_FILES): gzip_vas.c ../utils.c +TEST_GEN_FILES := gzfht_test gunz_test +TEST_PROGS := nx-gzip-test.sh + +include ../../lib.mk +include ../flags.mk + +CFLAGS = -O3 -m64 -I./include -I../include + +$(TEST_GEN_FILES): gzip_vas.c ../utils.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_attributes/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_attributes/Makefile index 910c75d366..4064294990 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_attributes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_attributes/Makefile @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_PROGS := attr_test - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c ../utils.c +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := attr_test + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c ../utils.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_sysparm/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_sysparm/Makefile index 78c4bc0fc4..fed4f2414d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_sysparm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_sysparm/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -noarg: - $(MAKE) -C ../ - -TEST_GEN_PROGS := papr_sysparm - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c ../utils.c - -$(OUTPUT)/papr_sysparm: CFLAGS += $(KHDR_INCLUDES) +# SPDX-License-Identifier: GPL-2.0 +noarg: + $(MAKE) -C ../ + +TEST_GEN_PROGS := papr_sysparm + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c ../utils.c + +$(OUTPUT)/papr_sysparm: CFLAGS += $(KHDR_INCLUDES) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_vpd/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_vpd/Makefile index 49daa97b1f..b09852e408 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_vpd/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/papr_vpd/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -noarg: - $(MAKE) -C ../ - -TEST_GEN_PROGS := papr_vpd - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -$(TEST_GEN_PROGS): ../harness.c ../utils.c - -$(OUTPUT)/papr_vpd: CFLAGS += $(KHDR_INCLUDES) +# SPDX-License-Identifier: GPL-2.0 +noarg: + $(MAKE) -C ../ + +TEST_GEN_PROGS := papr_vpd + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +$(TEST_GEN_PROGS): ../harness.c ../utils.c + +$(OUTPUT)/papr_vpd: CFLAGS += $(KHDR_INCLUDES) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/.gitignore index 6e350a7143..f69b1e2641 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -count_instructions -l3_bank_test -per_event_excludes -count_stcx_fail +# SPDX-License-Identifier: GPL-2.0-only +count_instructions +l3_bank_test +per_event_excludes +count_stcx_fail diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/branch_loops.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/branch_loops.S index da136714cc..de758dd3ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/branch_loops.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/pmu/branch_loops.S @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright 2022, Kajol Jain, IBM Corp. - */ - -#include - - .text - -#define ITER_SHIFT 31 - -FUNC_START(indirect_branch_loop) - li r3, 1 - sldi r3, r3, ITER_SHIFT - -1: cmpdi r3, 0 - beqlr - - addi r3, r3, -1 - - ld r4, 2f@got(%r2) - mtctr r4 - bctr - - .balign 32 -2: b 1b - -FUNC_END(indirect_branch_loop) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright 2022, Kajol Jain, IBM Corp. + */ + +#include + + .text + +#define ITER_SHIFT 31 + +FUNC_START(indirect_branch_loop) + li r3, 1 + sldi r3, r3, ITER_SHIFT + +1: cmpdi r3, 0 + beqlr + + addi r3, r3, -1 + + ld r4, 2f@got(%r2) + mtctr r4 + bctr + + .balign 32 +2: b 1b + +FUNC_END(indirect_branch_loop) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/primitives/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/primitives/Makefile index b9f8c70434..23bd9a7590 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/primitives/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/primitives/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -TEST_GEN_PROGS := load_unaligned_zeropad - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -CFLAGS += -I$(CURDIR) - -$(TEST_GEN_PROGS): ../harness.c +# SPDX-License-Identifier: GPL-2.0-only +TEST_GEN_PROGS := load_unaligned_zeropad + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +CFLAGS += -I$(CURDIR) + +$(TEST_GEN_PROGS): ../harness.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/ptrace/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/ptrace/.gitignore index bb3454b584..eb75e5360e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/ptrace/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/ptrace/.gitignore @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0-only -ptrace-gpr -ptrace-tm-gpr -ptrace-tm-spd-gpr -ptrace-tar -ptrace-tm-tar -ptrace-tm-spd-tar -ptrace-vsx -ptrace-tm-vsx -ptrace-tm-spd-vsx -ptrace-tm-spr -ptrace-hwbreak -perf-hwbreak -core-pkey -ptrace-pkey -ptrace-syscall -ptrace-perf-hwbreak +# SPDX-License-Identifier: GPL-2.0-only +ptrace-gpr +ptrace-tm-gpr +ptrace-tm-spd-gpr +ptrace-tar +ptrace-tm-tar +ptrace-tm-spd-tar +ptrace-vsx +ptrace-tm-vsx +ptrace-tm-spd-vsx +ptrace-tm-spr +ptrace-hwbreak +perf-hwbreak +core-pkey +ptrace-pkey +ptrace-syscall +ptrace-perf-hwbreak diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/security/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/security/.gitignore index 5b539fbf88..9357b186b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/security/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/security/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -rfi_flush -entry_flush -spectre_v2 -uaccess_flush +# SPDX-License-Identifier: GPL-2.0-only +rfi_flush +entry_flush +spectre_v2 +uaccess_flush diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/signal/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/signal/.gitignore index 7ffea84e82..9d0915777f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/signal/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/signal/.gitignore @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only -signal -signal_tm -sigfuz -sigreturn_vdso -sig_sc_double_restart -sigreturn_kernel -sigreturn_unaligned +# SPDX-License-Identifier: GPL-2.0-only +signal +signal_tm +sigfuz +sigreturn_vdso +sig_sc_double_restart +sigreturn_kernel +sigreturn_unaligned diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/stringloops/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/stringloops/.gitignore index 64728584a7..b0dfc74aa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/stringloops/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/stringloops/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -memcmp_64 -memcmp_32 -strlen -strlen_32 +# SPDX-License-Identifier: GPL-2.0-only +memcmp_64 +memcmp_32 +strlen +strlen_32 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/.gitignore index 28f81be8ef..30e962cf84 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -switch_endian_test -check-reversed.S +# SPDX-License-Identifier: GPL-2.0-only +switch_endian_test +check-reversed.S diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/common.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/common.h index ed2732c266..1434cbc2a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/common.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/switch_endian/common.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -#ifndef __NR_switch_endian -#define __NR_switch_endian 363 -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +#ifndef __NR_switch_endian +#define __NR_switch_endian 363 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/syscalls/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/syscalls/Makefile index b1945692de..3bc07af88f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/syscalls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/syscalls/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -TEST_GEN_PROGS := ipc_unmuxed rtas_filter - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -CFLAGS += $(KHDR_INCLUDES) - -$(TEST_GEN_PROGS): ../harness.c ../utils.c +# SPDX-License-Identifier: GPL-2.0-only +TEST_GEN_PROGS := ipc_unmuxed rtas_filter + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +CFLAGS += $(KHDR_INCLUDES) + +$(TEST_GEN_PROGS): ../harness.c ../utils.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/vphn/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/vphn/Makefile index e7bd2a6101..61d519a076 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/vphn/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/vphn/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -TEST_GEN_PROGS := test-vphn - -top_srcdir = ../../../../.. -include ../../lib.mk -include ../flags.mk - -CFLAGS += -m64 -I$(CURDIR) - -$(TEST_GEN_PROGS): ../harness.c - +# SPDX-License-Identifier: GPL-2.0-only +TEST_GEN_PROGS := test-vphn + +top_srcdir = ../../../../.. +include ../../lib.mk +include ../flags.mk + +CFLAGS += -m64 -I$(CURDIR) + +$(TEST_GEN_PROGS): ../harness.c + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/prctl/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/prctl/.gitignore index fa4b58ee87..05d5e31661 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/prctl/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/prctl/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -disable-tsc-ctxt-sw-stress-test -disable-tsc-on-off-stress-test -disable-tsc-test -set-anon-vma-name-test -set-process-name +# SPDX-License-Identifier: GPL-2.0-only +disable-tsc-ctxt-sw-stress-test +disable-tsc-on-off-stress-test +disable-tsc-test +set-anon-vma-name-test +set-process-name diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/Makefile index b9ad7707d3..5ef57855a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for pstore selftests. -# Expects pstore backend is registered. - -all: - -TEST_PROGS := pstore_tests pstore_post_reboot_tests -TEST_FILES := common_tests pstore_crash_test -EXTRA_CLEAN := logs/* *uuid - -include ../lib.mk - -run_crash: - @sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; } +# SPDX-License-Identifier: GPL-2.0 +# Makefile for pstore selftests. +# Expects pstore backend is registered. + +all: + +TEST_PROGS := pstore_tests pstore_post_reboot_tests +TEST_FILES := common_tests pstore_crash_test +EXTRA_CLEAN := logs/* *uuid + +include ../lib.mk + +run_crash: + @sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; } diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/config index 3a47bc1fde..d148f9f89f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/config @@ -1,5 +1,5 @@ -CONFIG_MISC_FILESYSTEMS=y -CONFIG_PSTORE=y -CONFIG_PSTORE_PMSG=y -CONFIG_PSTORE_CONSOLE=y -CONFIG_PSTORE_RAM=m +CONFIG_MISC_FILESYSTEMS=y +CONFIG_PSTORE=y +CONFIG_PSTORE_PMSG=y +CONFIG_PSTORE_CONSOLE=y +CONFIG_PSTORE_RAM=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptp/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptp/Makefile index 4d959c1f44..8f57f88eca 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptp/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += $(KHDR_INCLUDES) -TEST_GEN_PROGS := testptp -LDLIBS += -lrt -TEST_PROGS = phc.sh - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += $(KHDR_INCLUDES) +TEST_GEN_PROGS := testptp +LDLIBS += -lrt +TEST_PROGS = phc.sh + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/.gitignore index 35a30bdb65..b7dde152e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -get_syscall_info -get_set_sud -peeksiginfo -vmaccess +# SPDX-License-Identifier: GPL-2.0-only +get_syscall_info +get_set_sud +peeksiginfo +vmaccess diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/Makefile index f9b3b976b6..1c631740a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ptrace/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -std=c99 -pthread -Wall $(KHDR_INCLUDES) - -TEST_GEN_PROGS := get_syscall_info peeksiginfo vmaccess get_set_sud - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -std=c99 -pthread -Wall $(KHDR_INCLUDES) + +TEST_GEN_PROGS := get_syscall_info peeksiginfo vmaccess get_set_sud + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/Makefile index 0184bdc9fd..5202dc6662 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0+ -all: - ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 ) +# SPDX-License-Identifier: GPL-2.0+ +all: + ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 ) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/BUSTED b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/BUSTED index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/BUSTED +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/BUSTED @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK01 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK01 index d247640ef6..a9625e3d6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK01 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK01 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=8 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK02 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK02 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK02 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK02 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK03 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK03 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK03 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK03 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK04 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK04 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK04 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK04 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK05 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK05 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK05 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK05 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK06 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK06 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK06 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK06 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK07 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK07 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK07 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK07 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK08 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK08 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK08 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK08 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK09 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK09 index 692a018bc0..1d1da1477f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK09 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/lock/LOCK09 @@ -1,6 +1,6 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED index cd8104405e..48d8a245c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED @@ -1,7 +1,7 @@ -CONFIG_RCU_TRACE=n -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y +CONFIG_RCU_TRACE=n +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot index 80478c98df..84f6bb98ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot @@ -1,8 +1,8 @@ -rcutorture.test_boost=2 -rcutorture.stutter=0 -rcutree.gp_preinit_delay=12 -rcutree.gp_init_delay=3 -rcutree.gp_cleanup_delay=3 -rcutree.kthread_prio=2 -threadirqs -rcutree.use_softirq=0 +rcutorture.test_boost=2 +rcutorture.stutter=0 +rcutree.gp_preinit_delay=12 +rcutree.gp_init_delay=3 +rcutree.gp_cleanup_delay=3 +rcutree.kthread_prio=2 +threadirqs +rcutree.use_softirq=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFLIST b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFLIST index 85bd1584bf..98b6175e5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFLIST +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFLIST @@ -1,19 +1,19 @@ -TREE01 -TREE02 -TREE03 -TREE04 -TREE05 -TREE07 -TREE09 -SRCU-N -SRCU-P -SRCU-T -SRCU-U -TINY01 -TINY02 -TASKS01 -TASKS02 -TASKS03 -RUDE01 -TRACE01 -TRACE02 +TREE01 +TREE02 +TREE03 +TREE04 +TREE05 +TREE07 +TREE09 +SRCU-N +SRCU-P +SRCU-T +SRCU-U +TINY01 +TINY02 +TASKS01 +TASKS02 +TASKS03 +RUDE01 +TRACE01 +TRACE02 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFcommon b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFcommon index d2d0f5885e..217597e849 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFcommon +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/CFcommon @@ -1,5 +1,5 @@ -CONFIG_RCU_TORTURE_TEST=y -CONFIG_PRINTK_TIME=y -CONFIG_PARAVIRT=y -CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n -CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=n +CONFIG_RCU_TORTURE_TEST=y +CONFIG_PRINTK_TIME=y +CONFIG_PARAVIRT=y +CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n +CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=n diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/RUDE01 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/RUDE01 index 888051f7e9..6fd6acb945 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/RUDE01 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/RUDE01 @@ -1,12 +1,12 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=3 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y -#CHECK#CONFIG_PROVE_RCU=y -CONFIG_RCU_EXPERT=y -CONFIG_FORCE_TASKS_RUDE_RCU=y -#CHECK#CONFIG_TASKS_RUDE_RCU=y +CONFIG_SMP=y +CONFIG_NR_CPUS=3 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y +#CHECK#CONFIG_PROVE_RCU=y +CONFIG_RCU_EXPERT=y +CONFIG_FORCE_TASKS_RUDE_RCU=y +#CHECK#CONFIG_TASKS_RUDE_RCU=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N index b076d48e95..07f5e0a70a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-N @@ -1,10 +1,10 @@ -CONFIG_RCU_TRACE=n -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -#CHECK#CONFIG_RCU_EXPERT=n -CONFIG_KPROBES=n -CONFIG_FTRACE=n +CONFIG_RCU_TRACE=n +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +#CHECK#CONFIG_RCU_EXPERT=n +CONFIG_KPROBES=n +CONFIG_FTRACE=n diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P index 67bb8afd0a..ab7ccd3823 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P @@ -1,12 +1,12 @@ -CONFIG_RCU_TRACE=n -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_HOTPLUG_CPU=y -CONFIG_RCU_EXPERT=y -CONFIG_RCU_FANOUT=2 -CONFIG_RCU_FANOUT_LEAF=2 -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y +CONFIG_RCU_TRACE=n +CONFIG_SMP=y +CONFIG_NR_CPUS=8 +CONFIG_HOTPLUG_CPU=y +CONFIG_RCU_EXPERT=y +CONFIG_RCU_FANOUT=2 +CONFIG_RCU_FANOUT_LEAF=2 +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot index c1e86397c1..2db39f298d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot @@ -1,4 +1,4 @@ -rcutorture.torture_type=srcud -rcupdate.rcu_self_test=1 -rcutorture.fwd_progress=3 -srcutree.big_cpu_lim=5 +rcutorture.torture_type=srcud +rcupdate.rcu_self_test=1 +rcutorture.fwd_progress=3 +srcutree.big_cpu_lim=5 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-T b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-T index 10210a3596..c70cf0405f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-T +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-T @@ -1,12 +1,12 @@ -CONFIG_SMP=n -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -#CHECK#CONFIG_TINY_SRCU=y -CONFIG_RCU_TRACE=n -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y -CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -CONFIG_DEBUG_ATOMIC_SLEEP=y -#CHECK#CONFIG_PREEMPT_COUNT=y +CONFIG_SMP=n +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +#CHECK#CONFIG_TINY_SRCU=y +CONFIG_RCU_TRACE=n +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y +CONFIG_DEBUG_OBJECTS_RCU_HEAD=n +CONFIG_DEBUG_ATOMIC_SLEEP=y +#CHECK#CONFIG_PREEMPT_COUNT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-U b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-U index 36623c51ec..bc9eeabaa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-U +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/SRCU-U @@ -1,10 +1,10 @@ -CONFIG_SMP=n -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -#CHECK#CONFIG_TINY_SRCU=y -CONFIG_RCU_TRACE=n -CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -CONFIG_PREEMPT_COUNT=n +CONFIG_SMP=n +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +#CHECK#CONFIG_TINY_SRCU=y +CONFIG_RCU_TRACE=n +CONFIG_DEBUG_LOCK_ALLOC=n +CONFIG_DEBUG_OBJECTS_RCU_HEAD=n +CONFIG_PREEMPT_COUNT=n diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 index 47b5869d25..d84801b9a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01 @@ -1,11 +1,11 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y -#CHECK#CONFIG_PROVE_RCU=y -CONFIG_TASKS_RCU=y -CONFIG_RCU_EXPERT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y +#CHECK#CONFIG_PROVE_RCU=y +CONFIG_TASKS_RCU=y +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01.boot index 8965f41063..30ca5b493c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS01.boot @@ -1,3 +1,3 @@ -rcutorture.torture_type=tasks -rcutree.use_softirq=0 -rcupdate.rcu_task_enqueue_lim=4 +rcutorture.torture_type=tasks +rcutree.use_softirq=0 +rcupdate.rcu_task_enqueue_lim=4 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 index 6cd894dd99..2f9fcffff5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS02 @@ -1,8 +1,8 @@ -CONFIG_SMP=n -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -#CHECK#CONFIG_TASKS_RCU=y -CONFIG_FORCE_TASKS_RCU=y -CONFIG_RCU_EXPERT=y +CONFIG_SMP=n +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +#CHECK#CONFIG_TASKS_RCU=y +CONFIG_FORCE_TASKS_RCU=y +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 index d2752856c1..2ef2fb69c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TASKS03 @@ -1,10 +1,10 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=n -CONFIG_NO_HZ_FULL=y -CONFIG_TASKS_RCU=y -CONFIG_RCU_EXPERT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_HZ_PERIODIC=n +CONFIG_NO_HZ_IDLE=n +CONFIG_NO_HZ_FULL=y +CONFIG_TASKS_RCU=y +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TINY01 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TINY01 index 37691f8963..0953c52fcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TINY01 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TINY01 @@ -1,14 +1,14 @@ -CONFIG_SMP=n -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -#CHECK#CONFIG_TINY_RCU=y -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=y -CONFIG_NO_HZ_FULL=n -CONFIG_RCU_TRACE=n -#CHECK#CONFIG_RCU_STALL_COMMON=n -CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -CONFIG_PREEMPT_COUNT=n +CONFIG_SMP=n +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +#CHECK#CONFIG_TINY_RCU=y +CONFIG_HZ_PERIODIC=n +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ_FULL=n +CONFIG_RCU_TRACE=n +#CHECK#CONFIG_RCU_STALL_COMMON=n +CONFIG_DEBUG_LOCK_ALLOC=n +CONFIG_DEBUG_OBJECTS_RCU_HEAD=n +CONFIG_PREEMPT_COUNT=n diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 index e58a3d4b9b..85b4074674 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 @@ -1,14 +1,14 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=5 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_PROVE_LOCKING=n -#CHECK#CONFIG_PROVE_RCU=n -CONFIG_FORCE_TASKS_TRACE_RCU=y -#CHECK#CONFIG_TASKS_TRACE_RCU=y -CONFIG_TASKS_TRACE_RCU_READ_MB=y -CONFIG_RCU_EXPERT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=5 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +CONFIG_DEBUG_LOCK_ALLOC=n +CONFIG_PROVE_LOCKING=n +#CHECK#CONFIG_PROVE_RCU=n +CONFIG_FORCE_TASKS_TRACE_RCU=y +#CHECK#CONFIG_TASKS_TRACE_RCU=y +CONFIG_TASKS_TRACE_RCU_READ_MB=y +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE02 b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE02 index 01c76c87dd..9003c56cd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE02 +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRACE02 @@ -1,14 +1,14 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=4 -CONFIG_HOTPLUG_CPU=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y -#CHECK#CONFIG_PROVE_RCU=y -CONFIG_FORCE_TASKS_TRACE_RCU=y -#CHECK#CONFIG_TASKS_TRACE_RCU=y -CONFIG_TASKS_TRACE_RCU_READ_MB=n -CONFIG_RCU_EXPERT=y -CONFIG_DEBUG_OBJECTS=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y +#CHECK#CONFIG_PROVE_RCU=y +CONFIG_FORCE_TASKS_TRACE_RCU=y +#CHECK#CONFIG_TASKS_TRACE_RCU=y +CONFIG_TASKS_TRACE_RCU_READ_MB=n +CONFIG_RCU_EXPERT=y +CONFIG_DEBUG_OBJECTS=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot index 8301ba071c..40af3df0f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE01.boot @@ -1,8 +1,8 @@ -maxcpus=8 nr_cpus=43 -rcutree.gp_preinit_delay=3 -rcutree.gp_init_delay=3 -rcutree.gp_cleanup_delay=3 -rcu_nocbs=0-1,3-7 -rcutorture.nocbs_nthreads=8 -rcutorture.nocbs_toggle=1000 -rcutorture.fwd_progress=0 +maxcpus=8 nr_cpus=43 +rcutree.gp_preinit_delay=3 +rcutree.gp_init_delay=3 +rcutree.gp_cleanup_delay=3 +rcu_nocbs=0-1,3-7 +rcutorture.nocbs_nthreads=8 +rcutorture.nocbs_toggle=1000 +rcutorture.fwd_progress=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot index eda81c7223..8e50bfd4b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot @@ -1,7 +1,7 @@ -rcutorture.onoff_interval=200 rcutorture.onoff_holdoff=30 -rcutree.gp_preinit_delay=12 -rcutree.gp_init_delay=3 -rcutree.gp_cleanup_delay=3 -rcutree.kthread_prio=2 -threadirqs -rcutree.use_softirq=0 +rcutorture.onoff_interval=200 rcutorture.onoff_holdoff=30 +rcutree.gp_preinit_delay=12 +rcutree.gp_init_delay=3 +rcutree.gp_cleanup_delay=3 +rcutree.kthread_prio=2 +threadirqs +rcutree.use_softirq=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot index 062bbaa55b..c419cac233 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot @@ -1,4 +1,4 @@ -rcutree.gp_preinit_delay=3 -rcutree.gp_init_delay=3 -rcutree.gp_cleanup_delay=3 -rcupdate.rcu_self_test=1 +rcutree.gp_preinit_delay=3 +rcutree.gp_init_delay=3 +rcutree.gp_cleanup_delay=3 +rcupdate.rcu_self_test=1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot index e62280685a..055f4aa790 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot @@ -1,5 +1,5 @@ -rcupdate.rcu_self_test=1 -rcutree.rcu_fanout_exact=1 -rcutree.gp_preinit_delay=3 -rcutree.gp_init_delay=3 -rcutree.gp_cleanup_delay=3 +rcupdate.rcu_self_test=1 +rcutree.rcu_fanout_exact=1 +rcutree.gp_preinit_delay=3 +rcutree.gp_init_delay=3 +rcutree.gp_cleanup_delay=3 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot index 16e565ed4f..55ce305b2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot @@ -1,5 +1,5 @@ -nohz_full=2-9 -rcutorture.stall_cpu=14 -rcutorture.stall_cpu_holdoff=90 -rcutorture.fwd_progress=0 -rcutree.nohz_full_patience_delay=1000 +nohz_full=2-9 +rcutorture.stall_cpu=14 +rcutorture.stall_cpu_holdoff=90 +rcutorture.fwd_progress=0 +rcutree.nohz_full_patience_delay=1000 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL index 1ecdd00e2b..5d546efa68 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL @@ -1,11 +1,11 @@ -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=y -CONFIG_NO_HZ_FULL=n -CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -CONFIG_RCU_EXPERT=y +CONFIG_SMP=y +CONFIG_NR_CPUS=8 +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_HZ_PERIODIC=n +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ_FULL=n +CONFIG_DEBUG_LOCK_ALLOC=n +CONFIG_DEBUG_OBJECTS_RCU_HEAD=n +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL.boot b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL.boot index d0dc080ef1..7017f5f5a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL.boot +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL.boot @@ -1,3 +1,3 @@ -rcutorture.torture_type=trivial -rcutorture.onoff_interval=0 -rcutorture.shuffle_interval=0 +rcutorture.torture_type=trivial +rcutorture.onoff_interval=0 +rcutorture.shuffle_interval=0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon index e2bc0162de..b1ffd7c676 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon @@ -1,8 +1,8 @@ -CONFIG_RCU_SCALE_TEST=y -CONFIG_PRINTK_TIME=y -CONFIG_FORCE_TASKS_RCU=y -#CHECK#CONFIG_TASKS_RCU=y -CONFIG_FORCE_TASKS_RUDE_RCU=y -#CHECK#CONFIG_TASKS_RUDE_RCU=y -CONFIG_FORCE_TASKS_TRACE_RCU=y -#CHECK#CONFIG_TASKS_TRACE_RCU=y +CONFIG_RCU_SCALE_TEST=y +CONFIG_PRINTK_TIME=y +CONFIG_FORCE_TASKS_RCU=y +#CHECK#CONFIG_TASKS_RCU=y +CONFIG_FORCE_TASKS_RUDE_RCU=y +#CHECK#CONFIG_TASKS_RUDE_RCU=y +CONFIG_FORCE_TASKS_TRACE_RCU=y +#CHECK#CONFIG_TASKS_TRACE_RCU=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/refscale/CFcommon b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/refscale/CFcommon index 7dacbc9cb6..fbea3b13ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/refscale/CFcommon +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/refscale/CFcommon @@ -1,6 +1,6 @@ -CONFIG_RCU_REF_SCALE_TEST=y -CONFIG_PRINTK_TIME=y -CONFIG_FORCE_TASKS_RCU=y -#CHECK#CONFIG_TASKS_RCU=y -CONFIG_FORCE_TASKS_TRACE_RCU=y -#CHECK#CONFIG_TASKS_TRACE_RCU=y +CONFIG_RCU_REF_SCALE_TEST=y +CONFIG_PRINTK_TIME=y +CONFIG_FORCE_TASKS_RCU=y +#CHECK#CONFIG_TASKS_RCU=y +CONFIG_FORCE_TASKS_TRACE_RCU=y +#CHECK#CONFIG_TASKS_TRACE_RCU=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT index eb619f60be..6133f54ce2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT @@ -1,13 +1,13 @@ -CONFIG_SMP=y -CONFIG_PREEMPT_NONE=y -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=n -CONFIG_PREEMPT_DYNAMIC=n -#CHECK#CONFIG_PREEMPT_RCU=n -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=n -CONFIG_NO_HZ_FULL=y -CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_PROVE_LOCKING=n -CONFIG_KPROBES=n -CONFIG_FTRACE=n +CONFIG_SMP=y +CONFIG_PREEMPT_NONE=y +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=n +CONFIG_PREEMPT_DYNAMIC=n +#CHECK#CONFIG_PREEMPT_RCU=n +CONFIG_HZ_PERIODIC=n +CONFIG_NO_HZ_IDLE=n +CONFIG_NO_HZ_FULL=y +CONFIG_DEBUG_LOCK_ALLOC=n +CONFIG_PROVE_LOCKING=n +CONFIG_KPROBES=n +CONFIG_FTRACE=n diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/PREEMPT b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/PREEMPT index 8fc25d793c..cb37e08037 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/PREEMPT +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/configs/scf/PREEMPT @@ -1,10 +1,10 @@ -CONFIG_SMP=y -CONFIG_PREEMPT_NONE=n -CONFIG_PREEMPT_VOLUNTARY=n -CONFIG_PREEMPT=y -CONFIG_HZ_PERIODIC=n -CONFIG_NO_HZ_IDLE=y -CONFIG_NO_HZ_FULL=n -CONFIG_DEBUG_LOCK_ALLOC=y -CONFIG_PROVE_LOCKING=y -CONFIG_RCU_EXPERT=y +CONFIG_SMP=y +CONFIG_PREEMPT_NONE=n +CONFIG_PREEMPT_VOLUNTARY=n +CONFIG_PREEMPT=y +CONFIG_HZ_PERIODIC=n +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ_FULL=n +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_PROVE_LOCKING=y +CONFIG_RCU_EXPERT=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/Makefile index 51ffd8108b..f408bd6bfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 -CFLAGS += $(KHDR_INCLUDES) - -TEST_GEN_PROGS := resctrl_tests - -LOCAL_HDRS += $(wildcard *.h) - -include ../lib.mk - -$(OUTPUT)/resctrl_tests: $(wildcard *.c) +# SPDX-License-Identifier: GPL-2.0 + +CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 +CFLAGS += $(KHDR_INCLUDES) + +TEST_GEN_PROGS := resctrl_tests + +LOCAL_HDRS += $(wildcard *.h) + +include ../lib.mk + +$(OUTPUT)/resctrl_tests: $(wildcard *.c) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/settings b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/settings index e460c64113..a383f3d456 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/settings +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/resctrl/settings @@ -1,3 +1,3 @@ -# If running time is longer than 120 seconds when new tests are added in -# the future, increase timeout here. -timeout=120 +# If running time is longer than 120 seconds when new tests are added in +# the future, increase timeout here. +timeout=120 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ring-buffer/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ring-buffer/Makefile index 933fc4eed9..2360578263 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ring-buffer/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ring-buffer/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall -CFLAGS += $(KHDR_INCLUDES) - -TEST_GEN_PROGS = map_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall +CFLAGS += $(KHDR_INCLUDES) + +TEST_GEN_PROGS = map_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/hwprobe/sys_hwprobe.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/hwprobe/sys_hwprobe.S index bd77b68a98..a4773c88d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/hwprobe/sys_hwprobe.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/hwprobe/sys_hwprobe.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2023 Rivos, Inc */ - -.text -.global riscv_hwprobe -riscv_hwprobe: - # Put __NR_riscv_hwprobe in the syscall number register, then just shim - # back the kernel's return. This doesn't do any sort of errno - # handling, the caller can deal with it. - li a7, 258 - ecall - ret +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2023 Rivos, Inc */ + +.text +.global riscv_hwprobe +riscv_hwprobe: + # Put __NR_riscv_hwprobe in the syscall number register, then just shim + # back the kernel's return. This doesn't do any sort of errno + # handling, the caller can deal with it. + li a7, 258 + ecall + ret diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_bottomup.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_bottomup.c index 551b8a1667..f9ccae5034 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_bottomup.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_bottomup.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include -#include - -#include "../../kselftest_harness.h" - -TEST(infinite_rlimit) -{ - EXPECT_EQ(BOTTOM_UP, memory_layout()); -} - -TEST_HARNESS_MAIN +// SPDX-License-Identifier: GPL-2.0-only +#include +#include + +#include "../../kselftest_harness.h" + +TEST(infinite_rlimit) +{ + EXPECT_EQ(BOTTOM_UP, memory_layout()); +} + +TEST_HARNESS_MAIN diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_default.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_default.c index 1e8477ac0d..3f53b6ecc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_default.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/mmap_default.c @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include -#include - -#include "../../kselftest_harness.h" - -TEST(default_rlimit) -{ - EXPECT_EQ(TOP_DOWN, memory_layout()); -} - -TEST_HARNESS_MAIN +// SPDX-License-Identifier: GPL-2.0-only +#include +#include + +#include "../../kselftest_harness.h" + +TEST(default_rlimit) +{ + EXPECT_EQ(TOP_DOWN, memory_layout()); +} + +TEST_HARNESS_MAIN diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/run_mmap.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/run_mmap.sh old mode 100644 new mode 100755 index 3e5c11bebb..ca5ad7c48b --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/run_mmap.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/mm/run_mmap.sh @@ -1,12 +1,12 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -original_stack_limit=$(ulimit -s) - -./mmap_default - -# Force mmap_bottomup to be ran with bottomup memory due to -# the unlimited stack -ulimit -s unlimited -./mmap_bottomup -ulimit -s $original_stack_limit +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +original_stack_limit=$(ulimit -s) + +./mmap_default + +# Force mmap_bottomup to be ran with bottomup memory due to +# the unlimited stack +ulimit -s unlimited +./mmap_bottomup +ulimit -s $original_stack_limit diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/sigreturn/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/sigreturn/Makefile index 1487879b18..eb8bac9279 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/sigreturn/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/riscv/sigreturn/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2021 ARM Limited -# Originally tools/testing/arm64/abi/Makefile - -CFLAGS += -I$(top_srcdir)/tools/include - -TEST_GEN_PROGS := sigreturn - -include ../../lib.mk - -$(OUTPUT)/sigreturn: sigreturn.c - $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2021 ARM Limited +# Originally tools/testing/arm64/abi/Makefile + +CFLAGS += -I$(top_srcdir)/tools/include + +TEST_GEN_PROGS := sigreturn + +include ../../lib.mk + +$(OUTPUT)/sigreturn: sigreturn.c + $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rlimits/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rlimits/Makefile index e1414e634e..03aadb4062 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rlimits/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rlimits/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - -CFLAGS += -Wall -O2 -g -TEST_GEN_PROGS := rlimits-per-userns - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-or-later + +CFLAGS += -Wall -O2 -g +TEST_GEN_PROGS := rlimits-per-userns + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/.gitignore index e885265bb7..16496de5f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/.gitignore @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -basic_percpu_ops_test -basic_percpu_ops_mm_cid_test -basic_test -basic_rseq_op_test -param_test -param_test_benchmark -param_test_compare_twice -param_test_mm_cid -param_test_mm_cid_benchmark -param_test_mm_cid_compare_twice +# SPDX-License-Identifier: GPL-2.0-only +basic_percpu_ops_test +basic_percpu_ops_mm_cid_test +basic_test +basic_rseq_op_test +param_test +param_test_benchmark +param_test_compare_twice +param_test_mm_cid +param_test_mm_cid_benchmark +param_test_mm_cid_compare_twice diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/rseq-bits-reset.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/rseq-bits-reset.h index e3d284f8b5..e8655089f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/rseq-bits-reset.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rseq/rseq-bits-reset.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ -/* - * rseq-bits-reset.h - * - * (C) Copyright 2016-2022 - Mathieu Desnoyers - */ - -#undef RSEQ_TEMPLATE_IDENTIFIER -#undef RSEQ_TEMPLATE_CPU_ID_FIELD -#undef RSEQ_TEMPLATE_CPU_ID_OFFSET -#undef RSEQ_TEMPLATE_SUFFIX +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ +/* + * rseq-bits-reset.h + * + * (C) Copyright 2016-2022 - Mathieu Desnoyers + */ + +#undef RSEQ_TEMPLATE_IDENTIFIER +#undef RSEQ_TEMPLATE_CPU_ID_FIELD +#undef RSEQ_TEMPLATE_CPU_ID_OFFSET +#undef RSEQ_TEMPLATE_SUFFIX diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rtc/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rtc/Makefile index a4545ae09e..55198ecc04 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rtc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rtc/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -O3 -Wl,-no-as-needed -Wall -LDLIBS += -lrt -lpthread -lm - -TEST_GEN_PROGS = rtctest - -TEST_GEN_PROGS_EXTENDED = setdate - -TEST_FILES := settings - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -O3 -Wl,-no-as-needed -Wall +LDLIBS += -lrt -lpthread -lm + +TEST_GEN_PROGS = rtctest + +TEST_GEN_PROGS_EXTENDED = setdate + +TEST_FILES := settings + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/Makefile index 0bef266a92..fce1584d3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_PROGS += test_probe_samples.sh - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +TEST_PROGS += test_probe_samples.sh + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/config index 4fad9a7f39..5f942b5c8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/config @@ -1,6 +1,6 @@ -# CONFIG_GCC_PLUGINS is not set -CONFIG_RUST=y -CONFIG_SAMPLES=y -CONFIG_SAMPLES_RUST=y -CONFIG_SAMPLE_RUST_MINIMAL=m -CONFIG_SAMPLE_RUST_PRINT=m +# CONFIG_GCC_PLUGINS is not set +CONFIG_RUST=y +CONFIG_SAMPLES=y +CONFIG_SAMPLES_RUST=y +CONFIG_SAMPLE_RUST_MINIMAL=m +CONFIG_SAMPLE_RUST_PRINT=m diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/Makefile index 6b893dd713..e815bbf2d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for SafeSetID selftest. -CFLAGS = -Wall -O2 -LDLIBS = -lcap - -TEST_PROGS := safesetid-test.sh -TEST_GEN_FILES := safesetid-test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +# Makefile for SafeSetID selftest. +CFLAGS = -Wall -O2 +LDLIBS = -lcap + +TEST_PROGS := safesetid-test.sh +TEST_GEN_FILES := safesetid-test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/safesetid-test.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/safesetid-test.sh old mode 100644 new mode 100755 index a0cb81d0ef..e4fdce675c --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/safesetid-test.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/safesetid/safesetid-test.sh @@ -1,26 +1,26 @@ -#!/bin/bash - -TCID="safesetid-test.sh" -errcode=0 - -# Kselftest framework requirement - SKIP code is 4. -ksft_skip=4 - -check_root() -{ - uid=$(id -u) - if [ $uid -ne 0 ]; then - echo $TCID: must be run as root >&2 - exit $ksft_skip - fi -} - -main_function() -{ - check_root - ./safesetid-test -} - -main_function -echo "$TCID: done" -exit $errcode +#!/bin/bash + +TCID="safesetid-test.sh" +errcode=0 + +# Kselftest framework requirement - SKIP code is 4. +ksft_skip=4 + +check_root() +{ + uid=$(id -u) + if [ $uid -ne 0 ]; then + echo $TCID: must be run as root >&2 + exit $ksft_skip + fi +} + +main_function() +{ + check_root + ./safesetid-test +} + +main_function +echo "$TCID: done" +exit $errcode diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched/Makefile index 4b5ce11a2a..099ee92135 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0+ - -ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) -CLANG_FLAGS += -no-integrated-as -endif - -CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \ - $(CLANG_FLAGS) -LDLIBS += -lpthread - -TEST_GEN_FILES := cs_prctl_test -TEST_PROGS := cs_prctl_test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0+ + +ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) +CLANG_FLAGS += -no-integrated-as +endif + +CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \ + $(CLANG_FLAGS) +LDLIBS += -lpthread + +TEST_GEN_FILES := cs_prctl_test +TEST_PROGS := cs_prctl_test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/config index 80014cd982..0de9b4ee24 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/config @@ -1,9 +1,9 @@ -CONFIG_SCHED_DEBUG=y -CONFIG_SCHED_CLASS_EXT=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_SCHED=y -CONFIG_EXT_GROUP_SCHED=y -CONFIG_BPF=y -CONFIG_BPF_SYSCALL=y -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_INFO_BTF=y +CONFIG_SCHED_DEBUG=y +CONFIG_SCHED_CLASS_EXT=y +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_EXT_GROUP_SCHED=y +CONFIG_BPF=y +CONFIG_BPF_SYSCALL=y +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_BTF=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/hotplug_test.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/hotplug_test.h index 14dfb9aaa3..73d236f907 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/hotplug_test.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/hotplug_test.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. - * Copyright (c) 2024 David Vernet - */ - -#ifndef __HOTPLUG_TEST_H__ -#define __HOTPLUG_TEST_H__ - -enum hotplug_test_flags { - HOTPLUG_EXIT_RSN = 1LLU << 0, - HOTPLUG_ONLINING = 1LLU << 1, -}; - -#endif // # __HOTPLUG_TEST_H__ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. + * Copyright (c) 2024 David Vernet + */ + +#ifndef __HOTPLUG_TEST_H__ +#define __HOTPLUG_TEST_H__ + +enum hotplug_test_flags { + HOTPLUG_EXIT_RSN = 1LLU << 0, + HOTPLUG_ONLINING = 1LLU << 1, +}; + +#endif // # __HOTPLUG_TEST_H__ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/util.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/util.h index 50fef24454..bc13dfec12 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/util.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sched_ext/util.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. - * Copyright (c) 2024 David Vernet - */ - -#ifndef __SCX_TEST_UTIL_H__ -#define __SCX_TEST_UTIL_H__ - -long file_read_long(const char *path); -int file_write_long(const char *path, long val); - -#endif // __SCX_TEST_H__ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. + * Copyright (c) 2024 David Vernet + */ + +#ifndef __SCX_TEST_UTIL_H__ +#define __SCX_TEST_UTIL_H__ + +long file_read_long(const char *path); +int file_write_long(const char *path, long val); + +#endif // __SCX_TEST_H__ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/Makefile index a46b4ab1df..584fba4870 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) -LDFLAGS += -lpthread -LDLIBS += -lcap - -TEST_GEN_PROGS := seccomp_bpf seccomp_benchmark -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) +LDFLAGS += -lpthread +LDLIBS += -lcap + +TEST_GEN_PROGS := seccomp_bpf seccomp_benchmark +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/config index e979476dc8..ad431a5178 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/seccomp/config @@ -1,4 +1,4 @@ -CONFIG_PID_NS=y -CONFIG_SECCOMP=y -CONFIG_SECCOMP_FILTER=y -CONFIG_USER_NS=y +CONFIG_PID_NS=y +CONFIG_SECCOMP=y +CONFIG_SECCOMP_FILTER=y +CONFIG_USER_NS=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sgx/sign_key.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sgx/sign_key.S index f33efc8f3e..e4fbe94844 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sgx/sign_key.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sgx/sign_key.S @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/** -* Copyright(c) 2016-20 Intel Corporation. -*/ - - .section ".rodata", "a" - -sign_key: - .globl sign_key - .incbin "sign_key.pem" -sign_key_end: - .globl sign_key_end +/* SPDX-License-Identifier: GPL-2.0 */ +/** +* Copyright(c) 2016-20 Intel Corporation. +*/ + + .section ".rodata", "a" + +sign_key: + .globl sign_key + .incbin "sign_key.pem" +sign_key_end: + .globl sign_key_end diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sigaltstack/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sigaltstack/Makefile index b4fc7599f9..3e96d5d470 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sigaltstack/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sigaltstack/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS = -Wall -TEST_GEN_PROGS = sas - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS = -Wall +TEST_GEN_PROGS = sas + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/size/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/size/Makefile index 448dbab30e..b87facc00a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/size/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/size/Makefile @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS := -static -ffreestanding -nostartfiles -s - -TEST_GEN_PROGS := get_size - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS := -static -ffreestanding -nostartfiles -s + +TEST_GEN_PROGS := get_size + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sparc64/drivers/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sparc64/drivers/Makefile index 488734ff29..deb0df4155 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sparc64/drivers/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sparc64/drivers/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -INCLUDEDIR := -I. -CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g - -TEST_GEN_FILES := adi-test - -all: $(TEST_GEN_FILES) - -$(TEST_GEN_FILES): adi-test.c - -TEST_PROGS := drivers_test.sh - -include ../../lib.mk - -$(OUTPUT)/adi-test: adi-test.c +# SPDX-License-Identifier: GPL-2.0 +INCLUDEDIR := -I. +CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g + +TEST_GEN_FILES := adi-test + +all: $(TEST_GEN_FILES) + +$(TEST_GEN_FILES): adi-test.c + +TEST_PROGS := drivers_test.sh + +include ../../lib.mk + +$(OUTPUT)/adi-test: adi-test.c diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/.gitignore index 4bdf892102..be8266f5d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -default_file_splice_read -splice_read +# SPDX-License-Identifier: GPL-2.0-only +default_file_splice_read +splice_read diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/Makefile index ecb6547056..541cd826d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := default_file_splice_read.sh short_splice_read.sh -TEST_GEN_PROGS_EXTENDED := default_file_splice_read splice_read - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +TEST_PROGS := default_file_splice_read.sh short_splice_read.sh +TEST_GEN_PROGS_EXTENDED := default_file_splice_read splice_read + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.c index 1d27a153e0..a3c6e5672e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.c @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE -#include - -int main(int argc, char **argv) -{ - splice(0, 0, 1, 0, 1<<30, 0); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#include + +int main(int argc, char **argv) +{ + splice(0, 0, 1, 0, 1<<30, 0); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.sh old mode 100644 new mode 100755 index a1e081dd88..490db5a2e4 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/splice/default_file_splice_read.sh @@ -1,8 +1,8 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -n=`./default_file_splice_read /dev/null || echo not) -ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) - -ifeq ($(ARCH),x86) -TEST_GEN_PROGS := power_floor_test - -include ../../../lib.mk - -endif -endif +# SPDX-License-Identifier: GPL-2.0 +ifndef CROSS_COMPILE +uname_M := $(shell uname -m 2>/dev/null || echo not) +ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) + +ifeq ($(ARCH),x86) +TEST_GEN_PROGS := power_floor_test + +include ../../../lib.mk + +endif +endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/thermal/intel/workload_hint/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/thermal/intel/workload_hint/Makefile index 079af0f3dc..37ff328628 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/thermal/intel/workload_hint/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/thermal/intel/workload_hint/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -ifndef CROSS_COMPILE -uname_M := $(shell uname -m 2>/dev/null || echo not) -ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) - -ifeq ($(ARCH),x86) -TEST_GEN_PROGS := workload_hint_test - -include ../../../lib.mk - -endif -endif +# SPDX-License-Identifier: GPL-2.0 +ifndef CROSS_COMPILE +uname_M := $(shell uname -m 2>/dev/null || echo not) +ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) + +ifeq ($(ARCH),x86) +TEST_GEN_PROGS := workload_hint_test + +include ../../../lib.mk + +endif +endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/.gitignore index 1e1047ec87..cae8dca0fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/.gitignore @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0-only -clock_nanosleep -exec -futex -gettime_perf -gettime_perf_cold -procfs -timens -timer -timerfd -vfork_exec +# SPDX-License-Identifier: GPL-2.0-only +clock_nanosleep +exec +futex +gettime_perf +gettime_perf_cold +procfs +timens +timer +timerfd +vfork_exec diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/Makefile index 9391ab37a1..f0d51d4d2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timens/Makefile @@ -1,7 +1,7 @@ -TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec -TEST_GEN_PROGS_EXTENDED := gettime_perf - -CFLAGS := -Wall -Werror -pthread -LDLIBS := -lrt -ldl - -include ../lib.mk +TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec +TEST_GEN_PROGS_EXTENDED := gettime_perf + +CFLAGS := -Wall -Werror -pthread +LDLIBS := -lrt -ldl + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timers/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timers/.gitignore index 3a06c8cb03..bb5326ff90 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timers/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/timers/.gitignore @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0-only -alarmtimer-suspend -change_skew -clocksource-switch -inconsistency-check -leap-a-day -leapcrash -mqueue-lat -nanosleep -nsleep-lat -posix_timers -raw_skew -rtcpie -set-2038 -set-tai -set-timer-lat -skew_consistency -threadtest -valid-adjtimex -adjtick -set-tz -freq-step +# SPDX-License-Identifier: GPL-2.0-only +alarmtimer-suspend +change_skew +clocksource-switch +inconsistency-check +leap-a-day +leapcrash +mqueue-lat +nanosleep +nsleep-lat +posix_timers +raw_skew +rtcpie +set-2038 +set-tai +set-timer-lat +skew_consistency +threadtest +valid-adjtimex +adjtick +set-tz +freq-step diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tmpfs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tmpfs/Makefile index 2ead4d3692..3be931e119 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tmpfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tmpfs/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -Wall -O2 - -TEST_GEN_PROGS := -TEST_GEN_PROGS += bug-link-o-tmpfile - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0-only +CFLAGS += -Wall -O2 + +TEST_GEN_PROGS := +TEST_GEN_PROGS += bug-link-o-tmpfile + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/Makefile index cb04209b4a..a9bf9459fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -include ../lib.mk - -TEST_PROGS := test_smoke.sh test_space.sh test_async.sh -TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +include ../lib.mk + +TEST_PROGS := test_smoke.sh test_space.sh test_async.sh +TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_async.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_async.sh old mode 100644 new mode 100755 index 92e8a8eeee..cf5a9c8260 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_async.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_async.sh @@ -1,10 +1,10 @@ -#!/bin/sh -# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) - -# Kselftest framework requirement - SKIP code is 4. -ksft_skip=4 - -[ -e /dev/tpm0 ] || exit $ksft_skip -[ -e /dev/tpmrm0 ] || exit $ksft_skip - -python3 -m unittest -v tpm2_tests.AsyncTest 2>&1 +#!/bin/sh +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) + +# Kselftest framework requirement - SKIP code is 4. +ksft_skip=4 + +[ -e /dev/tpm0 ] || exit $ksft_skip +[ -e /dev/tpmrm0 ] || exit $ksft_skip + +python3 -m unittest -v tpm2_tests.AsyncTest 2>&1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_smoke.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_smoke.sh old mode 100644 new mode 100755 index 0845a32545..168f4b1662 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_smoke.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_smoke.sh @@ -1,11 +1,11 @@ -#!/bin/sh -# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) - -# Kselftest framework requirement - SKIP code is 4. -ksft_skip=4 - -[ -e /dev/tpm0 ] || exit $ksft_skip -read tpm_version < /sys/class/tpm/tpm0/tpm_version_major -[ "$tpm_version" == 2 ] || exit $ksft_skip - -python3 -m unittest -v tpm2_tests.SmokeTest 2>&1 +#!/bin/sh +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) + +# Kselftest framework requirement - SKIP code is 4. +ksft_skip=4 + +[ -e /dev/tpm0 ] || exit $ksft_skip +read tpm_version < /sys/class/tpm/tpm0/tpm_version_major +[ "$tpm_version" == 2 ] || exit $ksft_skip + +python3 -m unittest -v tpm2_tests.SmokeTest 2>&1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_space.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_space.sh old mode 100644 new mode 100755 index 00b2b36300..93894cbc89 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_space.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tpm2/test_space.sh @@ -1,9 +1,9 @@ -#!/bin/sh -# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) - -# Kselftest framework requirement - SKIP code is 4. -ksft_skip=4 - -[ -e /dev/tpmrm0 ] || exit $ksft_skip - -python3 -m unittest -v tpm2_tests.SpaceTest 2>&1 +#!/bin/sh +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) + +# Kselftest framework requirement - SKIP code is 4. +ksft_skip=4 + +[ -e /dev/tpmrm0 ] || exit $ksft_skip + +python3 -m unittest -v tpm2_tests.SpaceTest 2>&1 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tty/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tty/Makefile index 98fe62d692..50d7027b2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tty/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tty/Makefile @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS = -O2 -Wall -TEST_GEN_PROGS := tty_tstamp_update - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS = -O2 -Wall +TEST_GEN_PROGS := tty_tstamp_update + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/uevent/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/uevent/Makefile index 1f26ceffc7..f7baa9aa29 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/uevent/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/uevent/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -include ../lib.mk - -.PHONY: all clean - -BINARIES := uevent_filtering -CFLAGS += -Wl,-no-as-needed -Wall - -uevent_filtering: uevent_filtering.c ../kselftest.h ../kselftest_harness.h - $(CC) $(CFLAGS) $< -o $@ - -TEST_PROGS += $(BINARIES) -EXTRA_CLEAN := $(BINARIES) - -all: $(BINARIES) +# SPDX-License-Identifier: GPL-2.0 +all: + +include ../lib.mk + +.PHONY: all clean + +BINARIES := uevent_filtering +CFLAGS += -Wl,-no-as-needed -Wall + +uevent_filtering: uevent_filtering.c ../kselftest.h ../kselftest_harness.h + $(CC) $(CFLAGS) $< -o $@ + +TEST_PROGS += $(BINARIES) +EXTRA_CLEAN := $(BINARIES) + +all: $(BINARIES) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/user_events/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/user_events/Makefile index f8c00ff356..10fcd00662 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/user_events/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/user_events/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) -LDLIBS += -lrt -lpthread -lm - -TEST_GEN_PROGS = ftrace_test dyn_test perf_test abi_test - -TEST_FILES := settings - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) +LDLIBS += -lrt -lpthread -lm + +TEST_GEN_PROGS = ftrace_test dyn_test perf_test abi_test + +TEST_FILES := settings + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/vDSO/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/vDSO/.gitignore index 02196e3e65..30d5c8f0e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/vDSO/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/vDSO/.gitignore @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0-only -vdso_test -vdso_test_abi -vdso_test_clock_getres -vdso_test_correctness -vdso_test_gettimeofday -vdso_test_getcpu -vdso_standalone_test_x86 -vdso_test_getrandom -vdso_test_chacha +# SPDX-License-Identifier: GPL-2.0-only +vdso_test +vdso_test_abi +vdso_test_clock_getres +vdso_test_correctness +vdso_test_gettimeofday +vdso_test_getcpu +vdso_standalone_test_x86 +vdso_test_getrandom +vdso_test_chacha diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/watchdog/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/watchdog/Makefile index b094c2f2db..6b5598b552 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/watchdog/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/watchdog/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -TEST_GEN_PROGS := watchdog-test - -include ../lib.mk +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := watchdog-test + +include ../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64.config index 476f942e09..09016880ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64.config @@ -1,8 +1,8 @@ -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyAMA0 wg.success=vport0p1 panic_on_warn=1" -CONFIG_FRAME_WARN=1280 +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyAMA0 wg.success=vport0p1 panic_on_warn=1" +CONFIG_FRAME_WARN=1280 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64_be.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64_be.config index 86582eab34..19ff66e4c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64_be.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/aarch64_be.config @@ -1,9 +1,9 @@ -CONFIG_CPU_BIG_ENDIAN=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyAMA0 wg.success=vport0p1 panic_on_warn=1" -CONFIG_FRAME_WARN=1280 +CONFIG_CPU_BIG_ENDIAN=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyAMA0 wg.success=vport0p1 panic_on_warn=1" +CONFIG_FRAME_WARN=1280 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/i686.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/i686.config index d0703c40a6..35b0650260 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/i686.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/i686.config @@ -1,10 +1,10 @@ -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t" -CONFIG_FRAME_WARN=1024 +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t" +CONFIG_FRAME_WARN=1024 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/m68k.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/m68k.config index ed6c8c5f60..39c48cba56 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/m68k.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/m68k.config @@ -1,7 +1,7 @@ -CONFIG_MMU=y -CONFIG_VIRT=y -CONFIG_M68KCLASSIC=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_CMDLINE="console=ttyGF0 wg.success=vport0p1 panic_on_warn=1" -CONFIG_FRAME_WARN=1024 +CONFIG_MMU=y +CONFIG_VIRT=y +CONFIG_M68KCLASSIC=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_CMDLINE="console=ttyGF0 wg.success=vport0p1 panic_on_warn=1" +CONFIG_FRAME_WARN=1024 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/mips.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/mips.config index c8fbec2634..2a84402353 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/mips.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/mips.config @@ -1,12 +1,12 @@ -CONFIG_CPU_MIPS32_R2=y -CONFIG_MIPS_MALTA=y -CONFIG_MIPS_CPS=y -CONFIG_MIPS_FP_SUPPORT=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1" -CONFIG_FRAME_WARN=1024 +CONFIG_CPU_MIPS32_R2=y +CONFIG_MIPS_MALTA=y +CONFIG_MIPS_CPS=y +CONFIG_MIPS_FP_SUPPORT=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1" +CONFIG_FRAME_WARN=1024 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc.config index 2366c01f70..174a9ffe2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc.config @@ -1,11 +1,11 @@ -CONFIG_PPC_QEMU_E500=y -CONFIG_FSL_SOC_BOOKE=y -CONFIG_PPC_85xx=y -CONFIG_PHYS_64BIT=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_MATH_EMULATION=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1" -CONFIG_FRAME_WARN=1024 +CONFIG_PPC_QEMU_E500=y +CONFIG_FSL_SOC_BOOKE=y +CONFIG_PPC_85xx=y +CONFIG_PHYS_64BIT=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_MATH_EMULATION=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1" +CONFIG_FRAME_WARN=1024 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64.config index 66148d443e..737194b761 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64.config @@ -1,13 +1,13 @@ -CONFIG_PPC64=y -CONFIG_PPC_PSERIES=y -CONFIG_ALTIVEC=y -CONFIG_VSX=y -CONFIG_PPC_OF_BOOT_TRAMPOLINE=y -CONFIG_PPC_RADIX_MMU=y -CONFIG_HVC_CONSOLE=y -CONFIG_CPU_BIG_ENDIAN=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=hvc0 wg.success=hvc1 panic_on_warn=1" -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_FRAME_WARN=1280 -CONFIG_THREAD_SHIFT=14 +CONFIG_PPC64=y +CONFIG_PPC_PSERIES=y +CONFIG_ALTIVEC=y +CONFIG_VSX=y +CONFIG_PPC_OF_BOOT_TRAMPOLINE=y +CONFIG_PPC_RADIX_MMU=y +CONFIG_HVC_CONSOLE=y +CONFIG_CPU_BIG_ENDIAN=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=hvc0 wg.success=hvc1 panic_on_warn=1" +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_FRAME_WARN=1280 +CONFIG_THREAD_SHIFT=14 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64le.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64le.config index 2a8426da60..8148b9d122 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64le.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/powerpc64le.config @@ -1,13 +1,13 @@ -CONFIG_PPC64=y -CONFIG_PPC_PSERIES=y -CONFIG_ALTIVEC=y -CONFIG_VSX=y -CONFIG_PPC_OF_BOOT_TRAMPOLINE=y -CONFIG_PPC_RADIX_MMU=y -CONFIG_HVC_CONSOLE=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=hvc0 wg.success=hvc1 panic_on_warn=1" -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_FRAME_WARN=1280 -CONFIG_THREAD_SHIFT=14 +CONFIG_PPC64=y +CONFIG_PPC_PSERIES=y +CONFIG_ALTIVEC=y +CONFIG_VSX=y +CONFIG_PPC_OF_BOOT_TRAMPOLINE=y +CONFIG_PPC_RADIX_MMU=y +CONFIG_HVC_CONSOLE=y +CONFIG_CPU_LITTLE_ENDIAN=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=hvc0 wg.success=hvc1 panic_on_warn=1" +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_FRAME_WARN=1280 +CONFIG_THREAD_SHIFT=14 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/riscv64.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/riscv64.config index 398951cfba..db1aa9f388 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/riscv64.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/riscv64.config @@ -1,13 +1,13 @@ -CONFIG_ARCH_RV64I=y -CONFIG_MMU=y -CONFIG_FPU=y -CONFIG_ARCH_VIRT=y -CONFIG_RISCV_ISA_FALLBACK=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1" -CONFIG_CMDLINE_FORCE=y +CONFIG_ARCH_RV64I=y +CONFIG_MMU=y +CONFIG_FPU=y +CONFIG_ARCH_VIRT=y +CONFIG_RISCV_ISA_FALLBACK=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1" +CONFIG_CMDLINE_FORCE=y diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/s390x.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/s390x.config index e4bd22eff2..a7b44dca0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/s390x.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/s390x.config @@ -1,6 +1,6 @@ -CONFIG_SCLP_VT220_TTY=y -CONFIG_SCLP_VT220_CONSOLE=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_S390_GUEST=y -CONFIG_CMDLINE="console=ttysclp0 wg.success=vport0p1 panic_on_warn=1" +CONFIG_SCLP_VT220_TTY=y +CONFIG_SCLP_VT220_CONSOLE=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_S390_GUEST=y +CONFIG_CMDLINE="console=ttysclp0 wg.success=vport0p1 panic_on_warn=1" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/um.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/um.config index 341e0e1944..c8b229e081 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/um.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/um.config @@ -1,3 +1,3 @@ -CONFIG_64BIT=y -CONFIG_CMDLINE="wg.success=tty1 panic_on_warn=1" -CONFIG_FRAME_WARN=1280 +CONFIG_64BIT=y +CONFIG_CMDLINE="wg.success=tty1 panic_on_warn=1" +CONFIG_FRAME_WARN=1280 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/x86_64.config b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/x86_64.config index fca7d731bc..cf2d1376d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/x86_64.config +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/wireguard/qemu/arch/x86_64.config @@ -1,9 +1,9 @@ -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t" -CONFIG_FRAME_WARN=1280 +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t" +CONFIG_FRAME_WARN=1280 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/.gitignore index 898b4d0c8c..1aaef5bf11 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/.gitignore @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0-only -*_32 -*_64 -single_step_syscall -sysret_ss_attrs -syscall_nt -ptrace_syscall -test_mremap_vdso -check_initial_reg_state -sigreturn -ldt_gdt -iopl -mpx-mini-test -ioperm -test_vdso +# SPDX-License-Identifier: GPL-2.0-only +*_32 +*_64 +single_step_syscall +sysret_ss_attrs +syscall_nt +ptrace_syscall +test_mremap_vdso +check_initial_reg_state +sigreturn +ldt_gdt +iopl +mpx-mini-test +ioperm +test_vdso diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/bugs/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/bugs/Makefile index a660afd5fc..8ff2d7226c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/bugs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/bugs/Makefile @@ -1,3 +1,3 @@ -TEST_PROGS := its_sysfs.py its_permutations.py its_indirect_alignment.py its_ret_alignment.py -TEST_FILES := common.py -include ../../lib.mk +TEST_PROGS := its_sysfs.py its_permutations.py its_indirect_alignment.py its_ret_alignment.py +TEST_FILES := common.py +include ../../lib.mk diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/check_cc.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/check_cc.sh old mode 100644 new mode 100755 index 73ed748dcc..8c669c0d66 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/check_cc.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/check_cc.sh @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0-only -# check_cc.sh - Helper to test userspace compilation support -# Copyright (c) 2015 Andrew Lutomirski - -CC="$1" -TESTPROG="$2" -shift 2 - -if [ -n "$CC" ] && $CC -o /dev/null "$TESTPROG" -O0 "$@" 2>/dev/null; then - echo 1 -else - echo 0 -fi - -exit 0 +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only +# check_cc.sh - Helper to test userspace compilation support +# Copyright (c) 2015 Andrew Lutomirski + +CC="$1" +TESTPROG="$2" +shift 2 + +if [ -n "$CC" ] && $CC -o /dev/null "$TESTPROG" -O0 "$@" 2>/dev/null; then + echo 1 +else + echo 0 +fi + +exit 0 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/clang_helpers_32.S b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/clang_helpers_32.S index 252256f325..dc16271bac 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/clang_helpers_32.S +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/clang_helpers_32.S @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * 32-bit assembly helpers for asm operations that lack support in both gcc and - * clang. For example, clang asm does not support segment prefixes. - */ -.global dereference_seg_base -dereference_seg_base: - mov %fs:(0), %eax - ret - -.section .note.GNU-stack,"",%progbits +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * 32-bit assembly helpers for asm operations that lack support in both gcc and + * clang. For example, clang asm does not support segment prefixes. + */ +.global dereference_seg_base +dereference_seg_base: + mov %fs:(0), %eax + ret + +.section .note.GNU-stack,"",%progbits diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_32bit_program.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_32bit_program.c index 5392adb7b0..aa1f58c2f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_32bit_program.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_32bit_program.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Trivial program to check that we have a valid 32-bit build environment. - * Copyright (c) 2015 Andy Lutomirski - */ - -#ifndef __i386__ -# error wrong architecture -#endif - -#include - -int main() -{ - printf("\n"); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Trivial program to check that we have a valid 32-bit build environment. + * Copyright (c) 2015 Andy Lutomirski + */ + +#ifndef __i386__ +# error wrong architecture +#endif + +#include + +int main() +{ + printf("\n"); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_64bit_program.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_64bit_program.c index e8eb7eebcc..39f4b84fbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_64bit_program.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_64bit_program.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Trivial program to check that we have a valid 64-bit build environment. - * Copyright (c) 2015 Andy Lutomirski - */ - -#ifndef __x86_64__ -# error wrong architecture -#endif - -#include - -int main() -{ - printf("\n"); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Trivial program to check that we have a valid 64-bit build environment. + * Copyright (c) 2015 Andy Lutomirski + */ + +#ifndef __x86_64__ +# error wrong architecture +#endif + +#include + +int main() +{ + printf("\n"); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_program.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_program.c index 80b7cf7361..46a447163b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_program.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/x86/trivial_program.c @@ -1,10 +1,10 @@ -/* Trivial program to check that compilation with certain flags is working. */ - -#include - -int -main(void) -{ - puts(""); - return 0; -} +/* Trivial program to check that compilation with certain flags is working. */ + +#include + +int +main(void) +{ + puts(""); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/Makefile index 726950a8ba..7f78eb1b59 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -all: - -TEST_PROGS := zram.sh -TEST_FILES := zram01.sh zram02.sh zram_lib.sh -EXTRA_CLEAN := err.log - -include ../lib.mk - +# SPDX-License-Identifier: GPL-2.0 +all: + +TEST_PROGS := zram.sh +TEST_FILES := zram01.sh zram02.sh zram_lib.sh +EXTRA_CLEAN := err.log + +include ../lib.mk + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/zram.sh b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/zram.sh old mode 100644 new mode 100755 index 6c46358472..b0b91d9b0d --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/zram.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/zram/zram.sh @@ -1,18 +1,18 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -TCID="zram.sh" - -. ./zram_lib.sh - -run_zram () { -echo "--------------------" -echo "running zram tests" -echo "--------------------" -./zram01.sh -echo "" -./zram02.sh -} - -check_prereqs - -run_zram +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +TCID="zram.sh" + +. ./zram_lib.sh + +run_zram () { +echo "--------------------" +echo "running zram tests" +echo "--------------------" +./zram01.sh +echo "" +./zram02.sh +} + +check_prereqs + +run_zram diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/local_lock.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/local_lock.h index 33cf453783..b3cf8b233c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/local_lock.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/local_lock.h @@ -1,8 +1,8 @@ -#ifndef _LINUX_LOCAL_LOCK -#define _LINUX_LOCAL_LOCK -typedef struct { } local_lock_t; - -static inline void local_lock(local_lock_t *lock) { } -static inline void local_unlock(local_lock_t *lock) { } -#define INIT_LOCAL_LOCK(x) { } -#endif +#ifndef _LINUX_LOCAL_LOCK +#define _LINUX_LOCAL_LOCK +typedef struct { } local_lock_t; + +static inline void local_lock(local_lock_t *lock) { } +static inline void local_unlock(local_lock_t *lock) { } +#define INIT_LOCAL_LOCK(x) { } +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/lockdep.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/lockdep.h index fcb831e1e6..62473ab57f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/lockdep.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/lockdep.h @@ -1,16 +1,16 @@ -#ifndef _LINUX_LOCKDEP_H -#define _LINUX_LOCKDEP_H - -#include - -struct lock_class_key { - unsigned int a; -}; - -static inline void lockdep_set_class(spinlock_t *lock, - struct lock_class_key *key) -{ -} - -extern int lockdep_is_held(const void *); -#endif /* _LINUX_LOCKDEP_H */ +#ifndef _LINUX_LOCKDEP_H +#define _LINUX_LOCKDEP_H + +#include + +struct lock_class_key { + unsigned int a; +}; + +static inline void lockdep_set_class(spinlock_t *lock, + struct lock_class_key *key) +{ +} + +extern int lockdep_is_held(const void *); +#endif /* _LINUX_LOCKDEP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/maple_tree.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/maple_tree.h index 23f7921962..f67d47d328 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/maple_tree.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/maple_tree.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -#define atomic_t int32_t -#define atomic_inc(x) uatomic_inc(x) -#define atomic_read(x) uatomic_read(x) -#define atomic_set(x, y) uatomic_set(x, y) -#define U8_MAX UCHAR_MAX -#include "../../../../include/linux/maple_tree.h" +/* SPDX-License-Identifier: GPL-2.0+ */ +#define atomic_t int32_t +#define atomic_inc(x) uatomic_inc(x) +#define atomic_read(x) uatomic_read(x) +#define atomic_set(x, y) uatomic_set(x, y) +#define U8_MAX UCHAR_MAX +#include "../../../../include/linux/maple_tree.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/preempt.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/preempt.h index 72130d25a2..edb10302b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/preempt.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/preempt.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_PREEMPT_H -#define __LINUX_PREEMPT_H - -extern int preempt_count; - -#define preempt_disable() uatomic_inc(&preempt_count) -#define preempt_enable() uatomic_dec(&preempt_count) - -static inline int in_interrupt(void) -{ - return 0; -} - -#endif /* __LINUX_PREEMPT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_PREEMPT_H +#define __LINUX_PREEMPT_H + +extern int preempt_count; + +#define preempt_disable() uatomic_inc(&preempt_count) +#define preempt_enable() uatomic_dec(&preempt_count) + +static inline int in_interrupt(void) +{ + return 0; +} + +#endif /* __LINUX_PREEMPT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/rcupdate.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/rcupdate.h index 43ca049a7a..fed468fb0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/rcupdate.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/rcupdate.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _RCUPDATE_H -#define _RCUPDATE_H - -#include - -#define rcu_dereference_raw(p) rcu_dereference(p) -#define rcu_dereference_protected(p, cond) rcu_dereference(p) -#define rcu_dereference_check(p, cond) rcu_dereference(p) -#define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _RCUPDATE_H +#define _RCUPDATE_H + +#include + +#define rcu_dereference_raw(p) rcu_dereference(p) +#define rcu_dereference_protected(p, cond) rcu_dereference(p) +#define rcu_dereference_check(p, cond) rcu_dereference(p) +#define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/xarray.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/xarray.h index 0b52fa4dc8..df3812cda3 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/xarray.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/linux/xarray.h @@ -1,2 +1,2 @@ -#include "generated/map-shift.h" -#include "../../../../include/linux/xarray.h" +#include "generated/map-shift.h" +#include "../../../../include/linux/xarray.h" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shared.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shared.h index 7984a51682..dc4d30f386 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shared.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shared.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -#ifndef __MAPLE_SHARED_H__ -#define __MAPLE_SHARED_H__ - -#define CONFIG_DEBUG_MAPLE_TREE -#define CONFIG_MAPLE_SEARCH -#define MAPLE_32BIT (MAPLE_NODE_SLOTS > 31) -#include "shared.h" -#include -#include -#include "linux/init.h" - -#endif /* __MAPLE_SHARED_H__ */ +/* SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __MAPLE_SHARED_H__ +#define __MAPLE_SHARED_H__ + +#define CONFIG_DEBUG_MAPLE_TREE +#define CONFIG_MAPLE_SEARCH +#define MAPLE_32BIT (MAPLE_NODE_SLOTS > 31) +#include "shared.h" +#include +#include +#include "linux/init.h" + +#endif /* __MAPLE_SHARED_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shim.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shim.c index 3a7fdd7e1a..640df76f48 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shim.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/maple-shim.c @@ -1,7 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -/* Very simple shim around the maple tree. */ - -#include "maple-shared.h" - -#include "../../../lib/maple_tree.c" +// SPDX-License-Identifier: GPL-2.0-or-later + +/* Very simple shim around the maple tree. */ + +#include "maple-shared.h" + +#include "../../../lib/maple_tree.c" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/trace/events/maple_tree.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/trace/events/maple_tree.h index cdfd045ad9..97d0e1ddcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/trace/events/maple_tree.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/trace/events/maple_tree.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#define trace_ma_op(a, b) do {} while (0) -#define trace_ma_read(a, b) do {} while (0) -#define trace_ma_write(a, b, c, d) do {} while (0) +/* SPDX-License-Identifier: GPL-2.0+ */ + +#define trace_ma_op(a, b) do {} while (0) +#define trace_ma_read(a, b) do {} while (0) +#define trace_ma_write(a, b, c, d) do {} while (0) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.c b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.c index 19d7267383..e90901958d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.c +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.c @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "xarray-shared.h" - -#include "../../../lib/xarray.c" +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "xarray-shared.h" + +#include "../../../lib/xarray.c" diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.h index 6ccbf5e510..d50de78848 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/shared/xarray-shared.h @@ -1,8 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -#ifndef __XARRAY_SHARED_H__ -#define __XARRAY_SHARED_H__ - -#define XA_DEBUG -#include "shared.h" - -#endif /* __XARRAY_SHARED_H__ */ +/* SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __XARRAY_SHARED_H__ +#define __XARRAY_SHARED_H__ + +#define XA_DEBUG +#include "shared.h" + +#endif /* __XARRAY_SHARED_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/.gitignore index 537d0df035..b003258eba 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -generated/bit-length.h -generated/map-shift.h -generated/autoconf.h -idr.c -radix-tree.c -vma +# SPDX-License-Identifier: GPL-2.0-only +generated/bit-length.h +generated/map-shift.h +generated/autoconf.h +idr.c +radix-tree.c +vma diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/linux/atomic.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/linux/atomic.h index 07968afa26..3e1b6adc02 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/linux/atomic.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/vma/linux/atomic.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _LINUX_ATOMIC_H -#define _LINUX_ATOMIC_H - -#define atomic_t int32_t -#define atomic_inc(x) uatomic_inc(x) -#define atomic_read(x) uatomic_read(x) -#define atomic_set(x, y) uatomic_set(x, y) -#define U8_MAX UCHAR_MAX - -#endif /* _LINUX_ATOMIC_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef _LINUX_ATOMIC_H +#define _LINUX_ATOMIC_H + +#define atomic_t int32_t +#define atomic_inc(x) uatomic_inc(x) +#define atomic_read(x) uatomic_read(x) +#define atomic_set(x, y) uatomic_set(x, y) +#define U8_MAX UCHAR_MAX + +#endif /* _LINUX_ATOMIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/.gitignore index 85f3f7ab91..d9f798713c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -*.d -vsock_test -vsock_diag_test -vsock_perf -vsock_uring_test +# SPDX-License-Identifier: GPL-2.0-only +*.d +vsock_test +vsock_diag_test +vsock_perf +vsock_uring_test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/timeout.h b/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/timeout.h index ac125d2bf8..ecb7c840e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/timeout.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/testing/vsock/timeout.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef TIMEOUT_H -#define TIMEOUT_H - -enum { - /* Default timeout */ - TIMEOUT = 10 /* seconds */ -}; - -void sigalrm(int signo); -void timeout_begin(unsigned int seconds); -void timeout_check(const char *operation); -void timeout_end(void); - -#endif /* TIMEOUT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef TIMEOUT_H +#define TIMEOUT_H + +enum { + /* Default timeout */ + TIMEOUT = 10 /* seconds */ +}; + +void sigalrm(int signo); +void timeout_begin(unsigned int seconds); +void timeout_check(const char *operation); +void timeout_end(void); + +#endif /* TIMEOUT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/Build b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/Build index 116275a5f8..06f22760a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/Build @@ -1,3 +1,3 @@ -libthermal_tools-y += mainloop.o -libthermal_tools-y += log.o -libthermal_tools-y += uptimeofday.o +libthermal_tools-y += mainloop.o +libthermal_tools-y += log.o +libthermal_tools-y += uptimeofday.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/libthermal_tools.pc.template b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/libthermal_tools.pc.template index 8e0f371ee5..6f3769731b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/libthermal_tools.pc.template +++ b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/libthermal_tools.pc.template @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - -prefix=@PREFIX@ -libdir=@LIBDIR@ -includedir=${prefix}/include - -Name: libthermal -Description: thermal library -Requires: libnl-3.0 libnl-genl-3.0 -Version: @VERSION@ -Libs: -L${libdir} -lnl-genl-3 -lnl-3 -Cflags: -I${includedir} -I{include}/libnl3 +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=${prefix}/include + +Name: libthermal +Description: thermal library +Requires: libnl-3.0 libnl-genl-3.0 +Version: @VERSION@ +Libs: -L${libdir} -lnl-genl-3 -lnl-3 +Cflags: -I${includedir} -I{include}/libnl3 diff --git a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/thermal-tools.h b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/thermal-tools.h index 83399f0828..f43939a468 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/thermal-tools.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/thermal/lib/thermal-tools.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: LGPL-2.1+ */ -/* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano */ -#ifndef __THERMAL_TOOLS -#define __THERMAL_TOOLS - -#include "log.h" -#include "mainloop.h" -#include "uptimeofday.h" - -#endif +/* SPDX-License-Identifier: LGPL-2.1+ */ +/* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano */ +#ifndef __THERMAL_TOOLS +#define __THERMAL_TOOLS + +#include "log.h" +#include "mainloop.h" +#include "uptimeofday.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/thermal/thermometer/thermometer.conf b/image/debian/UFI003_MB_V02/kernel/tools/thermal/thermometer/thermometer.conf index b62dcb3c0d..02c6dab3b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/thermal/thermometer/thermometer.conf +++ b/image/debian/UFI003_MB_V02/kernel/tools/thermal/thermometer/thermometer.conf @@ -1,5 +1,5 @@ - -thermal-zones = ( - { name = "cpu[0-9]-thermal"; - polling = 100; } - ) + +thermal-zones = ( + { name = "cpu[0-9]-thermal"; + polling = 100; } + ) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/tracing/latency/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/tracing/latency/.gitignore index 53262d48ae..2bb8e60f7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/tracing/latency/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/tracing/latency/.gitignore @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0-only -latency-collector -fixdep -feature -FEATURE-DUMP +# SPDX-License-Identifier: GPL-2.0-only +latency-collector +fixdep +feature +FEATURE-DUMP diff --git a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/.gitignore index aa79876814..293f0dbb0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -rtla -rtla-static -fixdep -feature -FEATURE-DUMP +# SPDX-License-Identifier: GPL-2.0-only +rtla +rtla-static +fixdep +feature +FEATURE-DUMP diff --git a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/Build b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/Build index 6ca11be60c..dbed9e3182 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/Build +++ b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/Build @@ -1,11 +1,11 @@ -rtla-y += trace.o -rtla-y += utils.o -rtla-y += osnoise.o -rtla-y += osnoise_top.o -rtla-y += osnoise_hist.o -rtla-y += timerlat.o -rtla-y += timerlat_top.o -rtla-y += timerlat_hist.o -rtla-y += timerlat_u.o -rtla-y += timerlat_aa.o -rtla-y += rtla.o +rtla-y += trace.o +rtla-y += utils.o +rtla-y += osnoise.o +rtla-y += osnoise_top.o +rtla-y += osnoise_hist.o +rtla-y += timerlat.o +rtla-y += timerlat_top.o +rtla-y += timerlat_hist.o +rtla-y += timerlat_u.o +rtla-y += timerlat_aa.o +rtla-y += rtla.o diff --git a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat.h b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat.h index a52cd4744d..88561bfd14 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 -int timerlat_hist_main(int argc, char *argv[]); -int timerlat_top_main(int argc, char *argv[]); -int timerlat_main(int argc, char *argv[]); +// SPDX-License-Identifier: GPL-2.0 +int timerlat_hist_main(int argc, char *argv[]); +int timerlat_top_main(int argc, char *argv[]); +int timerlat_main(int argc, char *argv[]); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat_aa.h b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat_aa.h index a1ea47c05d..cea4bb1531 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat_aa.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/tracing/rtla/src/timerlat_aa.h @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira - */ - -int timerlat_aa_init(struct osnoise_tool *tool, int dump_task); -void timerlat_aa_destroy(void); - -void timerlat_auto_analysis(int irq_thresh, int thread_thresh); +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira + */ + +int timerlat_aa_init(struct osnoise_tool *tool, int dump_task); +void timerlat_aa_destroy(void); + +void timerlat_auto_analysis(int irq_thresh, int thread_thresh); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/multibuff/host_app/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/multibuff/host_app/Makefile index 2301f7dec2..df36e4c28f 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/multibuff/host_app/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/multibuff/host_app/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -CC = gcc -LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) -LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0) -WARNINGS = -Wall -Wextra -CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS) -LDFLAGS = $(LIBUSB_LIBS) - -all: test -%: %.c - $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) - -clean: - $(RM) test +# SPDX-License-Identifier: GPL-2.0 +CC = gcc +LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) +LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0) +WARNINGS = -Wall -Wextra +CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS) +LDFLAGS = $(LIBUSB_LIBS) + +all: test +%: %.c + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + $(RM) test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/simple/host_app/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/simple/host_app/Makefile index 94277b1fed..c3523837c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/simple/host_app/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/ffs-aio-example/simple/host_app/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -CC = gcc -LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) -LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0) -WARNINGS = -Wall -Wextra -CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS) -LDFLAGS = $(LIBUSB_LIBS) - -all: test -%: %.c - $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) - -clean: - $(RM) test +# SPDX-License-Identifier: GPL-2.0-only +CC = gcc +LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) +LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0) +WARNINGS = -Wall -Wextra +CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS) +LDFLAGS = $(LIBUSB_LIBS) + +all: test +%: %.c + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + $(RM) test diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/Makefile.am b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/Makefile.am index 7fac2f8062..5961e9c188 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/Makefile.am +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/Makefile.am @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 -SUBDIRS := libsrc src -includedir = @includedir@/usbip -include_HEADERS := $(addprefix libsrc/, \ - usbip_common.h vhci_driver.h usbip_host_driver.h \ - list.h sysfs_utils.h usbip_host_common.h) - -dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8) +# SPDX-License-Identifier: GPL-2.0 +SUBDIRS := libsrc src +includedir = @includedir@/usbip +include_HEADERS := $(addprefix libsrc/, \ + usbip_common.h vhci_driver.h usbip_host_driver.h \ + list.h sysfs_utils.h usbip_host_common.h) + +dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8) diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/autogen.sh b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/autogen.sh old mode 100644 new mode 100755 index 054779d23e..e1112d3fcb --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/autogen.sh +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/autogen.sh @@ -1,9 +1,9 @@ -#!/bin/sh -x - -#aclocal -#autoheader -#libtoolize --copy --force -#automake-1.9 -acf -#autoconf - -autoreconf -i -f -v +#!/bin/sh -x + +#aclocal +#autoheader +#libtoolize --copy --force +#automake-1.9 -acf +#autoconf + +autoreconf -i -f -v diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/libsrc/sysfs_utils.h b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/libsrc/sysfs_utils.h index 0e07d90b8c..0cd5f17e7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/libsrc/sysfs_utils.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/libsrc/sysfs_utils.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __SYSFS_UTILS_H -#define __SYSFS_UTILS_H - -int write_sysfs_attribute(const char *attr_path, const char *new_value, - size_t len); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __SYSFS_UTILS_H +#define __SYSFS_UTILS_H + +int write_sysfs_attribute(const char *attr_path, const char *new_value, + size_t len); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/src/utils.h b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/src/utils.h index 1a10a29532..4fc13854f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/src/utils.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/src/utils.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2011 matt mooney - * 2005-2007 Takahiro Hirofuchi - */ - -#ifndef __UTILS_H -#define __UTILS_H - -int modify_match_busid(char *busid, int add); - -#endif /* __UTILS_H */ - +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2011 matt mooney + * 2005-2007 Takahiro Hirofuchi + */ + +#ifndef __UTILS_H +#define __UTILS_H + +int modify_match_busid(char *busid, int add); + +#endif /* __UTILS_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/.gitignore index c7ad2a1466..34a486585a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -rv -rv-static -fixdep -feature -FEATURE-DUMP +# SPDX-License-Identifier: GPL-2.0-only +rv +rv-static +fixdep +feature +FEATURE-DUMP diff --git a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/in_kernel.h b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/in_kernel.h index 0e73542616..3090638c8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/in_kernel.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/in_kernel.h @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -int ikm_list_monitors(void); -int ikm_run_monitor(char *monitor, int argc, char **argv); +// SPDX-License-Identifier: GPL-2.0 +int ikm_list_monitors(void); +int ikm_run_monitor(char *monitor, int argc, char **argv); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/rv.h b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/rv.h index c159de3c2a..770fd6da36 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/rv.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/rv.h @@ -1,12 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0 - -#define MAX_DESCRIPTION 1024 -#define MAX_DA_NAME_LEN 24 - -struct monitor { - char name[MAX_DA_NAME_LEN]; - char desc[MAX_DESCRIPTION]; - int enabled; -}; - -int should_stop(void); +// SPDX-License-Identifier: GPL-2.0 + +#define MAX_DESCRIPTION 1024 +#define MAX_DA_NAME_LEN 24 + +struct monitor { + char name[MAX_DA_NAME_LEN]; + char desc[MAX_DESCRIPTION]; + int enabled; +}; + +int should_stop(void); diff --git a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/utils.h b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/utils.h index b2bff6cac8..f24ae8282b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/utils.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/verification/rv/include/utils.h @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 - -#define MAX_PATH 1024 - -void debug_msg(const char *fmt, ...); -void err_msg(const char *fmt, ...); - -extern int config_debug; +// SPDX-License-Identifier: GPL-2.0 + +#define MAX_PATH 1024 + +void debug_msg(const char *fmt, ...); +void err_msg(const char *fmt, ...); + +extern int config_debug; diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/virtio/.gitignore index 0593a077c9..7e47b281c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/.gitignore @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -*.d -virtio_test -vhost_net_test -vringh_test -virtio-trace/trace-agent +# SPDX-License-Identifier: GPL-2.0-only +*.d +virtio_test +vhost_net_test +vringh_test +virtio-trace/trace-agent diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/bug.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/bug.h index 7f8a38e0a0..51a919083d 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/bug.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BUG_H -#define _LINUX_BUG_H - -#include - -#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond)) - -#define BUG() abort() - -#endif /* _LINUX_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BUG_H +#define _LINUX_BUG_H + +#include + +#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond)) + +#define BUG() abort() + +#endif /* _LINUX_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/build_bug.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/build_bug.h index a2f16d2db8..cdbb75e28a 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/build_bug.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/build_bug.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_BUILD_BUG_H -#define _LINUX_BUILD_BUG_H - -#define BUILD_BUG_ON(x) - -#endif /* _LINUX_BUILD_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_BUILD_BUG_H +#define _LINUX_BUILD_BUG_H + +#define BUILD_BUG_ON(x) + +#endif /* _LINUX_BUILD_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/compiler.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/compiler.h index 83c53a0192..1f3a15b954 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/compiler.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/compiler.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_COMPILER_H -#define LINUX_COMPILER_H - -#include "../../../include/linux/compiler_types.h" - -#define WRITE_ONCE(var, val) \ - (*((volatile typeof(val) *)(&(var))) = (val)) - -#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) - -#define __aligned(x) __attribute((__aligned__(x))) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_COMPILER_H +#define LINUX_COMPILER_H + +#include "../../../include/linux/compiler_types.h" + +#define WRITE_ONCE(var, val) \ + (*((volatile typeof(val) *)(&(var))) = (val)) + +#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) + +#define __aligned(x) __attribute((__aligned__(x))) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/cpumask.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/cpumask.h index 9b3267862e..307da69d6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/cpumask.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/cpumask.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_CPUMASK_H -#define _LINUX_CPUMASK_H - -#include - -#endif /* _LINUX_CPUMASK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CPUMASK_H +#define _LINUX_CPUMASK_H + +#include + +#endif /* _LINUX_CPUMASK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/export.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/export.h index 0d2fb03947..416875e292 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/export.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/export.h @@ -1,3 +1,3 @@ -#define EXPORT_SYMBOL_GPL(sym) extern typeof(sym) sym -#define EXPORT_SYMBOL(sym) extern typeof(sym) sym - +#define EXPORT_SYMBOL_GPL(sym) extern typeof(sym) sym +#define EXPORT_SYMBOL(sym) extern typeof(sym) sym + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/gfp.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/gfp.h index bb26910f77..43d146f236 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/gfp.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/gfp.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LINUX_GFP_H -#define __LINUX_GFP_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LINUX_GFP_H +#define __LINUX_GFP_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/kmsan.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/kmsan.h index 501b546ab9..272b5aa285 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/kmsan.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/kmsan.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_KMSAN_H -#define _LINUX_KMSAN_H - -#include - -inline void kmsan_handle_dma(struct page *page, size_t offset, size_t size, - enum dma_data_direction dir) -{ -} - -#endif /* _LINUX_KMSAN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_KMSAN_H +#define _LINUX_KMSAN_H + +#include + +inline void kmsan_handle_dma(struct page *page, size_t offset, size_t size, + enum dma_data_direction dir) +{ +} + +#endif /* _LINUX_KMSAN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/module.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/module.h index b8d9ca21aa..9dfa96fea2 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/module.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/module.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -#define MODULE_LICENSE(__MODULE_LICENSE_value) \ - static __attribute__((unused)) const char *__MODULE_LICENSE_name = \ - __MODULE_LICENSE_value - +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +#define MODULE_LICENSE(__MODULE_LICENSE_value) \ + static __attribute__((unused)) const char *__MODULE_LICENSE_name = \ + __MODULE_LICENSE_value + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/printk.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/printk.h index 8d8c6069b6..9f2423bd89 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/printk.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/printk.h @@ -1,4 +1,4 @@ -#include "../../../include/linux/kern_levels.h" - -#define printk printf -#define vprintk vprintf +#include "../../../include/linux/kern_levels.h" + +#define printk printf +#define vprintk vprintf diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/ratelimit.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/ratelimit.h index 7b927991da..dcce1725f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/ratelimit.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/ratelimit.h @@ -1,4 +1,4 @@ -#define DEFINE_RATELIMIT_STATE(name, interval_init, burst_init) int name = 0 - -#define __ratelimit(x) (*(x)) - +#define DEFINE_RATELIMIT_STATE(name, interval_init, burst_init) int name = 0 + +#define __ratelimit(x) (*(x)) + diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/slab.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/slab.h index 31283fb05e..319dcaa077 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/slab.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/slab.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_SLAB_H -#define GFP_KERNEL 0 -#define GFP_ATOMIC 0 -#define __GFP_NOWARN 0 -#define __GFP_ZERO 0 -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_SLAB_H +#define GFP_KERNEL 0 +#define GFP_ATOMIC 0 +#define __GFP_NOWARN 0 +#define __GFP_ZERO 0 +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/topology.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/topology.h index 1c563c108f..910794afb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/topology.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_TOPOLOGY_H -#define _LINUX_TOPOLOGY_H - -#include - -#endif /* _LINUX_TOPOLOGY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_TOPOLOGY_H +#define _LINUX_TOPOLOGY_H + +#include + +#endif /* _LINUX_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/virtio_byteorder.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/virtio_byteorder.h index 7d1d9d9797..5b50f7eebd 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/virtio_byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/linux/virtio_byteorder.h @@ -1,9 +1,9 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_VIRTIO_BYTEORDER_STUB_H -#define _LINUX_VIRTIO_BYTEORDER_STUB_H - -#include -#include "../../include/linux/byteorder/generic.h" -#include "../../include/linux/virtio_byteorder.h" - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_VIRTIO_BYTEORDER_STUB_H +#define _LINUX_VIRTIO_BYTEORDER_STUB_H + +#include +#include "../../include/linux/byteorder/generic.h" +#include "../../include/linux/virtio_byteorder.h" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/.gitignore b/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/.gitignore index f6f989ff2d..100b9e30c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/.gitignore @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0-only -/noring -/ptr_ring -/ring -/virtio_ring_0_9 -/virtio_ring_inorder -/virtio_ring_poll +# SPDX-License-Identifier: GPL-2.0-only +/noring +/ptr_ring +/ring +/virtio_ring_0_9 +/virtio_ring_inorder +/virtio_ring_poll diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/README b/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/README index f062314777..d83707a336 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/README +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/README @@ -1,6 +1,6 @@ -Partial implementation of various ring layouts, useful to tune virtio design. -Uses shared memory heavily. - -Typical use: - -# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring +Partial implementation of various ring layouts, useful to tune virtio design. +Uses shared memory heavily. + +Typical use: + +# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/uapi/linux/virtio_ring.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/uapi/linux/virtio_ring.h index 3b9b1a2fb6..cf50b2e5ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/uapi/linux/virtio_ring.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/uapi/linux/virtio_ring.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef VIRTIO_RING_H -#define VIRTIO_RING_H -#include "../../../../include/uapi/linux/virtio_ring.h" -#endif /* VIRTIO_RING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef VIRTIO_RING_H +#define VIRTIO_RING_H +#include "../../../../include/uapi/linux/virtio_ring.h" +#endif /* VIRTIO_RING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/vhost_test/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/virtio/vhost_test/Makefile index 258ae79416..94d3aff987 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/vhost_test/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/vhost_test/Makefile @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-m += vhost_test.o -EXTRA_CFLAGS += -Idrivers/vhost +# SPDX-License-Identifier: GPL-2.0-only +obj-m += vhost_test.o +EXTRA_CFLAGS += -Idrivers/vhost diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/virtio-trace/Makefile b/image/debian/UFI003_MB_V02/kernel/tools/virtio/virtio-trace/Makefile index 6a10468094..7843ebcda7 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/virtio-trace/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/virtio-trace/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -CC = gcc -CFLAGS = -O2 -Wall -pthread - -all: trace-agent - -.c.o: - $(CC) $(CFLAGS) -c $^ -o $@ - -trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o - $(CC) $(CFLAGS) -o $@ $^ - -clean: - rm -f *.o trace-agent +# SPDX-License-Identifier: GPL-2.0 +CC = gcc +CFLAGS = -O2 -Wall -pthread + +all: trace-agent + +.c.o: + $(CC) $(CFLAGS) -c $^ -o $@ + +trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o + $(CC) $(CFLAGS) -o $@ $^ + +clean: + rm -f *.o trace-agent diff --git a/image/debian/UFI003_MB_V02/kernel/tools/virtio/xen/xen.h b/image/debian/UFI003_MB_V02/kernel/tools/virtio/xen/xen.h index 2ecd861c3d..f569387d14 100644 --- a/image/debian/UFI003_MB_V02/kernel/tools/virtio/xen/xen.h +++ b/image/debian/UFI003_MB_V02/kernel/tools/virtio/xen/xen.h @@ -1,6 +1,6 @@ -#ifndef XEN_XEN_STUB_H -#define XEN_XEN_STUB_H - -#define xen_domain() 0 - -#endif +#ifndef XEN_XEN_STUB_H +#define XEN_XEN_STUB_H + +#define xen_domain() 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/usr/.gitignore b/image/debian/UFI003_MB_V02/kernel/usr/.gitignore index 73f6883f8a..8996e7a889 100644 --- a/image/debian/UFI003_MB_V02/kernel/usr/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/usr/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only -/gen_init_cpio -/initramfs_data.cpio -/initramfs_inc_data +# SPDX-License-Identifier: GPL-2.0-only +/gen_init_cpio +/initramfs_data.cpio +/initramfs_inc_data diff --git a/image/debian/UFI003_MB_V02/kernel/usr/default_cpio_list b/image/debian/UFI003_MB_V02/kernel/usr/default_cpio_list index ae6ef8d647..37b3864066 100644 --- a/image/debian/UFI003_MB_V02/kernel/usr/default_cpio_list +++ b/image/debian/UFI003_MB_V02/kernel/usr/default_cpio_list @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-only -# This is a very simple, default initramfs - -dir /dev 0755 0 0 -nod /dev/console 0600 0 0 c 5 1 -dir /root 0700 0 0 +# SPDX-License-Identifier: GPL-2.0-only +# This is a very simple, default initramfs + +dir /dev 0755 0 0 +nod /dev/console 0600 0 0 c 5 1 +dir /root 0700 0 0 diff --git a/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdbool.h b/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdbool.h index 7e0b5c12f2..54ff9e9c90 100644 --- a/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdbool.h +++ b/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdbool.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _STDBOOL_H -#define _STDBOOL_H - -#error "Please do not include from exported headers" - -#endif /* _STDBOOL_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#error "Please do not include from exported headers" + +#endif /* _STDBOOL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdlib.h b/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdlib.h index d68cab0e97..e8c21888e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdlib.h +++ b/image/debian/UFI003_MB_V02/kernel/usr/dummy-include/stdlib.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _STDLIB_H -#define _STDLIB_H - -#error "Please do not include from exported headers" - -#endif /* _STDLIB_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _STDLIB_H +#define _STDLIB_H + +#error "Please do not include from exported headers" + +#endif /* _STDLIB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/virt/kvm/vfio.h b/image/debian/UFI003_MB_V02/kernel/virt/kvm/vfio.h index 8ced469575..e130a4a035 100644 --- a/image/debian/UFI003_MB_V02/kernel/virt/kvm/vfio.h +++ b/image/debian/UFI003_MB_V02/kernel/virt/kvm/vfio.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __KVM_VFIO_H -#define __KVM_VFIO_H - -#ifdef CONFIG_KVM_VFIO -int kvm_vfio_ops_init(void); -void kvm_vfio_ops_exit(void); -#else -static inline int kvm_vfio_ops_init(void) -{ - return 0; -} -static inline void kvm_vfio_ops_exit(void) -{ -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __KVM_VFIO_H +#define __KVM_VFIO_H + +#ifdef CONFIG_KVM_VFIO +int kvm_vfio_ops_init(void); +void kvm_vfio_ops_exit(void); +#else +static inline int kvm_vfio_ops_init(void) +{ + return 0; +} +static inline void kvm_vfio_ops_exit(void) +{ +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/virt/lib/Kconfig b/image/debian/UFI003_MB_V02/kernel/virt/lib/Kconfig index 91330ef3d5..2d9523b715 100644 --- a/image/debian/UFI003_MB_V02/kernel/virt/lib/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/virt/lib/Kconfig @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-only -config IRQ_BYPASS_MANAGER - tristate +# SPDX-License-Identifier: GPL-2.0-only +config IRQ_BYPASS_MANAGER + tristate diff --git a/image/debian/UFI003_MB_V02/kernel/virt/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/virt/lib/Makefile index b8448a4ca5..bd7f9a78bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/virt/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/virt/lib/Makefile @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_IRQ_BYPASS_MANAGER) += irqbypass.o +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_IRQ_BYPASS_MANAGER) += irqbypass.o