Received: by 10.192.165.148 with SMTP id m20csp80275imm; Fri, 4 May 2018 07:02:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp99gXH38ik+IW/uK0lRzzBmSrpqkGZSlOnJTaFDmI0y5GFx794HbTFDhNXHeBLLepEv8Tr X-Received: by 2002:a63:3c47:: with SMTP id i7-v6mr22464115pgn.254.1525442523801; Fri, 04 May 2018 07:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525442523; cv=none; d=google.com; s=arc-20160816; b=qAJIhpwWFaNkdUt2J37cXx4Tq/S+KLJXUD4KWFNwNff7Kg8D8jKs5zqE73O0klQqh7 4gRcV5JtaOvj+aOhhXJwdaHhHxxBx2xj4reNQom/0jZ1rPb5Qh1WLO3+BQ0l/d0nk1BH WDAdReZPzAs2b0HPlRmxNIaC1bOmjrSC+iqB+gjmYitseBOCIcYiqu9N1bXDY2VRPEzv 9o/nXloJX/ipCkuo6zd4eg+ffqoebEP0JHb4PZ+tDrCVTjyp9WGXQ4p3ysuJtQTfvt2X AawaDK2dUEz9l6BUWnJFffNqIdX+aYwYu+nL1xjXLHrZTrU1BvzOTOXvyWQCmm92Ir7p Fopg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=6i95aPh5wpbREVmXRNbw0zClwsuSVVJbA1+vN3+GdYw=; b=i4tf9HqVrE9oOcYTwNc13zfweqK0PQzWfj5PqOWMl4Daj0iHU1Xb4ddpyQt4ZAFoQm h6++9z/TZQcHWHm1FA8z983v4Q9bToHEb/CCb/gNkZzYrdZX0oGKt1Pz9+6/cGZe50Be AOq3Ow7eln9JKR5lziv8yKoORJzEjuvxboFAFsK7eYrVIeJPBsj1wvTFBc6GeeALgL3U Kf8LWzHqJXfn4uSAVc4cevEsWgjhYIWX371nyv90mWsCqrSFFbdOO4frMHn6JP2qF2iv QpGp2B1ejzv6NBebJCP9tE7Vsd/xOv5EQcrlDEiuD8fBJF6T41s8sZr/hZO/BLYwgrEZ 2JLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=G1dwI37t; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24-v6si12925425pgn.55.2018.05.04.07.01.47; Fri, 04 May 2018 07:02:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=G1dwI37t; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751960AbeEDN7W (ORCPT + 99 others); Fri, 4 May 2018 09:59:22 -0400 Received: from imap.thunk.org ([74.207.234.97]:52580 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751706AbeEDN7G (ORCPT ); Fri, 4 May 2018 09:59:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6i95aPh5wpbREVmXRNbw0zClwsuSVVJbA1+vN3+GdYw=; b=G1dwI37tf0mHNQ1bTbezgdQ+5w aD0oWPrusaCTYW5egjNrowy0pAutn1R9TUQYqKnwb5vZXL4DEKtG26Y4bFfC+KmOVJzsH1bPUsEth zxwhVpC9aLHMEIWhW7W0SUXlsk8Mz0LJfuCGvq5Qv02JjAqAUlWnk6FUlBDn8CS7d53w=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1fEbEn-0002Tl-JC; Fri, 04 May 2018 13:59:05 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 5163F7A4B0B; Fri, 4 May 2018 09:59:04 -0400 (EDT) Date: Fri, 4 May 2018 09:59:04 -0400 From: "Theodore Y. Ts'o" To: Muni Sekhar Cc: linux-serial , linux-kernel@vger.kernel.org Subject: Re: serial: custom baud rate Message-ID: <20180504135904.GJ29205@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Muni Sekhar , linux-serial , linux-kernel@vger.kernel.org References: <20180503175401.GD29205@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 04, 2018 at 02:34:51PM +0530, Muni Sekhar wrote: > > See the setserial man page:t > > > > https://linux.die.net/man/8/setserial > > > > Not all serial devices support the spd_cust and divisor, however. In > > general, only devices where the kernel directly programs the > > 8250/16450/16550 UART directly will support this feature. > > > So custom baud's can be set via TIOCSSERIAL IOCtl in kernel mode? ioctl's are in general designed for use in userspace. So are the termios interface. - Ted