mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging
trivial-patches 25-07-2023 # -----BEGIN PGP SIGNATURE----- # # iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmS/2vgPHG1qdEB0bHMu # bXNrLnJ1AAoJEHAbT2saaT5ZT6MH/j5L3P9yLV6TqW+DkhCppbmBygqxz2SbQjwl # dVVfSLpJNbtpvLfEnvpb+ms+ZdaOCGj8IofAVf9w0VaIYJFP1srFphY/1x+RYVnw # kDjCLzuLNSCAdCV2HPqsrMKzdFctZ/MfK+QzfcGik9IvmCNPYWOhpmevs+xAIEJd # b0xk152zy2fIIC3vKK+3KcM7MFkqZWJ6z0pzUZAyEBS+aQyuZNPJ/cO8xMXotbP2 # jqv12SNGV2GLH1acvsd8GQwDB9MamstB4r8NWpSpT/AyPwOgmMR+j5B8a/WEBJCs # OcEW/pEyrumSygqf9z01YoNJQUCSvSpg5aq4+S2cRDslmUgFDmw= # =wCoQ # -----END PGP SIGNATURE----- # gpg: Signature made Tue 25 Jul 2023 15:23:52 BST # gpg: using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59 # gpg: issuer "mjt@tls.msk.ru" # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" [full] # gpg: aka "Michael Tokarev <mjt@corpit.ru>" [full] # gpg: aka "Michael Tokarev <mjt@debian.org>" [full] # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 # Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931 4B22 701B 4F6B 1A69 3E59 * tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu: qapi: Correct "eg." to "e.g." in documentation hw/pci: add comment to explain checking for available function 0 in pci hotplug target/tricore: Rename tricore_feature hw/9pfs: spelling fixes other architectures: spelling fixes arm: spelling fixes s390x: spelling fixes migration: spelling fixes Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
* Host specific cpu indentification for AArch64.
|
||||
* Host specific cpu identification for AArch64.
|
||||
*/
|
||||
|
||||
#ifndef HOST_CPUINFO_H
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
* No host specific cpu indentification.
|
||||
* No host specific cpu identification.
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
+4
-4
@@ -624,7 +624,7 @@ static ssize_t local_pwritev(FsContext *ctx, V9fsFidOpenState *fs,
|
||||
/*
|
||||
* Initiate a writeback. This is not a data integrity sync.
|
||||
* We want to ensure that we don't leave dirty pages in the cache
|
||||
* after write when writeout=immediate is sepcified.
|
||||
* after write when writeout=immediate is specified.
|
||||
*/
|
||||
sync_file_range(fs->fd, offset, ret,
|
||||
SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE);
|
||||
@@ -843,7 +843,7 @@ static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name,
|
||||
}
|
||||
credp->fc_mode = credp->fc_mode | S_IFREG;
|
||||
if (fs_ctx->export_flags & V9FS_SM_MAPPED) {
|
||||
/* Set cleint credentials in xattr */
|
||||
/* Set client credentials in xattr */
|
||||
err = local_set_xattrat(dirfd, name, credp);
|
||||
} else {
|
||||
err = local_set_mapped_file_attrat(dirfd, name, credp);
|
||||
@@ -912,7 +912,7 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
|
||||
if (write_size != oldpath_size) {
|
||||
goto err_end;
|
||||
}
|
||||
/* Set cleint credentials in symlink's xattr */
|
||||
/* Set client credentials in symlink's xattr */
|
||||
credp->fc_mode = credp->fc_mode | S_IFLNK;
|
||||
|
||||
if (fs_ctx->export_flags & V9FS_SM_MAPPED) {
|
||||
@@ -1418,7 +1418,7 @@ static int local_ioc_getversion_init(FsContext *ctx, LocalData *data, Error **er
|
||||
struct statfs stbuf;
|
||||
|
||||
/*
|
||||
* use ioc_getversion only if the ioctl is definied
|
||||
* use ioc_getversion only if the ioctl is defined
|
||||
*/
|
||||
if (fstatfs(data->mountfd, &stbuf) < 0) {
|
||||
error_setg_errno(errp, errno,
|
||||
|
||||
+1
-1
@@ -767,7 +767,7 @@ static ssize_t proxy_pwritev(FsContext *ctx, V9fsFidOpenState *fs,
|
||||
/*
|
||||
* Initiate a writeback. This is not a data integrity sync.
|
||||
* We want to ensure that we don't leave dirty pages in the cache
|
||||
* after write when writeout=immediate is sepcified.
|
||||
* after write when writeout=immediate is specified.
|
||||
*/
|
||||
sync_file_range(fs->fd, offset, ret,
|
||||
SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE);
|
||||
|
||||
+1
-1
@@ -493,7 +493,7 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath *dir_path,
|
||||
node = dir_node;
|
||||
goto out;
|
||||
}
|
||||
/* search for the name in the childern */
|
||||
/* search for the name in the children */
|
||||
rcu_read_lock();
|
||||
QLIST_FOREACH(node, &dir_node->child, sibling) {
|
||||
if (!strcmp(node->name, name)) {
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, uint32_t dev_minor)
|
||||
/*
|
||||
* Converts given device number from host's device number format to Linux
|
||||
* device number format. As both the size of type dev_t and encoding of
|
||||
* dev_t is system dependant, we have to convert them for Linux guests if
|
||||
* dev_t is system dependent, we have to convert them for Linux guests if
|
||||
* host is not running Linux.
|
||||
*/
|
||||
static inline uint64_t host_dev_to_dotl_dev(dev_t dev)
|
||||
|
||||
+2
-2
@@ -644,7 +644,7 @@ static inline uint64_t mirror64bit(uint64_t value)
|
||||
}
|
||||
|
||||
/*
|
||||
* Parameter k for the Exponential Golomb algorihm to be used.
|
||||
* Parameter k for the Exponential Golomb algorithm to be used.
|
||||
*
|
||||
* The smaller this value, the smaller the minimum bit count for the Exp.
|
||||
* Golomb generated affixes will be (at lowest index) however for the
|
||||
@@ -1039,7 +1039,7 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, ssize_t len)
|
||||
* Sending a reply would confuse clients because they would
|
||||
* assume that any EINTR is the actual result of the operation,
|
||||
* rather than a consequence of the cancellation. However, if
|
||||
* the operation completed (succesfully or with an error other
|
||||
* the operation completed (successfully or with an error other
|
||||
* than caused be cancellation), we do send out that reply, both
|
||||
* for efficiency and to avoid confusing the rest of the state machine
|
||||
* that assumes passing a non-error here will mean a successful
|
||||
|
||||
+1
-1
@@ -304,7 +304,7 @@ typedef struct VariLenAffix {
|
||||
AffixType_t type; /* Whether this affix is a suffix or a prefix. */
|
||||
uint64_t value; /* Actual numerical value of this affix. */
|
||||
/*
|
||||
* Lenght of the affix, that is how many (of the lowest) bits of ``value``
|
||||
* Length of the affix, that is how many (of the lowest) bits of ``value``
|
||||
* must be used for appending/prepending this affix to its final resulting,
|
||||
* unique number.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1565,7 +1565,7 @@ static void ast1030_evb_i2c_init(AspeedMachineState *bmc)
|
||||
{
|
||||
AspeedSoCState *soc = &bmc->soc;
|
||||
|
||||
/* U10 24C08 connects to SDA/SCL Groupt 1 by default */
|
||||
/* U10 24C08 connects to SDA/SCL Group 1 by default */
|
||||
uint8_t *eeprom_buf = g_malloc0(32 * 1024);
|
||||
smbus_eeprom_init_one(aspeed_i2c_get_bus(&soc->i2c, 0), 0x50, eeprom_buf);
|
||||
|
||||
|
||||
+1
-1
@@ -1205,7 +1205,7 @@ static void mps2_tz_idau_check(IDAUInterface *ii, uint32_t address,
|
||||
{
|
||||
/*
|
||||
* The MPS2 TZ FPGA images have IDAUs in them which are connected to
|
||||
* the Master Security Controllers. Thes have the same logic as
|
||||
* the Master Security Controllers. These have the same logic as
|
||||
* is used by the IoTKit for the IDAU connected to the CPU, except
|
||||
* that MSCs don't care about the NSC attribute.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -239,7 +239,7 @@ static inline bool gic_lr_entry_is_free(uint32_t entry)
|
||||
}
|
||||
|
||||
/* Return true if this LR should trigger an EOI maintenance interrupt, i.e. the
|
||||
* corrsponding bit in EISR is set.
|
||||
* corresponding bit in EISR is set.
|
||||
*/
|
||||
static inline bool gic_lr_entry_is_eoi(uint32_t entry)
|
||||
{
|
||||
@@ -1333,7 +1333,7 @@ static void gic_dist_writeb(void *opaque, hwaddr offset,
|
||||
|
||||
/* ??? This currently clears the pending bit for all CPUs, even
|
||||
for per-CPU interrupts. It's unclear whether this is the
|
||||
corect behavior. */
|
||||
correct behavior. */
|
||||
if (value & (1 << i)) {
|
||||
GIC_DIST_CLEAR_PENDING(irq + i, ALL_CPU_MASK);
|
||||
}
|
||||
|
||||
@@ -494,7 +494,7 @@ static MemTxResult gicr_writel(GICv3CPUState *cs, hwaddr offset,
|
||||
/* Only the ProcessorSleep bit is writable. When the guest sets
|
||||
* it, it requests that we transition the channel between the
|
||||
* redistributor and the cpu interface to quiescent, and that
|
||||
* we set the ChildrenAsleep bit once the inteface has reached the
|
||||
* we set the ChildrenAsleep bit once the interface has reached the
|
||||
* quiescent state.
|
||||
* Setting the ProcessorSleep to 0 reverses the quiescing, and
|
||||
* ChildrenAsleep is cleared once the transition is complete.
|
||||
|
||||
@@ -894,7 +894,7 @@ int armv7m_nvic_complete_irq(NVICState *s, int irq, bool secure)
|
||||
vec->active = 0;
|
||||
if (vec->level) {
|
||||
/* Re-pend the exception if it's still held high; only
|
||||
* happens for extenal IRQs
|
||||
* happens for external IRQs
|
||||
*/
|
||||
assert(irq >= NVIC_FIRST_IRQ);
|
||||
vec->pending = 1;
|
||||
|
||||
@@ -380,7 +380,7 @@ static void kvm_s390_release_adapter_routes(S390FLICState *fs,
|
||||
* @size: ignored
|
||||
*
|
||||
* Note: Pass buf and len to kernel. Start with one page and
|
||||
* increase until buffer is sufficient or maxium size is
|
||||
* increase until buffer is sufficient or maximum size is
|
||||
* reached
|
||||
*/
|
||||
static int kvm_flic_save(QEMUFile *f, void *opaque, size_t size,
|
||||
|
||||
+1
-1
@@ -734,7 +734,7 @@ static void next_irq(void *opaque, int number, int level)
|
||||
M68kCPU *cpu = s->cpu;
|
||||
int shift = 0;
|
||||
|
||||
/* first switch sets interupt status */
|
||||
/* first switch sets interrupt status */
|
||||
/* DPRINTF("IRQ %i\n",number); */
|
||||
switch (number) {
|
||||
/* level 3 - floppy, kbd/mouse, power, ether rx/tx, scsi, clock */
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(NextKBDState, NEXTKBD)
|
||||
|
||||
/* following defintions from next68k netbsd */
|
||||
/* following definitions from next68k netbsd */
|
||||
#define CSR_INT 0x00800000
|
||||
#define CSR_DATA 0x00400000
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*
|
||||
* QEMU Vitual M68K Machine
|
||||
* QEMU Virtual M68K Machine
|
||||
*
|
||||
* (c) 2020 Laurent Vivier <laurent@vivier.eu>
|
||||
*
|
||||
|
||||
@@ -104,7 +104,7 @@ petalogix_ml605_init(MachineState *machine)
|
||||
|
||||
dinfo = drive_get(IF_PFLASH, 0, 0);
|
||||
/* 5th parameter 2 means bank-width
|
||||
* 10th paremeter 0 means little-endian */
|
||||
* 10th parameter 0 means little-endian */
|
||||
pflash_cfi01_register(FLASH_BASEADDR, "petalogix_ml605.flash", FLASH_SIZE,
|
||||
dinfo ? blk_by_legacy_dinfo(dinfo) : NULL,
|
||||
64 * KiB, 2, 0x89, 0x18, 0x0000, 0x0, 0);
|
||||
|
||||
@@ -368,7 +368,7 @@ static const MemoryRegionOps allwinner_r40_detect_ops = {
|
||||
|
||||
/*
|
||||
* mctl_r40_detect_rank_count in u-boot will write the high 1G of DDR
|
||||
* to detect wether the board support dual_rank or not. Create a virtual memory
|
||||
* to detect whether the board support dual_rank or not. Create a virtual memory
|
||||
* if the board's ram_size less or equal than 1G, and set read time out flag of
|
||||
* REG_DRAMCTL_PGSR when the user touch this high dram.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Exynos4210 Pseudo Random Nubmer Generator Emulation
|
||||
* Exynos4210 Pseudo Random Number Generator Emulation
|
||||
*
|
||||
* Copyright (c) 2017 Krzysztof Kozlowski <krzk@kernel.org>
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user