On Tue, Jan 16, 2018 at 1:18 AM, Sebastian Gottschall
wrote:
>
>> According to my understanding of igmpv3_newpack(), the destination
>> address should always be IGMPV3_ALL_MCR = 224.0.0.22. That is what I
>> see in my testing.
>>
>> However, your packet trace says 239.35.100.8. I don't know how
On Mon, Jan 15, 2018 at 8:44 PM, Sebastian Gottschall
wrote:
> Am 16.01.2018 um 05:32 schrieb Kevin Cernekee:
>>
>> On Mon, Jan 15, 2018 at 8:26 PM, Sebastian Gottschall
>> wrote:
>>>
>>> havent check the source addresses right now. i basicly discovered
On Mon, Jan 15, 2018 at 8:26 PM, Sebastian Gottschall
wrote:
> havent check the source addresses right now. i basicly discovered that this
> patch breaks the igmp routing and all traffic stops
> this here is from a working system with the reverted patch. if you really
> need that i break it again
On Mon, Jan 15, 2018 at 7:50 PM, Sebastian Gottschall
wrote:
> please revert that on 4.9 and 4.14
> it breaks igmp routing. it can be reproduced with any iptv connection using
> igmp-proxy. reverting this patch fixes the issue.
Hi Sebastian,
Is this the correct igmp-proxy (based on mrouted)?
ht
hip=239.0.1.68:10.1.1.1 &
sleep 1
ip addr del 10.1.1.1/24 dev dummy0
sleep 5
kill %tcpdump
RFC 3376 specifies that the report must be sent with a valid IP source
address from the destination subnet, or from address 0.0.0.0. Add an
extra check to make sure this is the case.
Si
-binary abc123 /tmp/nlmon.pcap
Signed-off-by: Kevin Cernekee
---
net/netlink/af_netlink.c | 3 +++
1 file changed, 3 insertions(+)
V1->V2: Drop the special exception for init_net.
Compile-tested only, will retest later today.
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlin
On Tue, Dec 5, 2017 at 6:19 PM, David Ahern wrote:
>> + if (!net_eq(dev_net(dev), sock_net(sk)) &&
>> + !net_eq(dev_net(dev), &init_net)) {
>
> Why is init_net special? Seems like snooping should be limited to the
> namespace you are in.
Depends how important it is to preserve the cur
T_ADMIN to bypass the netlink_net_capable()
check:
vpnns -- nfnl_osf -f /tmp/pf.os
vpnns -- nfnl_osf -f /tmp/pf.os -d
These non-root operations successfully modify the systemwide OS
fingerprint list. Add new capable() checks so that they can't.
Signed-off-by: Kevin Cernekee
---
00
grep abc123 /tmp/nlmon.pcap
Signed-off-by: Kevin Cernekee
---
net/netlink/af_netlink.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index b9e0ee4..88381a2 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netli
a_len = 24,
.status = enabled,
};
Add capable() checks in nfnetlink_cthelper, as this is cleaner than
trying to generalize the solution.
Signed-off-by: Kevin Cernekee
---
net/netfilter/nfnetlink_cthelper.c | 10 ++
1 file changed, 10 insertions(+)
I think xt_osf ha
of generating
an error.
Signed-off-by: Kevin Cernekee
---
V1->V2:
- Add comment and update changelog, per code review feedback
- Rebase + retest on net-next
net/netfilter/nf_conntrack_netlink.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/net/net
userland helpers because they operate on unconfirmed connections.
Instead of returning -EBUSY if the user program asks to modify an
unchangeable bit, simply ignore the change.
Also, fix the logic so that user programs are allowed to clear
the bits that they are allowed to change.
Signed-off-b
www.spinics.net/lists/netdev/msg126176.html
Kevin Cernekee (4):
xfrm: Constify xfrm_user arguments and xfrm_mgr callback APIs
xfrm_user: Allow common functions to be called from another file
xfrm_user: Initial commit of xfrm_user_legacy.c
xfrm_user: Add new 32/64-agnostic netlink m
This provides a better sense of the data flow and inputs/outputs. No
change to code size or functionality.
Signed-off-by: Kevin Cernekee
---
include/net/xfrm.h | 36 --
net/key/af_key.c | 34 +++--
net/xfrm/xfrm_policy.c | 8 +-
net/xfrm/xfrm_state.c | 2 +-
net/xfrm
xfrm_user_legacy.c will need to call a few common functions. Make
sure them have an "xfrm_" prefix, and declare them in a new xfrm_user.h
header.
Signed-off-by: Kevin Cernekee
---
net/xfrm/xfrm_user.c | 147 +--
net/xfrm/xfrm_us
the old format or the new format (for both requests and replies). For
kernel->user multicasts, both types will be sent.
setsockopt() will deduce the format from the length.
Signed-off-by: Kevin Cernekee
---
include/uapi/linux/xfrm.h | 152 ++-
ne
ecessary functions from
xfrm_user.c, for ease of reviewing. The next commit will contain all
of the changes needed to make these functions handle legacy messages
correctly.
Signed-off-by: Kevin Cernekee
---
net/xfrm/Kconfig| 14 +
net/xfrm/Makefile |8 +-
net/xfrm/
set for an unconfirmed connection, restore the
old behavior of ignoring it (rather than setting up a connection that
expires immediately).
Signed-off-by: Kevin Cernekee
---
net/netfilter/nf_conntrack_netlink.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/net
use they operate on unconfirmed connections.
Instead of returning -EBUSY if the user program asks to modify an
unchangeable bit, simply ignore the change.
Also, fix the logic so that user programs are allowed to clear
the bits that they are allowed to change.
Signed-off-by: Kevin Cernekee
---
If a user program specifies CTA_HELP but the argument matches the
current conntrack helper name, ignore it instead of generating an error.
Signed-off-by: Kevin Cernekee
---
net/netfilter/nf_conntrack_netlink.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/net
rface remains bug-compatible with old user code.
Kevin Cernekee (3):
netfilter: ctnetlink: Fix regression in CTA_TIMEOUT processing
netfilter: ctnetlink: Fix regression in CTA_STATUS processing
netfilter: ctnetlink: Fix regression in CTA_HELP processing
include/uapi/linux/netfilter/nf_conntr
stead, print the offset from the module's
base, so that the offending location can be easily located in a
disassembly of the .ko file:
Call trace:
[] [mwifiex_pcie+0x37f4/0x9000]
[] [mwifiex_pcie+0x40ac/0x9000]
[] mwifiex_main_process+0xdc/0x6fc [mwifiex]
Signed-off-by: Kevi
On Wed, May 13, 2015 at 6:49 PM, Leonid Yegoshin
wrote:
> Some MIPS CPUs have an aggressive speculative load and may erroneuosly load
> some cache line in the middle of DMA transaction. CPU discards result but
> cache
> doesn't. If DMA happens from device then additional cache invalidation is
>
On Tue, May 5, 2015 at 3:32 PM, Mark Brown wrote:
> On Tue, May 05, 2015 at 03:14:15PM -0700, Kevin Cernekee wrote:
>> Document the bindings for the soon-to-be-added tas571x driver.
>
> If this is different to the already applied patches send incremental
> updates. If this
of_match_device() checks if dev->of_node is NULL, so we don't need to do
it again in the probe function.
Signed-off-by: Kevin Cernekee
---
This applies to the broonie/sound.git for-next branch.
sound/soc/codecs/tas571x.c | 13 -
1 file changed, 4 insertions(+), 9 d
Document the bindings for the soon-to-be-added tas571x driver.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/sound/tas571x.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/tas571x.txt
diff --git a
ed
any writes, they should be sent to the hardware regardless of whether
they match the HW default. Currently this will write out all values in
the regcache, since we don't maintain per-register dirty bits.
Suggested-by: Mark Brown
Signed-off-by: Kevin Cernekee
---
drivers/base/regm
We're going to add another "does this register need syncing?" check, so
rather than repeating it in three places, we'll separate all of the
relevant logic into a helper function.
Signed-off-by: Kevin Cernekee
---
drivers/base/regmap/regcache.c | 26 +++---
Introduce a new codec driver for the Texas Instruments
TAS5711/TAS5717/TAS5719 power amplifier chips. These chips are typically
used to take an I2S digital audio input and drive 10-20W into a pair of
speakers.
Signed-off-by: Kevin Cernekee
---
sound/soc/codecs/Kconfig | 5 +
sound/soc
Add self as maintainer for the new driver.
Signed-off-by: Kevin Cernekee
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea0001760035..15153fc37cc4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9878,6 +9878,12 @@ L: net
V3->V4:
Eliminate unnecessary dev->of_node NULL check.
Move the "should I sync this register?" test into a common helper function.
Clear map->no_sync_defaults at the end of the regcache_sync functions.
Kevin Cernekee (5):
regmap: Add a helper function for regcache sync
On Tue, May 5, 2015 at 9:32 AM, Joe Perches wrote:
> commit 5f2d44591fb3 ("MIPS: bcm3384: Rename "bcm3384" target to "bmips"")
> renamed the files and integrated them into an existing section.
>
> Remove the section.
>
> Signed-off-by: Joe Perches
On Sun, May 3, 2015 at 11:38 PM, Lars-Peter Clausen wrote:
>> diff --git a/drivers/base/regmap/regcache.c
>> b/drivers/base/regmap/regcache.c
>> index 7eb7b3b98794..63af3103d0c6 100644
>> --- a/drivers/base/regmap/regcache.c
>> +++ b/drivers/base/regmap/regcache.c
>> @@ -253,6 +253,9 @@ static int
On Mon, May 4, 2015 at 4:45 AM, Mark Brown wrote:
> On Sun, May 03, 2015 at 05:00:18PM -0700, Kevin Cernekee wrote:
>> + if (dev->of_node) {
>> + const struct of_device_id *of_id;
>> +
>> + of_id = of_match_device(tas571x_of_match, de
Add self as maintainer for the new driver.
Signed-off-by: Kevin Cernekee
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea0001760035..15153fc37cc4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9878,6 +9878,12 @@ L: net
Document the bindings for the soon-to-be-added tas571x driver.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/sound/tas571x.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/tas571x.txt
diff --git a
Introduce a new codec driver for the Texas Instruments
TAS5711/TAS5717/TAS5719 power amplifier chips. These chips are typically
used to take an I2S digital audio input and drive 10-20W into a pair of
speakers.
Signed-off-by: Kevin Cernekee
---
sound/soc/codecs/Kconfig | 5 +
sound/soc
ed
any writes, they should be sent to the hardware regardless of whether
they match the HW default. Currently this will write out all values in
the regcache, since we don't maintain per-register dirty bits.
Suggested-by: Mark Brown
Signed-off-by: Kevin Cernekee
---
drivers/base/regm
in cache_only (tas571x pdn) mode.
One assumption here is that regcache_sync() will be called once on
resume, before any other writes. If it fails, the no_sync_defaults flag
will be cleared and the next sync attempt, if any, will try to write
out all contents of the cache.
Kevin Cernekee
On Wed, Apr 29, 2015 at 9:46 AM, Mark Brown wrote:
> On Wed, Apr 29, 2015 at 07:13:27AM -0700, Kevin Cernekee wrote:
>> On Wed, Apr 29, 2015 at 3:40 AM, Mark Brown wrote:
>
>> > Like I said above we can tell if the hardware was reset because
>> > mark_dirty() i
On Wed, Apr 29, 2015 at 3:40 AM, Mark Brown wrote:
> On Tue, Apr 28, 2015 at 09:58:48PM -0700, Kevin Cernekee wrote:
>> On Sat, Apr 25, 2015 at 4:32 AM, Mark Brown wrote:
>
>> > What we should be doing here is providing a way for users to tell regmap
>> > if they
On Sat, Apr 25, 2015 at 4:32 AM, Mark Brown wrote:
> On Fri, Apr 24, 2015 at 03:36:45PM -0700, Kevin Cernekee wrote:
>
>> index 116655d92269..ece122a6fdeb 100644
>> --- a/include/linux/regmap.h
>> +++ b/include/linux/regmap.h
>> @@ -438,7 +438,7 @@ bool regmap_ca
This was left over from an earlier iteration of the BMIPS irqchip changes.
It doesn't actually have an effect, so let's nuke it.
Reported-by: Valentin Rothberg
Signed-off-by: Kevin Cernekee
---
Ralf - could you please pull this for 4.1?
arch/mips/Kconfig | 1 -
1 file changed,
On Fri, Apr 24, 2015 at 3:36 PM, Kevin Cernekee wrote:
> regcache_sync() and regcache_sync_region() currently assume that the
> hardware has just emerged from a clean reset, and that all registers are
> in their default states. But that isn't the only possibility; the device
> m
Document the bindings for the soon-to-be-added tas571x driver.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/sound/tas571x.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/tas571x.txt
diff --git a
Add self as maintainer for the new driver.
Signed-off-by: Kevin Cernekee
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea0001760035..15153fc37cc4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9878,6 +9878,12 @@ L: net
ned-off-by: Kevin Cernekee
---
drivers/base/regmap/internal.h| 5 ++-
drivers/base/regmap/regcache-lzo.c| 2 +-
drivers/base/regmap/regcache-rbtree.c | 5 ++-
drivers/base/regmap/regcache.c| 75 ---
drivers/media/radio/radio-si476x
Introduce a new codec driver for the Texas Instruments
TAS5711/TAS5717/TAS5719 power amplifier chips. These chips are typically
used to take an I2S digital audio input and drive 10-20W into a pair of
speakers.
Signed-off-by: Kevin Cernekee
---
sound/soc/codecs/Kconfig | 5 +
sound/soc
are registers
that don't contain their power-on-reset values
Kevin Cernekee (4):
regmap: cache: Add "was_reset" argument to regcache_sync_region()
ASoC: tas571x: Add DT binding document
ASoC: tas571x: New driver for TI TAS571x power amplifiers
MAINTAINERS: Add entry for
On Fri, Apr 24, 2015 at 2:28 AM, Mark Brown wrote:
> On Thu, Apr 23, 2015 at 05:47:49PM -0700, Kevin Cernekee wrote:
>
>> This is mostly working OK, but regcache_sync() assumes that the
>> hardware registers have been reset back to the default values. The
>> "pdn&quo
On Sat, Apr 18, 2015 at 9:16 AM, Kevin Cernekee wrote:
>>> + case SND_SOC_BIAS_OFF:
>>> + /* Note that this kills I2C accesses. */
>>> + assert_pdn = 1;
>>
>> No, the GPIO set associated with it kills I2C access. I'd also ex
On Mon, Apr 20, 2015 at 3:03 PM, Mark Brown wrote:
> On Mon, Apr 20, 2015 at 02:18:56PM -0700, Kevin Cernekee wrote:
>> On Sat, Apr 18, 2015 at 4:16 AM, Mark Brown wrote:
>> > On Wed, Apr 15, 2015 at 02:42:19PM -0700, Kevin Cernekee wrote:
>
>> >> +- VDD-suppl
Resending from the correct account.
On Sat, Apr 18, 2015 at 4:16 AM, Mark Brown wrote:
> On Wed, Apr 15, 2015 at 02:42:19PM -0700, Kevin Cernekee wrote:
>
>> +- VDD-supply: regulator phandle for the AVDD/DVDD/HP_VDD supply
>
> This is clearly not correct - if there are three
On Sat, Apr 18, 2015 at 4:16 AM, Mark Brown wrote:
> On Wed, Apr 15, 2015 at 02:42:19PM -0700, Kevin Cernekee wrote:
>
>> +- VDD-supply: regulator phandle for the AVDD/DVDD/HP_VDD supply
>
> This is clearly not correct - if there are three separate physical
> supplies
On Thu, Apr 16, 2015 at 5:57 AM, Lars-Peter Clausen wrote:
> On 04/15/2015 11:42 PM, Kevin Cernekee wrote:
>>
>> Introduce a new codec driver for the Texas Instruments
>> TAS5711/TAS5717/TAS5719 power amplifier chips. These chips are typically
>> used to take an I2S di
On Mon, Apr 20, 2015 at 5:21 AM, Mark Brown wrote:
> On Sat, Apr 18, 2015 at 01:07:07PM -0700, Kevin Cernekee wrote:
>> On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown wrote:
>
>> > Someone trying to use the atmel_wm8904 driver with something other than
>> > a wm8904 s
On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown wrote:
> On Sat, Apr 18, 2015 at 09:16:36AM -0700, Kevin Cernekee wrote:
>> On Sat, Apr 18, 2015 at 4:36 AM, Mark Brown wrote:
>
>> >> +static int tas571x_set_sysclk(struct snd_soc_dai *dai,
>> >> +
On Sat, Apr 18, 2015 at 4:36 AM, Mark Brown wrote:
> On Wed, Apr 15, 2015 at 02:42:20PM -0700, Kevin Cernekee wrote:
>> +static int tas571x_set_sysclk(struct snd_soc_dai *dai,
>> + int clk_id, unsigned int freq, int dir)
>> +{
>> + /*
>&
Introduce a new codec driver for the Texas Instruments
TAS5711/TAS5717/TAS5719 power amplifier chips. These chips are typically
used to take an I2S digital audio input and drive 10-20W into a pair of
speakers.
Signed-off-by: Kevin Cernekee
---
sound/soc/codecs/Kconfig | 5 +
sound/soc
Add self as maintainer for the new driver.
Signed-off-by: Kevin Cernekee
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c72a7baec55c..d7d848f840d0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9847,6 +9847,12 @@ L: net
Document the bindings for the soon-to-be-added tas571x driver.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/sound/tas571x.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/tas571x.txt
diff --git a
Provide a libfdt-based equivalent for of_device_is_big_endian(), suitable
for use in the early_init_* functions.
Signed-off-by: Kevin Cernekee
---
drivers/of/fdt.c | 19 +++
include/linux/of_fdt.h | 2 ++
2 files changed, 21 insertions(+)
diff --git a/drivers/of/fdt.c b
el in the absence of instructions
to the contrary, so that will be our fallback.
Signed-off-by: Kevin Cernekee
---
drivers/of/base.c | 23 +++
include/linux/of.h | 6 ++
2 files changed, 29 insertions(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 8f165b112e03..3a10d
These apply to newly converted drivers, like serial8250/libahci/...
The examples were adapted from the regmap bindings document.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/common-properties.txt | 60 ++
1 file changed, 60 insertions(+)
create mode 100644
If the device node has a "big-endian" property and 32-bit registers, tell
the serial driver to use UPIO_MEM32BE instead of UPIO_MEM32.
Signed-off-by: Kevin Cernekee
---
drivers/tty/serial/of_serial.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/
V3->V4:
Rebase on Linus' head of tree
Tweak documentation per Grant's request
Drop the of_earlycon patches in favor of Peter's series
Kevin Cernekee (5):
of: Add helper function to check MMIO register endianness
of/fdt: Add endianness helper function for early init c
Add cases for UPIO_MEM32BE wherever there are currently cases handling
UPIO_MEM32.
Signed-off-by: Kevin Cernekee
---
drivers/tty/serial/8250/8250_core.c | 20
drivers/tty/serial/8250/8250_early.c | 5 +
2 files changed, 25 insertions(+)
diff --git a/drivers/tty
On Thu, Mar 26, 2015 at 3:47 AM, Valentin Rothberg
wrote:
> Hi Kevin,
>
> your commit dd6d84812b1a ("MIPS: BMIPS: Enable additional peripheral
> and CPU support in defconfig") adds a select on the Kconfig symbol
> RAW_IRQ_ACCESORS. However, this symbol is not defined in Kconfig so
> that the sel
On Wed, Mar 25, 2015 at 2:23 AM, Ralf Baechle wrote:
> On Thu, Dec 25, 2014 at 09:49:10AM -0800, Kevin Cernekee wrote:
>
>> BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from
>> the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer
>> ma
orris
>
> Acked-by: Pavel Machek
>
> (Does this need documentation in kernel-parameters.txt or in place
> where pm_test is documented?)
Perhaps both places? Documentation/power/basic-pm-debugging.txt still
has the "wait 5 seconds" verbiage.
Beyond that, it looks good t
On Fri, Feb 6, 2015 at 2:48 PM, Dmitry Torokhov wrote:
> On Fri, Feb 6, 2015 at 2:31 PM, Kevin Cernekee wrote:
>> On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote:
>>> +
>>> + dev_dbg(iproc_i2c->device, "xfer %c, addr=0x%02x, len=%d\n",
>&g
FO threshold to zero */
> + val = (1 << M_FIFO_RX_FLUSH_SHIFT) | (1 << M_FIFO_TX_FLUSH_SHIFT);
> + writel(val, iproc_i2c->base + M_FIFO_CTRL_OFFSET);
> +
> + /* disable all interrupts */
> + writel(0, iproc_i2c->base + IE_OFFSET);
> +
&g
On Wed, Jan 21, 2015 at 10:36 PM, Archit Taneja wrote:
> On 01/21/2015 06:24 AM, Daniel Ehrenberg wrote:
>> On Fri, Jan 16, 2015 at 6:48 AM, Archit Taneja
>> wrote:
>>>
>>> +/*
>>> + * the bad block marker is readable only when we read the page with ECC
>>> + * disabled. all the read/write comman
exists on the ARM BCM7xxx chips, but typically the ARM GIC
is used instead. So this driver is primarily intended for MIPS STB chips.
Signed-off-by: Kevin Cernekee
---
.../interrupt-controller/brcm,bcm7038-l1-intc.txt | 52
drivers/irqchip/Kconfig| 5
If the machine doesn't set its own _machine_restart callback, call the
common do_kernel_restart() instead. This allows arch-independent reset
drivers from drivers/power/reset/ to be used to reboot the machine.
Signed-off-by: Kevin Cernekee
---
arch/mips/kernel/reset.c | 2 ++
1 file chang
Some machines only have one bus type to register (e.g. "simple-bus").
Signed-off-by: Kevin Cernekee
---
arch/mips/kernel/prom.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c
index 452d435..e303cb1 100644
--- a
From: Andrew Bresticker
Move the MIPS device-trees into the appropriate vendor sub-directories.
Signed-off-by: Andrew Bresticker
Tested-by: Kevin Cernekee
---
arch/mips/Makefile | 2 +-
arch/mips/boot/dts/Makefile| 33
: Kevin Cernekee
Signed-off-by: Jaedon Shin
---
arch/mips/mm/dma-default.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c
index af5f046..38ee47a 100644
--- a/arch/mips/mm/dma-default.c
+++ b/arch/mips/mm/dma-default.c
Add a new section covering the Generic BMIPS machine type.
Signed-off-by: Kevin Cernekee
---
Documentation/devicetree/booting-without-of.txt | 28 +
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/booting-without-of.txt
b/Documentation/devicetree
There is no "bcm3384" bus so let's just remove it to avoid confusion.
Signed-off-by: Kevin Cernekee
---
arch/mips/bmips/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/bmips/setup.c b/arch/mips/bmips/setup.c
index 5099109..ac402ed 100644
From: Andrew Bresticker
Add the dtbs_install Makefile target to install the dtb files into
$INSTALL_DTBS_PATH.
Signed-off-by: Andrew Bresticker
Tested-by: Kevin Cernekee
---
arch/mips/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
This will be required to support BMIPS3300 platforms.
Signed-off-by: Kevin Cernekee
---
arch/mips/include/asm/mach-bmips/spaces.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 arch/mips/include/asm/mach-bmips/spaces.h
diff --git a/arch/mips/include/asm/mach
11 platforms require at least one of these workarounds to be enabled; 22
platforms do not. In the latter case we can fall back to a generic version.
Note that this also deletes an orphaned reference to RM9000_CDEX_SMP_WAR.
Suggested-by: Arnd Bergmann
Signed-off-by: Kevin Cernekee
---
arch
A couple of chips require special handling in order to make SMP secondary
boot and/or exception vectors work correctly. Take care of these in
setup.c.
Signed-off-by: Kevin Cernekee
---
arch/mips/bmips/setup.c | 101 +++-
1 file changed, 99 insertions
This platform is configured primarily through device tree, and we can
reuse the same code to support a bunch of other chips. Change the name
to reflect this.
Signed-off-by: Kevin Cernekee
---
arch/mips/Kbuild.platforms | 2 +-
arch/mips/Kconfig
Also, add an LE defconfig for set-top box (BCM7xxx). This will allow the
BMIPS kernel to run on several non-BCM3384 platforms.
Signed-off-by: Kevin Cernekee
Signed-off-by: Jaedon Shin
---
arch/mips/Kconfig | 18 +--
arch/mips/configs/bmips_be_defconfig | 9 +++-
arch
This function was renamed to mips_cpu_irq_of_init(), so fix it to avoid
a compile error.
Signed-off-by: Kevin Cernekee
---
arch/mips/bcm3384/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/bcm3384/irq.c b/arch/mips/bcm3384/irq.c
index 0fb5134..fd94fe8 100644
Several drivers now use this API, including the ARM GIC driver, so remove
the outdated comment.
Signed-off-by: Kevin Cernekee
---
Documentation/IRQ-domain.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/IRQ-domain.txt b/Documentation/IRQ-domain.txt
index
they call
request_irq(). (This is technically already the correct development
practice, but some drivers probably expect not to receive interrupts
until they have performed some I/O.)
Signed-off-by: Brian Norris
Signed-off-by: Kevin Cernekee
---
drivers/irqchip/irq-brcmstb-l2.c | 9 ++---
1
Add an entry for each supported Broadcom SoC.
Signed-off-by: Kevin Cernekee
Signed-off-by: Jaedon Shin
---
Documentation/devicetree/bindings/mips/brcm/cm-dsl.txt | 11 ---
Documentation/devicetree/bindings/mips/brcm/soc.txt| 12
2 files changed, 12 insertions(+), 11
BCM3384/BCM63xx can use the common drivers/irqchip/irq-bcm7120-l2.c for
this purpose; BCM7xxx will use drivers/irqchip/irq-bcm7038-l1.c. We no
longer need this code under arch/mips.
Signed-off-by: Kevin Cernekee
---
.../devicetree/bindings/mips/brcm/bcm3384-intc.txt | 37
arch/mips/bmips
This is a more standardized way of handling DMA remapping, and it is
suitable for the memory map found on BCM3384.
Signed-off-by: Kevin Cernekee
---
arch/mips/bmips/dma.c | 100 ++
1 file changed, 68 insertions(+), 32 deletions(-)
diff --git a
MIPS_L1_CACHE_SHIFT_x option is selected,
Kconfig sets CONFIG_MIPS_L1_CACHE_SHIFT to the highest value.
Signed-off-by: Kevin Cernekee
---
arch/mips/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 31bbec0..d28c29e 100644
These controllers support multiple enable/status pairs (64+ IRQs),
can put the enable/status words at different offsets, and do not
support multiple parent IRQs.
Signed-off-by: Kevin Cernekee
---
.../interrupt-controller/brcm,bcm3380-l2-intc.txt | 41
drivers/irqchip/irq
the same register spacing.
This patch changes the "plumbing" but doesn't yet provide a way for users
to instantiate a controller with arbitrary IRQEN/IRQSTAT offsets.
Signed-off-by: Kevin Cernekee
---
drivers/irqchip/irq-bcm7120-l2.c | 41 +++-
1 f
The DT bindings for this platform have changed as the bootloader and
product requirements evolved. In particular, there are both
Linux-on-Zephyr and Linux-on-Viper configurations.
Signed-off-by: Kevin Cernekee
---
arch/mips/boot/dts/brcm/bcm3384.dtsi| 109
arch
Most of the supported chips use legacy (non-DT) bootloaders, so they will
need to select an appropriate builtin DTB at compile time until the
bootloader is updated. Provide suitable DTS files, and a means to compile
one of them into the kernel image.
Signed-off-by: Kevin Cernekee
Signed-off-by
and
use dedicated L1 lines
- one enable/status pair (32 bits only)
Much of the driver code can be shared with BCM3380-style controllers, but
in order to do this cleanly, let's split out the BCM7xxx-specific logic
first.
Signed-off-by: Kevin Cernekee
---
.../interrupt-controller/brcm,bcm7
e-trees into vendor sub-directories
MIPS: Add dtbs_install target
Brian Norris (1):
irqchip: brcmstb-l2: don't clear wakeable interrupts at init time
Kevin Cernekee (22):
MIPS: bcm3384: Fix outdated use of mips_cpu_intc_init()
MIPS: Create a common
MIPS: bcm3384: Rename "bcm
he series:
Tested-by: Kevin Cernekee
--
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/
1 - 100 of 287 matches
Mail list logo