From owner-freebsd-arm@freebsd.org Thu Aug 27 13:50:42 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 C38C73B236D for ; Thu, 27 Aug 2020 13:50:42 +0000 (UTC) (envelope-from kamalpr@gmail.com) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BckdY6lzGz4dm1 for ; Thu, 27 Aug 2020 13:50:41 +0000 (UTC) (envelope-from kamalpr@gmail.com) Received: by mail-io1-xd35.google.com with SMTP id h10so1368335ioq.6 for ; Thu, 27 Aug 2020 06:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=lDC/wtlE1irpY8pdR9aRZ6SrBEryODFawfUDTyADdWM=; b=Mc3BN1pCiyptDbfdoDLGGhGMZYkjcUKSFMGUeyCXWCS12uyfan8bes2dI6rlLvlyYz eLYbzDEAPIGCcV68DpjKjBfsOTIJ65yO3mJSUM/lZqP1xeYuDe7oiXcxfKmUyh+MvJ6q xbcTpt8+SWUXnegpop67h5V35EHPP+Ev0K9eZq1BuZuG1feVD3JHAIDD4cZSZpb4MPAb 0Oc5DJyIHoI1RLW6xzjW0FqkK/uaqY3hNJ/lWYOdXUp8cZrETySUzpJA+nDFqKTSiewu n7uEP9V/x+t20TLnF60LgKlxKFi0cBYtWiJgE59azqzFd2lNdNYEB+gCk1syMOaCHSyo MUZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=lDC/wtlE1irpY8pdR9aRZ6SrBEryODFawfUDTyADdWM=; b=rW+nRwKPAVna3Tkn1TfMtVe7O98b8Wf02wjLeIwIMUH3QxxNB8a1RRBxE8oVxdiXu2 HASxth0G/Ht1N22EzLTEY3Fq0aiIV2od3YRrlNCm9pfgcNKcodAKNSsYF3MwnIYS8BII R5WYAtUcuMbK8gN8fIA5XlOTsbvLYvgYZB3ZBSEbQmi5prmv0cY726oQUNO8Lce2iN8Z J67qYR5geoKYb+gQrEHG5jL1YPPsJHUdNb88QPStP8Ybn2RflfX449N/SsNFGcvjRnmk gzrW7dpUyvim/vj/ywKtmKTugB2zCBaUISj8odymcQj/rbznKVmwkcljmRKBYLIZyyYT R8IA== X-Gm-Message-State: AOAM530xHiEHqEjveFiJf1BqmVXxOGSAEJoGqnOzhlwiL6bE6Dl6UI6t KEBdpYmT+UIRhHs5oHPly1jTOu48+gG/CW8LjJxeZnJzmg== X-Google-Smtp-Source: ABdhPJzgtusAQj3kEAeyVGwOiizRCqtWPDKXh5kVt+JRfuO2nqfuOWRW58I7pi4zO3OoT49EgarL+f82g4bIRQ9jFEU= X-Received: by 2002:a5d:9344:: with SMTP id i4mr16955943ioo.106.1598536240306; Thu, 27 Aug 2020 06:50:40 -0700 (PDT) MIME-Version: 1.0 Reply-To: kamalp@acm.org From: "Kamal R. Prasad" Date: Thu, 27 Aug 2020 19:20:29 +0530 Message-ID: Subject: INTR_FAST To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 4BckdY6lzGz4dm1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Mc3BN1pC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kamalpr@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=kamalpr@gmail.com X-Spamd-Result: default: False [-1.19 / 15.00]; HAS_REPLYTO(0.00)[kamalp@acm.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SUBJ_ALL_CAPS(0.68)[9]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.007]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.73)[-0.731]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.88)[0.876]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d35:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 13:50:42 -0000 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 =E2=80=9Cfast=E2=80=9D int= errupt 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