[very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Henrik Austad
remains - tie to (g)PTP properly, currently using ktime_get() for presentation time - get time from shim into TSN and vice versa - let shim create/manage buffer Henrik Austad (8): TSN: add documentation TSN: Add the standard formerly known as AVB to the kernel Adding TSN-driver to Intel

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad <haus...@cisco.com> --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS i

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
that the core TSN driver can use this when configuring a new NIC or setting up a new link. Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <hen...@austad.us> --- include/linux/netdevice.h | 32 net/Kconfig

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ed42cb6..ef5d926 100644 --- a/MAINTAINERS +++ b

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
that the core TSN driver can use this when configuring a new NIC or setting up a new link. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- include/linux/netdevice.h | 32 net/Kconfig | 1 + net/tsn/Kconfig

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
his driver is *not* stable, it is still a work in progress. Cc: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Cc: intel-wired-...@lists.osuosl.org Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <haus...@cisco.com> --- drivers/net/ethernet/intel/Kconfig

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc.

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <haus...@cisco.com> --

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
his driver is *not* stable, it is still a work in progress. Cc: Jeff Kirsher Cc: intel-wired-...@lists.osuosl.org Cc: "David S. Miller" Signed-off-by: Henrik Austad --- drivers/net/ethernet/intel/Kconfig| 18 ++ drivers/net/ethernet/intel/igb/Makefile | 2 +- drivers/net/ethe

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc. To use as a Talker: mkdir /config

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- Documentation/TSN/tsn.txt | 147

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad <haus...@cisco.com> > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > C

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > Cc: "David S. Miller" &g

Re: [very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:18AM +0200, Henrik Austad wrote: > From: Henrik Austad <haus...@cisco.com> > > In short summary: > > * tsn_core.c is the main driver of tsn, all new links go through > here and all data to/form the shims are ha

Re: [very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:18AM +0200, Henrik Austad wrote: > From: Henrik Austad > > In short summary: > > * tsn_core.c is the main driver of tsn, all new links go through > here and all data to/form the shims are handled here > core

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad <haus...@cisco.com> > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > C

Re: [very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:16AM +0200, Henrik Austad wrote: > This adds support for loading the igb.ko module with tsn > capabilities. This requires a 2-step approach. First enabling TSN in > .config, then load the module with use_tsn=1. > > Once ena

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > Cc: "David S. Miller" &g

Re: [very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:16AM +0200, Henrik Austad wrote: > This adds support for loading the igb.ko module with tsn > capabilities. This requires a 2-step approach. First enabling TSN in > .config, then load the module with use_tsn=1. > > Once ena

Re: [very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
clearing up netdev-typo On Sun, Jun 12, 2016 at 12:22:15AM +0200, Henrik Austad wrote: > TSN provides a mechanism to create reliable, jitter-free, low latency > guaranteed bandwidth links over a local network. It does this by > reserving a path through the network. Support for TSN must

Re: [very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
clearing up netdev-typo On Sun, Jun 12, 2016 at 12:22:15AM +0200, Henrik Austad wrote: > TSN provides a mechanism to create reliable, jitter-free, low latency > guaranteed bandwidth links over a local network. It does this by > reserving a path through the network. Support for TSN must

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sat, Jun 11, 2016 at 03:49:42PM -0700, David Miller wrote: > From: Henrik Austad <hen...@austad.us> > Date: Sun, 12 Jun 2016 00:47:28 +0200 > > > What would be the best approach? Resend series to netdev@vger? I don't want > > to spam too many lists either. >

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sat, Jun 11, 2016 at 03:49:42PM -0700, David Miller wrote: > From: Henrik Austad > Date: Sun, 12 Jun 2016 00:47:28 +0200 > > > What would be the best approach? Resend series to netdev@vger? I don't want > > to spam too many lists either. > > Resend to

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:14AM +0200, Henrik Austad wrote: > From: Henrik Austad <haus...@cisco.com> Clearing up the netdev-typo > > Describe the overall design behind the TSN standard, the TSN-driver, > requirements to userspace and new functionality introduced. > &

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:13AM +0200, Henrik Austad wrote: > Hi all Sorry.. I somehow managed to mess up the address to netdev, so if you feel like replying to this, use this as it has the correct netdev-address. again, sorry > (series based on v4.7-rc2) > > This is a *ver

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:14AM +0200, Henrik Austad wrote: > From: Henrik Austad Clearing up the netdev-typo > > Describe the overall design behind the TSN standard, the TSN-driver, > requirements to userspace and new functionality introduced. > > Cc: "David S

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:13AM +0200, Henrik Austad wrote: > Hi all Sorry.. I somehow managed to mess up the address to netdev, so if you feel like replying to this, use this as it has the correct netdev-address. again, sorry > (series based on v4.7-rc2) > > This is a *ver

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
the best approach? Resend series to netdev@vger? I don't want to spam too many lists either. -- Henrik Austad signature.asc Description: Digital signature

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
the best approach? Resend series to netdev@vger? I don't want to spam too many lists either. -- Henrik Austad signature.asc Description: Digital signature

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
that the core TSN driver can use this when configuring a new NIC or setting up a new link. Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <hen...@austad.us> --- include/linux/netdevice.h | 32 net/Kconfig

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
that the core TSN driver can use this when configuring a new NIC or setting up a new link. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- include/linux/netdevice.h | 32 net/Kconfig | 1 + net/tsn/Kconfig

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad <haus...@cisco.com> --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS i

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc.

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ed42cb6..ef5d926 100644 --- a/MAINTAINERS +++ b

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc. To use as a Talker: mkdir /config

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <haus...@cisco.com> --

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- Documentation/TSN/tsn.txt | 147

[very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Henrik Austad
properly, currently using ktime_get() for presentation time - get time from shim into TSN and vice versa - let shim create/manage buffer Henrik Austad (8): TSN: add documentation TSN: Add the standard formerly known as AVB to the kernel Adding TSN-driver to Intel I210 controller Add TSN

[very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Henrik Austad
properly, currently using ktime_get() for presentation time - get time from shim into TSN and vice versa - let shim create/manage buffer Henrik Austad (8): TSN: add documentation TSN: Add the standard formerly known as AVB to the kernel Adding TSN-driver to Intel I210 controller Add TSN

[very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> In short summary: * tsn_core.c is the main driver of tsn, all new links go through here and all data to/form the shims are handled here core also manages the shim-interface. * tsn_configfs.c is the API to userspace. TSN is driven from use

[very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
From: Henrik Austad In short summary: * tsn_core.c is the main driver of tsn, all new links go through here and all data to/form the shims are handled here core also manages the shim-interface. * tsn_configfs.c is the API to userspace. TSN is driven from userspace and a link is created

[very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> This defines the general TSN headers for network packets, the shim-interface and the central 'tsn_list' structure. Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <haus...@cisco.com> --

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
his driver is *not* stable, it is still a work in progress. Cc: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Cc: intel-wired-...@lists.osuosl.org Cc: "David S. Miller" <da...@davemloft.net> Signed-off-by: Henrik Austad <haus...@cisco.com> --- drivers/net/ethernet/intel/Kconfig

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
his driver is *not* stable, it is still a work in progress. Cc: Jeff Kirsher Cc: intel-wired-...@lists.osuosl.org Cc: "David S. Miller" Signed-off-by: Henrik Austad --- drivers/net/ethernet/intel/Kconfig| 18 ++ drivers/net/ethernet/intel/igb/Makefile | 2 +- drivers/net/ethe

[very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
From: Henrik Austad This defines the general TSN headers for network packets, the shim-interface and the central 'tsn_list' structure. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- include/linux/tsn.h | 806 1 file ch

[very-RFC 6/8] Add TSN event-tracing

2016-06-11 Thread Henrik Austad
From: Henrik Austad <haus...@cisco.com> This needs refactoring and should be updated to use TRACE_CLASS, but for now it provides a fair debug-window into TSN. Cc: "David S. Miller" <da...@davemloft.net> Cc: Steven Rostedt <rost...@goodmis.org> (maintainer:

[very-RFC 6/8] Add TSN event-tracing

2016-06-11 Thread Henrik Austad
From: Henrik Austad This needs refactoring and should be updated to use TRACE_CLASS, but for now it provides a fair debug-window into TSN. Cc: "David S. Miller" Cc: Steven Rostedt (maintainer:TRACING) Cc: Ingo Molnar (maintainer:TRACING) Signed-off-by: Henrik Austad --- inc

[tip:sched/core] sched/core: Make policy-testing consistent

2015-09-18 Thread tip-bot for Henrik Austad
Commit-ID: 20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Gitweb: http://git.kernel.org/tip/20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Author: Henrik Austad AuthorDate: Wed, 9 Sep 2015 17:00:41 +0200 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:23:13 +0200 sched/core: Make policy

[tip:sched/core] sched/core: Make policy-testing consistent

2015-09-18 Thread tip-bot for Henrik Austad
Commit-ID: 20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Gitweb: http://git.kernel.org/tip/20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Author: Henrik Austad <hen...@austad.us> AuthorDate: Wed, 9 Sep 2015 17:00:41 +0200 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Fri, 18 Se

[PATCH] sched: make policy-testing consistent in core

2015-09-09 Thread Henrik Austad
Most of the policy-tests are done via the _policy() helpers with the notable exception of idle. A new wrapper for valid_policy() has also been added to improve readability in set_load_weight(). This commit does not change the logical behavior of the scheduler core. Signed-off-by: Henrik Austad

[PATCH] ether: add IEEE 1722 ethertype - TSN

2015-09-09 Thread Henrik Austad
/ethertype/eth.txt This is a respin of a previous patch ("ether: add AVB frame type ETH_P_AVB") CC: "David S. Miller" CC: net...@vger.kernel.org CC: linux-...@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Henrik Austad --- include/uapi/linux/if_ether.h | 1

Re: [PATCH] sched: make policy-testing consistent in core

2015-09-09 Thread Henrik Austad
As per-irc request *prod* thanks! -Henrik On Thu, Aug 20, 2015 at 03:54:02PM +0200, Henrik Austad wrote: > Most of the policy-tests are done via the _policy() helpers with > the notable exception of idle. A new wrapper for valid_policy() has also > been added to improve re

[PATCH] ether: add IEEE 1722 ethertype - TSN

2015-09-09 Thread Henrik Austad
/ethertype/eth.txt This is a respin of a previous patch ("ether: add AVB frame type ETH_P_AVB") CC: "David S. Miller" <da...@davemloft.net> CC: net...@vger.kernel.org CC: linux-...@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Henrik Austad <hen...@austa

Re: [PATCH] sched: make policy-testing consistent in core

2015-09-09 Thread Henrik Austad
As per-irc request *prod* thanks! -Henrik On Thu, Aug 20, 2015 at 03:54:02PM +0200, Henrik Austad wrote: > Most of the policy-tests are done via the _policy() helpers with > the notable exception of idle. A new wrapper for valid_policy() has also > been added to improve re

[PATCH] sched: make policy-testing consistent in core

2015-09-09 Thread Henrik Austad
Most of the policy-tests are done via the _policy() helpers with the notable exception of idle. A new wrapper for valid_policy() has also been added to improve readability in set_load_weight(). This commit does not change the logical behavior of the scheduler core. Signed-off-by: Henrik Austad

Re: [PATCH 0/9] SCHED_DEADLINE documentation update

2015-05-19 Thread Henrik Austad
On Mon, May 18, 2015 at 03:00:23PM +0200, Luca Abeni wrote: > Hi all, Hi Luca, from my point of view, it looks good! (I still think the M+1 describing Dhall's effect is confusing, but that's probably more about me than the text itself :) To the series; Reviewed-by: Henrik Austad >

Re: [PATCH 0/9] SCHED_DEADLINE documentation update

2015-05-19 Thread Henrik Austad
On Mon, May 18, 2015 at 03:00:23PM +0200, Luca Abeni wrote: Hi all, Hi Luca, from my point of view, it looks good! (I still think the M+1 describing Dhall's effect is confusing, but that's probably more about me than the text itself :) To the series; Reviewed-by: Henrik Austad hen

Re: [PATCH 0/8] SCHED_DEADLINE documentation update

2015-04-11 Thread Henrik Austad
o that other patches can be applied anyway. Apart from a slight nitpick (I didn't bother adding it the thread for patch 6) that the patch adds more than just references, it also describes Dhall's effect, perhaps that should be reflected in the patch's subject. Please cons

Re: [PATCH 0/8] SCHED_DEADLINE documentation update

2015-04-11 Thread Henrik Austad
a slight nitpick (I didn't bother adding it the thread for patch 6) that the patch adds more than just references, it also describes Dhall's effect, perhaps that should be reflected in the patch's subject. Please consider adding Reviewed-by: Henrik Austad hen...@austad.us

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
oes not block > before the end of the job) and the SCHED_DEADLINE parameters are properly > assigned > (runtime >= WCET, period <= P) then the task's absolute deadlines and the > scheduling > deadlines coincides, so it is possible to guarantee the respect of the task's

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
On Thu, Apr 09, 2015 at 12:11:25PM +0200, Peter Zijlstra wrote: > On Thu, Apr 09, 2015 at 12:08:36PM +0200, Luca Abeni wrote: > > On 04/09/2015 11:44 AM, Peter Zijlstra wrote: > > >On Thu, Apr 09, 2015 at 11:39:08AM +0200, Henrik Austad wrote: > > >>>+ CPUs,

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Henrik Austad
On Thu, Apr 09, 2015 at 11:34:37AM +0200, Luca Abeni wrote: > Hi Henrik, > > On 04/09/2015 11:06 AM, Henrik Austad wrote: > >On Wed, Apr 08, 2015 at 01:59:39PM +0200, Luca Abeni wrote: > [...] > >Also, density is equivalent > >to 'utilization', right? (w

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
2008. > + 13 - P. Valente and G. Lipari. An Upper Bound to the Lateness of Soft > + Real-Time Tasks Scheduled by EDF on Multiprocessors. Proceedings of > + the 26th IEEE Real-Time Systems Symposium, 2005. > + 14 - J. Erickson, U. Devi and S. Baruah. Improved tardiness b

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Henrik Austad
1th IEEE Real-time Systems Symposium, 1990. > + 6 - S. K. Baruah, L. E. Rosier and R. R. Howell. Algorithms and Complexity > + Concerning the Preemptive Scheduling of Periodic Real-Time tasks on > + One Processor. Real-Time Systems Journal, vol. 4, no. 2, pp 301-324, > + 1990. &g

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
-- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Henrik Austad
On Thu, Apr 09, 2015 at 11:34:37AM +0200, Luca Abeni wrote: Hi Henrik, On 04/09/2015 11:06 AM, Henrik Austad wrote: On Wed, Apr 08, 2015 at 01:59:39PM +0200, Luca Abeni wrote: [...] Also, density is equivalent to 'utilization', right? (which is referred to in sec 4.1 No; the utilisation

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Henrik Austad
. Rosier and R. R. Howell. Algorithms and Complexity + Concerning the Preemptive Scheduling of Periodic Real-Time tasks on + One Processor. Real-Time Systems Journal, vol. 4, no. 2, pp 301-324, + 1990. 4. Bandwidth management === -- 1.7.9.5 -- Henrik

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
the respect of the task's temporal constraints. This is the tricky (and confusing :) thing about SCHED_DEADLINE. I'll see if I can reword this paragraph to make it more clear. Right! Assuming a spherical cow in vacuum etc etc. You're right of course, disregard my ramblings. -- Henrik Austad

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Henrik Austad
On Thu, Apr 09, 2015 at 12:11:25PM +0200, Peter Zijlstra wrote: On Thu, Apr 09, 2015 at 12:08:36PM +0200, Luca Abeni wrote: On 04/09/2015 11:44 AM, Peter Zijlstra wrote: On Thu, Apr 09, 2015 at 11:39:08AM +0200, Henrik Austad wrote: + CPUs, with the first M - 1 tasks having a small worst

Re: [PATCH] Documentation/scheduler/sched-deadline.txt: correct definition of density as C_i/min{D_i,P_i}

2015-04-03 Thread Henrik Austad
nd should be applied. > densities of the tasks running on such a CPU is smaller or equal than 1 > (notice that this condition is only sufficient, and not necessary). > > -- > 1.9.0 > Just my $0.02 etc etc :) 1) http://www-users.cs.york.ac.uk/~robdavis/papers/MPSurvey

Re: [PATCH] Documentation/scheduler/sched-deadline.txt: correct definition of density as C_i/min{D_i,P_i}

2015-04-03 Thread Henrik Austad
is smaller or equal than 1 (notice that this condition is only sufficient, and not necessary). -- 1.9.0 Just my $0.02 etc etc :) 1) http://www-users.cs.york.ac.uk/~robdavis/papers/MPSurveyv5.0.pdf -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] tile: add clock_gettime support to vDSO

2014-10-01 Thread Henrik Austad
r15", > + "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", > + "r24", "r25", "r26", "r27", "r28", "r29", "memory"); > + return ret; > +} > + > +struct syscall_return_value __vdso_clock_gettime(clockid_t clock, > + struct timespec *ts) > +{ > + struct vdso_data *vdso = (struct vdso_data *)get_datapage(); > + struct syscall_return_value ret = { 0, 0 }; > + > + switch (clock) { > + case CLOCK_REALTIME: > + do_realtime(vdso, ts); > + return ret; > + case CLOCK_MONOTONIC: > + do_monotonic(vdso, ts); > + return ret; > + case CLOCK_REALTIME_COARSE: > + do_realtime_coarse(vdso, ts); > + return ret; > + case CLOCK_MONOTONIC_COARSE: > + do_monotonic_coarse(vdso, ts); > + return ret; > + default: > + return vdso_fallback_gettime(clock, ts); > + } > +} > + > +int clock_gettime(clockid_t clock, struct timespec *ts) > + __attribute__((weak, alias("__vdso_clock_gettime"))); > -- > 1.8.3.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Henrik Austad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] tile: add clock_gettime support to vDSO

2014-10-01 Thread Henrik Austad
/ -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v4 0/5] SCHED_DEADLINE documentation fixes and improvements

2014-09-09 Thread Henrik Austad
mments made by Henrik (thanks!) > - added patch 5/5 (as Henrik asked) To the whole series, Reviewed-by: Henrik Austad > Best Regards, > > - Juri > > Juri Lelli (3): > Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro > Documentation/scheduler/sche

Re: [PATCH v4 0/5] SCHED_DEADLINE documentation fixes and improvements

2014-09-09 Thread Henrik Austad
series, Reviewed-by: Henrik Austad hen...@austad.us Best Regards, - Juri Juri Lelli (3): Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro Documentation/scheduler/sched-deadline.txt: add tests suite appendix Documentation/scheduler/sched-deadline.txt: add minimal

Re: [PATCH v3 0/4] SCHED_DEADLINE documentation fixes and improvements

2014-09-02 Thread Henrik Austad
On Thu, Aug 28, 2014 at 11:00:25AM +0100, Juri Lelli wrote: > Hello everyone, > > This is version 3 of a small patchset that fixes and improves SCHED_DEADLINE > documentation. > > Patch 1/4 fixes and clarifies terminology; patch 2/4 aligns Section 4 to > the current interface; patch 3/4 improves

Re: [PATCH v3 4/4] Documentation/scheduler/sched-deadline.txt: add tests suite appendix

2014-09-02 Thread Henrik Austad
ri Lelli > Cc: Randy Dunlap > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Henrik Austad > Cc: Dario Faggioli > Cc: Juri Lelli > Cc: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > Documentation/scheduler/sched-deadline.txt | 52 > +

Re: [PATCH v3 3/4] Documentation/scheduler/sched-deadline.txt: improve and clarify AC bits

2014-09-02 Thread Henrik Austad
; This patch improves and clarifies bits and pieces regarding AC, both for UP > and SMP systems. > > Signed-off-by: Luca Abeni > Signed-off-by: Juri Lelli > Cc: Randy Dunlap > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Henrik Austad > Cc: Dario Faggioli > C

Re: [PATCH v3 2/4] Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro

2014-09-02 Thread Henrik Austad
On Thu, Aug 28, 2014 at 11:00:27AM +0100, Juri Lelli wrote: > Section 4 intro was still describing the old interface. Rewrite it. > > Signed-off-by: Juri Lelli > Signed-off-by: Luca Abeni > Cc: Randy Dunlap > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Henrik Aust

Re: [PATCH v3 1/4] Documentation/scheduler/sched-deadline.txt: fix terminology and improve clarity

2014-09-02 Thread Henrik Austad
t; (being part of the algorithm's name and all ;) > > Signed-off-by: Luca Abeni > Signed-off-by: Juri Lelli > Cc: Randy Dunlap > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Henrik Austad > Cc: Dario Faggioli > Cc: Juri Lelli >

Re: [PATCH v3 1/4] Documentation/scheduler/sched-deadline.txt: fix terminology and improve clarity

2014-09-02 Thread Henrik Austad
...@unitn.it Signed-off-by: Juri Lelli juri.le...@arm.com Cc: Randy Dunlap rdun...@infradead.org Cc: Peter Zijlstra pet...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Henrik Austad hen...@austad.us Cc: Dario Faggioli raist...@linux.it Cc: Juri Lelli juri.le...@gmail.com Cc: linux

Re: [PATCH v3 2/4] Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro

2014-09-02 Thread Henrik Austad
...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Henrik Austad hen...@austad.us Cc: Dario Faggioli raist...@linux.it Cc: Juri Lelli juri.le...@gmail.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/scheduler/sched-deadline.txt | 51

Re: [PATCH v3 3/4] Documentation/scheduler/sched-deadline.txt: improve and clarify AC bits

2014-09-02 Thread Henrik Austad
: Henrik Austad hen...@austad.us Cc: Dario Faggioli raist...@linux.it Cc: Juri Lelli juri.le...@gmail.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/scheduler/sched-deadline.txt | 89 +- 1 file changed, 75 insertions(+), 14

Re: [PATCH v3 4/4] Documentation/scheduler/sched-deadline.txt: add tests suite appendix

2014-09-02 Thread Henrik Austad
Cc: Randy Dunlap rdun...@infradead.org Cc: Peter Zijlstra pet...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Henrik Austad hen...@austad.us Cc: Dario Faggioli raist...@linux.it Cc: Juri Lelli juri.le...@gmail.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org

Re: [PATCH v3 0/4] SCHED_DEADLINE documentation fixes and improvements

2014-09-02 Thread Henrik Austad
On Thu, Aug 28, 2014 at 11:00:25AM +0100, Juri Lelli wrote: Hello everyone, This is version 3 of a small patchset that fixes and improves SCHED_DEADLINE documentation. Patch 1/4 fixes and clarifies terminology; patch 2/4 aligns Section 4 to the current interface; patch 3/4 improves and

Re: [ANNOUNCE] 3.14.10-rt7

2014-07-09 Thread Henrik Austad
de, setting up an easy way to support the project wouldn't be such a bad idea. Is this something we (tglx) could talk (convince) linuxfoundation into hosting? As said in the original mail, the kernel has benefited greatly from this effort over the last few years, making the effort more for

Re: [ANNOUNCE] 3.14.10-rt7

2014-07-09 Thread Henrik Austad
benefited greatly from this effort over the last few years, making the effort more formal could help secure funding and let tglx et al focus on the task at hand and not on silly money issues. Just my 0.1237 Norwegian krone. -- Henrik Austad -- To unsubscribe from this list: send the line

Re: [PATCH] ether: add AVB frame type ETH_P_AVB

2014-06-25 Thread Henrik Austad
On Fri, Jun 06, 2014 at 12:13:02PM +0200, Henrik Austad wrote: > David, Hi, ACK/NACK on this? Thanks, Henrik > I messed up the keys on my keyboard and shipped the patch without CC > to you. Sorry! > > - Henrik > > On 06/06/2014 11:42 AM, Henrik Austad wrote: > &g

Re: [PATCH] ether: add AVB frame type ETH_P_AVB

2014-06-25 Thread Henrik Austad
On Fri, Jun 06, 2014 at 12:13:02PM +0200, Henrik Austad wrote: David, Hi, ACK/NACK on this? Thanks, Henrik I messed up the keys on my keyboard and shipped the patch without CC to you. Sorry! - Henrik On 06/06/2014 11:42 AM, Henrik Austad wrote: Audio/Video Bridging over layer-2

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-10 Thread Henrik Austad
pler to maintain if we don't have to rely on some dynamic tweaking of the core. Just sayin' -- Henrik Austad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-10 Thread Henrik Austad
, how is adding this as a dynamic thing any better, you still end up with a test-matrix of the same size? Building a kernel isn't _that_ much work and it would make the test-scripts all the much simpler to maintain if we don't have to rely on some dynamic tweaking of the core. Just sayin' -- Henrik

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-08 Thread Henrik Austad
endmenu > > menu "Boot options" > -- > 1.7.9.5 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-08 Thread Henrik Austad
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] ether: add AVB frame type ETH_P_AVB

2014-06-06 Thread Henrik Austad
David, I messed up the keys on my keyboard and shipped the patch without CC to you. Sorry! - Henrik On 06/06/2014 11:42 AM, Henrik Austad wrote: Audio/Video Bridging over layer-2 transport protocol uses 0x22F0 as packet type. This type is used for both AVB control data as well as AVB media

Re: [PATCH] ether: add AVB frame type ETH_P_AVB

2014-06-06 Thread Henrik Austad
David, I messed up the keys on my keyboard and shipped the patch without CC to you. Sorry! - Henrik On 06/06/2014 11:42 AM, Henrik Austad wrote: Audio/Video Bridging over layer-2 transport protocol uses 0x22F0 as packet type. This type is used for both AVB control data as well as AVB media

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-05-16 Thread Henrik Austad
anks for the authors to implement EDF based on linux. This schedule > > class has been applied in product. > > And this is great news! :) > > Any way you can share more information on the use-case? That would be > helpful to also understand your solution better. > > > Will EDF

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-05-16 Thread Henrik Austad
;). \o/ -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: bluez/ofono1.13/ pulseaudio

2014-05-07 Thread Henrik Austad
n. The e mail and its contents > (with or without referred errors) shall therefore not attach any liability on > the originator or HCL or its affiliates. > Views or opinions, if any, presented in this email are solely those of the > author and may not necessarily reflect the > views or opinions of HCL or its affiliates. Any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and / or publication of this mes

Re: bluez/ofono1.13/ pulseaudio

2014-05-07 Thread Henrik Austad
-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: sched_{set,get}attr() manpage

2014-04-09 Thread Henrik Austad
;(lower even than a +19 nice value with the SCHED_OTHER or SCHED_BATCH >policies). > > RETURN VALUE > On success, sched_setattr() and sched_getattr() return 0. On > error, -1 is returned, and errno is set appropriately. > > ERRORS >

<    1   2   3   >