Skip to content

Commit

Permalink
Upstream 6.1.28
Browse files Browse the repository at this point in the history
bf4ad6fa4e5332e53913b073d0219319a4091619
  • Loading branch information
ReimuNotMoe committed May 11, 2023
1 parent 19dfd51 commit 92a7668
Show file tree
Hide file tree
Showing 722 changed files with 7,892 additions and 6,581 deletions.
12 changes: 6 additions & 6 deletions Documentation/block/inline-encryption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Therefore, we also introduce *blk-crypto-fallback*, which is an implementation
of inline encryption using the kernel crypto API. blk-crypto-fallback is built
into the block layer, so it works on any block device without any special setup.
Essentially, when a bio with an encryption context is submitted to a
request_queue that doesn't support that encryption context, the block layer will
block_device that doesn't support that encryption context, the block layer will
handle en/decryption of the bio using blk-crypto-fallback.

For encryption, the data cannot be encrypted in-place, as callers usually rely
Expand Down Expand Up @@ -187,15 +187,15 @@ API presented to users of the block layer

``blk_crypto_config_supported()`` allows users to check ahead of time whether
inline encryption with particular crypto settings will work on a particular
request_queue -- either via hardware or via blk-crypto-fallback. This function
block_device -- either via hardware or via blk-crypto-fallback. This function
takes in a ``struct blk_crypto_config`` which is like blk_crypto_key, but omits
the actual bytes of the key and instead just contains the algorithm, data unit
size, etc. This function can be useful if blk-crypto-fallback is disabled.

``blk_crypto_init_key()`` allows users to initialize a blk_crypto_key.

Users must call ``blk_crypto_start_using_key()`` before actually starting to use
a blk_crypto_key on a request_queue (even if ``blk_crypto_config_supported()``
a blk_crypto_key on a block_device (even if ``blk_crypto_config_supported()``
was called earlier). This is needed to initialize blk-crypto-fallback if it
will be needed. This must not be called from the data path, as this may have to
allocate resources, which may deadlock in that case.
Expand All @@ -207,7 +207,7 @@ for en/decryption. Users don't need to worry about freeing the bio_crypt_ctx
later, as that happens automatically when the bio is freed or reset.

Finally, when done using inline encryption with a blk_crypto_key on a
request_queue, users must call ``blk_crypto_evict_key()``. This ensures that
block_device, users must call ``blk_crypto_evict_key()``. This ensures that
the key is evicted from all keyslots it may be programmed into and unlinked from
any kernel data structures it may be linked into.

Expand All @@ -221,9 +221,9 @@ as follows:
5. ``blk_crypto_evict_key()`` (after all I/O has completed)
6. Zeroize the blk_crypto_key (this has no dedicated function)

If a blk_crypto_key is being used on multiple request_queues, then
If a blk_crypto_key is being used on multiple block_devices, then
``blk_crypto_config_supported()`` (if used), ``blk_crypto_start_using_key()``,
and ``blk_crypto_evict_key()`` must be called on each request_queue.
and ``blk_crypto_evict_key()`` must be called on each block_device.

API presented to device drivers
===============================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ properties:
const: 0

clocks:
minItems: 3
maxItems: 5

clock-names:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 1
SUBLEVEL = 27
SUBLEVEL = 28
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth
NAME = Curry Ramen

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/boot/dts/omap3-gta04.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,22 @@
clock-frequency = <100000>;
};

&mcspi1 {
status = "disabled";
};

&mcspi2 {
status = "disabled";
};

&mcspi3 {
status = "disabled";
};

&mcspi4 {
status = "disabled";
};

