Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp976433pxk; Thu, 10 Sep 2020 03:56:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3fsnldXElz8lvk2LM0+sMnuZO3S558bL718SJksdrACNKO0hHUZRekSFtYvkRJL86cXFX X-Received: by 2002:a05:6402:16c9:: with SMTP id r9mr8416939edx.27.1599735407541; Thu, 10 Sep 2020 03:56:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599735407; cv=none; d=google.com; s=arc-20160816; b=xvOGMgBCXd+G97EPyQ8GZkRGFEOTIwzxTnFRMgWhoKw6HgPUeH6CPlaFWEKxCFapLf oIV0Pd34WZZriTuRzo175e/f/+pFF/zWrKWerszZmew8dp/kBfoFRxwweqa5tZ0vMVS7 BJyvgn1aB4K2MFFzHuMo2zuCwOASc8BU4QU7lS/JzUqVL64/f07c+e3ZIuToOhw6W+ha dAlrmVYcUKfwSQV5JDCcdvcZCe7hz641By/MKIXaCY1Oeco3AMs6GxlcQ3M3gscHlGw8 sJMJiZrgjY69vJHWlxKf7P4Jaj3MChqw3O0W6D8ESUrXJ6CEJMZ11RyT2YSYXslWCCwJ dxlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3bq6Xd8oBWW/kHc7+k0vFqhBls4w6B4cN1d1NTriuls=; b=KfVOBDBkDezNcggn4lW2bxWwe7oYW1zwcK6zI9vOEq92fRmEsv1IMCJty/kqoE+SAA 3Us92owOVK0sbGlLBKSMf+FkqEXtwpYOfxKA538FAYqm8RSlhkLvXpisSqRfOznjr8sS tWfdxtuE6tlKkR3PbknYk5TSAt7HtiY0ACixMiAGize6Klxc2byVjSDNvMgDM/oiZuCk TKit/RBL5hLVXA0z8VDnihMmqardxccwBb4eZEb1M2U21i5SBEg1Y3YnbPmx9gBNeCg5 C9I2ozEbmBhfZUo3T8ebnwFt3DU+KUfOCcI8FgYqxXIO53yrAwfeg7qQfNnS27uaOqve 6Q4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=ZW+XrCOJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si3624713edm.167.2020.09.10.03.56.24; Thu, 10 Sep 2020 03:56:47 -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=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=ZW+XrCOJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729296AbgIJKzC (ORCPT + 99 others); Thu, 10 Sep 2020 06:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730423AbgIJKwm (ORCPT ); Thu, 10 Sep 2020 06:52:42 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B21C061795 for ; Thu, 10 Sep 2020 03:52:42 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id h6so4436264qtd.6 for ; Thu, 10 Sep 2020 03:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3bq6Xd8oBWW/kHc7+k0vFqhBls4w6B4cN1d1NTriuls=; b=ZW+XrCOJ9Hh8BdUcXHsXfPQsWDxpPcRlA+Zod0PrwTfm4pqgiZReUjNgCeFIZXPmpD WSg1VkhZnd49D1+mvRomDad172OZhvVlZLSBBc4AXkayC2lVG+pm8OLUf/CZ5Et8uL3W ybvngSICWecytQ4N9qHaCd3ksvrLTd/H81rbEn9lOZ+H5mcJ7uRvQvSPKR/AezVigLbC NlJl/Xzgyq5WF2JFWsWKbHmxkTLe4t5eewOpcQqME8SApDZZ9YRCosJvauJ7P4yP02lI kam36xVAyMsflj7fT1713H6j/vNnlm3K1DFv3DOBQraKHmkn/RC7yev0Kt5TjA5AbUwD Bacw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3bq6Xd8oBWW/kHc7+k0vFqhBls4w6B4cN1d1NTriuls=; b=lZYjl8jlGILHxcVua3X1lEtQNMGRnv6HhiPeWf/+oJExAnTyJUSykK5O4cj3xUxxH6 H3HrhDlJrkX4xIBSi8y11aOGkalskJnhXVhRH5h1nYJfPSNdYNtklNCdM2RGs+uwX20r uQsuslaAttCOnOtHk5UwmfIApVMiTJa2u3807xTonxTCGR1HXVxt4BP2kxfaVQ1MVypr bpbhWs2V0tGzWgjcCPFWGA3hHczJc05RbdSXgGbPFqsNHaGdOxKdAtHeya58ZXOfn2nS F14hKHDqIsd/GJlsuDRiUbYlos1Jj0zXWXJoNO61OhZAT+y29v4Wrn1EoamslCOVZgU0 xOfg== X-Gm-Message-State: AOAM532U8cBuAmruHSoq7jpefaDDSZbWcKacHTXvohUgqANkBi3aECiC MjNAkYyuE0/0pCn/IvvTv7m2eCk0+/YU9g== X-Received: by 2002:ac8:7145:: with SMTP id h5mr7571530qtp.110.1599735161446; Thu, 10 Sep 2020 03:52:41 -0700 (PDT) Received: from ?IPv6:2607:fb90:5e99:306e:7450:cff:fe32:650b? ([2607:fb90:5e99:306e:7450:cff:fe32:650b]) by smtp.gmail.com with ESMTPSA id j31sm6893908qta.6.2020.09.10.03.52.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Sep 2020 03:52:40 -0700 (PDT) Subject: Re: [PATCH] sh: fix syscall tracing To: John Paul Adrian Glaubitz , Rich Felker Cc: linux-sh@vger.kernel.org, Michael Karcher , linux-kernel@vger.kernel.org, Yoshinori Sato References: <20200903054803.GX3265@brightrain.aerifal.cx> <20200903161639.GE3265@brightrain.aerifal.cx> <1a3f0f7e-f6e6-db4e-06ad-9c7d560a6265@physik.fu-berlin.de> <20200907174436.GK3265@brightrain.aerifal.cx> <3b8d5e6a-38d6-6eca-a49a-69e06680ec1c@physik.fu-berlin.de> From: Rob Landley Message-ID: Date: Thu, 10 Sep 2020 06:02:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <3b8d5e6a-38d6-6eca-a49a-69e06680ec1c@physik.fu-berlin.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/20 4:55 AM, John Paul Adrian Glaubitz wrote: > Hi Rich! > > On 9/7/20 7:44 PM, Rich Felker wrote: >>> Can we still get this merged as a hotfix for 5.9? >> >> Yes, fixes for regressions in the same release cycle are in-scope (the >> whole point of having -rc's). I have at least one other fix that needs >> to go in too and was just giving it a little time to make sure >> everything's ok now and that there are no more. > > Let me know if there is anything else left for testing. Could you also merge the fix the build break, ala: > The vmlinux image is a current vanilla Linux kernel using an initramfs filesystem: > > make ARCH=sh CROSS_COMPILE=sh2eb-linux-muslfdpic- j2_defconfig vmlinux > > And trying to do that in current git dies with: > > CC init/version.o > In file included from ./include/linux/spinlock.h:318, > from ./arch/sh/include/asm/smp.h:11, > from ./include/linux/smp.h:82, > from ./include/linux/lockdep.h:14, > from ./include/linux/rcupdate.h:29, > from ./include/linux/rculist.h:11, > from ./include/linux/pid.h:5, > from ./include/linux/sched.h:14, > from ./include/linux/utsname.h:6, > from init/version.c:14: > ./include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': > ./include/linux/spinlock_api_smp.h:90:3: error: implicit declaration of function > 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] > 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); > | ^~~~~~~~~~~~ > | xchg_acquire > ./include/linux/spinlock_api_smp.h:90:21: error: 'raw_spinlock_t' {aka 'struct > raw_spinlock'} has no member named 'dep_map' > 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); > | ^~ > > And so on and so forth for pages. I bisected it to: > > commit 0cd39f4600ed4de859383018eb10f0f724900e1b > Author: Peter Zijlstra > Date: Thu Aug 6 14:35:11 2020 +0200 > > locking/seqlock, headers: Untangle the spaghetti monster Which I reported to Rich on the 2nd and he had me test a one line patch fixing it (adding an extra #include) on the 3rd, but I just did a fresh pull and the j2_defconfig build still broke a week later. Rob