From owner-freebsd-arch@FreeBSD.ORG Sun Oct 19 17:13:11 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 625A0753 for ; Sun, 19 Oct 2014 17:13:11 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2C5CE19 for ; Sun, 19 Oct 2014 17:13:10 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id b13so3925600wgh.22 for ; Sun, 19 Oct 2014 10:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=G5X8iGV0G5CfSN6oJqwi5XYRUfviHeyE6tV10qXiP+o=; b=DW6EweR3f+zwWf0skfQFnngZBqF3miFRwhd5vqQsyai+aEMeF5//abTHkIzbNAVD3L Jpq++OAAI0hmTnBc6Bb2u5s6Nzdp8v3hneaJiAwUhLNnHyrn6z7fC5NigP6g+wPdxEJa PLHZ5g65k/gzW1y7oApSETKlXzwDojdPCiBqit0TInACqrbqEm/U99lzNP8i+V3QSLhi er7rWtLZgd9INzKx/kKUtmMYtpeiyIPmdPSuzWEP/lKftvdac/JV2RlVkknqXOaQ2aMA dFjyo8rsoOMmq9+BbDgsB/PEVt6hk42X0+i5AG5m//UFmzOcLpYK39eC//NNzx1qrUgb S/Mg== MIME-Version: 1.0 X-Received: by 10.180.77.229 with SMTP id v5mr13677686wiw.59.1413738789261; Sun, 19 Oct 2014 10:13:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sun, 19 Oct 2014 10:13:09 -0700 (PDT) Date: Sun, 19 Oct 2014 10:13:09 -0700 X-Google-Sender-Auth: 8EimTY67j6F8z8Hx4f4zVaybNSo Message-ID: Subject: note: cpu ID type is now 'int', please help me find any last vestiges of the old ways From: Adrian Chadd To: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 17:13:11 -0000 Hi, I've just smacked the last obvious places where the CPU ID type was smaller than an int (signed) and NOCPU is now -1. We don't have any obvious hardware support for anything with > 254 logical CPUs just at the moment but I'm sure that during the lifecycle of 11 we're going to start seeing devices with > 254 logical CPUs. I'd like to try and find / squish any remaining code in /usr/src that uses a different type for CPU identification. I'd really appreciate any help I can get in updating things sooner rather than later. If there are any other ABI related changes I'd like to get them into -HEAD far before the release point so things can shake out. So, this is a call for help. I'm doing this (mostly) in my spare time with donated hardware, so I'm thankful for any other help people can provide before 11-REL is cut. Thanks! -adrian