&usb_otg_hs {
interface-type = <0>;
usb-phy = <&usb2_phy>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-apq8064.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@
gpu_opp_table: opp-table {
compatible = "operating-points-v2";

opp-320000000 {
opp-450000000 {
opp-hz = /bits/ 64 <450000000>;
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/qcom-ipq4019.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
#address-cells = <3>;
#size-cells = <2>;

ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>,
<0x82000000 0 0x40300000 0x40300000 0 0x00d00000>;
ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
<0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;

interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/qcom-ipq8064.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1085,8 +1085,8 @@
#address-cells = <3>;
#size-cells = <2>;

ranges = <0x81000000 0 0x0fe00000 0x0fe00000 0 0x00010000 /* downstream I/O */
0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */
ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000 /* I/O */
0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */

interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
Expand Down Expand Up @@ -1136,8 +1136,8 @@
#address-cells = <3>;
#size-cells = <2>;

ranges = <0x81000000 0 0x31e00000 0x31e00000 0 0x00010000 /* downstream I/O */
0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */
ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000 /* I/O */
0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */

interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
Expand Down Expand Up @@ -1187,8 +1187,8 @@
#address-cells = <3>;
#size-cells = <2>;

ranges = <0x81000000 0 0x35e00000 0x35e00000 0 0x00010000 /* downstream I/O */
0x82000000 0 0x32000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */
ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000 /* I/O */
0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */

interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
Expand Down
78 changes: 39 additions & 39 deletions arch/arm/boot/dts/qcom-sdx55.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,45 @@
status = "disabled";
};

pcie_ep: pcie-ep@1c00000 {
compatible = "qcom,sdx55-pcie-ep";
reg = <0x01c00000 0x3000>,
<0x40000000 0xf1d>,
<0x40000f20 0xc8>,
<0x40001000 0x1000>,
<0x40200000 0x100000>,
<0x01c03000 0x3000>;
reg-names = "parf", "dbi", "elbi", "atu", "addr_space",
"mmio";

qcom,perst-regs = <&tcsr 0xb258 0xb270>;

clocks = <&gcc GCC_PCIE_AUX_CLK>,
<&gcc GCC_PCIE_CFG_AHB_CLK>,
<&gcc GCC_PCIE_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_SLV_AXI_CLK>,
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>,
<&gcc GCC_PCIE_SLEEP_CLK>,
<&gcc GCC_PCIE_0_CLKREF_CLK>;
clock-names = "aux", "cfg", "bus_master", "bus_slave",
"slave_q2a", "sleep", "ref";

interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "global", "doorbell";
reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>;
resets = <&gcc GCC_PCIE_BCR>;
reset-names = "core";
power-domains = <&gcc PCIE_GDSC>;
phys = <&pcie0_lane>;
phy-names = "pciephy";
max-link-speed = <3>;
num-lanes = <2>;

status = "disabled";
};

pcie0_phy: phy@1c07000 {
compatible = "qcom,sdx55-qmp-pcie-phy";
reg = <0x01c07000 0x1c4>;
Expand Down Expand Up @@ -400,45 +439,6 @@
status = "disabled";
};

pcie_ep: pcie-ep@40000000 {
compatible = "qcom,sdx55-pcie-ep";
reg = <0x01c00000 0x3000>,
<0x40000000 0xf1d>,
<0x40000f20 0xc8>,
<0x40001000 0x1000>,
<0x40200000 0x100000>,
<0x01c03000 0x3000>;
reg-names = "parf", "dbi", "elbi", "atu", "addr_space",
"mmio";

qcom,perst-regs = <&tcsr 0xb258 0xb270>;

clocks = <&gcc GCC_PCIE_AUX_CLK>,
<&gcc GCC_PCIE_CFG_AHB_CLK>,
<&gcc GCC_PCIE_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_SLV_AXI_CLK>,
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>,
<&gcc GCC_PCIE_SLEEP_CLK>,
<&gcc GCC_PCIE_0_CLKREF_CLK>;
clock-names = "aux", "cfg", "bus_master", "bus_slave",
"slave_q2a", "sleep", "ref";

interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "global", "doorbell";
reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>;
resets = <&gcc GCC_PCIE_BCR>;
reset-names = "core";
power-domains = <&gcc PCIE_GDSC>;
phys = <&pcie0_lane>;
phy-names = "pciephy";
max-link-speed = <3>;
num-lanes = <2>;

status = "disabled";
};

remoteproc_mpss: remoteproc@4080000 {
compatible = "qcom,sdx55-mpss-pas";
reg = <0x04080000 0x4040>;
Expand Down
30 changes: 15 additions & 15 deletions arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,21 @@
};
};

spi1_pins_b: spi1-1 {
pins1 {
pinmux = <STM32_PINMUX('A', 5, AF5)>, /* SPI1_SCK */
<STM32_PINMUX('B', 5, AF5)>; /* SPI1_MOSI */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};

pins2 {
pinmux = <STM32_PINMUX('A', 6, AF5)>; /* SPI1_MISO */
bias-disable;
};
};

spi2_pins_a: spi2-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI2_SCK */
Expand Down Expand Up @@ -2448,19 +2463,4 @@
bias-disable;
};
};

