···14491449 pgste_set_unlock(ptep_h, pgste);14501450 if (rc)14511451 return rc;14521452- if (!sg->parent)14521452+ if (sg->invalidated)14531453 return -EAGAIN;1454145414551455 newpte = _pte(f->pfn, 0, !p, 0);···1479147914801480 do {14811481 /* _gmap_crstep_xchg_atomic() could have unshadowed this shadow gmap */14821482- if (!sg->parent)14821482+ if (sg->invalidated)14831483 return -EAGAIN;14841484 oldcrste = READ_ONCE(*host);14851485 newcrste = _crste_fc1(f->pfn, oldcrste.h.tt, f->writable, !p);···14921492 if (!newcrste.h.p && !f->writable)14931493 return -EOPNOTSUPP;14941494 } while (!_gmap_crstep_xchg_atomic(sg->parent, host, oldcrste, newcrste, f->gfn, false));14951495- if (!sg->parent)14951495+ if (sg->invalidated)14961496 return -EAGAIN;1497149714981498 newcrste = _crste_fc1(f->pfn, oldcrste.h.tt, 0, !p);···15451545 entries[i].pfn, i + 1, entries[i].writable);15461546 if (rc)15471547 return rc;15481548- if (!sg->parent)15481548+ if (sg->invalidated)15491549 return -EAGAIN;15501550 }15511551···16011601 scoped_guard(spinlock, &parent->children_lock) {16021602 if (READ_ONCE(sg->parent) != parent)16031603 return -EAGAIN;16041604+ sg->invalidated = false;16041605 rc = _gaccess_do_shadow(vcpu->arch.mc, sg, saddr, walk);16051606 }16061607 if (rc == -ENOMEM)
+3
arch/s390/kvm/gmap.c
···181181182182 list_del(&child->list);183183 child->parent = NULL;184184+ child->invalidated = true;184185}185186186187/**···10701069 if (level > TABLE_TYPE_PAGE_TABLE)10711070 align = 1UL << (11 * level + _SEGMENT_SHIFT);10721071 kvm_s390_vsie_gmap_notifier(sg, ALIGN_DOWN(gaddr, align), ALIGN(gaddr + 1, align));10721072+ sg->invalidated = true;10731073 if (dat_entry_walk(NULL, r_gfn, sg->asce, 0, level, &crstep, &ptep))10741074 return;10751075 if (ptep) {···11761174 scoped_guard(spinlock, &parent->children_lock) {11771175 if (READ_ONCE(sg->parent) != parent)11781176 return -EAGAIN;11771177+ sg->invalidated = false;11791178 for (i = 0; i < CRST_TABLE_PAGES; i++) {11801179 if (!context->f[i].valid)11811180 continue;
+1
arch/s390/kvm/gmap.h
···6060struct gmap {6161 unsigned long flags;6262 unsigned char edat_level;6363+ bool invalidated;6364 struct kvm *kvm;6465 union asce asce;6566 struct list_head list;
+6-4
drivers/firmware/microchip/mpfs-auto-update.c
···113113 * be added here.114114 */115115116116- priv->flash = mpfs_sys_controller_get_flash(priv->sys_controller);117117- if (!priv->flash)118118- return FW_UPLOAD_ERR_HW_ERROR;119119-120116 erase_size = round_up(erase_size, (u64)priv->flash->erasesize);121117122118 /*···422426 if (IS_ERR(priv->sys_controller))423427 return dev_err_probe(dev, PTR_ERR(priv->sys_controller),424428 "Could not register as a sub device of the system controller\n");429429+430430+ priv->flash = mpfs_sys_controller_get_flash(priv->sys_controller);431431+ if (IS_ERR_OR_NULL(priv->flash)) {432432+ dev_dbg(dev, "No flash connected to the system controller, auto-update not supported\n");433433+ return -ENODEV;434434+ }425435426436 priv->dev = dev;427437 platform_set_drvdata(pdev, priv);
-1
drivers/reset/core.c
···856856 ret = __auxiliary_device_add(adev, "reset");857857 if (ret) {858858 auxiliary_device_uninit(adev);859859- kfree(adev);860859 return ret;861860 }862861
+1-1
drivers/reset/reset-rzg2l-usbphy-ctrl.c
···350350351351MODULE_LICENSE("GPL v2");352352MODULE_DESCRIPTION("Renesas RZ/G2L USBPHY Control");353353-MODULE_AUTHOR("biju.das.jz@bp.renesas.com>");353353+MODULE_AUTHOR("Biju Das <biju.das.jz@bp.renesas.com>");
···3939 unsigned int i;40404141 for (i = 0 ; i < ARRAY_SIZE(rev_table) ; ++i) {4242- if (rev_table[i].id == id)4242+ if ((rev_table[i].id & 0xff00ffff) == id)4343 return rev_table[i].name;4444 }4545