From owner-freebsd-arch@FreeBSD.ORG Tue Sep 16 03:37:56 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D2B0E56 for ; Tue, 16 Sep 2014 03:37:56 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (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 5294AA98 for ; Tue, 16 Sep 2014 03:37:56 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id n8so4909490qaq.40 for ; Mon, 15 Sep 2014 20:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sptQ+RRpWjQ1FY3Haclgz+AAegFkpRF0icNkdTzaXuc=; b=ZBGrKBNHu46erLhOB8CusWMwnpeKvRm8IG8NG9Ofuojyi0BlEo7wbe7xkaMR/mGTZo fTVEp6KC8yR/X2OaOKS1NtsixWxGgErKGxIC6E99+NBWjJHWoa5ytAP2QjLlaFmCWBA8 vk6of22PzwVQKh7cWXyEiOujp2Oyov6MuKUJRZ61AbteW/w+ASDjk2+4R20S5E5gq8al VAdSMPUvmbQMXE+g3IZqrZ8d8PjMmsLjGPBLM/qe9fwDZD9XTndetUGdFtWJGQl8sCXP WIC+YbNCWA8NKl0uLaPmgRPwRXA0mKUOLU0IzqH8X82FLBnj7GjuWJ7MsopXym1/bby5 y7jQ== MIME-Version: 1.0 X-Received: by 10.224.75.73 with SMTP id x9mr43154916qaj.63.1410838675413; Mon, 15 Sep 2014 20:37:55 -0700 (PDT) Received: by 10.224.39.139 with HTTP; Mon, 15 Sep 2014 20:37:55 -0700 (PDT) Date: Mon, 15 Sep 2014 20:37:55 -0700 Message-ID: Subject: [rfc] [rft] change intr_event_bind() / ie_assign_cpu cpuid to int 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: Tue, 16 Sep 2014 03:37:56 -0000 Hi! This patch changes the ie_assign_cpu bit in the interrupt struct to use an int instead of a u_char for a CPUID. https://people.freebsd.org/~adrian/smp/20140915-intr-bind-cpuid-1.diff I'd like some initial feedback on this. Yes, it's not cpuid_t (although this all may end up becoming a uint32_t at some point soon) but it does touch a few pieces of hardware I actually don't have and don't know if I can emulate correctly. Thanks! -a