Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp734135rwb; Fri, 23 Sep 2022 03:30:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Wvm7omb6ySzQi4eeyVOUJtfKiW4l2o2FCYs7c+lWf7d5TF3r92pAPuUEGJm84AkgHnbC0 X-Received: by 2002:a65:6a05:0:b0:42c:87a0:ea77 with SMTP id m5-20020a656a05000000b0042c87a0ea77mr7019084pgu.75.1663929000145; Fri, 23 Sep 2022 03:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663929000; cv=none; d=google.com; s=arc-20160816; b=Iy/OS9om/bBrmp0BRgz9JMPUzY7XdOLhbe3UCSuegbmi4j4TtZ/CM0xcsU8ueg6moC Rkdm1UO9sg9PhQqLB+vUDi/yMvmHJ8WjhOFYLBinLpKpZnmJ3u4OaUd9fWQhR/osWPRd QhaS35i0TOMZmWIme9saoHQPDF3R5AfBiOLr2agKjQ7i6ADs030uD8LVuuCLqfnauh0A gQtY0xmA/+CKY3jLYu82T9Z+mhYinZ4U6CbtOH7t+UTmWN9thOHhy5XqVNv5i+V3kM+Q hk2C2UZ7IyrJ6qEkfhSiDVfsSJ/LzPHoUaVQTIa3Q9s8bUG47EikBldMJfOu9WeUga5/ 3Mkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wfJAHzbetTa/4IrdefPjjdxW/ZiDwbQuYOkObSRzp+Q=; b=j6O0NcsT5hEvBMPuqcy2GrlgCaO3uVQlYNegTVosMJE+NV2P6sx/cjWUjr13ojYIgI zxiFmZFayu2HjpQsfelS5b1LW0hOYVym8mDe0L2dzlp6GCbu0rU6B7bR6rhJJ0lzH71h 6XWHnuSxKJhPbem/KTWBGjwoYIirD65nhqL7XoHWF6maUcrNmNf1B9TxeMPOv8GlSjNI Aeqt5bvwjJEsEBnaJEsU0K5ZuXQRcBpSn2qmfadF454CNQ2pHJ5IiIxG2u2WyNdKXhIg mAeqQo2lWZ9fiWTKGS22oGoz/yjyFcpRzXVE1XosuZqvVJRgyTQpnPK/3pGnOBHYa2YN cqcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a636602000000b00439c38a1ad6si8845354pgc.310.2022.09.23.03.29.48; Fri, 23 Sep 2022 03:30:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbiIWK1I (ORCPT + 99 others); Fri, 23 Sep 2022 06:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbiIWK04 (ORCPT ); Fri, 23 Sep 2022 06:26:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1352B128883; Fri, 23 Sep 2022 03:26:55 -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 ams.source.kernel.org (Postfix) with ESMTPS id C584EB82190; Fri, 23 Sep 2022 10:26:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA4FBC433C1; Fri, 23 Sep 2022 10:26:50 +0000 (UTC) Date: Fri, 23 Sep 2022 11:26:47 +0100 From: Catalin Marinas To: Marc Zyngier Cc: Will Deacon , Stephen Rothwell , Christoffer Dall , Linux Kernel Mailing List , Linux Next Mailing List , Mark Brown , Oliver Upton Subject: Re: linux-next: manual merge of the kvm-arm tree with the arm64 tree Message-ID: References: <20220919140531.3741d146@canb.auug.org.au> <87fsgnlopt.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fsgnlopt.wl-maz@kernel.org> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Mon, Sep 19, 2022 at 10:04:30AM +0100, Marc Zyngier wrote: > On Mon, 19 Sep 2022 05:05:31 +0100, > Stephen Rothwell wrote: > > Today's linux-next merge of the kvm-arm tree got a conflict in: > > > > arch/arm64/kvm/sys_regs.c > > > > between commit: > > > > 55adc08d7e64 ("arm64/sysreg: Add _EL1 into ID_AA64PFR0_EL1 definition names") > > > > from the arm64 tree and commit: > > > > cdd5036d048c ("KVM: arm64: Drop raz parameter from read_id_reg()") > > > > from the kvm-arm tree. [...] > Catalin, Will: in order to avoid further conflicts, I've taken the > liberty to merge the arm64/for-next/sysreg branch into kvmarm/next. > Let me know if that's a problem. No problem. > Also, I've resolved the conflict in a slightly different way. Not that > the above was wrong in any way, but we might as well fix it in a more > idiomatic way: > > /* We can only differ with CSV[23], and anything else is an error */ > val ^= read_id_reg(vcpu, rd); > - val &= ~((0xFUL << ID_AA64PFR0_CSV2_SHIFT) | > - (0xFUL << ID_AA64PFR0_CSV3_SHIFT)); > + val &= ~(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_CSV2) | > + ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_CSV3)); > if (val) > return -EINVAL; It looks fine, thanks. -- Catalin