Skip to contentSkip to conversation

generic arm for MSM try2

GIT PULL Daniel Walker 5 participants 19 messages Mar 25, 2010 – Mar 30, 2010 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Let me know if I need to do attempt #3 ..

The following changes since commit 1097d7cef683c30f9768007daae2e961a0686a10:
Linus Torvalds (1):

        Merge branch 'urgent' of git://git.kernel.org/.../brodo/pcmcia-2.6

are available in the git repository at:

git://codeaurora.org/quic/kernel/dwalker/linux-msm.git for-russell

Daniel Walker (2):
arm: msm: allow ARCH_MSM to have v7 cpus
arm: msm: add oprofile pmu support

Dave Estes (1):
arm: mm: qsd8x50: Fix incorrect permission faults

Steve Muckle (1):
arm: msm: define HAVE_CLK for ARCH_MSM

 arch/arm/Kconfig          |   11 ++++++-----
 arch/arm/kernel/pmu.c     |    2 ++
 arch/arm/mach-msm/Kconfig |    2 ++
 arch/arm/mm/Kconfig       |    2 ++
 arch/arm/mm/abort-ev7.S   |   38 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 50 insertions(+), 5 deletions(-)
#1 lore raw
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

#2 lore raw
Quoted 11 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

When I brought up this point back in January or so, it was agreed that such copyright notices were going to be removed.

http://lists.infradead.org/pipermail/linux-arm-kernel/2010-January/008824.html

Nicolas

#3 lore raw
Quoted 10 lines · Nicolas Pitre
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Quoted 8 lines
Quoted 3 lines

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

When I brought up this point back in January or so, it was agreed that such copyright notices were going to be removed.

http://lists.infradead.org/pipermail/linux-arm-kernel/2010-January/008824.html

I don't recall any hard agreements on it. Even reading the thread now, it had to do with a minor change of only a few lines ..

Daniel

#4 lore raw
In reply to Russell King - ARM Linux
Quoted 11 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

You want the license and copyright removed? I can remove them, although I rather not have too.

Daniel

#5 lore raw
Quoted 9 lines · Daniel Walker
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Quoted 6 lines
Quoted 3 lines

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

You want the license and copyright removed? I can remove them, although I rather not have too.

The fact of the matter is that "Code Aurora Forum" did not create this file, and their copyright does not cover the code which is already there.

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

Personally, I think this practice (adding copyright headers to pre- existing files not authored by those claiming copyright ) is equivalent to code theft.

It's far better to leave files without copyright headers if they start out like that, or locate the original authors (Catalin) and have them add a header.

Catalin, as the apparant author of this file, do you have a view on this?

#6 lore raw
Quoted 14 lines · Russell King - ARM Linux
Quoted 13 lines · Daniel Walker
Quoted 11 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

Quoted 5 lines
Quoted 2 lines

You want the license and copyright removed? I can remove them, although I rather not have too.

The fact of the matter is that "Code Aurora Forum" did not create this file, and their copyright does not cover the code which is already there.

Before we discuss it lets just be clear that I've already offered to remove the copyright, and license changes.. I've not said that I wouldn't do that , in fact I'll make a new pull request now minus those.

Quoted 5 lines

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

Daniel

#7 lore raw

Hi!

Quoted 21 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

You want the license and copyright removed? I can remove them, although I rather not have too.

The fact of the matter is that "Code Aurora Forum" did not create this file, and their copyright does not cover the code which is already there.

Before we discuss it lets just be clear that I've already offered to remove the copyright, and license changes.. I've not said that I wouldn't do that , in fact I'll make a new pull request now minus those.

Quoted 5 lines

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

Quoted 3 lines

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

Maybe sane solution is to write "portions copyright"? people will not
dig into git history when there's just one author listed.

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#8 lore raw
Quoted 23 lines · Pavel Machek

Hi!

Quoted 21 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

You want the license and copyright removed? I can remove them, although I rather not have too.

The fact of the matter is that "Code Aurora Forum" did not create this file, and their copyright does not cover the code which is already there.

Before we discuss it lets just be clear that I've already offered to remove the copyright, and license changes.. I've not said that I wouldn't do that , in fact I'll make a new pull request now minus those.

Quoted 5 lines

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

Quoted 5 lines
Quoted 3 lines

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

Maybe sane solution is to write "portions copyright"? people will not
dig into git history when there's just one author listed.

