Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp662343rwo; Wed, 2 Aug 2023 02:00:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGZEGavLIvNufmRO3QKivZglRddI8qwL0W+sggwkWFFjuF07YQ8X4yMvClE9jjAvcuTFmNN X-Received: by 2002:a17:90a:17ec:b0:268:a26:d9ee with SMTP id q99-20020a17090a17ec00b002680a26d9eemr12864215pja.46.1690966831758; Wed, 02 Aug 2023 02:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690966831; cv=none; d=google.com; s=arc-20160816; b=g5NgHZLyD3BzD2lJ8+e5pbHov4aw1oqGiQxq0dt+iwAGSgytE23Bpv9nPf3BjxDcNs kgTRy5yj4q2b6NUI5+n46YF3u70hSmaF7KqXskg6D7KDzVhvwbzlJg7akOOlehByC3GU 6d8YjBig4vpHt288F40+NvOWuI95E5omaBYqWKMEra84WxUEilIIBEe5jDM0IhA72/Eq UBR5sib0Y34dO/GbCfWL6DOTMSyS9J+RpjXzB7AWH1HmOELYliMrgfECerf69MeEyw6h WcRQZECZW75TFGXueCJps4fPSVLGaZK0oEWaUbqDf7GumKGSe+8V/jWcbGxdD8GCmUzp a7ow== 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:dkim-signature; bh=Vabq62Cd0daSGLASD/2v2Xz1iqtoxomeKHKecXtpsz4=; fh=FEFpIg0hjiULV2zjroEeQAIT5iU8TSUCxmasTI6tOGA=; b=xagJuvj2B0EAkc/H6Jv0orDK7BRexNB0xjkdI+Boqk1op5LEosCZh/4aBJu2bZImqU /gtMzo8mlwMMplzUQjsTr44oHANNS5s3C1nOAKIawhy9/vJZjGhXB7vL0jCWwO/psFNj YboxFRuXfIho688N+vbsdufMYkmgiTOjDjTsLpZFLgu2dvBpahv9Vv99t98feE0nj+QO MXRxvZsby7k4cCPdaXFmbDkr/ne+nMAfRurS77yAKDDxans2xcy2a/FSqFpzfp/+knu1 Ggs0f9Q643xtzsNEfI1/MvwRcoVvf1fnvj81LNyH+rsV3LWeue0amxXynQYvqsnQ7uoU Vfmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=p71HyxiJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu17-20020a17090b389100b0026764aac11bsi937403pjb.29.2023.08.02.02.00.18; Wed, 02 Aug 2023 02:00:31 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=p71HyxiJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232617AbjHBGyH (ORCPT + 99 others); Wed, 2 Aug 2023 02:54:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232579AbjHBGxu (ORCPT ); Wed, 2 Aug 2023 02:53:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 587BC3C1E; Tue, 1 Aug 2023 23:53:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E9F4261805; Wed, 2 Aug 2023 06:53:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDF90C433C7; Wed, 2 Aug 2023 06:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690959189; bh=FpU2fyhNMs7CHd9y1zToO5EeJxJhSPteDxDb++5tacw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p71HyxiJx9QcD7JeKHHHb/gShyaHoJUJGdr3TJ7jDIQpsJpW2Kb0gcBZAiugw9BNv C6fxiJ3XlBsU2NCkq4K/iIqZVDuWeq82IE7vIw+nFTWKPeFfy18mAUB8eNOLxyc9pW e/Cs1dbir9xYJY+kWLQLlcvx8W8cs2lGOS8ahMhQ= Date: Wed, 2 Aug 2023 08:53:06 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, Aaron Lewis , kvm list , Sean Christopherson , Paolo Bonzini , "open list:KERNEL SELFTEST FRAMEWORK" Subject: Re: [PATCH 6.4 000/239] 6.4.8-rc1 review Message-ID: <2023080245-papaya-simple-cd09@gregkh> References: <20230801091925.659598007@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, Aug 02, 2023 at 08:22:59AM +0530, Naresh Kamboju wrote: > On Tue, 1 Aug 2023 at 15:11, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 6.4.8 release. > > There are 239 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me know. > > > > Responses should be made by Thu, 03 Aug 2023 09:18:38 +0000. > > Anything received after that time might be too late. > > > > The whole patch series can be found in one patch at: > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.4.8-rc1.gz > > or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.4.y > > and the diffstat can be found below. > > > > thanks, > > > > greg k-h > > Following kselftest build regression found, > > selftests/rseq: Play nice with binaries statically linked against > glibc 2.35+ > commit 3bcbc20942db5d738221cca31a928efc09827069 upstream. > > > To allow running rseq and KVM's rseq selftests as statically linked > binaries, initialize the various "trampoline" pointers to point directly > at the expect glibc symbols, and skip the dlysm() lookups if the rseq > size is non-zero, i.e. the binary is statically linked *and* the libc > registered its own rseq. > > Define weak versions of the symbols so as not to break linking against > libc versions that don't support rseq in any capacity. > > The KVM selftests in particular are often statically linked so that they > can be run on targets with very limited runtime environments, i.e. test > machines. > > Fixes: 233e667e1ae3 ("selftests/rseq: Uplift rseq selftests for > compatibility with glibc-2.35") > Cc: Aaron Lewis > Cc: kvm@vger.kernel.org > Cc: stable@vger.kernel.org > Signed-off-by: Sean Christopherson > Message-Id: <20230721223352.2333911-1-seanjc@google.com> > Signed-off-by: Paolo Bonzini > Signed-off-by: Greg Kroah-Hartman > > > Build log: > ---- > x86_64-linux-gnu-gcc -O2 -Wall -g -I./ -isystem > /home/tuxbuild/.cache/tuxmake/builds/1/build/usr/include > -L/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq > -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -ldl -o > /home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/rseq/librseq.so > rseq.c:41:1: error: unknown type name '__weak' > 41 | __weak ptrdiff_t __rseq_offset; > | ^~~~~~ > rseq.c:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '__rseq_offset' > 41 | __weak ptrdiff_t __rseq_offset; > | ^~~~~~~~~~~~~ > rseq.c:42:7: error: expected ';' before 'unsigned' > 42 | __weak unsigned int __rseq_size; > | ^~~~~~~~~ > | ; > rseq.c:43:7: error: expected ';' before 'unsigned' > 43 | __weak unsigned int __rseq_flags; > | ^~~~~~~~~ > | ; > rseq.c:45:47: error: '__rseq_offset' undeclared here (not in a > function); did you mean 'rseq_offset'? > 45 | static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset; > | ^~~~~~~~~~~~~ > | rseq_offset > make[3]: Leaving directory 'tools/testing/selftests/rseq' > > Reported-by: Linux Kernel Functional Testing > > Links: > - https://storage.tuxsuite.com/public/linaro/lkft/builds/2TNSVjRCfcIaJWQNkPwDQ9jn2ls/build.log > - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.4.y/build/v6.4.7-240-g2c273bf138a4/testrun/18770115/suite/kselftest-rseq/test/shardfile-rseq/details/ Odd this didn't also show up in 6.1. I'll go drop the offending commit for now. thanks, greg k-h