Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2179082yba; Mon, 6 May 2019 00:49:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7/wwHbsW/5+GiEDfL9pj7oMhNApN9TCkObA5crGyhI1faOsdB6CTQsjhW8ghwO8Os/poH X-Received: by 2002:a63:4422:: with SMTP id r34mr22425182pga.362.1557128982182; Mon, 06 May 2019 00:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557128982; cv=none; d=google.com; s=arc-20160816; b=lzO+CqE1/GUeH4ucyMdcmtimDFS2Kq3ncB6zDyMhVJfXc8lcnWv+DKVCN9z+29xSCg nJ9CuW4aPfhykGzKtGCQOIeUVJ5Ahvroki5ISldyXr3vsFgTNpFhICnWcnSIgGFjnLbD sc22l4I6RaEMr3g0IP6D5J7UxmCx/DL6+CVwIZqa8/W2KmkbtnIYp1Um/1+oLlWU1/AK pAzpTZQiUzYKlH2g1vO2yOhv6AyO66CdWDzGHg05uiZGQ40D76SxmJ+Oy8LQO1nryBOu /uGZqYBLTX6I6Fy/Le0EXNNwFREBIFuUGmv1OEb0IxEDFT5BKzsxnisQXhYSsLp/zBKQ vfig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lOMmC2TdPGvudZ5zd3K88q7Hkn2nNBdEod9TPs+T1As=; b=ydB4tBzWJX3XWyxUabMnIZJeh3/gQjQXZFYADnFbBframNBy9HiykHG7lqt00dbBfb f0+8lp/5ddSttlX2peHZnnT/NLiqhfAyKVrS9UUMKlXC8DS/ikVLkFty9foiv6S9p3sE tk/vbKzWWrWVXnsStosn4o7Pag0Wp+CF9YDlZ8iX59xucSzulPnH+CG2StFvVxi73QCh 8eYYsnA0ATMQmimfI1XaDnjooCgm+Webg5+VAV7D8vUTVSzh4GPqJTeeADWdUTUCaEa7 EjOTcshHEDMIktPeURIdba9bOb0PnyGqz4lpxMRWK2wK1Co0pryX5OXzlqRSgZtKkrnl nHEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Slaf58rR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si5112679pgl.77.2019.05.06.00.49.26; Mon, 06 May 2019 00:49:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Slaf58rR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbfEFHsa (ORCPT + 99 others); Mon, 6 May 2019 03:48:30 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38812 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfEFHs3 (ORCPT ); Mon, 6 May 2019 03:48:29 -0400 Received: by mail-wm1-f65.google.com with SMTP id f2so8999243wmj.3 for ; Mon, 06 May 2019 00:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lOMmC2TdPGvudZ5zd3K88q7Hkn2nNBdEod9TPs+T1As=; b=Slaf58rRFMPspfJPXpmTfLlvwHidotLOMxhyQjova1O4DpsmA/t1EGlinnwrWNjZEa WGXX51gARplly5SfcaxFi1xynREwymrx2nkYqsnw8tXplC1Jed+eZEL89EAMgspKPkx4 VMPvROYT21z9Gfa2hf4YEkbEZMzU64Pnrvx0w/E2NvCgLPuXS/Ce2M5vuYhuVd2j+r4u wKFhmjQwd8VN5pi1cR7+4kAfj/k4clFbyCNw4CyQnrW+2UniB1kSivgEVBjU7pyF37Mw fisW2RubkyT9oK8pxfLjs06SlLs2nGZsRfxwfbOxUCSoy1gKnwLXV46GP1FupbieOKBi gikA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=lOMmC2TdPGvudZ5zd3K88q7Hkn2nNBdEod9TPs+T1As=; b=JMiROAXIpqN116FgQYW3sOd9Jc+AlzrpCbhsquEUmWoTjBVnHxWr34+3u8TdCiRcgw Dt23TdjFSFBUH2Mu76eawRiOXzyQxS/wn84gpR9yLvZrGDWgESThYmjosloSsV9P6ppB scZn7YcQh0SZj5e++iK8Vb6DCmQUwIrRbV9D38FszuOf2rOtXvMIcp2psmMltKIkcKrl VBTLJcaUN3esYEnC+7Iol1b6xFqsadGy1aOqsa6Mc+xGqXdhtW3+ZpFZIKPjAvaxni/S DQn5cYdh67eRv3WKVl+G/uj1mMJxpZiltcklyyvVbWMe6viw3Pc/46348Y/M7SQXTTKK WTZg== X-Gm-Message-State: APjAAAWgXZOJzXazibBWgbHna81klJ04GzoQCpr5v11eWuUuGAF7k+qP bBza2c+CqXmMi+EShWXsgks= X-Received: by 2002:a1c:4602:: with SMTP id t2mr15129112wma.120.1557128907723; Mon, 06 May 2019 00:48:27 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id u11sm16796834wrg.35.2019.05.06.00.48.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 00:48:27 -0700 (PDT) Date: Mon, 6 May 2019 09:48:24 +0200 From: Ingo Molnar To: Rasmus Villemoes Cc: Andrew Morton , Jason Baron , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, Michael Ellerman , Will Deacon , Ingo Molnar , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Linus Torvalds , Andy Lutomirski Subject: Re: [PATCH 00/10] implement DYNAMIC_DEBUG_RELATIVE_POINTERS Message-ID: <20190506074824.GA40476@gmail.com> References: <20190409212517.7321-1-linux@rasmusvillemoes.dk> <1afb0702-3cc5-ba4f-2bdd-604d9da2b846@rasmusvillemoes.dk> <20190506070544.GA66463@gmail.com> <25dfde77-fdad-0b99-75ec-4ba480058970@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25dfde77-fdad-0b99-75ec-4ba480058970@rasmusvillemoes.dk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Rasmus Villemoes wrote: > I _am_ bending the C rules a bit with the "extern some_var; asm > volatile(".section some_section\nsome_var: blabla");". I should > probably ask on the gcc list whether this way of defining a local > symbol in inline assembly and referring to it from C is supposed to > work, or it just happens to work by chance. Doing that would be rather useful I think. Thanks, Ingo