I tried that in the generic kernel once, and Andrew told me to remove those parts because we had git history for that.. So I don't know, maybe we need to require boiler plate copyrights on all files, and fix ones that don't already have them.

Daniel

#9 lore raw
In reply to Daniel Walker
Quoted 10 lines · Daniel Walker
Quoted 5 lines · Russell King - ARM Linux

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

I think it is far more logical to view it the other way around: you don't need to add your own copyright notice for minor changes to every files you touch as the Git history already captures your contribution credits.

Again, it is best to keep copyright notices to files you create yourself, or files that you significantly enhanced and/or rewrote (like 50% of the original content was replaced or the like).

Nicolas

#10 lore raw
Quoted 9 lines · Nicolas Pitre
Quoted 7 lines · Daniel Walker
Quoted 5 lines · Russell King - ARM Linux

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

Quoted 8 lines
Quoted 3 lines

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

I think it is far more logical to view it the other way around: you don't need to add your own copyright notice for minor changes to every files you touch as the Git history already captures your contribution credits.

Git history captures who wrote the code, not who owns the code. I work for QuiC (Qualcomm Innovation Center) , however, the copyright is "Code Aurora Forum" .. The git history may list me as "@codeaurora.com" or "@quicinc.com" , so given that you really can't be sure of the copyright just with git history.

Daniel

#11 lore raw
Quoted 19 lines · Daniel Walker
Quoted 9 lines · Nicolas Pitre
Quoted 7 lines · Daniel Walker
Quoted 5 lines · Russell King - ARM Linux

By putting such a boilerplate at the start of the file without some acknowledgement of its past history, they are effectively saying that their copyright extends to everything in the file. That's certainly not the case; take a moment to consider how you'd feel if someone threw their copyright boilerplate on a file you'd written.

Quoted 8 lines
Quoted 3 lines

There is git history on it. Anyone that looks at the git history would know right off we didn't write the whole file. There's nothing stopping other copyright holders from adding their copyright on top of ours.

I think it is far more logical to view it the other way around: you don't need to add your own copyright notice for minor changes to every files you touch as the Git history already captures your contribution credits.

Quoted 5 lines

Git history captures who wrote the code, not who owns the code. I work for QuiC (Qualcomm Innovation Center) , however, the copyright is "Code Aurora Forum" .. The git history may list me as "@codeaurora.com" or "@quicinc.com" , so given that you really can't be sure of the copyright just with git history.

You may add any necessary clarifications in the commit log message. The SOB tag is there for example.

Nicolas

#12 lore raw
In reply to Russell King - ARM Linux
Quoted 2 lines · Russell King - ARM Linux

Catalin, as the apparant author of this file, do you have a view on this?

Looking at this file again, I don't think anyone could copyright anything in this file prior to us adding stuff .. It's like 4 lines of assembly prior to us adding 13 lines ..

Daniel

#13 lore raw
Quoted 6 lines · Daniel Walker
Quoted 1 line · Russell King - ARM Linux

Catalin, as the apparant author of this file, do you have a view on this?

Looking at this file again, I don't think anyone could copyright anything in this file prior to us adding stuff .. It's like 4 lines of assembly prior to us adding 13 lines ..

I don't think the amount of lines matter wrt GPL. I agree that the existing 4 lines aren't anything important but if you consider them as part of a bigger patch (commit bbe88886), they are not so insignificant. I don't care much about these four lines, it's just a matter of principle.

If you want, you can add something like (the GPL preamble is fine):

* ...
* Copyright (C) 2007 ARM Ltd.
* Copyright (C) 2010 Code Aurora Forum.

The reason why I haven't added a header is because this file was most likely derived from abort-ev6.S (probably originating from Deep Blue Solutions - that's the "..." part above).

Personally, I wouldn't bother with adding a copyright header for 13 lines but your legal department may have a different view.

Note - that's my personal view only, the copyright of the work I produce belongs to ARM Ltd.

Signature · 1 line
Catalin
#14 lore raw
Quoted 16 lines · Catalin Marinas
Quoted 6 lines · Daniel Walker
Quoted 1 line · Russell King - ARM Linux

Catalin, as the apparant author of this file, do you have a view on this?

Looking at this file again, I don't think anyone could copyright anything in this file prior to us adding stuff .. It's like 4 lines of assembly prior to us adding 13 lines ..

I don't think the amount of lines matter wrt GPL. I agree that the existing 4 lines aren't anything important but if you consider them as part of a bigger patch (commit bbe88886), they are not so insignificant. I don't care much about these four lines, it's just a matter of principle.

