Skip to content

Commit 70f5ed4

Browse files
authored
Merge pull request #17 from gregkh/master
[pull] master from gregkh:master
2 parents c1b3bda + 0031c06 commit 70f5ed4

File tree

242 files changed

+3240
-1565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+3240
-1565
lines changed

Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ examples:
287287
regulator-max-microvolt = <1700000>;
288288
};
289289
mt6359_vrfck_1_ldo_reg: ldo_vrfck_1 {
290-
regulator-name = "vrfck";
290+
regulator-name = "vrfck_1";
291291
regulator-min-microvolt = <1240000>;
292292
regulator-max-microvolt = <1600000>;
293293
};
@@ -309,7 +309,7 @@ examples:
309309
regulator-max-microvolt = <3300000>;
310310
};
311311
mt6359_vemc_1_ldo_reg: ldo_vemc_1 {
312-
regulator-name = "vemc";
312+
regulator-name = "vemc_1";
313313
regulator-min-microvolt = <2500000>;
314314
regulator-max-microvolt = <3300000>;
315315
};

Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,6 @@ allOf:
2222
properties:
2323
reg:
2424
minItems: 2
25-
- if:
26-
properties:
27-
compatible:
28-
contains:
29-
enum:
30-
- baikal,bt1-sys-ssi
31-
then:
32-
properties:
33-
mux-controls:
34-
maxItems: 1
35-
required:
36-
- mux-controls
37-
else:
38-
required:
39-
- interrupts
4025
- if:
4126
properties:
4227
compatible:
@@ -75,10 +60,6 @@ properties:
7560
const: intel,mountevans-imc-ssi
7661
- description: AMD Pensando Elba SoC SPI Controller
7762
const: amd,pensando-elba-spi
78-
- description: Baikal-T1 SPI Controller
79-
const: baikal,bt1-ssi
80-
- description: Baikal-T1 System Boot SPI Controller
81-
const: baikal,bt1-sys-ssi
8263
- description: Canaan Kendryte K210 SoS SPI Controller
8364
const: canaan,k210-spi
8465
- description: Renesas RZ/N1 SPI Controller
@@ -170,6 +151,7 @@ required:
170151
- "#address-cells"
171152
- "#size-cells"
172153
- clocks
154+
- interrupts
173155

174156
examples:
175157
- |
@@ -190,15 +172,4 @@ examples:
190172
rx-sample-delay-ns = <7>;
191173
};
192174
};
193-
- |
194-
spi@1f040100 {
195-
compatible = "baikal,bt1-sys-ssi";
196-
reg = <0x1f040100 0x900>,
197-
<0x1c000000 0x1000000>;
198-
#address-cells = <1>;
199-
#size-cells = <0>;
200-
mux-controls = <&boot_mux>;
201-
clocks = <&ccu_sys>;
202-
clock-names = "ssi_clk";
203-
};
204175
...

Documentation/netlink/specs/nfsd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ operations:
152152
- compound-ops
153153
-
154154
name: threads-set
155-
doc: set the number of running threads
155+
doc: set the maximum number of running threads
156156
attribute-set: server
157157
flags: [admin-perm]
158158
do:
@@ -165,7 +165,7 @@ operations:
165165
- min-threads
166166
-
167167
name: threads-get
168-
doc: get the number of running threads
168+
doc: get the maximum number of running threads
169169
attribute-set: server
170170
do:
171171
reply:

Documentation/virt/kvm/api.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,10 @@ or its flags may be modified, but it may not be resized.
13961396
Memory for the region is taken starting at the address denoted by the
13971397
field userspace_addr, which must point at user addressable memory for
13981398
the entire memory slot size. Any object may back this memory, including
1399-
anonymous memory, ordinary files, and hugetlbfs.
1399+
anonymous memory, ordinary files, and hugetlbfs. Changes in the backing
1400+
of the memory region are automatically reflected into the guest.
1401+
For example, an mmap() that affects the region will be made visible
1402+
immediately. Another example is madvise(MADV_DROP).
14001403

14011404
On architectures that support a form of address tagging, userspace_addr must
14021405
be an untagged address.
@@ -1412,11 +1415,6 @@ use it. The latter can be set, if KVM_CAP_READONLY_MEM capability allows it,
14121415
to make a new slot read-only. In this case, writes to this memory will be
14131416
posted to userspace as KVM_EXIT_MMIO exits.
14141417

1415-
When the KVM_CAP_SYNC_MMU capability is available, changes in the backing of
1416-
the memory region are automatically reflected into the guest. For example, an
1417-
mmap() that affects the region will be made visible immediately. Another
1418-
example is madvise(MADV_DROP).
1419-
14201418
For TDX guest, deleting/moving memory region loses guest memory contents.
14211419
Read only region isn't supported. Only as-id 0 is supported.
14221420

MAINTAINERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6212,6 +6212,7 @@ F: drivers/scsi/fnic/
62126212

62136213
CISCO SCSI HBA DRIVER
62146214
M: Karan Tilak Kumar <kartilak@cisco.com>
6215+
M: Narsimhulu Musini <nmusini@cisco.com>
62156216
M: Sesidhar Baddela <sebaddel@cisco.com>
62166217
L: linux-scsi@vger.kernel.org
62176218
S: Supported
@@ -20507,7 +20508,7 @@ F: Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml
2050720508
F: drivers/pci/controller/dwc/pcie-kirin.c
2050820509

