From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 29 18:10:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E37B1E74 for ; Thu, 29 Aug 2013 18:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9AFF2D6C for ; Thu, 29 Aug 2013 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7TIA0PJ082616 for ; Thu, 29 Aug 2013 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7TIA01v082615; Thu, 29 Aug 2013 18:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 29 Aug 2013 18:10:00 GMT Resent-Message-Id: <201308291810.r7TIA01v082615@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mindaugas Rasiukevicius 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 ESMTP id D82FBE2F for ; Thu, 29 Aug 2013 18:08:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C56DD2D59 for ; Thu, 29 Aug 2013 18:08:45 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7TI8jcp062689 for ; Thu, 29 Aug 2013 18:08:45 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7TI8jXX062684; Thu, 29 Aug 2013 18:08:45 GMT (envelope-from nobody) Message-Id: <201308291808.r7TI8jXX062684@oldred.freebsd.org> Date: Thu, 29 Aug 2013 18:08:45 GMT From: Mindaugas Rasiukevicius To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/181657: BPF_COP/BPF_COPX instruction reservation (sync with NetBSD) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 18:10:01 -0000 >Number: 181657 >Category: kern >Synopsis: BPF_COP/BPF_COPX instruction reservation (sync with NetBSD) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 29 18:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mindaugas Rasiukevicius >Release: >Organization: The NetBSD Project >Environment: FreeBSD -current >Description: Support for BPF coprocessor has been added to NetBSD (all details were also presented on freebsd-net@). This functionality adds two new instructions: #define BPF_MISCOP(code) ((code) & 0xf8) #define BPF_TAX 0x00 +#define BPF_COP 0x20 +#define BPF_COPX 0x40 #define BPF_TXA 0x80 It would be great if FreeBSD would reserve the opcodes. If you would like to backport the BPF coprocessor interface, the change is here: http://mail-index.netbsd.org/source-changes/2013/08/29/msg047090.html >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: