Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3458732pxk; Mon, 5 Oct 2020 10:08:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweS0pHj/EnaDXAkJtmJcp4SRBOoPxlhva2o3mxGbX8sF+IH9SnP79DPFiY33HtPrDgKi1H X-Received: by 2002:a17:906:e949:: with SMTP id jw9mr697656ejb.109.1601917697300; Mon, 05 Oct 2020 10:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601917697; cv=none; d=google.com; s=arc-20160816; b=h7rmxe/px8wsOtsUaZEkqLG5Xu3bw91uB4nsAyQdVl2IFYK+Lra/L3NtyZKdqEMk7o LONqTOE+y+K5HNtiJmjKtgkbaMiulv/dCPzrIHg8wVhXotxVLy79dYAWOcSjqDg1h2Md pIvAu7OdXgBWb7q+xqAqRa4lGJ2n87Ucy0sabVWFC3k5dHhZdVA8u6CnIRjcGYqjDDmc KKEqO+8RG5vKdnP++azrRD/LvplySTyXRbxBXAMxuQZMrsvLtqHIMdln6wRxHPiq8Rts PaEZBawK7ojMdoVE9yQ4STLR30ZsogRbRQbH/Aoav97KbP2QK/GJMy/jmH1LvkojNZzA sRRg== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=bgKuiZru+fzYOW+rknHpx1Qb/5rCkL8zdBgqBiopZMo=; b=JR9iy49egKzYlCLTj5OywNcPA1J7xyr2/Z2N77SS48OieUjFirjKGiSx/YCDbSrLTO 3v+aiTRvpII/WE02twtxQxyeiNflcl/0oDbKhZLMCQXYM/CM3GoBp6k+2tUMJjxWKpun zDAs2IBU/GgAgf8HWtYQXjMp2f28hiJ8B17B2cyrc0aqiloy3HkjNFUdlhln7DFFFifa VDfgcqBZfeFk6Yr6sJ2vyrSfLl+FDqh6EbAksxVMlSGYCk9I4KaOFC5giA6YFMIxGlTX lDWNTCvI8BMdXzJBl2a6CziqI+5W8iwTMAyypMP7Hcx2QtsUZVkbQSAXD5dnMp4RSdjb cDlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=l6LKrMfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si123010eje.414.2020.10.05.10.07.51; Mon, 05 Oct 2020 10:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=l6LKrMfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727220AbgJEQjx (ORCPT + 99 others); Mon, 5 Oct 2020 12:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbgJEQjx (ORCPT ); Mon, 5 Oct 2020 12:39:53 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A6B8C0613A7 for ; Mon, 5 Oct 2020 09:39:53 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id a200so2462389pfa.10 for ; Mon, 05 Oct 2020 09:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=bgKuiZru+fzYOW+rknHpx1Qb/5rCkL8zdBgqBiopZMo=; b=l6LKrMfjBVohHwxF9jv9cqtVCwnHkEr5vlQIuvPbeEgaOLBzDUY+wRtP25s/t70Hhk 5kWV73hIpokOwi1l3tHFPB2vRCReQJOQ4ip2SfbDgwGkEVVTeChIsI38ZzqFLsIBYJ54 Co2LtOtfJKXU4ezUVwnCkRZlXHoLRNgYZANjYnRB2g2PAYqQGWe+iLcKStDvNMwo9wl4 2IEPUjd/4a30CwRyaXqR5Y/7BZTsWDS/rqJ5l9ENklSFMXLNAF4CIFlDSZ3Q4xVN9M0O H3omOE7p1NxvhbLbxwFC1f0wKnxwTlqnG1HOfQuubft5h5kKaYf0aCI7hgPx+yG0l8YJ X32g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=bgKuiZru+fzYOW+rknHpx1Qb/5rCkL8zdBgqBiopZMo=; b=b/C8GsxcW4iGboJnNJmy74iAudproIsR0P2KnWM1rnJsnIC2IKroetiOgEmyEfFrPD vny1pwUioAtGI9N7elx+4b+yt9GDlpB6/ydbj89oy/xHCgxIrz/1ILwN6w9dYMU3kmgl TjSf8yeg/uRb3WzpPk78iB2z84zGWhdVjn2NYySKX+niaye1qTBlH2HFDhen4aumd62l OSws4jhRHoJZX0Dx8b7vLzxGfO131HwrovZB3IWxOWgef10hugPfmvlRaE0dHHIAhIR/ I9JBpRRSeLlhN64fwf48n/Z+mWJWURwPgXucJ59sAA62NLnay8ZdO0Zu3IQxIWUq/v+L fl4Q== X-Gm-Message-State: AOAM531tDU6haBFknikjrAwW6F/xaS/+gBA4sfh862GSW1i20OOV59bT 9czptCjU/Lqc2hNkBba1jJ2TFg== X-Received: by 2002:a05:6a00:1356:b029:13e:5203:fba3 with SMTP id k22-20020a056a001356b029013e5203fba3mr565585pfu.3.1601915992319; Mon, 05 Oct 2020 09:39:52 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id z9sm418686pfk.118.2020.10.05.09.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 09:39:51 -0700 (PDT) Date: Mon, 05 Oct 2020 09:39:51 -0700 (PDT) X-Google-Original-Date: Mon, 05 Oct 2020 09:39:45 PDT (-0700) Subject: Re: [PATCH V2 1/3] riscv: Fixup static_obj() fail In-Reply-To: <87lfglt6z1.fsf@igel.home> CC: guoren@kernel.org, Paul Walmsley , anup@brainfault.org, greentime.hu@sifive.com, zong.li@sifive.com, aou@eecs.berkeley.edu, tglx@linutronix.de, tycho@tycho.ws, nickhu@andestech.com, linux-riscv@lists.infradead.org, guoren@linux.alibaba.com, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org From: Palmer Dabbelt To: schwab@linux-m68k.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 05 Oct 2020 01:25:22 PDT (-0700), schwab@linux-m68k.org wrote: > On Sep 14 2020, Aurelien Jarno wrote: > >> How should we proceed to get that fixed in time for 5.9? For the older >> branches where it has been backported (so far 5.7 and 5.8), should we >> just get that commit reverted instead? > > Why is this still broken? Sorry, I hadn't seen this. I'm not seeing a boot failure on 5.9-rc8 with just CONFIG_HARDENED_USERCPOY=y in addition to defconfig (on QEMU, though I doubt that's relevant here). It looks like the fix is to essentially revert this, which I'm fine with, but I'd prefer to have a failing test to make sure this doesn't break again. Guo: I don't see an actual patch (signed off and such) posted for this, do you mind posting one? Otherwise I'll take a crack at constructing the revert myself.