2050920510
PCIE DRIVER FOR HISILICON STB
20510-
M: Shawn Guo <shawn.guo@linaro.org>
20511+
M: Shawn Guo <shawnguo@kernel.org>
2051120512
L: linux-pci@vger.kernel.org
2051220513
S: Maintained
2051320514
F: Documentation/devicetree/bindings/pci/hisilicon-histb-pcie.txt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 7
33
PATCHLEVEL = 0
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc1
5+
EXTRAVERSION = -rc2
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*

arch/arm64/include/asm/io.h

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,19 +264,33 @@ __iowrite64_copy(void __iomem *to, const void *from, size_t count)
264264
typedef int (*ioremap_prot_hook_t)(phys_addr_t phys_addr, size_t size,
265265
pgprot_t *prot);
266266
int arm64_ioremap_prot_hook_register(const ioremap_prot_hook_t hook);
267+
void __iomem *__ioremap_prot(phys_addr_t phys, size_t size, pgprot_t prot);
267268

268-
#define ioremap_prot ioremap_prot
269+
static inline void __iomem *ioremap_prot(phys_addr_t phys, size_t size,
270+
pgprot_t user_prot)
271+
{
272+
pgprot_t prot;
273+
ptdesc_t user_prot_val = pgprot_val(user_prot);
274+
275+
if (WARN_ON_ONCE(!(user_prot_val & PTE_USER)))
276+
return NULL;
269277

270-
#define _PAGE_IOREMAP PROT_DEVICE_nGnRE
278+
prot = __pgprot_modify(PAGE_KERNEL, PTE_ATTRINDX_MASK,
279+
user_prot_val & PTE_ATTRINDX_MASK);
280+
return __ioremap_prot(phys, size, prot);
281+
}
282+
#define ioremap_prot ioremap_prot
271283

284+
#define ioremap(addr, size) \
285+
__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
272286
#define ioremap_wc(addr, size) \
273-
ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))
287+
__ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))
274288
#define ioremap_np(addr, size) \
275-
ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))
289+
__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))
276290

277291

278292
#define ioremap_encrypted(addr, size) \
279-
ioremap_prot((addr), (size), PAGE_KERNEL)
293+
__ioremap_prot((addr), (size), PAGE_KERNEL)
280294

281295
/*
282296
* io{read,write}{16,32,64}be() macros
@@ -297,7 +311,7 @@ static inline void __iomem *ioremap_cache(phys_addr_t addr, size_t size)
297311
if (pfn_is_map_memory(__phys_to_pfn(addr)))
298312
return (void __iomem *)__phys_to_virt(addr);
299313

300-
return ioremap_prot(addr, size, __pgprot(PROT_NORMAL));
314+
return __ioremap_prot(addr, size, __pgprot(PROT_NORMAL));
301315
}
302316

303317
/*

arch/arm64/include/asm/kvm_host.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,8 @@ void kvm_set_vm_id_reg(struct kvm *kvm, u32 reg, u64 val);
16161616
(kvm_has_feat((k), ID_AA64MMFR3_EL1, S1PIE, IMP))
16171617

16181618
#define kvm_has_s1poe(k) \
1619-
(kvm_has_feat((k), ID_AA64MMFR3_EL1, S1POE, IMP))
1619+
(system_supports_poe() && \
1620+
kvm_has_feat((k), ID_AA64MMFR3_EL1, S1POE, IMP))
16201621

16211622
#define kvm_has_ras(k) \
16221623
(kvm_has_feat((k), ID_AA64PFR0_EL1, RAS, IMP))

arch/arm64/include/asm/kvm_nested.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ int kvm_vcpu_allocate_vncr_tlb(struct kvm_vcpu *vcpu);
397397
int kvm_handle_vncr_abort(struct kvm_vcpu *vcpu);
398398
void kvm_handle_s1e2_tlbi(struct kvm_vcpu *vcpu, u32 inst, u64 val);
399399

400+
u16 get_asid_by_regime(struct kvm_vcpu *vcpu, enum trans_regime regime);
401+
400402
#define vncr_fixmap(c) \
401403
({ \
402404
u32 __c = (c); \

arch/arm64/include/asm/pgtable-prot.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ static inline bool __pure lpa2_is_enabled(void)
164164
#define _PAGE_GCS (_PAGE_DEFAULT | PTE_NG | PTE_UXN | PTE_WRITE | PTE_USER)
165165
#define _PAGE_GCS_RO (_PAGE_DEFAULT | PTE_NG | PTE_UXN | PTE_USER)
166166

167-
#define PAGE_GCS __pgprot(_PAGE_GCS)
168-
#define PAGE_GCS_RO __pgprot(_PAGE_GCS_RO)
169-
170167
#define PIE_E0 ( \
171168
PIRx_ELx_PERM_PREP(pte_pi_index(_PAGE_GCS), PIE_GCS) | \
172169
PIRx_ELx_PERM_PREP(pte_pi_index(_PAGE_GCS_RO), PIE_R) | \

0 commit comments

Comments
 (0)