Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1909718ybt; Sun, 21 Jun 2020 03:15:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGPaQSmLYohgWUFLXnpOKliZe8dWN3SihCcDw5gQmgiAR0Fm3h96EUqsZT5afvUC8JIslx X-Received: by 2002:a50:f0c4:: with SMTP id a4mr12171714edm.125.1592734531049; Sun, 21 Jun 2020 03:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592734531; cv=none; d=google.com; s=arc-20160816; b=mLjQu0Ckt6noamGkT5GfWSBpZkKeDlWQgyyqa05/AfioY+ELRK3xdjBAv4D2qDX0mA c0z00uBQ/Pd0pN9Z/dNcPFdwvaJerGRmAju8Wi4RXgWUbNIsP4WcVj7WMPe91kWxFa5k xcPKkp9pi52CZ6LB3ZgG1/42qoDWuha5Eap6nt4lsJ9Nbf7cbhseAdwbPRIDAVDy5qvm 6BSRl3yucjdEhRSAA+w4d4ndIbH0jjpEu0I2MbHQu1+HLANXwmo8JZfWesySTgZQPaZa 3+Ykxs3XX917vByuB/1+4NdmyqoVc4L6hBcIwcpGG8PLxzPAD1dV3o4TIWrIFXnQcRXb xl5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=QnOtfr5DYE/rAhLCg4OxVM2mi361FvVT6MGHCbIidN8=; b=VttxJAoAzKcHyThYnM9UCjHOa+DdC5CxgjL6u8yZH9rr31H6ujKSQOAVx2F31elK+x Uop2adUqGSBErczZAcWw5nHCJzGwqMifPNgwZrB5raZ7qw3kxm8FJ5MPaiG1cj2h6hRM o9xeI4+fFvtncXQgYw42t1I6DNHAw9WNzqnpNVkAtieLb8KzFYyA7Vn3VcmlGrC7Jsj2 VH6FsSpHMQ9355rfJDJYXSKpau49HCVEjqnOjenT5nPSrX7RLmH7GM3Ho+SpWH3RK0IB Ih4bNkUKVoXsOY/KGmaMX4lCUX00i/ALwQUzS0c+of49nHu6HR3qztocc1cM4Mw8qPz0 xqdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=WhFX2fQg; 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 c11si8349986edn.383.2020.06.21.03.15.08; Sun, 21 Jun 2020 03:15:31 -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=@ellerman.id.au header.s=201909 header.b=WhFX2fQg; 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 S1729875AbgFUKMt (ORCPT + 99 others); Sun, 21 Jun 2020 06:12:49 -0400 Received: from ozlabs.org ([203.11.71.1]:48309 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729732AbgFUKMt (ORCPT ); Sun, 21 Jun 2020 06:12:49 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49qSz26L3Vz9sSf; Sun, 21 Jun 2020 20:12:46 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1592734367; bh=73EbSfvdEUAjZq8zN7sj/qvkEAt7r5fJFhwHZNeTzu0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WhFX2fQgf6uDTODIOOxw/m/EruopCUcZCSs/OEXJ0WOd0qMcPw6MiLC7IpFFjXlAc 8A2ldVoheZHjDS97QRZaJ4ww7+ZLkwQIBzpj5/JKyDp+khBOoh1illuoGXyLazZhYZ 0+rWo8qRleqFLcNsCgLK+glSwrwtCsGj06469NEkONPvfKuALmKUeqQ0gKPGZbBAPc B1y3xPef5+MWWbkDRx4RkljHxsZdEquDiS+K2X+QWZFEpEhlZyDyMueAGNCPVnaE+1 BYLXJSeZ08/wzor7UBVa746JWY3FieFXDuHagS02YEdPkF0RxLhzlImphatw2h95sr MPBHNE2kSr2PA== From: Michael Ellerman To: Michael Ellerman , linuxppc-dev@ozlabs.org Cc: linux-arch@ozlabs.org, linux-kernel@vger.kernel.org, arnd@arndb.de Subject: Re: [PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table In-Reply-To: <159248379723.3471720.7761730589256580141.b4-ty@ellerman.id.au> References: <20200616135617.2937252-1-mpe@ellerman.id.au> <159248379723.3471720.7761730589256580141.b4-ty@ellerman.id.au> Date: Sun, 21 Jun 2020 20:13:17 +1000 Message-ID: <875zbkd8w2.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Ellerman writes: > 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 Patch 2 dropped. cheers