From nobody Tue Aug 15 21:18:37 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQPJr2N6nz4qQxW for ; Tue, 15 Aug 2023 21:18:52 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQPJq2Bb8z3fWL for ; Tue, 15 Aug 2023 21:18:51 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.208.173 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com; dmarc=none Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2b9b50be31aso88220351fa.3 for ; Tue, 15 Aug 2023 14:18:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692134329; x=1692739129; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=M4AIEHrmCy22RtuIPjkV9NS9j9fPlw9sTna3dIAuPso=; b=dq88wSJTLo/i1aDymNFwoDdtpnPXYGdNuXAJXKaeDn+j48XAjubP+Rt0d8YaM/sq7P 4tNUetbIguQqPeFzx0Y/t8KnNRKQXb9a+oYE3jgdAq5kRkx8f8om4IC1QVLlX7wgsiHB sKW3WLcYqnFjHPPdfOVBtlfhZ1C6r+QzHf8n7aMSb63PJuSJJonQZJenSy9ctpv5D9Ol pvXqpcNH4NQThmgoLthptKvg5hS1zfqiBs9qcQu1CvfnIgsweAwDm0uP6SEbu6QBXYxV sby7riNr0T4WffRyV1jqy7WFz9A6DmcL176ZX+Hu01nhQdIIDY/56XU8b3Dk3lleygDb CbJg== X-Gm-Message-State: AOJu0Yz3aUBOyCpY0kCWZAaudWPmP3eDfVOMXOYKfPHBhzU2DI2UHDL4 lOg4EXOwnm700NgIa0zhVl4ioNNU3pvBdWmmOzFyszunI5A= X-Google-Smtp-Source: AGHT+IHKbW5TfzRKJXbgmxsHmZnJDfkJSMtBM7CsdpowBSNRYEEr4bWES14ON6caK+Ko2/nyv4Vn5zr4o/X94CpZ3rY= X-Received: by 2002:a2e:a174:0:b0:2b6:da1e:d063 with SMTP id u20-20020a2ea174000000b002b6da1ed063mr9442825ljl.45.1692134328593; Tue, 15 Aug 2023 14:18:48 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Ed Maste Date: Tue, 15 Aug 2023 17:18:37 -0400 Message-ID: Subject: Defaulting serial communication to 115200 bps for FreeBSD 14 To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.173:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.173:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_DKIM_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[carpeddiem]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4RQPJq2Bb8z3fWL FreeBSD currently uses 9600 bps as the default for serial communication -- in the boot loader, kernel serial console, /etc/ttys, and so on. This was consistent with most equipment in the 90s, when these defaults were established. Today 115200 bps seems to be much more common, and I'm proposing that we make it the default for FreeBSD 14.0. I have a review open: https://reviews.freebsd.org/D36295. There are a few minor nits in the review to be addressed still but assuming there's general agreement I'll iterate on those and commit this in a few logical chunks.