Hi,
rather random "i want to clear those XXXs"-moment with morning coffee,
did seem like this was screaming for __packed from sys/cdefs.h,
and less MD in sys/net/, if nothing else.
With a bit of googling i also ran into a different solution,
which is as ugly as what i'm replacing, imo.., that is:
On Wed, Jul 18, 2018 at 07:57:57AM +0300, Artturi Alm wrote:
> Hi,
>
> rather random "i want to clear those XXXs"-moment with morning coffee,
> did seem like this was screaming for __packed from sys/cdefs.h,
> and less MD in sys/net/, if nothing else.
>
> With a bi
On Thu, Jan 11, 2018 at 12:41:29AM +0200, Artturi Alm wrote:
> On Wed, Sep 13, 2017 at 05:51:27AM +0300, Artturi Alm wrote:
> > Hi,
> >
> > even after having recently updated the phone to a newer version of android,
> > i'm still spammed by urndis w/msg on subject
Hi,
these have been missing for some reason, but i'm guessing i wouldn't be
the only user using urndis, rather than messing around with firmwares
when rushing into reinstall having forgotten about some necessary fw..
(arm64 RAMDISK has urndis(4) already.)
-Artturi
diff --git sys/arch/amd64/con
On Mon, Aug 20, 2018 at 02:15:55PM +0300, Artturi Alm wrote:
> Hi,
>
> these have been missing for some reason, but i'm guessing i wouldn't be
> the only user using urndis, rather than messing around with firmwares
> when rushing into reinstall having forgotte
Hi,
spotted this while removing return value from usbd_close_pipe,
following cleanup by pirofti@[0], which made usbd_abort_pipe void.
-Artturi
[0]:
https://github.com/openbsd/src/commit/1e087f7cf25ce711b6cef28d054ab4a68be213d2
diff --git share/man/man9/usbd_close_pipe.9 share/man/man9/usbd_cl
On Sat, Aug 18, 2018 at 11:05:04PM +0300, Artturi Alm wrote:
> On Thu, Jan 11, 2018 at 12:41:29AM +0200, Artturi Alm wrote:
> > On Wed, Sep 13, 2017 at 05:51:27AM +0300, Artturi Alm wrote:
> > > Hi,
> > >
> > > even after having recently updated the phone
On Sat, Nov 29, 2014 at 09:42:51PM +0100, Mark Kettenis wrote:
> Recent Oracle SPARC machines have a USB gadget to talk to the Service
> Processor (ILOM). This gadget supports both RNDIS and CDC Ethernet.
> The RNDIS bits uncovered a bug in urndis(4). When urndis_ctrl_set()
> sets up the REMOTE_N
On Tue, Sep 18, 2018 at 07:13:15PM +0300, Artturi Alm wrote:
> On Sat, Aug 18, 2018 at 11:05:04PM +0300, Artturi Alm wrote:
> > On Thu, Jan 11, 2018 at 12:41:29AM +0200, Artturi Alm wrote:
> > > On Wed, Sep 13, 2017 at 05:51:27AM +0300, Artturi Alm wrote:
> > > > H
On Mon, Sep 24, 2018 at 03:34:59AM +0300, Artturi Alm wrote:
> On Sat, Nov 29, 2014 at 09:42:51PM +0100, Mark Kettenis wrote:
> > Recent Oracle SPARC machines have a USB gadget to talk to the Service
> > Processor (ILOM). This gadget supports both RNDIS and CDC Ethernet.
>
Hi,
subject is a bit misleading, sorry about that, but another user on IRC
was wondering why there was no option to choose SMP .mp kernel during
installation for another arch when i noticed some of these missing(?).
I don't have a sparc64, nor remember whether the automagics would cover
it too, s
Hi,
spotted these while looking at x_attach() printf()s for something else.
-Artturi
diff --git a/sys/dev/fdt/sximmc.c b/sys/dev/fdt/sximmc.c
index eb5cf7f353e..9fa831d955a 100644
--- a/sys/dev/fdt/sximmc.c
+++ b/sys/dev/fdt/sximmc.c
@@ -418,7 +418,7 @@ sximmc_attach(struct device *parent, stru
Hi,
doesn't look pretty, and is more lines, but in browsers the lack of .Xr
does really stand out, and not in a good way, in my opinion. :]
-Artturi
diff --git a/share/man/man8/intro.8 b/share/man/man8/intro.8
index 17a64368b7b..3bc3fceb5ca 100644
--- a/share/man/man8/intro.8
+++ b/share/man/ma
On Wed, Jun 12, 2019 at 03:55:59PM +0200, Alexandre Ratchov wrote:
> Currenty USB device driver code has no way to obtain how many frames
> can be scheduled on the HC. If it attempts to schedule too many
> frames, usbd_transfer() fails or silently misbehaves.
>
> For audio this is a big problem be
Hi,
i got a branch i would like to have this for =]
this works for me as is, and already does more than the current code
in tree, which this diff removes from sys/dev/fdt/ehci_fdt.c.
i took a look at how netbsd does this, but went essentially with what
linux does for these bindings (excluding so
Hi,
i would like to attach sxisyscon(4) on a few more compatibles,
and register the regmap once per child with a phandle.
here is a complete example of the relevant node(s) from sun7i-a20:
Node 0xda8
name: 'system-control'
compatible: 'allwinner,sun7i-a20-system-co
Hi,
these should still belong to history.
-Artturi
diff --git sys/arch/arm/arm/bus_dma.c sys/arch/arm/arm/bus_dma.c
index 231951c7262..14f643b7697 100644
--- sys/arch/arm/arm/bus_dma.c
+++ sys/arch/arm/arm/bus_dma.c
@@ -751,8 +751,7 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map,
bus_ad
Hi,
was 'grepping' for something, and these came up.
i guess atleast trampoline.S would work w/o including assym.h at all,
but here is what i'm sure enough of w/o actually compiling yet. :D
-Artturi
diff --git sys/arch/arm64/conf/Makefile.arm64 sys/arch/arm64/conf/Makefile.arm64
index bd56f7a1
Hi,
at worst, for ARMv5TE and above the hint instructions execute as NOPs,
if they are not implemented.
while the Q in link below, does mention Cortex-A8,
i believe the "answer" they provide, does somewhat apply 'upwards' :)
-Artturi
Q: What is the fastest way to copy memory on a Cortex-A8?
ht
Hi,
i tested gpioow on beaglebone black a few days ago, and when i was lazy
to fix the 'cables' my sensors were attached to, console was spammed
over night by some of the sensors.
i found the hotplug spam+disappearing sensors annoying.
if i read gpioctl(8) correctly, i should be able to pass thes
Hi,
another user mentioned on irc about issue w/"boot -s" not working on rpi3.
diff below fixes secondary the strncpy() w/dst==src, and also adds blank
line after the function which does the correct strncpy.
-Artturi
diff --git sys/arch/arm64/arm64/machdep.c sys/arch/arm64/arm64/machdep.c
index
On Thu, Mar 08, 2018 at 08:42:09AM +0200, Artturi Alm wrote:
> Hi,
>
> another user mentioned on irc about issue w/"boot -s" not working on rpi3.
> diff below fixes secondary the strncpy() w/dst==src, and also adds blank
> line after the function which does the correct s
On Wed, Mar 07, 2018 at 06:26:15AM +0200, Artturi Alm wrote:
> Hi,
>
> i tested gpioow on beaglebone black a few days ago, and when i was lazy
> to fix the 'cables' my sensors were attached to, console was spammed
> over night by some of the sensors.
> i found t
On Tue, Mar 06, 2018 at 11:34:23PM +0200, Artturi Alm wrote:
> Hi,
>
> was 'grepping' for something, and these came up.
>
> i guess atleast trampoline.S would work w/o including assym.h at all,
> but here is what i'm sure enough of w/o actually compiling yet. :D
Hi,
lazy retry[0],
to give these timers their (likely) copy-paste-robbed MSB back.
-Artturi
[0] https://marc.info/?l=openbsd-tech&m=150421823512699&w=1
diff --git sys/arch/arm/cortex/agtimer.c sys/arch/arm/cortex/agtimer.c
index 8d622c058a4..160e22e6949 100644
--- sys/arch/arm/cortex/agtimer.c
On Mon, Mar 12, 2018 at 11:25:09PM +0100, Mark Kettenis wrote:
> > Date: Fri, 9 Mar 2018 19:43:42 +0200
> > From: Artturi Alm
> >
> > Hi,
> >
> > lazy retry[0],
> > to give these timers their (likely) copy-paste-robbed MSB back.
> >
> > -Ar
On Mon, Mar 12, 2018 at 11:25:09PM +0100, Mark Kettenis wrote:
> > Date: Fri, 9 Mar 2018 19:43:42 +0200
> > From: Artturi Alm
> >
> > Hi,
> >
> > lazy retry[0],
> > to give these timers their (likely) copy-paste-robbed MSB back.
> >
> > -Ar
On Fri, Jul 21, 2017 at 06:49:01AM +0300, Artturi Alm wrote:
> On Thu, Jul 20, 2017 at 11:50:55PM +0300, Artturi Alm wrote:
> > Hi,
> >
> > one of the removals of mine i never understood why it was there to
> > begin w/, given it's not in our pmap.9, nor really d
On Fri, Mar 09, 2018 at 11:51:20AM +0200, Artturi Alm wrote:
> On Wed, Mar 07, 2018 at 06:26:15AM +0200, Artturi Alm wrote:
> > Hi,
> >
> > i tested gpioow on beaglebone black a few days ago, and when i was lazy
> > to fix the 'cables' my sensors were atta
On Sun, Mar 18, 2018 at 02:13:14AM +0200, Artturi Alm wrote:
> On Fri, Mar 09, 2018 at 11:51:20AM +0200, Artturi Alm wrote:
> > On Wed, Mar 07, 2018 at 06:26:15AM +0200, Artturi Alm wrote:
> > > Hi,
> > >
> > > i tested gpioow on beaglebone black a few days a
Hi,
honestly this is currently just for my lazyness:)
in doubt i did choose the one below i know i want, but was thinking
if maybe the timestamp should be set like this instead however to be more
useful to all:
limit->timestamp = sensor.tv.tv_sec ? sensor.tv.tv_sec : this_check;
-Artturi
Hi,
i was looking at unifying something before "adding on" again, and
was thinking i would like to do something like in the example below:
const char *com_fdt_compat[] = {
"brcm,bcm2835-aux-uart",
"snps,dw-apb-uart",
#ifdef __armv7__
"ti,omap3-uart",
"ti,omap4-uart
Hi,
socppc@attic was asking for this.
-Artturi
diff --git share/man/man4/com.4 share/man/man4/com.4
index 6301f04ae60..9c5f0d23230 100644
--- share/man/man4/com.4
+++ share/man/man4/com.4
@@ -91,10 +91,6 @@
.Cd "com0 at ioc? base 0x00020178"
.Cd "com1 at ioc? base 0x00020170"
.Pp
-.Cd "# soc
Hi,
could we allow config_attach() to 'fail' without leaving dead device behind?
ie. with gpioow(4) it's easy to make a load of these while testing stuff,
which does lead to inconsistent unit numbering unless you manually detach
the broken ones before attaching another..
for devices which are fou
On Sat, Apr 07, 2018 at 08:39:43PM +0200, Mark Kettenis wrote:
> I have an RK3399 system that has two RTCs. One of those is the RTC
> integrated on the RK808 PMIC that is a companion chip to the RK3399.
> The second one is an ISL1208 I2C chip. Only the ISL1208 is battery
> powered, so obviously w
On Mon, Apr 09, 2018 at 11:11:22AM -0600, Theo de Raadt wrote:
> I think this approach is wrong, insane, and fragile. DVF_ACTIVE
> doesn't work precisely that way.
Yes, it's a hack, but i don't see it as fragile, nor insane,
and i agree something better is great, but it does work exactly
as i wan
On Tue, Apr 10, 2018 at 02:40:29PM -0600, Theo de Raadt wrote:
> >On Mon, Apr 09, 2018 at 11:11:22AM -0600, Theo de Raadt wrote:
> >> I think this approach is wrong, insane, and fragile. DVF_ACTIVE
> >> doesn't work precisely that way.
> >
> >Yes, it's a hack, but i don't see it as fragile, nor in
Hi,
i'm not suggesting the current order is easy to hit problems with,
but i think diff below would make sense anyway, so the 'owchild'
doesn't get even a remote chance in theory to endure any gpio failures?
-Artturi
diff --git sys/dev/gpio/gpioow.c sys/dev/gpio/gpioow.c
index 64d79ab0cb8..d37d
Hi,
pine64 still being my only arm64-sbc, i won't bother w/
gpio* at rkgpio?
etc., but i would like to have these enabled for arm64,
as atleast pine64 is equipped w/plenty of headers/pins brought out, and
gpio* at sxipio?
is there already:)
-Artturi
diff --git sys/arch/arm6
Hi,
wrote simple gpio indicator sensor driver, and spotted this.
decided to keep the /* XXX */ for tech@, so this should be 'safe'
for anyone not using gpioctl(8) no matter what :)
i don't really see any risk, only w/o one might need to do this
w/ext resistors.
comments?
-Artturi
diff --git
On Thu, Apr 26, 2018 at 02:05:44PM +0200, Mark Kettenis wrote:
> > Date: Thu, 26 Apr 2018 10:35:45 +0300
> > From: Artturi Alm
> >
> > Hi,
> >
> > wrote simple gpio indicator sensor driver, and spotted this.
> >
> > decided to keep the /* XX
Hi,
currently, I don't see how it is possible to write generic
i2c-parent-controller-independent attachment glue in dev/fdt/,
ie. for drivers in dev/i2c. The usual way how they are written with
doesn't work as the devices in dev/i2c attach "at i2c" already.
visa@ just commited something in the d
On Fri, May 04, 2018 at 08:08:15PM +0200, Mark Kettenis wrote:
> > Date: Fri, 4 May 2018 20:56:07 +0300
> > From: Artturi Alm
> >
> > Hi,
> >
> > currently, I don't see how it is possible to write generic
> > i2c-parent-controller-independent atta
On Wed, Jul 01, 2015 at 09:47:15PM +0300, Mikhail wrote:
> Hello, inlined patch adds support for hostap mode for 8188eu chip.
>
Hi,
do you have newer version of this? I might have use for this..:)
-Artturi
> One known issue is documented in urtwn(4), I would like to know if
> people with other
Hi,
guessing i'm not the only one wondering about these sizes, as w/current
snapshot the font does seem too big for me(on 2560x1440 display, for
which radeondrm(4) has never gotten the size right(giving only 1920x1200)).
display.part of wsconsctl output w/the diff:
display.type=radeondrm
display.
On Sat, Jan 05, 2019 at 01:50:22AM +0200, Artturi Alm wrote:
> Hi,
>
> guessing i'm not the only one wondering about these sizes, as w/current
> snapshot the font does seem too big for me(on 2560x1440 display, for
> which radeondrm(4) has never gotten the size right(g
On Sat, Jan 05, 2019 at 10:39:46PM +0200, li...@wrant.com wrote:
> Just need a manual page and a tunable at some point, didn't much before.
> Still needed more text lines on the console and utf8 options previously.
>
> Got less chars now, so console is a regression in data thus readability.
> Also
On Fri, Jan 25, 2019 at 11:16:49AM +0100, Raphael Graf wrote:
> Hi Martin,
> Thanks for your feedback!
>
> On Wed, Jan 23, 2019 at 12:54:51PM -0200, Martin Pieuchot wrote:
> > Hello Raphael,
> >
> > On 16/01/19(Wed) 12:41, Raphael Graf wrote:
> > > Here is an attempt to make video(1) work with t
On Tue, Feb 26, 2019 at 03:00:15PM +0100, Nils Frohberg wrote:
> On Mon, Feb 25, 2019 at 03:50:48PM -0300, Martin Pieuchot wrote:
> > On 25/02/19(Mon) 14:52, Nils Frohberg wrote:
> > > Hi,
> > >
> > > as mentioned previously, I'm looking into axen(4). While searching
> > > for the cause of a panic
Hi,
i don't have issues with tilde when using locally, but i mostly ssh to
reach cu, and too many times i've forgotten to configure ssh/use -e,
with this cu(1) becomes safer/easier to use for us with non-english
keyboard.
~tilde is certainly annoying when it's three key presses alone,
and then you
On Wed, Mar 13, 2019 at 07:47:08AM -0600, Todd C. Miller wrote:
> On Wed, 13 Mar 2019 14:35:06 +0200, Artturi Alm wrote:
>
> > i don't have issues with tilde when using locally, but i mostly ssh to
> > reach cu, and too many times i've forgotten to configure ss
On Thu, Mar 14, 2019 at 10:18:57AM +, Nicholas Marriott wrote:
> Thanks, comments inline.
>
The diff looks much better to me, now with those things fixed based
on your feedback, thanks :]
-Artturi
diff --git a/usr.bin/cu/command.c b/usr.bin/cu/command.c
index c07fe73aeca..27d80f16dd7 10064
On Fri, Mar 15, 2019 at 02:43:04PM +, Nicholas Marriott wrote:
> .
> Another couple of minor changes below, with those it looks good to
> me. Any OK for this?
>
With joined lines, the cast, and some runtime testing with ~, % and ^[.
-Artturi
diff --git a/usr.bin/cu/command.c b/usr.bin/cu/co
On Fri, Mar 15, 2019 at 09:51:12PM +, Nicholas Marriott wrote:
> On Fri, Mar 15, 2019 at 09:43:56AM -0600, Todd C. Miller wrote:
> > Wouldn't it be less error-prone to make escape_char u_char instead
> > of int?
>
> Maybe, I don't mind either way.
>
> However this in stream_read would still n
On Mon, Mar 18, 2019 at 06:30:15PM +0100, Frederic Cambus wrote:
> On Mon, Jan 07, 2019 at 04:27:46PM -0700, Theo de Raadt wrote:
> > Ted Unangst wrote:
> >
> > > Artturi Alm wrote:
> > > > display.width=1920
> > > > display.height=1200
> >
Hi,
for completeness, would anything like the diff below be acceptable?
I might begin using /etc/remote soon, and I found the old remote.5[0]
to have had this, and also described as such in remote(5) on
docs.oracle.com, so i chose to reuse "es".
-Artturi
[0]: http://man.openbsd.org/OpenBSD-5.7/
Hi,
been there unused since import, and counting accepts+rejects has been enough,
so here's a diff for cleaning it away.
-Artturi
diff --git a/usr.sbin/rdate/ntp.c b/usr.sbin/rdate/ntp.c
index d48b6cae19e..92cb4c70fcb 100644
--- a/usr.sbin/rdate/ntp.c
+++ b/usr.sbin/rdate/ntp.c
@@ -177,7 +177,7
Hi,
the diff below adds support for using AltGr(the right Alt on
some keyboards) as 'm' modifier with bind-key and bind-mouse.
so ie. "bind-key Cm-Return terminal" is available for us w/AltGr
to match default binding. the lack of being able to bind w/AltGr
did hurt my cwm usage with other bindings
Likely some other configs have more exhaustive list of devices supported,
but even these would be great to have, especially uhub* at uhub?,
as ERL physically has only one port limiting it's use to a single umass.
-Artturi
Index: sys/arch/octeon/conf/GENERIC
==
On Sun, Jan 31, 2016 at 01:14:35AM +0100, Patrick Wildt wrote:
> Hi,
>
> one of the reasons Allwinner A20/sun7i-based boards, like the
> Cubieboard 2 or Banana Pi, don't boot is that the sxitimer does
> not work for us. We are getting no hardclock ticks and so the
> system can't work.
>
> There'
On Sun, Jan 31, 2016 at 10:45:42PM +1100, Jonathan Gray wrote:
> On Sun, Jan 31, 2016 at 10:12:05AM +0200, Artturi Alm wrote:
> > On Sun, Jan 31, 2016 at 01:14:35AM +0100, Patrick Wildt wrote:
> > > Hi,
> > >
> > > one of the reasons Allwinner A20/sun7i-based
On Sun, Jan 31, 2016 at 10:45:42PM +1100, Jonathan Gray wrote:
> On Sun, Jan 31, 2016 at 10:12:05AM +0200, Artturi Alm wrote:
> > On Sun, Jan 31, 2016 at 01:14:35AM +0100, Patrick Wildt wrote:
> > > Hi,
> > >
> > > one of the reasons Allwinner A20/sun7i-based
On Mon, Feb 01, 2016 at 09:06:35PM +0100, Patrick Wildt wrote:
> Hi,
>
> in sxipio the mask is incorrect for get- and setcfg.
>
> If bit is 1, off is (1 & 7) << 2, which is 4. That means each cfg is 4
> bits wide, so the mask is 0xf and not 0x7. I cross-checked it with
> NetBSD and Linux.
>
> A
On Mon, Feb 01, 2016 at 10:14:38PM +0100, Patrick Wildt wrote:
> On Mon, Feb 01, 2016 at 10:51:40PM +0200, Artturi Alm wrote:
> > On Mon, Feb 01, 2016 at 09:06:35PM +0100, Patrick Wildt wrote:
> > > Hi,
> > >
> > > in sxipio the mask is incorrect for get- and s
On Tue, Feb 02, 2016 at 10:01:45AM +1100, Jonathan Gray wrote:
> On Tue, Feb 02, 2016 at 12:24:02AM +0200, Artturi Alm wrote:
> > On Mon, Feb 01, 2016 at 10:14:38PM +0100, Patrick Wildt wrote:
> > > On Mon, Feb 01, 2016 at 10:51:40PM +0200, Artturi Alm wrote:
> > > >
On Tue, Feb 02, 2016 at 10:55:57AM +1100, Jonathan Gray wrote:
> On Mon, Feb 01, 2016 at 02:55:52AM +0200, Artturi Alm wrote:
> > On Sun, Jan 31, 2016 at 10:45:42PM +1100, Jonathan Gray wrote:
> > > On Sun, Jan 31, 2016 at 10:12:05AM +0200, Artturi Alm wrote:
> > > >
On Tue, Feb 02, 2016 at 10:55:57AM +1100, Jonathan Gray wrote:
>
> Thanks, both diffs committed. Any chance you could create another to
> move the sxitimer_* globals into the softc?
I left out moving of sxitimer_iot and sxitimer_ioh on purpose, as
it would make reviewing this alot worse.
Now if
On Wed, Mar 09, 2016 at 07:40:35PM -0600, joshua stein wrote:
> On Thu, 10 Mar 2016 at 03:32:53 +0200, li...@wrant.com wrote:
> > Apparently all you guys use laptops with LVDS, but TFT/LCD panels on
> > VGA are still widely common in use. You remember the automatic adjust
> > functional button on
Hi,
related to past cleanup for some of the sys/arch/x/x/conf.c.
-Artturi
Index: sys/arch/alpha/alpha/autoconf.c
===
RCS file: /cvs/src/sys/arch/alpha/alpha/autoconf.c,v
retrieving revision 1.35
diff -u -p -r1.35 autoconf.c
--- sys
Hi,
compile tested.
-Artturi
Index: sys/arch/arm/include/pmap.h
===
RCS file: /cvs/src/sys/arch/arm/include/pmap.h,v
retrieving revision 1.38
diff -u -p -u -r1.38 pmap.h
--- sys/arch/arm/include/pmap.h 19 Mar 2016 09:36:57 -
On Thu, Apr 07, 2016 at 06:31:22PM +0200, Patrick Wildt wrote:
> On Thu, Apr 07, 2016 at 06:00:25PM +0200, Mark Kettenis wrote:
> > > Date: Thu, 7 Apr 2016 16:54:19 +0200
> > > From: Patrick Wildt
> > >
> > > Hi,
> > >
> > > after a bit of talking with jsg@ we have found a way forward on how to
On Fri, Apr 08, 2016 at 01:44:11PM +0200, Patrick Wildt wrote:
> Hi,
>
> with the feedback received on the fdt bus, the fdt stuff will now be
> replacing the mainbus. [..snip..]
>
> Patrick
>
> [..snip..]
Hi,
have you planned ahead which route you are going to take with regards to
how drivers
Hi,
saw something like this missing:
diff --git a/sys/arch/arm/include/sysreg.h b/sys/arch/arm/include/sysreg.h
index c2aab7d6667..f41a3b362ec 100644
--- a/sys/arch/arm/include/sysreg.h
+++ b/sys/arch/arm/include/sysreg.h
@@ -269,4 +269,20 @@
*/
#define CP15_CBAR(rr) p15, 4, rr, c15,
Hi,
just in case i didn't make it clear what it is for, here's diff "fixing"
current uses below, compile-tested.
-Artturi
diff --git a/sys/arch/arm/arm/cpufunc.c b/sys/arch/arm/arm/cpufunc.c
index c91108e7066..fcb56627af7 100644
--- a/sys/arch/arm/arm/cpufunc.c
+++ b/sys/arch/arm/arm/cpufunc.c
ags,
+ vaddr_t low, vaddr_t high);
+#endif /* _ARM32_BUS_DMA_PRIVATE */
+#endif /* _ARM_DMA_BUS_H_ */
diff --git a/sys/arch/arm/mainbus/mainbus.c b/sys/arch/arm/mainbus/mainbus.c
index 3d36366c95b..5bf6ba14ab2 100644
--- a/sys/arch/arm/mainbus/mainbus.c
+++ b/sys/arch/arm/mainbus/mainbu
Hi,
diff to get rid of bus_space_asm_generic.S, changing a4x bus space
to use armv7 bs, which might be considered a bug fix, since generic_
misses the v7 "dsb sy"s, and does add the six missing ones to a4x.
unfortunately some less useless bus_dma_tags&whitespace fixes snuck in.
-Artturi
diff -
Hi,
would anyone be willing to accept diffs to recover from this? I mean
the overlooking of this from style(9), that's making my eyes bleed:
"There should be no space between the function name and
the argument list."
^about prototypes.
tbh., i wanted to punch someone in the fa
On Mon, Jul 03, 2017 at 01:30:09AM +0300, Artturi Alm wrote:
> Hi,
>
> would anyone be willing to accept diffs to recover from this? I mean
> the overlooking of this from style(9), that's making my eyes bleed:
> "There should be no space between the function
Hi,
just the bug fix, so this diff leaves the unused relics around and so,
but better than current/nothing, and hopefully small enough to get looked at.
-Artturi
diff --git a/sys/arch/arm/armv7/armv7_a4x_io.S
b/sys/arch/arm/armv7/armv7_a4x_io.S
index 3fa09faa4c2..5e9db421853 100644
--- a/sys/a
Hi,
i think i've noted about this before, around 13months ago freebsd
first disabled alignment faults, and they haven't enabled them since.
deja vu, or not, i don't recall if the last diff like below did go
anywhere, nor if it got discussed about, so i'm sorry in advance,
if i'm banging my head to
On Tue, Jul 04, 2017 at 05:14:00AM +0200, Jeremie Courreges-Anglas wrote:
> Artturi Alm writes:
>
> > Hi,
> >
> > i think i've noted about this before, around 13months ago freebsd
> > first disabled alignment faults, and they haven't enabled them since.
&g
Hi,
instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going
to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and
bootstrap_bs_map doesn't need/use the void *t-arg when being ran indirectly
via armv7_bs_map().
the whole existence of bootstrap_bs_map is another stor
On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote:
> Hi,
>
> instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going
> to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and
> bootstrap_bs_map doesn't need/use the void *t-arg wh
On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote:
> Hi,
>
> instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going
> to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and
> bootstrap_bs_map doesn't need/use the void *t-arg wh
On Wed, Jul 05, 2017 at 11:27:06AM +0200, Mark Kettenis wrote:
> > Date: Wed, 5 Jul 2017 09:34:59 +0300
> > From: Artturi Alm
> >
> > On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote:
> > > Hi,
> > >
> > > instead of messing w/bs
On Wed, Jul 05, 2017 at 04:05:16PM +0300, Artturi Alm wrote:
> On Wed, Jul 05, 2017 at 11:27:06AM +0200, Mark Kettenis wrote:
> > > Date: Wed, 5 Jul 2017 09:34:59 +0300
> > > From: Artturi Alm
> > >
> > > On Wed, Jul 05, 2017 at 02:27:46
On Wed, Jul 05, 2017 at 09:40:41PM +0300, Artturi Alm wrote:
>
> diff --git a/sys/arch/armv7/armv7/armv7_machdep.c
> b/sys/arch/armv7/armv7/armv7_machdep.c
> index aa1c549b29b..105fbf1 100644
> --- a/sys/arch/armv7/armv7/armv7_machdep.c
> +++ b/sys/arch/armv7/arm
Hi,
is/has anyone been working on a diff that would collect&move these
into a structure, so that those could easier get gotten rid of once
bootstrap is done? Or have i missed something about this new bootstrap
split-up to locore/0.S, i mean, is the gap alone good enough to leave
these around, or i
Hi,
anyone else having issues w/urndis(android)?
victim of circumstances, i have to rely on it at times during the summer.
When i plug phone into usb, and enable usb tethering or w/e it is called,
i never get ip on first try, i have nothing but "dhcp"
in /etc/hostname.urndis0, so i just ^C on the
Hi,
ok, the previous version of this was crap, i must admit having gone
through what i sent, since i got no comments for it.
i'll retry w/version i think should be simple enough, with almost
no cleanup done, so rather minimal, for the simple review needed,
for the comment that's enough for me to d
remove duplicate bus_dma_tags, and convert to using the existing
mainbus_dma_tag, now exported via arm/mainbus/mainbus.h, to allow
the death of arm/armv7/armv7var.h, eventually, i hope.
diff --git a/sys/arch/arm/cortex/cortex.c b/sys/arch/arm/cortex/cortex.c
index d2d6aa508b6..ec61887
replaces the early bus space map support with ways more elegant
approach, by checking in the one-and-only bus_space_map function
used by armv7 (simplebus_bs_map essentially uses the the same
*bs_map()).
also removes the unnecessary bs_protos(bs_notimpl); from
armv7_machdep.
1/11/25 15:55:55 thorpej Exp $ */
+/*
+ * Copyright (c) 2004, Miodrag Vallat.
+ * Copyright (c) 2017 Artturi Alm.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of
use COM_CONSOLE define as trigger for 'a4x bus space', and enable
for build. This is likely the most controversial part of the diffs
to bring in the inline bus space support..
diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC
index c9e893358a9..85a12ec21eb 100644
Hi,
might have sent this before. at best (or worst, depends how you look at
things), these could help hide a bug that'd be able to bring everything
down in flames, altho. i'm not suggesting so, and have in the past ran
w/asserts to make sure these were invariant, fwiw., now there is more
of rather
.833038f0eff
--- /dev/null
+++ b/sys/dev/fdt/axp20x.c
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) 2014,2016 Artturi Alm
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and thi
Hi,
the diff below moves l1_ttable into struct pmap, the XXX does
mention maybe using a pool too, but for a struct of three fields w/one
of them being the _link, i don't think it would make _any_ sense, just
like the current list of L1 tables, when there is exactly one
L1table per pmap, i left pm
Hi,
this diff does seem bigger than it is, because this does move the exception
handler entrys from arm/exceptions.S to arm/vectors.S, while removing
a round of useless indirection that was needed more before VBAR, which
can be found supported even on some V6ses w/extensions(ARM11), so this is
no
Hi,
this does clutter my diffs, and the XXX comment is correct,
currently used _C_LABEL() is nothing, and i find it's usage
directly rather pointless/weird, this does atleast make x .globl,
so there is benefit to the added characters in written code
be it _C_LABEL() or C_OBJECT() instead of just t
On Sun, Jul 09, 2017 at 09:57:34AM +0300, Artturi Alm wrote:
> Hi,
>
> anyone else having issues w/urndis(android)?
> victim of circumstances, i have to rely on it at times during the summer.
> When i plug phone into usb, and enable usb tethering or w/e it is called,
> i never g
1 - 100 of 231 matches
Mail list logo