From owner-freebsd-arm@freebsd.org Thu Aug 27 15:32:17 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 312253B627F for ; Thu, 27 Aug 2020 15:32:17 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2k.ore.mailhop.org (outbound2k.ore.mailhop.org [54.148.219.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bcmtm5Gf1z3YbT for ; Thu, 27 Aug 2020 15:32:16 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1598542335; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=RXCdeutlC8JBC8CuuOmHHgoqEd8SacfgpCaf5pw4FUUClUMhtvMwCET+rkwT5z7RO8fhJlffeGJWJ EHNwg0e0cWdL4HNjq4RbgynB4ZGX8YxsQ3nYBbJn+piMh9kCtKuGvXEs3/k+s/UmozKZE61qvXKMrE gfXoMlKaQyBsoz67maIinNIeQoQmj5HcMbDM4dFmt5BY3AQIFO+GSaeh3QIvH1yV3KGIE6+J0uwsb9 V/TP7cZCz4YUEwEV0jU3dKgomQAE8lHAUpcQZgTIxKUJYxYU4ZaydS7JJa/b1uQwB11323KZspAFP1 qWmx2nBAz/RZZQIsEWcrPc8QU8d/NwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=RFeHDz08WCSAKWSbq7r9myBr6u8fBbtUTOG9HetSTKE=; b=Kg3CbqGKGqREeHGVAGow45aegyXpCZv2w3j8vTEio9GMXgnRl5Bo4m2iOuiY+KNKSZGhMU+r/OFEP O7Oy18MGwomEBS77GT4PXLLQ3wp1/CvYVqxywIz16S5NgtaPFb9E83CflgnSZ3HjfqrrXGM9dZOCA9 v6ZuLXtxZstPI1vTcnMxnhDEB41mD1dLweNbkzF3WqAMSSohsGAY7gRRWAxjI3gPZdZehNkmeQZucP NvS1HRC4fU79dk9vH29s/4QafQfUtN2+RjwTmXW3aPUxc7e8j5mIz7168/HJ7LjrXdZLZh5aJ82V8S b6E5sRt55f84wxIaD3gRCvNeB2WSITA== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=RFeHDz08WCSAKWSbq7r9myBr6u8fBbtUTOG9HetSTKE=; b=FvdiLEZD+e+9DZQZRn+tJtpCnRR6nXTaTmPj12F4fe+BOOpWTBnbmR7GrKqP98a0+ye4zUSFGRwHw SyrCfmtZ5pF9OXg/it4mG9lqADe3d4lSD7tzPhS3lmpCAy/vtvcAqqKqQB/VAjsgzS5BTlFXptEuyZ frIF5eCvY3qRXXtiSM/6jlEBYjRWQd548PD8gXvob2VGJlyRx9HeWQOvhaOHLyBRkgZl02uqpwzU4h qR0h5c26wBXcjAhMKBkBTb4PsWV08ppazQqleXMMLtC9b5uolDwATyHbyumaMP6wn+F6lFF0qdVwuo Q0dWIM5sKJXYe4mZN/aalspJqYRGK1g== X-MHO-RoutePath: aGlwcGll X-MHO-User: 7a6dde34-e87a-11ea-b630-6b8aa7872eb8 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 7a6dde34-e87a-11ea-b630-6b8aa7872eb8; Thu, 27 Aug 2020 15:32:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 07RFWCrh022010 for ; Thu, 27 Aug 2020 09:32:12 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <7e463a00ef89d7df0455656f51fe14f72c088a70.camel@freebsd.org> Subject: Re: INTR_FAST From: Ian Lepore To: freebsd-arm@freebsd.org Date: Thu, 27 Aug 2020 09:32:12 -0600 In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bcmtm5Gf1z3YbT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 15:32:17 -0000 On Thu, 2020-08-27 at 19:20 +0530, Kamal R. Prasad wrote: > Hello, > > This page > https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/smp-design.html > > says that > "These interrupt handlers are currently misnamed ´fast¡ interrupt handlers > since the INTR_FAST flag used in earlier versions of the kernel is used to > mark these handlers. The only interrupts which currently use these types of > interrupt handlers are clock interrupts and serial I/O device interrupts." > > I want to use INTR_FAST for my spi controller, but i find that it is not > defined on freebsd stable11. Is INTR_EXCL related in any way to INTR_FAST? > if not, how do I setup a fast interrupt handler? > > thanks > -kamal > An important question here is: Why do you want to use a filter handler (formerly called INTR_FAST) instead of a normal threaded handler? For something as slow as a SPI bus, I can't imagine you're going to see any noticible performance difference. -- Ian