Home | History | Annotate | Download | only in imx
History log of /src/sys/arch/arm/imx/imxuart.c
RevisionDateAuthorComments
 1.30  26-Oct-2022  riastradh ddb/db_active.h: New home for extern db_active.

This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
 1.29  20-May-2022  skrll Add the character read in as part of imxuart_common_putc into the
readahead buffer

port-arm/45354: no character is put in the read-ahead buffer in a console code of arch/arm/imx/imxuart.c
 1.28  20-May-2022  skrll Use a macro. Part of

port-arm/45354: no character is put in the read-ahead buffer in a console code of arch/arm/imx/imxuart.c
 1.27  08-Mar-2021  mlelstv always re-read status register in the loop.
 1.26  20-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.25  20-May-2020  hkenken branches: 1.25.2;
i.MX support merged into GENERIC kernel.
 1.24  15-Jan-2020  jmcneill Add support for NXP i.MX 8M Dual/8M QuadLite/8M Quad family SoCs.
 1.23  12-Jan-2020  jmcneill Support imxuart_freq=0 (use existing settings)
 1.22  10-Nov-2019  chs branches: 1.22.2;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.21  20-Jun-2018  hkenken branches: 1.21.2;
Move intr_establish() before imxuart_attach_subr().
 1.20  08-Sep-2017  hkenken branches: 1.20.2;
- Move CFATTACH_DECL_NEW() from common uart driver.
- Rename : imxuart_cons_attach() -> imxuart_cnattach()
 1.19  30-Jul-2015  ryo fix to compile unless defined IMXUARTCONSOLE
 1.18  29-Jul-2015  ryo initialize uart register when it is not a console.
 1.17  13-Apr-2015  riastradh MD rnd.h cleanups. Please let me know if I broke anything!
 1.16  15-Nov-2014  christos branches: 1.16.2;
centralize the call unit / dialout macros
 1.15  25-Sep-2014  ryo add support i.MX6 and NITROGEN6X evaluation board
 1.14  10-Aug-2014  tls Merge tls-earlyentropy branch into HEAD.
 1.13  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.12  25-Jul-2014  hkenken Delete unused variables for new gcc.
 1.11  16-Mar-2014  dholland branches: 1.11.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.10  01-May-2013  mlelstv branches: 1.10.4;
For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
 1.9  02-Feb-2012  tls branches: 1.9.6;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.8  24-Apr-2011  rmind branches: 1.8.4; 1.8.8;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.7  14-Jan-2011  rmind branches: 1.7.2;
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
 1.6  27-Nov-2010  bsh use device_t correctly for imxuart.
 1.5  13-Nov-2010  bsh UART driver for i.MX31 and 51.
 1.4  13-Nov-2010  bsh rename imx31_bs_tag as imx_bs_tag to share it with imx51.
 1.3  30-Jun-2008  perry branches: 1.3.18;
__FUNCTION__ -> __func__
 1.2  27-Apr-2008  matt branches: 1.2.2; 1.2.4;
Merge kernel changes in matt-armv6 to HEAD.
 1.1  11-Sep-2007  matt branches: 1.1.2; 1.1.20; 1.1.22; 1.1.24;
file imxuart.c was initially added on branch matt-armv6.
 1.1.24.2  04-May-2009  yamt sync with head.
 1.1.24.1  16-May-2008  yamt sync with head.
 1.1.22.1  18-May-2008  yamt sync with head.
 1.1.20.2  02-Jul-2008  mjf Sync with HEAD.
 1.1.20.1  02-Jun-2008  mjf Sync with HEAD.
 1.1.2.2  12-Sep-2007  matt Minor cleanup. Actually match addr in match routine.
 1.1.2.1  11-Sep-2007  matt Initial support for Freescale i.MX31 (ARM1136).
 1.2.4.1  03-Jul-2008  simonb Sync with head.
 1.2.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.3.18.2  31-May-2011  rmind sync with head
 1.3.18.1  05-Mar-2011  rmind sync with head
 1.7.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.8.8.1  18-Feb-2012  mrg merge to -current.
 1.8.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.4.1  17-Apr-2012  yamt sync with head
 1.9.6.3  03-Dec-2017  jdolecek update from HEAD
 1.9.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.6.1  23-Jun-2013  tls resync from head
 1.10.4.1  18-May-2014  rmind sync with head
 1.11.2.2  10-Aug-2014  tls Rebase.
 1.11.2.1  07-Apr-2014  tls Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
that had stubbed out code, other minor cleanups.
 1.16.2.2  22-Sep-2015  skrll Sync with HEAD
 1.16.2.1  06-Jun-2015  skrll Sync with HEAD
 1.20.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.21.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.21.2.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.22.2.1  17-Jan-2020  ad Sync with head.
 1.25.2.2  03-Apr-2021  thorpej Sync with HEAD.
 1.25.2.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed