Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1302230ybt; Thu, 18 Jun 2020 05:39:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMouHhfpFvGshAoz8W23CaneofwAVnuYjAn+Uze+kpTQjUj7Z1HMXt5qkfOMWeNdU77UVS X-Received: by 2002:a05:6402:1776:: with SMTP id da22mr3981072edb.84.1592483989787; Thu, 18 Jun 2020 05:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592483989; cv=none; d=google.com; s=arc-20160816; b=CcxfJOzQY2FCxpq07pVcoQWM4HT0RagIeG3le6MLbZXgyTny+vbe066YmON5A627NJ 9WFX5Osh9BB2W424xqu2HkH5qu8fV6VJz7LucM+96bvK2JN99ny7vAm///n0eLDsFaTO wbUrzSoF637CIZKg6ms8eTwCox2PGX9S9RVODAvg6KLyGYBPiN+IQ6k/JzZXOiD9vI3f GtO9y8lqkBAR+WvZthbz1fX1nNIHcackV8U408igwAEBcRIrjgv39wZK7eEKKlLZW0D9 ReVO17FB0Do2tAztn5eeZHMnW1+cuSvkrppXipG73umP5jnfOeOD9f2RhniDhy3NMWpT 7dhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:references :in-reply-to:cc:to:from; bh=2+wQbIHsHy/VwwTDkZ5sGm4zsY4NFXCwMKmLexJlF7k=; b=jrDLFR47ijm39bpBp0UQPCb4pnvaIoP4t5DR6C3kqOOnR051qcrFqfK90SK40b5iox jvkqg6mjW7aBlWNHgH5ICO9GgRNPyScZOPqx5GowsImFs1MRjhx/yrYsqvs9uA6MbQFc Ne5NMu5czALhBqyy/nwb0jWY4REhyoV5mSP1ptv84U38MRR5kEOXax6OkthG7mJSeE8s 77UH4Kkzc435H+M8tSJ+ryZpb2CbOyvIwvU94V2tBprNjYqrPKnVY2keJJabgiHqc4GF OnSpxCOyZY6cFGSgfYO25tFaVgsjHje8HAe8IL4qTNSZ81k5M3R8WX4EogBKfnpCNH+8 y6HQ== ARC-Authentication-Results: i=1; mx.google.com; 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 k1si1882840ejb.562.2020.06.18.05.39.27; Thu, 18 Jun 2020 05:39:49 -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; 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 S1729805AbgFRMhU (ORCPT + 99 others); Thu, 18 Jun 2020 08:37:20 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:49773 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729780AbgFRMhR (ORCPT ); Thu, 18 Jun 2020 08:37:17 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 49nhK55kyHz9sSF; Thu, 18 Jun 2020 22:37:13 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , linuxppc-dev@ozlabs.org Cc: linux-arch@ozlabs.org, linux-kernel@vger.kernel.org, arnd@arndb.de In-Reply-To: <20200616135617.2937252-1-mpe@ellerman.id.au> References: <20200616135617.2937252-1-mpe@ellerman.id.au> Subject: Re: [PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table Message-Id: <159248379723.3471720.7761730589256580141.b4-ty@ellerman.id.au> Date: Thu, 18 Jun 2020 22:37:13 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Jun 2020 23:56:16 +1000, Michael Ellerman wrote: > Currently the macro that inserts entries into the SPU syscall table > doesn't actually use the "nr" (syscall number) parameter. > > This does work, but it relies on the exact right number of syscall > entries being emitted in order for the syscal numbers to line up with > the array entries. If for example we had two entries with the same > syscall number we wouldn't get an error, it would just cause all > subsequent syscalls to be off by one in the spu_syscall_table. > > [...] Applied to powerpc/fixes. [1/2] powerpc/syscalls: Use the number when building SPU syscall table https://git.kernel.org/powerpc/c/1497eea68624f6076bf3eaf66baec3771ea04045 [2/2] powerpc/syscalls: Split SPU-ness out of ABI https://git.kernel.org/powerpc/c/35e32a6cb5f694fda54a5f391917e4ceefa0fece cheers