Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
s390x: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
Michael Tokarev committed Jul 25, 2023
1 parent d8b71d9 commit cced0d6
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hw/intc/s390_flic_kvm.c
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion include/hw/s390x/s390-pci-bus.h
Expand Up @@ -184,7 +184,7 @@ enum ZpciIoatDtype {
* The following states make up the "configured" meta-state:
* disabled: device is configured but not enabled; transition between this
* state and enabled via clp enable/disable
* enbaled: device is ready for use; transition to disabled via clp disable;
* enabled: device is ready for use; transition to disabled via clp disable;
* may enter an error state
* blocked: ignore all DMA and interrupts; transition back to enabled or from
* error state via mpcifc
Expand Down
2 changes: 1 addition & 1 deletion include/hw/s390x/sclp.h
Expand Up @@ -87,7 +87,7 @@
* - we work on a private copy of the SCCB, since there are several length
* fields, that would cause a security nightmare if we allow the guest to
* alter the structure while we parse it. We cannot use ldl_p and friends
* either without doing pointer arithmetics
* either without doing pointer arithmetic
* So we have to double check that all users of sclp data structures use the
* right endianness wrappers.
*/
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/cpu_features.c
Expand Up @@ -249,7 +249,7 @@ static void init_groups(void)
{
int i;

/* init all bitmaps from gnerated data initially */
/* init all bitmaps from generated data initially */
for (i = 0; i < ARRAY_SIZE(s390_feature_groups); i++) {
s390_init_feat_bitmap(s390_feature_groups[i].init,
s390_feature_groups[i].feat);
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/cpu_models.c
Expand Up @@ -975,7 +975,7 @@ static void register_types(void)

init_ignored_base_feat();

/* init all bitmaps from gnerated data initially */
/* init all bitmaps from generated data initially */
s390_init_feat_bitmap(qemu_max_init, qemu_max_cpu_feat);
for (i = 0; i < ARRAY_SIZE(s390_cpu_defs); i++) {
s390_init_feat_bitmap(s390_cpu_defs[i].base_init,
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/tcg/fpu_helper.c
Expand Up @@ -87,7 +87,7 @@ static void handle_exceptions(CPUS390XState *env, bool XxC, uintptr_t retaddr)

/*
* FIXME:
* 1. Right now, all inexact conditions are inidicated as
* 1. Right now, all inexact conditions are indicated as
* "truncated" (0) and never as "incremented" (1) in the DXC.
* 2. Only traps due to invalid/divbyzero are suppressing. Other traps
* are completing, meaning the target register has to be written!
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/tcg/insn-data.h.inc
Expand Up @@ -529,7 +529,7 @@
/* LOAD LOGICAL HALFWORD RELATIVE LONG */
C(0xc402, LLHRL, RIL_b, GIE, 0, ri2, new, r1_32, ld16u, 0)
C(0xc406, LLGHRL, RIL_b, GIE, 0, ri2, r1, 0, ld16u, 0)
/* LOAD LOGICAL IMMEDATE */
/* LOAD LOGICAL IMMEDIATE */
D(0xc00e, LLIHF, RIL_a, EI, 0, i2_32u_shl, 0, r1, mov2, 0, 32)
D(0xc00f, LLILF, RIL_a, EI, 0, i2_32u_shl, 0, r1, mov2, 0, 0)
D(0xa50c, LLIHH, RI_a, Z, 0, i2_16u_shl, 0, r1, mov2, 0, 48)
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/tcg/translate.c
Expand Up @@ -429,7 +429,7 @@ static void gen_exception(int excp)

static void gen_program_exception(DisasContext *s, int code)
{
/* Remember what pgm exeption this was. */
/* Remember what pgm exception this was. */
tcg_gen_st_i32(tcg_constant_i32(code), cpu_env,
offsetof(CPUS390XState, int_pgm_code));

Expand Down
2 changes: 1 addition & 1 deletion tests/tcg/s390x/mvc.c
Expand Up @@ -85,7 +85,7 @@ int main(void)
}
}

/* test if MVC works now correctly accross page boundaries */
/* test if MVC works now correctly across page boundaries */
mvc_256(dst + 4096 - 128, src + 4096 - 128);
for (i = 0; i < ALLOC_SIZE; i++) {
if (src[i] != 0xff) {
Expand Down

0 comments on commit cced0d6

Please sign in to comment.