If you want, you can add something like (the GPL preamble is fine):

Quoted 7 lines

* ...
* Copyright (C) 2007 ARM Ltd.
* Copyright (C) 2010 Code Aurora Forum.

The reason why I haven't added a header is because this file was most likely derived from abort-ev6.S (probably originating from Deep Blue Solutions - that's the "..." part above).

I were to add this what would I add for the "..." since there's nothing in abort-ev6.S either.. None of the abort files appear to have copyrights.

Daniel

#17 lore raw
In reply to Catalin Marinas
Quoted 16 lines · Catalin Marinas
Quoted 6 lines · Daniel Walker
Quoted 1 line · Russell King - ARM Linux

Catalin, as the apparant author of this file, do you have a view on this?

Looking at this file again, I don't think anyone could copyright anything in this file prior to us adding stuff .. It's like 4 lines of assembly prior to us adding 13 lines ..

I don't think the amount of lines matter wrt GPL. I agree that the existing 4 lines aren't anything important but if you consider them as part of a bigger patch (commit bbe88886), they are not so insignificant. I don't care much about these four lines, it's just a matter of principle.

If you want, you can add something like (the GPL preamble is fine):

Quoted 7 lines

* ...
* Copyright (C) 2007 ARM Ltd.
* Copyright (C) 2010 Code Aurora Forum.

The reason why I haven't added a header is because this file was most likely derived from abort-ev6.S (probably originating from Deep Blue Solutions - that's the "..." part above).

http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commit;h=ed29a8097665ef86dd9a2d8a8a3b808ab70f28ee

that's the commit that brought in abort-ev6.S. The only copyrights I see in that commit are,

linux/arch/arm/mm/tlb-v6.S
Copyright (C) 1997-2002 Russell King

include/asm-arm/atomic.h
Copyright (C) 1996 Russell King.
Copyright (C) 2002 Deep Blue Solutions Ltd

linux/arch/arm/mm/proc-v6.S
Copyright (C) 2001 Deep Blue Solutions Ltd.

Should I just add all these and give everyone credit?

Daniel

#15 lore raw
In reply to Daniel Walker
Quoted 21 lines · Daniel Walker
Quoted 20 lines · Catalin Marinas
Quoted 6 lines · Daniel Walker
Quoted 1 line · Russell King - ARM Linux

Catalin, as the apparant author of this file, do you have a view on this?

Looking at this file again, I don't think anyone could copyright anything in this file prior to us adding stuff .. It's like 4 lines of assembly prior to us adding 13 lines ..

I don't think the amount of lines matter wrt GPL. I agree that the existing 4 lines aren't anything important but if you consider them as part of a bigger patch (commit bbe88886), they are not so insignificant. I don't care much about these four lines, it's just a matter of principle.

If you want, you can add something like (the GPL preamble is fine):

* ...
* Copyright (C) 2007 ARM Ltd.
* Copyright (C) 2010 Code Aurora Forum.

Quoted 7 lines
Quoted 3 lines

The reason why I haven't added a header is because this file was most likely derived from abort-ev6.S (probably originating from Deep Blue Solutions - that's the "..." part above).

I were to add this what would I add for the "..." since there's nothing in abort-ev6.S either.. None of the abort files appear to have copyrights.

That's why I haven't added one either :). I think you can add Deep Blue Solutions Ltd as well, unless Russell has any objections. But it's funny for such a small file to have three copyright holders.

Signature · 1 line
Catalin
#16 lore raw
Quoted 3 lines · Catalin Marinas

That's why I haven't added one either :). I think you can add Deep Blue Solutions Ltd as well, unless Russell has any objections. But it's funny for such a small file to have three copyright holders.

And also a tad ridiculous IMHO. Makes S/N ratio very low.

Nicolas

#18 lore raw
In reply to Russell King - ARM Linux
Quoted 11 lines · Russell King - ARM Linux
Quoted 6 lines · Daniel Walker

Ok, attempt #2 .. It's the same set of patches , only it's against mainline linus tree of the moment. I force updated it into the same "for-russell" branch.

btw, you might want to pay close attention to the "Fix incorrect permission faults" patch. That's the only non-small patch in the queue.

Well, I don't think it's fair on those who created abort-ev7.S to go throwing a boilerplate copyright on the file which makes it look like "Code Aurora Forum." wrote the entire thing.

Ok, I updated the same branch .. It's minus the copyright and license , and I rebased it onto a more recent linus tree ..

Daniel