Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp196153lqc; Thu, 29 Feb 2024 14:42:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXevH3tBvdVaZfh0yf2IBmEI+1etZS4YkNk9lQ1IhF8rzOAgFkk6y+dBbFcFuslOoeKzVxpZq9eUyx5MTEWbcsG05Oywrbgf1tkMGWNEQ== X-Google-Smtp-Source: AGHT+IFV9fBYKaaaE0z9Rv7x4XRkNkspyPJ/r4IiGzQlwRZDD3F8tVxZrYe0IUvlBlqP9xktBDXP X-Received: by 2002:a05:6e02:1bc9:b0:365:1529:937e with SMTP id x9-20020a056e021bc900b003651529937emr87252ilv.8.1709246524687; Thu, 29 Feb 2024 14:42:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709246524; cv=pass; d=google.com; s=arc-20160816; b=oIxjNTz3Lq73imPJbuhnxBlPmDN5l9Z0QAwFKk9poXIvnE/iQFasGf6/t/UVodRWMc 8xWWkP7nm8Fu2LVkWZmHJI08ZxTck2xQnIz5eBN6IH8o51UdcA6ff8ikisH/5+weAS51 uJrJ3plp61hYgTuQcfgrtsXUE/nbX059vtKefxFbetHCHVjaXF8+kPT8H56GI/VxnGZL 0qi2OCCgM2ImXGTmXn/DAh+6+7kq4lG501I79TVbVl0J74MtiWqEFtvID7me4SwHSqwr Rin4ZdZj2D3nGQ8OPF6zwlGNXmahtpoLnxlmokfPL5eYiKWQ0Hn7U7bFko4Ltd1GLL8v Lg+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=7EALCz77xII392vmdVOlbHTt8w5XLaXfm92K2aKepEs=; fh=wPyGiewv8tGqCl22w7GMO5g9s4KFDfllXKPCGMhVSuQ=; b=A63E9g/6YA4QyjPLOEZfIb3nMesvUnJ5irvGjfFpkRF13kOu9Go+eenk82CvuSyFFD Em2NafIKf0z/OLDeAnntvCx2i2IMONIFRKxEFwGTRYK+iLvDlVaf0ub6u5uGXoAhDCjX 2113MnaJVF8TPxNuF5PP1OKwSLjU/RbzyScQfYEEmh/19LT/Fzryg/oA/XQq3NHQqch7 J6UHufC3dyhbS65QmtPJrGCp/nstqyiZ97bhGqdJWnZ4JC9cPsBY1LoWSYHZ95rYQI8c VAkMRUSSvXBTENTnOwOxmLJE3YVmVyUJOra5E6az/64vFTYNYk/mhGerGFRc7gJOB90B tUpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-87645-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j5-20020a63e745000000b005df433fcb8fsi2137447pgk.133.2024.02.29.14.42.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 14:42:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87645-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-87645-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C584288657 for ; Thu, 29 Feb 2024 22:34:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDB1E20332; Thu, 29 Feb 2024 22:34:15 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1825200CD for ; Thu, 29 Feb 2024 22:34:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709246055; cv=none; b=MKU44TBP6isQY+wkX4qbN7S7sD+hU+f7ye5iOpc4D48UofPny0kQ4wbrBeFxWfcIyDHYX+BHqgoCCnJE1qXNdsmA4+xnCU6+Q57Wb48T9nLxPn5PEWXdhlFGR41kuRB7u86vB/zyoDvKjoyIWT/es1XqCed3bXp2RrQArl28dx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709246055; c=relaxed/simple; bh=7EALCz77xII392vmdVOlbHTt8w5XLaXfm92K2aKepEs=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=ElyyfbQOLVON3XquJLr0xTGYOYeAZ7C9LNNMgEvBHuRvS1hSB2FIvgPz6sJF4n9XpjQ8ymTMhlo+dl5P2yr49KuL4LlT0qYcuZa2q3j3CrHLYvClrkLvOQ4vrq/Ak5PaWRuJRHyJidmseoAX9W2lWc26VTGsUIwbWcMXdICujSQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.86.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-265-q6YXCiPdNqa3VZ3VvtiocQ-1; Thu, 29 Feb 2024 22:34:04 +0000 X-MC-Unique: q6YXCiPdNqa3VZ3VvtiocQ-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 29 Feb 2024 22:34:03 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 29 Feb 2024 22:34:03 +0000 From: David Laight To: 'Kees Cook' , Geert Uytterhoeven CC: Guenter Roeck , "linux-m68k@lists.linux-m68k.org" , "linux-kernel@vger.kernel.org" Subject: RE: stackinit unit test failures on m68k Thread-Topic: stackinit unit test failures on m68k Thread-Index: AQHaacsEcesp84Z6QEmwBDAFOS1vdLEh6rvg Date: Thu, 29 Feb 2024 22:34:03 +0000 Message-ID: References: <202402271401.CB43AB2E8@keescook> In-Reply-To: <202402271401.CB43AB2E8@keescook> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding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