spi1_pins_b: spi1-1 {
pins1 {
pinmux = <STM32_PINMUX('A', 5, AF5)>, /* SPI1_SCK */
<STM32_PINMUX('B', 5, AF5)>; /* SPI1_MOSI */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};

pins2 {
pinmux = <STM32_PINMUX('A', 6, AF5)>; /* SPI1_MISO */
bias-disable;
};
};
};
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j274.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,27 @@

&port01 {
bus-range = <2 2>;
status = "okay";
};

&port02 {
bus-range = <3 3>;
status = "okay";
ethernet0: ethernet@0,0 {
reg = <0x30000 0x0 0x0 0x0 0x0>;
/* To be filled by the loader */
local-mac-address = [00 10 18 00 00 00];
};
};

&pcie0_dart_1 {
status = "okay";
};

&pcie0_dart_2 {
status = "okay";
};

&i2c2 {
status = "okay";
};
15 changes: 0 additions & 15 deletions arch/arm64/boot/dts/apple/t8103-j293.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@
brcm,board-type = "apple,honshu";
};

/*
* Remove unused PCIe ports and disable the associated DARTs.
*/

&pcie0_dart_1 {
status = "disabled";
};

&pcie0_dart_2 {
status = "disabled";
};

/delete-node/ &port01;
/delete-node/ &port02;

&i2c2 {
status = "okay";
};
Expand Down
15 changes: 0 additions & 15 deletions arch/arm64/boot/dts/apple/t8103-j313.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,3 @@
&wifi0 {
brcm,board-type = "apple,shikoku";
};

/*
* Remove unused PCIe ports and disable the associated DARTs.
*/

&pcie0_dart_1 {
status = "disabled";
};

&pcie0_dart_2 {
status = "disabled";
};

/delete-node/ &port01;
/delete-node/ &port02;
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j456.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,23 @@

&port01 {
bus-range = <2 2>;
status = "okay";
};

&port02 {
bus-range = <3 3>;
status = "okay";
ethernet0: ethernet@0,0 {
reg = <0x30000 0x0 0x0 0x0 0x0>;
/* To be filled by the loader */
local-mac-address = [00 10 18 00 00 00];
};
};

&pcie0_dart_1 {
status = "okay";
};

&pcie0_dart_2 {
status = "okay";
};
11 changes: 3 additions & 8 deletions arch/arm64/boot/dts/apple/t8103-j457.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,14 @@

&port02 {
bus-range = <3 3>;
status = "okay";
ethernet0: ethernet@0,0 {
reg = <0x30000 0x0 0x0 0x0 0x0>;
/* To be filled by the loader */
local-mac-address = [00 10 18 00 00 00];
};
};

/*
* Remove unused PCIe port and disable the associated DART.
*/

&pcie0_dart_1 {
status = "disabled";
&pcie0_dart_2 {
status = "okay";
};

/delete-node/ &port01;
Loading

0 comments on commit 92a7668

Please sign in to comment.