Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp849577pxb; Wed, 6 Apr 2022 01:52:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5ZUr9vsNhby3X4gPK+GLuhNWZJQy1BK1kGbls2g+TPF2i1DjkpjlDSUPFEvel/FJPvzkz X-Received: by 2002:a05:6a00:1808:b0:4fd:dee2:6369 with SMTP id y8-20020a056a00180800b004fddee26369mr7740575pfa.43.1649235179390; Wed, 06 Apr 2022 01:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649235179; cv=none; d=google.com; s=arc-20160816; b=PdSmEFPfy2oeYijGTlmZ+Dy09rxUB+krbzB2g8xecqsmEDob1JC4h/ZiKCVQUW0iQ7 JpeoMVGWS1svp2QQ8U1jAZfmrHncYDaCqtytSjGznVql1mDWzMAulX2liLJLq7WAn9g6 p/C2yQ60eqc3pOqD9up1LkKtAznAkpsyN871PfI8HrLtfi4G68OSnsySa1uean5wrMzI RUN3CGlkaKlZ68QYdC7CUDkDnLmGi02nHXAyzi8UuLuMMoF+kbTKecUcLPg1B8LmMZnN ImjZ94AN6WdsZnZGIPVdc1ewn8qwrbuGXrDCiQXvbJaja6oaPO33+/66EKB9KPatYUjM mwyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PrpWSL35di5O3Y9U/FskpaJNiK3WpVC1klZqKtf5PT4=; b=Yh9BPZxvkkXJMwptupT4yGZRfPz282pelsJjAAgbCwIjirU0ypQM5/UHomyXhwEspY n3HIoFdjOqwJQWXB59Ul/YJiJuYkP5T3VDz+taT1OG2a0xxdBMWCaiuSjxycQHx9oI6R hK1xj8EvnchHhlJWpCbWQ65DG+S59iRZfuOmzhlcRZQ+Oi7gw3HkYoaS2DvK/XgGjBZP hn4U/6VNkcYBnzs6fwKgtxMsDKC+rFMxAfBmYuhiraeAderWn3+oyVZytL7GYqWb/Pok 9bwy0zn1rT48Z9JCTBy5p/duyWOWL+mSmHC6G26OC3g9p0e+xI+o1EhPjNDw+zFqNVqa D/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PN2bwnbj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l7-20020a170903120700b00153b2d165c6si17109375plh.462.2022.04.06.01.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PN2bwnbj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0856C5732D7; Wed, 6 Apr 2022 01:38:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1839107AbiDFA6Q (ORCPT + 99 others); Tue, 5 Apr 2022 20:58:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352977AbiDEKFZ (ORCPT ); Tue, 5 Apr 2022 06:05:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CCEC66CAD; Tue, 5 Apr 2022 02:54:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B0620616DC; Tue, 5 Apr 2022 09:54:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE136C385A1; Tue, 5 Apr 2022 09:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152448; bh=VCXhcLSrVvTeO0IQHQZr4uPBoieIuuvOWSLR6KAWsYs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PN2bwnbjhHEVlI8YEhtlODtVOLJYkpV/zNQ+pJGw/3exfOIIZwU/i7ayfHqQTmXjo b0H7uMDJ4F4+y/GbnWJ0QPnwCYw7hsiZ78Yu7Ocixqaoauc7tArLmzK3BoKrGpJ1B0 wrdlW72Pqn1ZuP2jWJYXaU0gabIh4JS0l53HMMmk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Anders Roxell , Michael Ellerman Subject: [PATCH 5.15 779/913] powerpc/lib/sstep: Fix sthcx instruction Date: Tue, 5 Apr 2022 09:30:41 +0200 Message-Id: <20220405070403.184599669@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anders Roxell commit a633cb1edddaa643fadc70abc88f89a408fa834a upstream. Looks like there been a copy paste mistake when added the instruction 'stbcx' twice and one was probably meant to be 'sthcx'. Changing to 'sthcx' from 'stbcx'. Fixes: 350779a29f11 ("powerpc: Handle most loads and stores in instruction emulation code") Cc: stable@vger.kernel.org # v4.14+ Reported-by: Arnd Bergmann Signed-off-by: Anders Roxell Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20220224162215.3406642-1-anders.roxell@linaro.org Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/lib/sstep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -3306,7 +3306,7 @@ int emulate_loadstore(struct pt_regs *re __put_user_asmx(op->val, ea, err, "stbcx.", cr); break; case 2: - __put_user_asmx(op->val, ea, err, "stbcx.", cr); + __put_user_asmx(op->val, ea, err, "sthcx.", cr); break; #endif case 4: