From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id C95923857B88 for ; Thu, 15 Feb 2024 21:26:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C95923857B88 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C95923857B88 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708032384; cv=none; b=tmMcSy3P/7u0Pq00r4rXCwsUtIZZ3py9oPOn1JS1mK4WdKWwr1pqDbWJRJxkupgYG/Wx0g+pUM7PKl5bqh0Jwds/z/CGXzlMbLNzrRew0yRhIXEtxBi26dYXvOFUuYrumvItcrcnyl3tJl2RcdhJcoBb16zRf14fwTTzg+XnfMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708032384; c=relaxed/simple; bh=eGe29GOdzjXrUQmW2dIu93RwGMRlTOYQ3b/4Ie6pPq0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=AroCFqoVbx7nYQ7Q3r1q3DPw8oC7QPmEI2YjbWUJS6HMU3gMxf6LaC2McHjVEZo2MbUohAJmObZrtBoLnX4hPNVo3x+vrqvZcMrp9u9Ohb0qh7WiTdQx6s3G2iHnwy4zrCXABm0NJd39SulMFaMOwM9iLB+3cx+LwzHcgCYQ1VM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708032381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0D7SBr/2l6v5btn16S73XkPXfE4RMyXHRrQG4FtrkOY=; b=edmdXpdjdLwfH9CtsMr3bSPX5GOpWrtSaJb23GSR4D9oDW37dGUUnJTE0el/V5xiIGxpWk puSTXkIxGQCDTqV4dsCP7v54D8J8swTpX6SIYFM3tF+QzoeAEd1vNxPbImjj1Ohi40u0bB e0pp9T/hv49lTsFIsYibCLGGf6ANe6o= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-659-juhZSXkSOBy5PsKKnvFUFA-1; Thu, 15 Feb 2024 16:26:16 -0500 X-MC-Unique: juhZSXkSOBy5PsKKnvFUFA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2082D1005055; Thu, 15 Feb 2024 21:26:16 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 68B23492BC6; Thu, 15 Feb 2024 21:26:15 +0000 (UTC) From: Florian Weimer To: "H.J. Lu" Cc: libc-alpha@sourceware.org, goldstein.w.n@gmail.com Subject: Re: [PATCH v5 1/2] x86-64: Save APX and Tile registers in ld.so trampoline References: <20240215203241.1938288-1-hjl.tools@gmail.com> <20240215203241.1938288-2-hjl.tools@gmail.com> Date: Thu, 15 Feb 2024 22:26:13 +0100 In-Reply-To: <20240215203241.1938288-2-hjl.tools@gmail.com> (H. J. Lu's message of "Thu, 15 Feb 2024 12:32:40 -0800") Message-ID: <87le7l8lmy.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * H. J. Lu: > Add APX registers to STATE_SAVE_MASK so that APX and Tile registers are > saved in ld.so trampoline. This fixes BZ #31371. First APX is confusing? What's the impact on xsave_state_size and xsave_state_full_size? I'm worried that the loader trampoline now overflows small stacks. We used to have such problems in the past. Thanks, Florian